c++: less invalidate_class_lookup_cache
[official-gcc.git] / libstdc++-v3 / configure
blob99f4927aa8c932a2b92b93f8ab8be5fcaa33b416
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 -o $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3398 done
3399 done
3401 esac
3403 done
3404 IFS=$as_save_IFS
3406 rm -rf conftest.one conftest.two conftest.dir
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3478 then
3479 # Ok.
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3495 rm -f conftest.file
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3678 for ac_prog in gawk mawk nawk awk
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$AWK" && break
3718 done
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3758 rmdir .tst 2>/dev/null
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3797 AM_BACKSLASH='\'
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3824 # Some tools Automake needs.
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4006 else
4007 CC="$ac_cv_prog_CC"
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 IFS=$as_save_IFS
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4132 done
4133 done
4134 IFS=$as_save_IFS
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$CC" && break
4149 done
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4176 done
4177 done
4178 IFS=$as_save_IFS
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$ac_ct_CC" && break
4193 done
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 printf ("hello world\n");
4249 return 0;
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4345 else
4346 ac_file=''
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4413 main ()
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4419 return 0;
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4654 return p[i];
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4687 main ()
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 return 0;
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4769 done
4770 rm -f core conftest*
4771 unset am_i
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4840 done
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4884 done
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4942 return 0;
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 CXXFLAGS="$save_CXXFLAGS"
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5055 if test "$enable_largefile" != no; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5126 main ()
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5195 main ()
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5243 esac
5244 rm -rf conftest*
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5291 else
5292 # Broken: fails on valid input.
5293 continue
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5320 done
5321 ac_cv_prog_CPP=$CPP
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5350 else
5351 # Broken: fails on valid input.
5352 continue
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_GREP=$GREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_EGREP=$EGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5579 #LN_S='cp -p'
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5669 else
5670 AS="$ac_cv_prog_AS"
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5761 else
5762 AR="$ac_cv_prog_AR"
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5878 MAINT=$MAINTAINER_MODE_TRUE
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5904 rm -f conftest*
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5922 rm -f conftest*
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5968 ltmain="$ac_aux_dir/ltmain.sh"
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6003 eval 'cat <<_LTECHO_EOF
6005 _LTECHO_EOF'
6007 ECHO='func_fallback_echo'
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6014 $ECHO ""
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6098 else
6099 ac_cv_path_SED=$SED
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6177 else
6178 ac_cv_path_FGREP=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6272 test "$with_gnu_ld" != yes && break
6274 esac
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6303 lt_cv_prog_gnu_ld=no
6305 esac
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the test.
6326 lt_cv_path_NM="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6332 for lt_tmp_nm in $lt_nm_to_check; do
6333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6334 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6335 IFS="$lt_save_ifs"
6336 test -z "$ac_dir" && ac_dir=.
6337 tmp_nm="$ac_dir/$lt_tmp_nm"
6338 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6339 # Check to see if the nm accepts a BSD-compat flag.
6340 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6341 # nm: unknown option "B" ignored
6342 # Tru64's nm complains that /dev/null is an invalid object file
6343 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6344 */dev/null* | *'Invalid file or object type'*)
6345 lt_cv_path_NM="$tmp_nm -B"
6346 break
6349 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6350 */dev/null*)
6351 lt_cv_path_NM="$tmp_nm -p"
6352 break
6355 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6356 continue # so that we can try to find one that supports BSD flags
6358 esac
6360 esac
6362 done
6363 IFS="$lt_save_ifs"
6364 done
6365 : ${lt_cv_path_NM=no}
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6369 $as_echo "$lt_cv_path_NM" >&6; }
6370 if test "$lt_cv_path_NM" != "no"; then
6371 NM="$lt_cv_path_NM"
6372 else
6373 # Didn't find any BSD compatible name lister, look for dumpbin.
6374 if test -n "$DUMPBIN"; then :
6375 # Let the user override the test.
6376 else
6377 if test -n "$ac_tool_prefix"; then
6378 for ac_prog in dumpbin "link -dump"
6380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_DUMPBIN+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 if test -n "$DUMPBIN"; then
6388 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 DUMPBIN=$ac_cv_prog_DUMPBIN
6408 if test -n "$DUMPBIN"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6410 $as_echo "$DUMPBIN" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 test -n "$DUMPBIN" && break
6418 done
6420 if test -z "$DUMPBIN"; then
6421 ac_ct_DUMPBIN=$DUMPBIN
6422 for ac_prog in dumpbin "link -dump"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$ac_ct_DUMPBIN"; then
6432 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6452 if test -n "$ac_ct_DUMPBIN"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6454 $as_echo "$ac_ct_DUMPBIN" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$ac_ct_DUMPBIN" && break
6462 done
6464 if test "x$ac_ct_DUMPBIN" = x; then
6465 DUMPBIN=":"
6466 else
6467 case $cross_compiling:$ac_tool_warned in
6468 yes:)
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned=yes ;;
6472 esac
6473 DUMPBIN=$ac_ct_DUMPBIN
6477 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6478 *COFF*)
6479 DUMPBIN="$DUMPBIN -symbols"
6482 DUMPBIN=:
6484 esac
6487 if test "$DUMPBIN" != ":"; then
6488 NM="$DUMPBIN"
6491 test -z "$NM" && NM=nm
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6499 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6500 if ${lt_cv_nm_interface+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 lt_cv_nm_interface="BSD nm"
6504 echo "int some_variable = 0;" > conftest.$ac_ext
6505 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6506 (eval "$ac_compile" 2>conftest.err)
6507 cat conftest.err >&5
6508 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6509 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6510 cat conftest.err >&5
6511 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6512 cat conftest.out >&5
6513 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6514 lt_cv_nm_interface="MS dumpbin"
6516 rm -f conftest*
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6519 $as_echo "$lt_cv_nm_interface" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525 $as_echo_n "(cached) " >&6
6526 else
6528 teststring="ABCD"
6530 case $build_os in
6531 msdosdjgpp*)
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6539 gnu*)
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len=-1;
6546 cygwin* | mingw* | cegcc*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len=8192;
6557 mint*)
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len=8192;
6562 amigaos*)
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len=8192;
6568 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin/sysctl; then
6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr/sbin/sysctl; then
6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6574 else
6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6582 interix*)
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len=196608
6587 osf*)
6588 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6589 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6590 # nice to cause kernel panics so lets avoid the loop below.
6591 # First set a reasonable default.
6592 lt_cv_sys_max_cmd_len=16384
6594 if test -x /sbin/sysconfig; then
6595 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6596 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6597 esac
6600 sco3.2v5*)
6601 lt_cv_sys_max_cmd_len=102400
6603 sysv5* | sco5v6* | sysv4.2uw2*)
6604 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6605 if test -n "$kargmax"; then
6606 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6607 else
6608 lt_cv_sys_max_cmd_len=32768
6612 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6613 if test -n "$lt_cv_sys_max_cmd_len"; then
6614 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6615 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6616 else
6617 # Make teststring a little bigger before we do anything with it.
6618 # a 1K string should be a reasonable start.
6619 for i in 1 2 3 4 5 6 7 8 ; do
6620 teststring=$teststring$teststring
6621 done
6622 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6623 # If test is not a shell built-in, we'll probably end up computing a
6624 # maximum length that is only half of the actual maximum length, but
6625 # we can't tell.
6626 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6627 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6628 test $i != 17 # 1/2 MB should be enough
6630 i=`expr $i + 1`
6631 teststring=$teststring$teststring
6632 done
6633 # Only check the string length outside the loop.
6634 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6635 teststring=
6636 # Add a significant safety factor because C++ compilers can tack on
6637 # massive amounts of additional arguments before passing them to the
6638 # linker. It appears as though 1/2 is a usable value.
6639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6642 esac
6646 if test -n $lt_cv_sys_max_cmd_len ; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6651 $as_echo "none" >&6; }
6653 max_cmd_len=$lt_cv_sys_max_cmd_len
6660 : ${CP="cp -f"}
6661 : ${MV="mv -f"}
6662 : ${RM="rm -f"}
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6665 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6666 # Try some XSI features
6667 xsi_shell=no
6668 ( _lt_dummy="a/b/c"
6669 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6670 = c,a/b,, \
6671 && eval 'test $(( 1 + 1 )) -eq 2 \
6672 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6673 && xsi_shell=yes
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6675 $as_echo "$xsi_shell" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6679 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6680 lt_shell_append=no
6681 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6682 >/dev/null 2>&1 \
6683 && lt_shell_append=yes
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6685 $as_echo "$lt_shell_append" >&6; }
6688 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6689 lt_unset=unset
6690 else
6691 lt_unset=false
6698 # test EBCDIC or ASCII
6699 case `echo X|tr X '\101'` in
6700 A) # ASCII based system
6701 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6702 lt_SP2NL='tr \040 \012'
6703 lt_NL2SP='tr \015\012 \040\040'
6705 *) # EBCDIC based system
6706 lt_SP2NL='tr \100 \n'
6707 lt_NL2SP='tr \r\n \100\100'
6709 esac
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6721 if ${lt_cv_ld_reload_flag+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 lt_cv_ld_reload_flag='-r'
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6728 reload_flag=$lt_cv_ld_reload_flag
6729 case $reload_flag in
6730 "" | " "*) ;;
6731 *) reload_flag=" $reload_flag" ;;
6732 esac
6733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6734 case $host_os in
6735 darwin*)
6736 if test "$GCC" = yes; then
6737 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6738 else
6739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6742 esac
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_OBJDUMP+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$OBJDUMP"; then
6761 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 OBJDUMP=$ac_cv_prog_OBJDUMP
6781 if test -n "$OBJDUMP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6783 $as_echo "$OBJDUMP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_OBJDUMP"; then
6792 ac_ct_OBJDUMP=$OBJDUMP
6793 # Extract the first word of "objdump", so it can be a program name with args.
6794 set dummy objdump; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_OBJDUMP"; then
6801 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6821 if test -n "$ac_ct_OBJDUMP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6823 $as_echo "$ac_ct_OBJDUMP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_OBJDUMP" = x; then
6830 OBJDUMP="false"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 OBJDUMP=$ac_ct_OBJDUMP
6840 else
6841 OBJDUMP="$ac_cv_prog_OBJDUMP"
6844 test -z "$OBJDUMP" && OBJDUMP=objdump
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6855 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6856 if ${lt_cv_deplibs_check_method+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 lt_cv_file_magic_cmd='$MAGIC_CMD'
6860 lt_cv_file_magic_test_file=
6861 lt_cv_deplibs_check_method='unknown'
6862 # Need to set the preceding variable on all platforms that support
6863 # interlibrary dependencies.
6864 # 'none' -- dependencies not supported.
6865 # `unknown' -- same as none, but documents that we really don't know.
6866 # 'pass_all' -- all dependencies passed with no checks.
6867 # 'test_compile' -- check by making test program.
6868 # 'file_magic [[regex]]' -- check by looking for files in library path
6869 # which responds to the $file_magic_cmd with a given extended regex.
6870 # If you have `file' or equivalent on your system and you're not sure
6871 # whether `pass_all' will *always* work, you probably want this one.
6873 case $host_os in
6874 aix[4-9]*)
6875 lt_cv_deplibs_check_method=pass_all
6878 beos*)
6879 lt_cv_deplibs_check_method=pass_all
6882 bsdi[45]*)
6883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6884 lt_cv_file_magic_cmd='/usr/bin/file -L'
6885 lt_cv_file_magic_test_file=/shlib/libc.so
6888 cygwin*)
6889 # func_win32_libid is a shell function defined in ltmain.sh
6890 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6891 lt_cv_file_magic_cmd='func_win32_libid'
6894 mingw* | pw32*)
6895 # Base MSYS/MinGW do not provide the 'file' command needed by
6896 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6897 # unless we find 'file', for example because we are cross-compiling.
6898 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6899 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6900 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6901 lt_cv_file_magic_cmd='func_win32_libid'
6902 else
6903 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6904 lt_cv_file_magic_cmd='$OBJDUMP -f'
6908 cegcc*)
6909 # use the weaker test based on 'objdump'. See mingw*.
6910 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6914 darwin* | rhapsody*)
6915 lt_cv_deplibs_check_method=pass_all
6918 freebsd* | dragonfly*)
6919 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6920 case $host_cpu in
6921 i*86 )
6922 # Not sure whether the presence of OpenBSD here was a mistake.
6923 # Let's accept both of them until this is cleared up.
6924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6925 lt_cv_file_magic_cmd=/usr/bin/file
6926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6928 esac
6929 else
6930 lt_cv_deplibs_check_method=pass_all
6934 gnu*)
6935 lt_cv_deplibs_check_method=pass_all
6938 haiku*)
6939 lt_cv_deplibs_check_method=pass_all
6942 hpux10.20* | hpux11*)
6943 lt_cv_file_magic_cmd=/usr/bin/file
6944 case $host_cpu in
6945 ia64*)
6946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6947 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6949 hppa*64*)
6950 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6951 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6955 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6957 esac
6960 interix[3-9]*)
6961 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6965 irix5* | irix6* | nonstopux*)
6966 case $LD in
6967 *-32|*"-32 ") libmagic=32-bit;;
6968 *-n32|*"-n32 ") libmagic=N32;;
6969 *-64|*"-64 ") libmagic=64-bit;;
6970 *) libmagic=never-match;;
6971 esac
6972 lt_cv_deplibs_check_method=pass_all
6975 # This must be Linux ELF.
6976 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6977 lt_cv_deplibs_check_method=pass_all
6980 netbsd*)
6981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6983 else
6984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6988 newos6*)
6989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6990 lt_cv_file_magic_cmd=/usr/bin/file
6991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6994 *nto* | *qnx*)
6995 lt_cv_deplibs_check_method=pass_all
6998 openbsd*)
6999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7001 else
7002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7006 osf3* | osf4* | osf5*)
7007 lt_cv_deplibs_check_method=pass_all
7010 rdos*)
7011 lt_cv_deplibs_check_method=pass_all
7014 solaris*)
7015 lt_cv_deplibs_check_method=pass_all
7018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7019 lt_cv_deplibs_check_method=pass_all
7022 sysv4 | sysv4.3*)
7023 case $host_vendor in
7024 motorola)
7025 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7028 ncr)
7029 lt_cv_deplibs_check_method=pass_all
7031 sequent)
7032 lt_cv_file_magic_cmd='/bin/file'
7033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7035 sni)
7036 lt_cv_file_magic_cmd='/bin/file'
7037 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7038 lt_cv_file_magic_test_file=/lib/libc.so
7040 siemens)
7041 lt_cv_deplibs_check_method=pass_all
7044 lt_cv_deplibs_check_method=pass_all
7046 esac
7049 tpf*)
7050 lt_cv_deplibs_check_method=pass_all
7052 vxworks*)
7053 # Assume VxWorks cross toolchains are built on Linux, possibly
7054 # as canadian for Windows hosts.
7055 lt_cv_deplibs_check_method=pass_all
7057 esac
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7061 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7062 file_magic_cmd=$lt_cv_file_magic_cmd
7063 deplibs_check_method=$lt_cv_deplibs_check_method
7064 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}ar; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_AR+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$AR"; then
7086 ac_cv_prog_AR="$AR" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_AR="${ac_tool_prefix}ar"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7105 AR=$ac_cv_prog_AR
7106 if test -n "$AR"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7108 $as_echo "$AR" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_AR"; then
7117 ac_ct_AR=$AR
7118 # Extract the first word of "ar", so it can be a program name with args.
7119 set dummy ar; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 if test -n "$ac_ct_AR"; then
7126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7131 IFS=$as_save_IFS
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_AR="ar"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7146 if test -n "$ac_ct_AR"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7148 $as_echo "$ac_ct_AR" >&6; }
7149 else
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_AR" = x; then
7155 AR="false"
7156 else
7157 case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163 AR=$ac_ct_AR
7165 else
7166 AR="$ac_cv_prog_AR"
7169 test -z "$AR" && AR=ar
7170 test -z "$AR_FLAGS" && AR_FLAGS=cru
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}strip; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_STRIP+:} false; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 if test -n "$STRIP"; then
7191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7210 STRIP=$ac_cv_prog_STRIP
7211 if test -n "$STRIP"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7213 $as_echo "$STRIP" >&6; }
7214 else
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_STRIP"; then
7222 ac_ct_STRIP=$STRIP
7223 # Extract the first word of "strip", so it can be a program name with args.
7224 set dummy strip; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$ac_ct_STRIP"; then
7231 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_STRIP="strip"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7251 if test -n "$ac_ct_STRIP"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7253 $as_echo "$ac_ct_STRIP" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_STRIP" = x; then
7260 STRIP=":"
7261 else
7262 case $cross_compiling:$ac_tool_warned in
7263 yes:)
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned=yes ;;
7267 esac
7268 STRIP=$ac_ct_STRIP
7270 else
7271 STRIP="$ac_cv_prog_STRIP"
7274 test -z "$STRIP" && STRIP=:
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_RANLIB+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$RANLIB"; then
7290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 RANLIB=$ac_cv_prog_RANLIB
7310 if test -n "$RANLIB"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7312 $as_echo "$RANLIB" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_RANLIB"; then
7321 ac_ct_RANLIB=$RANLIB
7322 # Extract the first word of "ranlib", so it can be a program name with args.
7323 set dummy ranlib; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_RANLIB"; then
7330 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_RANLIB="ranlib"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7350 if test -n "$ac_ct_RANLIB"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7352 $as_echo "$ac_ct_RANLIB" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_RANLIB" = x; then
7359 RANLIB=":"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 RANLIB=$ac_ct_RANLIB
7369 else
7370 RANLIB="$ac_cv_prog_RANLIB"
7373 test -z "$RANLIB" && RANLIB=:
7380 # Determine commands to create old-style static archives.
7381 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7382 old_postinstall_cmds='chmod 644 $oldlib'
7383 old_postuninstall_cmds=
7385 if test -n "$RANLIB"; then
7386 case $host_os in
7387 openbsd*)
7388 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7393 esac
7394 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7397 case $host_os in
7398 darwin*)
7399 lock_old_archive_extraction=yes ;;
7401 lock_old_archive_extraction=no ;;
7402 esac
7442 # If no C compiler was specified, use CC.
7443 LTCC=${LTCC-"$CC"}
7445 # If no C compiler flags were specified, use CFLAGS.
7446 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7448 # Allow CC to be a program name with arguments.
7449 compiler=$CC
7452 # Check for command to grab the raw symbol name followed by C symbol from nm.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7454 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7455 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7459 # These are sane defaults that work on at least a few old systems.
7460 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7462 # Character class describing NM global symbol codes.
7463 symcode='[BCDEGRST]'
7465 # Regexp to match symbols that can be accessed directly from C.
7466 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7468 # Define system-specific variables.
7469 case $host_os in
7470 aix*)
7471 symcode='[BCDT]'
7473 cygwin* | mingw* | pw32* | cegcc*)
7474 symcode='[ABCDGISTW]'
7476 hpux*)
7477 if test "$host_cpu" = ia64; then
7478 symcode='[ABCDEGRST]'
7481 irix* | nonstopux*)
7482 symcode='[BCDEGRST]'
7484 osf*)
7485 symcode='[BCDEGQRST]'
7487 solaris*)
7488 symcode='[BDRT]'
7490 sco3.2v5*)
7491 symcode='[DT]'
7493 sysv4.2uw2*)
7494 symcode='[DT]'
7496 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7497 symcode='[ABDT]'
7499 sysv4)
7500 symcode='[DFNSTU]'
7502 esac
7504 # If we're using GNU nm, then use its standard symbol codes.
7505 case `$NM -V 2>&1` in
7506 *GNU* | *'with BFD'*)
7507 symcode='[ABCDGIRSTW]' ;;
7508 esac
7510 # Transform an extracted symbol line into a proper C declaration.
7511 # Some systems (esp. on ia64) link data and code symbols differently,
7512 # so use this general approach.
7513 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7515 # Transform an extracted symbol line into symbol name and symbol address
7516 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7517 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7519 # Handle CRLF in mingw tool chain
7520 opt_cr=
7521 case $build_os in
7522 mingw*)
7523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7525 esac
7527 # Try without a prefix underscore, then with it.
7528 for ac_symprfx in "" "_"; do
7530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7531 symxfrm="\\1 $ac_symprfx\\2 \\2"
7533 # Write the raw and C identifiers.
7534 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7535 # Fake it for dumpbin and say T for any non-static function
7536 # and D for any global variable.
7537 # Also find C++ and __fastcall symbols from MSVC++,
7538 # which start with @ or ?.
7539 lt_cv_sys_global_symbol_pipe="$AWK '"\
7540 " {last_section=section; section=\$ 3};"\
7541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7542 " \$ 0!~/External *\|/{next};"\
7543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7544 " {if(hide[section]) next};"\
7545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7549 " ' prfx=^$ac_symprfx"
7550 else
7551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7554 # Check to see that the pipe works correctly.
7555 pipe_works=no
7557 rm -f conftest*
7558 cat > conftest.$ac_ext <<_LT_EOF
7559 #ifdef __cplusplus
7560 extern "C" {
7561 #endif
7562 char nm_test_var;
7563 void nm_test_func(void);
7564 void nm_test_func(void){}
7565 #ifdef __cplusplus
7567 #endif
7568 int main(){nm_test_var='a';nm_test_func();return(0);}
7569 _LT_EOF
7571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7572 (eval $ac_compile) 2>&5
7573 ac_status=$?
7574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7575 test $ac_status = 0; }; then
7576 # Now try to grab the symbols.
7577 nlist=conftest.nm
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7579 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7580 ac_status=$?
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; } && test -s "$nlist"; then
7583 # Try sorting and uniquifying the output.
7584 if sort "$nlist" | uniq > "$nlist"T; then
7585 mv -f "$nlist"T "$nlist"
7586 else
7587 rm -f "$nlist"T
7590 # Make sure that we snagged all the symbols we need.
7591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7593 cat <<_LT_EOF > conftest.$ac_ext
7594 #ifdef __cplusplus
7595 extern "C" {
7596 #endif
7598 _LT_EOF
7599 # Now generate the symbol file.
7600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7602 cat <<_LT_EOF >> conftest.$ac_ext
7604 /* The mapping between symbol names and symbols. */
7605 const struct {
7606 const char *name;
7607 void *address;
7609 lt__PROGRAM__LTX_preloaded_symbols[] =
7611 { "@PROGRAM@", (void *) 0 },
7612 _LT_EOF
7613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7614 cat <<\_LT_EOF >> conftest.$ac_ext
7615 {0, (void *) 0}
7618 /* This works around a problem in FreeBSD linker */
7619 #ifdef FREEBSD_WORKAROUND
7620 static const void *lt_preloaded_setup() {
7621 return lt__PROGRAM__LTX_preloaded_symbols;
7623 #endif
7625 #ifdef __cplusplus
7627 #endif
7628 _LT_EOF
7629 # Now try linking the two files.
7630 mv conftest.$ac_objext conftstm.$ac_objext
7631 lt_save_LIBS="$LIBS"
7632 lt_save_CFLAGS="$CFLAGS"
7633 LIBS="conftstm.$ac_objext"
7634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7636 (eval $ac_link) 2>&5
7637 ac_status=$?
7638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7639 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7640 pipe_works=yes
7642 LIBS="$lt_save_LIBS"
7643 CFLAGS="$lt_save_CFLAGS"
7644 else
7645 echo "cannot find nm_test_func in $nlist" >&5
7647 else
7648 echo "cannot find nm_test_var in $nlist" >&5
7650 else
7651 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7653 else
7654 echo "$progname: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 rm -rf conftest* conftst*
7659 # Do not use the global_symbol_pipe unless it works.
7660 if test "$pipe_works" = yes; then
7661 break
7662 else
7663 lt_cv_sys_global_symbol_pipe=
7665 done
7669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7670 lt_cv_sys_global_symbol_to_cdecl=
7672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7674 $as_echo "failed" >&6; }
7675 else
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7677 $as_echo "ok" >&6; }
7701 # Check whether --enable-libtool-lock was given.
7702 if test "${enable_libtool_lock+set}" = set; then :
7703 enableval=$enable_libtool_lock;
7706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7708 # Some flags need to be propagated to the compiler or linker for good
7709 # libtool support.
7710 case $host in
7711 ia64-*-hpux*)
7712 # Find out which ABI we are using.
7713 echo 'int i;' > conftest.$ac_ext
7714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7715 (eval $ac_compile) 2>&5
7716 ac_status=$?
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 case `/usr/bin/file conftest.$ac_objext` in
7720 *ELF-32*)
7721 HPUX_IA64_MODE="32"
7723 *ELF-64*)
7724 HPUX_IA64_MODE="64"
7726 esac
7728 rm -rf conftest*
7730 *-*-irix6*)
7731 # Find out which ABI we are using.
7732 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 if test "$lt_cv_prog_gnu_ld" = yes; then
7739 case `/usr/bin/file conftest.$ac_objext` in
7740 *32-bit*)
7741 LD="${LD-ld} -melf32bsmip"
7743 *N32*)
7744 LD="${LD-ld} -melf32bmipn32"
7746 *64-bit*)
7747 LD="${LD-ld} -melf64bmip"
7749 esac
7750 else
7751 case `/usr/bin/file conftest.$ac_objext` in
7752 *32-bit*)
7753 LD="${LD-ld} -32"
7755 *N32*)
7756 LD="${LD-ld} -n32"
7758 *64-bit*)
7759 LD="${LD-ld} -64"
7761 esac
7764 rm -rf conftest*
7767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7769 # Find out which ABI we are using.
7770 echo 'int i;' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 case `/usr/bin/file conftest.o` in
7777 *32-bit*)
7778 case $host in
7779 x86_64-*kfreebsd*-gnu)
7780 LD="${LD-ld} -m elf_i386_fbsd"
7782 x86_64-*linux*)
7783 case `/usr/bin/file conftest.o` in
7784 *x86-64*)
7785 LD="${LD-ld} -m elf32_x86_64"
7788 LD="${LD-ld} -m elf_i386"
7790 esac
7792 powerpc64le-*linux*)
7793 LD="${LD-ld} -m elf32lppclinux"
7795 powerpc64-*linux*)
7796 LD="${LD-ld} -m elf32ppclinux"
7798 s390x-*linux*)
7799 LD="${LD-ld} -m elf_s390"
7801 sparc64-*linux*)
7802 LD="${LD-ld} -m elf32_sparc"
7804 esac
7806 *64-bit*)
7807 case $host in
7808 x86_64-*kfreebsd*-gnu)
7809 LD="${LD-ld} -m elf_x86_64_fbsd"
7811 x86_64-*linux*)
7812 LD="${LD-ld} -m elf_x86_64"
7814 powerpcle-*linux*)
7815 LD="${LD-ld} -m elf64lppc"
7817 powerpc-*linux*)
7818 LD="${LD-ld} -m elf64ppc"
7820 s390*-*linux*|s390*-*tpf*)
7821 LD="${LD-ld} -m elf64_s390"
7823 sparc*-*linux*)
7824 LD="${LD-ld} -m elf64_sparc"
7826 esac
7828 esac
7830 rm -rf conftest*
7833 *-*-sco3.2v5*)
7834 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7835 SAVE_CFLAGS="$CFLAGS"
7836 CFLAGS="$CFLAGS -belf"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7838 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7839 if ${lt_cv_cc_needs_belf+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 ac_ext=c
7843 ac_cpp='$CPP $CPPFLAGS'
7844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7848 if test x$gcc_no_link = xyes; then
7849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7855 main ()
7859 return 0;
7861 _ACEOF
7862 if ac_fn_c_try_link "$LINENO"; then :
7863 lt_cv_cc_needs_belf=yes
7864 else
7865 lt_cv_cc_needs_belf=no
7867 rm -f core conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7877 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7878 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7879 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7880 CFLAGS="$SAVE_CFLAGS"
7883 sparc*-*solaris*)
7884 # Find out which ABI we are using.
7885 echo 'int i;' > conftest.$ac_ext
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887 (eval $ac_compile) 2>&5
7888 ac_status=$?
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; }; then
7891 case `/usr/bin/file conftest.o` in
7892 *64-bit*)
7893 case $lt_cv_prog_gnu_ld in
7894 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7896 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7897 LD="${LD-ld} -64"
7900 esac
7902 esac
7904 rm -rf conftest*
7906 esac
7908 need_locks="$enable_libtool_lock"
7911 case $host_os in
7912 rhapsody* | darwin*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DSYMUTIL"; then
7922 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7942 if test -n "$DSYMUTIL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7944 $as_echo "$DSYMUTIL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DSYMUTIL"; then
7953 ac_ct_DSYMUTIL=$DSYMUTIL
7954 # Extract the first word of "dsymutil", so it can be a program name with args.
7955 set dummy dsymutil; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DSYMUTIL"; then
7962 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7982 if test -n "$ac_ct_DSYMUTIL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DSYMUTIL" = x; then
7991 DSYMUTIL=":"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DSYMUTIL=$ac_ct_DSYMUTIL
8001 else
8002 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8009 $as_echo_n "checking for $ac_word... " >&6; }
8010 if ${ac_cv_prog_NMEDIT+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 if test -n "$NMEDIT"; then
8014 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8015 else
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 for as_dir in $PATH
8019 IFS=$as_save_IFS
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 break 2
8027 done
8028 done
8029 IFS=$as_save_IFS
8033 NMEDIT=$ac_cv_prog_NMEDIT
8034 if test -n "$NMEDIT"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8036 $as_echo "$NMEDIT" >&6; }
8037 else
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8044 if test -z "$ac_cv_prog_NMEDIT"; then
8045 ac_ct_NMEDIT=$NMEDIT
8046 # Extract the first word of "nmedit", so it can be a program name with args.
8047 set dummy nmedit; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$ac_ct_NMEDIT"; then
8054 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8074 if test -n "$ac_ct_NMEDIT"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8076 $as_echo "$ac_ct_NMEDIT" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8082 if test "x$ac_ct_NMEDIT" = x; then
8083 NMEDIT=":"
8084 else
8085 case $cross_compiling:$ac_tool_warned in
8086 yes:)
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8089 ac_tool_warned=yes ;;
8090 esac
8091 NMEDIT=$ac_ct_NMEDIT
8093 else
8094 NMEDIT="$ac_cv_prog_NMEDIT"
8097 if test -n "$ac_tool_prefix"; then
8098 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8099 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if ${ac_cv_prog_LIPO+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 if test -n "$LIPO"; then
8106 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8107 else
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109 for as_dir in $PATH
8111 IFS=$as_save_IFS
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 break 2
8119 done
8120 done
8121 IFS=$as_save_IFS
8125 LIPO=$ac_cv_prog_LIPO
8126 if test -n "$LIPO"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8128 $as_echo "$LIPO" >&6; }
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8136 if test -z "$ac_cv_prog_LIPO"; then
8137 ac_ct_LIPO=$LIPO
8138 # Extract the first word of "lipo", so it can be a program name with args.
8139 set dummy lipo; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$ac_ct_LIPO"; then
8146 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_ac_ct_LIPO="lipo"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8166 if test -n "$ac_ct_LIPO"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8168 $as_echo "$ac_ct_LIPO" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 if test "x$ac_ct_LIPO" = x; then
8175 LIPO=":"
8176 else
8177 case $cross_compiling:$ac_tool_warned in
8178 yes:)
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8181 ac_tool_warned=yes ;;
8182 esac
8183 LIPO=$ac_ct_LIPO
8185 else
8186 LIPO="$ac_cv_prog_LIPO"
8189 if test -n "$ac_tool_prefix"; then
8190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}otool; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_OTOOL+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 if test -n "$OTOOL"; then
8198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8203 IFS=$as_save_IFS
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 break 2
8211 done
8212 done
8213 IFS=$as_save_IFS
8217 OTOOL=$ac_cv_prog_OTOOL
8218 if test -n "$OTOOL"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8220 $as_echo "$OTOOL" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 if test -z "$ac_cv_prog_OTOOL"; then
8229 ac_ct_OTOOL=$OTOOL
8230 # Extract the first word of "otool", so it can be a program name with args.
8231 set dummy otool; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$ac_ct_OTOOL"; then
8238 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_ac_ct_OTOOL="otool"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8258 if test -n "$ac_ct_OTOOL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8260 $as_echo "$ac_ct_OTOOL" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8266 if test "x$ac_ct_OTOOL" = x; then
8267 OTOOL=":"
8268 else
8269 case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275 OTOOL=$ac_ct_OTOOL
8277 else
8278 OTOOL="$ac_cv_prog_OTOOL"
8281 if test -n "$ac_tool_prefix"; then
8282 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_OTOOL64+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 if test -n "$OTOOL64"; then
8290 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8295 IFS=$as_save_IFS
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 break 2
8303 done
8304 done
8305 IFS=$as_save_IFS
8309 OTOOL64=$ac_cv_prog_OTOOL64
8310 if test -n "$OTOOL64"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8312 $as_echo "$OTOOL64" >&6; }
8313 else
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8320 if test -z "$ac_cv_prog_OTOOL64"; then
8321 ac_ct_OTOOL64=$OTOOL64
8322 # Extract the first word of "otool64", so it can be a program name with args.
8323 set dummy otool64; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 if test -n "$ac_ct_OTOOL64"; then
8330 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8335 IFS=$as_save_IFS
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_OTOOL64="otool64"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 break 2
8343 done
8344 done
8345 IFS=$as_save_IFS
8349 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8350 if test -n "$ac_ct_OTOOL64"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8352 $as_echo "$ac_ct_OTOOL64" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8358 if test "x$ac_ct_OTOOL64" = x; then
8359 OTOOL64=":"
8360 else
8361 case $cross_compiling:$ac_tool_warned in
8362 yes:)
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8366 esac
8367 OTOOL64=$ac_ct_OTOOL64
8369 else
8370 OTOOL64="$ac_cv_prog_OTOOL64"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8400 $as_echo_n "checking for -single_module linker flag... " >&6; }
8401 if ${lt_cv_apple_cc_single_mod+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 lt_cv_apple_cc_single_mod=no
8405 if test -z "${LT_MULTI_MODULE}"; then
8406 # By default we will add the -single_module flag. You can override
8407 # by either setting the environment variable LT_MULTI_MODULE
8408 # non-empty at configure time, or by adding -multi_module to the
8409 # link flags.
8410 rm -rf libconftest.dylib*
8411 echo "int foo(void){return 1;}" > conftest.c
8412 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8413 -dynamiclib -Wl,-single_module conftest.c" >&5
8414 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8415 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8416 _lt_result=$?
8417 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8418 lt_cv_apple_cc_single_mod=yes
8419 else
8420 cat conftest.err >&5
8422 rm -rf libconftest.dylib*
8423 rm -f conftest.*
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8430 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 lt_cv_ld_exported_symbols_list=no
8434 save_LDFLAGS=$LDFLAGS
8435 echo "_main" > conftest.sym
8436 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8437 if test x$gcc_no_link = xyes; then
8438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 lt_cv_ld_exported_symbols_list=yes
8453 else
8454 lt_cv_ld_exported_symbols_list=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 LDFLAGS="$save_LDFLAGS"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8462 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8464 $as_echo_n "checking for -force_load linker flag... " >&6; }
8465 if ${lt_cv_ld_force_load+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 lt_cv_ld_force_load=no
8469 cat > conftest.c << _LT_EOF
8470 int forced_loaded() { return 2;}
8471 _LT_EOF
8472 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8473 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8474 echo "$AR cru libconftest.a conftest.o" >&5
8475 $AR cru libconftest.a conftest.o 2>&5
8476 cat > conftest.c << _LT_EOF
8477 int main() { return 0;}
8478 _LT_EOF
8479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8481 _lt_result=$?
8482 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8483 lt_cv_ld_force_load=yes
8484 else
8485 cat conftest.err >&5
8487 rm -f conftest.err libconftest.a conftest conftest.c
8488 rm -rf conftest.dSYM
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8492 $as_echo "$lt_cv_ld_force_load" >&6; }
8493 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8494 # build without first building modern cctools / linker.
8495 case $host_cpu-$host_os in
8496 *-rhapsody* | *-darwin1.[012])
8497 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8498 *-darwin1.*)
8499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8500 *-darwin*)
8501 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8502 # deployment target is forced to an earlier version.
8503 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8504 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8506 10.[012][,.]*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8511 esac
8513 esac
8514 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8515 _lt_dar_single_mod='$single_module'
8517 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8518 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8519 else
8520 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8522 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8523 _lt_dsymutil='~$DSYMUTIL $lib || :'
8524 else
8525 _lt_dsymutil=
8528 esac
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8531 $as_echo_n "checking for ANSI C header files... " >&6; }
8532 if ${ac_cv_header_stdc+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <stdlib.h>
8538 #include <stdarg.h>
8539 #include <string.h>
8540 #include <float.h>
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_compile "$LINENO"; then :
8551 ac_cv_header_stdc=yes
8552 else
8553 ac_cv_header_stdc=no
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 if test $ac_cv_header_stdc = yes; then
8558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <string.h>
8563 _ACEOF
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "memchr" >/dev/null 2>&1; then :
8567 else
8568 ac_cv_header_stdc=no
8570 rm -f conftest*
8574 if test $ac_cv_header_stdc = yes; then
8575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #include <stdlib.h>
8580 _ACEOF
8581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8582 $EGREP "free" >/dev/null 2>&1; then :
8584 else
8585 ac_cv_header_stdc=no
8587 rm -f conftest*
8591 if test $ac_cv_header_stdc = yes; then
8592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8593 if test "$cross_compiling" = yes; then :
8595 else
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ctype.h>
8599 #include <stdlib.h>
8600 #if ((' ' & 0x0FF) == 0x020)
8601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8603 #else
8604 # define ISLOWER(c) \
8605 (('a' <= (c) && (c) <= 'i') \
8606 || ('j' <= (c) && (c) <= 'r') \
8607 || ('s' <= (c) && (c) <= 'z'))
8608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8609 #endif
8611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8613 main ()
8615 int i;
8616 for (i = 0; i < 256; i++)
8617 if (XOR (islower (i), ISLOWER (i))
8618 || toupper (i) != TOUPPER (i))
8619 return 2;
8620 return 0;
8622 _ACEOF
8623 if ac_fn_c_try_run "$LINENO"; then :
8625 else
8626 ac_cv_header_stdc=no
8628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8629 conftest.$ac_objext conftest.beam conftest.$ac_ext
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8635 $as_echo "$ac_cv_header_stdc" >&6; }
8636 if test $ac_cv_header_stdc = yes; then
8638 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8644 inttypes.h stdint.h unistd.h
8645 do :
8646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8650 cat >>confdefs.h <<_ACEOF
8651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 _ACEOF
8656 done
8659 for ac_header in dlfcn.h
8660 do :
8661 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8663 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DLFCN_H 1
8666 _ACEOF
8670 done
8677 # Set options
8682 enable_win32_dll=no
8685 # Check whether --enable-shared was given.
8686 if test "${enable_shared+set}" = set; then :
8687 enableval=$enable_shared; p=${PACKAGE-default}
8688 case $enableval in
8689 yes) enable_shared=yes ;;
8690 no) enable_shared=no ;;
8692 enable_shared=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8695 for pkg in $enableval; do
8696 IFS="$lt_save_ifs"
8697 if test "X$pkg" = "X$p"; then
8698 enable_shared=yes
8700 done
8701 IFS="$lt_save_ifs"
8703 esac
8704 else
8705 enable_shared=yes
8716 # Check whether --enable-static was given.
8717 if test "${enable_static+set}" = set; then :
8718 enableval=$enable_static; p=${PACKAGE-default}
8719 case $enableval in
8720 yes) enable_static=yes ;;
8721 no) enable_static=no ;;
8723 enable_static=no
8724 # Look at the argument we got. We use all the common list separators.
8725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8726 for pkg in $enableval; do
8727 IFS="$lt_save_ifs"
8728 if test "X$pkg" = "X$p"; then
8729 enable_static=yes
8731 done
8732 IFS="$lt_save_ifs"
8734 esac
8735 else
8736 enable_static=yes
8748 # Check whether --with-pic was given.
8749 if test "${with_pic+set}" = set; then :
8750 withval=$with_pic; pic_mode="$withval"
8751 else
8752 pic_mode=default
8756 test -z "$pic_mode" && pic_mode=default
8764 # Check whether --enable-fast-install was given.
8765 if test "${enable_fast_install+set}" = set; then :
8766 enableval=$enable_fast_install; p=${PACKAGE-default}
8767 case $enableval in
8768 yes) enable_fast_install=yes ;;
8769 no) enable_fast_install=no ;;
8771 enable_fast_install=no
8772 # Look at the argument we got. We use all the common list separators.
8773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8774 for pkg in $enableval; do
8775 IFS="$lt_save_ifs"
8776 if test "X$pkg" = "X$p"; then
8777 enable_fast_install=yes
8779 done
8780 IFS="$lt_save_ifs"
8782 esac
8783 else
8784 enable_fast_install=yes
8797 # This can be used to rebuild libtool when needed
8798 LIBTOOL_DEPS="$ltmain"
8800 # Always use our own libtool.
8801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8828 test -z "$LN_S" && LN_S="ln -s"
8843 if test -n "${ZSH_VERSION+set}" ; then
8844 setopt NO_GLOB_SUBST
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8848 $as_echo_n "checking for objdir... " >&6; }
8849 if ${lt_cv_objdir+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 rm -f .libs 2>/dev/null
8853 mkdir .libs 2>/dev/null
8854 if test -d .libs; then
8855 lt_cv_objdir=.libs
8856 else
8857 # MS-DOS does not allow filenames that begin with a dot.
8858 lt_cv_objdir=_libs
8860 rmdir .libs 2>/dev/null
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8863 $as_echo "$lt_cv_objdir" >&6; }
8864 objdir=$lt_cv_objdir
8870 cat >>confdefs.h <<_ACEOF
8871 #define LT_OBJDIR "$lt_cv_objdir/"
8872 _ACEOF
8877 case $host_os in
8878 aix3*)
8879 # AIX sometimes has problems with the GCC collect2 program. For some
8880 # reason, if we set the COLLECT_NAMES environment variable, the problems
8881 # vanish in a puff of smoke.
8882 if test "X${COLLECT_NAMES+set}" != Xset; then
8883 COLLECT_NAMES=
8884 export COLLECT_NAMES
8887 esac
8889 # Global variables:
8890 ofile=libtool
8891 can_build_shared=yes
8893 # All known linkers require a `.a' archive for static linking (except MSVC,
8894 # which needs '.lib').
8895 libext=a
8897 with_gnu_ld="$lt_cv_prog_gnu_ld"
8899 old_CC="$CC"
8900 old_CFLAGS="$CFLAGS"
8902 # Set sane defaults for various variables
8903 test -z "$CC" && CC=cc
8904 test -z "$LTCC" && LTCC=$CC
8905 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8906 test -z "$LD" && LD=ld
8907 test -z "$ac_objext" && ac_objext=o
8909 for cc_temp in $compiler""; do
8910 case $cc_temp in
8911 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8912 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8913 \-*) ;;
8914 *) break;;
8915 esac
8916 done
8917 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8920 # Only perform the check for file, if the check method requires it
8921 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8922 case $deplibs_check_method in
8923 file_magic*)
8924 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8926 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 case $MAGIC_CMD in
8931 [\\/*] | ?:[\\/]*)
8932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8935 lt_save_MAGIC_CMD="$MAGIC_CMD"
8936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8937 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8938 for ac_dir in $ac_dummy; do
8939 IFS="$lt_save_ifs"
8940 test -z "$ac_dir" && ac_dir=.
8941 if test -f $ac_dir/${ac_tool_prefix}file; then
8942 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8943 if test -n "$file_magic_test_file"; then
8944 case $deplibs_check_method in
8945 "file_magic "*)
8946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8949 $EGREP "$file_magic_regex" > /dev/null; then
8951 else
8952 cat <<_LT_EOF 1>&2
8954 *** Warning: the command libtool uses to detect shared libraries,
8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
8956 *** The result is that libtool may fail to recognize shared libraries
8957 *** as such. This will affect the creation of libtool libraries that
8958 *** depend on shared libraries, but programs linked with such libtool
8959 *** libraries will work regardless of this problem. Nevertheless, you
8960 *** may want to report the problem to your system manager and/or to
8961 *** bug-libtool@gnu.org
8963 _LT_EOF
8964 fi ;;
8965 esac
8967 break
8969 done
8970 IFS="$lt_save_ifs"
8971 MAGIC_CMD="$lt_save_MAGIC_CMD"
8973 esac
8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8977 if test -n "$MAGIC_CMD"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8979 $as_echo "$MAGIC_CMD" >&6; }
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8989 if test -z "$lt_cv_path_MAGIC_CMD"; then
8990 if test -n "$ac_tool_prefix"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8992 $as_echo_n "checking for file... " >&6; }
8993 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8994 $as_echo_n "(cached) " >&6
8995 else
8996 case $MAGIC_CMD in
8997 [\\/*] | ?:[\\/]*)
8998 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9001 lt_save_MAGIC_CMD="$MAGIC_CMD"
9002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004 for ac_dir in $ac_dummy; do
9005 IFS="$lt_save_ifs"
9006 test -z "$ac_dir" && ac_dir=.
9007 if test -f $ac_dir/file; then
9008 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9009 if test -n "$file_magic_test_file"; then
9010 case $deplibs_check_method in
9011 "file_magic "*)
9012 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015 $EGREP "$file_magic_regex" > /dev/null; then
9017 else
9018 cat <<_LT_EOF 1>&2
9020 *** Warning: the command libtool uses to detect shared libraries,
9021 *** $file_magic_cmd, produces output that libtool cannot recognize.
9022 *** The result is that libtool may fail to recognize shared libraries
9023 *** as such. This will affect the creation of libtool libraries that
9024 *** depend on shared libraries, but programs linked with such libtool
9025 *** libraries will work regardless of this problem. Nevertheless, you
9026 *** may want to report the problem to your system manager and/or to
9027 *** bug-libtool@gnu.org
9029 _LT_EOF
9030 fi ;;
9031 esac
9033 break
9035 done
9036 IFS="$lt_save_ifs"
9037 MAGIC_CMD="$lt_save_MAGIC_CMD"
9039 esac
9042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043 if test -n "$MAGIC_CMD"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045 $as_echo "$MAGIC_CMD" >&6; }
9046 else
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9052 else
9053 MAGIC_CMD=:
9059 esac
9061 # Use C for the default configuration in the libtool script
9063 lt_save_CC="$CC"
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 # Source file extension for C test sources.
9072 ac_ext=c
9074 # Object file extension for compiled C test sources.
9075 objext=o
9076 objext=$objext
9078 # Code to be used in simple compile tests
9079 lt_simple_compile_test_code="int some_variable = 0;"
9081 # Code to be used in simple link tests
9082 lt_simple_link_test_code='int main(){return(0);}'
9090 # If no C compiler was specified, use CC.
9091 LTCC=${LTCC-"$CC"}
9093 # If no C compiler flags were specified, use CFLAGS.
9094 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9096 # Allow CC to be a program name with arguments.
9097 compiler=$CC
9099 # Save the default compiler, since it gets overwritten when the other
9100 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9101 compiler_DEFAULT=$CC
9103 # save warnings/boilerplate of simple test code
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9106 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9107 _lt_compiler_boilerplate=`cat conftest.err`
9108 $RM conftest*
9110 ac_outfile=conftest.$ac_objext
9111 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9112 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9113 _lt_linker_boilerplate=`cat conftest.err`
9114 $RM -r conftest*
9117 ## CAVEAT EMPTOR:
9118 ## There is no encapsulation within the following macros, do not change
9119 ## the running order or otherwise move them around unless you know exactly
9120 ## what you are doing...
9121 if test -n "$compiler"; then
9123 lt_prog_compiler_no_builtin_flag=
9125 if test "$GCC" = yes; then
9126 case $cc_basename in
9127 nvcc*)
9128 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9130 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9131 esac
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9134 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9135 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 lt_cv_prog_compiler_rtti_exceptions=no
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9141 lt_compiler_flag="-fno-rtti -fno-exceptions"
9142 # Insert the option either (1) after the last *FLAGS variable, or
9143 # (2) before a word containing "conftest.", or (3) at the end.
9144 # Note that $ac_compile itself does not contain backslashes and begins
9145 # with a dollar sign (not a hyphen), so the echo should work correctly.
9146 # The option is referenced via a variable to avoid confusing sed.
9147 lt_compile=`echo "$ac_compile" | $SED \
9148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9150 -e 's:$: $lt_compiler_flag:'`
9151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9152 (eval "$lt_compile" 2>conftest.err)
9153 ac_status=$?
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 if (exit $ac_status) && test -s "$ac_outfile"; then
9157 # The compiler can only warn and ignore the option if not recognized
9158 # So say no if there are warnings other than the usual output.
9159 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9161 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9162 lt_cv_prog_compiler_rtti_exceptions=yes
9165 $RM conftest*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9169 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9171 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9172 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9173 else
9184 lt_prog_compiler_wl=
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_static=
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9189 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9191 if test "$GCC" = yes; then
9192 lt_prog_compiler_wl='-Wl,'
9193 lt_prog_compiler_static='-static'
9195 case $host_os in
9196 aix*)
9197 # All AIX code is PIC.
9198 if test "$host_cpu" = ia64; then
9199 # AIX 5 now supports IA64 processor
9200 lt_prog_compiler_static='-Bstatic'
9202 lt_prog_compiler_pic='-fPIC'
9205 amigaos*)
9206 case $host_cpu in
9207 powerpc)
9208 # see comment about AmigaOS4 .so support
9209 lt_prog_compiler_pic='-fPIC'
9211 m68k)
9212 # FIXME: we need at least 68020 code to build shared libraries, but
9213 # adding the `-m68020' flag to GCC prevents building anything better,
9214 # like `-m68040'.
9215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9217 esac
9220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9221 # PIC is the default for these OSes.
9224 mingw* | cygwin* | pw32* | os2* | cegcc*)
9225 # This hack is so that the source file can tell whether it is being
9226 # built for inclusion in a dll (and should export symbols for example).
9227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9228 # (--disable-auto-import) libraries
9229 lt_prog_compiler_pic='-DDLL_EXPORT'
9232 darwin* | rhapsody*)
9233 # PIC is the default on this platform
9234 # Common symbols not allowed in MH_DYLIB files
9235 lt_prog_compiler_pic='-fno-common'
9238 haiku*)
9239 # PIC is the default for Haiku.
9240 # The "-static" flag exists, but is broken.
9241 lt_prog_compiler_static=
9244 hpux*)
9245 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9246 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9247 # sets the default TLS model and affects inlining.
9248 case $host_cpu in
9249 hppa*64*)
9250 # +Z the default
9253 lt_prog_compiler_pic='-fPIC'
9255 esac
9258 interix[3-9]*)
9259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9260 # Instead, we relocate shared libraries at runtime.
9263 msdosdjgpp*)
9264 # Just because we use GCC doesn't mean we suddenly get shared libraries
9265 # on systems that don't support them.
9266 lt_prog_compiler_can_build_shared=no
9267 enable_shared=no
9270 *nto* | *qnx*)
9271 # QNX uses GNU C++, but need to define -shared option too, otherwise
9272 # it will coredump.
9273 lt_prog_compiler_pic='-fPIC -shared'
9276 sysv4*MP*)
9277 if test -d /usr/nec; then
9278 lt_prog_compiler_pic=-Kconform_pic
9283 lt_prog_compiler_pic='-fPIC'
9285 esac
9287 case $cc_basename in
9288 nvcc*) # Cuda Compiler Driver 2.2
9289 lt_prog_compiler_wl='-Xlinker '
9290 lt_prog_compiler_pic='-Xcompiler -fPIC'
9292 esac
9293 else
9294 # PORTME Check for flag to pass linker flags through the system compiler.
9295 case $host_os in
9296 aix*)
9297 lt_prog_compiler_wl='-Wl,'
9298 if test "$host_cpu" = ia64; then
9299 # AIX 5 now supports IA64 processor
9300 lt_prog_compiler_static='-Bstatic'
9301 else
9302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9306 mingw* | cygwin* | pw32* | os2* | cegcc*)
9307 # This hack is so that the source file can tell whether it is being
9308 # built for inclusion in a dll (and should export symbols for example).
9309 lt_prog_compiler_pic='-DDLL_EXPORT'
9312 hpux9* | hpux10* | hpux11*)
9313 lt_prog_compiler_wl='-Wl,'
9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9315 # not for PA HP-UX.
9316 case $host_cpu in
9317 hppa*64*|ia64*)
9318 # +Z the default
9321 lt_prog_compiler_pic='+Z'
9323 esac
9324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9325 lt_prog_compiler_static='${wl}-a ${wl}archive'
9328 irix5* | irix6* | nonstopux*)
9329 lt_prog_compiler_wl='-Wl,'
9330 # PIC (with -KPIC) is the default.
9331 lt_prog_compiler_static='-non_shared'
9334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9335 case $cc_basename in
9336 # old Intel for x86_64 which still supported -KPIC.
9337 ecc*)
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-static'
9342 # icc used to be incompatible with GCC.
9343 # ICC 10 doesn't accept -KPIC any more.
9344 icc* | ifort*)
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fPIC'
9347 lt_prog_compiler_static='-static'
9349 # Lahey Fortran 8.1.
9350 lf95*)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='--shared'
9353 lt_prog_compiler_static='--static'
9355 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9356 # Portland Group compilers (*not* the Pentium gcc compiler,
9357 # which looks to be a dead project)
9358 lt_prog_compiler_wl='-Wl,'
9359 lt_prog_compiler_pic='-fpic'
9360 lt_prog_compiler_static='-Bstatic'
9362 ccc*)
9363 lt_prog_compiler_wl='-Wl,'
9364 # All Alpha code is PIC.
9365 lt_prog_compiler_static='-non_shared'
9367 xl* | bgxl* | bgf* | mpixl*)
9368 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_pic='-qpic'
9371 lt_prog_compiler_static='-qstaticlink'
9374 case `$CC -V 2>&1 | sed 5q` in
9375 *Sun\ F* | *Sun*Fortran*)
9376 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-Bstatic'
9379 lt_prog_compiler_wl=''
9381 *Sun\ C*)
9382 # Sun C 5.9
9383 lt_prog_compiler_pic='-KPIC'
9384 lt_prog_compiler_static='-Bstatic'
9385 lt_prog_compiler_wl='-Wl,'
9387 esac
9389 esac
9392 newsos6)
9393 lt_prog_compiler_pic='-KPIC'
9394 lt_prog_compiler_static='-Bstatic'
9397 *nto* | *qnx*)
9398 # QNX uses GNU C++, but need to define -shared option too, otherwise
9399 # it will coredump.
9400 lt_prog_compiler_pic='-fPIC -shared'
9403 osf3* | osf4* | osf5*)
9404 lt_prog_compiler_wl='-Wl,'
9405 # All OSF/1 code is PIC.
9406 lt_prog_compiler_static='-non_shared'
9409 rdos*)
9410 lt_prog_compiler_static='-non_shared'
9413 solaris*)
9414 lt_prog_compiler_pic='-KPIC'
9415 lt_prog_compiler_static='-Bstatic'
9416 case $cc_basename in
9417 f77* | f90* | f95*)
9418 lt_prog_compiler_wl='-Qoption ld ';;
9420 lt_prog_compiler_wl='-Wl,';;
9421 esac
9424 sunos4*)
9425 lt_prog_compiler_wl='-Qoption ld '
9426 lt_prog_compiler_pic='-PIC'
9427 lt_prog_compiler_static='-Bstatic'
9430 sysv4 | sysv4.2uw2* | sysv4.3*)
9431 lt_prog_compiler_wl='-Wl,'
9432 lt_prog_compiler_pic='-KPIC'
9433 lt_prog_compiler_static='-Bstatic'
9436 sysv4*MP*)
9437 if test -d /usr/nec ;then
9438 lt_prog_compiler_pic='-Kconform_pic'
9439 lt_prog_compiler_static='-Bstatic'
9443 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_pic='-KPIC'
9446 lt_prog_compiler_static='-Bstatic'
9449 unicos*)
9450 lt_prog_compiler_wl='-Wl,'
9451 lt_prog_compiler_can_build_shared=no
9454 uts4*)
9455 lt_prog_compiler_pic='-pic'
9456 lt_prog_compiler_static='-Bstatic'
9460 lt_prog_compiler_can_build_shared=no
9462 esac
9465 case $host_os in
9466 # For platforms which do not support PIC, -DPIC is meaningless:
9467 *djgpp*)
9468 lt_prog_compiler_pic=
9471 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9473 esac
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9475 $as_echo "$lt_prog_compiler_pic" >&6; }
9483 # Check to make sure the PIC flag actually works.
9485 if test -n "$lt_prog_compiler_pic"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9487 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9488 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 lt_cv_prog_compiler_pic_works=no
9492 ac_outfile=conftest.$ac_objext
9493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9495 # Insert the option either (1) after the last *FLAGS variable, or
9496 # (2) before a word containing "conftest.", or (3) at the end.
9497 # Note that $ac_compile itself does not contain backslashes and begins
9498 # with a dollar sign (not a hyphen), so the echo should work correctly.
9499 # The option is referenced via a variable to avoid confusing sed.
9500 lt_compile=`echo "$ac_compile" | $SED \
9501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503 -e 's:$: $lt_compiler_flag:'`
9504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505 (eval "$lt_compile" 2>conftest.err)
9506 ac_status=$?
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 if (exit $ac_status) && test -s "$ac_outfile"; then
9510 # The compiler can only warn and ignore the option if not recognized
9511 # So say no if there are warnings other than the usual output.
9512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9515 lt_cv_prog_compiler_pic_works=yes
9518 $RM conftest*
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9522 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9524 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9525 case $lt_prog_compiler_pic in
9526 "" | " "*) ;;
9527 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9528 esac
9529 else
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_can_build_shared=no
9542 # Check to make sure the static flag actually works.
9544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9547 if ${lt_cv_prog_compiler_static_works+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 lt_cv_prog_compiler_static_works=no
9551 save_LDFLAGS="$LDFLAGS"
9552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9555 # The linker can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 if test -s conftest.err; then
9558 # Append any errors to the config.log.
9559 cat conftest.err 1>&5
9560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9562 if diff conftest.exp conftest.er2 >/dev/null; then
9563 lt_cv_prog_compiler_static_works=yes
9565 else
9566 lt_cv_prog_compiler_static_works=yes
9569 $RM -r conftest*
9570 LDFLAGS="$save_LDFLAGS"
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9578 else
9579 lt_prog_compiler_static=
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9590 if ${lt_cv_prog_compiler_c_o+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 lt_cv_prog_compiler_c_o=no
9594 $RM -r conftest 2>/dev/null
9595 mkdir conftest
9596 cd conftest
9597 mkdir out
9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="-o out/conftest2.$ac_objext"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 lt_compile=`echo "$ac_compile" | $SED \
9606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608 -e 's:$: $lt_compiler_flag:'`
9609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9610 (eval "$lt_compile" 2>out/conftest.err)
9611 ac_status=$?
9612 cat out/conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9615 then
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_c_o=yes
9624 chmod u+w . 2>&5
9625 $RM conftest*
9626 # SGI C++ compiler will create directory out/ii_files/ for
9627 # template instantiation
9628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629 $RM out/* && rmdir out
9630 cd ..
9631 $RM -r conftest
9632 $RM conftest*
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9645 if ${lt_cv_prog_compiler_c_o+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 lt_cv_prog_compiler_c_o=no
9649 $RM -r conftest 2>/dev/null
9650 mkdir conftest
9651 cd conftest
9652 mkdir out
9653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9655 lt_compiler_flag="-o out/conftest2.$ac_objext"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 lt_compile=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>out/conftest.err)
9666 ac_status=$?
9667 cat out/conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9670 then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9676 lt_cv_prog_compiler_c_o=yes
9679 chmod u+w . 2>&5
9680 $RM conftest*
9681 # SGI C++ compiler will create directory out/ii_files/ for
9682 # template instantiation
9683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9684 $RM out/* && rmdir out
9685 cd ..
9686 $RM -r conftest
9687 $RM conftest*
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9696 hard_links="nottested"
9697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9698 # do not overwrite the value of need_locks provided by the user
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9700 $as_echo_n "checking if we can lock with hard links... " >&6; }
9701 hard_links=yes
9702 $RM conftest*
9703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9704 touch conftest.a
9705 ln conftest.a conftest.b 2>&5 || hard_links=no
9706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9708 $as_echo "$hard_links" >&6; }
9709 if test "$hard_links" = no; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9712 need_locks=warn
9714 else
9715 need_locks=no
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9726 runpath_var=
9727 allow_undefined_flag=
9728 always_export_symbols=no
9729 archive_cmds=
9730 archive_expsym_cmds=
9731 compiler_needs_object=no
9732 enable_shared_with_static_runtimes=no
9733 export_dynamic_flag_spec=
9734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9735 hardcode_automatic=no
9736 hardcode_direct=no
9737 hardcode_direct_absolute=no
9738 hardcode_libdir_flag_spec=
9739 hardcode_libdir_flag_spec_ld=
9740 hardcode_libdir_separator=
9741 hardcode_minus_L=no
9742 hardcode_shlibpath_var=unsupported
9743 inherit_rpath=no
9744 link_all_deplibs=unknown
9745 module_cmds=
9746 module_expsym_cmds=
9747 old_archive_from_new_cmds=
9748 old_archive_from_expsyms_cmds=
9749 thread_safe_flag_spec=
9750 whole_archive_flag_spec=
9751 # include_expsyms should be a list of space-separated symbols to be *always*
9752 # included in the symbol list
9753 include_expsyms=
9754 # exclude_expsyms can be an extended regexp of symbols to exclude
9755 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9756 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9757 # as well as any symbol that contains `d'.
9758 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9760 # platforms (ab)use it in PIC code, but their linkers get confused if
9761 # the symbol is explicitly referenced. Since portable code cannot
9762 # rely on this symbol name, it's probably fine to never include it in
9763 # preloaded symbol tables.
9764 # Exclude shared library initialization/finalization symbols.
9765 extract_expsyms_cmds=
9767 case $host_os in
9768 cygwin* | mingw* | pw32* | cegcc*)
9769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9770 # When not using gcc, we currently assume that we are using
9771 # Microsoft Visual C++.
9772 if test "$GCC" != yes; then
9773 with_gnu_ld=no
9776 interix*)
9777 # we just hope/assume this is gcc and not c89 (= MSVC++)
9778 with_gnu_ld=yes
9780 openbsd*)
9781 with_gnu_ld=no
9783 esac
9785 ld_shlibs=yes
9787 # On some targets, GNU ld is compatible enough with the native linker
9788 # that we're better off using the native interface for both.
9789 lt_use_gnu_ld_interface=no
9790 if test "$with_gnu_ld" = yes; then
9791 case $host_os in
9792 aix*)
9793 # The AIX port of GNU ld has always aspired to compatibility
9794 # with the native linker. However, as the warning in the GNU ld
9795 # block says, versions before 2.19.5* couldn't really create working
9796 # shared libraries, regardless of the interface used.
9797 case `$LD -v 2>&1` in
9798 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9799 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9800 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9802 lt_use_gnu_ld_interface=yes
9804 esac
9807 lt_use_gnu_ld_interface=yes
9809 esac
9812 if test "$lt_use_gnu_ld_interface" = yes; then
9813 # If archive_cmds runs LD, not CC, wlarc should be empty
9814 wlarc='${wl}'
9816 # Set some defaults for GNU ld with shared library support. These
9817 # are reset later if shared libraries are not supported. Putting them
9818 # here allows them to be overridden if necessary.
9819 runpath_var=LD_RUN_PATH
9820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 export_dynamic_flag_spec='${wl}--export-dynamic'
9822 # ancient GNU ld didn't support --whole-archive et. al.
9823 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9824 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9825 else
9826 whole_archive_flag_spec=
9828 supports_anon_versioning=no
9829 case `$LD -v 2>&1` in
9830 *GNU\ gold*) supports_anon_versioning=yes ;;
9831 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9832 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9833 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9834 *\ 2.11.*) ;; # other 2.11 versions
9835 *) supports_anon_versioning=yes ;;
9836 esac
9838 # See if GNU ld supports shared libraries.
9839 case $host_os in
9840 aix[3-9]*)
9841 # On AIX/PPC, the GNU linker is very broken
9842 if test "$host_cpu" != ia64; then
9843 ld_shlibs=no
9844 cat <<_LT_EOF 1>&2
9846 *** Warning: the GNU linker, at least up to release 2.19, is reported
9847 *** to be unable to reliably create shared libraries on AIX.
9848 *** Therefore, libtool is disabling shared libraries support. If you
9849 *** really care for shared libraries, you may want to install binutils
9850 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9851 *** You will then need to restart the configuration process.
9853 _LT_EOF
9857 amigaos*)
9858 case $host_cpu in
9859 powerpc)
9860 # see comment about AmigaOS4 .so support
9861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9862 archive_expsym_cmds=''
9864 m68k)
9865 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9866 hardcode_libdir_flag_spec='-L$libdir'
9867 hardcode_minus_L=yes
9869 esac
9872 beos*)
9873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9874 allow_undefined_flag=unsupported
9875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9876 # support --undefined. This deserves some investigation. FIXME
9877 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 else
9879 ld_shlibs=no
9883 cygwin* | mingw* | pw32* | cegcc*)
9884 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9885 # as there is no search path for DLLs.
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 export_dynamic_flag_spec='${wl}--export-all-symbols'
9888 allow_undefined_flag=unsupported
9889 always_export_symbols=no
9890 enable_shared_with_static_runtimes=yes
9891 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9893 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9895 # If the export-symbols file already is a .def file (1st line
9896 # is EXPORTS), use it as is; otherwise, prepend...
9897 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898 cp $export_symbols $output_objdir/$soname.def;
9899 else
9900 echo EXPORTS > $output_objdir/$soname.def;
9901 cat $export_symbols >> $output_objdir/$soname.def;
9903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9904 else
9905 ld_shlibs=no
9909 haiku*)
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 link_all_deplibs=yes
9914 interix[3-9]*)
9915 hardcode_direct=no
9916 hardcode_shlibpath_var=no
9917 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918 export_dynamic_flag_spec='${wl}-E'
9919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9920 # Instead, shared libraries are loaded at an image base (0x10000000 by
9921 # default) and relocated if they conflict, which is a slow very memory
9922 # consuming and fragmenting process. To avoid this, we pick a random,
9923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9926 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9929 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9930 tmp_diet=no
9931 if test "$host_os" = linux-dietlibc; then
9932 case $cc_basename in
9933 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9934 esac
9936 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9937 && test "$tmp_diet" = no
9938 then
9939 tmp_addflag=' $pic_flag'
9940 tmp_sharedflag='-shared'
9941 case $cc_basename,$host_cpu in
9942 pgcc*) # Portland Group C compiler
9943 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9944 tmp_addflag=' $pic_flag'
9946 pgf77* | pgf90* | pgf95* | pgfortran*)
9947 # Portland Group f77 and f90 compilers
9948 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9949 tmp_addflag=' $pic_flag -Mnomain' ;;
9950 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9951 tmp_addflag=' -i_dynamic' ;;
9952 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9953 tmp_addflag=' -i_dynamic -nofor_main' ;;
9954 ifc* | ifort*) # Intel Fortran compiler
9955 tmp_addflag=' -nofor_main' ;;
9956 lf95*) # Lahey Fortran 8.1
9957 whole_archive_flag_spec=
9958 tmp_sharedflag='--shared' ;;
9959 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9960 tmp_sharedflag='-qmkshrobj'
9961 tmp_addflag= ;;
9962 nvcc*) # Cuda Compiler Driver 2.2
9963 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9964 compiler_needs_object=yes
9966 esac
9967 case `$CC -V 2>&1 | sed 5q` in
9968 *Sun\ C*) # Sun C 5.9
9969 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9970 compiler_needs_object=yes
9971 tmp_sharedflag='-G' ;;
9972 *Sun\ F*) # Sun Fortran 8.3
9973 tmp_sharedflag='-G' ;;
9974 esac
9975 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 if test "x$supports_anon_versioning" = xyes; then
9978 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9980 echo "local: *; };" >> $output_objdir/$libname.ver~
9981 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9984 case $cc_basename in
9985 xlf* | bgf* | bgxlf* | mpixlf*)
9986 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9987 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9988 hardcode_libdir_flag_spec=
9989 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9990 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9991 if test "x$supports_anon_versioning" = xyes; then
9992 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9994 echo "local: *; };" >> $output_objdir/$libname.ver~
9995 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9998 esac
9999 else
10000 ld_shlibs=no
10004 netbsd*)
10005 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10006 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10007 wlarc=
10008 else
10009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10014 solaris*)
10015 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10016 ld_shlibs=no
10017 cat <<_LT_EOF 1>&2
10019 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10020 *** create shared libraries on Solaris systems. Therefore, libtool
10021 *** is disabling shared libraries support. We urge you to upgrade GNU
10022 *** binutils to release 2.9.1 or newer. Another option is to modify
10023 *** your PATH or compiler configuration so that the native linker is
10024 *** used, and then restart.
10026 _LT_EOF
10027 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10028 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10030 else
10031 ld_shlibs=no
10035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10036 case `$LD -v 2>&1` in
10037 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10038 ld_shlibs=no
10039 cat <<_LT_EOF 1>&2
10041 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10042 *** reliably create shared libraries on SCO systems. Therefore, libtool
10043 *** is disabling shared libraries support. We urge you to upgrade GNU
10044 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10045 *** your PATH or compiler configuration so that the native linker is
10046 *** used, and then restart.
10048 _LT_EOF
10051 # For security reasons, it is highly recommended that you always
10052 # use absolute paths for naming shared libraries, and exclude the
10053 # DT_RUNPATH tag from executables and libraries. But doing so
10054 # requires that you compile everything twice, which is a pain.
10055 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 else
10060 ld_shlibs=no
10063 esac
10066 sunos4*)
10067 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10068 wlarc=
10069 hardcode_direct=yes
10070 hardcode_shlibpath_var=no
10074 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10077 else
10078 ld_shlibs=no
10081 esac
10083 if test "$ld_shlibs" = no; then
10084 runpath_var=
10085 hardcode_libdir_flag_spec=
10086 export_dynamic_flag_spec=
10087 whole_archive_flag_spec=
10089 else
10090 # PORTME fill in a description of your system's linker (not GNU ld)
10091 case $host_os in
10092 aix3*)
10093 allow_undefined_flag=unsupported
10094 always_export_symbols=yes
10095 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10096 # Note: this linker hardcodes the directories in LIBPATH if there
10097 # are no directories specified by -L.
10098 hardcode_minus_L=yes
10099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10100 # Neither direct hardcoding nor static linking is supported with a
10101 # broken collect2.
10102 hardcode_direct=unsupported
10106 aix[4-9]*)
10107 if test "$host_cpu" = ia64; then
10108 # On IA64, the linker does run time linking by default, so we don't
10109 # have to do anything special.
10110 aix_use_runtimelinking=no
10111 exp_sym_flag='-Bexport'
10112 no_entry_flag=""
10113 else
10114 # If we're using GNU nm, then we don't want the "-C" option.
10115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10116 # Also, AIX nm treats weak defined symbols like other global
10117 # defined symbols, whereas GNU nm marks them as "W".
10118 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10119 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10120 else
10121 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10123 aix_use_runtimelinking=no
10125 # Test if we are trying to use run time linking or normal
10126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10127 # need to do runtime linking.
10128 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10129 for ld_flag in $LDFLAGS; do
10130 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10131 aix_use_runtimelinking=yes
10132 break
10134 done
10136 esac
10138 exp_sym_flag='-bexport'
10139 no_entry_flag='-bnoentry'
10142 # When large executables or shared objects are built, AIX ld can
10143 # have problems creating the table of contents. If linking a library
10144 # or program results in "error TOC overflow" add -mminimal-toc to
10145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10148 archive_cmds=''
10149 hardcode_direct=yes
10150 hardcode_direct_absolute=yes
10151 hardcode_libdir_separator=':'
10152 link_all_deplibs=yes
10153 file_list_spec='${wl}-f,'
10155 if test "$GCC" = yes; then
10156 case $host_os in aix4.[012]|aix4.[012].*)
10157 # We only want to do this on AIX 4.2 and lower, the check
10158 # below for broken collect2 doesn't work under 4.3+
10159 collect2name=`${CC} -print-prog-name=collect2`
10160 if test -f "$collect2name" &&
10161 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10162 then
10163 # We have reworked collect2
10165 else
10166 # We have old collect2
10167 hardcode_direct=unsupported
10168 # It fails to find uninstalled libraries when the uninstalled
10169 # path is not listed in the libpath. Setting hardcode_minus_L
10170 # to unsupported forces relinking
10171 hardcode_minus_L=yes
10172 hardcode_libdir_flag_spec='-L$libdir'
10173 hardcode_libdir_separator=
10176 esac
10177 shared_flag='-shared'
10178 if test "$aix_use_runtimelinking" = yes; then
10179 shared_flag="$shared_flag "'${wl}-G'
10181 else
10182 # not using gcc
10183 if test "$host_cpu" = ia64; then
10184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185 # chokes on -Wl,-G. The following line is correct:
10186 shared_flag='-G'
10187 else
10188 if test "$aix_use_runtimelinking" = yes; then
10189 shared_flag='${wl}-G'
10190 else
10191 shared_flag='${wl}-bM:SRE'
10196 export_dynamic_flag_spec='${wl}-bexpall'
10197 # It seems that -bexpall does not export symbols beginning with
10198 # underscore (_), so it is better to generate a list of symbols to export.
10199 always_export_symbols=yes
10200 if test "$aix_use_runtimelinking" = yes; then
10201 # Warning - without using the other runtime loading flags (-brtl),
10202 # -berok will link without error, but may produce a broken library.
10203 allow_undefined_flag='-berok'
10204 # Determine the default libpath from the value encoded in an
10205 # empty executable.
10206 if test x$gcc_no_link = xyes; then
10207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10213 main ()
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 lt_aix_libpath_sed='
10223 /Import File Strings/,/^$/ {
10224 /^0/ {
10225 s/^0 *\(.*\)$/\1/
10229 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10230 # Check for a 64-bit object if we didn't find anything.
10231 if test -z "$aix_libpath"; then
10232 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10240 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10241 else
10242 if test "$host_cpu" = ia64; then
10243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10244 allow_undefined_flag="-z nodefs"
10245 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10246 else
10247 # Determine the default libpath from the value encoded in an
10248 # empty executable.
10249 if test x$gcc_no_link = xyes; then
10250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10256 main ()
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10265 lt_aix_libpath_sed='
10266 /Import File Strings/,/^$/ {
10267 /^0/ {
10268 s/^0 *\(.*\)$/\1/
10272 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273 # Check for a 64-bit object if we didn't find anything.
10274 if test -z "$aix_libpath"; then
10275 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10283 # Warning - without using the other run time loading flags,
10284 # -berok will link without error, but may produce a broken library.
10285 no_undefined_flag=' ${wl}-bernotok'
10286 allow_undefined_flag=' ${wl}-berok'
10287 if test "$with_gnu_ld" = yes; then
10288 # We only use this code for GNU lds that support --whole-archive.
10289 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10290 else
10291 # Exported symbols can be pulled into shared objects from archives
10292 whole_archive_flag_spec='$convenience'
10294 archive_cmds_need_lc=yes
10295 # This is similar to how AIX traditionally builds its shared libraries.
10296 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10301 amigaos*)
10302 case $host_cpu in
10303 powerpc)
10304 # see comment about AmigaOS4 .so support
10305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 archive_expsym_cmds=''
10308 m68k)
10309 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10310 hardcode_libdir_flag_spec='-L$libdir'
10311 hardcode_minus_L=yes
10313 esac
10316 bsdi[45]*)
10317 export_dynamic_flag_spec=-rdynamic
10320 cygwin* | mingw* | pw32* | cegcc*)
10321 # When not using gcc, we currently assume that we are using
10322 # Microsoft Visual C++.
10323 # hardcode_libdir_flag_spec is actually meaningless, as there is
10324 # no search path for DLLs.
10325 hardcode_libdir_flag_spec=' '
10326 allow_undefined_flag=unsupported
10327 # Tell ltmain to make .lib files, not .a files.
10328 libext=lib
10329 # Tell ltmain to make .dll files, not .so files.
10330 shrext_cmds=".dll"
10331 # FIXME: Setting linknames here is a bad hack.
10332 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10333 # The linker will automatically build a .lib file if we build a DLL.
10334 old_archive_from_new_cmds='true'
10335 # FIXME: Should let the user specify the lib program.
10336 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337 fix_srcfile_path='`cygpath -w "$srcfile"`'
10338 enable_shared_with_static_runtimes=yes
10341 darwin* | rhapsody*)
10344 archive_cmds_need_lc=no
10345 hardcode_direct=no
10346 hardcode_automatic=yes
10347 hardcode_shlibpath_var=unsupported
10348 if test "$lt_cv_ld_force_load" = "yes"; then
10349 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10350 else
10351 whole_archive_flag_spec=''
10353 link_all_deplibs=yes
10354 allow_undefined_flag="$_lt_dar_allow_undefined"
10355 case $cc_basename in
10356 ifort*) _lt_dar_can_shared=yes ;;
10357 *) _lt_dar_can_shared=$GCC ;;
10358 esac
10359 if test "$_lt_dar_can_shared" = "yes"; then
10360 output_verbose_link_cmd=func_echo_all
10361 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10362 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10363 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10364 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10366 else
10367 ld_shlibs=no
10372 dgux*)
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_libdir_flag_spec='-L$libdir'
10375 hardcode_shlibpath_var=no
10378 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379 # support. Future versions do this automatically, but an explicit c++rt0.o
10380 # does not break anything, and helps significantly (at the cost of a little
10381 # extra space).
10382 freebsd2.2*)
10383 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10389 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390 freebsd2.*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10397 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398 freebsd* | dragonfly*)
10399 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400 hardcode_libdir_flag_spec='-R$libdir'
10401 hardcode_direct=yes
10402 hardcode_shlibpath_var=no
10405 hpux9*)
10406 if test "$GCC" = yes; then
10407 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10408 else
10409 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10411 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412 hardcode_libdir_separator=:
10413 hardcode_direct=yes
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L=yes
10418 export_dynamic_flag_spec='${wl}-E'
10421 hpux10*)
10422 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10423 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424 else
10425 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10427 if test "$with_gnu_ld" = no; then
10428 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_flag_spec_ld='+b $libdir'
10430 hardcode_libdir_separator=:
10431 hardcode_direct=yes
10432 hardcode_direct_absolute=yes
10433 export_dynamic_flag_spec='${wl}-E'
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10440 hpux11*)
10441 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10442 case $host_cpu in
10443 hppa*64*)
10444 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10446 ia64*)
10447 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10452 esac
10453 else
10454 case $host_cpu in
10455 hppa*64*)
10456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 ia64*)
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463 # Older versions of the 11.00 compiler do not understand -b yet
10464 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10466 $as_echo_n "checking if $CC understands -b... " >&6; }
10467 if ${lt_cv_prog_compiler__b+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 lt_cv_prog_compiler__b=no
10471 save_LDFLAGS="$LDFLAGS"
10472 LDFLAGS="$LDFLAGS -b"
10473 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10474 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10475 # The linker can only warn and ignore the option if not recognized
10476 # So say no if there are warnings
10477 if test -s conftest.err; then
10478 # Append any errors to the config.log.
10479 cat conftest.err 1>&5
10480 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10481 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10482 if diff conftest.exp conftest.er2 >/dev/null; then
10483 lt_cv_prog_compiler__b=yes
10485 else
10486 lt_cv_prog_compiler__b=yes
10489 $RM -r conftest*
10490 LDFLAGS="$save_LDFLAGS"
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10494 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10496 if test x"$lt_cv_prog_compiler__b" = xyes; then
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10498 else
10499 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503 esac
10505 if test "$with_gnu_ld" = no; then
10506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10507 hardcode_libdir_separator=:
10509 case $host_cpu in
10510 hppa*64*|ia64*)
10511 hardcode_direct=no
10512 hardcode_shlibpath_var=no
10515 hardcode_direct=yes
10516 hardcode_direct_absolute=yes
10517 export_dynamic_flag_spec='${wl}-E'
10519 # hardcode_minus_L: Not really in the search PATH,
10520 # but as the default location of the library.
10521 hardcode_minus_L=yes
10523 esac
10527 irix5* | irix6* | nonstopux*)
10528 if test "$GCC" = yes; then
10529 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10530 # Try to use the -exported_symbol ld option, if it does not
10531 # work, assume that -exports_file does not work either and
10532 # implicitly export all symbols.
10533 save_LDFLAGS="$LDFLAGS"
10534 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10535 if test x$gcc_no_link = xyes; then
10536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int foo(void) {}
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LDFLAGS="$save_LDFLAGS"
10549 else
10550 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10551 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10553 archive_cmds_need_lc='no'
10554 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10555 hardcode_libdir_separator=:
10556 inherit_rpath=yes
10557 link_all_deplibs=yes
10560 netbsd*)
10561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10563 else
10564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10566 hardcode_libdir_flag_spec='-R$libdir'
10567 hardcode_direct=yes
10568 hardcode_shlibpath_var=no
10571 newsos6)
10572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_direct=yes
10574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10575 hardcode_libdir_separator=:
10576 hardcode_shlibpath_var=no
10579 *nto* | *qnx*)
10582 openbsd*)
10583 if test -f /usr/libexec/ld.so; then
10584 hardcode_direct=yes
10585 hardcode_shlibpath_var=no
10586 hardcode_direct_absolute=yes
10587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10590 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10591 export_dynamic_flag_spec='${wl}-E'
10592 else
10593 case $host_os in
10594 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_libdir_flag_spec='-R$libdir'
10599 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10600 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10602 esac
10604 else
10605 ld_shlibs=no
10609 os2*)
10610 hardcode_libdir_flag_spec='-L$libdir'
10611 hardcode_minus_L=yes
10612 allow_undefined_flag=unsupported
10613 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10614 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10617 osf3*)
10618 if test "$GCC" = yes; then
10619 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10620 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10621 else
10622 allow_undefined_flag=' -expect_unresolved \*'
10623 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10625 archive_cmds_need_lc='no'
10626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10627 hardcode_libdir_separator=:
10630 osf4* | osf5*) # as osf3* with the addition of -msym flag
10631 if test "$GCC" = yes; then
10632 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10633 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 else
10636 allow_undefined_flag=' -expect_unresolved \*'
10637 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10638 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10639 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10641 # Both c and cxx compiler support -rpath directly
10642 hardcode_libdir_flag_spec='-rpath $libdir'
10644 archive_cmds_need_lc='no'
10645 hardcode_libdir_separator=:
10648 solaris*)
10649 no_undefined_flag=' -z defs'
10650 if test "$GCC" = yes; then
10651 wlarc='${wl}'
10652 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10654 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10655 else
10656 case `$CC -V 2>&1` in
10657 *"Compilers 5.0"*)
10658 wlarc=''
10659 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10664 wlarc='${wl}'
10665 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10667 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10669 esac
10671 hardcode_libdir_flag_spec='-R$libdir'
10672 hardcode_shlibpath_var=no
10673 case $host_os in
10674 solaris2.[0-5] | solaris2.[0-5].*) ;;
10676 # The compiler driver will combine and reorder linker options,
10677 # but understands `-z linker_flag'. GCC discards it without `$wl',
10678 # but is careful enough not to reorder.
10679 # Supported since Solaris 2.6 (maybe 2.5.1?)
10680 if test "$GCC" = yes; then
10681 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10682 else
10683 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10686 esac
10687 link_all_deplibs=yes
10690 sunos4*)
10691 if test "x$host_vendor" = xsequent; then
10692 # Use $CC to link under sequent, because it throws in some extra .o
10693 # files that make .init and .fini sections work.
10694 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10695 else
10696 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec='-L$libdir'
10699 hardcode_direct=yes
10700 hardcode_minus_L=yes
10701 hardcode_shlibpath_var=no
10704 sysv4)
10705 case $host_vendor in
10706 sni)
10707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708 hardcode_direct=yes # is this really true???
10710 siemens)
10711 ## LD is ld it makes a PLAMLIB
10712 ## CC just makes a GrossModule.
10713 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10714 reload_cmds='$CC -r -o $output$reload_objs'
10715 hardcode_direct=no
10717 motorola)
10718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10721 esac
10722 runpath_var='LD_RUN_PATH'
10723 hardcode_shlibpath_var=no
10726 sysv4.3*)
10727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_shlibpath_var=no
10729 export_dynamic_flag_spec='-Bexport'
10732 sysv4*MP*)
10733 if test -d /usr/nec; then
10734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_shlibpath_var=no
10736 runpath_var=LD_RUN_PATH
10737 hardcode_runpath_var=yes
10738 ld_shlibs=yes
10742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10743 no_undefined_flag='${wl}-z,text'
10744 archive_cmds_need_lc=no
10745 hardcode_shlibpath_var=no
10746 runpath_var='LD_RUN_PATH'
10748 if test "$GCC" = yes; then
10749 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 else
10752 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 sysv5* | sco3.2v5* | sco5v6*)
10758 # Note: We can NOT use -z defs as we might desire, because we do not
10759 # link with -lc, and that would cause any symbols used from libc to
10760 # always be unresolved, which means just about no library would
10761 # ever link correctly. If we're not using GNU ld we use -z text
10762 # though, which does catch some bad symbols but isn't as heavy-handed
10763 # as -z defs.
10764 no_undefined_flag='${wl}-z,text'
10765 allow_undefined_flag='${wl}-z,nodefs'
10766 archive_cmds_need_lc=no
10767 hardcode_shlibpath_var=no
10768 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 export_dynamic_flag_spec='${wl}-Bexport'
10772 runpath_var='LD_RUN_PATH'
10774 if test "$GCC" = yes; then
10775 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 else
10778 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 uts4*)
10784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_shlibpath_var=no
10790 ld_shlibs=no
10792 esac
10794 if test x$host_vendor = xsni; then
10795 case $host in
10796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10797 export_dynamic_flag_spec='${wl}-Blargedynsym'
10799 esac
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10804 $as_echo "$ld_shlibs" >&6; }
10805 test "$ld_shlibs" = no && can_build_shared=no
10807 with_gnu_ld=$with_gnu_ld
10824 # Do we need to explicitly link libc?
10826 case "x$archive_cmds_need_lc" in
10827 x|xyes)
10828 # Assume -lc should be added
10829 archive_cmds_need_lc=yes
10831 if test "$enable_shared" = yes && test "$GCC" = yes; then
10832 case $archive_cmds in
10833 *'~'*)
10834 # FIXME: we may have to deal with multi-command sequences.
10836 '$CC '*)
10837 # Test whether the compiler implicitly links with -lc since on some
10838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10839 # to ld, don't add -lc before -lgcc.
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10842 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 $RM conftest*
10846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10849 (eval $ac_compile) 2>&5
10850 ac_status=$?
10851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10852 test $ac_status = 0; } 2>conftest.err; then
10853 soname=conftest
10854 lib=conftest
10855 libobjs=conftest.$ac_objext
10856 deplibs=
10857 wl=$lt_prog_compiler_wl
10858 pic_flag=$lt_prog_compiler_pic
10859 compiler_flags=-v
10860 linker_flags=-v
10861 verstring=
10862 output_objdir=.
10863 libname=conftest
10864 lt_save_allow_undefined_flag=$allow_undefined_flag
10865 allow_undefined_flag=
10866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10868 ac_status=$?
10869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10870 test $ac_status = 0; }
10871 then
10872 lt_cv_archive_cmds_need_lc=no
10873 else
10874 lt_cv_archive_cmds_need_lc=yes
10876 allow_undefined_flag=$lt_save_allow_undefined_flag
10877 else
10878 cat conftest.err 1>&5
10880 $RM conftest*
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10884 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10885 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10887 esac
10890 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11049 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11051 if test "$GCC" = yes; then
11052 case $host_os in
11053 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11054 *) lt_awk_arg="/^libraries:/" ;;
11055 esac
11056 case $host_os in
11057 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11058 *) lt_sed_strip_eq="s,=/,/,g" ;;
11059 esac
11060 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11061 case $lt_search_path_spec in
11062 *\;*)
11063 # if the path contains ";" then we assume it to be the separator
11064 # otherwise default to the standard path separator (i.e. ":") - it is
11065 # assumed that no part of a normal pathname contains ";" but that should
11066 # okay in the real world where ";" in dirpaths is itself problematic.
11067 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11070 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11072 esac
11073 # Ok, now we have the path, separated by spaces, we can step through it
11074 # and add multilib dir if necessary.
11075 lt_tmp_lt_search_path_spec=
11076 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11077 for lt_sys_path in $lt_search_path_spec; do
11078 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11079 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11080 else
11081 test -d "$lt_sys_path" && \
11082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11084 done
11085 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11086 BEGIN {RS=" "; FS="/|\n";} {
11087 lt_foo="";
11088 lt_count=0;
11089 for (lt_i = NF; lt_i > 0; lt_i--) {
11090 if ($lt_i != "" && $lt_i != ".") {
11091 if ($lt_i == "..") {
11092 lt_count++;
11093 } else {
11094 if (lt_count == 0) {
11095 lt_foo="/" $lt_i lt_foo;
11096 } else {
11097 lt_count--;
11102 if (lt_foo != "") { lt_freq[lt_foo]++; }
11103 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11105 # AWK program above erroneously prepends '/' to C:/dos/paths
11106 # for these hosts.
11107 case $host_os in
11108 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11109 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11110 esac
11111 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11112 else
11113 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11115 library_names_spec=
11116 libname_spec='lib$name'
11117 soname_spec=
11118 shrext_cmds=".so"
11119 postinstall_cmds=
11120 postuninstall_cmds=
11121 finish_cmds=
11122 finish_eval=
11123 shlibpath_var=
11124 shlibpath_overrides_runpath=unknown
11125 version_type=none
11126 dynamic_linker="$host_os ld.so"
11127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11128 need_lib_prefix=unknown
11129 hardcode_into_libs=no
11131 # when you set need_version to no, make sure it does not cause -set_version
11132 # flags to be left without arguments
11133 need_version=unknown
11135 case $host_os in
11136 aix3*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11139 shlibpath_var=LIBPATH
11141 # AIX 3 has no versioning support, so we append a major version to the name.
11142 soname_spec='${libname}${release}${shared_ext}$major'
11145 aix[4-9]*)
11146 version_type=linux
11147 need_lib_prefix=no
11148 need_version=no
11149 hardcode_into_libs=yes
11150 if test "$host_cpu" = ia64; then
11151 # AIX 5 supports IA64
11152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 else
11155 # With GCC up to 2.95.x, collect2 would create an import file
11156 # for dependence libraries. The import file would start with
11157 # the line `#! .'. This would cause the generated library to
11158 # depend on `.', always an invalid library. This was fixed in
11159 # development snapshots of GCC prior to 3.0.
11160 case $host_os in
11161 aix4 | aix4.[01] | aix4.[01].*)
11162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11163 echo ' yes '
11164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11166 else
11167 can_build_shared=no
11170 esac
11171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11172 # soname into executable. Probably we can add versioning support to
11173 # collect2, so additional links can be useful in future.
11174 if test "$aix_use_runtimelinking" = yes; then
11175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11176 # instead of lib<name>.a to let people know that these are not
11177 # typical AIX shared libraries.
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 else
11180 # We preserve .a as extension for shared libraries through AIX4.2
11181 # and later when we are not doing run time linking.
11182 library_names_spec='${libname}${release}.a $libname.a'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11185 shlibpath_var=LIBPATH
11189 amigaos*)
11190 case $host_cpu in
11191 powerpc)
11192 # Since July 2007 AmigaOS4 officially supports .so libraries.
11193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 m68k)
11197 library_names_spec='$libname.ixlibrary $libname.a'
11198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11199 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11201 esac
11204 beos*)
11205 library_names_spec='${libname}${shared_ext}'
11206 dynamic_linker="$host_os ld.so"
11207 shlibpath_var=LIBRARY_PATH
11210 bsdi[45]*)
11211 version_type=linux
11212 need_version=no
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11219 # the default ld.so.conf also contains /usr/contrib/lib and
11220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11221 # libtool to hard-code these into programs
11224 cygwin* | mingw* | pw32* | cegcc*)
11225 version_type=windows
11226 shrext_cmds=".dll"
11227 need_version=no
11228 need_lib_prefix=no
11230 case $GCC,$host_os in
11231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11232 library_names_spec='$libname.dll.a'
11233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11234 postinstall_cmds='base_file=`basename \${file}`~
11235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11236 dldir=$destdir/`dirname \$dlpath`~
11237 test -d \$dldir || mkdir -p \$dldir~
11238 $install_prog $dir/$dlname \$dldir/$dlname~
11239 chmod a+x \$dldir/$dlname~
11240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11244 dlpath=$dir/\$dldll~
11245 $RM \$dlpath'
11246 shlibpath_overrides_runpath=yes
11248 case $host_os in
11249 cygwin*)
11250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11253 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11255 mingw* | cegcc*)
11256 # MinGW DLLs use traditional 'lib' prefix
11257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11259 pw32*)
11260 # pw32 DLLs use 'pw' prefix rather than 'lib'
11261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11263 esac
11267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11269 esac
11270 dynamic_linker='Win32 ld.exe'
11271 # FIXME: first we should search . and the directory the executable is in
11272 shlibpath_var=PATH
11275 darwin* | rhapsody*)
11276 dynamic_linker="$host_os dyld"
11277 version_type=darwin
11278 need_lib_prefix=no
11279 need_version=no
11280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11281 soname_spec='${libname}${release}${major}$shared_ext'
11282 shlibpath_overrides_runpath=yes
11283 shlibpath_var=DYLD_LIBRARY_PATH
11284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11286 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11290 dgux*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11299 freebsd* | dragonfly*)
11300 # DragonFly does not have aout. When/if they implement a new
11301 # versioning mechanism, adjust this.
11302 if test -x /usr/bin/objformat; then
11303 objformat=`/usr/bin/objformat`
11304 else
11305 case $host_os in
11306 freebsd[23].*) objformat=aout ;;
11307 *) objformat=elf ;;
11308 esac
11310 version_type=freebsd-$objformat
11311 case $version_type in
11312 freebsd-elf*)
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 need_version=no
11315 need_lib_prefix=no
11317 freebsd-*)
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11319 need_version=yes
11321 esac
11322 shlibpath_var=LD_LIBRARY_PATH
11323 case $host_os in
11324 freebsd2.*)
11325 shlibpath_overrides_runpath=yes
11327 freebsd3.[01]* | freebsdelf3.[01]*)
11328 shlibpath_overrides_runpath=yes
11329 hardcode_into_libs=yes
11331 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11332 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11333 shlibpath_overrides_runpath=no
11334 hardcode_into_libs=yes
11336 *) # from 4.6 on, and DragonFly
11337 shlibpath_overrides_runpath=yes
11338 hardcode_into_libs=yes
11340 esac
11343 haiku*)
11344 version_type=linux
11345 need_lib_prefix=no
11346 need_version=no
11347 dynamic_linker="$host_os runtime_loader"
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 shlibpath_var=LIBRARY_PATH
11351 shlibpath_overrides_runpath=yes
11352 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11353 hardcode_into_libs=yes
11356 hpux9* | hpux10* | hpux11*)
11357 # Give a soname corresponding to the major version so that dld.sl refuses to
11358 # link against other versions.
11359 version_type=sunos
11360 need_lib_prefix=no
11361 need_version=no
11362 case $host_cpu in
11363 ia64*)
11364 shrext_cmds='.so'
11365 hardcode_into_libs=yes
11366 dynamic_linker="$host_os dld.so"
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 if test "X$HPUX_IA64_MODE" = X32; then
11372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11373 else
11374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378 hppa*64*)
11379 shrext_cmds='.sl'
11380 hardcode_into_libs=yes
11381 dynamic_linker="$host_os dld.sl"
11382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec='${libname}${release}${shared_ext}$major'
11386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11390 shrext_cmds='.sl'
11391 dynamic_linker="$host_os dld.sl"
11392 shlibpath_var=SHLIB_PATH
11393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 soname_spec='${libname}${release}${shared_ext}$major'
11397 esac
11398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11399 postinstall_cmds='chmod 555 $lib'
11400 # or fails outright, so override atomically:
11401 install_override_mode=555
11404 interix[3-9]*)
11405 version_type=linux
11406 need_lib_prefix=no
11407 need_version=no
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11416 irix5* | irix6* | nonstopux*)
11417 case $host_os in
11418 nonstopux*) version_type=nonstopux ;;
11420 if test "$lt_cv_prog_gnu_ld" = yes; then
11421 version_type=linux
11422 else
11423 version_type=irix
11424 fi ;;
11425 esac
11426 need_lib_prefix=no
11427 need_version=no
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11430 case $host_os in
11431 irix5* | nonstopux*)
11432 libsuff= shlibsuff=
11435 case $LD in # libtool.m4 will add one of these switches to LD
11436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11437 libsuff= shlibsuff= libmagic=32-bit;;
11438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11439 libsuff=32 shlibsuff=N32 libmagic=N32;;
11440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11441 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11442 *) libsuff= shlibsuff= libmagic=never-match;;
11443 esac
11445 esac
11446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11447 shlibpath_overrides_runpath=no
11448 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11449 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 hardcode_into_libs=yes
11453 # No shared lib support for Linux oldld, aout, or coff.
11454 linux*oldld* | linux*aout* | linux*coff*)
11455 dynamic_linker=no
11458 # This must be Linux ELF.
11460 # uclinux* changes (here and below) have been submitted to the libtool
11461 # project, but have not yet been accepted: they are GCC-local changes
11462 # for the time being. (See
11463 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11464 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11465 version_type=linux
11466 need_lib_prefix=no
11467 need_version=no
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=no
11474 # Some binutils ld are patched to set DT_RUNPATH
11475 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 lt_cv_shlibpath_overrides_runpath=no
11479 save_LDFLAGS=$LDFLAGS
11480 save_libdir=$libdir
11481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11483 if test x$gcc_no_link = xyes; then
11484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11490 main ()
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11499 lt_cv_shlibpath_overrides_runpath=yes
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LDFLAGS=$save_LDFLAGS
11505 libdir=$save_libdir
11509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11511 # This implies no fast_install, which is unacceptable.
11512 # Some rework will be needed to allow for fast_install
11513 # before this can be enabled.
11514 hardcode_into_libs=yes
11516 # Append ld.so.conf contents to the search path
11517 if test -f /etc/ld.so.conf; then
11518 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11522 # We used to test for /lib/ld.so.1 and disable shared libraries on
11523 # powerpc, because MkLinux only supported shared libraries with the
11524 # GNU dynamic linker. Since this was broken with cross compilers,
11525 # most powerpc-linux boxes support dynamic linking these days and
11526 # people can always --disable-shared, the test was removed, and we
11527 # assume the GNU/Linux dynamic linker is in use.
11528 dynamic_linker='GNU/Linux ld.so'
11531 netbsd*)
11532 version_type=sunos
11533 need_lib_prefix=no
11534 need_version=no
11535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11538 dynamic_linker='NetBSD (a.out) ld.so'
11539 else
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 dynamic_linker='NetBSD ld.elf_so'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 hardcode_into_libs=yes
11549 newsos6)
11550 version_type=linux
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11556 *nto* | *qnx*)
11557 version_type=qnx
11558 need_lib_prefix=no
11559 need_version=no
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec='${libname}${release}${shared_ext}$major'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=no
11564 hardcode_into_libs=yes
11565 dynamic_linker='ldqnx.so'
11568 openbsd*)
11569 version_type=sunos
11570 sys_lib_dlsearch_path_spec="/usr/lib"
11571 need_lib_prefix=no
11572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11573 case $host_os in
11574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11575 *) need_version=no ;;
11576 esac
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11581 case $host_os in
11582 openbsd2.[89] | openbsd2.[89].*)
11583 shlibpath_overrides_runpath=no
11586 shlibpath_overrides_runpath=yes
11588 esac
11589 else
11590 shlibpath_overrides_runpath=yes
11594 os2*)
11595 libname_spec='$name'
11596 shrext_cmds=".dll"
11597 need_lib_prefix=no
11598 library_names_spec='$libname${shared_ext} $libname.a'
11599 dynamic_linker='OS/2 ld.exe'
11600 shlibpath_var=LIBPATH
11603 osf3* | osf4* | osf5*)
11604 version_type=osf
11605 need_lib_prefix=no
11606 need_version=no
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11614 rdos*)
11615 dynamic_linker=no
11618 solaris*)
11619 version_type=linux
11620 need_lib_prefix=no
11621 need_version=no
11622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 shlibpath_var=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath=yes
11626 hardcode_into_libs=yes
11627 # ldd complains unless libraries are executable
11628 postinstall_cmds='chmod +x $lib'
11631 sunos4*)
11632 version_type=sunos
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11635 shlibpath_var=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath=yes
11637 if test "$with_gnu_ld" = yes; then
11638 need_lib_prefix=no
11640 need_version=yes
11643 sysv4 | sysv4.3*)
11644 version_type=linux
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_vendor in
11649 sni)
11650 shlibpath_overrides_runpath=no
11651 need_lib_prefix=no
11652 runpath_var=LD_RUN_PATH
11654 siemens)
11655 need_lib_prefix=no
11657 motorola)
11658 need_lib_prefix=no
11659 need_version=no
11660 shlibpath_overrides_runpath=no
11661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11663 esac
11666 sysv4*MP*)
11667 if test -d /usr/nec ;then
11668 version_type=linux
11669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11670 soname_spec='$libname${shared_ext}.$major'
11671 shlibpath_var=LD_LIBRARY_PATH
11675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11676 version_type=freebsd-elf
11677 need_lib_prefix=no
11678 need_version=no
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 shlibpath_var=LD_LIBRARY_PATH
11682 shlibpath_overrides_runpath=yes
11683 hardcode_into_libs=yes
11684 if test "$with_gnu_ld" = yes; then
11685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11686 else
11687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11688 case $host_os in
11689 sco3.2v5*)
11690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11692 esac
11694 sys_lib_dlsearch_path_spec='/usr/lib'
11697 tpf*)
11698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11699 version_type=linux
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 shlibpath_var=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath=no
11705 hardcode_into_libs=yes
11708 uts4*)
11709 version_type=linux
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 soname_spec='${libname}${release}${shared_ext}$major'
11712 shlibpath_var=LD_LIBRARY_PATH
11715 # Shared libraries for VwWorks, >= 7 only at this stage
11716 # and (fpic) still incompatible with "large" code models
11717 # in a few configurations. Only for RTP mode in any case,
11718 # and upon explicit request at configure time.
11719 vxworks7*)
11720 dynamic_linker=no
11721 case ${with_multisubdir}-${enable_shared} in
11722 *large*)
11724 *mrtp*-yes)
11725 version_type=linux
11726 need_lib_prefix=no
11727 need_version=no
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker="$host_os module_loader"
11732 esac
11735 dynamic_linker=no
11737 esac
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11739 $as_echo "$dynamic_linker" >&6; }
11740 test "$dynamic_linker" = no && can_build_shared=no
11742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11743 if test "$GCC" = yes; then
11744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11846 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11847 hardcode_action=
11848 if test -n "$hardcode_libdir_flag_spec" ||
11849 test -n "$runpath_var" ||
11850 test "X$hardcode_automatic" = "Xyes" ; then
11852 # We can hardcode non-existent directories.
11853 if test "$hardcode_direct" != no &&
11854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11855 # have to relink, otherwise we might link with an installed library
11856 # when we should be linking with a yet-to-be-installed one
11857 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11858 test "$hardcode_minus_L" != no; then
11859 # Linking always hardcodes the temporary library directory.
11860 hardcode_action=relink
11861 else
11862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11863 hardcode_action=immediate
11865 else
11866 # We cannot hardcode anything, or else we can only hardcode existing
11867 # directories.
11868 hardcode_action=unsupported
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11871 $as_echo "$hardcode_action" >&6; }
11873 if test "$hardcode_action" = relink ||
11874 test "$inherit_rpath" = yes; then
11875 # Fast installation is not supported
11876 enable_fast_install=no
11877 elif test "$shlibpath_overrides_runpath" = yes ||
11878 test "$enable_shared" = no; then
11879 # Fast installation is not necessary
11880 enable_fast_install=needless
11888 if test "x$enable_dlopen" != xyes; then
11889 enable_dlopen=unknown
11890 enable_dlopen_self=unknown
11891 enable_dlopen_self_static=unknown
11892 else
11893 lt_cv_dlopen=no
11894 lt_cv_dlopen_libs=
11896 case $host_os in
11897 beos*)
11898 lt_cv_dlopen="load_add_on"
11899 lt_cv_dlopen_libs=
11900 lt_cv_dlopen_self=yes
11903 mingw* | pw32* | cegcc*)
11904 lt_cv_dlopen="LoadLibrary"
11905 lt_cv_dlopen_libs=
11908 cygwin*)
11909 lt_cv_dlopen="dlopen"
11910 lt_cv_dlopen_libs=
11913 darwin*)
11914 # if libdl is installed we need to link against it
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11917 if ${ac_cv_lib_dl_dlopen+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-ldl $LIBS"
11922 if test x$gcc_no_link = xyes; then
11923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char dlopen ();
11936 main ()
11938 return dlopen ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 ac_cv_lib_dl_dlopen=yes
11945 else
11946 ac_cv_lib_dl_dlopen=no
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11954 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11956 else
11958 lt_cv_dlopen="dyld"
11959 lt_cv_dlopen_libs=
11960 lt_cv_dlopen_self=yes
11967 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11968 if test "x$ac_cv_func_shl_load" = xyes; then :
11969 lt_cv_dlopen="shl_load"
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11972 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11973 if ${ac_cv_lib_dld_shl_load+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_lib_save_LIBS=$LIBS
11977 LIBS="-ldld $LIBS"
11978 if test x$gcc_no_link = xyes; then
11979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char shl_load ();
11992 main ()
11994 return shl_load ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_dld_shl_load=yes
12001 else
12002 ac_cv_lib_dld_shl_load=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12009 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12010 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12011 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12012 else
12013 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12014 if test "x$ac_cv_func_dlopen" = xyes; then :
12015 lt_cv_dlopen="dlopen"
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12019 if ${ac_cv_lib_dl_dlopen+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-ldl $LIBS"
12024 if test x$gcc_no_link = xyes; then
12025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char dlopen ();
12038 main ()
12040 return dlopen ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_dl_dlopen=yes
12047 else
12048 ac_cv_lib_dl_dlopen=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12060 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12061 if ${ac_cv_lib_svld_dlopen+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_check_lib_save_LIBS=$LIBS
12065 LIBS="-lsvld $LIBS"
12066 if test x$gcc_no_link = xyes; then
12067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char dlopen ();
12080 main ()
12082 return dlopen ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_svld_dlopen=yes
12089 else
12090 ac_cv_lib_svld_dlopen=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12097 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12098 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12100 else
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12102 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12103 if ${ac_cv_lib_dld_dld_link+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-ldld $LIBS"
12108 if test x$gcc_no_link = xyes; then
12109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char dld_link ();
12122 main ()
12124 return dld_link ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dld_dld_link=yes
12131 else
12132 ac_cv_lib_dld_dld_link=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12140 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12141 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12160 esac
12162 if test "x$lt_cv_dlopen" != xno; then
12163 enable_dlopen=yes
12164 else
12165 enable_dlopen=no
12168 case $lt_cv_dlopen in
12169 dlopen)
12170 save_CPPFLAGS="$CPPFLAGS"
12171 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12173 save_LDFLAGS="$LDFLAGS"
12174 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12176 save_LIBS="$LIBS"
12177 LIBS="$lt_cv_dlopen_libs $LIBS"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12181 if ${lt_cv_dlopen_self+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 if test "$cross_compiling" = yes; then :
12185 lt_cv_dlopen_self=cross
12186 else
12187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188 lt_status=$lt_dlunknown
12189 cat > conftest.$ac_ext <<_LT_EOF
12190 #line 12190 "configure"
12191 #include "confdefs.h"
12193 #if HAVE_DLFCN_H
12194 #include <dlfcn.h>
12195 #endif
12197 #include <stdio.h>
12199 #ifdef RTLD_GLOBAL
12200 # define LT_DLGLOBAL RTLD_GLOBAL
12201 #else
12202 # ifdef DL_GLOBAL
12203 # define LT_DLGLOBAL DL_GLOBAL
12204 # else
12205 # define LT_DLGLOBAL 0
12206 # endif
12207 #endif
12209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12210 find out it does not work in some platform. */
12211 #ifndef LT_DLLAZY_OR_NOW
12212 # ifdef RTLD_LAZY
12213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12214 # else
12215 # ifdef DL_LAZY
12216 # define LT_DLLAZY_OR_NOW DL_LAZY
12217 # else
12218 # ifdef RTLD_NOW
12219 # define LT_DLLAZY_OR_NOW RTLD_NOW
12220 # else
12221 # ifdef DL_NOW
12222 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # else
12224 # define LT_DLLAZY_OR_NOW 0
12225 # endif
12226 # endif
12227 # endif
12228 # endif
12229 #endif
12231 /* When -fvisbility=hidden is used, assume the code has been annotated
12232 correspondingly for the symbols needed. */
12233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12234 void fnord () __attribute__((visibility("default")));
12235 #endif
12237 void fnord () { int i=42; }
12238 int main ()
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12243 if (self)
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12246 else
12248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12249 else puts (dlerror ());
12251 /* dlclose (self); */
12253 else
12254 puts (dlerror ());
12256 return status;
12258 _LT_EOF
12259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12260 (eval $ac_link) 2>&5
12261 ac_status=$?
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12264 (./conftest; exit; ) >&5 2>/dev/null
12265 lt_status=$?
12266 case x$lt_status in
12267 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12268 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12269 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12270 esac
12271 else :
12272 # compilation failed
12273 lt_cv_dlopen_self=no
12276 rm -fr conftest*
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12281 $as_echo "$lt_cv_dlopen_self" >&6; }
12283 if test "x$lt_cv_dlopen_self" = xyes; then
12284 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12287 if ${lt_cv_dlopen_self_static+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 if test "$cross_compiling" = yes; then :
12291 lt_cv_dlopen_self_static=cross
12292 else
12293 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12294 lt_status=$lt_dlunknown
12295 cat > conftest.$ac_ext <<_LT_EOF
12296 #line 12296 "configure"
12297 #include "confdefs.h"
12299 #if HAVE_DLFCN_H
12300 #include <dlfcn.h>
12301 #endif
12303 #include <stdio.h>
12305 #ifdef RTLD_GLOBAL
12306 # define LT_DLGLOBAL RTLD_GLOBAL
12307 #else
12308 # ifdef DL_GLOBAL
12309 # define LT_DLGLOBAL DL_GLOBAL
12310 # else
12311 # define LT_DLGLOBAL 0
12312 # endif
12313 #endif
12315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12316 find out it does not work in some platform. */
12317 #ifndef LT_DLLAZY_OR_NOW
12318 # ifdef RTLD_LAZY
12319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12320 # else
12321 # ifdef DL_LAZY
12322 # define LT_DLLAZY_OR_NOW DL_LAZY
12323 # else
12324 # ifdef RTLD_NOW
12325 # define LT_DLLAZY_OR_NOW RTLD_NOW
12326 # else
12327 # ifdef DL_NOW
12328 # define LT_DLLAZY_OR_NOW DL_NOW
12329 # else
12330 # define LT_DLLAZY_OR_NOW 0
12331 # endif
12332 # endif
12333 # endif
12334 # endif
12335 #endif
12337 /* When -fvisbility=hidden is used, assume the code has been annotated
12338 correspondingly for the symbols needed. */
12339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12340 void fnord () __attribute__((visibility("default")));
12341 #endif
12343 void fnord () { int i=42; }
12344 int main ()
12346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12347 int status = $lt_dlunknown;
12349 if (self)
12351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12352 else
12354 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12355 else puts (dlerror ());
12357 /* dlclose (self); */
12359 else
12360 puts (dlerror ());
12362 return status;
12364 _LT_EOF
12365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12366 (eval $ac_link) 2>&5
12367 ac_status=$?
12368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12369 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12370 (./conftest; exit; ) >&5 2>/dev/null
12371 lt_status=$?
12372 case x$lt_status in
12373 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12374 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12375 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12376 esac
12377 else :
12378 # compilation failed
12379 lt_cv_dlopen_self_static=no
12382 rm -fr conftest*
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12390 CPPFLAGS="$save_CPPFLAGS"
12391 LDFLAGS="$save_LDFLAGS"
12392 LIBS="$save_LIBS"
12394 esac
12396 case $lt_cv_dlopen_self in
12397 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12398 *) enable_dlopen_self=unknown ;;
12399 esac
12401 case $lt_cv_dlopen_self_static in
12402 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12403 *) enable_dlopen_self_static=unknown ;;
12404 esac
12423 striplib=
12424 old_striplib=
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12427 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12428 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12429 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12431 $as_echo "yes" >&6; }
12432 else
12433 # FIXME - insert some real tests, host_os isn't really good enough
12434 case $host_os in
12435 darwin*)
12436 if test -n "$STRIP" ; then
12437 striplib="$STRIP -x"
12438 old_striplib="$STRIP -S"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12440 $as_echo "yes" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12450 esac
12464 # Report which library types will actually be built
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12468 $as_echo "$can_build_shared" >&6; }
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12471 $as_echo_n "checking whether to build shared libraries... " >&6; }
12472 test "$can_build_shared" = "no" && enable_shared=no
12474 # On AIX, shared libraries and static libraries use the same namespace, and
12475 # are all built from PIC.
12476 case $host_os in
12477 aix3*)
12478 test "$enable_shared" = yes && enable_static=no
12479 if test -n "$RANLIB"; then
12480 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12481 postinstall_cmds='$RANLIB $lib'
12485 aix[4-9]*)
12486 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12487 test "$enable_shared" = yes && enable_static=no
12490 esac
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12492 $as_echo "$enable_shared" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12495 $as_echo_n "checking whether to build static libraries... " >&6; }
12496 # Make sure either enable_shared or enable_static is yes.
12497 test "$enable_shared" = yes || enable_static=yes
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12499 $as_echo "$enable_static" >&6; }
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12511 CC="$lt_save_CC"
12513 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12514 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12515 (test "X$CXX" != "Xg++"))) ; then
12516 ac_ext=cpp
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12523 if test -z "$CXXCPP"; then
12524 if ${ac_cv_prog_CXXCPP+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 # Double quotes because CXXCPP needs to be expanded
12528 for CXXCPP in "$CXX -E" "/lib/cpp"
12530 ac_preproc_ok=false
12531 for ac_cxx_preproc_warn_flag in '' yes
12533 # Use a header file that comes with gcc, so configuring glibc
12534 # with a fresh cross-compiler works.
12535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12536 # <limits.h> exists even on freestanding compilers.
12537 # On the NeXT, cc -E runs the code through the compiler's parser,
12538 # not just through cpp. "Syntax error" is here to catch this case.
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #ifdef __STDC__
12542 # include <limits.h>
12543 #else
12544 # include <assert.h>
12545 #endif
12546 Syntax error
12547 _ACEOF
12548 if ac_fn_cxx_try_cpp "$LINENO"; then :
12550 else
12551 # Broken: fails on valid input.
12552 continue
12554 rm -f conftest.err conftest.i conftest.$ac_ext
12556 # OK, works on sane cases. Now check whether nonexistent headers
12557 # can be detected and how.
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560 #include <ac_nonexistent.h>
12561 _ACEOF
12562 if ac_fn_cxx_try_cpp "$LINENO"; then :
12563 # Broken: success on invalid input.
12564 continue
12565 else
12566 # Passes both tests.
12567 ac_preproc_ok=:
12568 break
12570 rm -f conftest.err conftest.i conftest.$ac_ext
12572 done
12573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12574 rm -f conftest.i conftest.err conftest.$ac_ext
12575 if $ac_preproc_ok; then :
12576 break
12579 done
12580 ac_cv_prog_CXXCPP=$CXXCPP
12583 CXXCPP=$ac_cv_prog_CXXCPP
12584 else
12585 ac_cv_prog_CXXCPP=$CXXCPP
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12588 $as_echo "$CXXCPP" >&6; }
12589 ac_preproc_ok=false
12590 for ac_cxx_preproc_warn_flag in '' yes
12592 # Use a header file that comes with gcc, so configuring glibc
12593 # with a fresh cross-compiler works.
12594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 # <limits.h> exists even on freestanding compilers.
12596 # On the NeXT, cc -E runs the code through the compiler's parser,
12597 # not just through cpp. "Syntax error" is here to catch this case.
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12600 #ifdef __STDC__
12601 # include <limits.h>
12602 #else
12603 # include <assert.h>
12604 #endif
12605 Syntax error
12606 _ACEOF
12607 if ac_fn_cxx_try_cpp "$LINENO"; then :
12609 else
12610 # Broken: fails on valid input.
12611 continue
12613 rm -f conftest.err conftest.i conftest.$ac_ext
12615 # OK, works on sane cases. Now check whether nonexistent headers
12616 # can be detected and how.
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12619 #include <ac_nonexistent.h>
12620 _ACEOF
12621 if ac_fn_cxx_try_cpp "$LINENO"; then :
12622 # Broken: success on invalid input.
12623 continue
12624 else
12625 # Passes both tests.
12626 ac_preproc_ok=:
12627 break
12629 rm -f conftest.err conftest.i conftest.$ac_ext
12631 done
12632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12633 rm -f conftest.i conftest.err conftest.$ac_ext
12634 if $ac_preproc_ok; then :
12636 else
12637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12640 See \`config.log' for more details" "$LINENO" 5; }
12643 ac_ext=c
12644 ac_cpp='$CPP $CPPFLAGS'
12645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12649 else
12650 _lt_caught_CXX_error=yes
12653 ac_ext=cpp
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12659 archive_cmds_need_lc_CXX=no
12660 allow_undefined_flag_CXX=
12661 always_export_symbols_CXX=no
12662 archive_expsym_cmds_CXX=
12663 compiler_needs_object_CXX=no
12664 export_dynamic_flag_spec_CXX=
12665 hardcode_direct_CXX=no
12666 hardcode_direct_absolute_CXX=no
12667 hardcode_libdir_flag_spec_CXX=
12668 hardcode_libdir_flag_spec_ld_CXX=
12669 hardcode_libdir_separator_CXX=
12670 hardcode_minus_L_CXX=no
12671 hardcode_shlibpath_var_CXX=unsupported
12672 hardcode_automatic_CXX=no
12673 inherit_rpath_CXX=no
12674 module_cmds_CXX=
12675 module_expsym_cmds_CXX=
12676 link_all_deplibs_CXX=unknown
12677 old_archive_cmds_CXX=$old_archive_cmds
12678 reload_flag_CXX=$reload_flag
12679 reload_cmds_CXX=$reload_cmds
12680 no_undefined_flag_CXX=
12681 whole_archive_flag_spec_CXX=
12682 enable_shared_with_static_runtimes_CXX=no
12684 # Source file extension for C++ test sources.
12685 ac_ext=cpp
12687 # Object file extension for compiled C++ test sources.
12688 objext=o
12689 objext_CXX=$objext
12691 # No sense in running all these tests if we already determined that
12692 # the CXX compiler isn't working. Some variables (like enable_shared)
12693 # are currently assumed to apply to all compilers on this platform,
12694 # and will be corrupted by setting them based on a non-working compiler.
12695 if test "$_lt_caught_CXX_error" != yes; then
12696 # Code to be used in simple compile tests
12697 lt_simple_compile_test_code="int some_variable = 0;"
12699 # Code to be used in simple link tests
12700 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12709 # If no C compiler was specified, use CC.
12710 LTCC=${LTCC-"$CC"}
12712 # If no C compiler flags were specified, use CFLAGS.
12713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12715 # Allow CC to be a program name with arguments.
12716 compiler=$CC
12719 # save warnings/boilerplate of simple test code
12720 ac_outfile=conftest.$ac_objext
12721 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12722 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12723 _lt_compiler_boilerplate=`cat conftest.err`
12724 $RM conftest*
12726 ac_outfile=conftest.$ac_objext
12727 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12728 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12729 _lt_linker_boilerplate=`cat conftest.err`
12730 $RM -r conftest*
12733 # Allow CC to be a program name with arguments.
12734 lt_save_CC=$CC
12735 lt_save_LD=$LD
12736 lt_save_GCC=$GCC
12737 GCC=$GXX
12738 lt_save_with_gnu_ld=$with_gnu_ld
12739 lt_save_path_LD=$lt_cv_path_LD
12740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12741 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12742 else
12743 $as_unset lt_cv_prog_gnu_ld
12745 if test -n "${lt_cv_path_LDCXX+set}"; then
12746 lt_cv_path_LD=$lt_cv_path_LDCXX
12747 else
12748 $as_unset lt_cv_path_LD
12750 test -z "${LDCXX+set}" || LD=$LDCXX
12751 CC=${CXX-"c++"}
12752 compiler=$CC
12753 compiler_CXX=$CC
12754 for cc_temp in $compiler""; do
12755 case $cc_temp in
12756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12758 \-*) ;;
12759 *) break;;
12760 esac
12761 done
12762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12765 if test -n "$compiler"; then
12766 # We don't want -fno-exception when compiling C++ code, so set the
12767 # no_builtin_flag separately
12768 if test "$GXX" = yes; then
12769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12770 else
12771 lt_prog_compiler_no_builtin_flag_CXX=
12774 if test "$GXX" = yes; then
12775 # Set up default GNU C++ configuration
12779 # Check whether --with-gnu-ld was given.
12780 if test "${with_gnu_ld+set}" = set; then :
12781 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12782 else
12783 with_gnu_ld=no
12786 ac_prog=ld
12787 if test "$GCC" = yes; then
12788 # Check if gcc -print-prog-name=ld gives a path.
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12790 $as_echo_n "checking for ld used by $CC... " >&6; }
12791 case $host in
12792 *-*-mingw*)
12793 # gcc leaves a trailing carriage return which upsets mingw
12794 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12796 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12797 esac
12798 case $ac_prog in
12799 # Accept absolute paths.
12800 [\\/]* | ?:[\\/]*)
12801 re_direlt='/[^/][^/]*/\.\./'
12802 # Canonicalize the pathname of ld
12803 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12804 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12805 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12806 done
12807 test -z "$LD" && LD="$ac_prog"
12810 # If it fails, then pretend we aren't using GCC.
12811 ac_prog=ld
12814 # If it is relative, then search for the first ld in PATH.
12815 with_gnu_ld=unknown
12817 esac
12818 elif test "$with_gnu_ld" = yes; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12820 $as_echo_n "checking for GNU ld... " >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12823 $as_echo_n "checking for non-GNU ld... " >&6; }
12825 if ${lt_cv_path_LD+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 if test -z "$LD"; then
12829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12830 for ac_dir in $PATH; do
12831 IFS="$lt_save_ifs"
12832 test -z "$ac_dir" && ac_dir=.
12833 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12834 lt_cv_path_LD="$ac_dir/$ac_prog"
12835 # Check to see if the program is GNU ld. I'd rather use --version,
12836 # but apparently some variants of GNU ld only accept -v.
12837 # Break only if it was the GNU/non-GNU ld that we prefer.
12838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12839 *GNU* | *'with BFD'*)
12840 test "$with_gnu_ld" != no && break
12843 test "$with_gnu_ld" != yes && break
12845 esac
12847 done
12848 IFS="$lt_save_ifs"
12849 else
12850 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12854 LD="$lt_cv_path_LD"
12855 if test -n "$LD"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12857 $as_echo "$LD" >&6; }
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12862 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12865 if ${lt_cv_prog_gnu_ld+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12869 case `$LD -v 2>&1 </dev/null` in
12870 *GNU* | *'with BFD'*)
12871 lt_cv_prog_gnu_ld=yes
12874 lt_cv_prog_gnu_ld=no
12876 esac
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12880 with_gnu_ld=$lt_cv_prog_gnu_ld
12888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12889 # archiving commands below assume that GNU ld is being used.
12890 if test "$with_gnu_ld" = yes; then
12891 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12892 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12894 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12895 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 # If archive_cmds runs LD, not CC, wlarc should be empty
12898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12899 # investigate it a little bit more. (MM)
12900 wlarc='${wl}'
12902 # ancient GNU ld didn't support --whole-archive et. al.
12903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12904 $GREP 'no-whole-archive' > /dev/null; then
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 else
12907 whole_archive_flag_spec_CXX=
12909 else
12910 with_gnu_ld=no
12911 wlarc=
12913 # A generic and very simple default shared library creation
12914 # command for GNU C++ for the case where it uses the native
12915 # linker, instead of GNU ld. If possible, this setting should
12916 # overridden to take advantage of the native linker features on
12917 # the platform it is being used on.
12918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12926 else
12927 GXX=no
12928 with_gnu_ld=no
12929 wlarc=
12932 # PORTME: fill in a description of your system's C++ link characteristics
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12935 ld_shlibs_CXX=yes
12936 case $host_os in
12937 aix3*)
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12941 aix[4-9]*)
12942 if test "$host_cpu" = ia64; then
12943 # On IA64, the linker does run time linking by default, so we don't
12944 # have to do anything special.
12945 aix_use_runtimelinking=no
12946 exp_sym_flag='-Bexport'
12947 no_entry_flag=""
12948 else
12949 aix_use_runtimelinking=no
12951 # Test if we are trying to use run time linking or normal
12952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12953 # need to do runtime linking.
12954 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12955 for ld_flag in $LDFLAGS; do
12956 case $ld_flag in
12957 *-brtl*)
12958 aix_use_runtimelinking=yes
12959 break
12961 esac
12962 done
12964 esac
12966 exp_sym_flag='-bexport'
12967 no_entry_flag='-bnoentry'
12970 # When large executables or shared objects are built, AIX ld can
12971 # have problems creating the table of contents. If linking a library
12972 # or program results in "error TOC overflow" add -mminimal-toc to
12973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12976 archive_cmds_CXX=''
12977 hardcode_direct_CXX=yes
12978 hardcode_direct_absolute_CXX=yes
12979 hardcode_libdir_separator_CXX=':'
12980 link_all_deplibs_CXX=yes
12981 file_list_spec_CXX='${wl}-f,'
12983 if test "$GXX" = yes; then
12984 case $host_os in aix4.[012]|aix4.[012].*)
12985 # We only want to do this on AIX 4.2 and lower, the check
12986 # below for broken collect2 doesn't work under 4.3+
12987 collect2name=`${CC} -print-prog-name=collect2`
12988 if test -f "$collect2name" &&
12989 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12990 then
12991 # We have reworked collect2
12993 else
12994 # We have old collect2
12995 hardcode_direct_CXX=unsupported
12996 # It fails to find uninstalled libraries when the uninstalled
12997 # path is not listed in the libpath. Setting hardcode_minus_L
12998 # to unsupported forces relinking
12999 hardcode_minus_L_CXX=yes
13000 hardcode_libdir_flag_spec_CXX='-L$libdir'
13001 hardcode_libdir_separator_CXX=
13003 esac
13004 shared_flag='-shared'
13005 if test "$aix_use_runtimelinking" = yes; then
13006 shared_flag="$shared_flag "'${wl}-G'
13008 else
13009 # not using gcc
13010 if test "$host_cpu" = ia64; then
13011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13012 # chokes on -Wl,-G. The following line is correct:
13013 shared_flag='-G'
13014 else
13015 if test "$aix_use_runtimelinking" = yes; then
13016 shared_flag='${wl}-G'
13017 else
13018 shared_flag='${wl}-bM:SRE'
13023 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13024 # It seems that -bexpall does not export symbols beginning with
13025 # underscore (_), so it is better to generate a list of symbols to
13026 # export.
13027 always_export_symbols_CXX=yes
13028 if test "$aix_use_runtimelinking" = yes; then
13029 # Warning - without using the other runtime loading flags (-brtl),
13030 # -berok will link without error, but may produce a broken library.
13031 allow_undefined_flag_CXX='-berok'
13032 # Determine the default libpath from the value encoded in an empty
13033 # executable.
13034 if test x$gcc_no_link = xyes; then
13035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13041 main ()
13045 return 0;
13047 _ACEOF
13048 if ac_fn_cxx_try_link "$LINENO"; then :
13050 lt_aix_libpath_sed='
13051 /Import File Strings/,/^$/ {
13052 /^0/ {
13053 s/^0 *\(.*\)$/\1/
13057 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13058 # Check for a 64-bit object if we didn't find anything.
13059 if test -z "$aix_libpath"; then
13060 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13067 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13069 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13070 else
13071 if test "$host_cpu" = ia64; then
13072 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13073 allow_undefined_flag_CXX="-z nodefs"
13074 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13075 else
13076 # Determine the default libpath from the value encoded in an
13077 # empty executable.
13078 if test x$gcc_no_link = xyes; then
13079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13085 main ()
13089 return 0;
13091 _ACEOF
13092 if ac_fn_cxx_try_link "$LINENO"; then :
13094 lt_aix_libpath_sed='
13095 /Import File Strings/,/^$/ {
13096 /^0/ {
13097 s/^0 *\(.*\)$/\1/
13101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13102 # Check for a 64-bit object if we didn't find anything.
13103 if test -z "$aix_libpath"; then
13104 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13111 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13112 # Warning - without using the other run time loading flags,
13113 # -berok will link without error, but may produce a broken library.
13114 no_undefined_flag_CXX=' ${wl}-bernotok'
13115 allow_undefined_flag_CXX=' ${wl}-berok'
13116 if test "$with_gnu_ld" = yes; then
13117 # We only use this code for GNU lds that support --whole-archive.
13118 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13119 else
13120 # Exported symbols can be pulled into shared objects from archives
13121 whole_archive_flag_spec_CXX='$convenience'
13123 archive_cmds_need_lc_CXX=yes
13124 # This is similar to how AIX traditionally builds its shared
13125 # libraries.
13126 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13131 beos*)
13132 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13133 allow_undefined_flag_CXX=unsupported
13134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13135 # support --undefined. This deserves some investigation. FIXME
13136 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13137 else
13138 ld_shlibs_CXX=no
13142 chorus*)
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13146 ld_shlibs_CXX=no
13148 esac
13151 cygwin* | mingw* | pw32* | cegcc*)
13152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13153 # as there is no search path for DLLs.
13154 hardcode_libdir_flag_spec_CXX='-L$libdir'
13155 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13156 allow_undefined_flag_CXX=unsupported
13157 always_export_symbols_CXX=no
13158 enable_shared_with_static_runtimes_CXX=yes
13160 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13161 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13162 # If the export-symbols file already is a .def file (1st line
13163 # is EXPORTS), use it as is; otherwise, prepend...
13164 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13165 cp $export_symbols $output_objdir/$soname.def;
13166 else
13167 echo EXPORTS > $output_objdir/$soname.def;
13168 cat $export_symbols >> $output_objdir/$soname.def;
13170 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13171 else
13172 ld_shlibs_CXX=no
13175 darwin* | rhapsody*)
13178 archive_cmds_need_lc_CXX=no
13179 hardcode_direct_CXX=no
13180 hardcode_automatic_CXX=yes
13181 hardcode_shlibpath_var_CXX=unsupported
13182 if test "$lt_cv_ld_force_load" = "yes"; then
13183 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13184 else
13185 whole_archive_flag_spec_CXX=''
13187 link_all_deplibs_CXX=yes
13188 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13189 case $cc_basename in
13190 ifort*) _lt_dar_can_shared=yes ;;
13191 *) _lt_dar_can_shared=$GCC ;;
13192 esac
13193 if test "$_lt_dar_can_shared" = "yes"; then
13194 output_verbose_link_cmd=func_echo_all
13195 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13196 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13197 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13198 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13199 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13200 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13201 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13204 else
13205 ld_shlibs_CXX=no
13210 dgux*)
13211 case $cc_basename in
13212 ec++*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13216 ghcx*)
13217 # Green Hills C++ Compiler
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13225 esac
13228 freebsd2.*)
13229 # C++ shared libraries reported to be fairly broken before
13230 # switch to ELF
13231 ld_shlibs_CXX=no
13234 freebsd-elf*)
13235 archive_cmds_need_lc_CXX=no
13238 freebsd* | dragonfly*)
13239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13240 # conventions
13241 ld_shlibs_CXX=yes
13244 gnu*)
13247 haiku*)
13248 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 link_all_deplibs_CXX=yes
13252 hpux9*)
13253 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13254 hardcode_libdir_separator_CXX=:
13255 export_dynamic_flag_spec_CXX='${wl}-E'
13256 hardcode_direct_CXX=yes
13257 hardcode_minus_L_CXX=yes # Not in the search PATH,
13258 # but as the default
13259 # location of the library.
13261 case $cc_basename in
13262 CC*)
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 aCC*)
13267 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13268 # Commands to make compiler produce verbose output that lists
13269 # what "hidden" libraries, object files and flags are used when
13270 # linking a shared library.
13272 # There doesn't appear to be a way to prevent this compiler from
13273 # explicitly linking system object files so we need to strip them
13274 # from the output so that they don't get included in the library
13275 # dependencies.
13276 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13279 if test "$GXX" = yes; then
13280 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13281 else
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13286 esac
13289 hpux10*|hpux11*)
13290 if test $with_gnu_ld = no; then
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13294 case $host_cpu in
13295 hppa*64*|ia64*)
13298 export_dynamic_flag_spec_CXX='${wl}-E'
13300 esac
13302 case $host_cpu in
13303 hppa*64*|ia64*)
13304 hardcode_direct_CXX=no
13305 hardcode_shlibpath_var_CXX=no
13308 hardcode_direct_CXX=yes
13309 hardcode_direct_absolute_CXX=yes
13310 hardcode_minus_L_CXX=yes # Not in the search PATH,
13311 # but as the default
13312 # location of the library.
13314 esac
13316 case $cc_basename in
13317 CC*)
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13321 aCC*)
13322 case $host_cpu in
13323 hppa*64*)
13324 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13326 ia64*)
13327 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13332 esac
13333 # Commands to make compiler produce verbose output that lists
13334 # what "hidden" libraries, object files and flags are used when
13335 # linking a shared library.
13337 # There doesn't appear to be a way to prevent this compiler from
13338 # explicitly linking system object files so we need to strip them
13339 # from the output so that they don't get included in the library
13340 # dependencies.
13341 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13344 if test "$GXX" = yes; then
13345 if test $with_gnu_ld = no; then
13346 case $host_cpu in
13347 hppa*64*)
13348 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13350 ia64*)
13351 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13356 esac
13358 else
13359 # FIXME: insert proper C++ library support
13360 ld_shlibs_CXX=no
13363 esac
13366 interix[3-9]*)
13367 hardcode_direct_CXX=no
13368 hardcode_shlibpath_var_CXX=no
13369 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13370 export_dynamic_flag_spec_CXX='${wl}-E'
13371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13372 # Instead, shared libraries are loaded at an image base (0x10000000 by
13373 # default) and relocated if they conflict, which is a slow very memory
13374 # consuming and fragmenting process. To avoid this, we pick a random,
13375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13377 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13378 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13380 irix5* | irix6*)
13381 case $cc_basename in
13382 CC*)
13383 # SGI C++
13384 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13386 # Archives containing C++ object files must be created using
13387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13388 # necessary to make sure instantiated templates are included
13389 # in the archive.
13390 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13393 if test "$GXX" = yes; then
13394 if test "$with_gnu_ld" = no; then
13395 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13396 else
13397 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13400 link_all_deplibs_CXX=yes
13402 esac
13403 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13404 hardcode_libdir_separator_CXX=:
13405 inherit_rpath_CXX=yes
13408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13409 case $cc_basename in
13410 KCC*)
13411 # Kuck and Associates, Inc. (KAI) C++ Compiler
13413 # KCC will only create a shared library if the output file
13414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13415 # to its proper name (with version) after linking.
13416 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13417 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13425 # dependencies.
13426 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13428 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13429 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13431 # Archives containing C++ object files must be created using
13432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13433 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13435 icpc* | ecpc* )
13436 # Intel C++
13437 with_gnu_ld=yes
13438 # version 8.0 and above of icpc choke on multiply defined symbols
13439 # if we add $predep_objects and $postdep_objects, however 7.1 and
13440 # earlier do not add the objects themselves.
13441 case `$CC -V 2>&1` in
13442 *"Version 7."*)
13443 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13446 *) # Version 8.0 or newer
13447 tmp_idyn=
13448 case $host_cpu in
13449 ia64*) tmp_idyn=' -i_dynamic';;
13450 esac
13451 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13454 esac
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13460 pgCC* | pgcpp*)
13461 # Portland Group C++ compiler
13462 case `$CC -V` in
13463 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13464 prelink_cmds_CXX='tpldir=Template.dir~
13465 rm -rf $tpldir~
13466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13467 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13468 old_archive_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13472 $RANLIB $oldlib'
13473 archive_cmds_CXX='tpldir=Template.dir~
13474 rm -rf $tpldir~
13475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13477 archive_expsym_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13482 *) # Version 6 and above use weak symbols
13483 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13484 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13486 esac
13488 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13489 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13490 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13492 cxx*)
13493 # Compaq C++
13494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13495 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13497 runpath_var=LD_RUN_PATH
13498 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13499 hardcode_libdir_separator_CXX=:
13501 # Commands to make compiler produce verbose output that lists
13502 # what "hidden" libraries, object files and flags are used when
13503 # linking a shared library.
13505 # There doesn't appear to be a way to prevent this compiler from
13506 # explicitly linking system object files so we need to strip them
13507 # from the output so that they don't get included in the library
13508 # dependencies.
13509 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13511 xl* | mpixl* | bgxl*)
13512 # IBM XL 8.0 on PPC, with GNU ld
13513 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13514 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13516 if test "x$supports_anon_versioning" = xyes; then
13517 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13519 echo "local: *; };" >> $output_objdir/$libname.ver~
13520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13524 case `$CC -V 2>&1 | sed 5q` in
13525 *Sun\ C*)
13526 # Sun C++ 5.9
13527 no_undefined_flag_CXX=' -zdefs'
13528 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13529 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13530 hardcode_libdir_flag_spec_CXX='-R$libdir'
13531 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13532 compiler_needs_object_CXX=yes
13534 # Not sure whether something based on
13535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13536 # would be better.
13537 output_verbose_link_cmd='func_echo_all'
13539 # Archives containing C++ object files must be created using
13540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13541 # necessary to make sure instantiated templates are included
13542 # in the archive.
13543 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13545 esac
13547 esac
13550 lynxos*)
13551 # FIXME: insert proper C++ library support
13552 ld_shlibs_CXX=no
13555 m88k*)
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13560 mvs*)
13561 case $cc_basename in
13562 cxx*)
13563 # FIXME: insert proper C++ library support
13564 ld_shlibs_CXX=no
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13570 esac
13573 netbsd*)
13574 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13575 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13576 wlarc=
13577 hardcode_libdir_flag_spec_CXX='-R$libdir'
13578 hardcode_direct_CXX=yes
13579 hardcode_shlibpath_var_CXX=no
13581 # Workaround some broken pre-1.5 toolchains
13582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13585 *nto* | *qnx*)
13586 ld_shlibs_CXX=yes
13589 openbsd2*)
13590 # C++ shared libraries are fairly broken
13591 ld_shlibs_CXX=no
13594 openbsd*)
13595 if test -f /usr/libexec/ld.so; then
13596 hardcode_direct_CXX=yes
13597 hardcode_shlibpath_var_CXX=no
13598 hardcode_direct_absolute_CXX=yes
13599 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13600 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13602 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13603 export_dynamic_flag_spec_CXX='${wl}-E'
13604 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13606 output_verbose_link_cmd=func_echo_all
13607 else
13608 ld_shlibs_CXX=no
13612 osf3* | osf4* | osf5*)
13613 case $cc_basename in
13614 KCC*)
13615 # Kuck and Associates, Inc. (KAI) C++ Compiler
13617 # KCC will only create a shared library if the output file
13618 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13619 # to its proper name (with version) after linking.
13620 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Archives containing C++ object files must be created using
13626 # the KAI C++ compiler.
13627 case $host in
13628 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13629 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13630 esac
13632 RCC*)
13633 # Rational C++ 2.4.1
13634 # FIXME: insert proper C++ library support
13635 ld_shlibs_CXX=no
13637 cxx*)
13638 case $host in
13639 osf3*)
13640 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13641 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13642 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13645 allow_undefined_flag_CXX=' -expect_unresolved \*'
13646 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13647 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13648 echo "-hidden">> $lib.exp~
13649 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13650 $RM $lib.exp'
13651 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13653 esac
13655 hardcode_libdir_separator_CXX=:
13657 # Commands to make compiler produce verbose output that lists
13658 # what "hidden" libraries, object files and flags are used when
13659 # linking a shared library.
13661 # There doesn't appear to be a way to prevent this compiler from
13662 # explicitly linking system object files so we need to strip them
13663 # from the output so that they don't get included in the library
13664 # dependencies.
13665 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13668 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13669 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13670 case $host in
13671 osf3*)
13672 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13675 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13677 esac
13679 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13680 hardcode_libdir_separator_CXX=:
13682 # Commands to make compiler produce verbose output that lists
13683 # what "hidden" libraries, object files and flags are used when
13684 # linking a shared library.
13685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13687 else
13688 # FIXME: insert proper C++ library support
13689 ld_shlibs_CXX=no
13692 esac
13695 psos*)
13696 # FIXME: insert proper C++ library support
13697 ld_shlibs_CXX=no
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 # FIXME: insert proper C++ library support
13705 ld_shlibs_CXX=no
13707 lcc*)
13708 # Lucid
13709 # FIXME: insert proper C++ library support
13710 ld_shlibs_CXX=no
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13716 esac
13719 solaris*)
13720 case $cc_basename in
13721 CC*)
13722 # Sun C++ 4.2, 5.x and Centerline C++
13723 archive_cmds_need_lc_CXX=yes
13724 no_undefined_flag_CXX=' -zdefs'
13725 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13727 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13729 hardcode_libdir_flag_spec_CXX='-R$libdir'
13730 hardcode_shlibpath_var_CXX=no
13731 case $host_os in
13732 solaris2.[0-5] | solaris2.[0-5].*) ;;
13734 # The compiler driver will combine and reorder linker options,
13735 # but understands `-z linker_flag'.
13736 # Supported since Solaris 2.6 (maybe 2.5.1?)
13737 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13739 esac
13740 link_all_deplibs_CXX=yes
13742 output_verbose_link_cmd='func_echo_all'
13744 # Archives containing C++ object files must be created using
13745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13746 # necessary to make sure instantiated templates are included
13747 # in the archive.
13748 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13750 gcx*)
13751 # Green Hills C++ Compiler
13752 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13754 # The C++ compiler must be used to create the archive.
13755 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13758 # GNU C++ compiler with Solaris linker
13759 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13760 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13761 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13762 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13770 else
13771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13772 # platform.
13773 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13774 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13777 # Commands to make compiler produce verbose output that lists
13778 # what "hidden" libraries, object files and flags are used when
13779 # linking a shared library.
13780 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13783 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13784 case $host_os in
13785 solaris2.[0-5] | solaris2.[0-5].*) ;;
13787 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13789 esac
13792 esac
13795 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13796 no_undefined_flag_CXX='${wl}-z,text'
13797 archive_cmds_need_lc_CXX=no
13798 hardcode_shlibpath_var_CXX=no
13799 runpath_var='LD_RUN_PATH'
13801 case $cc_basename in
13802 CC*)
13803 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13804 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13807 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13810 esac
13813 sysv5* | sco3.2v5* | sco5v6*)
13814 # Note: We can NOT use -z defs as we might desire, because we do not
13815 # link with -lc, and that would cause any symbols used from libc to
13816 # always be unresolved, which means just about no library would
13817 # ever link correctly. If we're not using GNU ld we use -z text
13818 # though, which does catch some bad symbols but isn't as heavy-handed
13819 # as -z defs.
13820 no_undefined_flag_CXX='${wl}-z,text'
13821 allow_undefined_flag_CXX='${wl}-z,nodefs'
13822 archive_cmds_need_lc_CXX=no
13823 hardcode_shlibpath_var_CXX=no
13824 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13825 hardcode_libdir_separator_CXX=':'
13826 link_all_deplibs_CXX=yes
13827 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13828 runpath_var='LD_RUN_PATH'
13830 case $cc_basename in
13831 CC*)
13832 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13833 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13835 '"$old_archive_cmds_CXX"
13836 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13837 '"$reload_cmds_CXX"
13840 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13841 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 esac
13846 tandem*)
13847 case $cc_basename in
13848 NCC*)
13849 # NonStop-UX NCC 3.20
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13857 esac
13860 vxworks*)
13861 # For VxWorks ports, we assume the use of a GNU linker with
13862 # standard elf conventions.
13863 ld_shlibs_CXX=yes
13867 # FIXME: insert proper C++ library support
13868 ld_shlibs_CXX=no
13870 esac
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13873 $as_echo "$ld_shlibs_CXX" >&6; }
13874 test "$ld_shlibs_CXX" = no && can_build_shared=no
13876 GCC_CXX="$GXX"
13877 LD_CXX="$LD"
13879 ## CAVEAT EMPTOR:
13880 ## There is no encapsulation within the following macros, do not change
13881 ## the running order or otherwise move them around unless you know exactly
13882 ## what you are doing...
13883 # Dependencies to place before and after the object being linked:
13884 predep_objects_CXX=
13885 postdep_objects_CXX=
13886 predeps_CXX=
13887 postdeps_CXX=
13888 compiler_lib_search_path_CXX=
13890 cat > conftest.$ac_ext <<_LT_EOF
13891 class Foo
13893 public:
13894 Foo (void) { a = 0; }
13895 private:
13896 int a;
13898 _LT_EOF
13900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13901 (eval $ac_compile) 2>&5
13902 ac_status=$?
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }; then
13905 # Parse the compiler output and extract the necessary
13906 # objects, libraries and library flags.
13908 # Sentinel used to keep track of whether or not we are before
13909 # the conftest object file.
13910 pre_test_object_deps_done=no
13912 for p in `eval "$output_verbose_link_cmd"`; do
13913 case $p in
13915 -L* | -R* | -l*)
13916 # Some compilers place space between "-{L,R}" and the path.
13917 # Remove the space.
13918 if test $p = "-L" ||
13919 test $p = "-R"; then
13920 prev=$p
13921 continue
13922 else
13923 prev=
13926 if test "$pre_test_object_deps_done" = no; then
13927 case $p in
13928 -L* | -R*)
13929 # Internal compiler library paths should come after those
13930 # provided the user. The postdeps already come after the
13931 # user supplied libs so there is no need to process them.
13932 if test -z "$compiler_lib_search_path_CXX"; then
13933 compiler_lib_search_path_CXX="${prev}${p}"
13934 else
13935 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13938 # The "-l" case would never come before the object being
13939 # linked, so don't bother handling this case.
13940 esac
13941 else
13942 if test -z "$postdeps_CXX"; then
13943 postdeps_CXX="${prev}${p}"
13944 else
13945 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13950 *.$objext)
13951 # This assumes that the test object file only shows up
13952 # once in the compiler output.
13953 if test "$p" = "conftest.$objext"; then
13954 pre_test_object_deps_done=yes
13955 continue
13958 if test "$pre_test_object_deps_done" = no; then
13959 if test -z "$predep_objects_CXX"; then
13960 predep_objects_CXX="$p"
13961 else
13962 predep_objects_CXX="$predep_objects_CXX $p"
13964 else
13965 if test -z "$postdep_objects_CXX"; then
13966 postdep_objects_CXX="$p"
13967 else
13968 postdep_objects_CXX="$postdep_objects_CXX $p"
13973 *) ;; # Ignore the rest.
13975 esac
13976 done
13978 # Clean up.
13979 rm -f a.out a.exe
13980 else
13981 echo "libtool.m4: error: problem compiling CXX test program"
13984 $RM -f confest.$objext
13986 # PORTME: override above test on systems where it is broken
13987 case $host_os in
13988 interix[3-9]*)
13989 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13990 # hack all around it, let's just trust "g++" to DTRT.
13991 predep_objects_CXX=
13992 postdep_objects_CXX=
13993 postdeps_CXX=
13996 linux*)
13997 case `$CC -V 2>&1 | sed 5q` in
13998 *Sun\ C*)
13999 # Sun C++ 5.9
14001 # The more standards-conforming stlport4 library is
14002 # incompatible with the Cstd library. Avoid specifying
14003 # it if it's in CXXFLAGS. Ignore libCrun as
14004 # -library=stlport4 depends on it.
14005 case " $CXX $CXXFLAGS " in
14006 *" -library=stlport4 "*)
14007 solaris_use_stlport4=yes
14009 esac
14011 if test "$solaris_use_stlport4" != yes; then
14012 postdeps_CXX='-library=Cstd -library=Crun'
14015 esac
14018 solaris*)
14019 case $cc_basename in
14020 CC*)
14021 # The more standards-conforming stlport4 library is
14022 # incompatible with the Cstd library. Avoid specifying
14023 # it if it's in CXXFLAGS. Ignore libCrun as
14024 # -library=stlport4 depends on it.
14025 case " $CXX $CXXFLAGS " in
14026 *" -library=stlport4 "*)
14027 solaris_use_stlport4=yes
14029 esac
14031 # Adding this requires a known-good setup of shared libraries for
14032 # Sun compiler versions before 5.6, else PIC objects from an old
14033 # archive will be linked into the output, leading to subtle bugs.
14034 if test "$solaris_use_stlport4" != yes; then
14035 postdeps_CXX='-library=Cstd -library=Crun'
14038 esac
14040 esac
14043 case " $postdeps_CXX " in
14044 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14045 esac
14046 compiler_lib_search_dirs_CXX=
14047 if test -n "${compiler_lib_search_path_CXX}"; then
14048 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14081 lt_prog_compiler_wl_CXX=
14082 lt_prog_compiler_pic_CXX=
14083 lt_prog_compiler_static_CXX=
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14088 # C++ specific cases for pic, static, wl, etc.
14089 if test "$GXX" = yes; then
14090 lt_prog_compiler_wl_CXX='-Wl,'
14091 lt_prog_compiler_static_CXX='-static'
14093 case $host_os in
14094 aix*)
14095 # All AIX code is PIC.
14096 if test "$host_cpu" = ia64; then
14097 # AIX 5 now supports IA64 processor
14098 lt_prog_compiler_static_CXX='-Bstatic'
14100 lt_prog_compiler_pic_CXX='-fPIC'
14103 amigaos*)
14104 case $host_cpu in
14105 powerpc)
14106 # see comment about AmigaOS4 .so support
14107 lt_prog_compiler_pic_CXX='-fPIC'
14109 m68k)
14110 # FIXME: we need at least 68020 code to build shared libraries, but
14111 # adding the `-m68020' flag to GCC prevents building anything better,
14112 # like `-m68040'.
14113 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14115 esac
14118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14119 # PIC is the default for these OSes.
14121 mingw* | cygwin* | os2* | pw32* | cegcc*)
14122 # This hack is so that the source file can tell whether it is being
14123 # built for inclusion in a dll (and should export symbols for example).
14124 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14125 # (--disable-auto-import) libraries
14126 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14128 darwin* | rhapsody*)
14129 # PIC is the default on this platform
14130 # Common symbols not allowed in MH_DYLIB files
14131 lt_prog_compiler_pic_CXX='-fno-common'
14133 *djgpp*)
14134 # DJGPP does not support shared libraries at all
14135 lt_prog_compiler_pic_CXX=
14137 haiku*)
14138 # PIC is the default for Haiku.
14139 # The "-static" flag exists, but is broken.
14140 lt_prog_compiler_static_CXX=
14142 interix[3-9]*)
14143 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14144 # Instead, we relocate shared libraries at runtime.
14146 sysv4*MP*)
14147 if test -d /usr/nec; then
14148 lt_prog_compiler_pic_CXX=-Kconform_pic
14151 hpux*)
14152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14154 # sets the default TLS model and affects inlining.
14155 case $host_cpu in
14156 hppa*64*)
14159 lt_prog_compiler_pic_CXX='-fPIC'
14161 esac
14163 *qnx* | *nto*)
14164 # QNX uses GNU C++, but need to define -shared option too, otherwise
14165 # it will coredump.
14166 lt_prog_compiler_pic_CXX='-fPIC -shared'
14169 lt_prog_compiler_pic_CXX='-fPIC'
14171 esac
14172 else
14173 case $host_os in
14174 aix[4-9]*)
14175 # All AIX code is PIC.
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 now supports IA64 processor
14178 lt_prog_compiler_static_CXX='-Bstatic'
14179 else
14180 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14183 chorus*)
14184 case $cc_basename in
14185 cxch68*)
14186 # Green Hills C++ Compiler
14187 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14189 esac
14191 dgux*)
14192 case $cc_basename in
14193 ec++*)
14194 lt_prog_compiler_pic_CXX='-KPIC'
14196 ghcx*)
14197 # Green Hills C++ Compiler
14198 lt_prog_compiler_pic_CXX='-pic'
14202 esac
14204 freebsd* | dragonfly*)
14205 # FreeBSD uses GNU C++
14207 hpux9* | hpux10* | hpux11*)
14208 case $cc_basename in
14209 CC*)
14210 lt_prog_compiler_wl_CXX='-Wl,'
14211 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14212 if test "$host_cpu" != ia64; then
14213 lt_prog_compiler_pic_CXX='+Z'
14216 aCC*)
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14219 case $host_cpu in
14220 hppa*64*|ia64*)
14221 # +Z the default
14224 lt_prog_compiler_pic_CXX='+Z'
14226 esac
14230 esac
14232 interix*)
14233 # This is c89, which is MS Visual C++ (no shared libs)
14234 # Anyone wants to do a port?
14236 irix5* | irix6* | nonstopux*)
14237 case $cc_basename in
14238 CC*)
14239 lt_prog_compiler_wl_CXX='-Wl,'
14240 lt_prog_compiler_static_CXX='-non_shared'
14241 # CC pic flag -KPIC is the default.
14245 esac
14247 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14248 case $cc_basename in
14249 KCC*)
14250 # KAI C++ Compiler
14251 lt_prog_compiler_wl_CXX='--backend -Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14254 ecpc* )
14255 # old Intel C++ for x86_64 which still supported -KPIC.
14256 lt_prog_compiler_wl_CXX='-Wl,'
14257 lt_prog_compiler_pic_CXX='-KPIC'
14258 lt_prog_compiler_static_CXX='-static'
14260 icpc* )
14261 # Intel C++, used to be incompatible with GCC.
14262 # ICC 10 doesn't accept -KPIC any more.
14263 lt_prog_compiler_wl_CXX='-Wl,'
14264 lt_prog_compiler_pic_CXX='-fPIC'
14265 lt_prog_compiler_static_CXX='-static'
14267 pgCC* | pgcpp*)
14268 # Portland Group C++ compiler
14269 lt_prog_compiler_wl_CXX='-Wl,'
14270 lt_prog_compiler_pic_CXX='-fpic'
14271 lt_prog_compiler_static_CXX='-Bstatic'
14273 cxx*)
14274 # Compaq C++
14275 # Make sure the PIC flag is empty. It appears that all Alpha
14276 # Linux and Compaq Tru64 Unix objects are PIC.
14277 lt_prog_compiler_pic_CXX=
14278 lt_prog_compiler_static_CXX='-non_shared'
14280 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14281 # IBM XL 8.0, 9.0 on PPC and BlueGene
14282 lt_prog_compiler_wl_CXX='-Wl,'
14283 lt_prog_compiler_pic_CXX='-qpic'
14284 lt_prog_compiler_static_CXX='-qstaticlink'
14287 case `$CC -V 2>&1 | sed 5q` in
14288 *Sun\ C*)
14289 # Sun C++ 5.9
14290 lt_prog_compiler_pic_CXX='-KPIC'
14291 lt_prog_compiler_static_CXX='-Bstatic'
14292 lt_prog_compiler_wl_CXX='-Qoption ld '
14294 esac
14296 esac
14298 lynxos*)
14300 m88k*)
14302 mvs*)
14303 case $cc_basename in
14304 cxx*)
14305 lt_prog_compiler_pic_CXX='-W c,exportall'
14309 esac
14311 netbsd*)
14313 *qnx* | *nto*)
14314 # QNX uses GNU C++, but need to define -shared option too, otherwise
14315 # it will coredump.
14316 lt_prog_compiler_pic_CXX='-fPIC -shared'
14318 osf3* | osf4* | osf5*)
14319 case $cc_basename in
14320 KCC*)
14321 lt_prog_compiler_wl_CXX='--backend -Wl,'
14323 RCC*)
14324 # Rational C++ 2.4.1
14325 lt_prog_compiler_pic_CXX='-pic'
14327 cxx*)
14328 # Digital/Compaq C++
14329 lt_prog_compiler_wl_CXX='-Wl,'
14330 # Make sure the PIC flag is empty. It appears that all Alpha
14331 # Linux and Compaq Tru64 Unix objects are PIC.
14332 lt_prog_compiler_pic_CXX=
14333 lt_prog_compiler_static_CXX='-non_shared'
14337 esac
14339 psos*)
14341 solaris*)
14342 case $cc_basename in
14343 CC*)
14344 # Sun C++ 4.2, 5.x and Centerline C++
14345 lt_prog_compiler_pic_CXX='-KPIC'
14346 lt_prog_compiler_static_CXX='-Bstatic'
14347 lt_prog_compiler_wl_CXX='-Qoption ld '
14349 gcx*)
14350 # Green Hills C++ Compiler
14351 lt_prog_compiler_pic_CXX='-PIC'
14355 esac
14357 sunos4*)
14358 case $cc_basename in
14359 CC*)
14360 # Sun C++ 4.x
14361 lt_prog_compiler_pic_CXX='-pic'
14362 lt_prog_compiler_static_CXX='-Bstatic'
14364 lcc*)
14365 # Lucid
14366 lt_prog_compiler_pic_CXX='-pic'
14370 esac
14372 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14373 case $cc_basename in
14374 CC*)
14375 lt_prog_compiler_wl_CXX='-Wl,'
14376 lt_prog_compiler_pic_CXX='-KPIC'
14377 lt_prog_compiler_static_CXX='-Bstatic'
14379 esac
14381 tandem*)
14382 case $cc_basename in
14383 NCC*)
14384 # NonStop-UX NCC 3.20
14385 lt_prog_compiler_pic_CXX='-KPIC'
14389 esac
14391 vxworks*)
14394 lt_prog_compiler_can_build_shared_CXX=no
14396 esac
14399 case $host_os in
14400 # For platforms which do not support PIC, -DPIC is meaningless:
14401 *djgpp*)
14402 lt_prog_compiler_pic_CXX=
14405 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14407 esac
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14409 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14414 # Check to make sure the PIC flag actually works.
14416 if test -n "$lt_prog_compiler_pic_CXX"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14418 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14419 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 lt_cv_prog_compiler_pic_works_CXX=no
14423 ac_outfile=conftest.$ac_objext
14424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14425 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14426 # Insert the option either (1) after the last *FLAGS variable, or
14427 # (2) before a word containing "conftest.", or (3) at the end.
14428 # Note that $ac_compile itself does not contain backslashes and begins
14429 # with a dollar sign (not a hyphen), so the echo should work correctly.
14430 # The option is referenced via a variable to avoid confusing sed.
14431 lt_compile=`echo "$ac_compile" | $SED \
14432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14434 -e 's:$: $lt_compiler_flag:'`
14435 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14436 (eval "$lt_compile" 2>conftest.err)
14437 ac_status=$?
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 if (exit $ac_status) && test -s "$ac_outfile"; then
14441 # The compiler can only warn and ignore the option if not recognized
14442 # So say no if there are warnings other than the usual output.
14443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14444 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14445 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14446 lt_cv_prog_compiler_pic_works_CXX=yes
14449 $RM conftest*
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14453 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14455 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14456 case $lt_prog_compiler_pic_CXX in
14457 "" | " "*) ;;
14458 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14459 esac
14460 else
14461 lt_prog_compiler_pic_CXX=
14462 lt_prog_compiler_can_build_shared_CXX=no
14470 # Check to make sure the static flag actually works.
14472 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14475 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_prog_compiler_static_works_CXX=no
14479 save_LDFLAGS="$LDFLAGS"
14480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14483 # The linker can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 if test -s conftest.err; then
14486 # Append any errors to the config.log.
14487 cat conftest.err 1>&5
14488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14490 if diff conftest.exp conftest.er2 >/dev/null; then
14491 lt_cv_prog_compiler_static_works_CXX=yes
14493 else
14494 lt_cv_prog_compiler_static_works_CXX=yes
14497 $RM -r conftest*
14498 LDFLAGS="$save_LDFLAGS"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14504 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14506 else
14507 lt_prog_compiler_static_CXX=
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14514 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14515 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 lt_cv_prog_compiler_c_o_CXX=no
14519 $RM -r conftest 2>/dev/null
14520 mkdir conftest
14521 cd conftest
14522 mkdir out
14523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14525 lt_compiler_flag="-o out/conftest2.$ac_objext"
14526 # Insert the option either (1) after the last *FLAGS variable, or
14527 # (2) before a word containing "conftest.", or (3) at the end.
14528 # Note that $ac_compile itself does not contain backslashes and begins
14529 # with a dollar sign (not a hyphen), so the echo should work correctly.
14530 lt_compile=`echo "$ac_compile" | $SED \
14531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14533 -e 's:$: $lt_compiler_flag:'`
14534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14535 (eval "$lt_compile" 2>out/conftest.err)
14536 ac_status=$?
14537 cat out/conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14540 then
14541 # The compiler can only warn and ignore the option if not recognized
14542 # So say no if there are warnings
14543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14544 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14545 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14546 lt_cv_prog_compiler_c_o_CXX=yes
14549 chmod u+w . 2>&5
14550 $RM conftest*
14551 # SGI C++ compiler will create directory out/ii_files/ for
14552 # template instantiation
14553 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14554 $RM out/* && rmdir out
14555 cd ..
14556 $RM -r conftest
14557 $RM conftest*
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14561 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14567 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 lt_cv_prog_compiler_c_o_CXX=no
14571 $RM -r conftest 2>/dev/null
14572 mkdir conftest
14573 cd conftest
14574 mkdir out
14575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 lt_compiler_flag="-o out/conftest2.$ac_objext"
14578 # Insert the option either (1) after the last *FLAGS variable, or
14579 # (2) before a word containing "conftest.", or (3) at the end.
14580 # Note that $ac_compile itself does not contain backslashes and begins
14581 # with a dollar sign (not a hyphen), so the echo should work correctly.
14582 lt_compile=`echo "$ac_compile" | $SED \
14583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14585 -e 's:$: $lt_compiler_flag:'`
14586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14587 (eval "$lt_compile" 2>out/conftest.err)
14588 ac_status=$?
14589 cat out/conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14592 then
14593 # The compiler can only warn and ignore the option if not recognized
14594 # So say no if there are warnings
14595 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14596 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14597 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14598 lt_cv_prog_compiler_c_o_CXX=yes
14601 chmod u+w . 2>&5
14602 $RM conftest*
14603 # SGI C++ compiler will create directory out/ii_files/ for
14604 # template instantiation
14605 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14606 $RM out/* && rmdir out
14607 cd ..
14608 $RM -r conftest
14609 $RM conftest*
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14613 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14618 hard_links="nottested"
14619 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14620 # do not overwrite the value of need_locks provided by the user
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14622 $as_echo_n "checking if we can lock with hard links... " >&6; }
14623 hard_links=yes
14624 $RM conftest*
14625 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14626 touch conftest.a
14627 ln conftest.a conftest.b 2>&5 || hard_links=no
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14630 $as_echo "$hard_links" >&6; }
14631 if test "$hard_links" = no; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14634 need_locks=warn
14636 else
14637 need_locks=no
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14645 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14646 case $host_os in
14647 aix[4-9]*)
14648 # If we're using GNU nm, then we don't want the "-C" option.
14649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14650 # Also, AIX nm treats weak defined symbols like other global defined
14651 # symbols, whereas GNU nm marks them as "W".
14652 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14653 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14654 else
14655 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14658 pw32*)
14659 export_symbols_cmds_CXX="$ltdll_cmds"
14661 cygwin* | mingw* | cegcc*)
14662 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14665 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 esac
14668 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14671 $as_echo "$ld_shlibs_CXX" >&6; }
14672 test "$ld_shlibs_CXX" = no && can_build_shared=no
14674 with_gnu_ld_CXX=$with_gnu_ld
14682 # Do we need to explicitly link libc?
14684 case "x$archive_cmds_need_lc_CXX" in
14685 x|xyes)
14686 # Assume -lc should be added
14687 archive_cmds_need_lc_CXX=yes
14689 if test "$enable_shared" = yes && test "$GCC" = yes; then
14690 case $archive_cmds_CXX in
14691 *'~'*)
14692 # FIXME: we may have to deal with multi-command sequences.
14694 '$CC '*)
14695 # Test whether the compiler implicitly links with -lc since on some
14696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14697 # to ld, don't add -lc before -lgcc.
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14700 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 $RM conftest*
14704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14707 (eval $ac_compile) 2>&5
14708 ac_status=$?
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; } 2>conftest.err; then
14711 soname=conftest
14712 lib=conftest
14713 libobjs=conftest.$ac_objext
14714 deplibs=
14715 wl=$lt_prog_compiler_wl_CXX
14716 pic_flag=$lt_prog_compiler_pic_CXX
14717 compiler_flags=-v
14718 linker_flags=-v
14719 verstring=
14720 output_objdir=.
14721 libname=conftest
14722 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14723 allow_undefined_flag_CXX=
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14725 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14726 ac_status=$?
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }
14729 then
14730 lt_cv_archive_cmds_need_lc_CXX=no
14731 else
14732 lt_cv_archive_cmds_need_lc_CXX=yes
14734 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14735 else
14736 cat conftest.err 1>&5
14738 $RM conftest*
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14742 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14743 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14745 esac
14748 esac
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14816 library_names_spec=
14817 libname_spec='lib$name'
14818 soname_spec=
14819 shrext_cmds=".so"
14820 postinstall_cmds=
14821 postuninstall_cmds=
14822 finish_cmds=
14823 finish_eval=
14824 shlibpath_var=
14825 shlibpath_overrides_runpath=unknown
14826 version_type=none
14827 dynamic_linker="$host_os ld.so"
14828 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14829 need_lib_prefix=unknown
14830 hardcode_into_libs=no
14832 # when you set need_version to no, make sure it does not cause -set_version
14833 # flags to be left without arguments
14834 need_version=unknown
14836 case $host_os in
14837 aix3*)
14838 version_type=linux
14839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14840 shlibpath_var=LIBPATH
14842 # AIX 3 has no versioning support, so we append a major version to the name.
14843 soname_spec='${libname}${release}${shared_ext}$major'
14846 aix[4-9]*)
14847 version_type=linux
14848 need_lib_prefix=no
14849 need_version=no
14850 hardcode_into_libs=yes
14851 if test "$host_cpu" = ia64; then
14852 # AIX 5 supports IA64
14853 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 else
14856 # With GCC up to 2.95.x, collect2 would create an import file
14857 # for dependence libraries. The import file would start with
14858 # the line `#! .'. This would cause the generated library to
14859 # depend on `.', always an invalid library. This was fixed in
14860 # development snapshots of GCC prior to 3.0.
14861 case $host_os in
14862 aix4 | aix4.[01] | aix4.[01].*)
14863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14864 echo ' yes '
14865 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14867 else
14868 can_build_shared=no
14871 esac
14872 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14873 # soname into executable. Probably we can add versioning support to
14874 # collect2, so additional links can be useful in future.
14875 if test "$aix_use_runtimelinking" = yes; then
14876 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14877 # instead of lib<name>.a to let people know that these are not
14878 # typical AIX shared libraries.
14879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 else
14881 # We preserve .a as extension for shared libraries through AIX4.2
14882 # and later when we are not doing run time linking.
14883 library_names_spec='${libname}${release}.a $libname.a'
14884 soname_spec='${libname}${release}${shared_ext}$major'
14886 shlibpath_var=LIBPATH
14890 amigaos*)
14891 case $host_cpu in
14892 powerpc)
14893 # Since July 2007 AmigaOS4 officially supports .so libraries.
14894 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14897 m68k)
14898 library_names_spec='$libname.ixlibrary $libname.a'
14899 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14900 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14902 esac
14905 beos*)
14906 library_names_spec='${libname}${shared_ext}'
14907 dynamic_linker="$host_os ld.so"
14908 shlibpath_var=LIBRARY_PATH
14911 bsdi[45]*)
14912 version_type=linux
14913 need_version=no
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14917 shlibpath_var=LD_LIBRARY_PATH
14918 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14919 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14920 # the default ld.so.conf also contains /usr/contrib/lib and
14921 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14922 # libtool to hard-code these into programs
14925 cygwin* | mingw* | pw32* | cegcc*)
14926 version_type=windows
14927 shrext_cmds=".dll"
14928 need_version=no
14929 need_lib_prefix=no
14931 case $GCC,$host_os in
14932 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14933 library_names_spec='$libname.dll.a'
14934 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14935 postinstall_cmds='base_file=`basename \${file}`~
14936 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14937 dldir=$destdir/`dirname \$dlpath`~
14938 test -d \$dldir || mkdir -p \$dldir~
14939 $install_prog $dir/$dlname \$dldir/$dlname~
14940 chmod a+x \$dldir/$dlname~
14941 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14942 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14944 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14945 dlpath=$dir/\$dldll~
14946 $RM \$dlpath'
14947 shlibpath_overrides_runpath=yes
14949 case $host_os in
14950 cygwin*)
14951 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14952 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14955 mingw* | cegcc*)
14956 # MinGW DLLs use traditional 'lib' prefix
14957 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14959 pw32*)
14960 # pw32 DLLs use 'pw' prefix rather than 'lib'
14961 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14963 esac
14967 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14969 esac
14970 dynamic_linker='Win32 ld.exe'
14971 # FIXME: first we should search . and the directory the executable is in
14972 shlibpath_var=PATH
14975 darwin* | rhapsody*)
14976 dynamic_linker="$host_os dyld"
14977 version_type=darwin
14978 need_lib_prefix=no
14979 need_version=no
14980 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14981 soname_spec='${libname}${release}${major}$shared_ext'
14982 shlibpath_overrides_runpath=yes
14983 shlibpath_var=DYLD_LIBRARY_PATH
14984 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14986 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14989 dgux*)
14990 version_type=linux
14991 need_lib_prefix=no
14992 need_version=no
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14994 soname_spec='${libname}${release}${shared_ext}$major'
14995 shlibpath_var=LD_LIBRARY_PATH
14998 freebsd* | dragonfly*)
14999 # DragonFly does not have aout. When/if they implement a new
15000 # versioning mechanism, adjust this.
15001 if test -x /usr/bin/objformat; then
15002 objformat=`/usr/bin/objformat`
15003 else
15004 case $host_os in
15005 freebsd[23].*) objformat=aout ;;
15006 *) objformat=elf ;;
15007 esac
15009 version_type=freebsd-$objformat
15010 case $version_type in
15011 freebsd-elf*)
15012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15013 need_version=no
15014 need_lib_prefix=no
15016 freebsd-*)
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15018 need_version=yes
15020 esac
15021 shlibpath_var=LD_LIBRARY_PATH
15022 case $host_os in
15023 freebsd2.*)
15024 shlibpath_overrides_runpath=yes
15026 freebsd3.[01]* | freebsdelf3.[01]*)
15027 shlibpath_overrides_runpath=yes
15028 hardcode_into_libs=yes
15030 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15031 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15032 shlibpath_overrides_runpath=no
15033 hardcode_into_libs=yes
15035 *) # from 4.6 on, and DragonFly
15036 shlibpath_overrides_runpath=yes
15037 hardcode_into_libs=yes
15039 esac
15042 haiku*)
15043 version_type=linux
15044 need_lib_prefix=no
15045 need_version=no
15046 dynamic_linker="$host_os runtime_loader"
15047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15048 soname_spec='${libname}${release}${shared_ext}$major'
15049 shlibpath_var=LIBRARY_PATH
15050 shlibpath_overrides_runpath=yes
15051 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15052 hardcode_into_libs=yes
15055 hpux9* | hpux10* | hpux11*)
15056 # Give a soname corresponding to the major version so that dld.sl refuses to
15057 # link against other versions.
15058 version_type=sunos
15059 need_lib_prefix=no
15060 need_version=no
15061 case $host_cpu in
15062 ia64*)
15063 shrext_cmds='.so'
15064 hardcode_into_libs=yes
15065 dynamic_linker="$host_os dld.so"
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 if test "X$HPUX_IA64_MODE" = X32; then
15071 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15072 else
15073 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 hppa*64*)
15078 shrext_cmds='.sl'
15079 hardcode_into_libs=yes
15080 dynamic_linker="$host_os dld.sl"
15081 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15082 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15086 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15089 shrext_cmds='.sl'
15090 dynamic_linker="$host_os dld.sl"
15091 shlibpath_var=SHLIB_PATH
15092 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15094 soname_spec='${libname}${release}${shared_ext}$major'
15096 esac
15097 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15098 postinstall_cmds='chmod 555 $lib'
15099 # or fails outright, so override atomically:
15100 install_override_mode=555
15103 interix[3-9]*)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15108 soname_spec='${libname}${release}${shared_ext}$major'
15109 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=no
15112 hardcode_into_libs=yes
15115 irix5* | irix6* | nonstopux*)
15116 case $host_os in
15117 nonstopux*) version_type=nonstopux ;;
15119 if test "$lt_cv_prog_gnu_ld" = yes; then
15120 version_type=linux
15121 else
15122 version_type=irix
15123 fi ;;
15124 esac
15125 need_lib_prefix=no
15126 need_version=no
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15129 case $host_os in
15130 irix5* | nonstopux*)
15131 libsuff= shlibsuff=
15134 case $LD in # libtool.m4 will add one of these switches to LD
15135 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15136 libsuff= shlibsuff= libmagic=32-bit;;
15137 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15138 libsuff=32 shlibsuff=N32 libmagic=N32;;
15139 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15140 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15141 *) libsuff= shlibsuff= libmagic=never-match;;
15142 esac
15144 esac
15145 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15146 shlibpath_overrides_runpath=no
15147 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15148 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15149 hardcode_into_libs=yes
15152 # No shared lib support for Linux oldld, aout, or coff.
15153 linux*oldld* | linux*aout* | linux*coff*)
15154 dynamic_linker=no
15157 # This must be Linux ELF.
15159 # uclinux* changes (here and below) have been submitted to the libtool
15160 # project, but have not yet been accepted: they are GCC-local changes
15161 # for the time being. (See
15162 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15163 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15164 version_type=linux
15165 need_lib_prefix=no
15166 need_version=no
15167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168 soname_spec='${libname}${release}${shared_ext}$major'
15169 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15170 shlibpath_var=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath=no
15173 # Some binutils ld are patched to set DT_RUNPATH
15174 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 lt_cv_shlibpath_overrides_runpath=no
15178 save_LDFLAGS=$LDFLAGS
15179 save_libdir=$libdir
15180 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15181 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15189 main ()
15193 return 0;
15195 _ACEOF
15196 if ac_fn_cxx_try_link "$LINENO"; then :
15197 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15198 lt_cv_shlibpath_overrides_runpath=yes
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LDFLAGS=$save_LDFLAGS
15204 libdir=$save_libdir
15208 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15210 # This implies no fast_install, which is unacceptable.
15211 # Some rework will be needed to allow for fast_install
15212 # before this can be enabled.
15213 hardcode_into_libs=yes
15215 # Append ld.so.conf contents to the search path
15216 if test -f /etc/ld.so.conf; then
15217 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15218 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15221 # We used to test for /lib/ld.so.1 and disable shared libraries on
15222 # powerpc, because MkLinux only supported shared libraries with the
15223 # GNU dynamic linker. Since this was broken with cross compilers,
15224 # most powerpc-linux boxes support dynamic linking these days and
15225 # people can always --disable-shared, the test was removed, and we
15226 # assume the GNU/Linux dynamic linker is in use.
15227 dynamic_linker='GNU/Linux ld.so'
15230 netbsd*)
15231 version_type=sunos
15232 need_lib_prefix=no
15233 need_version=no
15234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15237 dynamic_linker='NetBSD (a.out) ld.so'
15238 else
15239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15240 soname_spec='${libname}${release}${shared_ext}$major'
15241 dynamic_linker='NetBSD ld.elf_so'
15243 shlibpath_var=LD_LIBRARY_PATH
15244 shlibpath_overrides_runpath=yes
15245 hardcode_into_libs=yes
15248 newsos6)
15249 version_type=linux
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 shlibpath_var=LD_LIBRARY_PATH
15252 shlibpath_overrides_runpath=yes
15255 *nto* | *qnx*)
15256 version_type=qnx
15257 need_lib_prefix=no
15258 need_version=no
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 soname_spec='${libname}${release}${shared_ext}$major'
15261 shlibpath_var=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath=no
15263 hardcode_into_libs=yes
15264 dynamic_linker='ldqnx.so'
15267 openbsd*)
15268 version_type=sunos
15269 sys_lib_dlsearch_path_spec="/usr/lib"
15270 need_lib_prefix=no
15271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15272 case $host_os in
15273 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15274 *) need_version=no ;;
15275 esac
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15278 shlibpath_var=LD_LIBRARY_PATH
15279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15280 case $host_os in
15281 openbsd2.[89] | openbsd2.[89].*)
15282 shlibpath_overrides_runpath=no
15285 shlibpath_overrides_runpath=yes
15287 esac
15288 else
15289 shlibpath_overrides_runpath=yes
15293 os2*)
15294 libname_spec='$name'
15295 shrext_cmds=".dll"
15296 need_lib_prefix=no
15297 library_names_spec='$libname${shared_ext} $libname.a'
15298 dynamic_linker='OS/2 ld.exe'
15299 shlibpath_var=LIBPATH
15302 osf3* | osf4* | osf5*)
15303 version_type=osf
15304 need_lib_prefix=no
15305 need_version=no
15306 soname_spec='${libname}${release}${shared_ext}$major'
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 shlibpath_var=LD_LIBRARY_PATH
15309 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15310 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15313 rdos*)
15314 dynamic_linker=no
15317 solaris*)
15318 version_type=linux
15319 need_lib_prefix=no
15320 need_version=no
15321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15322 soname_spec='${libname}${release}${shared_ext}$major'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15325 hardcode_into_libs=yes
15326 # ldd complains unless libraries are executable
15327 postinstall_cmds='chmod +x $lib'
15330 sunos4*)
15331 version_type=sunos
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15333 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath=yes
15336 if test "$with_gnu_ld" = yes; then
15337 need_lib_prefix=no
15339 need_version=yes
15342 sysv4 | sysv4.3*)
15343 version_type=linux
15344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 soname_spec='${libname}${release}${shared_ext}$major'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 case $host_vendor in
15348 sni)
15349 shlibpath_overrides_runpath=no
15350 need_lib_prefix=no
15351 runpath_var=LD_RUN_PATH
15353 siemens)
15354 need_lib_prefix=no
15356 motorola)
15357 need_lib_prefix=no
15358 need_version=no
15359 shlibpath_overrides_runpath=no
15360 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15362 esac
15365 sysv4*MP*)
15366 if test -d /usr/nec ;then
15367 version_type=linux
15368 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15369 soname_spec='$libname${shared_ext}.$major'
15370 shlibpath_var=LD_LIBRARY_PATH
15374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15375 version_type=freebsd-elf
15376 need_lib_prefix=no
15377 need_version=no
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15379 soname_spec='${libname}${release}${shared_ext}$major'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath=yes
15382 hardcode_into_libs=yes
15383 if test "$with_gnu_ld" = yes; then
15384 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15385 else
15386 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15387 case $host_os in
15388 sco3.2v5*)
15389 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15391 esac
15393 sys_lib_dlsearch_path_spec='/usr/lib'
15396 tpf*)
15397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15398 version_type=linux
15399 need_lib_prefix=no
15400 need_version=no
15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 shlibpath_var=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath=no
15404 hardcode_into_libs=yes
15407 uts4*)
15408 version_type=linux
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 soname_spec='${libname}${release}${shared_ext}$major'
15411 shlibpath_var=LD_LIBRARY_PATH
15414 # Shared libraries for VwWorks, >= 7 only at this stage
15415 # and (fpic) still incompatible with "large" code models
15416 # in a few configurations. Only for RTP mode in any case,
15417 # and upon explicit request at configure time.
15418 vxworks7*)
15419 dynamic_linker=no
15420 case ${with_multisubdir}-${enable_shared} in
15421 *large*)
15423 *mrtp*-yes)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 dynamic_linker="$host_os module_loader"
15431 esac
15434 dynamic_linker=no
15436 esac
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15438 $as_echo "$dynamic_linker" >&6; }
15439 test "$dynamic_linker" = no && can_build_shared=no
15441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15442 if test "$GCC" = yes; then
15443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15447 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15450 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15492 hardcode_action_CXX=
15493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15494 test -n "$runpath_var_CXX" ||
15495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15497 # We can hardcode non-existent directories.
15498 if test "$hardcode_direct_CXX" != no &&
15499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15500 # have to relink, otherwise we might link with an installed library
15501 # when we should be linking with a yet-to-be-installed one
15502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15503 test "$hardcode_minus_L_CXX" != no; then
15504 # Linking always hardcodes the temporary library directory.
15505 hardcode_action_CXX=relink
15506 else
15507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15508 hardcode_action_CXX=immediate
15510 else
15511 # We cannot hardcode anything, or else we can only hardcode existing
15512 # directories.
15513 hardcode_action_CXX=unsupported
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15516 $as_echo "$hardcode_action_CXX" >&6; }
15518 if test "$hardcode_action_CXX" = relink ||
15519 test "$inherit_rpath_CXX" = yes; then
15520 # Fast installation is not supported
15521 enable_fast_install=no
15522 elif test "$shlibpath_overrides_runpath" = yes ||
15523 test "$enable_shared" = no; then
15524 # Fast installation is not necessary
15525 enable_fast_install=needless
15534 fi # test -n "$compiler"
15536 CC=$lt_save_CC
15537 LDCXX=$LD
15538 LD=$lt_save_LD
15539 GCC=$lt_save_GCC
15540 with_gnu_ld=$lt_save_with_gnu_ld
15541 lt_cv_path_LDCXX=$lt_cv_path_LD
15542 lt_cv_path_LD=$lt_save_path_LD
15543 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15544 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15545 fi # test "$_lt_caught_CXX_error" != yes
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 ac_config_commands="$ac_config_commands libtool"
15570 # Only expand once:
15576 case $host in
15577 *-cygwin* | *-mingw*)
15578 # 'host' will be top-level target in the case of a target lib,
15579 # we must compare to with_cross_host to decide if this is a native
15580 # or cross-compiler and select where to install dlls appropriately.
15581 if test -n "$with_cross_host" &&
15582 test x"$with_cross_host" != x"no"; then
15583 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15584 else
15585 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15589 lt_host_flags=
15591 esac
15598 if test "$enable_vtable_verify" = yes; then
15599 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15600 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15604 # libtool variables for C++ shared and position-independent compiles.
15606 # Use glibcxx_lt_pic_flag to designate the automake variable
15607 # used to encapsulate the default libtool approach to creating objects
15608 # with position-independent code. Default: -prefer-pic.
15610 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15611 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15613 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15614 # creating position-independent objects. This varies with the target
15615 # hardware and operating system, but is often: -DPIC -fPIC.
15616 if test "$enable_shared" = yes; then
15617 glibcxx_lt_pic_flag="-prefer-pic"
15618 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15619 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15621 else
15622 glibcxx_lt_pic_flag=
15623 glibcxx_compiler_pic_flag=
15624 glibcxx_compiler_shared_flag=
15630 # Override the libtool's pic_flag and pic_mode.
15631 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15632 # NB: this impacts --with-pic and --without-pic.
15633 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15634 pic_mode='default'
15636 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15637 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15639 # Possibly disable most of the library.
15640 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15641 ## than just ignoring the results. Faster /and/ more correct, win win.
15643 # Check whether --enable-hosted-libstdcxx was given.
15644 if test "${enable_hosted_libstdcxx+set}" = set; then :
15645 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15646 else
15647 case "$host" in
15648 arm*-*-symbianelf*)
15649 enable_hosted_libstdcxx=no
15652 case "${with_newlib}-${with_headers}" in
15653 no-no) enable_hosted_libstdcxx=no ;;
15654 *) enable_hosted_libstdcxx=yes ;;
15655 esac
15657 esac
15661 # Because most configure args are --enable-libstdcxx-foo add an alias
15662 # of that form for --enable-hosted-libstdcxx.
15663 # Check whether --enable-libstdcxx-hosted was given.
15664 if test "${enable_libstdcxx_hosted+set}" = set; then :
15665 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15666 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15667 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15669 else
15670 enable_hosted_libstdcxx=${enableval}
15676 freestanding_flags=
15677 if test "$enable_hosted_libstdcxx" = no; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15679 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15680 is_hosted=no
15681 hosted_define=0
15682 enable_abi_check=no
15683 enable_libstdcxx_pch=no
15684 if test "x$with_headers" = xno; then
15685 freestanding_flags="-ffreestanding"
15687 else
15688 is_hosted=yes
15689 hosted_define=__STDC_HOSTED__
15693 cat >>confdefs.h <<_ACEOF
15694 #define _GLIBCXX_HOSTED $hosted_define
15695 _ACEOF
15697 FREESTANDING_FLAGS="$freestanding_flags"
15701 # Enable descriptive messages to standard output on termination.
15703 # Check whether --enable-libstdcxx-verbose was given.
15704 if test "${enable_libstdcxx_verbose+set}" = set; then :
15705 enableval=$enable_libstdcxx_verbose;
15706 else
15707 enable_libstdcxx_verbose=yes
15710 if test x"$enable_libstdcxx_verbose" = xyes; then
15711 verbose_define=1
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15714 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15715 verbose_define=0
15718 cat >>confdefs.h <<_ACEOF
15719 #define _GLIBCXX_VERBOSE $verbose_define
15720 _ACEOF
15724 # Enable compiler support that doesn't require linking.
15726 # Check whether --enable-libstdcxx-pch was given.
15727 if test "${enable_libstdcxx_pch+set}" = set; then :
15728 enableval=$enable_libstdcxx_pch;
15729 case "$enableval" in
15730 yes|no) ;;
15731 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15732 esac
15734 else
15735 enable_libstdcxx_pch=$is_hosted
15739 if test $enable_libstdcxx_pch = yes; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15741 $as_echo_n "checking for compiler with PCH support... " >&6; }
15742 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_save_CXXFLAGS="$CXXFLAGS"
15746 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15748 ac_ext=cpp
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15754 echo '#include <math.h>' > conftest.h
15755 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15756 -o conftest.h.gch 1>&5 2>&1 &&
15757 echo '#error "pch failed"' > conftest.h &&
15758 echo '#include "conftest.h"' > conftest.cc &&
15759 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15760 then
15761 glibcxx_cv_prog_CXX_pch=yes
15762 else
15763 glibcxx_cv_prog_CXX_pch=no
15765 rm -f conftest*
15766 CXXFLAGS=$ac_save_CXXFLAGS
15767 ac_ext=c
15768 ac_cpp='$CPP $CPPFLAGS'
15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15776 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15777 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15781 $as_echo_n "checking for enabled PCH... " >&6; }
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15783 $as_echo "$enable_libstdcxx_pch" >&6; }
15786 if test $enable_libstdcxx_pch = yes; then
15787 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15788 else
15789 glibcxx_PCHFLAGS=""
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15795 $as_echo_n "checking for thread model used by GCC... " >&6; }
15796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15798 $as_echo "$target_thread_file" >&6; }
15800 case $target_thread_file in
15801 aix) thread_header=config/rs6000/gthr-aix.h ;;
15802 dce) thread_header=config/pa/gthr-dce.h ;;
15803 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15804 lynx) thread_header=config/gthr-lynx.h ;;
15805 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15806 posix) thread_header=gthr-posix.h ;;
15807 rtems) thread_header=config/gthr-rtems.h ;;
15808 single) thread_header=gthr-single.h ;;
15809 tpf) thread_header=config/s390/gthr-tpf.h ;;
15810 vxworks) thread_header=config/gthr-vxworks.h ;;
15811 win32) thread_header=config/i386/gthr-win32.h ;;
15812 mcf) thread_header=config/i386/gthr-mcf.h ;;
15813 esac
15819 ac_ext=cpp
15820 ac_cpp='$CXXCPP $CPPFLAGS'
15821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15825 old_CXXFLAGS="$CXXFLAGS"
15827 # Do link tests if possible, instead asm tests, limited to some platforms
15828 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15829 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15830 atomic_builtins_link_tests=no
15831 if test x$gcc_no_link != xyes; then
15832 # Can do link tests. Limit to some tested platforms
15833 case "$host" in
15834 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15835 atomic_builtins_link_tests=yes
15837 esac
15840 if test x$atomic_builtins_link_tests = xyes; then
15842 # Do link tests.
15844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15847 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15848 if ${glibcxx_cv_atomic_bool+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15859 main ()
15861 typedef bool atomic_type;
15862 atomic_type c1;
15863 atomic_type c2;
15864 atomic_type c3(0);
15865 // N.B. __atomic_fetch_add is not supported for bool.
15866 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15867 __ATOMIC_RELAXED);
15868 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15869 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_cxx_try_link "$LINENO"; then :
15876 glibcxx_cv_atomic_bool=yes
15877 else
15878 glibcxx_cv_atomic_bool=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15885 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15888 $as_echo_n "checking for atomic builtins for short... " >&6; }
15889 if ${glibcxx_cv_atomic_short+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15893 if test x$gcc_no_link = xyes; then
15894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15900 main ()
15902 typedef short atomic_type;
15903 atomic_type c1;
15904 atomic_type c2;
15905 atomic_type c3(0);
15906 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15907 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15908 __ATOMIC_RELAXED);
15909 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15910 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_cxx_try_link "$LINENO"; then :
15917 glibcxx_cv_atomic_short=yes
15918 else
15919 glibcxx_cv_atomic_short=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15929 $as_echo_n "checking for atomic builtins for int... " >&6; }
15930 if ${glibcxx_cv_atomic_int+:} false; then :
15931 $as_echo_n "(cached) " >&6
15932 else
15934 if test x$gcc_no_link = xyes; then
15935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15941 main ()
15943 typedef int atomic_type;
15944 atomic_type c1;
15945 atomic_type c2;
15946 atomic_type c3(0);
15947 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15948 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15949 __ATOMIC_RELAXED);
15950 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15951 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15954 return 0;
15956 _ACEOF
15957 if ac_fn_cxx_try_link "$LINENO"; then :
15958 glibcxx_cv_atomic_int=yes
15959 else
15960 glibcxx_cv_atomic_int=no
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15967 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15970 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15971 if ${glibcxx_cv_atomic_long_long+:} false; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15975 if test x$gcc_no_link = xyes; then
15976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15982 main ()
15984 typedef long long atomic_type;
15985 atomic_type c1;
15986 atomic_type c2;
15987 atomic_type c3(0);
15988 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15989 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15990 __ATOMIC_RELAXED);
15991 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15992 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15995 return 0;
15997 _ACEOF
15998 if ac_fn_cxx_try_link "$LINENO"; then :
15999 glibcxx_cv_atomic_long_long=yes
16000 else
16001 glibcxx_cv_atomic_long_long=no
16003 rm -f core conftest.err conftest.$ac_objext \
16004 conftest$ac_exeext conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16008 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16010 else
16012 # Do asm tests.
16014 # Compile unoptimized.
16015 CXXFLAGS='-O0 -S'
16017 # Fake what AC_TRY_COMPILE does.
16019 cat > conftest.$ac_ext << EOF
16020 #line 16020 "configure"
16021 int main()
16023 typedef bool atomic_type;
16024 atomic_type c1;
16025 atomic_type c2;
16026 atomic_type c3(0);
16027 // N.B. __atomic_fetch_add is not supported for bool.
16028 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16029 __ATOMIC_RELAXED);
16030 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16031 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16033 return 0;
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16038 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16040 (eval $ac_compile) 2>&5
16041 ac_status=$?
16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16043 test $ac_status = 0; }; then
16044 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16045 glibcxx_cv_atomic_bool=no
16046 else
16047 glibcxx_cv_atomic_bool=yes
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16051 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16052 rm -f conftest*
16054 cat > conftest.$ac_ext << EOF
16055 #line 16055 "configure"
16056 int main()
16058 typedef short atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16073 $as_echo_n "checking for atomic builtins for short... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_short=no
16081 else
16082 glibcxx_cv_atomic_short=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16086 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 // NB: _Atomic_word not necessarily int.
16094 typedef int atomic_type;
16095 atomic_type c1;
16096 atomic_type c2;
16097 atomic_type c3(0);
16098 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16099 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16100 __ATOMIC_RELAXED);
16101 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16102 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16104 return 0;
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16109 $as_echo_n "checking for atomic builtins for int... " >&6; }
16110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16114 test $ac_status = 0; }; then
16115 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16116 glibcxx_cv_atomic_int=no
16117 else
16118 glibcxx_cv_atomic_int=yes
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16122 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16123 rm -f conftest*
16125 cat > conftest.$ac_ext << EOF
16126 #line 16126 "configure"
16127 int main()
16129 typedef long long atomic_type;
16130 atomic_type c1;
16131 atomic_type c2;
16132 atomic_type c3(0);
16133 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16134 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16135 __ATOMIC_RELAXED);
16136 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16137 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16139 return 0;
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16144 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16146 (eval $ac_compile) 2>&5
16147 ac_status=$?
16148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16149 test $ac_status = 0; }; then
16150 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16151 glibcxx_cv_atomic_long_long=no
16152 else
16153 glibcxx_cv_atomic_long_long=yes
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16157 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16158 rm -f conftest*
16162 CXXFLAGS="$old_CXXFLAGS"
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16170 # Set atomicity_dir to builtins if all but the long long test above passes,
16171 # or if the builtins were already chosen (e.g. by configure.host).
16172 if { test "$glibcxx_cv_atomic_bool" = yes \
16173 && test "$glibcxx_cv_atomic_short" = yes \
16174 && test "$glibcxx_cv_atomic_int" = yes; } \
16175 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16179 atomicity_dir=cpu/generic/atomicity_builtins
16182 # If still generic, set to mutex.
16183 if test $atomicity_dir = "cpu/generic" ; then
16184 atomicity_dir=cpu/generic/atomicity_mutex
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16186 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16187 if test "x$target_thread_file" = xsingle; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16189 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16191 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16194 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16196 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16204 # Check whether --with-libstdcxx-lock-policy was given.
16205 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16206 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16207 else
16208 libstdcxx_atomic_lock_policy=auto
16212 case "$libstdcxx_atomic_lock_policy" in
16213 atomic|mutex|auto) ;;
16214 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16215 esac
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16217 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16219 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 ac_save_CXXFLAGS="$CXXFLAGS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 #if defined __riscv
16233 # error "Defaulting to mutex-based locks for ABI compatibility"
16234 #endif
16235 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16236 # error "No 2-byte compare-and-swap"
16237 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16238 # error "No 4-byte compare-and-swap"
16239 #endif
16242 main ()
16246 return 0;
16248 _ACEOF
16249 if ac_fn_cxx_try_compile "$LINENO"; then :
16250 libstdcxx_atomic_lock_policy=atomic
16251 else
16252 libstdcxx_atomic_lock_policy=mutex
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255 ac_ext=c
16256 ac_cpp='$CPP $CPPFLAGS'
16257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 CXXFLAGS="$ac_save_CXXFLAGS"
16264 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16266 $as_echo "atomic" >&6; }
16268 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16270 else
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16272 $as_echo "mutex" >&6; }
16278 # Fake what AC_TRY_COMPILE does, without linking as this is
16279 # unnecessary for this test.
16281 cat > conftest.$ac_ext << EOF
16282 #line 16282 "configure"
16283 int main()
16285 _Decimal32 d1;
16286 _Decimal64 d2;
16287 _Decimal128 d3;
16288 return 0;
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16293 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16295 (eval $ac_compile) 2>&5
16296 ac_status=$?
16297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16298 test $ac_status = 0; }; then
16300 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16302 enable_dfp=yes
16303 else
16304 enable_dfp=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16307 $as_echo "$enable_dfp" >&6; }
16308 rm -f conftest*
16313 ac_ext=cpp
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 # Fake what AC_TRY_COMPILE does, without linking as this is
16321 # unnecessary for this test.
16323 cat > conftest.$ac_ext << EOF
16324 #line 16324 "configure"
16325 template<typename T1, typename T2>
16326 struct same
16327 { typedef T2 type; };
16329 template<typename T>
16330 struct same<T, T>;
16332 int main()
16334 typename same<double, __float128>::type f1;
16335 typename same<long double, __float128>::type f2;
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16340 $as_echo_n "checking for __float128... " >&6; }
16341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342 (eval $ac_compile) 2>&5
16343 ac_status=$?
16344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345 test $ac_status = 0; }; then
16346 enable_float128=yes
16347 else
16348 enable_float128=no
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16351 $as_echo "$enable_float128" >&6; }
16353 rm -f conftest*
16355 ac_ext=c
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 if test "$enable_float128" = yes; then
16363 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16366 # Checks for compiler support that doesn't require linking.
16368 # All these tests are for C++; save the language and the compiler flags.
16369 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16370 # found in GLIBCXX_CONFIGURE.
16372 ac_ext=cpp
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16379 ac_save_CXXFLAGS="$CXXFLAGS"
16381 # Check for -ffunction-sections -fdata-sections
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16383 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16384 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 int foo; void bar() { };
16389 main ()
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_compile "$LINENO"; then :
16397 ac_fdsections=yes
16398 else
16399 ac_fdsections=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 if test "$ac_test_CXXFLAGS" = set; then
16403 CXXFLAGS="$ac_save_CXXFLAGS"
16404 else
16405 # this is the suspicious part
16406 CXXFLAGS=''
16408 if test x"$ac_fdsections" = x"yes"; then
16409 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16412 $as_echo "$ac_fdsections" >&6; }
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423 # Enable all the variable C++ runtime options that don't require linking.
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16426 $as_echo_n "checking for underlying I/O to use... " >&6; }
16427 # Check whether --enable-cstdio was given.
16428 if test "${enable_cstdio+set}" = set; then :
16429 enableval=$enable_cstdio;
16430 case "$enableval" in
16431 stdio|stdio_posix|stdio_pure) ;;
16432 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16433 esac
16435 else
16436 enable_cstdio=stdio
16441 # The only available I/O model is based on stdio, via basic_file_stdio.
16442 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16443 # to get a file descriptor and then uses read(3) and write(3) with it.
16444 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16445 case ${enable_cstdio} in
16446 stdio*)
16447 CSTDIO_H=config/io/c_io_stdio.h
16448 BASIC_FILE_H=config/io/basic_file_stdio.h
16449 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16451 if test "x$enable_cstdio" = "xstdio_pure" ; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16453 $as_echo "stdio (without POSIX read/write)" >&6; }
16455 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16459 $as_echo "stdio (with POSIX read/write)" >&6; }
16462 esac
16469 # Check whether --enable-clocale was given.
16470 if test "${enable_clocale+set}" = set; then :
16471 enableval=$enable_clocale;
16472 case "$enableval" in
16473 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16474 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16475 esac
16477 else
16478 enable_clocale=auto
16483 # Deal with gettext issues. Default to not using it (=no) until we detect
16484 # support for it later. Let the user turn it off via --e/d, but let that
16485 # default to on for easier handling.
16486 USE_NLS=no
16487 # Check whether --enable-nls was given.
16488 if test "${enable_nls+set}" = set; then :
16489 enableval=$enable_nls;
16490 else
16491 enable_nls=yes
16495 # Either a known package, or "auto"
16496 if test $enable_clocale = no || test $enable_clocale = yes; then
16497 enable_clocale=auto
16499 enable_clocale_flag=$enable_clocale
16501 # Probe for locale model to use if none specified.
16502 # Default to "generic".
16503 if test $enable_clocale_flag = auto; then
16504 case ${target_os} in
16505 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16506 enable_clocale_flag=gnu
16508 darwin*)
16509 enable_clocale_flag=darwin
16511 vxworks*)
16512 enable_clocale_flag=vxworks
16514 dragonfly* | freebsd*)
16515 enable_clocale_flag=dragonfly
16517 openbsd*)
16518 enable_clocale_flag=newlib
16521 if test x"$with_newlib" = x"yes"; then
16522 enable_clocale_flag=newlib
16523 else
16524 enable_clocale_flag=generic
16527 esac
16530 # Sanity check model, and test for special functionality.
16531 if test $enable_clocale_flag = gnu; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 #include <features.h>
16536 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16537 _GLIBCXX_ok
16538 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16543 enable_clocale_flag=gnu
16544 else
16545 enable_clocale_flag=generic
16547 rm -f conftest*
16550 # Set it to scream when it hurts.
16551 ac_save_CFLAGS="$CFLAGS"
16552 CFLAGS="-Wimplicit-function-declaration -Werror"
16554 # Use strxfrm_l if available.
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #define _GNU_SOURCE 1
16558 #include <string.h>
16559 #include <locale.h>
16561 main ()
16563 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_compile "$LINENO"; then :
16570 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 # Use strerror_l if available.
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16578 #define _GNU_SOURCE 1
16579 #include <string.h>
16580 #include <locale.h>
16582 main ()
16584 __locale_t loc; strerror_l(5, loc);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16591 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 CFLAGS="$ac_save_CFLAGS"
16599 # Perhaps use strerror_r if available, and strerror_l isn't.
16600 ac_save_CFLAGS="$CFLAGS"
16601 CFLAGS="-Wimplicit-function-declaration -Werror"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #define _GNU_SOURCE 1
16605 #include <string.h>
16606 #include <locale.h>
16608 main ()
16610 char s[128]; strerror_r(5, s, 128);
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_compile "$LINENO"; then :
16617 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 CFLAGS="$ac_save_CFLAGS"
16623 # Set configure bits for specified locale package
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16625 $as_echo_n "checking for C locale to use... " >&6; }
16626 case ${enable_clocale_flag} in
16627 generic)
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16629 $as_echo "generic" >&6; }
16631 CLOCALE_H=config/locale/generic/c_locale.h
16632 CLOCALE_CC=config/locale/generic/c_locale.cc
16633 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634 CCOLLATE_CC=config/locale/generic/collate_members.cc
16635 CCTYPE_CC=config/locale/generic/ctype_members.cc
16636 CMESSAGES_H=config/locale/generic/messages_members.h
16637 CMESSAGES_CC=config/locale/generic/messages_members.cc
16638 CMONEY_CC=config/locale/generic/monetary_members.cc
16639 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640 CTIME_H=config/locale/generic/time_members.h
16641 CTIME_CC=config/locale/generic/time_members.cc
16642 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16644 darwin)
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16646 $as_echo "darwin" >&6; }
16648 CLOCALE_H=config/locale/generic/c_locale.h
16649 CLOCALE_CC=config/locale/generic/c_locale.cc
16650 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16651 CCOLLATE_CC=config/locale/generic/collate_members.cc
16652 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16653 CMESSAGES_H=config/locale/generic/messages_members.h
16654 CMESSAGES_CC=config/locale/generic/messages_members.cc
16655 CMONEY_CC=config/locale/generic/monetary_members.cc
16656 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16657 CTIME_H=config/locale/generic/time_members.h
16658 CTIME_CC=config/locale/generic/time_members.cc
16659 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16661 vxworks)
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16663 $as_echo "vxworks" >&6; }
16665 CLOCALE_H=config/locale/generic/c_locale.h
16666 CLOCALE_CC=config/locale/generic/c_locale.cc
16667 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16668 CCOLLATE_CC=config/locale/generic/collate_members.cc
16669 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16670 CMESSAGES_H=config/locale/generic/messages_members.h
16671 CMESSAGES_CC=config/locale/generic/messages_members.cc
16672 CMONEY_CC=config/locale/generic/monetary_members.cc
16673 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16674 CTIME_H=config/locale/generic/time_members.h
16675 CTIME_CC=config/locale/generic/time_members.cc
16676 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16678 dragonfly)
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16680 $as_echo "dragonfly or freebsd" >&6; }
16682 CLOCALE_H=config/locale/dragonfly/c_locale.h
16683 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16684 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16685 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16686 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16687 CMESSAGES_H=config/locale/generic/messages_members.h
16688 CMESSAGES_CC=config/locale/generic/messages_members.cc
16689 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16690 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16691 CTIME_H=config/locale/dragonfly/time_members.h
16692 CTIME_CC=config/locale/dragonfly/time_members.cc
16693 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16696 gnu)
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16698 $as_echo "gnu" >&6; }
16700 # Declare intention to use gettext, and add support for specific
16701 # languages.
16702 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16703 ALL_LINGUAS="de fr"
16705 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16706 # Extract the first word of "msgfmt", so it can be a program name with args.
16707 set dummy msgfmt; ac_word=$2
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16709 $as_echo_n "checking for $ac_word... " >&6; }
16710 if ${ac_cv_prog_check_msgfmt+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 if test -n "$check_msgfmt"; then
16714 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16715 else
16716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16717 for as_dir in $PATH
16719 IFS=$as_save_IFS
16720 test -z "$as_dir" && as_dir=.
16721 for ac_exec_ext in '' $ac_executable_extensions; do
16722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16723 ac_cv_prog_check_msgfmt="yes"
16724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16725 break 2
16727 done
16728 done
16729 IFS=$as_save_IFS
16731 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16734 check_msgfmt=$ac_cv_prog_check_msgfmt
16735 if test -n "$check_msgfmt"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16737 $as_echo "$check_msgfmt" >&6; }
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16744 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16745 USE_NLS=yes
16747 # Export the build objects.
16748 for ling in $ALL_LINGUAS; do \
16749 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16750 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16751 done
16755 CLOCALE_H=config/locale/gnu/c_locale.h
16756 CLOCALE_CC=config/locale/gnu/c_locale.cc
16757 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16758 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16759 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16760 CMESSAGES_H=config/locale/gnu/messages_members.h
16761 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16762 CMONEY_CC=config/locale/gnu/monetary_members.cc
16763 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16764 CTIME_H=config/locale/gnu/time_members.h
16765 CTIME_CC=config/locale/gnu/time_members.cc
16766 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16768 ieee_1003.1-2001)
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16770 $as_echo "IEEE 1003.1" >&6; }
16772 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16773 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16774 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16775 CCOLLATE_CC=config/locale/generic/collate_members.cc
16776 CCTYPE_CC=config/locale/generic/ctype_members.cc
16777 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16778 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16779 CMONEY_CC=config/locale/generic/monetary_members.cc
16780 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16781 CTIME_H=config/locale/generic/time_members.h
16782 CTIME_CC=config/locale/generic/time_members.cc
16783 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16785 newlib)
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16787 $as_echo "newlib" >&6; }
16789 CLOCALE_H=config/locale/generic/c_locale.h
16790 CLOCALE_CC=config/locale/generic/c_locale.cc
16791 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16792 CCOLLATE_CC=config/locale/generic/collate_members.cc
16793 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16794 CMESSAGES_H=config/locale/generic/messages_members.h
16795 CMESSAGES_CC=config/locale/generic/messages_members.cc
16796 CMONEY_CC=config/locale/generic/monetary_members.cc
16797 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16798 CTIME_H=config/locale/generic/time_members.h
16799 CTIME_CC=config/locale/generic/time_members.cc
16800 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16802 esac
16804 # This is where the testsuite looks for locale catalogs, using the
16805 # -DLOCALEDIR define during testsuite compilation.
16806 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16809 # A standalone libintl (e.g., GNU libintl) may be in use.
16810 if test $USE_NLS = yes; then
16811 for ac_header in libintl.h
16812 do :
16813 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_libintl_h" = xyes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_LIBINTL_H 1
16817 _ACEOF
16819 else
16820 USE_NLS=no
16823 done
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16826 $as_echo_n "checking for library containing gettext... " >&6; }
16827 if ${ac_cv_search_gettext+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_func_search_save_LIBS=$LIBS
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char gettext ();
16842 main ()
16844 return gettext ();
16846 return 0;
16848 _ACEOF
16849 for ac_lib in '' intl; do
16850 if test -z "$ac_lib"; then
16851 ac_res="none required"
16852 else
16853 ac_res=-l$ac_lib
16854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16856 if test x$gcc_no_link = xyes; then
16857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_search_gettext=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext
16864 if ${ac_cv_search_gettext+:} false; then :
16865 break
16867 done
16868 if ${ac_cv_search_gettext+:} false; then :
16870 else
16871 ac_cv_search_gettext=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16877 $as_echo "$ac_cv_search_gettext" >&6; }
16878 ac_res=$ac_cv_search_gettext
16879 if test "$ac_res" != no; then :
16880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16882 else
16883 USE_NLS=no
16887 if test $USE_NLS = yes; then
16889 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16909 $as_echo_n "checking for std::allocator base class... " >&6; }
16910 # Check whether --enable-libstdcxx-allocator was given.
16911 if test "${enable_libstdcxx_allocator+set}" = set; then :
16912 enableval=$enable_libstdcxx_allocator;
16913 case "$enableval" in
16914 new|malloc|yes|no|auto) ;;
16915 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16916 esac
16918 else
16919 enable_libstdcxx_allocator=auto
16924 # If they didn't use this option switch, or if they specified --enable
16925 # with no specific model, we'll have to look for one. If they
16926 # specified --disable (???), do likewise.
16927 if test $enable_libstdcxx_allocator = no ||
16928 test $enable_libstdcxx_allocator = yes;
16929 then
16930 enable_libstdcxx_allocator=auto
16933 # Either a known package, or "auto". Auto implies the default choice
16934 # for a particular platform.
16935 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16937 # Probe for host-specific support if no specific model is specified.
16938 # Default to "new".
16939 if test $enable_libstdcxx_allocator_flag = auto; then
16940 case ${target_os} in
16941 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16942 enable_libstdcxx_allocator_flag=new
16945 enable_libstdcxx_allocator_flag=new
16947 esac
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16950 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16953 # Set configure bits for specified locale package
16954 case ${enable_libstdcxx_allocator_flag} in
16955 malloc)
16956 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16957 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16959 new)
16960 ALLOCATOR_H=config/allocator/new_allocator_base.h
16961 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16963 esac
16970 # Check whether --enable-cheaders-obsolete was given.
16971 if test "${enable_cheaders_obsolete+set}" = set; then :
16972 enableval=$enable_cheaders_obsolete;
16973 case "$enableval" in
16974 yes|no) ;;
16975 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16976 esac
16978 else
16979 enable_cheaders_obsolete=no
16983 # Check whether --enable-cheaders was given.
16984 if test "${enable_cheaders+set}" = set; then :
16985 enableval=$enable_cheaders;
16986 case "$enableval" in
16987 c|c_global|c_std) ;;
16988 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16989 esac
16991 else
16992 enable_cheaders=$c_model
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16997 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16998 if test $enable_cheaders = c_std ; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17000 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17002 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17003 if test $enable_cheaders_obsolete != yes ; then
17004 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17008 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17010 # Allow overrides to configure.host here.
17011 if test $enable_cheaders = c_global; then
17012 c_compatibility=yes
17021 # Check whether --enable-long-long was given.
17022 if test "${enable_long_long+set}" = set; then :
17023 enableval=$enable_long_long;
17024 case "$enableval" in
17025 yes|no) ;;
17026 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17027 esac
17029 else
17030 enable_long_long=yes
17034 if test $enable_long_long = yes; then
17036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17040 $as_echo_n "checking for enabled long long specializations... " >&6; }
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17042 $as_echo "$enable_long_long" >&6; }
17045 # Check whether --enable-wchar_t was given.
17046 if test "${enable_wchar_t+set}" = set; then :
17047 enableval=$enable_wchar_t;
17048 case "$enableval" in
17049 yes|no) ;;
17050 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17051 esac
17053 else
17054 enable_wchar_t=yes
17059 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17060 for ac_header in wchar.h
17061 do :
17062 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17063 if test "x$ac_cv_header_wchar_h" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_WCHAR_H 1
17066 _ACEOF
17067 ac_has_wchar_h=yes
17068 else
17069 ac_has_wchar_h=no
17072 done
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17075 $as_echo_n "checking for mbstate_t... " >&6; }
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <wchar.h>
17080 main ()
17082 mbstate_t teststate;
17084 return 0;
17086 _ACEOF
17087 if ac_fn_c_try_compile "$LINENO"; then :
17088 have_mbstate_t=yes
17089 else
17090 have_mbstate_t=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17094 $as_echo "$have_mbstate_t" >&6; }
17095 if test x"$have_mbstate_t" = xyes; then
17097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17101 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17102 # ac_has_wchar_h.
17103 for ac_header in wctype.h
17104 do :
17105 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_wctype_h" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_WCTYPE_H 1
17109 _ACEOF
17110 ac_has_wctype_h=yes
17111 else
17112 ac_has_wctype_h=no
17115 done
17118 if test x"$enable_wchar_t" = x"yes"; then
17121 ac_ext=cpp
17122 ac_cpp='$CXXCPP $CPPFLAGS'
17123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 if test x"$ac_has_wchar_h" = xyes &&
17129 test x"$ac_has_wctype_h" = xyes; then
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 #include <stddef.h>
17134 wint_t i;
17135 long l = WEOF;
17136 long j = WCHAR_MIN;
17137 long k = WCHAR_MAX;
17138 namespace test
17140 using ::btowc;
17141 using ::fgetwc;
17142 using ::fgetws;
17143 using ::fputwc;
17144 using ::fputws;
17145 using ::fwide;
17146 using ::fwprintf;
17147 using ::fwscanf;
17148 using ::getwc;
17149 using ::getwchar;
17150 using ::mbrlen;
17151 using ::mbrtowc;
17152 using ::mbsinit;
17153 using ::mbsrtowcs;
17154 using ::putwc;
17155 using ::putwchar;
17156 using ::swprintf;
17157 using ::swscanf;
17158 using ::ungetwc;
17159 using ::vfwprintf;
17160 using ::vswprintf;
17161 using ::vwprintf;
17162 using ::wcrtomb;
17163 using ::wcscat;
17164 using ::wcschr;
17165 using ::wcscmp;
17166 using ::wcscoll;
17167 using ::wcscpy;
17168 using ::wcscspn;
17169 using ::wcsftime;
17170 using ::wcslen;
17171 using ::wcsncat;
17172 using ::wcsncmp;
17173 using ::wcsncpy;
17174 using ::wcspbrk;
17175 using ::wcsrchr;
17176 using ::wcsrtombs;
17177 using ::wcsspn;
17178 using ::wcsstr;
17179 using ::wcstod;
17180 using ::wcstok;
17181 using ::wcstol;
17182 using ::wcstoul;
17183 using ::wcsxfrm;
17184 using ::wctob;
17185 using ::wmemchr;
17186 using ::wmemcmp;
17187 using ::wmemcpy;
17188 using ::wmemmove;
17189 using ::wmemset;
17190 using ::wprintf;
17191 using ::wscanf;
17195 main ()
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 else
17205 enable_wchar_t=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 else
17209 enable_wchar_t=no
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 if test x"$enable_wchar_t" = x"yes"; then
17222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17229 $as_echo "$enable_wchar_t" >&6; }
17233 # Check whether --enable-c99 was given.
17234 if test "${enable_c99+set}" = set; then :
17235 enableval=$enable_c99;
17236 case "$enableval" in
17237 yes|no) ;;
17238 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17239 esac
17241 else
17242 enable_c99=yes
17247 if test x"$enable_c99" = x"yes"; then
17249 ac_ext=cpp
17250 ac_cpp='$CXXCPP $CPPFLAGS'
17251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17256 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17257 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17258 # to be spuriously enabled.
17259 ac_save_CXXFLAGS="$CXXFLAGS"
17260 CXXFLAGS="$CXXFLAGS -std=c++98"
17261 ac_save_LIBS="$LIBS"
17262 ac_save_gcc_no_link="$gcc_no_link"
17264 if test x$gcc_no_link != xyes; then
17265 # Use -fno-exceptions to that the C driver can link these tests without
17266 # hitting undefined references to personality routines.
17267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17269 $as_echo_n "checking for sin in -lm... " >&6; }
17270 if ${ac_cv_lib_m_sin+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char sin ();
17289 main ()
17291 return sin ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_cxx_try_link "$LINENO"; then :
17297 ac_cv_lib_m_sin=yes
17298 else
17299 ac_cv_lib_m_sin=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17306 $as_echo "$ac_cv_lib_m_sin" >&6; }
17307 if test "x$ac_cv_lib_m_sin" = xyes; then :
17308 LIBS="$LIBS -lm"
17309 else
17311 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17312 gcc_no_link=yes
17318 # Check for the existence of <math.h> functions used if C99 is enabled.
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17320 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17321 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17325 if test x$gcc_no_link = xyes; then
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17332 main ()
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 if test x$gcc_no_link = xyes; then
17360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <math.h>
17365 volatile double d1, d2;
17366 volatile int i;
17368 main ()
17370 i = fpclassify(d1);
17371 i = isfinite(d1);
17372 i = isinf(d1);
17373 i = isnan(d1);
17374 i = isnormal(d1);
17375 i = signbit(d1);
17376 i = isgreater(d1, d2);
17377 i = isgreaterequal(d1, d2);
17378 i = isless(d1, d2);
17379 i = islessequal(d1, d2);
17380 i = islessgreater(d1, d2);
17381 i = islessgreater(d1, d2);
17382 i = isunordered(d1, d2);
17385 return 0;
17387 _ACEOF
17388 if ac_fn_cxx_try_link "$LINENO"; then :
17389 glibcxx_cv_c99_math_cxx98=yes
17390 else
17391 glibcxx_cv_c99_math_cxx98=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17399 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17400 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17402 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17406 # Check for the existence of <complex.h> complex math functions.
17407 # This is necessary even though libstdc++ uses the builtin versions
17408 # of these functions, because if the builtin cannot be used, a reference
17409 # to the library function is emitted.
17410 for ac_header in tgmath.h
17411 do :
17412 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17413 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_TGMATH_H 1
17416 _ACEOF
17417 ac_has_tgmath_h=yes
17418 else
17419 ac_has_tgmath_h=no
17422 done
17424 for ac_header in complex.h
17425 do :
17426 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17427 if test "x$ac_cv_header_complex_h" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_COMPLEX_H 1
17430 _ACEOF
17431 ac_has_complex_h=yes
17432 else
17433 ac_has_complex_h=no
17436 done
17438 if test x"$ac_has_complex_h" = x"yes"; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17440 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17441 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17445 if test x$gcc_no_link = xyes; then
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <complex.h>
17449 typedef __complex__ float float_type;
17450 typedef __complex__ double double_type;
17451 typedef __complex__ long double ld_type;
17452 volatile float_type tmpf;
17453 volatile double_type tmpd;
17454 volatile ld_type tmpld;
17455 volatile float f;
17456 volatile double d;
17457 volatile long double ld;
17459 main ()
17461 f = cabsf(tmpf);
17462 f = cargf(tmpf);
17463 tmpf = ccosf(tmpf);
17464 tmpf = ccoshf(tmpf);
17465 tmpf = cexpf(tmpf);
17466 tmpf = clogf(tmpf);
17467 tmpf = csinf(tmpf);
17468 tmpf = csinhf(tmpf);
17469 tmpf = csqrtf(tmpf);
17470 tmpf = ctanf(tmpf);
17471 tmpf = ctanhf(tmpf);
17472 tmpf = cpowf(tmpf, tmpf);
17473 tmpf = cprojf(tmpf);
17474 d = cabs(tmpd);
17475 d = carg(tmpd);
17476 tmpd = ccos(tmpd);
17477 tmpd = ccosh(tmpd);
17478 tmpd = cexp(tmpd);
17479 tmpd = clog(tmpd);
17480 tmpd = csin(tmpd);
17481 tmpd = csinh(tmpd);
17482 tmpd = csqrt(tmpd);
17483 tmpd = ctan(tmpd);
17484 tmpd = ctanh(tmpd);
17485 tmpd = cpow(tmpd, tmpd);
17486 tmpd = cproj(tmpd);
17487 ld = cabsl(tmpld);
17488 ld = cargl(tmpld);
17489 tmpld = ccosl(tmpld);
17490 tmpld = ccoshl(tmpld);
17491 tmpld = cexpl(tmpld);
17492 tmpld = clogl(tmpld);
17493 tmpld = csinl(tmpld);
17494 tmpld = csinhl(tmpld);
17495 tmpld = csqrtl(tmpld);
17496 tmpld = ctanl(tmpld);
17497 tmpld = ctanhl(tmpld);
17498 tmpld = cpowl(tmpld, tmpld);
17499 tmpld = cprojl(tmpld);
17502 return 0;
17504 _ACEOF
17505 if ac_fn_cxx_try_compile "$LINENO"; then :
17506 glibcxx_cv_c99_complex_cxx98=yes
17507 else
17508 glibcxx_cv_c99_complex_cxx98=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 else
17512 if test x$gcc_no_link = xyes; then
17513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <complex.h>
17518 typedef __complex__ float float_type;
17519 typedef __complex__ double double_type;
17520 typedef __complex__ long double ld_type;
17521 volatile float_type tmpf;
17522 volatile double_type tmpd;
17523 volatile ld_type tmpld;
17524 volatile float f;
17525 volatile double d;
17526 volatile long double ld;
17528 main ()
17530 f = cabsf(tmpf);
17531 f = cargf(tmpf);
17532 tmpf = ccosf(tmpf);
17533 tmpf = ccoshf(tmpf);
17534 tmpf = cexpf(tmpf);
17535 tmpf = clogf(tmpf);
17536 tmpf = csinf(tmpf);
17537 tmpf = csinhf(tmpf);
17538 tmpf = csqrtf(tmpf);
17539 tmpf = ctanf(tmpf);
17540 tmpf = ctanhf(tmpf);
17541 tmpf = cpowf(tmpf, tmpf);
17542 tmpf = cprojf(tmpf);
17543 d = cabs(tmpd);
17544 d = carg(tmpd);
17545 tmpd = ccos(tmpd);
17546 tmpd = ccosh(tmpd);
17547 tmpd = cexp(tmpd);
17548 tmpd = clog(tmpd);
17549 tmpd = csin(tmpd);
17550 tmpd = csinh(tmpd);
17551 tmpd = csqrt(tmpd);
17552 tmpd = ctan(tmpd);
17553 tmpd = ctanh(tmpd);
17554 tmpd = cpow(tmpd, tmpd);
17555 tmpd = cproj(tmpd);
17556 ld = cabsl(tmpld);
17557 ld = cargl(tmpld);
17558 tmpld = ccosl(tmpld);
17559 tmpld = ccoshl(tmpld);
17560 tmpld = cexpl(tmpld);
17561 tmpld = clogl(tmpld);
17562 tmpld = csinl(tmpld);
17563 tmpld = csinhl(tmpld);
17564 tmpld = csqrtl(tmpld);
17565 tmpld = ctanl(tmpld);
17566 tmpld = ctanhl(tmpld);
17567 tmpld = cpowl(tmpld, tmpld);
17568 tmpld = cprojl(tmpld);
17571 return 0;
17573 _ACEOF
17574 if ac_fn_cxx_try_link "$LINENO"; then :
17575 glibcxx_cv_c99_complex_cxx98=yes
17576 else
17577 glibcxx_cv_c99_complex_cxx98=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17585 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17587 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17589 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17593 # Check for the existence in <stdio.h> of vscanf, et. al.
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17595 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17596 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17600 if test x$gcc_no_link = xyes; then
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <stdio.h>
17604 #include <stdarg.h>
17605 void foo(char* fmt, ...)
17607 va_list args; va_start(args, fmt);
17608 vfscanf(stderr, "%i", args);
17609 vscanf("%i", args);
17610 vsnprintf(fmt, 0, "%i", args);
17611 vsscanf(fmt, "%i", args);
17612 snprintf(fmt, 0, "%i");
17615 main ()
17619 return 0;
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623 glibcxx_cv_c99_stdio_cxx98=yes
17624 else
17625 glibcxx_cv_c99_stdio_cxx98=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 else
17629 if test x$gcc_no_link = xyes; then
17630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <stdio.h>
17635 #include <stdarg.h>
17636 void foo(char* fmt, ...)
17638 va_list args; va_start(args, fmt);
17639 vfscanf(stderr, "%i", args);
17640 vscanf("%i", args);
17641 vsnprintf(fmt, 0, "%i", args);
17642 vsscanf(fmt, "%i", args);
17643 snprintf(fmt, 0, "%i");
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_cxx_try_link "$LINENO"; then :
17654 glibcxx_cv_c99_stdio_cxx98=yes
17655 else
17656 glibcxx_cv_c99_stdio_cxx98=no
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17664 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17665 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17667 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17671 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17673 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17674 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 if test x$gcc_no_link = xyes; then
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17687 main ()
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_compile "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 else
17712 if test x$gcc_no_link = xyes; then
17713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 volatile float f;
17719 volatile long double ld;
17720 volatile unsigned long long ll;
17721 lldiv_t mydivt;
17723 main ()
17725 char* tmp;
17726 f = strtof("gnu", &tmp);
17727 ld = strtold("gnu", &tmp);
17728 ll = strtoll("gnu", &tmp, 10);
17729 ll = strtoull("gnu", &tmp, 10);
17730 ll = llabs(10);
17731 mydivt = lldiv(10,1);
17732 ll = mydivt.quot;
17733 ll = mydivt.rem;
17734 ll = atoll("10");
17735 _Exit(0);
17738 return 0;
17740 _ACEOF
17741 if ac_fn_cxx_try_link "$LINENO"; then :
17742 glibcxx_cv_c99_stdlib_cxx98=yes
17743 else
17744 glibcxx_cv_c99_stdlib_cxx98=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17752 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17753 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17755 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17759 # Check for the existence in <wchar.h> of wcstold, etc.
17760 if test x"$ac_has_wchar_h" = xyes &&
17761 test x"$ac_has_wctype_h" = xyes; then
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17763 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17764 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test
17773 using ::wcstold;
17774 using ::wcstoll;
17775 using ::wcstoull;
17779 main ()
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787 glibcxx_cv_c99_wchar_cxx98=yes
17788 else
17789 glibcxx_cv_c99_wchar_cxx98=no
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17795 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17797 # Checks for wide character functions that may not be present.
17798 # Injection of these is wrapped with guard macros.
17799 # NB: only put functions here, instead of immediately above, if
17800 # absolutely necessary.
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #include <wchar.h>
17804 namespace test { using ::vfwscanf; }
17806 main ()
17810 return 0;
17812 _ACEOF
17813 if ac_fn_cxx_try_compile "$LINENO"; then :
17815 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <wchar.h>
17823 namespace test { using ::vswscanf; }
17825 main ()
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_compile "$LINENO"; then :
17834 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vwscanf; }
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17853 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::wcstof; }
17863 main ()
17867 return 0;
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17872 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wctype.h>
17881 main ()
17883 wint_t t; int i = iswblank(t);
17885 return 0;
17887 _ACEOF
17888 if ac_fn_cxx_try_compile "$LINENO"; then :
17890 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17897 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17902 # Option parsed, now set things appropriately.
17903 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17904 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17905 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17906 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17907 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17908 enable_c99=no;
17909 else
17911 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17915 gcc_no_link="$ac_save_gcc_no_link"
17916 LIBS="$ac_save_LIBS"
17917 CXXFLAGS="$ac_save_CXXFLAGS"
17918 ac_ext=c
17919 ac_cpp='$CPP $CPPFLAGS'
17920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926 ac_ext=cpp
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17933 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17934 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17935 ac_save_CXXFLAGS="$CXXFLAGS"
17936 CXXFLAGS="$CXXFLAGS -std=c++11"
17937 ac_save_LIBS="$LIBS"
17938 ac_save_gcc_no_link="$gcc_no_link"
17940 if test x$gcc_no_link != xyes; then
17941 # Use -fno-exceptions to that the C driver can link these tests without
17942 # hitting undefined references to personality routines.
17943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17945 $as_echo_n "checking for sin in -lm... " >&6; }
17946 if ${ac_cv_lib_m_sin+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_check_lib_save_LIBS=$LIBS
17950 LIBS="-lm $LIBS"
17951 if test x$gcc_no_link = xyes; then
17952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char sin ();
17965 main ()
17967 return sin ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 ac_cv_lib_m_sin=yes
17974 else
17975 ac_cv_lib_m_sin=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17982 $as_echo "$ac_cv_lib_m_sin" >&6; }
17983 if test "x$ac_cv_lib_m_sin" = xyes; then :
17984 LIBS="$LIBS -lm"
17985 else
17987 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17988 gcc_no_link=yes
17994 # Check for the existence of <math.h> functions used if C99 is enabled.
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17996 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17997 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18001 if test x$gcc_no_link = xyes; then
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <math.h>
18005 volatile double d1, d2;
18006 volatile int i;
18008 main ()
18010 i = fpclassify(d1);
18011 i = isfinite(d1);
18012 i = isinf(d1);
18013 i = isnan(d1);
18014 i = isnormal(d1);
18015 i = signbit(d1);
18016 i = isgreater(d1, d2);
18017 i = isgreaterequal(d1, d2);
18018 i = isless(d1, d2);
18019 i = islessequal(d1, d2);
18020 i = islessgreater(d1, d2);
18021 i = islessgreater(d1, d2);
18022 i = isunordered(d1, d2);
18025 return 0;
18027 _ACEOF
18028 if ac_fn_cxx_try_compile "$LINENO"; then :
18029 glibcxx_cv_c99_math_cxx11=yes
18030 else
18031 glibcxx_cv_c99_math_cxx11=no
18033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18034 else
18035 if test x$gcc_no_link = xyes; then
18036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18040 #include <math.h>
18041 volatile double d1, d2;
18042 volatile int i;
18044 main ()
18046 i = fpclassify(d1);
18047 i = isfinite(d1);
18048 i = isinf(d1);
18049 i = isnan(d1);
18050 i = isnormal(d1);
18051 i = signbit(d1);
18052 i = isgreater(d1, d2);
18053 i = isgreaterequal(d1, d2);
18054 i = isless(d1, d2);
18055 i = islessequal(d1, d2);
18056 i = islessgreater(d1, d2);
18057 i = islessgreater(d1, d2);
18058 i = isunordered(d1, d2);
18061 return 0;
18063 _ACEOF
18064 if ac_fn_cxx_try_link "$LINENO"; then :
18065 glibcxx_cv_c99_math_cxx11=yes
18066 else
18067 glibcxx_cv_c99_math_cxx11=no
18069 rm -f core conftest.err conftest.$ac_objext \
18070 conftest$ac_exeext conftest.$ac_ext
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18075 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18076 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18078 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18082 # Check for the existence of <complex.h> complex math functions.
18083 # This is necessary even though libstdc++ uses the builtin versions
18084 # of these functions, because if the builtin cannot be used, a reference
18085 # to the library function is emitted.
18086 for ac_header in tgmath.h
18087 do :
18088 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18089 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18090 cat >>confdefs.h <<_ACEOF
18091 #define HAVE_TGMATH_H 1
18092 _ACEOF
18093 ac_has_tgmath_h=yes
18094 else
18095 ac_has_tgmath_h=no
18098 done
18100 for ac_header in complex.h
18101 do :
18102 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18103 if test "x$ac_cv_header_complex_h" = xyes; then :
18104 cat >>confdefs.h <<_ACEOF
18105 #define HAVE_COMPLEX_H 1
18106 _ACEOF
18107 ac_has_complex_h=yes
18108 else
18109 ac_has_complex_h=no
18112 done
18114 if test x"$ac_has_complex_h" = x"yes"; then
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18116 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18117 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18118 $as_echo_n "(cached) " >&6
18119 else
18121 if test x$gcc_no_link = xyes; then
18122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <complex.h>
18125 typedef __complex__ float float_type;
18126 typedef __complex__ double double_type;
18127 typedef __complex__ long double ld_type;
18128 volatile float_type tmpf;
18129 volatile double_type tmpd;
18130 volatile ld_type tmpld;
18131 volatile float f;
18132 volatile double d;
18133 volatile long double ld;
18135 main ()
18137 f = cabsf(tmpf);
18138 f = cargf(tmpf);
18139 tmpf = ccosf(tmpf);
18140 tmpf = ccoshf(tmpf);
18141 tmpf = cexpf(tmpf);
18142 tmpf = clogf(tmpf);
18143 tmpf = csinf(tmpf);
18144 tmpf = csinhf(tmpf);
18145 tmpf = csqrtf(tmpf);
18146 tmpf = ctanf(tmpf);
18147 tmpf = ctanhf(tmpf);
18148 tmpf = cpowf(tmpf, tmpf);
18149 tmpf = cprojf(tmpf);
18150 d = cabs(tmpd);
18151 d = carg(tmpd);
18152 tmpd = ccos(tmpd);
18153 tmpd = ccosh(tmpd);
18154 tmpd = cexp(tmpd);
18155 tmpd = clog(tmpd);
18156 tmpd = csin(tmpd);
18157 tmpd = csinh(tmpd);
18158 tmpd = csqrt(tmpd);
18159 tmpd = ctan(tmpd);
18160 tmpd = ctanh(tmpd);
18161 tmpd = cpow(tmpd, tmpd);
18162 tmpd = cproj(tmpd);
18163 ld = cabsl(tmpld);
18164 ld = cargl(tmpld);
18165 tmpld = ccosl(tmpld);
18166 tmpld = ccoshl(tmpld);
18167 tmpld = cexpl(tmpld);
18168 tmpld = clogl(tmpld);
18169 tmpld = csinl(tmpld);
18170 tmpld = csinhl(tmpld);
18171 tmpld = csqrtl(tmpld);
18172 tmpld = ctanl(tmpld);
18173 tmpld = ctanhl(tmpld);
18174 tmpld = cpowl(tmpld, tmpld);
18175 tmpld = cprojl(tmpld);
18178 return 0;
18180 _ACEOF
18181 if ac_fn_cxx_try_compile "$LINENO"; then :
18182 glibcxx_cv_c99_complex_cxx11=yes
18183 else
18184 glibcxx_cv_c99_complex_cxx11=no
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18187 else
18188 if test x$gcc_no_link = xyes; then
18189 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18193 #include <complex.h>
18194 typedef __complex__ float float_type;
18195 typedef __complex__ double double_type;
18196 typedef __complex__ long double ld_type;
18197 volatile float_type tmpf;
18198 volatile double_type tmpd;
18199 volatile ld_type tmpld;
18200 volatile float f;
18201 volatile double d;
18202 volatile long double ld;
18204 main ()
18206 f = cabsf(tmpf);
18207 f = cargf(tmpf);
18208 tmpf = ccosf(tmpf);
18209 tmpf = ccoshf(tmpf);
18210 tmpf = cexpf(tmpf);
18211 tmpf = clogf(tmpf);
18212 tmpf = csinf(tmpf);
18213 tmpf = csinhf(tmpf);
18214 tmpf = csqrtf(tmpf);
18215 tmpf = ctanf(tmpf);
18216 tmpf = ctanhf(tmpf);
18217 tmpf = cpowf(tmpf, tmpf);
18218 tmpf = cprojf(tmpf);
18219 d = cabs(tmpd);
18220 d = carg(tmpd);
18221 tmpd = ccos(tmpd);
18222 tmpd = ccosh(tmpd);
18223 tmpd = cexp(tmpd);
18224 tmpd = clog(tmpd);
18225 tmpd = csin(tmpd);
18226 tmpd = csinh(tmpd);
18227 tmpd = csqrt(tmpd);
18228 tmpd = ctan(tmpd);
18229 tmpd = ctanh(tmpd);
18230 tmpd = cpow(tmpd, tmpd);
18231 tmpd = cproj(tmpd);
18232 ld = cabsl(tmpld);
18233 ld = cargl(tmpld);
18234 tmpld = ccosl(tmpld);
18235 tmpld = ccoshl(tmpld);
18236 tmpld = cexpl(tmpld);
18237 tmpld = clogl(tmpld);
18238 tmpld = csinl(tmpld);
18239 tmpld = csinhl(tmpld);
18240 tmpld = csqrtl(tmpld);
18241 tmpld = ctanl(tmpld);
18242 tmpld = ctanhl(tmpld);
18243 tmpld = cpowl(tmpld, tmpld);
18244 tmpld = cprojl(tmpld);
18247 return 0;
18249 _ACEOF
18250 if ac_fn_cxx_try_link "$LINENO"; then :
18251 glibcxx_cv_c99_complex_cxx11=yes
18252 else
18253 glibcxx_cv_c99_complex_cxx11=no
18255 rm -f core conftest.err conftest.$ac_objext \
18256 conftest$ac_exeext conftest.$ac_ext
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18261 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18263 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18265 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18269 # Check for the existence in <stdio.h> of vscanf, et. al.
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18271 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18272 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18273 $as_echo_n "(cached) " >&6
18274 else
18276 if test x$gcc_no_link = xyes; then
18277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18279 #include <stdio.h>
18280 #include <stdarg.h>
18281 void foo(char* fmt, ...)
18283 va_list args; va_start(args, fmt);
18284 vfscanf(stderr, "%i", args);
18285 vscanf("%i", args);
18286 vsnprintf(fmt, 0, "%i", args);
18287 vsscanf(fmt, "%i", args);
18288 snprintf(fmt, 0, "%i");
18291 main ()
18295 return 0;
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299 glibcxx_cv_c99_stdio_cxx11=yes
18300 else
18301 glibcxx_cv_c99_stdio_cxx11=no
18303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18304 else
18305 if test x$gcc_no_link = xyes; then
18306 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18310 #include <stdio.h>
18311 #include <stdarg.h>
18312 void foo(char* fmt, ...)
18314 va_list args; va_start(args, fmt);
18315 vfscanf(stderr, "%i", args);
18316 vscanf("%i", args);
18317 vsnprintf(fmt, 0, "%i", args);
18318 vsscanf(fmt, "%i", args);
18319 snprintf(fmt, 0, "%i");
18322 main ()
18326 return 0;
18328 _ACEOF
18329 if ac_fn_cxx_try_link "$LINENO"; then :
18330 glibcxx_cv_c99_stdio_cxx11=yes
18331 else
18332 glibcxx_cv_c99_stdio_cxx11=no
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext conftest.$ac_ext
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18340 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18341 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18343 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18347 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18349 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18350 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18351 $as_echo_n "(cached) " >&6
18352 else
18354 if test x$gcc_no_link = xyes; then
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #include <stdlib.h>
18358 volatile float f;
18359 volatile long double ld;
18360 volatile unsigned long long ll;
18361 lldiv_t mydivt;
18363 main ()
18365 char* tmp;
18366 f = strtof("gnu", &tmp);
18367 ld = strtold("gnu", &tmp);
18368 ll = strtoll("gnu", &tmp, 10);
18369 ll = strtoull("gnu", &tmp, 10);
18370 ll = llabs(10);
18371 mydivt = lldiv(10,1);
18372 ll = mydivt.quot;
18373 ll = mydivt.rem;
18374 ll = atoll("10");
18375 _Exit(0);
18378 return 0;
18380 _ACEOF
18381 if ac_fn_cxx_try_compile "$LINENO"; then :
18382 glibcxx_cv_c99_stdlib_cxx11=yes
18383 else
18384 glibcxx_cv_c99_stdlib_cxx11=no
18386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 else
18388 if test x$gcc_no_link = xyes; then
18389 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 #include <stdlib.h>
18394 volatile float f;
18395 volatile long double ld;
18396 volatile unsigned long long ll;
18397 lldiv_t mydivt;
18399 main ()
18401 char* tmp;
18402 f = strtof("gnu", &tmp);
18403 ld = strtold("gnu", &tmp);
18404 ll = strtoll("gnu", &tmp, 10);
18405 ll = strtoull("gnu", &tmp, 10);
18406 ll = llabs(10);
18407 mydivt = lldiv(10,1);
18408 ll = mydivt.quot;
18409 ll = mydivt.rem;
18410 ll = atoll("10");
18411 _Exit(0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_c99_stdlib_cxx11=yes
18419 else
18420 glibcxx_cv_c99_stdlib_cxx11=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18428 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18429 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18431 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18435 # Check for the existence in <wchar.h> of wcstold, etc.
18436 if test x"$ac_has_wchar_h" = xyes &&
18437 test x"$ac_has_wctype_h" = xyes; then
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18439 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18440 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18441 $as_echo_n "(cached) " >&6
18442 else
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <wchar.h>
18447 namespace test
18449 using ::wcstold;
18450 using ::wcstoll;
18451 using ::wcstoull;
18455 main ()
18459 return 0;
18461 _ACEOF
18462 if ac_fn_cxx_try_compile "$LINENO"; then :
18463 glibcxx_cv_c99_wchar_cxx11=yes
18464 else
18465 glibcxx_cv_c99_wchar_cxx11=no
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18471 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18473 # Checks for wide character functions that may not be present.
18474 # Injection of these is wrapped with guard macros.
18475 # NB: only put functions here, instead of immediately above, if
18476 # absolutely necessary.
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479 #include <wchar.h>
18480 namespace test { using ::vfwscanf; }
18482 main ()
18486 return 0;
18488 _ACEOF
18489 if ac_fn_cxx_try_compile "$LINENO"; then :
18491 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 #include <wchar.h>
18499 namespace test { using ::vswscanf; }
18501 main ()
18505 return 0;
18507 _ACEOF
18508 if ac_fn_cxx_try_compile "$LINENO"; then :
18510 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <wchar.h>
18518 namespace test { using ::vwscanf; }
18520 main ()
18524 return 0;
18526 _ACEOF
18527 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18536 #include <wchar.h>
18537 namespace test { using ::wcstof; }
18539 main ()
18543 return 0;
18545 _ACEOF
18546 if ac_fn_cxx_try_compile "$LINENO"; then :
18548 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #include <wctype.h>
18557 main ()
18559 wint_t t; int i = iswblank(t);
18561 return 0;
18563 _ACEOF
18564 if ac_fn_cxx_try_compile "$LINENO"; then :
18566 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18573 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18578 gcc_no_link="$ac_save_gcc_no_link"
18579 LIBS="$ac_save_LIBS"
18580 CXXFLAGS="$ac_save_CXXFLAGS"
18581 ac_ext=c
18582 ac_cpp='$CPP $CPPFLAGS'
18583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18590 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18592 $as_echo "$enable_c99" >&6; }
18595 # Check whether --enable-concept-checks was given.
18596 if test "${enable_concept_checks+set}" = set; then :
18597 enableval=$enable_concept_checks;
18598 case "$enableval" in
18599 yes|no) ;;
18600 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18601 esac
18603 else
18604 enable_concept_checks=no
18608 if test $enable_concept_checks = yes; then
18610 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18615 # Check whether --enable-libstdcxx-debug-flags was given.
18616 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18617 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18618 xno | x) enable_libstdcxx_debug_flags= ;;
18619 x-*) ;;
18620 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18621 esac
18622 else
18623 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18628 # Option parsed, now set things appropriately
18629 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18633 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18637 $as_echo_n "checking for additional debug build... " >&6; }
18638 skip_debug_build=
18639 # Check whether --enable-libstdcxx-debug was given.
18640 if test "${enable_libstdcxx_debug+set}" = set; then :
18641 enableval=$enable_libstdcxx_debug;
18642 case "$enableval" in
18643 yes|no) ;;
18644 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18645 esac
18647 else
18648 enable_libstdcxx_debug=no
18652 if test x$enable_libstdcxx_debug = xyes; then
18653 if test -f $toplevel_builddir/../stage_final \
18654 && test -f $toplevel_builddir/../stage_current; then
18655 stage_final=`cat $toplevel_builddir/../stage_final`
18656 stage_current=`cat $toplevel_builddir/../stage_current`
18657 if test x$stage_current != x$stage_final ; then
18658 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18659 enable_libstdcxx_debug=no
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18664 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18669 enable_parallel=no;
18671 # See if configured libgomp/omp.h exists. (libgomp may be in
18672 # noconfigdirs but not explicitly disabled.)
18673 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18674 enable_parallel=yes;
18675 else
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18677 $as_echo "$as_me: target-libgomp not built" >&6;}
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18681 $as_echo_n "checking for parallel mode support... " >&6; }
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18683 $as_echo "$enable_parallel" >&6; }
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18686 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18687 # Check whether --enable-cxx-flags was given.
18688 if test "${enable_cxx_flags+set}" = set; then :
18689 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18690 xno | x) enable_cxx_flags= ;;
18691 x-*) ;;
18692 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18693 esac
18694 else
18695 enable_cxx_flags=
18700 # Run through flags (either default or command-line) and set anything
18701 # extra (e.g., #defines) that must accompany particular g++ options.
18702 if test -n "$enable_cxx_flags"; then
18703 for f in $enable_cxx_flags; do
18704 case "$f" in
18705 -fhonor-std) ;;
18706 -*) ;;
18707 *) # and we're trying to pass /what/ exactly?
18708 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18709 esac
18710 done
18713 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18715 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18719 # Check whether --enable-fully-dynamic-string was given.
18720 if test "${enable_fully_dynamic_string+set}" = set; then :
18721 enableval=$enable_fully_dynamic_string;
18722 case "$enableval" in
18723 yes|no) ;;
18724 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18725 esac
18727 else
18728 enable_fully_dynamic_string=no
18732 if test $enable_fully_dynamic_string = yes; then
18733 enable_fully_dynamic_string_def=1
18734 else
18735 enable_fully_dynamic_string_def=0
18738 cat >>confdefs.h <<_ACEOF
18739 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18740 _ACEOF
18745 # Check whether --enable-extern-template was given.
18746 if test "${enable_extern_template+set}" = set; then :
18747 enableval=$enable_extern_template;
18748 case "$enableval" in
18749 yes|no) ;;
18750 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18751 esac
18753 else
18754 enable_extern_template=yes
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18760 $as_echo_n "checking for extern template support... " >&6; }
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18762 $as_echo "$enable_extern_template" >&6; }
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18769 $as_echo_n "checking for custom python install directory... " >&6; }
18771 # Check whether --with-python-dir was given.
18772 if test "${with_python_dir+set}" = set; then :
18773 withval=$with_python_dir; with_python_dir=$withval
18774 else
18775 with_python_dir="no"
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18779 $as_echo "${with_python_dir}" >&6; }
18781 # Needed for installing Python modules during make install.
18782 python_mod_dir="${with_python_dir}"
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18788 $as_echo_n "checking for -Werror... " >&6; }
18789 # Check whether --enable-werror was given.
18790 if test "${enable_werror+set}" = set; then :
18791 enableval=$enable_werror;
18792 case "$enableval" in
18793 yes|no) ;;
18794 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18795 esac
18797 else
18798 enable_werror=no
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18803 $as_echo "$enable_werror" >&6; }
18808 # Check whether --enable-vtable-verify was given.
18809 if test "${enable_vtable_verify+set}" = set; then :
18810 enableval=$enable_vtable_verify;
18811 case "$enableval" in
18812 yes|no) ;;
18813 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18814 esac
18816 else
18817 enable_vtable_verify=no
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18823 $as_echo_n "checking for vtable verify support... " >&6; }
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18825 $as_echo "$enable_vtable_verify" >&6; }
18827 vtv_cygmin=no
18828 if test $enable_vtable_verify = yes; then
18829 case ${target_os} in
18830 cygwin*|mingw32*)
18831 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18832 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18833 vtv_cygmin=yes
18835 darwin*)
18836 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18837 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18839 solaris2*)
18840 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18841 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18844 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18845 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18847 esac
18848 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18849 else
18850 VTV_CXXFLAGS=
18851 VTV_PCH_CXXFLAGS=
18852 VTV_CXXLINKFLAGS=
18858 if test x$vtv_cygmin = xyes; then
18859 VTV_CYGMIN_TRUE=
18860 VTV_CYGMIN_FALSE='#'
18861 else
18862 VTV_CYGMIN_TRUE='#'
18863 VTV_CYGMIN_FALSE=
18869 # Checks for operating systems support that doesn't require linking.
18873 ac_ext=cpp
18874 ac_cpp='$CXXCPP $CPPFLAGS'
18875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18879 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18880 # and we don't need a declaration for C++14 anyway.
18881 ac_save_CXXFLAGS="$CXXFLAGS"
18882 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18885 $as_echo_n "checking for gets declaration... " >&6; }
18886 if ${glibcxx_cv_gets+:} false; then :
18887 $as_echo_n "(cached) " >&6
18888 else
18890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18891 /* end confdefs.h. */
18892 #include <stdio.h>
18893 namespace test
18895 using ::gets;
18898 _ACEOF
18899 if ac_fn_cxx_try_compile "$LINENO"; then :
18900 glibcxx_cv_gets=yes
18901 else
18902 glibcxx_cv_gets=no
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18908 $as_echo "$glibcxx_cv_gets" >&6; }
18910 if test $glibcxx_cv_gets = yes; then
18912 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18916 CXXFLAGS="$ac_save_CXXFLAGS"
18917 ac_ext=c
18918 ac_cpp='$CPP $CPPFLAGS'
18919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18927 ac_ext=cpp
18928 ac_cpp='$CXXCPP $CPPFLAGS'
18929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18933 ac_save_CXXFLAGS="$CXXFLAGS"
18934 CXXFLAGS="$CXXFLAGS -std=c++11"
18936 case "$host" in
18937 *-*-solaris2.*)
18938 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18939 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18941 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18942 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18943 $as_echo_n "(cached) " >&6
18944 else
18946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18948 #include <math.h>
18949 #undef isfinite
18950 namespace std {
18951 inline bool isfinite(float __x)
18952 { return __builtin_isfinite(__x); }
18955 _ACEOF
18956 if ac_fn_cxx_try_compile "$LINENO"; then :
18957 glibcxx_cv_math11_fp_overload=no
18958 else
18959 glibcxx_cv_math11_fp_overload=yes
18962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18965 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18967 # autoheader cannot handle indented templates.
18970 if test $glibcxx_cv_math11_fp_overload = yes; then
18971 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18975 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18976 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18978 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18979 if ${glibcxx_cv_math11_int_overload+:} false; then :
18980 $as_echo_n "(cached) " >&6
18981 else
18983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h. */
18985 #include <math.h>
18986 namespace std {
18987 template<typename _Tp>
18988 struct __is_integer;
18989 template<>
18990 struct __is_integer<int>
18992 enum { __value = 1 };
18995 namespace __gnu_cxx {
18996 template<bool, typename>
18997 struct __enable_if;
18998 template<typename _Tp>
18999 struct __enable_if<true, _Tp>
19000 { typedef _Tp __type; };
19002 namespace std {
19003 template<typename _Tp>
19004 constexpr typename __gnu_cxx::__enable_if
19005 <__is_integer<_Tp>::__value, double>::__type
19006 log2(_Tp __x)
19007 { return __builtin_log2(__x); }
19010 main (void)
19012 int i = 1000;
19013 return std::log2(i);
19016 _ACEOF
19017 if ac_fn_cxx_try_compile "$LINENO"; then :
19018 glibcxx_cv_math11_int_overload=no
19019 else
19020 glibcxx_cv_math11_int_overload=yes
19023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19026 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19028 # autoheader cannot handle indented templates.
19031 if test $glibcxx_cv_math11_int_overload = yes; then
19032 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19037 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19038 # functions (instead of or as well as the C99 generic macros) then we
19039 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19040 # and must use the ones from <math.h> instead.
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19042 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19043 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19049 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19050 #include <math.h>
19051 #undef isinf
19052 namespace std {
19053 using ::isinf;
19054 bool isinf(float);
19055 bool isinf(long double);
19057 using std::isinf;
19058 bool b = isinf(0.0);
19060 _ACEOF
19061 if ac_fn_cxx_try_compile "$LINENO"; then :
19062 glibcxx_cv_obsolete_isinf=yes
19063 else
19064 glibcxx_cv_obsolete_isinf=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19070 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19071 if test $glibcxx_cv_obsolete_isinf = yes; then
19073 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19078 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19079 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19080 $as_echo_n "(cached) " >&6
19081 else
19083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19084 /* end confdefs.h. */
19085 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19086 #include <math.h>
19087 #undef isnan
19088 namespace std {
19089 using ::isnan;
19090 bool isnan(float);
19091 bool isnan(long double);
19093 using std::isnan;
19094 bool b = isnan(0.0);
19096 _ACEOF
19097 if ac_fn_cxx_try_compile "$LINENO"; then :
19098 glibcxx_cv_obsolete_isnan=yes
19099 else
19100 glibcxx_cv_obsolete_isnan=no
19103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19106 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19107 if test $glibcxx_cv_obsolete_isnan = yes; then
19109 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19113 esac
19115 CXXFLAGS="$ac_save_CXXFLAGS"
19116 ac_ext=c
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19125 # Test uchar.h.
19126 for ac_header in uchar.h
19127 do :
19128 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19129 if test "x$ac_cv_header_uchar_h" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_UCHAR_H 1
19132 _ACEOF
19133 ac_has_uchar_h=yes
19134 else
19135 ac_has_uchar_h=no
19138 done
19142 ac_ext=cpp
19143 ac_cpp='$CXXCPP $CPPFLAGS'
19144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19148 ac_save_CXXFLAGS="$CXXFLAGS"
19149 CXXFLAGS="$CXXFLAGS -std=c++11"
19151 if test x"$ac_has_uchar_h" = x"yes"; then
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19153 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19155 /* end confdefs.h. */
19156 #include <uchar.h>
19157 #ifdef __STDC_UTF_16__
19158 long i = __STDC_UTF_16__;
19159 #endif
19160 #ifdef __STDC_UTF_32__
19161 long j = __STDC_UTF_32__;
19162 #endif
19163 namespace test
19165 using ::c16rtomb;
19166 using ::c32rtomb;
19167 using ::mbrtoc16;
19168 using ::mbrtoc32;
19172 main ()
19176 return 0;
19178 _ACEOF
19179 if ac_fn_cxx_try_compile "$LINENO"; then :
19180 ac_c11_uchar_cxx11=yes
19181 else
19182 ac_c11_uchar_cxx11=no
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19186 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19187 else
19188 ac_c11_uchar_cxx11=no
19190 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19192 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19196 CXXFLAGS="$CXXFLAGS -fchar8_t"
19197 if test x"$ac_has_uchar_h" = x"yes"; then
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19199 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19201 /* end confdefs.h. */
19202 #include <uchar.h>
19203 namespace test
19205 using ::c8rtomb;
19206 using ::mbrtoc8;
19210 main ()
19214 return 0;
19216 _ACEOF
19217 if ac_fn_cxx_try_compile "$LINENO"; then :
19218 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19219 else
19220 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19224 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19225 else
19226 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19228 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19230 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19234 CXXFLAGS="$CXXFLAGS -std=c++20"
19235 if test x"$ac_has_uchar_h" = x"yes"; then
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19237 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 #include <uchar.h>
19241 namespace test
19243 using ::c8rtomb;
19244 using ::mbrtoc8;
19248 main ()
19252 return 0;
19254 _ACEOF
19255 if ac_fn_cxx_try_compile "$LINENO"; then :
19256 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19257 else
19258 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19262 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19263 else
19264 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19266 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19268 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19272 CXXFLAGS="$ac_save_CXXFLAGS"
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281 # For LFS support.
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19293 $as_echo_n "checking for LFS support... " >&6; }
19294 if ${glibcxx_cv_LFS+:} false; then :
19295 $as_echo_n "(cached) " >&6
19296 else
19298 if test x$gcc_no_link = xyes; then
19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19300 /* end confdefs.h. */
19301 #include <unistd.h>
19302 #include <stdio.h>
19303 #include <sys/stat.h>
19306 main ()
19308 FILE* fp;
19309 fopen64("t", "w");
19310 fseeko64(fp, 0, SEEK_CUR);
19311 ftello64(fp);
19312 lseek64(1, 0, SEEK_CUR);
19313 struct stat64 buf;
19314 fstat64(1, &buf);
19316 return 0;
19318 _ACEOF
19319 if ac_fn_cxx_try_compile "$LINENO"; then :
19320 glibcxx_cv_LFS=yes
19321 else
19322 glibcxx_cv_LFS=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19325 else
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19331 #include <unistd.h>
19332 #include <stdio.h>
19333 #include <sys/stat.h>
19336 main ()
19338 FILE* fp;
19339 fopen64("t", "w");
19340 fseeko64(fp, 0, SEEK_CUR);
19341 ftello64(fp);
19342 lseek64(1, 0, SEEK_CUR);
19343 struct stat64 buf;
19344 fstat64(1, &buf);
19346 return 0;
19348 _ACEOF
19349 if ac_fn_cxx_try_link "$LINENO"; then :
19350 glibcxx_cv_LFS=yes
19351 else
19352 glibcxx_cv_LFS=no
19354 rm -f core conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19360 $as_echo "$glibcxx_cv_LFS" >&6; }
19361 if test $glibcxx_cv_LFS = yes; then
19363 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19366 CXXFLAGS="$ac_save_CXXFLAGS"
19367 ac_ext=c
19368 ac_cpp='$CPP $CPPFLAGS'
19369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19375 # For showmanyc_helper().
19376 for ac_header in sys/ioctl.h sys/filio.h
19377 do :
19378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19381 cat >>confdefs.h <<_ACEOF
19382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19383 _ACEOF
19387 done
19392 ac_ext=cpp
19393 ac_cpp='$CXXCPP $CPPFLAGS'
19394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398 ac_save_CXXFLAGS="$CXXFLAGS"
19399 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19402 $as_echo_n "checking for poll... " >&6; }
19403 if ${glibcxx_cv_POLL+:} false; then :
19404 $as_echo_n "(cached) " >&6
19405 else
19407 if test x$gcc_no_link = xyes; then
19408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19409 /* end confdefs.h. */
19410 #include <poll.h>
19412 main ()
19414 struct pollfd pfd[1];
19415 pfd[0].events = POLLIN;
19416 poll(pfd, 1, 0);
19418 return 0;
19420 _ACEOF
19421 if ac_fn_cxx_try_compile "$LINENO"; then :
19422 glibcxx_cv_POLL=yes
19423 else
19424 glibcxx_cv_POLL=no
19426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 else
19428 if test x$gcc_no_link = xyes; then
19429 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19432 /* end confdefs.h. */
19433 #include <poll.h>
19435 main ()
19437 struct pollfd pfd[1];
19438 pfd[0].events = POLLIN;
19439 poll(pfd, 1, 0);
19441 return 0;
19443 _ACEOF
19444 if ac_fn_cxx_try_link "$LINENO"; then :
19445 glibcxx_cv_POLL=yes
19446 else
19447 glibcxx_cv_POLL=no
19449 rm -f core conftest.err conftest.$ac_objext \
19450 conftest$ac_exeext conftest.$ac_ext
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19455 $as_echo "$glibcxx_cv_POLL" >&6; }
19456 if test $glibcxx_cv_POLL = yes; then
19458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19462 CXXFLAGS="$ac_save_CXXFLAGS"
19463 ac_ext=c
19464 ac_cpp='$CPP $CPPFLAGS'
19465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19473 ac_ext=cpp
19474 ac_cpp='$CXXCPP $CPPFLAGS'
19475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19479 ac_save_CXXFLAGS="$CXXFLAGS"
19480 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19483 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19484 if ${glibcxx_cv_S_ISREG+:} false; then :
19485 $as_echo_n "(cached) " >&6
19486 else
19488 if test x$gcc_no_link = xyes; then
19489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19491 #include <sys/stat.h>
19493 main ()
19495 struct stat buffer;
19496 fstat(0, &buffer);
19497 S_ISREG(buffer.st_mode);
19499 return 0;
19501 _ACEOF
19502 if ac_fn_cxx_try_compile "$LINENO"; then :
19503 glibcxx_cv_S_ISREG=yes
19504 else
19505 glibcxx_cv_S_ISREG=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19508 else
19509 if test x$gcc_no_link = xyes; then
19510 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19514 #include <sys/stat.h>
19516 main ()
19518 struct stat buffer;
19519 fstat(0, &buffer);
19520 S_ISREG(buffer.st_mode);
19522 return 0;
19524 _ACEOF
19525 if ac_fn_cxx_try_link "$LINENO"; then :
19526 glibcxx_cv_S_ISREG=yes
19527 else
19528 glibcxx_cv_S_ISREG=no
19530 rm -f core conftest.err conftest.$ac_objext \
19531 conftest$ac_exeext conftest.$ac_ext
19536 if ${glibcxx_cv_S_IFREG+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19540 if test x$gcc_no_link = xyes; then
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h. */
19543 #include <sys/stat.h>
19545 main ()
19547 struct stat buffer;
19548 fstat(0, &buffer);
19549 S_IFREG & buffer.st_mode;
19551 return 0;
19553 _ACEOF
19554 if ac_fn_cxx_try_compile "$LINENO"; then :
19555 glibcxx_cv_S_IFREG=yes
19556 else
19557 glibcxx_cv_S_IFREG=no
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 else
19561 if test x$gcc_no_link = xyes; then
19562 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566 #include <sys/stat.h>
19568 main ()
19570 struct stat buffer;
19571 fstat(0, &buffer);
19572 S_IFREG & buffer.st_mode;
19574 return 0;
19576 _ACEOF
19577 if ac_fn_cxx_try_link "$LINENO"; then :
19578 glibcxx_cv_S_IFREG=yes
19579 else
19580 glibcxx_cv_S_IFREG=no
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext conftest.$ac_ext
19588 res=no
19589 if test $glibcxx_cv_S_ISREG = yes; then
19591 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19593 res=S_ISREG
19594 elif test $glibcxx_cv_S_IFREG = yes; then
19596 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19598 res=S_IFREG
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19601 $as_echo "$res" >&6; }
19603 CXXFLAGS="$ac_save_CXXFLAGS"
19604 ac_ext=c
19605 ac_cpp='$CPP $CPPFLAGS'
19606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19612 # For xsputn_2().
19613 for ac_header in sys/uio.h
19614 do :
19615 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19616 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19617 cat >>confdefs.h <<_ACEOF
19618 #define HAVE_SYS_UIO_H 1
19619 _ACEOF
19623 done
19628 ac_ext=cpp
19629 ac_cpp='$CXXCPP $CPPFLAGS'
19630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19634 ac_save_CXXFLAGS="$CXXFLAGS"
19635 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19638 $as_echo_n "checking for writev... " >&6; }
19639 if ${glibcxx_cv_WRITEV+:} false; then :
19640 $as_echo_n "(cached) " >&6
19641 else
19643 if test x$gcc_no_link = xyes; then
19644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19645 /* end confdefs.h. */
19646 #include <sys/uio.h>
19648 main ()
19650 struct iovec iov[2];
19651 writev(0, iov, 0);
19653 return 0;
19655 _ACEOF
19656 if ac_fn_cxx_try_compile "$LINENO"; then :
19657 glibcxx_cv_WRITEV=yes
19658 else
19659 glibcxx_cv_WRITEV=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 else
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19668 #include <sys/uio.h>
19670 main ()
19672 struct iovec iov[2];
19673 writev(0, iov, 0);
19675 return 0;
19677 _ACEOF
19678 if ac_fn_cxx_try_link "$LINENO"; then :
19679 glibcxx_cv_WRITEV=yes
19680 else
19681 glibcxx_cv_WRITEV=no
19683 rm -f core conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19689 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19690 if test $glibcxx_cv_WRITEV = yes; then
19692 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19696 CXXFLAGS="$ac_save_CXXFLAGS"
19697 ac_ext=c
19698 ac_cpp='$CPP $CPPFLAGS'
19699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19705 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19706 # so that the check is done with the C compiler (not C++).
19707 # Checking with C++ can break a canadian cross build if either
19708 # file does not exist in C but does in C++.
19709 for ac_header in fenv.h complex.h
19710 do :
19711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19712 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19713 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19714 cat >>confdefs.h <<_ACEOF
19715 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19716 _ACEOF
19720 done
19723 # For C99 support to TR1.
19727 ac_ext=cpp
19728 ac_cpp='$CXXCPP $CPPFLAGS'
19729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19734 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19735 # undefined and fake C99 facilities may be spuriously enabled.
19736 ac_save_CXXFLAGS="$CXXFLAGS"
19737 CXXFLAGS="$CXXFLAGS -std=c++98"
19739 # Check for the existence of <complex.h> complex math functions used
19740 # by tr1/complex.
19741 for ac_header in complex.h
19742 do :
19743 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19744 if test "x$ac_cv_header_complex_h" = xyes; then :
19745 cat >>confdefs.h <<_ACEOF
19746 #define HAVE_COMPLEX_H 1
19747 _ACEOF
19748 ac_has_complex_h=yes
19749 else
19750 ac_has_complex_h=no
19753 done
19755 ac_c99_complex_tr1=no;
19756 if test x"$ac_has_complex_h" = x"yes"; then
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19758 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19761 #include <complex.h>
19763 main ()
19765 typedef __complex__ float float_type; float_type tmpf;
19766 cacosf(tmpf);
19767 casinf(tmpf);
19768 catanf(tmpf);
19769 cacoshf(tmpf);
19770 casinhf(tmpf);
19771 catanhf(tmpf);
19772 typedef __complex__ double double_type; double_type tmpd;
19773 cacos(tmpd);
19774 casin(tmpd);
19775 catan(tmpd);
19776 cacosh(tmpd);
19777 casinh(tmpd);
19778 catanh(tmpd);
19779 typedef __complex__ long double ld_type; ld_type tmpld;
19780 cacosl(tmpld);
19781 casinl(tmpld);
19782 catanl(tmpld);
19783 cacoshl(tmpld);
19784 casinhl(tmpld);
19785 catanhl(tmpld);
19788 return 0;
19790 _ACEOF
19791 if ac_fn_cxx_try_compile "$LINENO"; then :
19792 ac_c99_complex_tr1=yes
19793 else
19794 ac_c99_complex_tr1=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19799 $as_echo "$ac_c99_complex_tr1" >&6; }
19800 if test x"$ac_c99_complex_tr1" = x"yes"; then
19802 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19806 # Check for the existence of <ctype.h> functions.
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19808 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19809 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19810 $as_echo_n "(cached) " >&6
19811 else
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19815 #include <ctype.h>
19817 main ()
19819 int ch;
19820 int ret;
19821 ret = isblank(ch);
19824 return 0;
19826 _ACEOF
19827 if ac_fn_cxx_try_compile "$LINENO"; then :
19828 glibcxx_cv_c99_ctype_tr1=yes
19829 else
19830 glibcxx_cv_c99_ctype_tr1=no
19832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19836 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19837 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19839 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19843 # Check for the existence of <fenv.h> functions.
19844 for ac_header in fenv.h
19845 do :
19846 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19847 if test "x$ac_cv_header_fenv_h" = xyes; then :
19848 cat >>confdefs.h <<_ACEOF
19849 #define HAVE_FENV_H 1
19850 _ACEOF
19851 ac_has_fenv_h=yes
19852 else
19853 ac_has_fenv_h=no
19856 done
19858 ac_c99_fenv_tr1=no;
19859 if test x"$ac_has_fenv_h" = x"yes"; then
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19861 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19863 /* end confdefs.h. */
19864 #include <fenv.h>
19866 main ()
19868 int except, mode;
19869 fexcept_t* pflag;
19870 fenv_t* penv;
19871 int ret;
19872 ret = feclearexcept(except);
19873 ret = fegetexceptflag(pflag, except);
19874 ret = feraiseexcept(except);
19875 ret = fesetexceptflag(pflag, except);
19876 ret = fetestexcept(except);
19877 ret = fegetround();
19878 ret = fesetround(mode);
19879 ret = fegetenv(penv);
19880 ret = feholdexcept(penv);
19881 ret = fesetenv(penv);
19882 ret = feupdateenv(penv);
19885 return 0;
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_c99_fenv_tr1=yes
19890 else
19891 ac_c99_fenv_tr1=no
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19895 $as_echo "$ac_c99_fenv_tr1" >&6; }
19897 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19899 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19903 # Check for the existence of <stdint.h> types.
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19905 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19906 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19907 $as_echo_n "(cached) " >&6
19908 else
19910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911 /* end confdefs.h. */
19912 #define __STDC_LIMIT_MACROS
19913 #define __STDC_CONSTANT_MACROS
19914 #include <stdint.h>
19916 main ()
19918 typedef int8_t my_int8_t;
19919 my_int8_t i8 = INT8_MIN;
19920 i8 = INT8_MAX;
19921 typedef int16_t my_int16_t;
19922 my_int16_t i16 = INT16_MIN;
19923 i16 = INT16_MAX;
19924 typedef int32_t my_int32_t;
19925 my_int32_t i32 = INT32_MIN;
19926 i32 = INT32_MAX;
19927 typedef int64_t my_int64_t;
19928 my_int64_t i64 = INT64_MIN;
19929 i64 = INT64_MAX;
19930 typedef int_fast8_t my_int_fast8_t;
19931 my_int_fast8_t if8 = INT_FAST8_MIN;
19932 if8 = INT_FAST8_MAX;
19933 typedef int_fast16_t my_int_fast16_t;
19934 my_int_fast16_t if16 = INT_FAST16_MIN;
19935 if16 = INT_FAST16_MAX;
19936 typedef int_fast32_t my_int_fast32_t;
19937 my_int_fast32_t if32 = INT_FAST32_MIN;
19938 if32 = INT_FAST32_MAX;
19939 typedef int_fast64_t my_int_fast64_t;
19940 my_int_fast64_t if64 = INT_FAST64_MIN;
19941 if64 = INT_FAST64_MAX;
19942 typedef int_least8_t my_int_least8_t;
19943 my_int_least8_t il8 = INT_LEAST8_MIN;
19944 il8 = INT_LEAST8_MAX;
19945 typedef int_least16_t my_int_least16_t;
19946 my_int_least16_t il16 = INT_LEAST16_MIN;
19947 il16 = INT_LEAST16_MAX;
19948 typedef int_least32_t my_int_least32_t;
19949 my_int_least32_t il32 = INT_LEAST32_MIN;
19950 il32 = INT_LEAST32_MAX;
19951 typedef int_least64_t my_int_least64_t;
19952 my_int_least64_t il64 = INT_LEAST64_MIN;
19953 il64 = INT_LEAST64_MAX;
19954 typedef intmax_t my_intmax_t;
19955 my_intmax_t im = INTMAX_MAX;
19956 im = INTMAX_MIN;
19957 typedef intptr_t my_intptr_t;
19958 my_intptr_t ip = INTPTR_MAX;
19959 ip = INTPTR_MIN;
19960 typedef uint8_t my_uint8_t;
19961 my_uint8_t ui8 = UINT8_MAX;
19962 ui8 = UINT8_MAX;
19963 typedef uint16_t my_uint16_t;
19964 my_uint16_t ui16 = UINT16_MAX;
19965 ui16 = UINT16_MAX;
19966 typedef uint32_t my_uint32_t;
19967 my_uint32_t ui32 = UINT32_MAX;
19968 ui32 = UINT32_MAX;
19969 typedef uint64_t my_uint64_t;
19970 my_uint64_t ui64 = UINT64_MAX;
19971 ui64 = UINT64_MAX;
19972 typedef uint_fast8_t my_uint_fast8_t;
19973 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19974 uif8 = UINT_FAST8_MAX;
19975 typedef uint_fast16_t my_uint_fast16_t;
19976 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19977 uif16 = UINT_FAST16_MAX;
19978 typedef uint_fast32_t my_uint_fast32_t;
19979 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19980 uif32 = UINT_FAST32_MAX;
19981 typedef uint_fast64_t my_uint_fast64_t;
19982 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19983 uif64 = UINT_FAST64_MAX;
19984 typedef uint_least8_t my_uint_least8_t;
19985 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19986 uil8 = UINT_LEAST8_MAX;
19987 typedef uint_least16_t my_uint_least16_t;
19988 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19989 uil16 = UINT_LEAST16_MAX;
19990 typedef uint_least32_t my_uint_least32_t;
19991 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19992 uil32 = UINT_LEAST32_MAX;
19993 typedef uint_least64_t my_uint_least64_t;
19994 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19995 uil64 = UINT_LEAST64_MAX;
19996 typedef uintmax_t my_uintmax_t;
19997 my_uintmax_t uim = UINTMAX_MAX;
19998 uim = UINTMAX_MAX;
19999 typedef uintptr_t my_uintptr_t;
20000 my_uintptr_t uip = UINTPTR_MAX;
20001 uip = UINTPTR_MAX;
20004 return 0;
20006 _ACEOF
20007 if ac_fn_cxx_try_compile "$LINENO"; then :
20008 glibcxx_cv_c99_stdint_tr1=yes
20009 else
20010 glibcxx_cv_c99_stdint_tr1=no
20012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20016 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20017 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20019 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20023 # Check for the existence of <math.h> functions.
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20025 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20026 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20027 $as_echo_n "(cached) " >&6
20028 else
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032 #include <math.h>
20034 main ()
20036 typedef double_t my_double_t;
20037 typedef float_t my_float_t;
20038 acosh(0.0);
20039 acoshf(0.0f);
20040 acoshl(0.0l);
20041 asinh(0.0);
20042 asinhf(0.0f);
20043 asinhl(0.0l);
20044 atanh(0.0);
20045 atanhf(0.0f);
20046 atanhl(0.0l);
20047 cbrt(0.0);
20048 cbrtf(0.0f);
20049 cbrtl(0.0l);
20050 copysign(0.0, 0.0);
20051 copysignf(0.0f, 0.0f);
20052 copysignl(0.0l, 0.0l);
20053 erf(0.0);
20054 erff(0.0f);
20055 erfl(0.0l);
20056 erfc(0.0);
20057 erfcf(0.0f);
20058 erfcl(0.0l);
20059 exp2(0.0);
20060 exp2f(0.0f);
20061 exp2l(0.0l);
20062 expm1(0.0);
20063 expm1f(0.0f);
20064 expm1l(0.0l);
20065 fdim(0.0, 0.0);
20066 fdimf(0.0f, 0.0f);
20067 fdiml(0.0l, 0.0l);
20068 fma(0.0, 0.0, 0.0);
20069 fmaf(0.0f, 0.0f, 0.0f);
20070 fmal(0.0l, 0.0l, 0.0l);
20071 fmax(0.0, 0.0);
20072 fmaxf(0.0f, 0.0f);
20073 fmaxl(0.0l, 0.0l);
20074 fmin(0.0, 0.0);
20075 fminf(0.0f, 0.0f);
20076 fminl(0.0l, 0.0l);
20077 hypot(0.0, 0.0);
20078 hypotf(0.0f, 0.0f);
20079 hypotl(0.0l, 0.0l);
20080 ilogb(0.0);
20081 ilogbf(0.0f);
20082 ilogbl(0.0l);
20083 lgamma(0.0);
20084 lgammaf(0.0f);
20085 lgammal(0.0l);
20086 #ifndef __APPLE__ /* see below */
20087 llrint(0.0);
20088 llrintf(0.0f);
20089 llrintl(0.0l);
20090 llround(0.0);
20091 llroundf(0.0f);
20092 llroundl(0.0l);
20093 #endif
20094 log1p(0.0);
20095 log1pf(0.0f);
20096 log1pl(0.0l);
20097 log2(0.0);
20098 log2f(0.0f);
20099 log2l(0.0l);
20100 logb(0.0);
20101 logbf(0.0f);
20102 logbl(0.0l);
20103 lrint(0.0);
20104 lrintf(0.0f);
20105 lrintl(0.0l);
20106 lround(0.0);
20107 lroundf(0.0f);
20108 lroundl(0.0l);
20109 nan(0);
20110 nanf(0);
20111 nanl(0);
20112 nearbyint(0.0);
20113 nearbyintf(0.0f);
20114 nearbyintl(0.0l);
20115 nextafter(0.0, 0.0);
20116 nextafterf(0.0f, 0.0f);
20117 nextafterl(0.0l, 0.0l);
20118 nexttoward(0.0, 0.0);
20119 nexttowardf(0.0f, 0.0f);
20120 nexttowardl(0.0l, 0.0l);
20121 remainder(0.0, 0.0);
20122 remainderf(0.0f, 0.0f);
20123 remainderl(0.0l, 0.0l);
20124 remquo(0.0, 0.0, 0);
20125 remquof(0.0f, 0.0f, 0);
20126 remquol(0.0l, 0.0l, 0);
20127 rint(0.0);
20128 rintf(0.0f);
20129 rintl(0.0l);
20130 round(0.0);
20131 roundf(0.0f);
20132 roundl(0.0l);
20133 scalbln(0.0, 0l);
20134 scalblnf(0.0f, 0l);
20135 scalblnl(0.0l, 0l);
20136 scalbn(0.0, 0);
20137 scalbnf(0.0f, 0);
20138 scalbnl(0.0l, 0);
20139 tgamma(0.0);
20140 tgammaf(0.0f);
20141 tgammal(0.0l);
20142 trunc(0.0);
20143 truncf(0.0f);
20144 truncl(0.0l);
20147 return 0;
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 glibcxx_cv_c99_math_tr1=yes
20152 else
20153 glibcxx_cv_c99_math_tr1=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20159 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20160 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20162 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20165 case "${target_os}" in
20166 darwin*)
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20168 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20169 if ${glibcxx_cv_c99_math_llround+:} false; then :
20170 $as_echo_n "(cached) " >&6
20171 else
20173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20174 /* end confdefs.h. */
20175 #include <math.h>
20177 main ()
20179 llrint(0.0);
20180 llrintf(0.0f);
20181 llrintl(0.0l);
20182 llround(0.0);
20183 llroundf(0.0f);
20184 llroundl(0.0l);
20187 return 0;
20189 _ACEOF
20190 if ac_fn_cxx_try_compile "$LINENO"; then :
20191 glibcxx_cv_c99_math_llround=yes
20192 else
20193 glibcxx_cv_c99_math_llround=no
20195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20199 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20201 esac
20202 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20204 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20209 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20210 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20211 ac_c99_inttypes_tr1=no;
20212 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20214 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20217 #include <inttypes.h>
20219 main ()
20221 intmax_t i, numer, denom, base;
20222 const char* s;
20223 char** endptr;
20224 intmax_t ret = imaxabs(i);
20225 imaxdiv_t dret = imaxdiv(numer, denom);
20226 ret = strtoimax(s, endptr, base);
20227 uintmax_t uret = strtoumax(s, endptr, base);
20230 return 0;
20232 _ACEOF
20233 if ac_fn_cxx_try_compile "$LINENO"; then :
20234 ac_c99_inttypes_tr1=yes
20235 else
20236 ac_c99_inttypes_tr1=no
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20240 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20242 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20244 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20248 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20249 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20250 ac_c99_inttypes_wchar_t_tr1=no;
20251 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20253 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20255 /* end confdefs.h. */
20256 #include <inttypes.h>
20258 main ()
20260 intmax_t base;
20261 const wchar_t* s;
20262 wchar_t** endptr;
20263 intmax_t ret = wcstoimax(s, endptr, base);
20264 uintmax_t uret = wcstoumax(s, endptr, base);
20267 return 0;
20269 _ACEOF
20270 if ac_fn_cxx_try_compile "$LINENO"; then :
20271 ac_c99_inttypes_wchar_t_tr1=yes
20272 else
20273 ac_c99_inttypes_wchar_t_tr1=no
20275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20277 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20279 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20281 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20285 # Check for the existence of the <stdbool.h> header.
20286 for ac_header in stdbool.h
20287 do :
20288 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20289 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20290 cat >>confdefs.h <<_ACEOF
20291 #define HAVE_STDBOOL_H 1
20292 _ACEOF
20296 done
20299 # Check for the existence of the <stdalign.h> header.
20300 for ac_header in stdalign.h
20301 do :
20302 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20303 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20304 cat >>confdefs.h <<_ACEOF
20305 #define HAVE_STDALIGN_H 1
20306 _ACEOF
20310 done
20313 CXXFLAGS="$ac_save_CXXFLAGS"
20314 ac_ext=c
20315 ac_cpp='$CPP $CPPFLAGS'
20316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20322 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20325 if test "$is_hosted" = yes; then
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20327 $as_echo_n "checking for the value of EOF... " >&6; }
20328 if ${glibcxx_cv_stdio_eof+:} false; then :
20329 $as_echo_n "(cached) " >&6
20330 else
20332 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20334 else
20335 as_fn_error $? "computing EOF failed" "$LINENO" 5
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20341 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20343 cat >>confdefs.h <<_ACEOF
20344 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20345 _ACEOF
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20349 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20350 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20351 $as_echo_n "(cached) " >&6
20352 else
20354 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20356 else
20357 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20363 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20365 cat >>confdefs.h <<_ACEOF
20366 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20367 _ACEOF
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20371 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20372 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20376 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20378 else
20379 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20385 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20387 cat >>confdefs.h <<_ACEOF
20388 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20389 _ACEOF
20394 # For gettimeofday support.
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20398 $as_echo_n "checking for gettimeofday... " >&6; }
20401 ac_ext=cpp
20402 ac_cpp='$CXXCPP $CPPFLAGS'
20403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20407 ac_save_CXXFLAGS="$CXXFLAGS"
20408 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20410 ac_has_gettimeofday=no;
20411 for ac_header in sys/time.h
20412 do :
20413 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20414 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE_SYS_TIME_H 1
20417 _ACEOF
20418 ac_has_sys_time_h=yes
20419 else
20420 ac_has_sys_time_h=no
20423 done
20425 if test x"$ac_has_sys_time_h" = x"yes"; then
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20427 $as_echo_n "checking for gettimeofday... " >&6; }
20428 if test x$gcc_no_link = xyes; then
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20431 #include <sys/time.h>
20433 main ()
20435 timeval tv; gettimeofday(&tv, 0);
20437 return 0;
20439 _ACEOF
20440 if ac_fn_cxx_try_compile "$LINENO"; then :
20441 ac_has_gettimeofday=yes
20442 else
20443 ac_has_gettimeofday=no
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 else
20447 if test x$gcc_no_link = xyes; then
20448 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20451 /* end confdefs.h. */
20452 #include <sys/time.h>
20454 main ()
20456 timeval tv; gettimeofday(&tv, 0);
20458 return 0;
20460 _ACEOF
20461 if ac_fn_cxx_try_link "$LINENO"; then :
20462 ac_has_gettimeofday=yes
20463 else
20464 ac_has_gettimeofday=no
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20471 $as_echo "$ac_has_gettimeofday" >&6; }
20474 if test x"$ac_has_gettimeofday" = x"yes"; then
20476 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20480 CXXFLAGS="$ac_save_CXXFLAGS"
20481 ac_ext=c
20482 ac_cpp='$CPP $CPPFLAGS'
20483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20489 # For clock_gettime, nanosleep and sched_yield support.
20492 # Check whether --enable-libstdcxx-time was given.
20493 if test "${enable_libstdcxx_time+set}" = set; then :
20494 enableval=$enable_libstdcxx_time;
20495 case "$enableval" in
20496 yes|no|rt) ;;
20497 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20498 esac
20500 else
20501 enable_libstdcxx_time=auto
20507 ac_ext=cpp
20508 ac_cpp='$CXXCPP $CPPFLAGS'
20509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20513 ac_save_CXXFLAGS="$CXXFLAGS"
20514 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20515 ac_save_LIBS="$LIBS"
20517 ac_has_clock_monotonic=no
20518 ac_has_clock_realtime=no
20519 ac_has_nanosleep=no
20520 ac_has_sched_yield=no
20522 if test x"$enable_libstdcxx_time" = x"auto"; then
20524 case "${target_os}" in
20525 cygwin*)
20526 ac_has_nanosleep=yes
20528 mingw*)
20529 ac_has_win32_sleep=yes
20530 ac_has_sched_yield=yes
20532 darwin*)
20533 ac_has_nanosleep=yes
20534 ac_has_sched_yield=yes
20536 # VxWorks has nanosleep as soon as the kernel is configured with
20537 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20538 vxworks*)
20539 ac_has_nanosleep=yes
20541 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20542 # Don't use link test for freestanding library, in case gcc_no_link=yes
20543 if test x"$is_hosted" = xyes; then
20544 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20546 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20547 if ${ac_cv_search_clock_gettime+:} false; then :
20548 $as_echo_n "(cached) " >&6
20549 else
20550 ac_func_search_save_LIBS=$LIBS
20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h. */
20554 /* Override any GCC internal prototype to avoid an error.
20555 Use char because int might match the return type of a GCC
20556 builtin and then its argument prototype would still apply. */
20557 #ifdef __cplusplus
20558 extern "C"
20559 #endif
20560 char clock_gettime ();
20562 main ()
20564 return clock_gettime ();
20566 return 0;
20568 _ACEOF
20569 for ac_lib in '' rt; do
20570 if test -z "$ac_lib"; then
20571 ac_res="none required"
20572 else
20573 ac_res=-l$ac_lib
20574 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20576 if test x$gcc_no_link = xyes; then
20577 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20579 if ac_fn_cxx_try_link "$LINENO"; then :
20580 ac_cv_search_clock_gettime=$ac_res
20582 rm -f core conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext
20584 if ${ac_cv_search_clock_gettime+:} false; then :
20585 break
20587 done
20588 if ${ac_cv_search_clock_gettime+:} false; then :
20590 else
20591 ac_cv_search_clock_gettime=no
20593 rm conftest.$ac_ext
20594 LIBS=$ac_func_search_save_LIBS
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20597 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20598 ac_res=$ac_cv_search_clock_gettime
20599 if test "$ac_res" != no; then :
20600 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20604 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20605 ac_has_clock_monotonic=yes
20606 ac_has_clock_realtime=yes
20609 ac_has_nanosleep=yes
20610 ac_has_sched_yield=yes
20612 freebsd*|netbsd*|dragonfly*|rtems*)
20613 ac_has_clock_monotonic=yes
20614 ac_has_clock_realtime=yes
20615 ac_has_nanosleep=yes
20616 ac_has_sched_yield=yes
20618 openbsd*)
20619 ac_has_clock_monotonic=yes
20620 ac_has_clock_realtime=yes
20621 ac_has_nanosleep=yes
20623 solaris*)
20624 ac_has_clock_monotonic=yes
20625 ac_has_clock_realtime=yes
20626 ac_has_nanosleep=yes
20627 ac_has_sched_yield=yes
20629 uclinux*)
20630 ac_has_nanosleep=yes
20631 ac_has_sched_yield=yes
20632 esac
20634 elif test x"$enable_libstdcxx_time" != x"no"; then
20636 if test x"$enable_libstdcxx_time" = x"rt"; then
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20638 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20639 if ${ac_cv_search_clock_gettime+:} false; then :
20640 $as_echo_n "(cached) " >&6
20641 else
20642 ac_func_search_save_LIBS=$LIBS
20643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20644 /* end confdefs.h. */
20646 /* Override any GCC internal prototype to avoid an error.
20647 Use char because int might match the return type of a GCC
20648 builtin and then its argument prototype would still apply. */
20649 #ifdef __cplusplus
20650 extern "C"
20651 #endif
20652 char clock_gettime ();
20654 main ()
20656 return clock_gettime ();
20658 return 0;
20660 _ACEOF
20661 for ac_lib in '' rt; do
20662 if test -z "$ac_lib"; then
20663 ac_res="none required"
20664 else
20665 ac_res=-l$ac_lib
20666 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20668 if test x$gcc_no_link = xyes; then
20669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20671 if ac_fn_cxx_try_link "$LINENO"; then :
20672 ac_cv_search_clock_gettime=$ac_res
20674 rm -f core conftest.err conftest.$ac_objext \
20675 conftest$ac_exeext
20676 if ${ac_cv_search_clock_gettime+:} false; then :
20677 break
20679 done
20680 if ${ac_cv_search_clock_gettime+:} false; then :
20682 else
20683 ac_cv_search_clock_gettime=no
20685 rm conftest.$ac_ext
20686 LIBS=$ac_func_search_save_LIBS
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20689 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20690 ac_res=$ac_cv_search_clock_gettime
20691 if test "$ac_res" != no; then :
20692 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20697 $as_echo_n "checking for library containing nanosleep... " >&6; }
20698 if ${ac_cv_search_nanosleep+:} false; then :
20699 $as_echo_n "(cached) " >&6
20700 else
20701 ac_func_search_save_LIBS=$LIBS
20702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20703 /* end confdefs.h. */
20705 /* Override any GCC internal prototype to avoid an error.
20706 Use char because int might match the return type of a GCC
20707 builtin and then its argument prototype would still apply. */
20708 #ifdef __cplusplus
20709 extern "C"
20710 #endif
20711 char nanosleep ();
20713 main ()
20715 return nanosleep ();
20717 return 0;
20719 _ACEOF
20720 for ac_lib in '' rt; do
20721 if test -z "$ac_lib"; then
20722 ac_res="none required"
20723 else
20724 ac_res=-l$ac_lib
20725 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20727 if test x$gcc_no_link = xyes; then
20728 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20730 if ac_fn_cxx_try_link "$LINENO"; then :
20731 ac_cv_search_nanosleep=$ac_res
20733 rm -f core conftest.err conftest.$ac_objext \
20734 conftest$ac_exeext
20735 if ${ac_cv_search_nanosleep+:} false; then :
20736 break
20738 done
20739 if ${ac_cv_search_nanosleep+:} false; then :
20741 else
20742 ac_cv_search_nanosleep=no
20744 rm conftest.$ac_ext
20745 LIBS=$ac_func_search_save_LIBS
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20748 $as_echo "$ac_cv_search_nanosleep" >&6; }
20749 ac_res=$ac_cv_search_nanosleep
20750 if test "$ac_res" != no; then :
20751 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20755 else
20756 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20757 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20761 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20762 if test "x$ac_cv_func_nanosleep" = xyes; then :
20768 case "$ac_cv_search_clock_gettime" in
20769 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20771 esac
20772 case "$ac_cv_search_nanosleep" in
20773 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20775 esac
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20778 $as_echo_n "checking for library containing sched_yield... " >&6; }
20779 if ${ac_cv_search_sched_yield+:} false; then :
20780 $as_echo_n "(cached) " >&6
20781 else
20782 ac_func_search_save_LIBS=$LIBS
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h. */
20786 /* Override any GCC internal prototype to avoid an error.
20787 Use char because int might match the return type of a GCC
20788 builtin and then its argument prototype would still apply. */
20789 #ifdef __cplusplus
20790 extern "C"
20791 #endif
20792 char sched_yield ();
20794 main ()
20796 return sched_yield ();
20798 return 0;
20800 _ACEOF
20801 for ac_lib in '' rt; do
20802 if test -z "$ac_lib"; then
20803 ac_res="none required"
20804 else
20805 ac_res=-l$ac_lib
20806 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20808 if test x$gcc_no_link = xyes; then
20809 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20811 if ac_fn_cxx_try_link "$LINENO"; then :
20812 ac_cv_search_sched_yield=$ac_res
20814 rm -f core conftest.err conftest.$ac_objext \
20815 conftest$ac_exeext
20816 if ${ac_cv_search_sched_yield+:} false; then :
20817 break
20819 done
20820 if ${ac_cv_search_sched_yield+:} false; then :
20822 else
20823 ac_cv_search_sched_yield=no
20825 rm conftest.$ac_ext
20826 LIBS=$ac_func_search_save_LIBS
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20829 $as_echo "$ac_cv_search_sched_yield" >&6; }
20830 ac_res=$ac_cv_search_sched_yield
20831 if test "$ac_res" != no; then :
20832 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20837 case "$ac_cv_search_sched_yield" in
20838 -lrt*)
20839 if test x"$enable_libstdcxx_time" = x"rt"; then
20840 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20841 ac_has_sched_yield=yes
20845 ac_has_sched_yield=yes
20847 esac
20849 for ac_header in unistd.h
20850 do :
20851 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20852 if test "x$ac_cv_header_unistd_h" = xyes; then :
20853 cat >>confdefs.h <<_ACEOF
20854 #define HAVE_UNISTD_H 1
20855 _ACEOF
20856 ac_has_unistd_h=yes
20857 else
20858 ac_has_unistd_h=no
20861 done
20864 if test x"$ac_has_unistd_h" = x"yes"; then
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20866 $as_echo_n "checking for monotonic clock... " >&6; }
20867 if test x$gcc_no_link = xyes; then
20868 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20871 /* end confdefs.h. */
20872 #include <unistd.h>
20873 #include <time.h>
20876 main ()
20878 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20879 timespec tp;
20880 #endif
20881 clock_gettime(CLOCK_MONOTONIC, &tp);
20884 return 0;
20886 _ACEOF
20887 if ac_fn_cxx_try_link "$LINENO"; then :
20888 ac_has_clock_monotonic=yes
20889 else
20890 ac_has_clock_monotonic=no
20892 rm -f core conftest.err conftest.$ac_objext \
20893 conftest$ac_exeext conftest.$ac_ext
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20896 $as_echo "$ac_has_clock_monotonic" >&6; }
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20899 $as_echo_n "checking for realtime clock... " >&6; }
20900 if test x$gcc_no_link = xyes; then
20901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20905 #include <unistd.h>
20906 #include <time.h>
20909 main ()
20911 #if _POSIX_TIMERS > 0
20912 timespec tp;
20913 #endif
20914 clock_gettime(CLOCK_REALTIME, &tp);
20917 return 0;
20919 _ACEOF
20920 if ac_fn_cxx_try_link "$LINENO"; then :
20921 ac_has_clock_realtime=yes
20922 else
20923 ac_has_clock_realtime=no
20925 rm -f core conftest.err conftest.$ac_objext \
20926 conftest$ac_exeext conftest.$ac_ext
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20929 $as_echo "$ac_has_clock_realtime" >&6; }
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20932 $as_echo_n "checking for nanosleep... " >&6; }
20933 if test x$gcc_no_link = xyes; then
20934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20938 #include <unistd.h>
20939 #include <time.h>
20942 main ()
20944 #if _POSIX_TIMERS > 0
20945 timespec tp;
20946 #endif
20947 nanosleep(&tp, 0);
20950 return 0;
20952 _ACEOF
20953 if ac_fn_cxx_try_link "$LINENO"; then :
20954 ac_has_nanosleep=yes
20955 else
20956 ac_has_nanosleep=no
20958 rm -f core conftest.err conftest.$ac_objext \
20959 conftest$ac_exeext conftest.$ac_ext
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20962 $as_echo "$ac_has_nanosleep" >&6; }
20966 if test x"$ac_has_clock_monotonic" != x"yes"; then
20967 case ${target_os} in
20968 linux* | uclinux*)
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20970 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 #include <unistd.h>
20974 #include <time.h>
20975 #include <sys/syscall.h>
20978 main ()
20980 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20981 timespec tp;
20982 #endif
20983 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20984 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20987 return 0;
20989 _ACEOF
20990 if ac_fn_cxx_try_compile "$LINENO"; then :
20991 ac_has_clock_gettime_syscall=yes
20992 else
20993 ac_has_clock_gettime_syscall=no
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20997 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20998 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21000 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21002 ac_has_clock_monotonic=yes
21003 ac_has_clock_realtime=yes
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21005 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21007 /* end confdefs.h. */
21008 #include <time.h>
21009 #include <sys/syscall.h>
21012 main ()
21014 #ifdef SYS_clock_gettime64
21015 #if SYS_clock_gettime64 != SYS_clock_gettime
21016 // We need to use SYS_clock_gettime and libc appears to
21017 // also know about the SYS_clock_gettime64 syscall.
21018 // Check that userspace doesn't use time64 version of timespec.
21019 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21020 "struct timespec must be compatible with SYS_clock_gettime");
21021 #endif
21022 #endif
21025 return 0;
21027 _ACEOF
21028 if ac_fn_cxx_try_compile "$LINENO"; then :
21029 ac_timespec_matches_syscall=yes
21030 else
21031 ac_timespec_matches_syscall=no
21033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21035 $as_echo "$ac_timespec_matches_syscall" >&6; }
21036 if test x"$ac_timespec_matches_syscall" = no; then
21037 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21039 fi;;
21040 esac
21043 if test x"$ac_has_clock_monotonic" = x"yes"; then
21045 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21049 if test x"$ac_has_clock_realtime" = x"yes"; then
21051 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21055 if test x"$ac_has_sched_yield" = x"yes"; then
21057 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21061 if test x"$ac_has_nanosleep" = x"yes"; then
21063 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21065 elif test x"$ac_has_win32_sleep" = x"yes"; then
21067 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21069 else
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21071 $as_echo_n "checking for sleep... " >&6; }
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21074 #include <unistd.h>
21076 main ()
21078 sleep(1)
21080 return 0;
21082 _ACEOF
21083 if ac_fn_cxx_try_compile "$LINENO"; then :
21084 ac_has_sleep=yes
21085 else
21086 ac_has_sleep=no
21088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21089 if test x"$ac_has_sleep" = x"yes"; then
21091 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21095 $as_echo "$ac_has_sleep" >&6; }
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21097 $as_echo_n "checking for usleep... " >&6; }
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h. */
21100 #include <unistd.h>
21102 main ()
21104 sleep(1);
21105 usleep(100);
21107 return 0;
21109 _ACEOF
21110 if ac_fn_cxx_try_compile "$LINENO"; then :
21111 ac_has_usleep=yes
21112 else
21113 ac_has_usleep=no
21115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21116 if test x"$ac_has_usleep" = x"yes"; then
21118 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21122 $as_echo "$ac_has_usleep" >&6; }
21125 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21127 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21133 CXXFLAGS="$ac_save_CXXFLAGS"
21134 LIBS="$ac_save_LIBS"
21135 ac_ext=c
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143 # Check for tmpnam which is obsolescent in POSIX.1-2008
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21154 $as_echo_n "checking for tmpnam... " >&6; }
21155 if ${glibcxx_cv_TMPNAM+:} false; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21158 if test x$gcc_no_link = xyes; then
21159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21160 /* end confdefs.h. */
21161 #include <stdio.h>
21163 main ()
21165 char *tmp = tmpnam(NULL);
21167 return 0;
21169 _ACEOF
21170 if ac_fn_cxx_try_compile "$LINENO"; then :
21171 glibcxx_cv_TMPNAM=yes
21172 else
21173 glibcxx_cv_TMPNAM=no
21175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21176 else
21177 if test x$gcc_no_link = xyes; then
21178 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21181 /* end confdefs.h. */
21182 #include <stdio.h>
21184 main ()
21186 char *tmp = tmpnam(NULL);
21188 return 0;
21190 _ACEOF
21191 if ac_fn_cxx_try_link "$LINENO"; then :
21192 glibcxx_cv_TMPNAM=yes
21193 else
21194 glibcxx_cv_TMPNAM=no
21196 rm -f core conftest.err conftest.$ac_objext \
21197 conftest$ac_exeext conftest.$ac_ext
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21202 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21203 if test $glibcxx_cv_TMPNAM = yes; then
21205 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21208 CXXFLAGS="$ac_save_CXXFLAGS"
21209 ac_ext=c
21210 ac_cpp='$CPP $CPPFLAGS'
21211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21217 # For pthread_cond_clockwait
21221 ac_ext=cpp
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 ac_save_CXXFLAGS="$CXXFLAGS"
21228 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21229 ac_save_LIBS="$LIBS"
21230 LIBS="$LIBS -lpthread"
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21233 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21234 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21235 $as_echo_n "(cached) " >&6
21236 else
21238 if test x$gcc_no_link = xyes; then
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <pthread.h>
21243 main ()
21245 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21247 return 0;
21249 _ACEOF
21250 if ac_fn_cxx_try_compile "$LINENO"; then :
21251 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21252 else
21253 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 else
21257 if test x$gcc_no_link = xyes; then
21258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21261 /* end confdefs.h. */
21262 #include <pthread.h>
21264 main ()
21266 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21268 return 0;
21270 _ACEOF
21271 if ac_fn_cxx_try_link "$LINENO"; then :
21272 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21273 else
21274 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21276 rm -f core conftest.err conftest.$ac_objext \
21277 conftest$ac_exeext conftest.$ac_ext
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21282 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21283 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21285 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21289 CXXFLAGS="$ac_save_CXXFLAGS"
21290 LIBS="$ac_save_LIBS"
21291 ac_ext=c
21292 ac_cpp='$CPP $CPPFLAGS'
21293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21299 # For pthread_mutex_clocklock
21303 ac_ext=cpp
21304 ac_cpp='$CXXCPP $CPPFLAGS'
21305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21309 ac_save_CXXFLAGS="$CXXFLAGS"
21310 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21311 ac_save_LIBS="$LIBS"
21312 LIBS="$LIBS -lpthread"
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21315 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21316 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21317 $as_echo_n "(cached) " >&6
21318 else
21320 if test x$gcc_no_link = xyes; then
21321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21322 /* end confdefs.h. */
21323 #include <pthread.h>
21325 main ()
21327 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21329 return 0;
21331 _ACEOF
21332 if ac_fn_cxx_try_compile "$LINENO"; then :
21333 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21334 else
21335 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21338 else
21339 if test x$gcc_no_link = xyes; then
21340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21343 /* end confdefs.h. */
21344 #include <pthread.h>
21346 main ()
21348 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21350 return 0;
21352 _ACEOF
21353 if ac_fn_cxx_try_link "$LINENO"; then :
21354 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21355 else
21356 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21358 rm -f core conftest.err conftest.$ac_objext \
21359 conftest$ac_exeext conftest.$ac_ext
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21364 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21365 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21367 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21371 CXXFLAGS="$ac_save_CXXFLAGS"
21372 LIBS="$ac_save_LIBS"
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21385 ac_ext=cpp
21386 ac_cpp='$CXXCPP $CPPFLAGS'
21387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21391 ac_save_CXXFLAGS="$CXXFLAGS"
21392 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21393 ac_save_LIBS="$LIBS"
21394 LIBS="$LIBS -lpthread"
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21397 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21398 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21399 $as_echo_n "(cached) " >&6
21400 else
21402 if test x$gcc_no_link = xyes; then
21403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21404 /* end confdefs.h. */
21405 #include <pthread.h>
21407 main ()
21409 pthread_rwlock_t rwl; struct timespec ts;
21410 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21411 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21413 return 0;
21415 _ACEOF
21416 if ac_fn_cxx_try_compile "$LINENO"; then :
21417 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21418 else
21419 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21422 else
21423 if test x$gcc_no_link = xyes; then
21424 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21427 /* end confdefs.h. */
21428 #include <pthread.h>
21430 main ()
21432 pthread_rwlock_t rwl; struct timespec ts;
21433 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21434 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21436 return 0;
21438 _ACEOF
21439 if ac_fn_cxx_try_link "$LINENO"; then :
21440 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21441 else
21442 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21444 rm -f core conftest.err conftest.$ac_objext \
21445 conftest$ac_exeext conftest.$ac_ext
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21450 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21451 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21453 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21457 CXXFLAGS="$ac_save_CXXFLAGS"
21458 LIBS="$ac_save_LIBS"
21459 ac_ext=c
21460 ac_cpp='$CPP $CPPFLAGS'
21461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21469 if test "x$ac_cv_header_locale_h" = xyes; then :
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21472 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21473 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21474 $as_echo_n "(cached) " >&6
21475 else
21476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21477 /* end confdefs.h. */
21478 #include <locale.h>
21480 main ()
21482 return LC_MESSAGES
21484 return 0;
21486 _ACEOF
21487 if ac_fn_c_try_compile "$LINENO"; then :
21488 ac_cv_val_LC_MESSAGES=yes
21489 else
21490 ac_cv_val_LC_MESSAGES=no
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21495 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21496 if test $ac_cv_val_LC_MESSAGES = yes; then
21498 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21507 # For hardware_concurrency
21508 for ac_header in sys/sysinfo.h
21509 do :
21510 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21511 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21512 cat >>confdefs.h <<_ACEOF
21513 #define HAVE_SYS_SYSINFO_H 1
21514 _ACEOF
21518 done
21523 ac_ext=cpp
21524 ac_cpp='$CXXCPP $CPPFLAGS'
21525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21529 ac_save_CXXFLAGS="$CXXFLAGS"
21530 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21533 $as_echo_n "checking for get_nprocs... " >&6; }
21534 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21535 $as_echo_n "(cached) " >&6
21536 else
21538 if test x$gcc_no_link = xyes; then
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21541 #include <sys/sysinfo.h>
21543 main ()
21545 int n = get_nprocs();
21547 return 0;
21549 _ACEOF
21550 if ac_fn_cxx_try_compile "$LINENO"; then :
21551 glibcxx_cv_GET_NPROCS=yes
21552 else
21553 glibcxx_cv_GET_NPROCS=no
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 else
21557 if test x$gcc_no_link = xyes; then
21558 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21562 #include <sys/sysinfo.h>
21564 main ()
21566 int n = get_nprocs();
21568 return 0;
21570 _ACEOF
21571 if ac_fn_cxx_try_link "$LINENO"; then :
21572 glibcxx_cv_GET_NPROCS=yes
21573 else
21574 glibcxx_cv_GET_NPROCS=no
21576 rm -f core conftest.err conftest.$ac_objext \
21577 conftest$ac_exeext conftest.$ac_ext
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21582 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21583 if test $glibcxx_cv_GET_NPROCS = yes; then
21585 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21589 CXXFLAGS="$ac_save_CXXFLAGS"
21590 ac_ext=c
21591 ac_cpp='$CPP $CPPFLAGS'
21592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21597 for ac_header in unistd.h
21598 do :
21599 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21600 if test "x$ac_cv_header_unistd_h" = xyes; then :
21601 cat >>confdefs.h <<_ACEOF
21602 #define HAVE_UNISTD_H 1
21603 _ACEOF
21607 done
21612 ac_ext=cpp
21613 ac_cpp='$CXXCPP $CPPFLAGS'
21614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21618 ac_save_CXXFLAGS="$CXXFLAGS"
21619 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21622 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21623 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21624 $as_echo_n "(cached) " >&6
21625 else
21627 if test x$gcc_no_link = xyes; then
21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h. */
21630 #include <unistd.h>
21632 main ()
21634 int n = sysconf(_SC_NPROCESSORS_ONLN);
21636 return 0;
21638 _ACEOF
21639 if ac_fn_cxx_try_compile "$LINENO"; then :
21640 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21641 else
21642 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21645 else
21646 if test x$gcc_no_link = xyes; then
21647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21650 /* end confdefs.h. */
21651 #include <unistd.h>
21653 main ()
21655 int n = sysconf(_SC_NPROCESSORS_ONLN);
21657 return 0;
21659 _ACEOF
21660 if ac_fn_cxx_try_link "$LINENO"; then :
21661 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21662 else
21663 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21665 rm -f core conftest.err conftest.$ac_objext \
21666 conftest$ac_exeext conftest.$ac_ext
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21671 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21672 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21674 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21678 CXXFLAGS="$ac_save_CXXFLAGS"
21679 ac_ext=c
21680 ac_cpp='$CPP $CPPFLAGS'
21681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21689 ac_ext=cpp
21690 ac_cpp='$CXXCPP $CPPFLAGS'
21691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21695 ac_save_CXXFLAGS="$CXXFLAGS"
21696 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21699 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21700 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21701 $as_echo_n "(cached) " >&6
21702 else
21704 if test x$gcc_no_link = xyes; then
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h. */
21707 #include <unistd.h>
21709 main ()
21711 int n = sysconf(_SC_NPROC_ONLN);
21713 return 0;
21715 _ACEOF
21716 if ac_fn_cxx_try_compile "$LINENO"; then :
21717 glibcxx_cv_SC_NPROC_ONLN=yes
21718 else
21719 glibcxx_cv_SC_NPROC_ONLN=no
21721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21722 else
21723 if test x$gcc_no_link = xyes; then
21724 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #include <unistd.h>
21730 main ()
21732 int n = sysconf(_SC_NPROC_ONLN);
21734 return 0;
21736 _ACEOF
21737 if ac_fn_cxx_try_link "$LINENO"; then :
21738 glibcxx_cv_SC_NPROC_ONLN=yes
21739 else
21740 glibcxx_cv_SC_NPROC_ONLN=no
21742 rm -f core conftest.err conftest.$ac_objext \
21743 conftest$ac_exeext conftest.$ac_ext
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21748 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21749 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21751 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21755 CXXFLAGS="$ac_save_CXXFLAGS"
21756 ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766 ac_ext=cpp
21767 ac_cpp='$CXXCPP $CPPFLAGS'
21768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772 ac_save_CXXFLAGS="$CXXFLAGS"
21773 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21776 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21777 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21781 if test x$gcc_no_link = xyes; then
21782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21783 /* end confdefs.h. */
21784 #include <pthread.h>
21786 main ()
21788 int n = pthread_num_processors_np();
21790 return 0;
21792 _ACEOF
21793 if ac_fn_cxx_try_compile "$LINENO"; then :
21794 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21795 else
21796 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21799 else
21800 if test x$gcc_no_link = xyes; then
21801 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21804 /* end confdefs.h. */
21805 #include <pthread.h>
21807 main ()
21809 int n = pthread_num_processors_np();
21811 return 0;
21813 _ACEOF
21814 if ac_fn_cxx_try_link "$LINENO"; then :
21815 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21816 else
21817 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21819 rm -f core conftest.err conftest.$ac_objext \
21820 conftest$ac_exeext conftest.$ac_ext
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21825 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21826 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21828 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21832 CXXFLAGS="$ac_save_CXXFLAGS"
21833 ac_ext=c
21834 ac_cpp='$CPP $CPPFLAGS'
21835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21843 ac_ext=cpp
21844 ac_cpp='$CXXCPP $CPPFLAGS'
21845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21849 ac_save_CXXFLAGS="$CXXFLAGS"
21850 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21853 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21854 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21855 $as_echo_n "(cached) " >&6
21856 else
21858 if test x$gcc_no_link = xyes; then
21859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21862 #include <stddef.h>
21863 #include <sys/sysctl.h>
21866 main ()
21869 int count;
21870 size_t size = sizeof(count);
21871 int mib[] = { CTL_HW, HW_NCPU };
21872 sysctl(mib, 2, &count, &size, NULL, 0);
21875 return 0;
21877 _ACEOF
21878 if ac_fn_cxx_try_compile "$LINENO"; then :
21879 glibcxx_cv_SYSCTL_HW_NCPU=yes
21880 else
21881 glibcxx_cv_SYSCTL_HW_NCPU=no
21883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21884 else
21885 if test x$gcc_no_link = xyes; then
21886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21889 /* end confdefs.h. */
21891 #include <stddef.h>
21892 #include <sys/sysctl.h>
21895 main ()
21898 int count;
21899 size_t size = sizeof(count);
21900 int mib[] = { CTL_HW, HW_NCPU };
21901 sysctl(mib, 2, &count, &size, NULL, 0);
21904 return 0;
21906 _ACEOF
21907 if ac_fn_cxx_try_link "$LINENO"; then :
21908 glibcxx_cv_SYSCTL_HW_NCPU=yes
21909 else
21910 glibcxx_cv_SYSCTL_HW_NCPU=no
21912 rm -f core conftest.err conftest.$ac_objext \
21913 conftest$ac_exeext conftest.$ac_ext
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21918 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21919 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21921 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21925 CXXFLAGS="$ac_save_CXXFLAGS"
21926 ac_ext=c
21927 ac_cpp='$CPP $CPPFLAGS'
21928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21934 # Note that this test has to be run with the C language.
21935 # Otherwise, sdt.h will try to include some headers from
21936 # libstdc++ itself.
21938 ac_ext=c
21939 ac_cpp='$CPP $CPPFLAGS'
21940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21945 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21946 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21947 $as_echo_n "(cached) " >&6
21948 else
21950 # Because we have to run the test in C, we use grep rather
21951 # than the compiler to check for the bug. The bug is that
21952 # were strings without trailing whitespace, causing g++
21953 # to look for operator"". The pattern searches for the fixed
21954 # output.
21955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21956 /* end confdefs.h. */
21958 #include <sys/sdt.h>
21959 int f() { STAP_PROBE(hi, bob); }
21961 _ACEOF
21962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21963 $EGREP " \",\" " >/dev/null 2>&1; then :
21964 glibcxx_cv_sys_sdt_h=yes
21965 else
21966 glibcxx_cv_sys_sdt_h=no
21968 rm -f conftest*
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21973 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21974 ac_ext=c
21975 ac_cpp='$CPP $CPPFLAGS'
21976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21980 if test $glibcxx_cv_sys_sdt_h = yes; then
21982 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21987 # Check for available headers.
21988 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21989 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21990 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21991 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21992 wchar.h wctype.h linux/types.h
21993 do :
21994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21995 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21996 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21997 cat >>confdefs.h <<_ACEOF
21998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21999 _ACEOF
22003 done
22006 for ac_header in linux/random.h
22007 do :
22008 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22009 # include <linux/types.h>
22010 #endif
22013 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define HAVE_LINUX_RANDOM_H 1
22016 _ACEOF
22020 done
22023 for ac_header in xlocale.h
22024 do :
22025 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22026 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22027 cat >>confdefs.h <<_ACEOF
22028 #define HAVE_XLOCALE_H 1
22029 _ACEOF
22033 done
22036 # Only do link tests if native. Else, hardcode.
22037 if $GLIBCXX_IS_NATIVE; then
22039 # We can do more elaborate tests that assume a working linker.
22040 CANADIAN=no
22044 # Check whether --with-gnu-ld was given.
22045 if test "${with_gnu_ld+set}" = set; then :
22046 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22047 else
22048 with_gnu_ld=no
22051 ac_prog=ld
22052 if test "$GCC" = yes; then
22053 # Check if gcc -print-prog-name=ld gives a path.
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22055 $as_echo_n "checking for ld used by $CC... " >&6; }
22056 case $host in
22057 *-*-mingw*)
22058 # gcc leaves a trailing carriage return which upsets mingw
22059 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22061 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22062 esac
22063 case $ac_prog in
22064 # Accept absolute paths.
22065 [\\/]* | ?:[\\/]*)
22066 re_direlt='/[^/][^/]*/\.\./'
22067 # Canonicalize the pathname of ld
22068 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22069 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22070 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22071 done
22072 test -z "$LD" && LD="$ac_prog"
22075 # If it fails, then pretend we aren't using GCC.
22076 ac_prog=ld
22079 # If it is relative, then search for the first ld in PATH.
22080 with_gnu_ld=unknown
22082 esac
22083 elif test "$with_gnu_ld" = yes; then
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22085 $as_echo_n "checking for GNU ld... " >&6; }
22086 else
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22088 $as_echo_n "checking for non-GNU ld... " >&6; }
22090 if ${lt_cv_path_LD+:} false; then :
22091 $as_echo_n "(cached) " >&6
22092 else
22093 if test -z "$LD"; then
22094 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22095 for ac_dir in $PATH; do
22096 IFS="$lt_save_ifs"
22097 test -z "$ac_dir" && ac_dir=.
22098 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22099 lt_cv_path_LD="$ac_dir/$ac_prog"
22100 # Check to see if the program is GNU ld. I'd rather use --version,
22101 # but apparently some variants of GNU ld only accept -v.
22102 # Break only if it was the GNU/non-GNU ld that we prefer.
22103 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22104 *GNU* | *'with BFD'*)
22105 test "$with_gnu_ld" != no && break
22108 test "$with_gnu_ld" != yes && break
22110 esac
22112 done
22113 IFS="$lt_save_ifs"
22114 else
22115 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22119 LD="$lt_cv_path_LD"
22120 if test -n "$LD"; then
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22122 $as_echo "$LD" >&6; }
22123 else
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22125 $as_echo "no" >&6; }
22127 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22129 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22130 if ${lt_cv_prog_gnu_ld+:} false; then :
22131 $as_echo_n "(cached) " >&6
22132 else
22133 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22134 case `$LD -v 2>&1 </dev/null` in
22135 *GNU* | *'with BFD'*)
22136 lt_cv_prog_gnu_ld=yes
22139 lt_cv_prog_gnu_ld=no
22141 esac
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22144 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22145 with_gnu_ld=$lt_cv_prog_gnu_ld
22153 # If we're not using GNU ld, then there's no point in even trying these
22154 # tests. Check for that first. We should have already tested for gld
22155 # by now (in libtool), but require it now just to be safe...
22156 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22157 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22161 # The name set by libtool depends on the version of libtool. Shame on us
22162 # for depending on an impl detail, but c'est la vie. Older versions used
22163 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22164 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22165 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22166 # set (hence we're using an older libtool), then set it.
22167 if test x${with_gnu_ld+set} != xset; then
22168 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22169 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22170 with_gnu_ld=no
22171 else
22172 with_gnu_ld=$ac_cv_prog_gnu_ld
22176 # Start by getting the version number. I think the libtool test already
22177 # does some of this, but throws away the result.
22178 glibcxx_ld_is_gold=no
22179 glibcxx_ld_is_mold=no
22180 if test x"$with_gnu_ld" = x"yes"; then
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22182 $as_echo_n "checking for ld version... " >&6; }
22184 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22185 glibcxx_ld_is_gold=yes
22186 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22187 glibcxx_ld_is_mold=yes
22189 ldver=`$LD --version 2>/dev/null |
22190 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22192 glibcxx_gnu_ld_version=`echo $ldver | \
22193 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22195 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22198 # Set --gc-sections.
22199 glibcxx_have_gc_sections=no
22200 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22201 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22202 glibcxx_have_gc_sections=yes
22204 else
22205 glibcxx_gcsections_min_ld=21602
22206 if test x"$with_gnu_ld" = x"yes" &&
22207 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22208 glibcxx_have_gc_sections=yes
22211 if test "$glibcxx_have_gc_sections" = "yes"; then
22212 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22213 # NB: This flag only works reliably after 2.16.1. Configure tests
22214 # for this are difficult, so hard wire a value that should work.
22216 ac_test_CFLAGS="${CFLAGS+set}"
22217 ac_save_CFLAGS="$CFLAGS"
22218 CFLAGS='-Wl,--gc-sections'
22220 # Check for -Wl,--gc-sections
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22222 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22223 if test x$gcc_no_link = xyes; then
22224 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 int one(void) { return 1; }
22229 int two(void) { return 2; }
22232 main ()
22234 two();
22236 return 0;
22238 _ACEOF
22239 if ac_fn_c_try_link "$LINENO"; then :
22240 ac_gcsections=yes
22241 else
22242 ac_gcsections=no
22244 rm -f core conftest.err conftest.$ac_objext \
22245 conftest$ac_exeext conftest.$ac_ext
22246 if test "$ac_gcsections" = "yes"; then
22247 rm -f conftest.c
22248 touch conftest.c
22249 if $CC -c conftest.c; then
22250 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22251 grep "Warning: gc-sections option ignored" > /dev/null; then
22252 ac_gcsections=no
22255 rm -f conftest.c conftest.o conftest
22257 if test "$ac_gcsections" = "yes"; then
22258 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22261 $as_echo "$ac_gcsections" >&6; }
22263 if test "$ac_test_CFLAGS" = set; then
22264 CFLAGS="$ac_save_CFLAGS"
22265 else
22266 # this is the suspicious part
22267 CFLAGS=''
22271 # Set -z,relro.
22272 # Note this is only for shared objects.
22273 ac_ld_relro=no
22274 if test x"$with_gnu_ld" = x"yes"; then
22275 # cygwin and mingw uses PE, which has no ELF relro support,
22276 # multi target ld may confuse configure machinery
22277 case "$host" in
22278 *-*-cygwin*)
22280 *-*-mingw*)
22283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22284 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22285 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22286 if test -n "$cxx_z_relo"; then
22287 OPT_LDFLAGS="-Wl,-z,relro"
22288 ac_ld_relro=yes
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22291 $as_echo "$ac_ld_relro" >&6; }
22292 esac
22295 # Set linker optimization flags.
22296 if test x"$with_gnu_ld" = x"yes"; then
22297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22305 ac_save_CXXFLAGS="$CXXFLAGS"
22306 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22309 $as_echo_n "checking for sin in -lm... " >&6; }
22310 if ${ac_cv_lib_m_sin+:} false; then :
22311 $as_echo_n "(cached) " >&6
22312 else
22313 ac_check_lib_save_LIBS=$LIBS
22314 LIBS="-lm $LIBS"
22315 if test x$gcc_no_link = xyes; then
22316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h. */
22321 /* Override any GCC internal prototype to avoid an error.
22322 Use char because int might match the return type of a GCC
22323 builtin and then its argument prototype would still apply. */
22324 #ifdef __cplusplus
22325 extern "C"
22326 #endif
22327 char sin ();
22329 main ()
22331 return sin ();
22333 return 0;
22335 _ACEOF
22336 if ac_fn_c_try_link "$LINENO"; then :
22337 ac_cv_lib_m_sin=yes
22338 else
22339 ac_cv_lib_m_sin=no
22341 rm -f core conftest.err conftest.$ac_objext \
22342 conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22346 $as_echo "$ac_cv_lib_m_sin" >&6; }
22347 if test "x$ac_cv_lib_m_sin" = xyes; then :
22348 libm="-lm"
22351 ac_save_LIBS="$LIBS"
22352 LIBS="$LIBS $libm"
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22357 $as_echo_n "checking for isinf declaration... " >&6; }
22358 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22359 if ${glibcxx_cv_func_isinf_use+:} false; then :
22360 $as_echo_n "(cached) " >&6
22361 else
22364 ac_ext=cpp
22365 ac_cpp='$CXXCPP $CPPFLAGS'
22366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22371 /* end confdefs.h. */
22372 #include <math.h>
22373 #ifdef HAVE_IEEEFP_H
22374 #include <ieeefp.h>
22375 #endif
22378 main ()
22380 isinf(0);
22382 return 0;
22384 _ACEOF
22385 if ac_fn_cxx_try_compile "$LINENO"; then :
22386 glibcxx_cv_func_isinf_use=yes
22387 else
22388 glibcxx_cv_func_isinf_use=no
22390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22391 ac_ext=c
22392 ac_cpp='$CPP $CPPFLAGS'
22393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22402 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22404 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22405 for ac_func in isinf
22406 do :
22407 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22408 if test "x$ac_cv_func_isinf" = xyes; then :
22409 cat >>confdefs.h <<_ACEOF
22410 #define HAVE_ISINF 1
22411 _ACEOF
22414 done
22416 else
22418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22419 $as_echo_n "checking for _isinf declaration... " >&6; }
22420 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22421 if ${glibcxx_cv_func__isinf_use+:} false; then :
22422 $as_echo_n "(cached) " >&6
22423 else
22426 ac_ext=cpp
22427 ac_cpp='$CXXCPP $CPPFLAGS'
22428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22434 #include <math.h>
22435 #ifdef HAVE_IEEEFP_H
22436 #include <ieeefp.h>
22437 #endif
22440 main ()
22442 _isinf(0);
22444 return 0;
22446 _ACEOF
22447 if ac_fn_cxx_try_compile "$LINENO"; then :
22448 glibcxx_cv_func__isinf_use=yes
22449 else
22450 glibcxx_cv_func__isinf_use=no
22452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22453 ac_ext=c
22454 ac_cpp='$CPP $CPPFLAGS'
22455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22464 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22466 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22467 for ac_func in _isinf
22468 do :
22469 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22470 if test "x$ac_cv_func__isinf" = xyes; then :
22471 cat >>confdefs.h <<_ACEOF
22472 #define HAVE__ISINF 1
22473 _ACEOF
22476 done
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22486 $as_echo_n "checking for isnan declaration... " >&6; }
22487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22488 if ${glibcxx_cv_func_isnan_use+:} false; then :
22489 $as_echo_n "(cached) " >&6
22490 else
22493 ac_ext=cpp
22494 ac_cpp='$CXXCPP $CPPFLAGS'
22495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22500 /* end confdefs.h. */
22501 #include <math.h>
22502 #ifdef HAVE_IEEEFP_H
22503 #include <ieeefp.h>
22504 #endif
22507 main ()
22509 isnan(0);
22511 return 0;
22513 _ACEOF
22514 if ac_fn_cxx_try_compile "$LINENO"; then :
22515 glibcxx_cv_func_isnan_use=yes
22516 else
22517 glibcxx_cv_func_isnan_use=no
22519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22520 ac_ext=c
22521 ac_cpp='$CPP $CPPFLAGS'
22522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22531 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22533 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22534 for ac_func in isnan
22535 do :
22536 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22537 if test "x$ac_cv_func_isnan" = xyes; then :
22538 cat >>confdefs.h <<_ACEOF
22539 #define HAVE_ISNAN 1
22540 _ACEOF
22543 done
22545 else
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22548 $as_echo_n "checking for _isnan declaration... " >&6; }
22549 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22550 if ${glibcxx_cv_func__isnan_use+:} false; then :
22551 $as_echo_n "(cached) " >&6
22552 else
22555 ac_ext=cpp
22556 ac_cpp='$CXXCPP $CPPFLAGS'
22557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22562 /* end confdefs.h. */
22563 #include <math.h>
22564 #ifdef HAVE_IEEEFP_H
22565 #include <ieeefp.h>
22566 #endif
22569 main ()
22571 _isnan(0);
22573 return 0;
22575 _ACEOF
22576 if ac_fn_cxx_try_compile "$LINENO"; then :
22577 glibcxx_cv_func__isnan_use=yes
22578 else
22579 glibcxx_cv_func__isnan_use=no
22581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22582 ac_ext=c
22583 ac_cpp='$CPP $CPPFLAGS'
22584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22593 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22595 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22596 for ac_func in _isnan
22597 do :
22598 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22599 if test "x$ac_cv_func__isnan" = xyes; then :
22600 cat >>confdefs.h <<_ACEOF
22601 #define HAVE__ISNAN 1
22602 _ACEOF
22605 done
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22615 $as_echo_n "checking for finite declaration... " >&6; }
22616 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22617 if ${glibcxx_cv_func_finite_use+:} false; then :
22618 $as_echo_n "(cached) " >&6
22619 else
22622 ac_ext=cpp
22623 ac_cpp='$CXXCPP $CPPFLAGS'
22624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h. */
22630 #include <math.h>
22631 #ifdef HAVE_IEEEFP_H
22632 #include <ieeefp.h>
22633 #endif
22636 main ()
22638 finite(0);
22640 return 0;
22642 _ACEOF
22643 if ac_fn_cxx_try_compile "$LINENO"; then :
22644 glibcxx_cv_func_finite_use=yes
22645 else
22646 glibcxx_cv_func_finite_use=no
22648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22649 ac_ext=c
22650 ac_cpp='$CPP $CPPFLAGS'
22651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22660 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22662 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22663 for ac_func in finite
22664 do :
22665 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22666 if test "x$ac_cv_func_finite" = xyes; then :
22667 cat >>confdefs.h <<_ACEOF
22668 #define HAVE_FINITE 1
22669 _ACEOF
22672 done
22674 else
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22677 $as_echo_n "checking for _finite declaration... " >&6; }
22678 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22679 if ${glibcxx_cv_func__finite_use+:} false; then :
22680 $as_echo_n "(cached) " >&6
22681 else
22684 ac_ext=cpp
22685 ac_cpp='$CXXCPP $CPPFLAGS'
22686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22691 /* end confdefs.h. */
22692 #include <math.h>
22693 #ifdef HAVE_IEEEFP_H
22694 #include <ieeefp.h>
22695 #endif
22698 main ()
22700 _finite(0);
22702 return 0;
22704 _ACEOF
22705 if ac_fn_cxx_try_compile "$LINENO"; then :
22706 glibcxx_cv_func__finite_use=yes
22707 else
22708 glibcxx_cv_func__finite_use=no
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711 ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22722 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22724 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22725 for ac_func in _finite
22726 do :
22727 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22728 if test "x$ac_cv_func__finite" = xyes; then :
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE__FINITE 1
22731 _ACEOF
22734 done
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22744 $as_echo_n "checking for sincos declaration... " >&6; }
22745 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22746 if ${glibcxx_cv_func_sincos_use+:} false; then :
22747 $as_echo_n "(cached) " >&6
22748 else
22751 ac_ext=cpp
22752 ac_cpp='$CXXCPP $CPPFLAGS'
22753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h. */
22759 #include <math.h>
22761 main ()
22763 sincos(0, 0, 0);
22765 return 0;
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769 glibcxx_cv_func_sincos_use=yes
22770 else
22771 glibcxx_cv_func_sincos_use=no
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22785 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22787 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22788 for ac_func in sincos
22789 do :
22790 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22791 if test "x$ac_cv_func_sincos" = xyes; then :
22792 cat >>confdefs.h <<_ACEOF
22793 #define HAVE_SINCOS 1
22794 _ACEOF
22797 done
22799 else
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22802 $as_echo_n "checking for _sincos declaration... " >&6; }
22803 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22804 if ${glibcxx_cv_func__sincos_use+:} false; then :
22805 $as_echo_n "(cached) " >&6
22806 else
22809 ac_ext=cpp
22810 ac_cpp='$CXXCPP $CPPFLAGS'
22811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22817 #include <math.h>
22819 main ()
22821 _sincos(0, 0, 0);
22823 return 0;
22825 _ACEOF
22826 if ac_fn_cxx_try_compile "$LINENO"; then :
22827 glibcxx_cv_func__sincos_use=yes
22828 else
22829 glibcxx_cv_func__sincos_use=no
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 ac_ext=c
22833 ac_cpp='$CPP $CPPFLAGS'
22834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22843 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22845 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22846 for ac_func in _sincos
22847 do :
22848 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22849 if test "x$ac_cv_func__sincos" = xyes; then :
22850 cat >>confdefs.h <<_ACEOF
22851 #define HAVE__SINCOS 1
22852 _ACEOF
22855 done
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22865 $as_echo_n "checking for fpclass declaration... " >&6; }
22866 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22867 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22868 $as_echo_n "(cached) " >&6
22869 else
22872 ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h. */
22880 #include <math.h>
22881 #ifdef HAVE_IEEEFP_H
22882 #include <ieeefp.h>
22883 #endif
22886 main ()
22888 fpclass(0);
22890 return 0;
22892 _ACEOF
22893 if ac_fn_cxx_try_compile "$LINENO"; then :
22894 glibcxx_cv_func_fpclass_use=yes
22895 else
22896 glibcxx_cv_func_fpclass_use=no
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22899 ac_ext=c
22900 ac_cpp='$CPP $CPPFLAGS'
22901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22910 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22912 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22913 for ac_func in fpclass
22914 do :
22915 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22916 if test "x$ac_cv_func_fpclass" = xyes; then :
22917 cat >>confdefs.h <<_ACEOF
22918 #define HAVE_FPCLASS 1
22919 _ACEOF
22922 done
22924 else
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22927 $as_echo_n "checking for _fpclass declaration... " >&6; }
22928 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22929 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22930 $as_echo_n "(cached) " >&6
22931 else
22934 ac_ext=cpp
22935 ac_cpp='$CXXCPP $CPPFLAGS'
22936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22941 /* end confdefs.h. */
22942 #include <math.h>
22943 #ifdef HAVE_IEEEFP_H
22944 #include <ieeefp.h>
22945 #endif
22948 main ()
22950 _fpclass(0);
22952 return 0;
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956 glibcxx_cv_func__fpclass_use=yes
22957 else
22958 glibcxx_cv_func__fpclass_use=no
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22972 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22974 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22975 for ac_func in _fpclass
22976 do :
22977 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22978 if test "x$ac_cv_func__fpclass" = xyes; then :
22979 cat >>confdefs.h <<_ACEOF
22980 #define HAVE__FPCLASS 1
22981 _ACEOF
22984 done
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22994 $as_echo_n "checking for qfpclass declaration... " >&6; }
22995 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22996 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22997 $as_echo_n "(cached) " >&6
22998 else
23001 ac_ext=cpp
23002 ac_cpp='$CXXCPP $CPPFLAGS'
23003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23008 /* end confdefs.h. */
23009 #include <math.h>
23010 #ifdef HAVE_IEEEFP_H
23011 #include <ieeefp.h>
23012 #endif
23015 main ()
23017 qfpclass(0);
23019 return 0;
23021 _ACEOF
23022 if ac_fn_cxx_try_compile "$LINENO"; then :
23023 glibcxx_cv_func_qfpclass_use=yes
23024 else
23025 glibcxx_cv_func_qfpclass_use=no
23027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23028 ac_ext=c
23029 ac_cpp='$CPP $CPPFLAGS'
23030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23039 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23041 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23042 for ac_func in qfpclass
23043 do :
23044 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23045 if test "x$ac_cv_func_qfpclass" = xyes; then :
23046 cat >>confdefs.h <<_ACEOF
23047 #define HAVE_QFPCLASS 1
23048 _ACEOF
23051 done
23053 else
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23056 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23057 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23058 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23072 #ifdef HAVE_IEEEFP_H
23073 #include <ieeefp.h>
23074 #endif
23077 main ()
23079 _qfpclass(0);
23081 return 0;
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085 glibcxx_cv_func__qfpclass_use=yes
23086 else
23087 glibcxx_cv_func__qfpclass_use=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23101 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23103 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23104 for ac_func in _qfpclass
23105 do :
23106 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23107 if test "x$ac_cv_func__qfpclass" = xyes; then :
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE__QFPCLASS 1
23110 _ACEOF
23113 done
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23123 $as_echo_n "checking for hypot declaration... " >&6; }
23124 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23125 if ${glibcxx_cv_func_hypot_use+:} false; then :
23126 $as_echo_n "(cached) " >&6
23127 else
23130 ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h. */
23138 #include <math.h>
23140 main ()
23142 hypot(0, 0);
23144 return 0;
23146 _ACEOF
23147 if ac_fn_cxx_try_compile "$LINENO"; then :
23148 glibcxx_cv_func_hypot_use=yes
23149 else
23150 glibcxx_cv_func_hypot_use=no
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23153 ac_ext=c
23154 ac_cpp='$CPP $CPPFLAGS'
23155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23164 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23166 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23167 for ac_func in hypot
23168 do :
23169 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23170 if test "x$ac_cv_func_hypot" = xyes; then :
23171 cat >>confdefs.h <<_ACEOF
23172 #define HAVE_HYPOT 1
23173 _ACEOF
23176 done
23178 else
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23181 $as_echo_n "checking for _hypot declaration... " >&6; }
23182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23183 if ${glibcxx_cv_func__hypot_use+:} false; then :
23184 $as_echo_n "(cached) " >&6
23185 else
23188 ac_ext=cpp
23189 ac_cpp='$CXXCPP $CPPFLAGS'
23190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23195 /* end confdefs.h. */
23196 #include <math.h>
23198 main ()
23200 _hypot(0, 0);
23202 return 0;
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206 glibcxx_cv_func__hypot_use=yes
23207 else
23208 glibcxx_cv_func__hypot_use=no
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23222 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23224 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23225 for ac_func in _hypot
23226 do :
23227 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23228 if test "x$ac_cv_func__hypot" = xyes; then :
23229 cat >>confdefs.h <<_ACEOF
23230 #define HAVE__HYPOT 1
23231 _ACEOF
23234 done
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23244 $as_echo_n "checking for float trig functions... " >&6; }
23245 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23246 $as_echo_n "(cached) " >&6
23247 else
23250 ac_ext=cpp
23251 ac_cpp='$CXXCPP $CPPFLAGS'
23252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23258 #include <math.h>
23260 main ()
23262 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23264 return 0;
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268 glibcxx_cv_func_float_trig_use=yes
23269 else
23270 glibcxx_cv_func_float_trig_use=no
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23282 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23283 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23284 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23285 do :
23286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23288 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23289 cat >>confdefs.h <<_ACEOF
23290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23291 _ACEOF
23294 done
23296 else
23297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23298 $as_echo_n "checking for _float trig functions... " >&6; }
23299 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23300 $as_echo_n "(cached) " >&6
23301 else
23304 ac_ext=cpp
23305 ac_cpp='$CXXCPP $CPPFLAGS'
23306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h. */
23312 #include <math.h>
23314 main ()
23316 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23318 return 0;
23320 _ACEOF
23321 if ac_fn_cxx_try_compile "$LINENO"; then :
23322 glibcxx_cv_func__float_trig_use=yes
23323 else
23324 glibcxx_cv_func__float_trig_use=no
23326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23327 ac_ext=c
23328 ac_cpp='$CPP $CPPFLAGS'
23329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23336 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23337 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23338 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23339 do :
23340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23343 cat >>confdefs.h <<_ACEOF
23344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23345 _ACEOF
23348 done
23357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23358 $as_echo_n "checking for float round functions... " >&6; }
23359 if ${glibcxx_cv_func_float_round_use+:} false; then :
23360 $as_echo_n "(cached) " >&6
23361 else
23364 ac_ext=cpp
23365 ac_cpp='$CXXCPP $CPPFLAGS'
23366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23371 /* end confdefs.h. */
23372 #include <math.h>
23374 main ()
23376 ceilf (0); floorf (0);
23378 return 0;
23380 _ACEOF
23381 if ac_fn_cxx_try_compile "$LINENO"; then :
23382 glibcxx_cv_func_float_round_use=yes
23383 else
23384 glibcxx_cv_func_float_round_use=no
23386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23387 ac_ext=c
23388 ac_cpp='$CPP $CPPFLAGS'
23389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23396 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23397 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23398 for ac_func in ceilf floorf
23399 do :
23400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23402 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23403 cat >>confdefs.h <<_ACEOF
23404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23405 _ACEOF
23408 done
23410 else
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23412 $as_echo_n "checking for _float round functions... " >&6; }
23413 if ${glibcxx_cv_func__float_round_use+:} false; then :
23414 $as_echo_n "(cached) " >&6
23415 else
23418 ac_ext=cpp
23419 ac_cpp='$CXXCPP $CPPFLAGS'
23420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23425 /* end confdefs.h. */
23426 #include <math.h>
23428 main ()
23430 _ceilf (0); _floorf (0);
23432 return 0;
23434 _ACEOF
23435 if ac_fn_cxx_try_compile "$LINENO"; then :
23436 glibcxx_cv_func__float_round_use=yes
23437 else
23438 glibcxx_cv_func__float_round_use=no
23440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23441 ac_ext=c
23442 ac_cpp='$CPP $CPPFLAGS'
23443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23450 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23451 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23452 for ac_func in _ceilf _floorf
23453 do :
23454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23456 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23457 cat >>confdefs.h <<_ACEOF
23458 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23459 _ACEOF
23462 done
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23473 $as_echo_n "checking for expf declaration... " >&6; }
23474 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23475 if ${glibcxx_cv_func_expf_use+:} false; then :
23476 $as_echo_n "(cached) " >&6
23477 else
23480 ac_ext=cpp
23481 ac_cpp='$CXXCPP $CPPFLAGS'
23482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23487 /* end confdefs.h. */
23488 #include <math.h>
23489 #ifdef HAVE_IEEEFP_H
23490 #include <ieeefp.h>
23491 #endif
23494 main ()
23496 expf(0);
23498 return 0;
23500 _ACEOF
23501 if ac_fn_cxx_try_compile "$LINENO"; then :
23502 glibcxx_cv_func_expf_use=yes
23503 else
23504 glibcxx_cv_func_expf_use=no
23506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23507 ac_ext=c
23508 ac_cpp='$CPP $CPPFLAGS'
23509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23518 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23520 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23521 for ac_func in expf
23522 do :
23523 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23524 if test "x$ac_cv_func_expf" = xyes; then :
23525 cat >>confdefs.h <<_ACEOF
23526 #define HAVE_EXPF 1
23527 _ACEOF
23530 done
23532 else
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23535 $as_echo_n "checking for _expf declaration... " >&6; }
23536 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23537 if ${glibcxx_cv_func__expf_use+:} false; then :
23538 $as_echo_n "(cached) " >&6
23539 else
23542 ac_ext=cpp
23543 ac_cpp='$CXXCPP $CPPFLAGS'
23544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23549 /* end confdefs.h. */
23550 #include <math.h>
23551 #ifdef HAVE_IEEEFP_H
23552 #include <ieeefp.h>
23553 #endif
23556 main ()
23558 _expf(0);
23560 return 0;
23562 _ACEOF
23563 if ac_fn_cxx_try_compile "$LINENO"; then :
23564 glibcxx_cv_func__expf_use=yes
23565 else
23566 glibcxx_cv_func__expf_use=no
23568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23569 ac_ext=c
23570 ac_cpp='$CPP $CPPFLAGS'
23571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23580 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23582 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23583 for ac_func in _expf
23584 do :
23585 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23586 if test "x$ac_cv_func__expf" = xyes; then :
23587 cat >>confdefs.h <<_ACEOF
23588 #define HAVE__EXPF 1
23589 _ACEOF
23592 done
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23602 $as_echo_n "checking for isnanf declaration... " >&6; }
23603 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23604 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23605 $as_echo_n "(cached) " >&6
23606 else
23609 ac_ext=cpp
23610 ac_cpp='$CXXCPP $CPPFLAGS'
23611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23616 /* end confdefs.h. */
23617 #include <math.h>
23618 #ifdef HAVE_IEEEFP_H
23619 #include <ieeefp.h>
23620 #endif
23623 main ()
23625 isnanf(0);
23627 return 0;
23629 _ACEOF
23630 if ac_fn_cxx_try_compile "$LINENO"; then :
23631 glibcxx_cv_func_isnanf_use=yes
23632 else
23633 glibcxx_cv_func_isnanf_use=no
23635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23647 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23649 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23650 for ac_func in isnanf
23651 do :
23652 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23653 if test "x$ac_cv_func_isnanf" = xyes; then :
23654 cat >>confdefs.h <<_ACEOF
23655 #define HAVE_ISNANF 1
23656 _ACEOF
23659 done
23661 else
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23664 $as_echo_n "checking for _isnanf declaration... " >&6; }
23665 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23666 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23667 $as_echo_n "(cached) " >&6
23668 else
23671 ac_ext=cpp
23672 ac_cpp='$CXXCPP $CPPFLAGS'
23673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23678 /* end confdefs.h. */
23679 #include <math.h>
23680 #ifdef HAVE_IEEEFP_H
23681 #include <ieeefp.h>
23682 #endif
23685 main ()
23687 _isnanf(0);
23689 return 0;
23691 _ACEOF
23692 if ac_fn_cxx_try_compile "$LINENO"; then :
23693 glibcxx_cv_func__isnanf_use=yes
23694 else
23695 glibcxx_cv_func__isnanf_use=no
23697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23698 ac_ext=c
23699 ac_cpp='$CPP $CPPFLAGS'
23700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23709 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23711 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23712 for ac_func in _isnanf
23713 do :
23714 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23715 if test "x$ac_cv_func__isnanf" = xyes; then :
23716 cat >>confdefs.h <<_ACEOF
23717 #define HAVE__ISNANF 1
23718 _ACEOF
23721 done
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23731 $as_echo_n "checking for isinff declaration... " >&6; }
23732 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23733 if ${glibcxx_cv_func_isinff_use+:} false; then :
23734 $as_echo_n "(cached) " >&6
23735 else
23738 ac_ext=cpp
23739 ac_cpp='$CXXCPP $CPPFLAGS'
23740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23745 /* end confdefs.h. */
23746 #include <math.h>
23747 #ifdef HAVE_IEEEFP_H
23748 #include <ieeefp.h>
23749 #endif
23752 main ()
23754 isinff(0);
23756 return 0;
23758 _ACEOF
23759 if ac_fn_cxx_try_compile "$LINENO"; then :
23760 glibcxx_cv_func_isinff_use=yes
23761 else
23762 glibcxx_cv_func_isinff_use=no
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23776 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23778 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23779 for ac_func in isinff
23780 do :
23781 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23782 if test "x$ac_cv_func_isinff" = xyes; then :
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE_ISINFF 1
23785 _ACEOF
23788 done
23790 else
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23793 $as_echo_n "checking for _isinff declaration... " >&6; }
23794 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23795 if ${glibcxx_cv_func__isinff_use+:} false; then :
23796 $as_echo_n "(cached) " >&6
23797 else
23800 ac_ext=cpp
23801 ac_cpp='$CXXCPP $CPPFLAGS'
23802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23807 /* end confdefs.h. */
23808 #include <math.h>
23809 #ifdef HAVE_IEEEFP_H
23810 #include <ieeefp.h>
23811 #endif
23814 main ()
23816 _isinff(0);
23818 return 0;
23820 _ACEOF
23821 if ac_fn_cxx_try_compile "$LINENO"; then :
23822 glibcxx_cv_func__isinff_use=yes
23823 else
23824 glibcxx_cv_func__isinff_use=no
23826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827 ac_ext=c
23828 ac_cpp='$CPP $CPPFLAGS'
23829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23838 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23840 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23841 for ac_func in _isinff
23842 do :
23843 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23844 if test "x$ac_cv_func__isinff" = xyes; then :
23845 cat >>confdefs.h <<_ACEOF
23846 #define HAVE__ISINFF 1
23847 _ACEOF
23850 done
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23860 $as_echo_n "checking for atan2f declaration... " >&6; }
23861 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23862 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23877 main ()
23879 atan2f(0, 0);
23881 return 0;
23883 _ACEOF
23884 if ac_fn_cxx_try_compile "$LINENO"; then :
23885 glibcxx_cv_func_atan2f_use=yes
23886 else
23887 glibcxx_cv_func_atan2f_use=no
23889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890 ac_ext=c
23891 ac_cpp='$CPP $CPPFLAGS'
23892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23901 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23903 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23904 for ac_func in atan2f
23905 do :
23906 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23907 if test "x$ac_cv_func_atan2f" = xyes; then :
23908 cat >>confdefs.h <<_ACEOF
23909 #define HAVE_ATAN2F 1
23910 _ACEOF
23913 done
23915 else
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23918 $as_echo_n "checking for _atan2f declaration... " >&6; }
23919 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23920 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23921 $as_echo_n "(cached) " >&6
23922 else
23925 ac_ext=cpp
23926 ac_cpp='$CXXCPP $CPPFLAGS'
23927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23932 /* end confdefs.h. */
23933 #include <math.h>
23935 main ()
23937 _atan2f(0, 0);
23939 return 0;
23941 _ACEOF
23942 if ac_fn_cxx_try_compile "$LINENO"; then :
23943 glibcxx_cv_func__atan2f_use=yes
23944 else
23945 glibcxx_cv_func__atan2f_use=no
23947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23948 ac_ext=c
23949 ac_cpp='$CPP $CPPFLAGS'
23950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23959 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23961 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23962 for ac_func in _atan2f
23963 do :
23964 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23965 if test "x$ac_cv_func__atan2f" = xyes; then :
23966 cat >>confdefs.h <<_ACEOF
23967 #define HAVE__ATAN2F 1
23968 _ACEOF
23971 done
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23981 $as_echo_n "checking for fabsf declaration... " >&6; }
23982 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23983 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23984 $as_echo_n "(cached) " >&6
23985 else
23988 ac_ext=cpp
23989 ac_cpp='$CXXCPP $CPPFLAGS'
23990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23996 #include <math.h>
23997 #ifdef HAVE_IEEEFP_H
23998 #include <ieeefp.h>
23999 #endif
24002 main ()
24004 fabsf(0);
24006 return 0;
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func_fabsf_use=yes
24011 else
24012 glibcxx_cv_func_fabsf_use=no
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24026 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24028 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24029 for ac_func in fabsf
24030 do :
24031 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24032 if test "x$ac_cv_func_fabsf" = xyes; then :
24033 cat >>confdefs.h <<_ACEOF
24034 #define HAVE_FABSF 1
24035 _ACEOF
24038 done
24040 else
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24043 $as_echo_n "checking for _fabsf declaration... " >&6; }
24044 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24045 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24046 $as_echo_n "(cached) " >&6
24047 else
24050 ac_ext=cpp
24051 ac_cpp='$CXXCPP $CPPFLAGS'
24052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24057 /* end confdefs.h. */
24058 #include <math.h>
24059 #ifdef HAVE_IEEEFP_H
24060 #include <ieeefp.h>
24061 #endif
24064 main ()
24066 _fabsf(0);
24068 return 0;
24070 _ACEOF
24071 if ac_fn_cxx_try_compile "$LINENO"; then :
24072 glibcxx_cv_func__fabsf_use=yes
24073 else
24074 glibcxx_cv_func__fabsf_use=no
24076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24077 ac_ext=c
24078 ac_cpp='$CPP $CPPFLAGS'
24079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24088 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24090 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24091 for ac_func in _fabsf
24092 do :
24093 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24094 if test "x$ac_cv_func__fabsf" = xyes; then :
24095 cat >>confdefs.h <<_ACEOF
24096 #define HAVE__FABSF 1
24097 _ACEOF
24100 done
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24110 $as_echo_n "checking for fmodf declaration... " >&6; }
24111 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24112 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24113 $as_echo_n "(cached) " >&6
24114 else
24117 ac_ext=cpp
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24124 /* end confdefs.h. */
24125 #include <math.h>
24127 main ()
24129 fmodf(0, 0);
24131 return 0;
24133 _ACEOF
24134 if ac_fn_cxx_try_compile "$LINENO"; then :
24135 glibcxx_cv_func_fmodf_use=yes
24136 else
24137 glibcxx_cv_func_fmodf_use=no
24139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24140 ac_ext=c
24141 ac_cpp='$CPP $CPPFLAGS'
24142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24151 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24153 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24154 for ac_func in fmodf
24155 do :
24156 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24157 if test "x$ac_cv_func_fmodf" = xyes; then :
24158 cat >>confdefs.h <<_ACEOF
24159 #define HAVE_FMODF 1
24160 _ACEOF
24163 done
24165 else
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24168 $as_echo_n "checking for _fmodf declaration... " >&6; }
24169 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24170 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24171 $as_echo_n "(cached) " >&6
24172 else
24175 ac_ext=cpp
24176 ac_cpp='$CXXCPP $CPPFLAGS'
24177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24182 /* end confdefs.h. */
24183 #include <math.h>
24185 main ()
24187 _fmodf(0, 0);
24189 return 0;
24191 _ACEOF
24192 if ac_fn_cxx_try_compile "$LINENO"; then :
24193 glibcxx_cv_func__fmodf_use=yes
24194 else
24195 glibcxx_cv_func__fmodf_use=no
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24198 ac_ext=c
24199 ac_cpp='$CPP $CPPFLAGS'
24200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24209 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24211 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24212 for ac_func in _fmodf
24213 do :
24214 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24215 if test "x$ac_cv_func__fmodf" = xyes; then :
24216 cat >>confdefs.h <<_ACEOF
24217 #define HAVE__FMODF 1
24218 _ACEOF
24221 done
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24231 $as_echo_n "checking for frexpf declaration... " >&6; }
24232 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24233 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24234 $as_echo_n "(cached) " >&6
24235 else
24238 ac_ext=cpp
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24245 /* end confdefs.h. */
24246 #include <math.h>
24248 main ()
24250 frexpf(0, 0);
24252 return 0;
24254 _ACEOF
24255 if ac_fn_cxx_try_compile "$LINENO"; then :
24256 glibcxx_cv_func_frexpf_use=yes
24257 else
24258 glibcxx_cv_func_frexpf_use=no
24260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24261 ac_ext=c
24262 ac_cpp='$CPP $CPPFLAGS'
24263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24272 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24274 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24275 for ac_func in frexpf
24276 do :
24277 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24278 if test "x$ac_cv_func_frexpf" = xyes; then :
24279 cat >>confdefs.h <<_ACEOF
24280 #define HAVE_FREXPF 1
24281 _ACEOF
24284 done
24286 else
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24289 $as_echo_n "checking for _frexpf declaration... " >&6; }
24290 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24291 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24292 $as_echo_n "(cached) " >&6
24293 else
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304 #include <math.h>
24306 main ()
24308 _frexpf(0, 0);
24310 return 0;
24312 _ACEOF
24313 if ac_fn_cxx_try_compile "$LINENO"; then :
24314 glibcxx_cv_func__frexpf_use=yes
24315 else
24316 glibcxx_cv_func__frexpf_use=no
24318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24319 ac_ext=c
24320 ac_cpp='$CPP $CPPFLAGS'
24321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24330 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24332 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24333 for ac_func in _frexpf
24334 do :
24335 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24336 if test "x$ac_cv_func__frexpf" = xyes; then :
24337 cat >>confdefs.h <<_ACEOF
24338 #define HAVE__FREXPF 1
24339 _ACEOF
24342 done
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24352 $as_echo_n "checking for hypotf declaration... " >&6; }
24353 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24354 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24355 $as_echo_n "(cached) " >&6
24356 else
24359 ac_ext=cpp
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24367 #include <math.h>
24369 main ()
24371 hypotf(0, 0);
24373 return 0;
24375 _ACEOF
24376 if ac_fn_cxx_try_compile "$LINENO"; then :
24377 glibcxx_cv_func_hypotf_use=yes
24378 else
24379 glibcxx_cv_func_hypotf_use=no
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 ac_ext=c
24383 ac_cpp='$CPP $CPPFLAGS'
24384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24393 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24395 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24396 for ac_func in hypotf
24397 do :
24398 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24399 if test "x$ac_cv_func_hypotf" = xyes; then :
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_HYPOTF 1
24402 _ACEOF
24405 done
24407 else
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24410 $as_echo_n "checking for _hypotf declaration... " >&6; }
24411 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24412 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24417 ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24425 #include <math.h>
24427 main ()
24429 _hypotf(0, 0);
24431 return 0;
24433 _ACEOF
24434 if ac_fn_cxx_try_compile "$LINENO"; then :
24435 glibcxx_cv_func__hypotf_use=yes
24436 else
24437 glibcxx_cv_func__hypotf_use=no
24439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24440 ac_ext=c
24441 ac_cpp='$CPP $CPPFLAGS'
24442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24451 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24453 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24454 for ac_func in _hypotf
24455 do :
24456 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24457 if test "x$ac_cv_func__hypotf" = xyes; then :
24458 cat >>confdefs.h <<_ACEOF
24459 #define HAVE__HYPOTF 1
24460 _ACEOF
24463 done
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24473 $as_echo_n "checking for ldexpf declaration... " >&6; }
24474 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24475 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24476 $as_echo_n "(cached) " >&6
24477 else
24480 ac_ext=cpp
24481 ac_cpp='$CXXCPP $CPPFLAGS'
24482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24488 #include <math.h>
24490 main ()
24492 ldexpf(0, 0);
24494 return 0;
24496 _ACEOF
24497 if ac_fn_cxx_try_compile "$LINENO"; then :
24498 glibcxx_cv_func_ldexpf_use=yes
24499 else
24500 glibcxx_cv_func_ldexpf_use=no
24502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24503 ac_ext=c
24504 ac_cpp='$CPP $CPPFLAGS'
24505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24514 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24516 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24517 for ac_func in ldexpf
24518 do :
24519 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24520 if test "x$ac_cv_func_ldexpf" = xyes; then :
24521 cat >>confdefs.h <<_ACEOF
24522 #define HAVE_LDEXPF 1
24523 _ACEOF
24526 done
24528 else
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24531 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24532 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24533 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24534 $as_echo_n "(cached) " >&6
24535 else
24538 ac_ext=cpp
24539 ac_cpp='$CXXCPP $CPPFLAGS'
24540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24545 /* end confdefs.h. */
24546 #include <math.h>
24548 main ()
24550 _ldexpf(0, 0);
24552 return 0;
24554 _ACEOF
24555 if ac_fn_cxx_try_compile "$LINENO"; then :
24556 glibcxx_cv_func__ldexpf_use=yes
24557 else
24558 glibcxx_cv_func__ldexpf_use=no
24560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 ac_ext=c
24562 ac_cpp='$CPP $CPPFLAGS'
24563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24572 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24574 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24575 for ac_func in _ldexpf
24576 do :
24577 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24578 if test "x$ac_cv_func__ldexpf" = xyes; then :
24579 cat >>confdefs.h <<_ACEOF
24580 #define HAVE__LDEXPF 1
24581 _ACEOF
24584 done
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24594 $as_echo_n "checking for logf declaration... " >&6; }
24595 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24596 if ${glibcxx_cv_func_logf_use+:} false; then :
24597 $as_echo_n "(cached) " >&6
24598 else
24601 ac_ext=cpp
24602 ac_cpp='$CXXCPP $CPPFLAGS'
24603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24608 /* end confdefs.h. */
24609 #include <math.h>
24610 #ifdef HAVE_IEEEFP_H
24611 #include <ieeefp.h>
24612 #endif
24615 main ()
24617 logf(0);
24619 return 0;
24621 _ACEOF
24622 if ac_fn_cxx_try_compile "$LINENO"; then :
24623 glibcxx_cv_func_logf_use=yes
24624 else
24625 glibcxx_cv_func_logf_use=no
24627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24628 ac_ext=c
24629 ac_cpp='$CPP $CPPFLAGS'
24630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24639 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24641 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24642 for ac_func in logf
24643 do :
24644 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24645 if test "x$ac_cv_func_logf" = xyes; then :
24646 cat >>confdefs.h <<_ACEOF
24647 #define HAVE_LOGF 1
24648 _ACEOF
24651 done
24653 else
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24656 $as_echo_n "checking for _logf declaration... " >&6; }
24657 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24658 if ${glibcxx_cv_func__logf_use+:} false; then :
24659 $as_echo_n "(cached) " >&6
24660 else
24663 ac_ext=cpp
24664 ac_cpp='$CXXCPP $CPPFLAGS'
24665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24670 /* end confdefs.h. */
24671 #include <math.h>
24672 #ifdef HAVE_IEEEFP_H
24673 #include <ieeefp.h>
24674 #endif
24677 main ()
24679 _logf(0);
24681 return 0;
24683 _ACEOF
24684 if ac_fn_cxx_try_compile "$LINENO"; then :
24685 glibcxx_cv_func__logf_use=yes
24686 else
24687 glibcxx_cv_func__logf_use=no
24689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24690 ac_ext=c
24691 ac_cpp='$CPP $CPPFLAGS'
24692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24701 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24703 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24704 for ac_func in _logf
24705 do :
24706 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24707 if test "x$ac_cv_func__logf" = xyes; then :
24708 cat >>confdefs.h <<_ACEOF
24709 #define HAVE__LOGF 1
24710 _ACEOF
24713 done
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24723 $as_echo_n "checking for log10f declaration... " >&6; }
24724 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24725 if ${glibcxx_cv_func_log10f_use+:} false; then :
24726 $as_echo_n "(cached) " >&6
24727 else
24730 ac_ext=cpp
24731 ac_cpp='$CXXCPP $CPPFLAGS'
24732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24737 /* end confdefs.h. */
24738 #include <math.h>
24739 #ifdef HAVE_IEEEFP_H
24740 #include <ieeefp.h>
24741 #endif
24744 main ()
24746 log10f(0);
24748 return 0;
24750 _ACEOF
24751 if ac_fn_cxx_try_compile "$LINENO"; then :
24752 glibcxx_cv_func_log10f_use=yes
24753 else
24754 glibcxx_cv_func_log10f_use=no
24756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24757 ac_ext=c
24758 ac_cpp='$CPP $CPPFLAGS'
24759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24768 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24770 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24771 for ac_func in log10f
24772 do :
24773 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24774 if test "x$ac_cv_func_log10f" = xyes; then :
24775 cat >>confdefs.h <<_ACEOF
24776 #define HAVE_LOG10F 1
24777 _ACEOF
24780 done
24782 else
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24785 $as_echo_n "checking for _log10f declaration... " >&6; }
24786 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24787 if ${glibcxx_cv_func__log10f_use+:} false; then :
24788 $as_echo_n "(cached) " >&6
24789 else
24792 ac_ext=cpp
24793 ac_cpp='$CXXCPP $CPPFLAGS'
24794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24799 /* end confdefs.h. */
24800 #include <math.h>
24801 #ifdef HAVE_IEEEFP_H
24802 #include <ieeefp.h>
24803 #endif
24806 main ()
24808 _log10f(0);
24810 return 0;
24812 _ACEOF
24813 if ac_fn_cxx_try_compile "$LINENO"; then :
24814 glibcxx_cv_func__log10f_use=yes
24815 else
24816 glibcxx_cv_func__log10f_use=no
24818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24819 ac_ext=c
24820 ac_cpp='$CPP $CPPFLAGS'
24821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24830 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24832 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24833 for ac_func in _log10f
24834 do :
24835 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24836 if test "x$ac_cv_func__log10f" = xyes; then :
24837 cat >>confdefs.h <<_ACEOF
24838 #define HAVE__LOG10F 1
24839 _ACEOF
24842 done
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24852 $as_echo_n "checking for modff declaration... " >&6; }
24853 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24854 if ${glibcxx_cv_func_modff_use+:} false; then :
24855 $as_echo_n "(cached) " >&6
24856 else
24859 ac_ext=cpp
24860 ac_cpp='$CXXCPP $CPPFLAGS'
24861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24866 /* end confdefs.h. */
24867 #include <math.h>
24869 main ()
24871 modff(0, 0);
24873 return 0;
24875 _ACEOF
24876 if ac_fn_cxx_try_compile "$LINENO"; then :
24877 glibcxx_cv_func_modff_use=yes
24878 else
24879 glibcxx_cv_func_modff_use=no
24881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24882 ac_ext=c
24883 ac_cpp='$CPP $CPPFLAGS'
24884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24893 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24895 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24896 for ac_func in modff
24897 do :
24898 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24899 if test "x$ac_cv_func_modff" = xyes; then :
24900 cat >>confdefs.h <<_ACEOF
24901 #define HAVE_MODFF 1
24902 _ACEOF
24905 done
24907 else
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24910 $as_echo_n "checking for _modff declaration... " >&6; }
24911 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24912 if ${glibcxx_cv_func__modff_use+:} false; then :
24913 $as_echo_n "(cached) " >&6
24914 else
24917 ac_ext=cpp
24918 ac_cpp='$CXXCPP $CPPFLAGS'
24919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24924 /* end confdefs.h. */
24925 #include <math.h>
24927 main ()
24929 _modff(0, 0);
24931 return 0;
24933 _ACEOF
24934 if ac_fn_cxx_try_compile "$LINENO"; then :
24935 glibcxx_cv_func__modff_use=yes
24936 else
24937 glibcxx_cv_func__modff_use=no
24939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24940 ac_ext=c
24941 ac_cpp='$CPP $CPPFLAGS'
24942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24951 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24953 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24954 for ac_func in _modff
24955 do :
24956 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24957 if test "x$ac_cv_func__modff" = xyes; then :
24958 cat >>confdefs.h <<_ACEOF
24959 #define HAVE__MODFF 1
24960 _ACEOF
24963 done
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24973 $as_echo_n "checking for modf declaration... " >&6; }
24974 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24975 if ${glibcxx_cv_func_modf_use+:} false; then :
24976 $as_echo_n "(cached) " >&6
24977 else
24980 ac_ext=cpp
24981 ac_cpp='$CXXCPP $CPPFLAGS'
24982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24988 #include <math.h>
24990 main ()
24992 modf(0, 0);
24994 return 0;
24996 _ACEOF
24997 if ac_fn_cxx_try_compile "$LINENO"; then :
24998 glibcxx_cv_func_modf_use=yes
24999 else
25000 glibcxx_cv_func_modf_use=no
25002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003 ac_ext=c
25004 ac_cpp='$CPP $CPPFLAGS'
25005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25014 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25016 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25017 for ac_func in modf
25018 do :
25019 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25020 if test "x$ac_cv_func_modf" = xyes; then :
25021 cat >>confdefs.h <<_ACEOF
25022 #define HAVE_MODF 1
25023 _ACEOF
25026 done
25028 else
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25031 $as_echo_n "checking for _modf declaration... " >&6; }
25032 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25033 if ${glibcxx_cv_func__modf_use+:} false; then :
25034 $as_echo_n "(cached) " >&6
25035 else
25038 ac_ext=cpp
25039 ac_cpp='$CXXCPP $CPPFLAGS'
25040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25045 /* end confdefs.h. */
25046 #include <math.h>
25048 main ()
25050 _modf(0, 0);
25052 return 0;
25054 _ACEOF
25055 if ac_fn_cxx_try_compile "$LINENO"; then :
25056 glibcxx_cv_func__modf_use=yes
25057 else
25058 glibcxx_cv_func__modf_use=no
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25061 ac_ext=c
25062 ac_cpp='$CPP $CPPFLAGS'
25063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25072 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25074 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25075 for ac_func in _modf
25076 do :
25077 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25078 if test "x$ac_cv_func__modf" = xyes; then :
25079 cat >>confdefs.h <<_ACEOF
25080 #define HAVE__MODF 1
25081 _ACEOF
25084 done
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25094 $as_echo_n "checking for powf declaration... " >&6; }
25095 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25096 if ${glibcxx_cv_func_powf_use+:} false; then :
25097 $as_echo_n "(cached) " >&6
25098 else
25101 ac_ext=cpp
25102 ac_cpp='$CXXCPP $CPPFLAGS'
25103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25108 /* end confdefs.h. */
25109 #include <math.h>
25111 main ()
25113 powf(0, 0);
25115 return 0;
25117 _ACEOF
25118 if ac_fn_cxx_try_compile "$LINENO"; then :
25119 glibcxx_cv_func_powf_use=yes
25120 else
25121 glibcxx_cv_func_powf_use=no
25123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25124 ac_ext=c
25125 ac_cpp='$CPP $CPPFLAGS'
25126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25135 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25137 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25138 for ac_func in powf
25139 do :
25140 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25141 if test "x$ac_cv_func_powf" = xyes; then :
25142 cat >>confdefs.h <<_ACEOF
25143 #define HAVE_POWF 1
25144 _ACEOF
25147 done
25149 else
25151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25152 $as_echo_n "checking for _powf declaration... " >&6; }
25153 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25154 if ${glibcxx_cv_func__powf_use+:} false; then :
25155 $as_echo_n "(cached) " >&6
25156 else
25159 ac_ext=cpp
25160 ac_cpp='$CXXCPP $CPPFLAGS'
25161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25167 #include <math.h>
25169 main ()
25171 _powf(0, 0);
25173 return 0;
25175 _ACEOF
25176 if ac_fn_cxx_try_compile "$LINENO"; then :
25177 glibcxx_cv_func__powf_use=yes
25178 else
25179 glibcxx_cv_func__powf_use=no
25181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25182 ac_ext=c
25183 ac_cpp='$CPP $CPPFLAGS'
25184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25193 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25195 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25196 for ac_func in _powf
25197 do :
25198 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25199 if test "x$ac_cv_func__powf" = xyes; then :
25200 cat >>confdefs.h <<_ACEOF
25201 #define HAVE__POWF 1
25202 _ACEOF
25205 done
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25215 $as_echo_n "checking for sqrtf declaration... " >&6; }
25216 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25217 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25218 $as_echo_n "(cached) " >&6
25219 else
25222 ac_ext=cpp
25223 ac_cpp='$CXXCPP $CPPFLAGS'
25224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25229 /* end confdefs.h. */
25230 #include <math.h>
25231 #ifdef HAVE_IEEEFP_H
25232 #include <ieeefp.h>
25233 #endif
25236 main ()
25238 sqrtf(0);
25240 return 0;
25242 _ACEOF
25243 if ac_fn_cxx_try_compile "$LINENO"; then :
25244 glibcxx_cv_func_sqrtf_use=yes
25245 else
25246 glibcxx_cv_func_sqrtf_use=no
25248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25249 ac_ext=c
25250 ac_cpp='$CPP $CPPFLAGS'
25251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25260 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25262 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25263 for ac_func in sqrtf
25264 do :
25265 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25266 if test "x$ac_cv_func_sqrtf" = xyes; then :
25267 cat >>confdefs.h <<_ACEOF
25268 #define HAVE_SQRTF 1
25269 _ACEOF
25272 done
25274 else
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25277 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25278 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25279 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25280 $as_echo_n "(cached) " >&6
25281 else
25284 ac_ext=cpp
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25292 #include <math.h>
25293 #ifdef HAVE_IEEEFP_H
25294 #include <ieeefp.h>
25295 #endif
25298 main ()
25300 _sqrtf(0);
25302 return 0;
25304 _ACEOF
25305 if ac_fn_cxx_try_compile "$LINENO"; then :
25306 glibcxx_cv_func__sqrtf_use=yes
25307 else
25308 glibcxx_cv_func__sqrtf_use=no
25310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25311 ac_ext=c
25312 ac_cpp='$CPP $CPPFLAGS'
25313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25322 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25324 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25325 for ac_func in _sqrtf
25326 do :
25327 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25328 if test "x$ac_cv_func__sqrtf" = xyes; then :
25329 cat >>confdefs.h <<_ACEOF
25330 #define HAVE__SQRTF 1
25331 _ACEOF
25334 done
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25344 $as_echo_n "checking for sincosf declaration... " >&6; }
25345 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25346 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25347 $as_echo_n "(cached) " >&6
25348 else
25351 ac_ext=cpp
25352 ac_cpp='$CXXCPP $CPPFLAGS'
25353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25359 #include <math.h>
25361 main ()
25363 sincosf(0, 0, 0);
25365 return 0;
25367 _ACEOF
25368 if ac_fn_cxx_try_compile "$LINENO"; then :
25369 glibcxx_cv_func_sincosf_use=yes
25370 else
25371 glibcxx_cv_func_sincosf_use=no
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25374 ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25385 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25387 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25388 for ac_func in sincosf
25389 do :
25390 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25391 if test "x$ac_cv_func_sincosf" = xyes; then :
25392 cat >>confdefs.h <<_ACEOF
25393 #define HAVE_SINCOSF 1
25394 _ACEOF
25397 done
25399 else
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25402 $as_echo_n "checking for _sincosf declaration... " >&6; }
25403 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25404 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25405 $as_echo_n "(cached) " >&6
25406 else
25409 ac_ext=cpp
25410 ac_cpp='$CXXCPP $CPPFLAGS'
25411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25417 #include <math.h>
25419 main ()
25421 _sincosf(0, 0, 0);
25423 return 0;
25425 _ACEOF
25426 if ac_fn_cxx_try_compile "$LINENO"; then :
25427 glibcxx_cv_func__sincosf_use=yes
25428 else
25429 glibcxx_cv_func__sincosf_use=no
25431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25432 ac_ext=c
25433 ac_cpp='$CPP $CPPFLAGS'
25434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25443 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25445 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25446 for ac_func in _sincosf
25447 do :
25448 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25449 if test "x$ac_cv_func__sincosf" = xyes; then :
25450 cat >>confdefs.h <<_ACEOF
25451 #define HAVE__SINCOSF 1
25452 _ACEOF
25455 done
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25465 $as_echo_n "checking for finitef declaration... " >&6; }
25466 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25467 if ${glibcxx_cv_func_finitef_use+:} false; then :
25468 $as_echo_n "(cached) " >&6
25469 else
25472 ac_ext=cpp
25473 ac_cpp='$CXXCPP $CPPFLAGS'
25474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25479 /* end confdefs.h. */
25480 #include <math.h>
25481 #ifdef HAVE_IEEEFP_H
25482 #include <ieeefp.h>
25483 #endif
25486 main ()
25488 finitef(0);
25490 return 0;
25492 _ACEOF
25493 if ac_fn_cxx_try_compile "$LINENO"; then :
25494 glibcxx_cv_func_finitef_use=yes
25495 else
25496 glibcxx_cv_func_finitef_use=no
25498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25499 ac_ext=c
25500 ac_cpp='$CPP $CPPFLAGS'
25501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25510 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25512 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25513 for ac_func in finitef
25514 do :
25515 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25516 if test "x$ac_cv_func_finitef" = xyes; then :
25517 cat >>confdefs.h <<_ACEOF
25518 #define HAVE_FINITEF 1
25519 _ACEOF
25522 done
25524 else
25526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25527 $as_echo_n "checking for _finitef declaration... " >&6; }
25528 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25529 if ${glibcxx_cv_func__finitef_use+:} false; then :
25530 $as_echo_n "(cached) " >&6
25531 else
25534 ac_ext=cpp
25535 ac_cpp='$CXXCPP $CPPFLAGS'
25536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25542 #include <math.h>
25543 #ifdef HAVE_IEEEFP_H
25544 #include <ieeefp.h>
25545 #endif
25548 main ()
25550 _finitef(0);
25552 return 0;
25554 _ACEOF
25555 if ac_fn_cxx_try_compile "$LINENO"; then :
25556 glibcxx_cv_func__finitef_use=yes
25557 else
25558 glibcxx_cv_func__finitef_use=no
25560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25561 ac_ext=c
25562 ac_cpp='$CPP $CPPFLAGS'
25563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25572 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25574 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25575 for ac_func in _finitef
25576 do :
25577 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25578 if test "x$ac_cv_func__finitef" = xyes; then :
25579 cat >>confdefs.h <<_ACEOF
25580 #define HAVE__FINITEF 1
25581 _ACEOF
25584 done
25593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25594 $as_echo_n "checking for long double trig functions... " >&6; }
25595 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25596 $as_echo_n "(cached) " >&6
25597 else
25600 ac_ext=cpp
25601 ac_cpp='$CXXCPP $CPPFLAGS'
25602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25607 /* end confdefs.h. */
25608 #include <math.h>
25610 main ()
25612 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25614 return 0;
25616 _ACEOF
25617 if ac_fn_cxx_try_compile "$LINENO"; then :
25618 glibcxx_cv_func_long_double_trig_use=yes
25619 else
25620 glibcxx_cv_func_long_double_trig_use=no
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25623 ac_ext=c
25624 ac_cpp='$CPP $CPPFLAGS'
25625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25632 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25633 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25634 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25635 do :
25636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25639 cat >>confdefs.h <<_ACEOF
25640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25641 _ACEOF
25644 done
25646 else
25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25648 $as_echo_n "checking for _long double trig functions... " >&6; }
25649 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25650 $as_echo_n "(cached) " >&6
25651 else
25654 ac_ext=cpp
25655 ac_cpp='$CXXCPP $CPPFLAGS'
25656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25661 /* end confdefs.h. */
25662 #include <math.h>
25664 main ()
25666 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25668 return 0;
25670 _ACEOF
25671 if ac_fn_cxx_try_compile "$LINENO"; then :
25672 glibcxx_cv_func__long_double_trig_use=yes
25673 else
25674 glibcxx_cv_func__long_double_trig_use=no
25676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25677 ac_ext=c
25678 ac_cpp='$CPP $CPPFLAGS'
25679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25686 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25687 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25688 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25689 do :
25690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25692 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25693 cat >>confdefs.h <<_ACEOF
25694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25695 _ACEOF
25698 done
25707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25708 $as_echo_n "checking for long double round functions... " >&6; }
25709 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25710 $as_echo_n "(cached) " >&6
25711 else
25714 ac_ext=cpp
25715 ac_cpp='$CXXCPP $CPPFLAGS'
25716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25721 /* end confdefs.h. */
25722 #include <math.h>
25724 main ()
25726 ceill (0); floorl (0);
25728 return 0;
25730 _ACEOF
25731 if ac_fn_cxx_try_compile "$LINENO"; then :
25732 glibcxx_cv_func_long_double_round_use=yes
25733 else
25734 glibcxx_cv_func_long_double_round_use=no
25736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25737 ac_ext=c
25738 ac_cpp='$CPP $CPPFLAGS'
25739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25746 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25747 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25748 for ac_func in ceill floorl
25749 do :
25750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25752 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25753 cat >>confdefs.h <<_ACEOF
25754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25755 _ACEOF
25758 done
25760 else
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25762 $as_echo_n "checking for _long double round functions... " >&6; }
25763 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25764 $as_echo_n "(cached) " >&6
25765 else
25768 ac_ext=cpp
25769 ac_cpp='$CXXCPP $CPPFLAGS'
25770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25775 /* end confdefs.h. */
25776 #include <math.h>
25778 main ()
25780 _ceill (0); _floorl (0);
25782 return 0;
25784 _ACEOF
25785 if ac_fn_cxx_try_compile "$LINENO"; then :
25786 glibcxx_cv_func__long_double_round_use=yes
25787 else
25788 glibcxx_cv_func__long_double_round_use=no
25790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25791 ac_ext=c
25792 ac_cpp='$CPP $CPPFLAGS'
25793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25800 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25801 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25802 for ac_func in _ceill _floorl
25803 do :
25804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25807 cat >>confdefs.h <<_ACEOF
25808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25809 _ACEOF
25812 done
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25823 $as_echo_n "checking for isnanl declaration... " >&6; }
25824 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25825 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25826 $as_echo_n "(cached) " >&6
25827 else
25830 ac_ext=cpp
25831 ac_cpp='$CXXCPP $CPPFLAGS'
25832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25837 /* end confdefs.h. */
25838 #include <math.h>
25839 #ifdef HAVE_IEEEFP_H
25840 #include <ieeefp.h>
25841 #endif
25844 main ()
25846 isnanl(0);
25848 return 0;
25850 _ACEOF
25851 if ac_fn_cxx_try_compile "$LINENO"; then :
25852 glibcxx_cv_func_isnanl_use=yes
25853 else
25854 glibcxx_cv_func_isnanl_use=no
25856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25857 ac_ext=c
25858 ac_cpp='$CPP $CPPFLAGS'
25859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25868 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25870 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25871 for ac_func in isnanl
25872 do :
25873 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25874 if test "x$ac_cv_func_isnanl" = xyes; then :
25875 cat >>confdefs.h <<_ACEOF
25876 #define HAVE_ISNANL 1
25877 _ACEOF
25880 done
25882 else
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25885 $as_echo_n "checking for _isnanl declaration... " >&6; }
25886 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25887 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25888 $as_echo_n "(cached) " >&6
25889 else
25892 ac_ext=cpp
25893 ac_cpp='$CXXCPP $CPPFLAGS'
25894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25899 /* end confdefs.h. */
25900 #include <math.h>
25901 #ifdef HAVE_IEEEFP_H
25902 #include <ieeefp.h>
25903 #endif
25906 main ()
25908 _isnanl(0);
25910 return 0;
25912 _ACEOF
25913 if ac_fn_cxx_try_compile "$LINENO"; then :
25914 glibcxx_cv_func__isnanl_use=yes
25915 else
25916 glibcxx_cv_func__isnanl_use=no
25918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25919 ac_ext=c
25920 ac_cpp='$CPP $CPPFLAGS'
25921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25930 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25932 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25933 for ac_func in _isnanl
25934 do :
25935 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25936 if test "x$ac_cv_func__isnanl" = xyes; then :
25937 cat >>confdefs.h <<_ACEOF
25938 #define HAVE__ISNANL 1
25939 _ACEOF
25942 done
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25952 $as_echo_n "checking for isinfl declaration... " >&6; }
25953 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25954 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25955 $as_echo_n "(cached) " >&6
25956 else
25959 ac_ext=cpp
25960 ac_cpp='$CXXCPP $CPPFLAGS'
25961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25966 /* end confdefs.h. */
25967 #include <math.h>
25968 #ifdef HAVE_IEEEFP_H
25969 #include <ieeefp.h>
25970 #endif
25973 main ()
25975 isinfl(0);
25977 return 0;
25979 _ACEOF
25980 if ac_fn_cxx_try_compile "$LINENO"; then :
25981 glibcxx_cv_func_isinfl_use=yes
25982 else
25983 glibcxx_cv_func_isinfl_use=no
25985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25986 ac_ext=c
25987 ac_cpp='$CPP $CPPFLAGS'
25988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25997 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25999 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26000 for ac_func in isinfl
26001 do :
26002 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26003 if test "x$ac_cv_func_isinfl" = xyes; then :
26004 cat >>confdefs.h <<_ACEOF
26005 #define HAVE_ISINFL 1
26006 _ACEOF
26009 done
26011 else
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26014 $as_echo_n "checking for _isinfl declaration... " >&6; }
26015 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26016 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26017 $as_echo_n "(cached) " >&6
26018 else
26021 ac_ext=cpp
26022 ac_cpp='$CXXCPP $CPPFLAGS'
26023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26028 /* end confdefs.h. */
26029 #include <math.h>
26030 #ifdef HAVE_IEEEFP_H
26031 #include <ieeefp.h>
26032 #endif
26035 main ()
26037 _isinfl(0);
26039 return 0;
26041 _ACEOF
26042 if ac_fn_cxx_try_compile "$LINENO"; then :
26043 glibcxx_cv_func__isinfl_use=yes
26044 else
26045 glibcxx_cv_func__isinfl_use=no
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048 ac_ext=c
26049 ac_cpp='$CPP $CPPFLAGS'
26050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26059 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26061 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26062 for ac_func in _isinfl
26063 do :
26064 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26065 if test "x$ac_cv_func__isinfl" = xyes; then :
26066 cat >>confdefs.h <<_ACEOF
26067 #define HAVE__ISINFL 1
26068 _ACEOF
26071 done
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26081 $as_echo_n "checking for atan2l declaration... " >&6; }
26082 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26083 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26088 ac_ext=cpp
26089 ac_cpp='$CXXCPP $CPPFLAGS'
26090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26095 /* end confdefs.h. */
26096 #include <math.h>
26098 main ()
26100 atan2l(0, 0);
26102 return 0;
26104 _ACEOF
26105 if ac_fn_cxx_try_compile "$LINENO"; then :
26106 glibcxx_cv_func_atan2l_use=yes
26107 else
26108 glibcxx_cv_func_atan2l_use=no
26110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26111 ac_ext=c
26112 ac_cpp='$CPP $CPPFLAGS'
26113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26122 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26124 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26125 for ac_func in atan2l
26126 do :
26127 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26128 if test "x$ac_cv_func_atan2l" = xyes; then :
26129 cat >>confdefs.h <<_ACEOF
26130 #define HAVE_ATAN2L 1
26131 _ACEOF
26134 done
26136 else
26138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26139 $as_echo_n "checking for _atan2l declaration... " >&6; }
26140 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26141 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26142 $as_echo_n "(cached) " >&6
26143 else
26146 ac_ext=cpp
26147 ac_cpp='$CXXCPP $CPPFLAGS'
26148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26153 /* end confdefs.h. */
26154 #include <math.h>
26156 main ()
26158 _atan2l(0, 0);
26160 return 0;
26162 _ACEOF
26163 if ac_fn_cxx_try_compile "$LINENO"; then :
26164 glibcxx_cv_func__atan2l_use=yes
26165 else
26166 glibcxx_cv_func__atan2l_use=no
26168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26169 ac_ext=c
26170 ac_cpp='$CPP $CPPFLAGS'
26171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26180 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26182 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26183 for ac_func in _atan2l
26184 do :
26185 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26186 if test "x$ac_cv_func__atan2l" = xyes; then :
26187 cat >>confdefs.h <<_ACEOF
26188 #define HAVE__ATAN2L 1
26189 _ACEOF
26192 done
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26202 $as_echo_n "checking for expl declaration... " >&6; }
26203 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26204 if ${glibcxx_cv_func_expl_use+:} false; then :
26205 $as_echo_n "(cached) " >&6
26206 else
26209 ac_ext=cpp
26210 ac_cpp='$CXXCPP $CPPFLAGS'
26211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26216 /* end confdefs.h. */
26217 #include <math.h>
26218 #ifdef HAVE_IEEEFP_H
26219 #include <ieeefp.h>
26220 #endif
26223 main ()
26225 expl(0);
26227 return 0;
26229 _ACEOF
26230 if ac_fn_cxx_try_compile "$LINENO"; then :
26231 glibcxx_cv_func_expl_use=yes
26232 else
26233 glibcxx_cv_func_expl_use=no
26235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26236 ac_ext=c
26237 ac_cpp='$CPP $CPPFLAGS'
26238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26247 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26249 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26250 for ac_func in expl
26251 do :
26252 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26253 if test "x$ac_cv_func_expl" = xyes; then :
26254 cat >>confdefs.h <<_ACEOF
26255 #define HAVE_EXPL 1
26256 _ACEOF
26259 done
26261 else
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26264 $as_echo_n "checking for _expl declaration... " >&6; }
26265 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26266 if ${glibcxx_cv_func__expl_use+:} false; then :
26267 $as_echo_n "(cached) " >&6
26268 else
26271 ac_ext=cpp
26272 ac_cpp='$CXXCPP $CPPFLAGS'
26273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26278 /* end confdefs.h. */
26279 #include <math.h>
26280 #ifdef HAVE_IEEEFP_H
26281 #include <ieeefp.h>
26282 #endif
26285 main ()
26287 _expl(0);
26289 return 0;
26291 _ACEOF
26292 if ac_fn_cxx_try_compile "$LINENO"; then :
26293 glibcxx_cv_func__expl_use=yes
26294 else
26295 glibcxx_cv_func__expl_use=no
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298 ac_ext=c
26299 ac_cpp='$CPP $CPPFLAGS'
26300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26309 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26311 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26312 for ac_func in _expl
26313 do :
26314 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26315 if test "x$ac_cv_func__expl" = xyes; then :
26316 cat >>confdefs.h <<_ACEOF
26317 #define HAVE__EXPL 1
26318 _ACEOF
26321 done
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26331 $as_echo_n "checking for fabsl declaration... " >&6; }
26332 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26333 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26334 $as_echo_n "(cached) " >&6
26335 else
26338 ac_ext=cpp
26339 ac_cpp='$CXXCPP $CPPFLAGS'
26340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26345 /* end confdefs.h. */
26346 #include <math.h>
26347 #ifdef HAVE_IEEEFP_H
26348 #include <ieeefp.h>
26349 #endif
26352 main ()
26354 fabsl(0);
26356 return 0;
26358 _ACEOF
26359 if ac_fn_cxx_try_compile "$LINENO"; then :
26360 glibcxx_cv_func_fabsl_use=yes
26361 else
26362 glibcxx_cv_func_fabsl_use=no
26364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26376 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26378 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26379 for ac_func in fabsl
26380 do :
26381 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26382 if test "x$ac_cv_func_fabsl" = xyes; then :
26383 cat >>confdefs.h <<_ACEOF
26384 #define HAVE_FABSL 1
26385 _ACEOF
26388 done
26390 else
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26393 $as_echo_n "checking for _fabsl declaration... " >&6; }
26394 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26395 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26396 $as_echo_n "(cached) " >&6
26397 else
26400 ac_ext=cpp
26401 ac_cpp='$CXXCPP $CPPFLAGS'
26402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26407 /* end confdefs.h. */
26408 #include <math.h>
26409 #ifdef HAVE_IEEEFP_H
26410 #include <ieeefp.h>
26411 #endif
26414 main ()
26416 _fabsl(0);
26418 return 0;
26420 _ACEOF
26421 if ac_fn_cxx_try_compile "$LINENO"; then :
26422 glibcxx_cv_func__fabsl_use=yes
26423 else
26424 glibcxx_cv_func__fabsl_use=no
26426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427 ac_ext=c
26428 ac_cpp='$CPP $CPPFLAGS'
26429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26438 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26440 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26441 for ac_func in _fabsl
26442 do :
26443 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26444 if test "x$ac_cv_func__fabsl" = xyes; then :
26445 cat >>confdefs.h <<_ACEOF
26446 #define HAVE__FABSL 1
26447 _ACEOF
26450 done
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26460 $as_echo_n "checking for fmodl declaration... " >&6; }
26461 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26462 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26463 $as_echo_n "(cached) " >&6
26464 else
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26475 #include <math.h>
26477 main ()
26479 fmodl(0, 0);
26481 return 0;
26483 _ACEOF
26484 if ac_fn_cxx_try_compile "$LINENO"; then :
26485 glibcxx_cv_func_fmodl_use=yes
26486 else
26487 glibcxx_cv_func_fmodl_use=no
26489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 ac_ext=c
26491 ac_cpp='$CPP $CPPFLAGS'
26492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26501 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26503 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26504 for ac_func in fmodl
26505 do :
26506 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26507 if test "x$ac_cv_func_fmodl" = xyes; then :
26508 cat >>confdefs.h <<_ACEOF
26509 #define HAVE_FMODL 1
26510 _ACEOF
26513 done
26515 else
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26518 $as_echo_n "checking for _fmodl declaration... " >&6; }
26519 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26520 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26525 ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h. */
26533 #include <math.h>
26535 main ()
26537 _fmodl(0, 0);
26539 return 0;
26541 _ACEOF
26542 if ac_fn_cxx_try_compile "$LINENO"; then :
26543 glibcxx_cv_func__fmodl_use=yes
26544 else
26545 glibcxx_cv_func__fmodl_use=no
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26559 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26561 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26562 for ac_func in _fmodl
26563 do :
26564 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26565 if test "x$ac_cv_func__fmodl" = xyes; then :
26566 cat >>confdefs.h <<_ACEOF
26567 #define HAVE__FMODL 1
26568 _ACEOF
26571 done
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26581 $as_echo_n "checking for frexpl declaration... " >&6; }
26582 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26583 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26584 $as_echo_n "(cached) " >&6
26585 else
26588 ac_ext=cpp
26589 ac_cpp='$CXXCPP $CPPFLAGS'
26590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h. */
26596 #include <math.h>
26598 main ()
26600 frexpl(0, 0);
26602 return 0;
26604 _ACEOF
26605 if ac_fn_cxx_try_compile "$LINENO"; then :
26606 glibcxx_cv_func_frexpl_use=yes
26607 else
26608 glibcxx_cv_func_frexpl_use=no
26610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26611 ac_ext=c
26612 ac_cpp='$CPP $CPPFLAGS'
26613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26622 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26624 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26625 for ac_func in frexpl
26626 do :
26627 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26628 if test "x$ac_cv_func_frexpl" = xyes; then :
26629 cat >>confdefs.h <<_ACEOF
26630 #define HAVE_FREXPL 1
26631 _ACEOF
26634 done
26636 else
26638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26639 $as_echo_n "checking for _frexpl declaration... " >&6; }
26640 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26641 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26646 ac_ext=cpp
26647 ac_cpp='$CXXCPP $CPPFLAGS'
26648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26654 #include <math.h>
26656 main ()
26658 _frexpl(0, 0);
26660 return 0;
26662 _ACEOF
26663 if ac_fn_cxx_try_compile "$LINENO"; then :
26664 glibcxx_cv_func__frexpl_use=yes
26665 else
26666 glibcxx_cv_func__frexpl_use=no
26668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26669 ac_ext=c
26670 ac_cpp='$CPP $CPPFLAGS'
26671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26680 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26682 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26683 for ac_func in _frexpl
26684 do :
26685 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26686 if test "x$ac_cv_func__frexpl" = xyes; then :
26687 cat >>confdefs.h <<_ACEOF
26688 #define HAVE__FREXPL 1
26689 _ACEOF
26692 done
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26702 $as_echo_n "checking for hypotl declaration... " >&6; }
26703 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26704 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26705 $as_echo_n "(cached) " >&6
26706 else
26709 ac_ext=cpp
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26716 /* end confdefs.h. */
26717 #include <math.h>
26719 main ()
26721 hypotl(0, 0);
26723 return 0;
26725 _ACEOF
26726 if ac_fn_cxx_try_compile "$LINENO"; then :
26727 glibcxx_cv_func_hypotl_use=yes
26728 else
26729 glibcxx_cv_func_hypotl_use=no
26731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26732 ac_ext=c
26733 ac_cpp='$CPP $CPPFLAGS'
26734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26743 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26745 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26746 for ac_func in hypotl
26747 do :
26748 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26749 if test "x$ac_cv_func_hypotl" = xyes; then :
26750 cat >>confdefs.h <<_ACEOF
26751 #define HAVE_HYPOTL 1
26752 _ACEOF
26755 done
26757 else
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26760 $as_echo_n "checking for _hypotl declaration... " >&6; }
26761 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26762 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26763 $as_echo_n "(cached) " >&6
26764 else
26767 ac_ext=cpp
26768 ac_cpp='$CXXCPP $CPPFLAGS'
26769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26775 #include <math.h>
26777 main ()
26779 _hypotl(0, 0);
26781 return 0;
26783 _ACEOF
26784 if ac_fn_cxx_try_compile "$LINENO"; then :
26785 glibcxx_cv_func__hypotl_use=yes
26786 else
26787 glibcxx_cv_func__hypotl_use=no
26789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26790 ac_ext=c
26791 ac_cpp='$CPP $CPPFLAGS'
26792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26801 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26803 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26804 for ac_func in _hypotl
26805 do :
26806 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26807 if test "x$ac_cv_func__hypotl" = xyes; then :
26808 cat >>confdefs.h <<_ACEOF
26809 #define HAVE__HYPOTL 1
26810 _ACEOF
26813 done
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26823 $as_echo_n "checking for ldexpl declaration... " >&6; }
26824 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26825 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26826 $as_echo_n "(cached) " >&6
26827 else
26830 ac_ext=cpp
26831 ac_cpp='$CXXCPP $CPPFLAGS'
26832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837 /* end confdefs.h. */
26838 #include <math.h>
26840 main ()
26842 ldexpl(0, 0);
26844 return 0;
26846 _ACEOF
26847 if ac_fn_cxx_try_compile "$LINENO"; then :
26848 glibcxx_cv_func_ldexpl_use=yes
26849 else
26850 glibcxx_cv_func_ldexpl_use=no
26852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26853 ac_ext=c
26854 ac_cpp='$CPP $CPPFLAGS'
26855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26864 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26866 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26867 for ac_func in ldexpl
26868 do :
26869 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26870 if test "x$ac_cv_func_ldexpl" = xyes; then :
26871 cat >>confdefs.h <<_ACEOF
26872 #define HAVE_LDEXPL 1
26873 _ACEOF
26876 done
26878 else
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26881 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26882 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26883 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26884 $as_echo_n "(cached) " >&6
26885 else
26888 ac_ext=cpp
26889 ac_cpp='$CXXCPP $CPPFLAGS'
26890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26895 /* end confdefs.h. */
26896 #include <math.h>
26898 main ()
26900 _ldexpl(0, 0);
26902 return 0;
26904 _ACEOF
26905 if ac_fn_cxx_try_compile "$LINENO"; then :
26906 glibcxx_cv_func__ldexpl_use=yes
26907 else
26908 glibcxx_cv_func__ldexpl_use=no
26910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26911 ac_ext=c
26912 ac_cpp='$CPP $CPPFLAGS'
26913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26922 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26924 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26925 for ac_func in _ldexpl
26926 do :
26927 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26928 if test "x$ac_cv_func__ldexpl" = xyes; then :
26929 cat >>confdefs.h <<_ACEOF
26930 #define HAVE__LDEXPL 1
26931 _ACEOF
26934 done
26943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26944 $as_echo_n "checking for logl declaration... " >&6; }
26945 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26946 if ${glibcxx_cv_func_logl_use+:} false; then :
26947 $as_echo_n "(cached) " >&6
26948 else
26951 ac_ext=cpp
26952 ac_cpp='$CXXCPP $CPPFLAGS'
26953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26958 /* end confdefs.h. */
26959 #include <math.h>
26960 #ifdef HAVE_IEEEFP_H
26961 #include <ieeefp.h>
26962 #endif
26965 main ()
26967 logl(0);
26969 return 0;
26971 _ACEOF
26972 if ac_fn_cxx_try_compile "$LINENO"; then :
26973 glibcxx_cv_func_logl_use=yes
26974 else
26975 glibcxx_cv_func_logl_use=no
26977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26978 ac_ext=c
26979 ac_cpp='$CPP $CPPFLAGS'
26980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26989 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26991 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26992 for ac_func in logl
26993 do :
26994 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26995 if test "x$ac_cv_func_logl" = xyes; then :
26996 cat >>confdefs.h <<_ACEOF
26997 #define HAVE_LOGL 1
26998 _ACEOF
27001 done
27003 else
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27006 $as_echo_n "checking for _logl declaration... " >&6; }
27007 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27008 if ${glibcxx_cv_func__logl_use+:} false; then :
27009 $as_echo_n "(cached) " >&6
27010 else
27013 ac_ext=cpp
27014 ac_cpp='$CXXCPP $CPPFLAGS'
27015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27020 /* end confdefs.h. */
27021 #include <math.h>
27022 #ifdef HAVE_IEEEFP_H
27023 #include <ieeefp.h>
27024 #endif
27027 main ()
27029 _logl(0);
27031 return 0;
27033 _ACEOF
27034 if ac_fn_cxx_try_compile "$LINENO"; then :
27035 glibcxx_cv_func__logl_use=yes
27036 else
27037 glibcxx_cv_func__logl_use=no
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040 ac_ext=c
27041 ac_cpp='$CPP $CPPFLAGS'
27042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27051 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27053 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27054 for ac_func in _logl
27055 do :
27056 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27057 if test "x$ac_cv_func__logl" = xyes; then :
27058 cat >>confdefs.h <<_ACEOF
27059 #define HAVE__LOGL 1
27060 _ACEOF
27063 done
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27073 $as_echo_n "checking for log10l declaration... " >&6; }
27074 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27075 if ${glibcxx_cv_func_log10l_use+:} false; then :
27076 $as_echo_n "(cached) " >&6
27077 else
27080 ac_ext=cpp
27081 ac_cpp='$CXXCPP $CPPFLAGS'
27082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27087 /* end confdefs.h. */
27088 #include <math.h>
27089 #ifdef HAVE_IEEEFP_H
27090 #include <ieeefp.h>
27091 #endif
27094 main ()
27096 log10l(0);
27098 return 0;
27100 _ACEOF
27101 if ac_fn_cxx_try_compile "$LINENO"; then :
27102 glibcxx_cv_func_log10l_use=yes
27103 else
27104 glibcxx_cv_func_log10l_use=no
27106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27107 ac_ext=c
27108 ac_cpp='$CPP $CPPFLAGS'
27109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27118 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27120 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27121 for ac_func in log10l
27122 do :
27123 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27124 if test "x$ac_cv_func_log10l" = xyes; then :
27125 cat >>confdefs.h <<_ACEOF
27126 #define HAVE_LOG10L 1
27127 _ACEOF
27130 done
27132 else
27134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27135 $as_echo_n "checking for _log10l declaration... " >&6; }
27136 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27137 if ${glibcxx_cv_func__log10l_use+:} false; then :
27138 $as_echo_n "(cached) " >&6
27139 else
27142 ac_ext=cpp
27143 ac_cpp='$CXXCPP $CPPFLAGS'
27144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27149 /* end confdefs.h. */
27150 #include <math.h>
27151 #ifdef HAVE_IEEEFP_H
27152 #include <ieeefp.h>
27153 #endif
27156 main ()
27158 _log10l(0);
27160 return 0;
27162 _ACEOF
27163 if ac_fn_cxx_try_compile "$LINENO"; then :
27164 glibcxx_cv_func__log10l_use=yes
27165 else
27166 glibcxx_cv_func__log10l_use=no
27168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27169 ac_ext=c
27170 ac_cpp='$CPP $CPPFLAGS'
27171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27180 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27182 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27183 for ac_func in _log10l
27184 do :
27185 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27186 if test "x$ac_cv_func__log10l" = xyes; then :
27187 cat >>confdefs.h <<_ACEOF
27188 #define HAVE__LOG10L 1
27189 _ACEOF
27192 done
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27202 $as_echo_n "checking for modfl declaration... " >&6; }
27203 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27204 if ${glibcxx_cv_func_modfl_use+:} false; then :
27205 $as_echo_n "(cached) " >&6
27206 else
27209 ac_ext=cpp
27210 ac_cpp='$CXXCPP $CPPFLAGS'
27211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27216 /* end confdefs.h. */
27217 #include <math.h>
27219 main ()
27221 modfl(0, 0);
27223 return 0;
27225 _ACEOF
27226 if ac_fn_cxx_try_compile "$LINENO"; then :
27227 glibcxx_cv_func_modfl_use=yes
27228 else
27229 glibcxx_cv_func_modfl_use=no
27231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27232 ac_ext=c
27233 ac_cpp='$CPP $CPPFLAGS'
27234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27243 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27245 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27246 for ac_func in modfl
27247 do :
27248 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27249 if test "x$ac_cv_func_modfl" = xyes; then :
27250 cat >>confdefs.h <<_ACEOF
27251 #define HAVE_MODFL 1
27252 _ACEOF
27255 done
27257 else
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27260 $as_echo_n "checking for _modfl declaration... " >&6; }
27261 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27262 if ${glibcxx_cv_func__modfl_use+:} false; then :
27263 $as_echo_n "(cached) " >&6
27264 else
27267 ac_ext=cpp
27268 ac_cpp='$CXXCPP $CPPFLAGS'
27269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27274 /* end confdefs.h. */
27275 #include <math.h>
27277 main ()
27279 _modfl(0, 0);
27281 return 0;
27283 _ACEOF
27284 if ac_fn_cxx_try_compile "$LINENO"; then :
27285 glibcxx_cv_func__modfl_use=yes
27286 else
27287 glibcxx_cv_func__modfl_use=no
27289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27290 ac_ext=c
27291 ac_cpp='$CPP $CPPFLAGS'
27292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27301 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27303 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27304 for ac_func in _modfl
27305 do :
27306 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27307 if test "x$ac_cv_func__modfl" = xyes; then :
27308 cat >>confdefs.h <<_ACEOF
27309 #define HAVE__MODFL 1
27310 _ACEOF
27313 done
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27323 $as_echo_n "checking for powl declaration... " >&6; }
27324 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27325 if ${glibcxx_cv_func_powl_use+:} false; then :
27326 $as_echo_n "(cached) " >&6
27327 else
27330 ac_ext=cpp
27331 ac_cpp='$CXXCPP $CPPFLAGS'
27332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27337 /* end confdefs.h. */
27338 #include <math.h>
27340 main ()
27342 powl(0, 0);
27344 return 0;
27346 _ACEOF
27347 if ac_fn_cxx_try_compile "$LINENO"; then :
27348 glibcxx_cv_func_powl_use=yes
27349 else
27350 glibcxx_cv_func_powl_use=no
27352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27353 ac_ext=c
27354 ac_cpp='$CPP $CPPFLAGS'
27355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27364 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27366 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27367 for ac_func in powl
27368 do :
27369 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27370 if test "x$ac_cv_func_powl" = xyes; then :
27371 cat >>confdefs.h <<_ACEOF
27372 #define HAVE_POWL 1
27373 _ACEOF
27376 done
27378 else
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27381 $as_echo_n "checking for _powl declaration... " >&6; }
27382 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27383 if ${glibcxx_cv_func__powl_use+:} false; then :
27384 $as_echo_n "(cached) " >&6
27385 else
27388 ac_ext=cpp
27389 ac_cpp='$CXXCPP $CPPFLAGS'
27390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27395 /* end confdefs.h. */
27396 #include <math.h>
27398 main ()
27400 _powl(0, 0);
27402 return 0;
27404 _ACEOF
27405 if ac_fn_cxx_try_compile "$LINENO"; then :
27406 glibcxx_cv_func__powl_use=yes
27407 else
27408 glibcxx_cv_func__powl_use=no
27410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27411 ac_ext=c
27412 ac_cpp='$CPP $CPPFLAGS'
27413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27422 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27424 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27425 for ac_func in _powl
27426 do :
27427 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27428 if test "x$ac_cv_func__powl" = xyes; then :
27429 cat >>confdefs.h <<_ACEOF
27430 #define HAVE__POWL 1
27431 _ACEOF
27434 done
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27444 $as_echo_n "checking for sqrtl declaration... " >&6; }
27445 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27446 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27447 $as_echo_n "(cached) " >&6
27448 else
27451 ac_ext=cpp
27452 ac_cpp='$CXXCPP $CPPFLAGS'
27453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27458 /* end confdefs.h. */
27459 #include <math.h>
27460 #ifdef HAVE_IEEEFP_H
27461 #include <ieeefp.h>
27462 #endif
27465 main ()
27467 sqrtl(0);
27469 return 0;
27471 _ACEOF
27472 if ac_fn_cxx_try_compile "$LINENO"; then :
27473 glibcxx_cv_func_sqrtl_use=yes
27474 else
27475 glibcxx_cv_func_sqrtl_use=no
27477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27478 ac_ext=c
27479 ac_cpp='$CPP $CPPFLAGS'
27480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27489 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27491 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27492 for ac_func in sqrtl
27493 do :
27494 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27495 if test "x$ac_cv_func_sqrtl" = xyes; then :
27496 cat >>confdefs.h <<_ACEOF
27497 #define HAVE_SQRTL 1
27498 _ACEOF
27501 done
27503 else
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27506 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27507 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27508 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27509 $as_echo_n "(cached) " >&6
27510 else
27513 ac_ext=cpp
27514 ac_cpp='$CXXCPP $CPPFLAGS'
27515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27520 /* end confdefs.h. */
27521 #include <math.h>
27522 #ifdef HAVE_IEEEFP_H
27523 #include <ieeefp.h>
27524 #endif
27527 main ()
27529 _sqrtl(0);
27531 return 0;
27533 _ACEOF
27534 if ac_fn_cxx_try_compile "$LINENO"; then :
27535 glibcxx_cv_func__sqrtl_use=yes
27536 else
27537 glibcxx_cv_func__sqrtl_use=no
27539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27540 ac_ext=c
27541 ac_cpp='$CPP $CPPFLAGS'
27542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27551 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27553 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27554 for ac_func in _sqrtl
27555 do :
27556 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27557 if test "x$ac_cv_func__sqrtl" = xyes; then :
27558 cat >>confdefs.h <<_ACEOF
27559 #define HAVE__SQRTL 1
27560 _ACEOF
27563 done
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27573 $as_echo_n "checking for sincosl declaration... " >&6; }
27574 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27575 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27576 $as_echo_n "(cached) " >&6
27577 else
27580 ac_ext=cpp
27581 ac_cpp='$CXXCPP $CPPFLAGS'
27582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27587 /* end confdefs.h. */
27588 #include <math.h>
27590 main ()
27592 sincosl(0, 0, 0);
27594 return 0;
27596 _ACEOF
27597 if ac_fn_cxx_try_compile "$LINENO"; then :
27598 glibcxx_cv_func_sincosl_use=yes
27599 else
27600 glibcxx_cv_func_sincosl_use=no
27602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27603 ac_ext=c
27604 ac_cpp='$CPP $CPPFLAGS'
27605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27614 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27616 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27617 for ac_func in sincosl
27618 do :
27619 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27620 if test "x$ac_cv_func_sincosl" = xyes; then :
27621 cat >>confdefs.h <<_ACEOF
27622 #define HAVE_SINCOSL 1
27623 _ACEOF
27626 done
27628 else
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27631 $as_echo_n "checking for _sincosl declaration... " >&6; }
27632 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27633 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27634 $as_echo_n "(cached) " >&6
27635 else
27638 ac_ext=cpp
27639 ac_cpp='$CXXCPP $CPPFLAGS'
27640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27645 /* end confdefs.h. */
27646 #include <math.h>
27648 main ()
27650 _sincosl(0, 0, 0);
27652 return 0;
27654 _ACEOF
27655 if ac_fn_cxx_try_compile "$LINENO"; then :
27656 glibcxx_cv_func__sincosl_use=yes
27657 else
27658 glibcxx_cv_func__sincosl_use=no
27660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27661 ac_ext=c
27662 ac_cpp='$CPP $CPPFLAGS'
27663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27672 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27674 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27675 for ac_func in _sincosl
27676 do :
27677 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27678 if test "x$ac_cv_func__sincosl" = xyes; then :
27679 cat >>confdefs.h <<_ACEOF
27680 #define HAVE__SINCOSL 1
27681 _ACEOF
27684 done
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27694 $as_echo_n "checking for finitel declaration... " >&6; }
27695 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27696 if ${glibcxx_cv_func_finitel_use+:} false; then :
27697 $as_echo_n "(cached) " >&6
27698 else
27701 ac_ext=cpp
27702 ac_cpp='$CXXCPP $CPPFLAGS'
27703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27708 /* end confdefs.h. */
27709 #include <math.h>
27710 #ifdef HAVE_IEEEFP_H
27711 #include <ieeefp.h>
27712 #endif
27715 main ()
27717 finitel(0);
27719 return 0;
27721 _ACEOF
27722 if ac_fn_cxx_try_compile "$LINENO"; then :
27723 glibcxx_cv_func_finitel_use=yes
27724 else
27725 glibcxx_cv_func_finitel_use=no
27727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27728 ac_ext=c
27729 ac_cpp='$CPP $CPPFLAGS'
27730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27739 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27741 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27742 for ac_func in finitel
27743 do :
27744 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27745 if test "x$ac_cv_func_finitel" = xyes; then :
27746 cat >>confdefs.h <<_ACEOF
27747 #define HAVE_FINITEL 1
27748 _ACEOF
27751 done
27753 else
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27756 $as_echo_n "checking for _finitel declaration... " >&6; }
27757 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27758 if ${glibcxx_cv_func__finitel_use+:} false; then :
27759 $as_echo_n "(cached) " >&6
27760 else
27763 ac_ext=cpp
27764 ac_cpp='$CXXCPP $CPPFLAGS'
27765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27770 /* end confdefs.h. */
27771 #include <math.h>
27772 #ifdef HAVE_IEEEFP_H
27773 #include <ieeefp.h>
27774 #endif
27777 main ()
27779 _finitel(0);
27781 return 0;
27783 _ACEOF
27784 if ac_fn_cxx_try_compile "$LINENO"; then :
27785 glibcxx_cv_func__finitel_use=yes
27786 else
27787 glibcxx_cv_func__finitel_use=no
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 ac_ext=c
27791 ac_cpp='$CPP $CPPFLAGS'
27792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27801 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27803 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27804 for ac_func in _finitel
27805 do :
27806 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27807 if test "x$ac_cv_func__finitel" = xyes; then :
27808 cat >>confdefs.h <<_ACEOF
27809 #define HAVE__FINITEL 1
27810 _ACEOF
27813 done
27821 LIBS="$ac_save_LIBS"
27822 CXXFLAGS="$ac_save_CXXFLAGS"
27825 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27826 ac_save_CXXFLAGS="$CXXFLAGS"
27827 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27831 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27832 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27833 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27834 $as_echo_n "(cached) " >&6
27835 else
27838 ac_ext=cpp
27839 ac_cpp='$CXXCPP $CPPFLAGS'
27840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27845 /* end confdefs.h. */
27846 #include <stdlib.h>
27848 main ()
27850 at_quick_exit(0);
27852 return 0;
27854 _ACEOF
27855 if ac_fn_cxx_try_compile "$LINENO"; then :
27856 glibcxx_cv_func_at_quick_exit_use=yes
27857 else
27858 glibcxx_cv_func_at_quick_exit_use=no
27860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27861 ac_ext=c
27862 ac_cpp='$CPP $CPPFLAGS'
27863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27872 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27873 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27874 for ac_func in at_quick_exit
27875 do :
27876 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27877 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27878 cat >>confdefs.h <<_ACEOF
27879 #define HAVE_AT_QUICK_EXIT 1
27880 _ACEOF
27883 done
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27889 $as_echo_n "checking for quick_exit declaration... " >&6; }
27890 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27891 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27892 $as_echo_n "(cached) " >&6
27893 else
27896 ac_ext=cpp
27897 ac_cpp='$CXXCPP $CPPFLAGS'
27898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27903 /* end confdefs.h. */
27904 #include <stdlib.h>
27906 main ()
27908 quick_exit(0);
27910 return 0;
27912 _ACEOF
27913 if ac_fn_cxx_try_compile "$LINENO"; then :
27914 glibcxx_cv_func_quick_exit_use=yes
27915 else
27916 glibcxx_cv_func_quick_exit_use=no
27918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27919 ac_ext=c
27920 ac_cpp='$CPP $CPPFLAGS'
27921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27930 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27931 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27932 for ac_func in quick_exit
27933 do :
27934 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27935 if test "x$ac_cv_func_quick_exit" = xyes; then :
27936 cat >>confdefs.h <<_ACEOF
27937 #define HAVE_QUICK_EXIT 1
27938 _ACEOF
27941 done
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27947 $as_echo_n "checking for strtold declaration... " >&6; }
27948 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27949 if ${glibcxx_cv_func_strtold_use+:} false; then :
27950 $as_echo_n "(cached) " >&6
27951 else
27954 ac_ext=cpp
27955 ac_cpp='$CXXCPP $CPPFLAGS'
27956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27961 /* end confdefs.h. */
27962 #include <stdlib.h>
27964 main ()
27966 strtold(0, 0);
27968 return 0;
27970 _ACEOF
27971 if ac_fn_cxx_try_compile "$LINENO"; then :
27972 glibcxx_cv_func_strtold_use=yes
27973 else
27974 glibcxx_cv_func_strtold_use=no
27976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27977 ac_ext=c
27978 ac_cpp='$CPP $CPPFLAGS'
27979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27988 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27989 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27990 for ac_func in strtold
27991 do :
27992 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27993 if test "x$ac_cv_func_strtold" = xyes; then :
27994 cat >>confdefs.h <<_ACEOF
27995 #define HAVE_STRTOLD 1
27996 _ACEOF
27999 done
28006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28007 $as_echo_n "checking for strtof declaration... " >&6; }
28008 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28009 if ${glibcxx_cv_func_strtof_use+:} false; then :
28010 $as_echo_n "(cached) " >&6
28011 else
28014 ac_ext=cpp
28015 ac_cpp='$CXXCPP $CPPFLAGS'
28016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28021 /* end confdefs.h. */
28022 #include <stdlib.h>
28024 main ()
28026 strtof(0, 0);
28028 return 0;
28030 _ACEOF
28031 if ac_fn_cxx_try_compile "$LINENO"; then :
28032 glibcxx_cv_func_strtof_use=yes
28033 else
28034 glibcxx_cv_func_strtof_use=no
28036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28037 ac_ext=c
28038 ac_cpp='$CPP $CPPFLAGS'
28039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28048 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28049 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28050 for ac_func in strtof
28051 do :
28052 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28053 if test "x$ac_cv_func_strtof" = xyes; then :
28054 cat >>confdefs.h <<_ACEOF
28055 #define HAVE_STRTOF 1
28056 _ACEOF
28059 done
28066 CXXFLAGS="$ac_save_CXXFLAGS"
28069 # For /dev/random and /dev/urandom for std::random_device.
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28073 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28074 if ${glibcxx_cv_dev_random+:} false; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28078 if test -r /dev/random && test -r /dev/urandom; then
28079 ## For MSys environment the test above is detected as false-positive
28080 ## on mingw-targets. So disable it explicitly for them.
28081 case ${target_os} in
28082 *mingw*) glibcxx_cv_dev_random=no ;;
28083 *) glibcxx_cv_dev_random=yes ;;
28084 esac
28085 else
28086 glibcxx_cv_dev_random=no;
28090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28091 $as_echo "$glibcxx_cv_dev_random" >&6; }
28093 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28095 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28098 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28104 # For TLS support.
28107 # Check whether --enable-tls was given.
28108 if test "${enable_tls+set}" = set; then :
28109 enableval=$enable_tls;
28110 case "$enableval" in
28111 yes|no) ;;
28112 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28113 esac
28115 else
28116 enable_tls=yes
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28121 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28122 if ${gcc_cv_have_tls+:} false; then :
28123 $as_echo_n "(cached) " >&6
28124 else
28126 if test "$cross_compiling" = yes; then :
28127 if test x$gcc_no_link = xyes; then
28128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28131 /* end confdefs.h. */
28132 __thread int a; int b; int main() { return a = b; }
28133 _ACEOF
28134 if ac_fn_c_try_link "$LINENO"; then :
28135 chktls_save_LDFLAGS="$LDFLAGS"
28136 case $host in
28137 *-*-linux* | -*-uclinuxfdpic*)
28138 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28140 esac
28141 chktls_save_CFLAGS="$CFLAGS"
28142 CFLAGS="-fPIC $CFLAGS"
28143 if test x$gcc_no_link = xyes; then
28144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28147 /* end confdefs.h. */
28148 int f() { return 0; }
28149 _ACEOF
28150 if ac_fn_c_try_link "$LINENO"; then :
28151 if test x$gcc_no_link = xyes; then
28152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28155 /* end confdefs.h. */
28156 __thread int a; int b; int f() { return a = b; }
28157 _ACEOF
28158 if ac_fn_c_try_link "$LINENO"; then :
28159 gcc_cv_have_tls=yes
28160 else
28161 gcc_cv_have_tls=no
28163 rm -f core conftest.err conftest.$ac_objext \
28164 conftest$ac_exeext conftest.$ac_ext
28165 else
28166 gcc_cv_have_tls=yes
28168 rm -f core conftest.err conftest.$ac_objext \
28169 conftest$ac_exeext conftest.$ac_ext
28170 CFLAGS="$chktls_save_CFLAGS"
28171 LDFLAGS="$chktls_save_LDFLAGS"
28172 else
28173 gcc_cv_have_tls=no
28175 rm -f core conftest.err conftest.$ac_objext \
28176 conftest$ac_exeext conftest.$ac_ext
28179 else
28180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28181 /* end confdefs.h. */
28182 __thread int a; int b; int main() { return a = b; }
28183 _ACEOF
28184 if ac_fn_c_try_run "$LINENO"; then :
28185 chktls_save_LDFLAGS="$LDFLAGS"
28186 LDFLAGS="-static $LDFLAGS"
28187 if test x$gcc_no_link = xyes; then
28188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28191 /* end confdefs.h. */
28192 int main() { return 0; }
28193 _ACEOF
28194 if ac_fn_c_try_link "$LINENO"; then :
28195 if test "$cross_compiling" = yes; then :
28196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28198 as_fn_error $? "cannot run test program while cross compiling
28199 See \`config.log' for more details" "$LINENO" 5; }
28200 else
28201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28202 /* end confdefs.h. */
28203 __thread int a; int b; int main() { return a = b; }
28204 _ACEOF
28205 if ac_fn_c_try_run "$LINENO"; then :
28206 gcc_cv_have_tls=yes
28207 else
28208 gcc_cv_have_tls=no
28210 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28211 conftest.$ac_objext conftest.beam conftest.$ac_ext
28214 else
28215 gcc_cv_have_tls=yes
28217 rm -f core conftest.err conftest.$ac_objext \
28218 conftest$ac_exeext conftest.$ac_ext
28219 LDFLAGS="$chktls_save_LDFLAGS"
28220 if test $gcc_cv_have_tls = yes; then
28221 chktls_save_CFLAGS="$CFLAGS"
28222 thread_CFLAGS=failed
28223 for flag in '' '-pthread' '-lpthread'; do
28224 CFLAGS="$flag $chktls_save_CFLAGS"
28225 if test x$gcc_no_link = xyes; then
28226 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28229 /* end confdefs.h. */
28230 #include <pthread.h>
28231 void *g(void *d) { return NULL; }
28233 main ()
28235 pthread_t t; pthread_create(&t,NULL,g,NULL);
28237 return 0;
28239 _ACEOF
28240 if ac_fn_c_try_link "$LINENO"; then :
28241 thread_CFLAGS="$flag"
28243 rm -f core conftest.err conftest.$ac_objext \
28244 conftest$ac_exeext conftest.$ac_ext
28245 if test "X$thread_CFLAGS" != Xfailed; then
28246 break
28248 done
28249 CFLAGS="$chktls_save_CFLAGS"
28250 if test "X$thread_CFLAGS" != Xfailed; then
28251 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28252 if test "$cross_compiling" = yes; then :
28253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28255 as_fn_error $? "cannot run test program while cross compiling
28256 See \`config.log' for more details" "$LINENO" 5; }
28257 else
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <pthread.h>
28261 __thread int a;
28262 static int *volatile a_in_other_thread;
28263 static void *
28264 thread_func (void *arg)
28266 a_in_other_thread = &a;
28267 return (void *)0;
28270 main ()
28272 pthread_t thread;
28273 void *thread_retval;
28274 int *volatile a_in_main_thread;
28275 a_in_main_thread = &a;
28276 if (pthread_create (&thread, (pthread_attr_t *)0,
28277 thread_func, (void *)0))
28278 return 0;
28279 if (pthread_join (thread, &thread_retval))
28280 return 0;
28281 return (a_in_other_thread == a_in_main_thread);
28283 return 0;
28285 _ACEOF
28286 if ac_fn_c_try_run "$LINENO"; then :
28287 gcc_cv_have_tls=yes
28288 else
28289 gcc_cv_have_tls=no
28291 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28292 conftest.$ac_objext conftest.beam conftest.$ac_ext
28295 CFLAGS="$chktls_save_CFLAGS"
28298 else
28299 gcc_cv_have_tls=no
28301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28302 conftest.$ac_objext conftest.beam conftest.$ac_ext
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28307 $as_echo "$gcc_cv_have_tls" >&6; }
28308 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28310 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28314 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28315 do :
28316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28318 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28319 cat >>confdefs.h <<_ACEOF
28320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28321 _ACEOF
28324 done
28326 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28327 do :
28328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28330 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28331 cat >>confdefs.h <<_ACEOF
28332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28333 _ACEOF
28336 done
28338 for ac_func in _wfopen
28339 do :
28340 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28341 if test "x$ac_cv_func__wfopen" = xyes; then :
28342 cat >>confdefs.h <<_ACEOF
28343 #define HAVE__WFOPEN 1
28344 _ACEOF
28347 done
28349 for ac_func in secure_getenv
28350 do :
28351 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28352 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28353 cat >>confdefs.h <<_ACEOF
28354 #define HAVE_SECURE_GETENV 1
28355 _ACEOF
28358 done
28361 # C11 functions for C++17 library
28362 for ac_func in timespec_get
28363 do :
28364 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28365 if test "x$ac_cv_func_timespec_get" = xyes; then :
28366 cat >>confdefs.h <<_ACEOF
28367 #define HAVE_TIMESPEC_GET 1
28368 _ACEOF
28371 done
28374 # For Networking TS.
28375 for ac_func in sockatmark
28376 do :
28377 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28378 if test "x$ac_cv_func_sockatmark" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_SOCKATMARK 1
28381 _ACEOF
28384 done
28387 # Non-standard functions used by C++17 std::from_chars
28388 for ac_func in uselocale
28389 do :
28390 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28391 if test "x$ac_cv_func_uselocale" = xyes; then :
28392 cat >>confdefs.h <<_ACEOF
28393 #define HAVE_USELOCALE 1
28394 _ACEOF
28397 done
28400 # For iconv support.
28402 if test "X$prefix" = "XNONE"; then
28403 acl_final_prefix="$ac_default_prefix"
28404 else
28405 acl_final_prefix="$prefix"
28407 if test "X$exec_prefix" = "XNONE"; then
28408 acl_final_exec_prefix='${prefix}'
28409 else
28410 acl_final_exec_prefix="$exec_prefix"
28412 acl_save_prefix="$prefix"
28413 prefix="$acl_final_prefix"
28414 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28415 prefix="$acl_save_prefix"
28418 # Check whether --with-gnu-ld was given.
28419 if test "${with_gnu_ld+set}" = set; then :
28420 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28421 else
28422 with_gnu_ld=no
28425 # Prepare PATH_SEPARATOR.
28426 # The user is always right.
28427 if test "${PATH_SEPARATOR+set}" != set; then
28428 echo "#! /bin/sh" >conf$$.sh
28429 echo "exit 0" >>conf$$.sh
28430 chmod +x conf$$.sh
28431 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28432 PATH_SEPARATOR=';'
28433 else
28434 PATH_SEPARATOR=:
28436 rm -f conf$$.sh
28438 ac_prog=ld
28439 if test "$GCC" = yes; then
28440 # Check if gcc -print-prog-name=ld gives a path.
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28442 $as_echo_n "checking for ld used by GCC... " >&6; }
28443 case $host in
28444 *-*-mingw*)
28445 # gcc leaves a trailing carriage return which upsets mingw
28446 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28448 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28449 esac
28450 case $ac_prog in
28451 # Accept absolute paths.
28452 [\\/]* | [A-Za-z]:[\\/]*)
28453 re_direlt='/[^/][^/]*/\.\./'
28454 # Canonicalize the path of ld
28455 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28456 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28457 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28458 done
28459 test -z "$LD" && LD="$ac_prog"
28462 # If it fails, then pretend we aren't using GCC.
28463 ac_prog=ld
28466 # If it is relative, then search for the first ld in PATH.
28467 with_gnu_ld=unknown
28469 esac
28470 elif test "$with_gnu_ld" = yes; then
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28472 $as_echo_n "checking for GNU ld... " >&6; }
28473 else
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28475 $as_echo_n "checking for non-GNU ld... " >&6; }
28477 if ${acl_cv_path_LD+:} false; then :
28478 $as_echo_n "(cached) " >&6
28479 else
28480 if test -z "$LD"; then
28481 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28482 for ac_dir in $PATH; do
28483 test -z "$ac_dir" && ac_dir=.
28484 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28485 acl_cv_path_LD="$ac_dir/$ac_prog"
28486 # Check to see if the program is GNU ld. I'd rather use --version,
28487 # but apparently some GNU ld's only accept -v.
28488 # Break only if it was the GNU/non-GNU ld that we prefer.
28489 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28490 test "$with_gnu_ld" != no && break
28491 else
28492 test "$with_gnu_ld" != yes && break
28495 done
28496 IFS="$ac_save_ifs"
28497 else
28498 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28502 LD="$acl_cv_path_LD"
28503 if test -n "$LD"; then
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28505 $as_echo "$LD" >&6; }
28506 else
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28508 $as_echo "no" >&6; }
28510 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28512 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28513 if ${acl_cv_prog_gnu_ld+:} false; then :
28514 $as_echo_n "(cached) " >&6
28515 else
28516 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28517 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28518 acl_cv_prog_gnu_ld=yes
28519 else
28520 acl_cv_prog_gnu_ld=no
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28524 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28525 with_gnu_ld=$acl_cv_prog_gnu_ld
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28530 $as_echo_n "checking for shared library run path origin... " >&6; }
28531 if ${acl_cv_rpath+:} false; then :
28532 $as_echo_n "(cached) " >&6
28533 else
28535 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28536 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28537 . ./conftest.sh
28538 rm -f ./conftest.sh
28539 acl_cv_rpath=done
28542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28543 $as_echo "$acl_cv_rpath" >&6; }
28544 wl="$acl_cv_wl"
28545 libext="$acl_cv_libext"
28546 shlibext="$acl_cv_shlibext"
28547 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28548 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28549 hardcode_direct="$acl_cv_hardcode_direct"
28550 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28551 # Check whether --enable-rpath was given.
28552 if test "${enable_rpath+set}" = set; then :
28553 enableval=$enable_rpath; :
28554 else
28555 enable_rpath=yes
28565 use_additional=yes
28567 acl_save_prefix="$prefix"
28568 prefix="$acl_final_prefix"
28569 acl_save_exec_prefix="$exec_prefix"
28570 exec_prefix="$acl_final_exec_prefix"
28572 eval additional_includedir=\"$includedir\"
28573 eval additional_libdir=\"$libdir\"
28575 exec_prefix="$acl_save_exec_prefix"
28576 prefix="$acl_save_prefix"
28579 # Check whether --with-libiconv-prefix was given.
28580 if test "${with_libiconv_prefix+set}" = set; then :
28581 withval=$with_libiconv_prefix;
28582 if test "X$withval" = "Xno"; then
28583 use_additional=no
28584 else
28585 if test "X$withval" = "X"; then
28587 acl_save_prefix="$prefix"
28588 prefix="$acl_final_prefix"
28589 acl_save_exec_prefix="$exec_prefix"
28590 exec_prefix="$acl_final_exec_prefix"
28592 eval additional_includedir=\"$includedir\"
28593 eval additional_libdir=\"$libdir\"
28595 exec_prefix="$acl_save_exec_prefix"
28596 prefix="$acl_save_prefix"
28598 else
28599 additional_includedir="$withval/include"
28600 additional_libdir="$withval/lib"
28607 # Check whether --with-libiconv-type was given.
28608 if test "${with_libiconv_type+set}" = set; then :
28609 withval=$with_libiconv_type; with_libiconv_type=$withval
28610 else
28611 with_libiconv_type=auto
28614 lib_type=`eval echo \$with_libiconv_type`
28616 LIBICONV=
28617 LTLIBICONV=
28618 INCICONV=
28619 rpathdirs=
28620 ltrpathdirs=
28621 names_already_handled=
28622 names_next_round='iconv '
28623 while test -n "$names_next_round"; do
28624 names_this_round="$names_next_round"
28625 names_next_round=
28626 for name in $names_this_round; do
28627 already_handled=
28628 for n in $names_already_handled; do
28629 if test "$n" = "$name"; then
28630 already_handled=yes
28631 break
28633 done
28634 if test -z "$already_handled"; then
28635 names_already_handled="$names_already_handled $name"
28636 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28637 eval value=\"\$HAVE_LIB$uppername\"
28638 if test -n "$value"; then
28639 if test "$value" = yes; then
28640 eval value=\"\$LIB$uppername\"
28641 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28642 eval value=\"\$LTLIB$uppername\"
28643 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28644 else
28647 else
28648 found_dir=
28649 found_la=
28650 found_so=
28651 found_a=
28652 if test $use_additional = yes; then
28653 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28654 found_dir="$additional_libdir"
28655 found_so="$additional_libdir/lib$name.$shlibext"
28656 if test -f "$additional_libdir/lib$name.la"; then
28657 found_la="$additional_libdir/lib$name.la"
28659 elif test x$lib_type != xshared; then
28660 if test -f "$additional_libdir/lib$name.$libext"; then
28661 found_dir="$additional_libdir"
28662 found_a="$additional_libdir/lib$name.$libext"
28663 if test -f "$additional_libdir/lib$name.la"; then
28664 found_la="$additional_libdir/lib$name.la"
28669 if test "X$found_dir" = "X"; then
28670 for x in $LDFLAGS $LTLIBICONV; do
28672 acl_save_prefix="$prefix"
28673 prefix="$acl_final_prefix"
28674 acl_save_exec_prefix="$exec_prefix"
28675 exec_prefix="$acl_final_exec_prefix"
28676 eval x=\"$x\"
28677 exec_prefix="$acl_save_exec_prefix"
28678 prefix="$acl_save_prefix"
28680 case "$x" in
28681 -L*)
28682 dir=`echo "X$x" | sed -e 's/^X-L//'`
28683 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28684 found_dir="$dir"
28685 found_so="$dir/lib$name.$shlibext"
28686 if test -f "$dir/lib$name.la"; then
28687 found_la="$dir/lib$name.la"
28689 elif test x$lib_type != xshared; then
28690 if test -f "$dir/lib$name.$libext"; then
28691 found_dir="$dir"
28692 found_a="$dir/lib$name.$libext"
28693 if test -f "$dir/lib$name.la"; then
28694 found_la="$dir/lib$name.la"
28699 esac
28700 if test "X$found_dir" != "X"; then
28701 break
28703 done
28705 if test "X$found_dir" != "X"; then
28706 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28707 if test "X$found_so" != "X"; then
28708 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28710 else
28711 haveit=
28712 for x in $ltrpathdirs; do
28713 if test "X$x" = "X$found_dir"; then
28714 haveit=yes
28715 break
28717 done
28718 if test -z "$haveit"; then
28719 ltrpathdirs="$ltrpathdirs $found_dir"
28721 if test "$hardcode_direct" = yes; then
28722 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28723 else
28724 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28725 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28726 haveit=
28727 for x in $rpathdirs; do
28728 if test "X$x" = "X$found_dir"; then
28729 haveit=yes
28730 break
28732 done
28733 if test -z "$haveit"; then
28734 rpathdirs="$rpathdirs $found_dir"
28736 else
28737 haveit=
28738 for x in $LDFLAGS $LIBICONV; do
28740 acl_save_prefix="$prefix"
28741 prefix="$acl_final_prefix"
28742 acl_save_exec_prefix="$exec_prefix"
28743 exec_prefix="$acl_final_exec_prefix"
28744 eval x=\"$x\"
28745 exec_prefix="$acl_save_exec_prefix"
28746 prefix="$acl_save_prefix"
28748 if test "X$x" = "X-L$found_dir"; then
28749 haveit=yes
28750 break
28752 done
28753 if test -z "$haveit"; then
28754 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28756 if test "$hardcode_minus_L" != no; then
28757 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28758 else
28759 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28764 else
28765 if test "X$found_a" != "X"; then
28766 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28767 else
28768 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28771 additional_includedir=
28772 case "$found_dir" in
28773 */lib | */lib/)
28774 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28775 additional_includedir="$basedir/include"
28777 esac
28778 if test "X$additional_includedir" != "X"; then
28779 if test "X$additional_includedir" != "X/usr/include"; then
28780 haveit=
28781 if test "X$additional_includedir" = "X/usr/local/include"; then
28782 if test -n "$GCC"; then
28783 case $host_os in
28784 linux*) haveit=yes;;
28785 esac
28788 if test -z "$haveit"; then
28789 for x in $CPPFLAGS $INCICONV; do
28791 acl_save_prefix="$prefix"
28792 prefix="$acl_final_prefix"
28793 acl_save_exec_prefix="$exec_prefix"
28794 exec_prefix="$acl_final_exec_prefix"
28795 eval x=\"$x\"
28796 exec_prefix="$acl_save_exec_prefix"
28797 prefix="$acl_save_prefix"
28799 if test "X$x" = "X-I$additional_includedir"; then
28800 haveit=yes
28801 break
28803 done
28804 if test -z "$haveit"; then
28805 if test -d "$additional_includedir"; then
28806 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28812 if test -n "$found_la"; then
28813 save_libdir="$libdir"
28814 case "$found_la" in
28815 */* | *\\*) . "$found_la" ;;
28816 *) . "./$found_la" ;;
28817 esac
28818 libdir="$save_libdir"
28819 for dep in $dependency_libs; do
28820 case "$dep" in
28821 -L*)
28822 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28823 if test "X$additional_libdir" != "X/usr/lib"; then
28824 haveit=
28825 if test "X$additional_libdir" = "X/usr/local/lib"; then
28826 if test -n "$GCC"; then
28827 case $host_os in
28828 linux*) haveit=yes;;
28829 esac
28832 if test -z "$haveit"; then
28833 haveit=
28834 for x in $LDFLAGS $LIBICONV; do
28836 acl_save_prefix="$prefix"
28837 prefix="$acl_final_prefix"
28838 acl_save_exec_prefix="$exec_prefix"
28839 exec_prefix="$acl_final_exec_prefix"
28840 eval x=\"$x\"
28841 exec_prefix="$acl_save_exec_prefix"
28842 prefix="$acl_save_prefix"
28844 if test "X$x" = "X-L$additional_libdir"; then
28845 haveit=yes
28846 break
28848 done
28849 if test -z "$haveit"; then
28850 if test -d "$additional_libdir"; then
28851 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28854 haveit=
28855 for x in $LDFLAGS $LTLIBICONV; do
28857 acl_save_prefix="$prefix"
28858 prefix="$acl_final_prefix"
28859 acl_save_exec_prefix="$exec_prefix"
28860 exec_prefix="$acl_final_exec_prefix"
28861 eval x=\"$x\"
28862 exec_prefix="$acl_save_exec_prefix"
28863 prefix="$acl_save_prefix"
28865 if test "X$x" = "X-L$additional_libdir"; then
28866 haveit=yes
28867 break
28869 done
28870 if test -z "$haveit"; then
28871 if test -d "$additional_libdir"; then
28872 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28878 -R*)
28879 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28880 if test "$enable_rpath" != no; then
28881 haveit=
28882 for x in $rpathdirs; do
28883 if test "X$x" = "X$dir"; then
28884 haveit=yes
28885 break
28887 done
28888 if test -z "$haveit"; then
28889 rpathdirs="$rpathdirs $dir"
28891 haveit=
28892 for x in $ltrpathdirs; do
28893 if test "X$x" = "X$dir"; then
28894 haveit=yes
28895 break
28897 done
28898 if test -z "$haveit"; then
28899 ltrpathdirs="$ltrpathdirs $dir"
28903 -l*)
28904 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28906 *.la)
28907 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28910 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28911 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28913 esac
28914 done
28916 else
28917 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28918 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28919 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28920 else
28921 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28922 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28927 done
28928 done
28929 if test "X$rpathdirs" != "X"; then
28930 if test -n "$hardcode_libdir_separator"; then
28931 alldirs=
28932 for found_dir in $rpathdirs; do
28933 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28934 done
28935 acl_save_libdir="$libdir"
28936 libdir="$alldirs"
28937 eval flag=\"$hardcode_libdir_flag_spec\"
28938 libdir="$acl_save_libdir"
28939 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28940 else
28941 for found_dir in $rpathdirs; do
28942 acl_save_libdir="$libdir"
28943 libdir="$found_dir"
28944 eval flag=\"$hardcode_libdir_flag_spec\"
28945 libdir="$acl_save_libdir"
28946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28947 done
28950 if test "X$ltrpathdirs" != "X"; then
28951 for found_dir in $ltrpathdirs; do
28952 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28953 done
28962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28963 $as_echo_n "checking for iconv... " >&6; }
28964 if ${am_cv_func_iconv+:} false; then :
28965 $as_echo_n "(cached) " >&6
28966 else
28968 am_cv_func_iconv="no, consider installing GNU libiconv"
28969 am_cv_lib_iconv=no
28970 am_save_CPPFLAGS="$CPPFLAGS"
28971 CPPFLAGS="$CPPFLAGS $INCICONV"
28972 if test x$gcc_no_link = xyes; then
28973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28976 /* end confdefs.h. */
28977 #include <stdlib.h>
28978 #include <iconv.h>
28980 main ()
28982 iconv_t cd = iconv_open("","");
28983 iconv(cd,NULL,NULL,NULL,NULL);
28984 iconv_close(cd);
28986 return 0;
28988 _ACEOF
28989 if ac_fn_c_try_link "$LINENO"; then :
28990 am_cv_func_iconv=yes
28992 rm -f core conftest.err conftest.$ac_objext \
28993 conftest$ac_exeext conftest.$ac_ext
28994 CPPFLAGS="$am_save_CPPFLAGS"
28996 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28997 for _libs in .libs _libs; do
28998 am_save_CPPFLAGS="$CPPFLAGS"
28999 am_save_LIBS="$LIBS"
29000 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29001 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29002 if test x$gcc_no_link = xyes; then
29003 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29006 /* end confdefs.h. */
29007 #include <stdlib.h>
29008 #include <iconv.h>
29010 main ()
29012 iconv_t cd = iconv_open("","");
29013 iconv(cd,NULL,NULL,NULL,NULL);
29014 iconv_close(cd);
29016 return 0;
29018 _ACEOF
29019 if ac_fn_c_try_link "$LINENO"; then :
29020 INCICONV="-I../libiconv/include"
29021 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29022 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29023 am_cv_lib_iconv=yes
29024 am_cv_func_iconv=yes
29026 rm -f core conftest.err conftest.$ac_objext \
29027 conftest$ac_exeext conftest.$ac_ext
29028 CPPFLAGS="$am_save_CPPFLAGS"
29029 LIBS="$am_save_LIBS"
29030 if test "$am_cv_func_iconv" = "yes"; then
29031 break
29033 done
29036 if test "$am_cv_func_iconv" != yes; then
29037 am_save_CPPFLAGS="$CPPFLAGS"
29038 am_save_LIBS="$LIBS"
29039 CPPFLAGS="$CPPFLAGS $INCICONV"
29040 LIBS="$LIBS $LIBICONV"
29041 if test x$gcc_no_link = xyes; then
29042 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29045 /* end confdefs.h. */
29046 #include <stdlib.h>
29047 #include <iconv.h>
29049 main ()
29051 iconv_t cd = iconv_open("","");
29052 iconv(cd,NULL,NULL,NULL,NULL);
29053 iconv_close(cd);
29055 return 0;
29057 _ACEOF
29058 if ac_fn_c_try_link "$LINENO"; then :
29059 am_cv_lib_iconv=yes
29060 am_cv_func_iconv=yes
29062 rm -f core conftest.err conftest.$ac_objext \
29063 conftest$ac_exeext conftest.$ac_ext
29064 CPPFLAGS="$am_save_CPPFLAGS"
29065 LIBS="$am_save_LIBS"
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29070 $as_echo "$am_cv_func_iconv" >&6; }
29071 if test "$am_cv_func_iconv" = yes; then
29073 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29076 if test "$am_cv_lib_iconv" = yes; then
29078 for element in $INCICONV; do
29079 haveit=
29080 for x in $CPPFLAGS; do
29082 acl_save_prefix="$prefix"
29083 prefix="$acl_final_prefix"
29084 acl_save_exec_prefix="$exec_prefix"
29085 exec_prefix="$acl_final_exec_prefix"
29086 eval x=\"$x\"
29087 exec_prefix="$acl_save_exec_prefix"
29088 prefix="$acl_save_prefix"
29090 if test "X$x" = "X$element"; then
29091 haveit=yes
29092 break
29094 done
29095 if test -z "$haveit"; then
29096 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29098 done
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29101 $as_echo_n "checking how to link with libiconv... " >&6; }
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29103 $as_echo "$LIBICONV" >&6; }
29104 else
29105 LIBICONV=
29106 LTLIBICONV=
29111 if test "$am_cv_func_iconv" = yes; then
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29113 $as_echo_n "checking for iconv declaration... " >&6; }
29114 if ${am_cv_proto_iconv+:} false; then :
29115 $as_echo_n "(cached) " >&6
29116 else
29118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29119 /* end confdefs.h. */
29121 #include <stdlib.h>
29122 #include <iconv.h>
29123 extern
29124 #ifdef __cplusplus
29126 #endif
29127 #if defined(__STDC__) || defined(__cplusplus)
29128 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29129 #else
29130 size_t iconv();
29131 #endif
29134 main ()
29138 return 0;
29140 _ACEOF
29141 if ac_fn_c_try_compile "$LINENO"; then :
29142 am_cv_proto_iconv_arg1=""
29143 else
29144 am_cv_proto_iconv_arg1="const"
29146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29147 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);"
29150 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29152 }$am_cv_proto_iconv" >&5
29153 $as_echo "${ac_t:-
29154 }$am_cv_proto_iconv" >&6; }
29156 cat >>confdefs.h <<_ACEOF
29157 #define ICONV_CONST $am_cv_proto_iconv_arg1
29158 _ACEOF
29163 else
29165 # This lets us hard-code the functionality we know we'll have in the cross
29166 # target environment. "Let" is a sugar-coated word placed on an especially
29167 # dull and tedious hack, actually.
29169 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29170 # that involve linking, can't be used:
29171 # "cannot open sim-crt0.o"
29172 # "cannot open crt0.o"
29173 # etc. All this is because there currently exists no unified, consistent
29174 # way for top level CC information to be passed down to target directories:
29175 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29176 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29177 # crosses can be removed.
29179 # If Canadian cross, then don't pick up tools from the build directory.
29180 # Used only in GLIBCXX_EXPORT_INCLUDES.
29181 if test -n "$with_cross_host" &&
29182 test x"$build_alias" != x"$with_cross_host" &&
29183 test x"$build" != x"$target";
29184 then
29185 CANADIAN=yes
29186 else
29187 CANADIAN=no
29190 # Construct crosses by hand, eliminating bits that need ld...
29191 # GLIBCXX_CHECK_MATH_SUPPORT
29193 # First, test for "known" system libraries. We may be using newlib even
29194 # on a hosted environment.
29195 if test "x${with_newlib}" = "xyes"; then
29196 os_include_dir="os/newlib"
29197 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29200 # GLIBCXX_CHECK_STDLIB_SUPPORT
29201 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29204 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29206 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29208 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29210 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29212 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29214 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29216 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29218 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29220 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29222 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29224 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29226 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29228 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29230 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29232 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29234 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29236 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29238 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29240 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29242 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29244 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29246 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29249 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29251 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29254 case "${target}" in
29255 *-rtems*)
29256 case "${target}" in
29257 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29260 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29263 esac
29264 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29266 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29268 $as_echo "#define HAVE_LINK 1" >>confdefs.h
29270 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29272 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29274 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29276 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29278 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29280 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29282 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29284 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29286 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29289 esac
29290 elif test "x$with_headers" != "xno"; then
29292 # Base decisions on target environment.
29293 case "${host}" in
29294 arm*-*-symbianelf*)
29295 # This is a freestanding configuration; there is nothing to do here.
29298 avr*-*-*)
29299 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29301 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29303 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29305 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29307 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29309 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29311 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29313 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29315 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29317 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29319 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29321 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29323 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29325 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29327 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29331 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29333 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29335 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29337 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29339 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29341 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29343 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29347 mips*-sde-elf*)
29348 # These definitions are for the SDE C library rather than newlib.
29349 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29352 # All these tests are for C++; save the language and the compiler flags.
29353 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29354 # found in GLIBCXX_CONFIGURE.
29356 ac_ext=cpp
29357 ac_cpp='$CXXCPP $CPPFLAGS'
29358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29363 ac_save_CXXFLAGS="$CXXFLAGS"
29365 # Check for -ffunction-sections -fdata-sections
29366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29367 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29368 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29370 /* end confdefs.h. */
29371 int foo; void bar() { };
29373 main ()
29377 return 0;
29379 _ACEOF
29380 if ac_fn_cxx_try_compile "$LINENO"; then :
29381 ac_fdsections=yes
29382 else
29383 ac_fdsections=no
29385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29386 if test "$ac_test_CXXFLAGS" = set; then
29387 CXXFLAGS="$ac_save_CXXFLAGS"
29388 else
29389 # this is the suspicious part
29390 CXXFLAGS=''
29392 if test x"$ac_fdsections" = x"yes"; then
29393 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29396 $as_echo "$ac_fdsections" >&6; }
29398 ac_ext=c
29399 ac_cpp='$CPP $CPPFLAGS'
29400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407 # If we're not using GNU ld, then there's no point in even trying these
29408 # tests. Check for that first. We should have already tested for gld
29409 # by now (in libtool), but require it now just to be safe...
29410 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29411 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29415 # The name set by libtool depends on the version of libtool. Shame on us
29416 # for depending on an impl detail, but c'est la vie. Older versions used
29417 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29418 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29419 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29420 # set (hence we're using an older libtool), then set it.
29421 if test x${with_gnu_ld+set} != xset; then
29422 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29423 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29424 with_gnu_ld=no
29425 else
29426 with_gnu_ld=$ac_cv_prog_gnu_ld
29430 # Start by getting the version number. I think the libtool test already
29431 # does some of this, but throws away the result.
29432 glibcxx_ld_is_gold=no
29433 glibcxx_ld_is_mold=no
29434 if test x"$with_gnu_ld" = x"yes"; then
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29436 $as_echo_n "checking for ld version... " >&6; }
29438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29439 glibcxx_ld_is_gold=yes
29440 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29441 glibcxx_ld_is_mold=yes
29443 ldver=`$LD --version 2>/dev/null |
29444 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29446 glibcxx_gnu_ld_version=`echo $ldver | \
29447 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29449 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29452 # Set --gc-sections.
29453 glibcxx_have_gc_sections=no
29454 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29455 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29456 glibcxx_have_gc_sections=yes
29458 else
29459 glibcxx_gcsections_min_ld=21602
29460 if test x"$with_gnu_ld" = x"yes" &&
29461 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29462 glibcxx_have_gc_sections=yes
29465 if test "$glibcxx_have_gc_sections" = "yes"; then
29466 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29467 # NB: This flag only works reliably after 2.16.1. Configure tests
29468 # for this are difficult, so hard wire a value that should work.
29470 ac_test_CFLAGS="${CFLAGS+set}"
29471 ac_save_CFLAGS="$CFLAGS"
29472 CFLAGS='-Wl,--gc-sections'
29474 # Check for -Wl,--gc-sections
29475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29476 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29477 if test x$gcc_no_link = xyes; then
29478 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29481 /* end confdefs.h. */
29482 int one(void) { return 1; }
29483 int two(void) { return 2; }
29486 main ()
29488 two();
29490 return 0;
29492 _ACEOF
29493 if ac_fn_c_try_link "$LINENO"; then :
29494 ac_gcsections=yes
29495 else
29496 ac_gcsections=no
29498 rm -f core conftest.err conftest.$ac_objext \
29499 conftest$ac_exeext conftest.$ac_ext
29500 if test "$ac_gcsections" = "yes"; then
29501 rm -f conftest.c
29502 touch conftest.c
29503 if $CC -c conftest.c; then
29504 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29505 grep "Warning: gc-sections option ignored" > /dev/null; then
29506 ac_gcsections=no
29509 rm -f conftest.c conftest.o conftest
29511 if test "$ac_gcsections" = "yes"; then
29512 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29515 $as_echo "$ac_gcsections" >&6; }
29517 if test "$ac_test_CFLAGS" = set; then
29518 CFLAGS="$ac_save_CFLAGS"
29519 else
29520 # this is the suspicious part
29521 CFLAGS=''
29525 # Set -z,relro.
29526 # Note this is only for shared objects.
29527 ac_ld_relro=no
29528 if test x"$with_gnu_ld" = x"yes"; then
29529 # cygwin and mingw uses PE, which has no ELF relro support,
29530 # multi target ld may confuse configure machinery
29531 case "$host" in
29532 *-*-cygwin*)
29534 *-*-mingw*)
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29538 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29539 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29540 if test -n "$cxx_z_relo"; then
29541 OPT_LDFLAGS="-Wl,-z,relro"
29542 ac_ld_relro=yes
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29545 $as_echo "$ac_ld_relro" >&6; }
29546 esac
29549 # Set linker optimization flags.
29550 if test x"$with_gnu_ld" = x"yes"; then
29551 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29558 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29559 ac_save_CXXFLAGS="$CXXFLAGS"
29560 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29563 $as_echo_n "checking for sin in -lm... " >&6; }
29564 if ${ac_cv_lib_m_sin+:} false; then :
29565 $as_echo_n "(cached) " >&6
29566 else
29567 ac_check_lib_save_LIBS=$LIBS
29568 LIBS="-lm $LIBS"
29569 if test x$gcc_no_link = xyes; then
29570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h. */
29575 /* Override any GCC internal prototype to avoid an error.
29576 Use char because int might match the return type of a GCC
29577 builtin and then its argument prototype would still apply. */
29578 #ifdef __cplusplus
29579 extern "C"
29580 #endif
29581 char sin ();
29583 main ()
29585 return sin ();
29587 return 0;
29589 _ACEOF
29590 if ac_fn_c_try_link "$LINENO"; then :
29591 ac_cv_lib_m_sin=yes
29592 else
29593 ac_cv_lib_m_sin=no
29595 rm -f core conftest.err conftest.$ac_objext \
29596 conftest$ac_exeext conftest.$ac_ext
29597 LIBS=$ac_check_lib_save_LIBS
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29600 $as_echo "$ac_cv_lib_m_sin" >&6; }
29601 if test "x$ac_cv_lib_m_sin" = xyes; then :
29602 libm="-lm"
29605 ac_save_LIBS="$LIBS"
29606 LIBS="$LIBS $libm"
29610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29611 $as_echo_n "checking for isinf declaration... " >&6; }
29612 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29613 if ${glibcxx_cv_func_isinf_use+:} false; then :
29614 $as_echo_n "(cached) " >&6
29615 else
29618 ac_ext=cpp
29619 ac_cpp='$CXXCPP $CPPFLAGS'
29620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h. */
29626 #include <math.h>
29627 #ifdef HAVE_IEEEFP_H
29628 #include <ieeefp.h>
29629 #endif
29632 main ()
29634 isinf(0);
29636 return 0;
29638 _ACEOF
29639 if ac_fn_cxx_try_compile "$LINENO"; then :
29640 glibcxx_cv_func_isinf_use=yes
29641 else
29642 glibcxx_cv_func_isinf_use=no
29644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645 ac_ext=c
29646 ac_cpp='$CPP $CPPFLAGS'
29647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29656 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29658 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29659 for ac_func in isinf
29660 do :
29661 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29662 if test "x$ac_cv_func_isinf" = xyes; then :
29663 cat >>confdefs.h <<_ACEOF
29664 #define HAVE_ISINF 1
29665 _ACEOF
29668 done
29670 else
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29673 $as_echo_n "checking for _isinf declaration... " >&6; }
29674 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29675 if ${glibcxx_cv_func__isinf_use+:} false; then :
29676 $as_echo_n "(cached) " >&6
29677 else
29680 ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h. */
29688 #include <math.h>
29689 #ifdef HAVE_IEEEFP_H
29690 #include <ieeefp.h>
29691 #endif
29694 main ()
29696 _isinf(0);
29698 return 0;
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func__isinf_use=yes
29703 else
29704 glibcxx_cv_func__isinf_use=no
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29718 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29720 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29721 for ac_func in _isinf
29722 do :
29723 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29724 if test "x$ac_cv_func__isinf" = xyes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE__ISINF 1
29727 _ACEOF
29730 done
29739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29740 $as_echo_n "checking for isnan declaration... " >&6; }
29741 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29742 if ${glibcxx_cv_func_isnan_use+:} false; then :
29743 $as_echo_n "(cached) " >&6
29744 else
29747 ac_ext=cpp
29748 ac_cpp='$CXXCPP $CPPFLAGS'
29749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29754 /* end confdefs.h. */
29755 #include <math.h>
29756 #ifdef HAVE_IEEEFP_H
29757 #include <ieeefp.h>
29758 #endif
29761 main ()
29763 isnan(0);
29765 return 0;
29767 _ACEOF
29768 if ac_fn_cxx_try_compile "$LINENO"; then :
29769 glibcxx_cv_func_isnan_use=yes
29770 else
29771 glibcxx_cv_func_isnan_use=no
29773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29774 ac_ext=c
29775 ac_cpp='$CPP $CPPFLAGS'
29776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29785 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29787 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29788 for ac_func in isnan
29789 do :
29790 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29791 if test "x$ac_cv_func_isnan" = xyes; then :
29792 cat >>confdefs.h <<_ACEOF
29793 #define HAVE_ISNAN 1
29794 _ACEOF
29797 done
29799 else
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29802 $as_echo_n "checking for _isnan declaration... " >&6; }
29803 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29804 if ${glibcxx_cv_func__isnan_use+:} false; then :
29805 $as_echo_n "(cached) " >&6
29806 else
29809 ac_ext=cpp
29810 ac_cpp='$CXXCPP $CPPFLAGS'
29811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29817 #include <math.h>
29818 #ifdef HAVE_IEEEFP_H
29819 #include <ieeefp.h>
29820 #endif
29823 main ()
29825 _isnan(0);
29827 return 0;
29829 _ACEOF
29830 if ac_fn_cxx_try_compile "$LINENO"; then :
29831 glibcxx_cv_func__isnan_use=yes
29832 else
29833 glibcxx_cv_func__isnan_use=no
29835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29836 ac_ext=c
29837 ac_cpp='$CPP $CPPFLAGS'
29838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29847 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29849 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29850 for ac_func in _isnan
29851 do :
29852 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29853 if test "x$ac_cv_func__isnan" = xyes; then :
29854 cat >>confdefs.h <<_ACEOF
29855 #define HAVE__ISNAN 1
29856 _ACEOF
29859 done
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29869 $as_echo_n "checking for finite declaration... " >&6; }
29870 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29871 if ${glibcxx_cv_func_finite_use+:} false; then :
29872 $as_echo_n "(cached) " >&6
29873 else
29876 ac_ext=cpp
29877 ac_cpp='$CXXCPP $CPPFLAGS'
29878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29883 /* end confdefs.h. */
29884 #include <math.h>
29885 #ifdef HAVE_IEEEFP_H
29886 #include <ieeefp.h>
29887 #endif
29890 main ()
29892 finite(0);
29894 return 0;
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func_finite_use=yes
29899 else
29900 glibcxx_cv_func_finite_use=no
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29914 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29916 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29917 for ac_func in finite
29918 do :
29919 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29920 if test "x$ac_cv_func_finite" = xyes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE_FINITE 1
29923 _ACEOF
29926 done
29928 else
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29931 $as_echo_n "checking for _finite declaration... " >&6; }
29932 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29933 if ${glibcxx_cv_func__finite_use+:} false; then :
29934 $as_echo_n "(cached) " >&6
29935 else
29938 ac_ext=cpp
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29945 /* end confdefs.h. */
29946 #include <math.h>
29947 #ifdef HAVE_IEEEFP_H
29948 #include <ieeefp.h>
29949 #endif
29952 main ()
29954 _finite(0);
29956 return 0;
29958 _ACEOF
29959 if ac_fn_cxx_try_compile "$LINENO"; then :
29960 glibcxx_cv_func__finite_use=yes
29961 else
29962 glibcxx_cv_func__finite_use=no
29964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29965 ac_ext=c
29966 ac_cpp='$CPP $CPPFLAGS'
29967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29976 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29978 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29979 for ac_func in _finite
29980 do :
29981 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29982 if test "x$ac_cv_func__finite" = xyes; then :
29983 cat >>confdefs.h <<_ACEOF
29984 #define HAVE__FINITE 1
29985 _ACEOF
29988 done
29997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29998 $as_echo_n "checking for sincos declaration... " >&6; }
29999 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30000 if ${glibcxx_cv_func_sincos_use+:} false; then :
30001 $as_echo_n "(cached) " >&6
30002 else
30005 ac_ext=cpp
30006 ac_cpp='$CXXCPP $CPPFLAGS'
30007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30012 /* end confdefs.h. */
30013 #include <math.h>
30015 main ()
30017 sincos(0, 0, 0);
30019 return 0;
30021 _ACEOF
30022 if ac_fn_cxx_try_compile "$LINENO"; then :
30023 glibcxx_cv_func_sincos_use=yes
30024 else
30025 glibcxx_cv_func_sincos_use=no
30027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30028 ac_ext=c
30029 ac_cpp='$CPP $CPPFLAGS'
30030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30039 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30041 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30042 for ac_func in sincos
30043 do :
30044 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30045 if test "x$ac_cv_func_sincos" = xyes; then :
30046 cat >>confdefs.h <<_ACEOF
30047 #define HAVE_SINCOS 1
30048 _ACEOF
30051 done
30053 else
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30056 $as_echo_n "checking for _sincos declaration... " >&6; }
30057 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30058 if ${glibcxx_cv_func__sincos_use+:} false; then :
30059 $as_echo_n "(cached) " >&6
30060 else
30063 ac_ext=cpp
30064 ac_cpp='$CXXCPP $CPPFLAGS'
30065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30070 /* end confdefs.h. */
30071 #include <math.h>
30073 main ()
30075 _sincos(0, 0, 0);
30077 return 0;
30079 _ACEOF
30080 if ac_fn_cxx_try_compile "$LINENO"; then :
30081 glibcxx_cv_func__sincos_use=yes
30082 else
30083 glibcxx_cv_func__sincos_use=no
30085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30086 ac_ext=c
30087 ac_cpp='$CPP $CPPFLAGS'
30088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30097 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30099 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30100 for ac_func in _sincos
30101 do :
30102 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30103 if test "x$ac_cv_func__sincos" = xyes; then :
30104 cat >>confdefs.h <<_ACEOF
30105 #define HAVE__SINCOS 1
30106 _ACEOF
30109 done
30118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30119 $as_echo_n "checking for fpclass declaration... " >&6; }
30120 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30121 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30122 $as_echo_n "(cached) " >&6
30123 else
30126 ac_ext=cpp
30127 ac_cpp='$CXXCPP $CPPFLAGS'
30128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30133 /* end confdefs.h. */
30134 #include <math.h>
30135 #ifdef HAVE_IEEEFP_H
30136 #include <ieeefp.h>
30137 #endif
30140 main ()
30142 fpclass(0);
30144 return 0;
30146 _ACEOF
30147 if ac_fn_cxx_try_compile "$LINENO"; then :
30148 glibcxx_cv_func_fpclass_use=yes
30149 else
30150 glibcxx_cv_func_fpclass_use=no
30152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30153 ac_ext=c
30154 ac_cpp='$CPP $CPPFLAGS'
30155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30164 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30166 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30167 for ac_func in fpclass
30168 do :
30169 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30170 if test "x$ac_cv_func_fpclass" = xyes; then :
30171 cat >>confdefs.h <<_ACEOF
30172 #define HAVE_FPCLASS 1
30173 _ACEOF
30176 done
30178 else
30180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30181 $as_echo_n "checking for _fpclass declaration... " >&6; }
30182 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30183 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30184 $as_echo_n "(cached) " >&6
30185 else
30188 ac_ext=cpp
30189 ac_cpp='$CXXCPP $CPPFLAGS'
30190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30195 /* end confdefs.h. */
30196 #include <math.h>
30197 #ifdef HAVE_IEEEFP_H
30198 #include <ieeefp.h>
30199 #endif
30202 main ()
30204 _fpclass(0);
30206 return 0;
30208 _ACEOF
30209 if ac_fn_cxx_try_compile "$LINENO"; then :
30210 glibcxx_cv_func__fpclass_use=yes
30211 else
30212 glibcxx_cv_func__fpclass_use=no
30214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30215 ac_ext=c
30216 ac_cpp='$CPP $CPPFLAGS'
30217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30226 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30228 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30229 for ac_func in _fpclass
30230 do :
30231 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30232 if test "x$ac_cv_func__fpclass" = xyes; then :
30233 cat >>confdefs.h <<_ACEOF
30234 #define HAVE__FPCLASS 1
30235 _ACEOF
30238 done
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30248 $as_echo_n "checking for qfpclass declaration... " >&6; }
30249 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30250 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30251 $as_echo_n "(cached) " >&6
30252 else
30255 ac_ext=cpp
30256 ac_cpp='$CXXCPP $CPPFLAGS'
30257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30262 /* end confdefs.h. */
30263 #include <math.h>
30264 #ifdef HAVE_IEEEFP_H
30265 #include <ieeefp.h>
30266 #endif
30269 main ()
30271 qfpclass(0);
30273 return 0;
30275 _ACEOF
30276 if ac_fn_cxx_try_compile "$LINENO"; then :
30277 glibcxx_cv_func_qfpclass_use=yes
30278 else
30279 glibcxx_cv_func_qfpclass_use=no
30281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30282 ac_ext=c
30283 ac_cpp='$CPP $CPPFLAGS'
30284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30293 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30295 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30296 for ac_func in qfpclass
30297 do :
30298 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30299 if test "x$ac_cv_func_qfpclass" = xyes; then :
30300 cat >>confdefs.h <<_ACEOF
30301 #define HAVE_QFPCLASS 1
30302 _ACEOF
30305 done
30307 else
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30310 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30311 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30312 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30313 $as_echo_n "(cached) " >&6
30314 else
30317 ac_ext=cpp
30318 ac_cpp='$CXXCPP $CPPFLAGS'
30319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30324 /* end confdefs.h. */
30325 #include <math.h>
30326 #ifdef HAVE_IEEEFP_H
30327 #include <ieeefp.h>
30328 #endif
30331 main ()
30333 _qfpclass(0);
30335 return 0;
30337 _ACEOF
30338 if ac_fn_cxx_try_compile "$LINENO"; then :
30339 glibcxx_cv_func__qfpclass_use=yes
30340 else
30341 glibcxx_cv_func__qfpclass_use=no
30343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30344 ac_ext=c
30345 ac_cpp='$CPP $CPPFLAGS'
30346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30355 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30357 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30358 for ac_func in _qfpclass
30359 do :
30360 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30361 if test "x$ac_cv_func__qfpclass" = xyes; then :
30362 cat >>confdefs.h <<_ACEOF
30363 #define HAVE__QFPCLASS 1
30364 _ACEOF
30367 done
30376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30377 $as_echo_n "checking for hypot declaration... " >&6; }
30378 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30379 if ${glibcxx_cv_func_hypot_use+:} false; then :
30380 $as_echo_n "(cached) " >&6
30381 else
30384 ac_ext=cpp
30385 ac_cpp='$CXXCPP $CPPFLAGS'
30386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30391 /* end confdefs.h. */
30392 #include <math.h>
30394 main ()
30396 hypot(0, 0);
30398 return 0;
30400 _ACEOF
30401 if ac_fn_cxx_try_compile "$LINENO"; then :
30402 glibcxx_cv_func_hypot_use=yes
30403 else
30404 glibcxx_cv_func_hypot_use=no
30406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30407 ac_ext=c
30408 ac_cpp='$CPP $CPPFLAGS'
30409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30418 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30420 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30421 for ac_func in hypot
30422 do :
30423 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30424 if test "x$ac_cv_func_hypot" = xyes; then :
30425 cat >>confdefs.h <<_ACEOF
30426 #define HAVE_HYPOT 1
30427 _ACEOF
30430 done
30432 else
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30435 $as_echo_n "checking for _hypot declaration... " >&6; }
30436 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30437 if ${glibcxx_cv_func__hypot_use+:} false; then :
30438 $as_echo_n "(cached) " >&6
30439 else
30442 ac_ext=cpp
30443 ac_cpp='$CXXCPP $CPPFLAGS'
30444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30449 /* end confdefs.h. */
30450 #include <math.h>
30452 main ()
30454 _hypot(0, 0);
30456 return 0;
30458 _ACEOF
30459 if ac_fn_cxx_try_compile "$LINENO"; then :
30460 glibcxx_cv_func__hypot_use=yes
30461 else
30462 glibcxx_cv_func__hypot_use=no
30464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30465 ac_ext=c
30466 ac_cpp='$CPP $CPPFLAGS'
30467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30476 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30478 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30479 for ac_func in _hypot
30480 do :
30481 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30482 if test "x$ac_cv_func__hypot" = xyes; then :
30483 cat >>confdefs.h <<_ACEOF
30484 #define HAVE__HYPOT 1
30485 _ACEOF
30488 done
30497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30498 $as_echo_n "checking for float trig functions... " >&6; }
30499 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30500 $as_echo_n "(cached) " >&6
30501 else
30504 ac_ext=cpp
30505 ac_cpp='$CXXCPP $CPPFLAGS'
30506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30511 /* end confdefs.h. */
30512 #include <math.h>
30514 main ()
30516 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30518 return 0;
30520 _ACEOF
30521 if ac_fn_cxx_try_compile "$LINENO"; then :
30522 glibcxx_cv_func_float_trig_use=yes
30523 else
30524 glibcxx_cv_func_float_trig_use=no
30526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30527 ac_ext=c
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30536 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30537 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30538 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30539 do :
30540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30542 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30543 cat >>confdefs.h <<_ACEOF
30544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30545 _ACEOF
30548 done
30550 else
30551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30552 $as_echo_n "checking for _float trig functions... " >&6; }
30553 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30554 $as_echo_n "(cached) " >&6
30555 else
30558 ac_ext=cpp
30559 ac_cpp='$CXXCPP $CPPFLAGS'
30560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30565 /* end confdefs.h. */
30566 #include <math.h>
30568 main ()
30570 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30572 return 0;
30574 _ACEOF
30575 if ac_fn_cxx_try_compile "$LINENO"; then :
30576 glibcxx_cv_func__float_trig_use=yes
30577 else
30578 glibcxx_cv_func__float_trig_use=no
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581 ac_ext=c
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30590 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30591 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30592 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30593 do :
30594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30596 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30597 cat >>confdefs.h <<_ACEOF
30598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30599 _ACEOF
30602 done
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30612 $as_echo_n "checking for float round functions... " >&6; }
30613 if ${glibcxx_cv_func_float_round_use+:} false; then :
30614 $as_echo_n "(cached) " >&6
30615 else
30618 ac_ext=cpp
30619 ac_cpp='$CXXCPP $CPPFLAGS'
30620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30625 /* end confdefs.h. */
30626 #include <math.h>
30628 main ()
30630 ceilf (0); floorf (0);
30632 return 0;
30634 _ACEOF
30635 if ac_fn_cxx_try_compile "$LINENO"; then :
30636 glibcxx_cv_func_float_round_use=yes
30637 else
30638 glibcxx_cv_func_float_round_use=no
30640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30641 ac_ext=c
30642 ac_cpp='$CPP $CPPFLAGS'
30643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30650 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30651 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30652 for ac_func in ceilf floorf
30653 do :
30654 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30655 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30656 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30657 cat >>confdefs.h <<_ACEOF
30658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30659 _ACEOF
30662 done
30664 else
30665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30666 $as_echo_n "checking for _float round functions... " >&6; }
30667 if ${glibcxx_cv_func__float_round_use+:} false; then :
30668 $as_echo_n "(cached) " >&6
30669 else
30672 ac_ext=cpp
30673 ac_cpp='$CXXCPP $CPPFLAGS'
30674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30679 /* end confdefs.h. */
30680 #include <math.h>
30682 main ()
30684 _ceilf (0); _floorf (0);
30686 return 0;
30688 _ACEOF
30689 if ac_fn_cxx_try_compile "$LINENO"; then :
30690 glibcxx_cv_func__float_round_use=yes
30691 else
30692 glibcxx_cv_func__float_round_use=no
30694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30695 ac_ext=c
30696 ac_cpp='$CPP $CPPFLAGS'
30697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30704 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30705 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30706 for ac_func in _ceilf _floorf
30707 do :
30708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30710 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30711 cat >>confdefs.h <<_ACEOF
30712 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30713 _ACEOF
30716 done
30726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30727 $as_echo_n "checking for expf declaration... " >&6; }
30728 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30729 if ${glibcxx_cv_func_expf_use+:} false; then :
30730 $as_echo_n "(cached) " >&6
30731 else
30734 ac_ext=cpp
30735 ac_cpp='$CXXCPP $CPPFLAGS'
30736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30741 /* end confdefs.h. */
30742 #include <math.h>
30743 #ifdef HAVE_IEEEFP_H
30744 #include <ieeefp.h>
30745 #endif
30748 main ()
30750 expf(0);
30752 return 0;
30754 _ACEOF
30755 if ac_fn_cxx_try_compile "$LINENO"; then :
30756 glibcxx_cv_func_expf_use=yes
30757 else
30758 glibcxx_cv_func_expf_use=no
30760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30761 ac_ext=c
30762 ac_cpp='$CPP $CPPFLAGS'
30763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30772 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30774 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30775 for ac_func in expf
30776 do :
30777 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30778 if test "x$ac_cv_func_expf" = xyes; then :
30779 cat >>confdefs.h <<_ACEOF
30780 #define HAVE_EXPF 1
30781 _ACEOF
30784 done
30786 else
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30789 $as_echo_n "checking for _expf declaration... " >&6; }
30790 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30791 if ${glibcxx_cv_func__expf_use+:} false; then :
30792 $as_echo_n "(cached) " >&6
30793 else
30796 ac_ext=cpp
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30803 /* end confdefs.h. */
30804 #include <math.h>
30805 #ifdef HAVE_IEEEFP_H
30806 #include <ieeefp.h>
30807 #endif
30810 main ()
30812 _expf(0);
30814 return 0;
30816 _ACEOF
30817 if ac_fn_cxx_try_compile "$LINENO"; then :
30818 glibcxx_cv_func__expf_use=yes
30819 else
30820 glibcxx_cv_func__expf_use=no
30822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30823 ac_ext=c
30824 ac_cpp='$CPP $CPPFLAGS'
30825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30834 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30836 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30837 for ac_func in _expf
30838 do :
30839 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30840 if test "x$ac_cv_func__expf" = xyes; then :
30841 cat >>confdefs.h <<_ACEOF
30842 #define HAVE__EXPF 1
30843 _ACEOF
30846 done
30855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30856 $as_echo_n "checking for isnanf declaration... " >&6; }
30857 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30858 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30859 $as_echo_n "(cached) " >&6
30860 else
30863 ac_ext=cpp
30864 ac_cpp='$CXXCPP $CPPFLAGS'
30865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30870 /* end confdefs.h. */
30871 #include <math.h>
30872 #ifdef HAVE_IEEEFP_H
30873 #include <ieeefp.h>
30874 #endif
30877 main ()
30879 isnanf(0);
30881 return 0;
30883 _ACEOF
30884 if ac_fn_cxx_try_compile "$LINENO"; then :
30885 glibcxx_cv_func_isnanf_use=yes
30886 else
30887 glibcxx_cv_func_isnanf_use=no
30889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30890 ac_ext=c
30891 ac_cpp='$CPP $CPPFLAGS'
30892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30901 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30903 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30904 for ac_func in isnanf
30905 do :
30906 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30907 if test "x$ac_cv_func_isnanf" = xyes; then :
30908 cat >>confdefs.h <<_ACEOF
30909 #define HAVE_ISNANF 1
30910 _ACEOF
30913 done
30915 else
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30918 $as_echo_n "checking for _isnanf declaration... " >&6; }
30919 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30920 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30925 ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933 #include <math.h>
30934 #ifdef HAVE_IEEEFP_H
30935 #include <ieeefp.h>
30936 #endif
30939 main ()
30941 _isnanf(0);
30943 return 0;
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func__isnanf_use=yes
30948 else
30949 glibcxx_cv_func__isnanf_use=no
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30963 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30965 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30966 for ac_func in _isnanf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30969 if test "x$ac_cv_func__isnanf" = xyes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE__ISNANF 1
30972 _ACEOF
30975 done
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30985 $as_echo_n "checking for isinff declaration... " >&6; }
30986 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30987 if ${glibcxx_cv_func_isinff_use+:} false; then :
30988 $as_echo_n "(cached) " >&6
30989 else
30992 ac_ext=cpp
30993 ac_cpp='$CXXCPP $CPPFLAGS'
30994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30999 /* end confdefs.h. */
31000 #include <math.h>
31001 #ifdef HAVE_IEEEFP_H
31002 #include <ieeefp.h>
31003 #endif
31006 main ()
31008 isinff(0);
31010 return 0;
31012 _ACEOF
31013 if ac_fn_cxx_try_compile "$LINENO"; then :
31014 glibcxx_cv_func_isinff_use=yes
31015 else
31016 glibcxx_cv_func_isinff_use=no
31018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31019 ac_ext=c
31020 ac_cpp='$CPP $CPPFLAGS'
31021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31030 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31032 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31033 for ac_func in isinff
31034 do :
31035 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31036 if test "x$ac_cv_func_isinff" = xyes; then :
31037 cat >>confdefs.h <<_ACEOF
31038 #define HAVE_ISINFF 1
31039 _ACEOF
31042 done
31044 else
31046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31047 $as_echo_n "checking for _isinff declaration... " >&6; }
31048 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31049 if ${glibcxx_cv_func__isinff_use+:} false; then :
31050 $as_echo_n "(cached) " >&6
31051 else
31054 ac_ext=cpp
31055 ac_cpp='$CXXCPP $CPPFLAGS'
31056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31061 /* end confdefs.h. */
31062 #include <math.h>
31063 #ifdef HAVE_IEEEFP_H
31064 #include <ieeefp.h>
31065 #endif
31068 main ()
31070 _isinff(0);
31072 return 0;
31074 _ACEOF
31075 if ac_fn_cxx_try_compile "$LINENO"; then :
31076 glibcxx_cv_func__isinff_use=yes
31077 else
31078 glibcxx_cv_func__isinff_use=no
31080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31081 ac_ext=c
31082 ac_cpp='$CPP $CPPFLAGS'
31083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31092 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31094 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31095 for ac_func in _isinff
31096 do :
31097 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31098 if test "x$ac_cv_func__isinff" = xyes; then :
31099 cat >>confdefs.h <<_ACEOF
31100 #define HAVE__ISINFF 1
31101 _ACEOF
31104 done
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31114 $as_echo_n "checking for atan2f declaration... " >&6; }
31115 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31116 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31117 $as_echo_n "(cached) " >&6
31118 else
31121 ac_ext=cpp
31122 ac_cpp='$CXXCPP $CPPFLAGS'
31123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31128 /* end confdefs.h. */
31129 #include <math.h>
31131 main ()
31133 atan2f(0, 0);
31135 return 0;
31137 _ACEOF
31138 if ac_fn_cxx_try_compile "$LINENO"; then :
31139 glibcxx_cv_func_atan2f_use=yes
31140 else
31141 glibcxx_cv_func_atan2f_use=no
31143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31144 ac_ext=c
31145 ac_cpp='$CPP $CPPFLAGS'
31146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31155 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31157 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31158 for ac_func in atan2f
31159 do :
31160 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31161 if test "x$ac_cv_func_atan2f" = xyes; then :
31162 cat >>confdefs.h <<_ACEOF
31163 #define HAVE_ATAN2F 1
31164 _ACEOF
31167 done
31169 else
31171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31172 $as_echo_n "checking for _atan2f declaration... " >&6; }
31173 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31174 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31175 $as_echo_n "(cached) " >&6
31176 else
31179 ac_ext=cpp
31180 ac_cpp='$CXXCPP $CPPFLAGS'
31181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31186 /* end confdefs.h. */
31187 #include <math.h>
31189 main ()
31191 _atan2f(0, 0);
31193 return 0;
31195 _ACEOF
31196 if ac_fn_cxx_try_compile "$LINENO"; then :
31197 glibcxx_cv_func__atan2f_use=yes
31198 else
31199 glibcxx_cv_func__atan2f_use=no
31201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31202 ac_ext=c
31203 ac_cpp='$CPP $CPPFLAGS'
31204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31213 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31215 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31216 for ac_func in _atan2f
31217 do :
31218 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31219 if test "x$ac_cv_func__atan2f" = xyes; then :
31220 cat >>confdefs.h <<_ACEOF
31221 #define HAVE__ATAN2F 1
31222 _ACEOF
31225 done
31234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31235 $as_echo_n "checking for fabsf declaration... " >&6; }
31236 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31237 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31238 $as_echo_n "(cached) " >&6
31239 else
31242 ac_ext=cpp
31243 ac_cpp='$CXXCPP $CPPFLAGS'
31244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31249 /* end confdefs.h. */
31250 #include <math.h>
31251 #ifdef HAVE_IEEEFP_H
31252 #include <ieeefp.h>
31253 #endif
31256 main ()
31258 fabsf(0);
31260 return 0;
31262 _ACEOF
31263 if ac_fn_cxx_try_compile "$LINENO"; then :
31264 glibcxx_cv_func_fabsf_use=yes
31265 else
31266 glibcxx_cv_func_fabsf_use=no
31268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31269 ac_ext=c
31270 ac_cpp='$CPP $CPPFLAGS'
31271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31280 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31282 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31283 for ac_func in fabsf
31284 do :
31285 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31286 if test "x$ac_cv_func_fabsf" = xyes; then :
31287 cat >>confdefs.h <<_ACEOF
31288 #define HAVE_FABSF 1
31289 _ACEOF
31292 done
31294 else
31296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31297 $as_echo_n "checking for _fabsf declaration... " >&6; }
31298 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31299 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31300 $as_echo_n "(cached) " >&6
31301 else
31304 ac_ext=cpp
31305 ac_cpp='$CXXCPP $CPPFLAGS'
31306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31311 /* end confdefs.h. */
31312 #include <math.h>
31313 #ifdef HAVE_IEEEFP_H
31314 #include <ieeefp.h>
31315 #endif
31318 main ()
31320 _fabsf(0);
31322 return 0;
31324 _ACEOF
31325 if ac_fn_cxx_try_compile "$LINENO"; then :
31326 glibcxx_cv_func__fabsf_use=yes
31327 else
31328 glibcxx_cv_func__fabsf_use=no
31330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31331 ac_ext=c
31332 ac_cpp='$CPP $CPPFLAGS'
31333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31342 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31344 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31345 for ac_func in _fabsf
31346 do :
31347 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31348 if test "x$ac_cv_func__fabsf" = xyes; then :
31349 cat >>confdefs.h <<_ACEOF
31350 #define HAVE__FABSF 1
31351 _ACEOF
31354 done
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31364 $as_echo_n "checking for fmodf declaration... " >&6; }
31365 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31366 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31367 $as_echo_n "(cached) " >&6
31368 else
31371 ac_ext=cpp
31372 ac_cpp='$CXXCPP $CPPFLAGS'
31373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31378 /* end confdefs.h. */
31379 #include <math.h>
31381 main ()
31383 fmodf(0, 0);
31385 return 0;
31387 _ACEOF
31388 if ac_fn_cxx_try_compile "$LINENO"; then :
31389 glibcxx_cv_func_fmodf_use=yes
31390 else
31391 glibcxx_cv_func_fmodf_use=no
31393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31394 ac_ext=c
31395 ac_cpp='$CPP $CPPFLAGS'
31396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31405 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31407 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31408 for ac_func in fmodf
31409 do :
31410 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31411 if test "x$ac_cv_func_fmodf" = xyes; then :
31412 cat >>confdefs.h <<_ACEOF
31413 #define HAVE_FMODF 1
31414 _ACEOF
31417 done
31419 else
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31422 $as_echo_n "checking for _fmodf declaration... " >&6; }
31423 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31424 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31425 $as_echo_n "(cached) " >&6
31426 else
31429 ac_ext=cpp
31430 ac_cpp='$CXXCPP $CPPFLAGS'
31431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31436 /* end confdefs.h. */
31437 #include <math.h>
31439 main ()
31441 _fmodf(0, 0);
31443 return 0;
31445 _ACEOF
31446 if ac_fn_cxx_try_compile "$LINENO"; then :
31447 glibcxx_cv_func__fmodf_use=yes
31448 else
31449 glibcxx_cv_func__fmodf_use=no
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452 ac_ext=c
31453 ac_cpp='$CPP $CPPFLAGS'
31454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31463 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31465 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31466 for ac_func in _fmodf
31467 do :
31468 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31469 if test "x$ac_cv_func__fmodf" = xyes; then :
31470 cat >>confdefs.h <<_ACEOF
31471 #define HAVE__FMODF 1
31472 _ACEOF
31475 done
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31485 $as_echo_n "checking for frexpf declaration... " >&6; }
31486 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31487 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31488 $as_echo_n "(cached) " >&6
31489 else
31492 ac_ext=cpp
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31499 /* end confdefs.h. */
31500 #include <math.h>
31502 main ()
31504 frexpf(0, 0);
31506 return 0;
31508 _ACEOF
31509 if ac_fn_cxx_try_compile "$LINENO"; then :
31510 glibcxx_cv_func_frexpf_use=yes
31511 else
31512 glibcxx_cv_func_frexpf_use=no
31514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31515 ac_ext=c
31516 ac_cpp='$CPP $CPPFLAGS'
31517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31526 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31528 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31529 for ac_func in frexpf
31530 do :
31531 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31532 if test "x$ac_cv_func_frexpf" = xyes; then :
31533 cat >>confdefs.h <<_ACEOF
31534 #define HAVE_FREXPF 1
31535 _ACEOF
31538 done
31540 else
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31543 $as_echo_n "checking for _frexpf declaration... " >&6; }
31544 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31545 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31546 $as_echo_n "(cached) " >&6
31547 else
31550 ac_ext=cpp
31551 ac_cpp='$CXXCPP $CPPFLAGS'
31552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31557 /* end confdefs.h. */
31558 #include <math.h>
31560 main ()
31562 _frexpf(0, 0);
31564 return 0;
31566 _ACEOF
31567 if ac_fn_cxx_try_compile "$LINENO"; then :
31568 glibcxx_cv_func__frexpf_use=yes
31569 else
31570 glibcxx_cv_func__frexpf_use=no
31572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31573 ac_ext=c
31574 ac_cpp='$CPP $CPPFLAGS'
31575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31584 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31586 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31587 for ac_func in _frexpf
31588 do :
31589 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31590 if test "x$ac_cv_func__frexpf" = xyes; then :
31591 cat >>confdefs.h <<_ACEOF
31592 #define HAVE__FREXPF 1
31593 _ACEOF
31596 done
31605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31606 $as_echo_n "checking for hypotf declaration... " >&6; }
31607 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31608 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31609 $as_echo_n "(cached) " >&6
31610 else
31613 ac_ext=cpp
31614 ac_cpp='$CXXCPP $CPPFLAGS'
31615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31620 /* end confdefs.h. */
31621 #include <math.h>
31623 main ()
31625 hypotf(0, 0);
31627 return 0;
31629 _ACEOF
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func_hypotf_use=yes
31632 else
31633 glibcxx_cv_func_hypotf_use=no
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31647 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31649 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31650 for ac_func in hypotf
31651 do :
31652 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31653 if test "x$ac_cv_func_hypotf" = xyes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE_HYPOTF 1
31656 _ACEOF
31659 done
31661 else
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31664 $as_echo_n "checking for _hypotf declaration... " >&6; }
31665 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31666 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31667 $as_echo_n "(cached) " >&6
31668 else
31671 ac_ext=cpp
31672 ac_cpp='$CXXCPP $CPPFLAGS'
31673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31678 /* end confdefs.h. */
31679 #include <math.h>
31681 main ()
31683 _hypotf(0, 0);
31685 return 0;
31687 _ACEOF
31688 if ac_fn_cxx_try_compile "$LINENO"; then :
31689 glibcxx_cv_func__hypotf_use=yes
31690 else
31691 glibcxx_cv_func__hypotf_use=no
31693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31694 ac_ext=c
31695 ac_cpp='$CPP $CPPFLAGS'
31696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31705 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31707 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31708 for ac_func in _hypotf
31709 do :
31710 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31711 if test "x$ac_cv_func__hypotf" = xyes; then :
31712 cat >>confdefs.h <<_ACEOF
31713 #define HAVE__HYPOTF 1
31714 _ACEOF
31717 done
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31727 $as_echo_n "checking for ldexpf declaration... " >&6; }
31728 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31729 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31730 $as_echo_n "(cached) " >&6
31731 else
31734 ac_ext=cpp
31735 ac_cpp='$CXXCPP $CPPFLAGS'
31736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31741 /* end confdefs.h. */
31742 #include <math.h>
31744 main ()
31746 ldexpf(0, 0);
31748 return 0;
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func_ldexpf_use=yes
31753 else
31754 glibcxx_cv_func_ldexpf_use=no
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757 ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31768 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31770 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31771 for ac_func in ldexpf
31772 do :
31773 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31774 if test "x$ac_cv_func_ldexpf" = xyes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE_LDEXPF 1
31777 _ACEOF
31780 done
31782 else
31784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31785 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31786 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31787 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31788 $as_echo_n "(cached) " >&6
31789 else
31792 ac_ext=cpp
31793 ac_cpp='$CXXCPP $CPPFLAGS'
31794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31799 /* end confdefs.h. */
31800 #include <math.h>
31802 main ()
31804 _ldexpf(0, 0);
31806 return 0;
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func__ldexpf_use=yes
31811 else
31812 glibcxx_cv_func__ldexpf_use=no
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31826 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31828 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31829 for ac_func in _ldexpf
31830 do :
31831 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31832 if test "x$ac_cv_func__ldexpf" = xyes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE__LDEXPF 1
31835 _ACEOF
31838 done
31847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31848 $as_echo_n "checking for logf declaration... " >&6; }
31849 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31850 if ${glibcxx_cv_func_logf_use+:} false; then :
31851 $as_echo_n "(cached) " >&6
31852 else
31855 ac_ext=cpp
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31862 /* end confdefs.h. */
31863 #include <math.h>
31864 #ifdef HAVE_IEEEFP_H
31865 #include <ieeefp.h>
31866 #endif
31869 main ()
31871 logf(0);
31873 return 0;
31875 _ACEOF
31876 if ac_fn_cxx_try_compile "$LINENO"; then :
31877 glibcxx_cv_func_logf_use=yes
31878 else
31879 glibcxx_cv_func_logf_use=no
31881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31882 ac_ext=c
31883 ac_cpp='$CPP $CPPFLAGS'
31884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31893 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31895 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31896 for ac_func in logf
31897 do :
31898 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31899 if test "x$ac_cv_func_logf" = xyes; then :
31900 cat >>confdefs.h <<_ACEOF
31901 #define HAVE_LOGF 1
31902 _ACEOF
31905 done
31907 else
31909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31910 $as_echo_n "checking for _logf declaration... " >&6; }
31911 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31912 if ${glibcxx_cv_func__logf_use+:} false; then :
31913 $as_echo_n "(cached) " >&6
31914 else
31917 ac_ext=cpp
31918 ac_cpp='$CXXCPP $CPPFLAGS'
31919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31924 /* end confdefs.h. */
31925 #include <math.h>
31926 #ifdef HAVE_IEEEFP_H
31927 #include <ieeefp.h>
31928 #endif
31931 main ()
31933 _logf(0);
31935 return 0;
31937 _ACEOF
31938 if ac_fn_cxx_try_compile "$LINENO"; then :
31939 glibcxx_cv_func__logf_use=yes
31940 else
31941 glibcxx_cv_func__logf_use=no
31943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31944 ac_ext=c
31945 ac_cpp='$CPP $CPPFLAGS'
31946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31955 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31957 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31958 for ac_func in _logf
31959 do :
31960 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31961 if test "x$ac_cv_func__logf" = xyes; then :
31962 cat >>confdefs.h <<_ACEOF
31963 #define HAVE__LOGF 1
31964 _ACEOF
31967 done
31976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31977 $as_echo_n "checking for log10f declaration... " >&6; }
31978 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31979 if ${glibcxx_cv_func_log10f_use+:} false; then :
31980 $as_echo_n "(cached) " >&6
31981 else
31984 ac_ext=cpp
31985 ac_cpp='$CXXCPP $CPPFLAGS'
31986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31991 /* end confdefs.h. */
31992 #include <math.h>
31993 #ifdef HAVE_IEEEFP_H
31994 #include <ieeefp.h>
31995 #endif
31998 main ()
32000 log10f(0);
32002 return 0;
32004 _ACEOF
32005 if ac_fn_cxx_try_compile "$LINENO"; then :
32006 glibcxx_cv_func_log10f_use=yes
32007 else
32008 glibcxx_cv_func_log10f_use=no
32010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32011 ac_ext=c
32012 ac_cpp='$CPP $CPPFLAGS'
32013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32022 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32024 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32025 for ac_func in log10f
32026 do :
32027 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32028 if test "x$ac_cv_func_log10f" = xyes; then :
32029 cat >>confdefs.h <<_ACEOF
32030 #define HAVE_LOG10F 1
32031 _ACEOF
32034 done
32036 else
32038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32039 $as_echo_n "checking for _log10f declaration... " >&6; }
32040 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32041 if ${glibcxx_cv_func__log10f_use+:} false; then :
32042 $as_echo_n "(cached) " >&6
32043 else
32046 ac_ext=cpp
32047 ac_cpp='$CXXCPP $CPPFLAGS'
32048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32053 /* end confdefs.h. */
32054 #include <math.h>
32055 #ifdef HAVE_IEEEFP_H
32056 #include <ieeefp.h>
32057 #endif
32060 main ()
32062 _log10f(0);
32064 return 0;
32066 _ACEOF
32067 if ac_fn_cxx_try_compile "$LINENO"; then :
32068 glibcxx_cv_func__log10f_use=yes
32069 else
32070 glibcxx_cv_func__log10f_use=no
32072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32073 ac_ext=c
32074 ac_cpp='$CPP $CPPFLAGS'
32075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32084 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32086 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32087 for ac_func in _log10f
32088 do :
32089 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32090 if test "x$ac_cv_func__log10f" = xyes; then :
32091 cat >>confdefs.h <<_ACEOF
32092 #define HAVE__LOG10F 1
32093 _ACEOF
32096 done
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32106 $as_echo_n "checking for modff declaration... " >&6; }
32107 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32108 if ${glibcxx_cv_func_modff_use+:} false; then :
32109 $as_echo_n "(cached) " >&6
32110 else
32113 ac_ext=cpp
32114 ac_cpp='$CXXCPP $CPPFLAGS'
32115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h. */
32121 #include <math.h>
32123 main ()
32125 modff(0, 0);
32127 return 0;
32129 _ACEOF
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func_modff_use=yes
32132 else
32133 glibcxx_cv_func_modff_use=no
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32136 ac_ext=c
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32147 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32149 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32150 for ac_func in modff
32151 do :
32152 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32153 if test "x$ac_cv_func_modff" = xyes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE_MODFF 1
32156 _ACEOF
32159 done
32161 else
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32164 $as_echo_n "checking for _modff declaration... " >&6; }
32165 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32166 if ${glibcxx_cv_func__modff_use+:} false; then :
32167 $as_echo_n "(cached) " >&6
32168 else
32171 ac_ext=cpp
32172 ac_cpp='$CXXCPP $CPPFLAGS'
32173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32178 /* end confdefs.h. */
32179 #include <math.h>
32181 main ()
32183 _modff(0, 0);
32185 return 0;
32187 _ACEOF
32188 if ac_fn_cxx_try_compile "$LINENO"; then :
32189 glibcxx_cv_func__modff_use=yes
32190 else
32191 glibcxx_cv_func__modff_use=no
32193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32194 ac_ext=c
32195 ac_cpp='$CPP $CPPFLAGS'
32196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32205 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32207 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32208 for ac_func in _modff
32209 do :
32210 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32211 if test "x$ac_cv_func__modff" = xyes; then :
32212 cat >>confdefs.h <<_ACEOF
32213 #define HAVE__MODFF 1
32214 _ACEOF
32217 done
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32227 $as_echo_n "checking for modf declaration... " >&6; }
32228 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32229 if ${glibcxx_cv_func_modf_use+:} false; then :
32230 $as_echo_n "(cached) " >&6
32231 else
32234 ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h. */
32242 #include <math.h>
32244 main ()
32246 modf(0, 0);
32248 return 0;
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252 glibcxx_cv_func_modf_use=yes
32253 else
32254 glibcxx_cv_func_modf_use=no
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32268 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32270 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32271 for ac_func in modf
32272 do :
32273 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32274 if test "x$ac_cv_func_modf" = xyes; then :
32275 cat >>confdefs.h <<_ACEOF
32276 #define HAVE_MODF 1
32277 _ACEOF
32280 done
32282 else
32284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32285 $as_echo_n "checking for _modf declaration... " >&6; }
32286 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32287 if ${glibcxx_cv_func__modf_use+:} false; then :
32288 $as_echo_n "(cached) " >&6
32289 else
32292 ac_ext=cpp
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 #include <math.h>
32302 main ()
32304 _modf(0, 0);
32306 return 0;
32308 _ACEOF
32309 if ac_fn_cxx_try_compile "$LINENO"; then :
32310 glibcxx_cv_func__modf_use=yes
32311 else
32312 glibcxx_cv_func__modf_use=no
32314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 ac_ext=c
32316 ac_cpp='$CPP $CPPFLAGS'
32317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32326 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32328 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32329 for ac_func in _modf
32330 do :
32331 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32332 if test "x$ac_cv_func__modf" = xyes; then :
32333 cat >>confdefs.h <<_ACEOF
32334 #define HAVE__MODF 1
32335 _ACEOF
32338 done
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32348 $as_echo_n "checking for powf declaration... " >&6; }
32349 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32350 if ${glibcxx_cv_func_powf_use+:} false; then :
32351 $as_echo_n "(cached) " >&6
32352 else
32355 ac_ext=cpp
32356 ac_cpp='$CXXCPP $CPPFLAGS'
32357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <math.h>
32365 main ()
32367 powf(0, 0);
32369 return 0;
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func_powf_use=yes
32374 else
32375 glibcxx_cv_func_powf_use=no
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32389 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32391 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32392 for ac_func in powf
32393 do :
32394 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32395 if test "x$ac_cv_func_powf" = xyes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE_POWF 1
32398 _ACEOF
32401 done
32403 else
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32406 $as_echo_n "checking for _powf declaration... " >&6; }
32407 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32408 if ${glibcxx_cv_func__powf_use+:} false; then :
32409 $as_echo_n "(cached) " >&6
32410 else
32413 ac_ext=cpp
32414 ac_cpp='$CXXCPP $CPPFLAGS'
32415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32420 /* end confdefs.h. */
32421 #include <math.h>
32423 main ()
32425 _powf(0, 0);
32427 return 0;
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func__powf_use=yes
32432 else
32433 glibcxx_cv_func__powf_use=no
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32447 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32449 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32450 for ac_func in _powf
32451 do :
32452 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32453 if test "x$ac_cv_func__powf" = xyes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE__POWF 1
32456 _ACEOF
32459 done
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32469 $as_echo_n "checking for sqrtf declaration... " >&6; }
32470 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32471 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32472 $as_echo_n "(cached) " >&6
32473 else
32476 ac_ext=cpp
32477 ac_cpp='$CXXCPP $CPPFLAGS'
32478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483 /* end confdefs.h. */
32484 #include <math.h>
32485 #ifdef HAVE_IEEEFP_H
32486 #include <ieeefp.h>
32487 #endif
32490 main ()
32492 sqrtf(0);
32494 return 0;
32496 _ACEOF
32497 if ac_fn_cxx_try_compile "$LINENO"; then :
32498 glibcxx_cv_func_sqrtf_use=yes
32499 else
32500 glibcxx_cv_func_sqrtf_use=no
32502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32503 ac_ext=c
32504 ac_cpp='$CPP $CPPFLAGS'
32505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32514 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32516 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32517 for ac_func in sqrtf
32518 do :
32519 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32520 if test "x$ac_cv_func_sqrtf" = xyes; then :
32521 cat >>confdefs.h <<_ACEOF
32522 #define HAVE_SQRTF 1
32523 _ACEOF
32526 done
32528 else
32530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32531 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32532 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32533 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32534 $as_echo_n "(cached) " >&6
32535 else
32538 ac_ext=cpp
32539 ac_cpp='$CXXCPP $CPPFLAGS'
32540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32545 /* end confdefs.h. */
32546 #include <math.h>
32547 #ifdef HAVE_IEEEFP_H
32548 #include <ieeefp.h>
32549 #endif
32552 main ()
32554 _sqrtf(0);
32556 return 0;
32558 _ACEOF
32559 if ac_fn_cxx_try_compile "$LINENO"; then :
32560 glibcxx_cv_func__sqrtf_use=yes
32561 else
32562 glibcxx_cv_func__sqrtf_use=no
32564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32565 ac_ext=c
32566 ac_cpp='$CPP $CPPFLAGS'
32567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32576 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32578 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32579 for ac_func in _sqrtf
32580 do :
32581 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32582 if test "x$ac_cv_func__sqrtf" = xyes; then :
32583 cat >>confdefs.h <<_ACEOF
32584 #define HAVE__SQRTF 1
32585 _ACEOF
32588 done
32597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32598 $as_echo_n "checking for sincosf declaration... " >&6; }
32599 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32600 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32601 $as_echo_n "(cached) " >&6
32602 else
32605 ac_ext=cpp
32606 ac_cpp='$CXXCPP $CPPFLAGS'
32607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32612 /* end confdefs.h. */
32613 #include <math.h>
32615 main ()
32617 sincosf(0, 0, 0);
32619 return 0;
32621 _ACEOF
32622 if ac_fn_cxx_try_compile "$LINENO"; then :
32623 glibcxx_cv_func_sincosf_use=yes
32624 else
32625 glibcxx_cv_func_sincosf_use=no
32627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628 ac_ext=c
32629 ac_cpp='$CPP $CPPFLAGS'
32630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32639 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32641 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32642 for ac_func in sincosf
32643 do :
32644 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32645 if test "x$ac_cv_func_sincosf" = xyes; then :
32646 cat >>confdefs.h <<_ACEOF
32647 #define HAVE_SINCOSF 1
32648 _ACEOF
32651 done
32653 else
32655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32656 $as_echo_n "checking for _sincosf declaration... " >&6; }
32657 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32658 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32659 $as_echo_n "(cached) " >&6
32660 else
32663 ac_ext=cpp
32664 ac_cpp='$CXXCPP $CPPFLAGS'
32665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32670 /* end confdefs.h. */
32671 #include <math.h>
32673 main ()
32675 _sincosf(0, 0, 0);
32677 return 0;
32679 _ACEOF
32680 if ac_fn_cxx_try_compile "$LINENO"; then :
32681 glibcxx_cv_func__sincosf_use=yes
32682 else
32683 glibcxx_cv_func__sincosf_use=no
32685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32686 ac_ext=c
32687 ac_cpp='$CPP $CPPFLAGS'
32688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32697 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32699 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32700 for ac_func in _sincosf
32701 do :
32702 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32703 if test "x$ac_cv_func__sincosf" = xyes; then :
32704 cat >>confdefs.h <<_ACEOF
32705 #define HAVE__SINCOSF 1
32706 _ACEOF
32709 done
32718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32719 $as_echo_n "checking for finitef declaration... " >&6; }
32720 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32721 if ${glibcxx_cv_func_finitef_use+:} false; then :
32722 $as_echo_n "(cached) " >&6
32723 else
32726 ac_ext=cpp
32727 ac_cpp='$CXXCPP $CPPFLAGS'
32728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32733 /* end confdefs.h. */
32734 #include <math.h>
32735 #ifdef HAVE_IEEEFP_H
32736 #include <ieeefp.h>
32737 #endif
32740 main ()
32742 finitef(0);
32744 return 0;
32746 _ACEOF
32747 if ac_fn_cxx_try_compile "$LINENO"; then :
32748 glibcxx_cv_func_finitef_use=yes
32749 else
32750 glibcxx_cv_func_finitef_use=no
32752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32753 ac_ext=c
32754 ac_cpp='$CPP $CPPFLAGS'
32755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32764 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32766 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32767 for ac_func in finitef
32768 do :
32769 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32770 if test "x$ac_cv_func_finitef" = xyes; then :
32771 cat >>confdefs.h <<_ACEOF
32772 #define HAVE_FINITEF 1
32773 _ACEOF
32776 done
32778 else
32780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32781 $as_echo_n "checking for _finitef declaration... " >&6; }
32782 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32783 if ${glibcxx_cv_func__finitef_use+:} false; then :
32784 $as_echo_n "(cached) " >&6
32785 else
32788 ac_ext=cpp
32789 ac_cpp='$CXXCPP $CPPFLAGS'
32790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32795 /* end confdefs.h. */
32796 #include <math.h>
32797 #ifdef HAVE_IEEEFP_H
32798 #include <ieeefp.h>
32799 #endif
32802 main ()
32804 _finitef(0);
32806 return 0;
32808 _ACEOF
32809 if ac_fn_cxx_try_compile "$LINENO"; then :
32810 glibcxx_cv_func__finitef_use=yes
32811 else
32812 glibcxx_cv_func__finitef_use=no
32814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32815 ac_ext=c
32816 ac_cpp='$CPP $CPPFLAGS'
32817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32826 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32828 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32829 for ac_func in _finitef
32830 do :
32831 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32832 if test "x$ac_cv_func__finitef" = xyes; then :
32833 cat >>confdefs.h <<_ACEOF
32834 #define HAVE__FINITEF 1
32835 _ACEOF
32838 done
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32848 $as_echo_n "checking for long double trig functions... " >&6; }
32849 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32850 $as_echo_n "(cached) " >&6
32851 else
32854 ac_ext=cpp
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32862 #include <math.h>
32864 main ()
32866 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32868 return 0;
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_long_double_trig_use=yes
32873 else
32874 glibcxx_cv_func_long_double_trig_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32886 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32887 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32888 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32889 do :
32890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32892 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32893 cat >>confdefs.h <<_ACEOF
32894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32895 _ACEOF
32898 done
32900 else
32901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32902 $as_echo_n "checking for _long double trig functions... " >&6; }
32903 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32904 $as_echo_n "(cached) " >&6
32905 else
32908 ac_ext=cpp
32909 ac_cpp='$CXXCPP $CPPFLAGS'
32910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32915 /* end confdefs.h. */
32916 #include <math.h>
32918 main ()
32920 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32922 return 0;
32924 _ACEOF
32925 if ac_fn_cxx_try_compile "$LINENO"; then :
32926 glibcxx_cv_func__long_double_trig_use=yes
32927 else
32928 glibcxx_cv_func__long_double_trig_use=no
32930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931 ac_ext=c
32932 ac_cpp='$CPP $CPPFLAGS'
32933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32940 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32941 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32942 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32943 do :
32944 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32945 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32946 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32947 cat >>confdefs.h <<_ACEOF
32948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32949 _ACEOF
32952 done
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32962 $as_echo_n "checking for long double round functions... " >&6; }
32963 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32964 $as_echo_n "(cached) " >&6
32965 else
32968 ac_ext=cpp
32969 ac_cpp='$CXXCPP $CPPFLAGS'
32970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32975 /* end confdefs.h. */
32976 #include <math.h>
32978 main ()
32980 ceill (0); floorl (0);
32982 return 0;
32984 _ACEOF
32985 if ac_fn_cxx_try_compile "$LINENO"; then :
32986 glibcxx_cv_func_long_double_round_use=yes
32987 else
32988 glibcxx_cv_func_long_double_round_use=no
32990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32991 ac_ext=c
32992 ac_cpp='$CPP $CPPFLAGS'
32993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33000 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33001 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33002 for ac_func in ceill floorl
33003 do :
33004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33006 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33009 _ACEOF
33012 done
33014 else
33015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33016 $as_echo_n "checking for _long double round functions... " >&6; }
33017 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33018 $as_echo_n "(cached) " >&6
33019 else
33022 ac_ext=cpp
33023 ac_cpp='$CXXCPP $CPPFLAGS'
33024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33029 /* end confdefs.h. */
33030 #include <math.h>
33032 main ()
33034 _ceill (0); _floorl (0);
33036 return 0;
33038 _ACEOF
33039 if ac_fn_cxx_try_compile "$LINENO"; then :
33040 glibcxx_cv_func__long_double_round_use=yes
33041 else
33042 glibcxx_cv_func__long_double_round_use=no
33044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33045 ac_ext=c
33046 ac_cpp='$CPP $CPPFLAGS'
33047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33054 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33055 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33056 for ac_func in _ceill _floorl
33057 do :
33058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33061 cat >>confdefs.h <<_ACEOF
33062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33063 _ACEOF
33066 done
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33077 $as_echo_n "checking for isnanl declaration... " >&6; }
33078 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33079 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33080 $as_echo_n "(cached) " >&6
33081 else
33084 ac_ext=cpp
33085 ac_cpp='$CXXCPP $CPPFLAGS'
33086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33091 /* end confdefs.h. */
33092 #include <math.h>
33093 #ifdef HAVE_IEEEFP_H
33094 #include <ieeefp.h>
33095 #endif
33098 main ()
33100 isnanl(0);
33102 return 0;
33104 _ACEOF
33105 if ac_fn_cxx_try_compile "$LINENO"; then :
33106 glibcxx_cv_func_isnanl_use=yes
33107 else
33108 glibcxx_cv_func_isnanl_use=no
33110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33111 ac_ext=c
33112 ac_cpp='$CPP $CPPFLAGS'
33113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33122 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33124 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33125 for ac_func in isnanl
33126 do :
33127 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33128 if test "x$ac_cv_func_isnanl" = xyes; then :
33129 cat >>confdefs.h <<_ACEOF
33130 #define HAVE_ISNANL 1
33131 _ACEOF
33134 done
33136 else
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33139 $as_echo_n "checking for _isnanl declaration... " >&6; }
33140 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33141 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33142 $as_echo_n "(cached) " >&6
33143 else
33146 ac_ext=cpp
33147 ac_cpp='$CXXCPP $CPPFLAGS'
33148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33153 /* end confdefs.h. */
33154 #include <math.h>
33155 #ifdef HAVE_IEEEFP_H
33156 #include <ieeefp.h>
33157 #endif
33160 main ()
33162 _isnanl(0);
33164 return 0;
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168 glibcxx_cv_func__isnanl_use=yes
33169 else
33170 glibcxx_cv_func__isnanl_use=no
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173 ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33184 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33186 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33187 for ac_func in _isnanl
33188 do :
33189 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33190 if test "x$ac_cv_func__isnanl" = xyes; then :
33191 cat >>confdefs.h <<_ACEOF
33192 #define HAVE__ISNANL 1
33193 _ACEOF
33196 done
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33206 $as_echo_n "checking for isinfl declaration... " >&6; }
33207 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33208 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33209 $as_echo_n "(cached) " >&6
33210 else
33213 ac_ext=cpp
33214 ac_cpp='$CXXCPP $CPPFLAGS'
33215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33220 /* end confdefs.h. */
33221 #include <math.h>
33222 #ifdef HAVE_IEEEFP_H
33223 #include <ieeefp.h>
33224 #endif
33227 main ()
33229 isinfl(0);
33231 return 0;
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func_isinfl_use=yes
33236 else
33237 glibcxx_cv_func_isinfl_use=no
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33251 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33253 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33254 for ac_func in isinfl
33255 do :
33256 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33257 if test "x$ac_cv_func_isinfl" = xyes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE_ISINFL 1
33260 _ACEOF
33263 done
33265 else
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33268 $as_echo_n "checking for _isinfl declaration... " >&6; }
33269 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33270 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33289 main ()
33291 _isinfl(0);
33293 return 0;
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func__isinfl_use=yes
33298 else
33299 glibcxx_cv_func__isinfl_use=no
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33313 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33315 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33316 for ac_func in _isinfl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33319 if test "x$ac_cv_func__isinfl" = xyes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE__ISINFL 1
33322 _ACEOF
33325 done
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33335 $as_echo_n "checking for atan2l declaration... " >&6; }
33336 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33337 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33338 $as_echo_n "(cached) " >&6
33339 else
33342 ac_ext=cpp
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33349 /* end confdefs.h. */
33350 #include <math.h>
33352 main ()
33354 atan2l(0, 0);
33356 return 0;
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_atan2l_use=yes
33361 else
33362 glibcxx_cv_func_atan2l_use=no
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33376 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33378 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33379 for ac_func in atan2l
33380 do :
33381 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33382 if test "x$ac_cv_func_atan2l" = xyes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_ATAN2L 1
33385 _ACEOF
33388 done
33390 else
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33393 $as_echo_n "checking for _atan2l declaration... " >&6; }
33394 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33395 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33410 main ()
33412 _atan2l(0, 0);
33414 return 0;
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418 glibcxx_cv_func__atan2l_use=yes
33419 else
33420 glibcxx_cv_func__atan2l_use=no
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423 ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33434 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33436 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33437 for ac_func in _atan2l
33438 do :
33439 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33440 if test "x$ac_cv_func__atan2l" = xyes; then :
33441 cat >>confdefs.h <<_ACEOF
33442 #define HAVE__ATAN2L 1
33443 _ACEOF
33446 done
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33456 $as_echo_n "checking for expl declaration... " >&6; }
33457 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33458 if ${glibcxx_cv_func_expl_use+:} false; then :
33459 $as_echo_n "(cached) " >&6
33460 else
33463 ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33471 #include <math.h>
33472 #ifdef HAVE_IEEEFP_H
33473 #include <ieeefp.h>
33474 #endif
33477 main ()
33479 expl(0);
33481 return 0;
33483 _ACEOF
33484 if ac_fn_cxx_try_compile "$LINENO"; then :
33485 glibcxx_cv_func_expl_use=yes
33486 else
33487 glibcxx_cv_func_expl_use=no
33489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33490 ac_ext=c
33491 ac_cpp='$CPP $CPPFLAGS'
33492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33501 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33503 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33504 for ac_func in expl
33505 do :
33506 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33507 if test "x$ac_cv_func_expl" = xyes; then :
33508 cat >>confdefs.h <<_ACEOF
33509 #define HAVE_EXPL 1
33510 _ACEOF
33513 done
33515 else
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33518 $as_echo_n "checking for _expl declaration... " >&6; }
33519 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33520 if ${glibcxx_cv_func__expl_use+:} false; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33534 #ifdef HAVE_IEEEFP_H
33535 #include <ieeefp.h>
33536 #endif
33539 main ()
33541 _expl(0);
33543 return 0;
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func__expl_use=yes
33548 else
33549 glibcxx_cv_func__expl_use=no
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33563 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33565 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33566 for ac_func in _expl
33567 do :
33568 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33569 if test "x$ac_cv_func__expl" = xyes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE__EXPL 1
33572 _ACEOF
33575 done
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33585 $as_echo_n "checking for fabsl declaration... " >&6; }
33586 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33587 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33588 $as_echo_n "(cached) " >&6
33589 else
33592 ac_ext=cpp
33593 ac_cpp='$CXXCPP $CPPFLAGS'
33594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33599 /* end confdefs.h. */
33600 #include <math.h>
33601 #ifdef HAVE_IEEEFP_H
33602 #include <ieeefp.h>
33603 #endif
33606 main ()
33608 fabsl(0);
33610 return 0;
33612 _ACEOF
33613 if ac_fn_cxx_try_compile "$LINENO"; then :
33614 glibcxx_cv_func_fabsl_use=yes
33615 else
33616 glibcxx_cv_func_fabsl_use=no
33618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33619 ac_ext=c
33620 ac_cpp='$CPP $CPPFLAGS'
33621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33630 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33632 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33633 for ac_func in fabsl
33634 do :
33635 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33636 if test "x$ac_cv_func_fabsl" = xyes; then :
33637 cat >>confdefs.h <<_ACEOF
33638 #define HAVE_FABSL 1
33639 _ACEOF
33642 done
33644 else
33646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33647 $as_echo_n "checking for _fabsl declaration... " >&6; }
33648 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33649 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33650 $as_echo_n "(cached) " >&6
33651 else
33654 ac_ext=cpp
33655 ac_cpp='$CXXCPP $CPPFLAGS'
33656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33661 /* end confdefs.h. */
33662 #include <math.h>
33663 #ifdef HAVE_IEEEFP_H
33664 #include <ieeefp.h>
33665 #endif
33668 main ()
33670 _fabsl(0);
33672 return 0;
33674 _ACEOF
33675 if ac_fn_cxx_try_compile "$LINENO"; then :
33676 glibcxx_cv_func__fabsl_use=yes
33677 else
33678 glibcxx_cv_func__fabsl_use=no
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33681 ac_ext=c
33682 ac_cpp='$CPP $CPPFLAGS'
33683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33692 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33694 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33695 for ac_func in _fabsl
33696 do :
33697 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33698 if test "x$ac_cv_func__fabsl" = xyes; then :
33699 cat >>confdefs.h <<_ACEOF
33700 #define HAVE__FABSL 1
33701 _ACEOF
33704 done
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33714 $as_echo_n "checking for fmodl declaration... " >&6; }
33715 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33716 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33721 ac_ext=cpp
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33728 /* end confdefs.h. */
33729 #include <math.h>
33731 main ()
33733 fmodl(0, 0);
33735 return 0;
33737 _ACEOF
33738 if ac_fn_cxx_try_compile "$LINENO"; then :
33739 glibcxx_cv_func_fmodl_use=yes
33740 else
33741 glibcxx_cv_func_fmodl_use=no
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_ext=c
33745 ac_cpp='$CPP $CPPFLAGS'
33746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33755 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33757 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33758 for ac_func in fmodl
33759 do :
33760 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33761 if test "x$ac_cv_func_fmodl" = xyes; then :
33762 cat >>confdefs.h <<_ACEOF
33763 #define HAVE_FMODL 1
33764 _ACEOF
33767 done
33769 else
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33772 $as_echo_n "checking for _fmodl declaration... " >&6; }
33773 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33774 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33775 $as_echo_n "(cached) " >&6
33776 else
33779 ac_ext=cpp
33780 ac_cpp='$CXXCPP $CPPFLAGS'
33781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33786 /* end confdefs.h. */
33787 #include <math.h>
33789 main ()
33791 _fmodl(0, 0);
33793 return 0;
33795 _ACEOF
33796 if ac_fn_cxx_try_compile "$LINENO"; then :
33797 glibcxx_cv_func__fmodl_use=yes
33798 else
33799 glibcxx_cv_func__fmodl_use=no
33801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33802 ac_ext=c
33803 ac_cpp='$CPP $CPPFLAGS'
33804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33813 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33815 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33816 for ac_func in _fmodl
33817 do :
33818 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33819 if test "x$ac_cv_func__fmodl" = xyes; then :
33820 cat >>confdefs.h <<_ACEOF
33821 #define HAVE__FMODL 1
33822 _ACEOF
33825 done
33834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33835 $as_echo_n "checking for frexpl declaration... " >&6; }
33836 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33837 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33838 $as_echo_n "(cached) " >&6
33839 else
33842 ac_ext=cpp
33843 ac_cpp='$CXXCPP $CPPFLAGS'
33844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33849 /* end confdefs.h. */
33850 #include <math.h>
33852 main ()
33854 frexpl(0, 0);
33856 return 0;
33858 _ACEOF
33859 if ac_fn_cxx_try_compile "$LINENO"; then :
33860 glibcxx_cv_func_frexpl_use=yes
33861 else
33862 glibcxx_cv_func_frexpl_use=no
33864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33865 ac_ext=c
33866 ac_cpp='$CPP $CPPFLAGS'
33867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33876 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33878 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33879 for ac_func in frexpl
33880 do :
33881 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33882 if test "x$ac_cv_func_frexpl" = xyes; then :
33883 cat >>confdefs.h <<_ACEOF
33884 #define HAVE_FREXPL 1
33885 _ACEOF
33888 done
33890 else
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33893 $as_echo_n "checking for _frexpl declaration... " >&6; }
33894 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33895 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33896 $as_echo_n "(cached) " >&6
33897 else
33900 ac_ext=cpp
33901 ac_cpp='$CXXCPP $CPPFLAGS'
33902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33907 /* end confdefs.h. */
33908 #include <math.h>
33910 main ()
33912 _frexpl(0, 0);
33914 return 0;
33916 _ACEOF
33917 if ac_fn_cxx_try_compile "$LINENO"; then :
33918 glibcxx_cv_func__frexpl_use=yes
33919 else
33920 glibcxx_cv_func__frexpl_use=no
33922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923 ac_ext=c
33924 ac_cpp='$CPP $CPPFLAGS'
33925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33934 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33936 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33937 for ac_func in _frexpl
33938 do :
33939 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33940 if test "x$ac_cv_func__frexpl" = xyes; then :
33941 cat >>confdefs.h <<_ACEOF
33942 #define HAVE__FREXPL 1
33943 _ACEOF
33946 done
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33956 $as_echo_n "checking for hypotl declaration... " >&6; }
33957 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33958 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33959 $as_echo_n "(cached) " >&6
33960 else
33963 ac_ext=cpp
33964 ac_cpp='$CXXCPP $CPPFLAGS'
33965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33970 /* end confdefs.h. */
33971 #include <math.h>
33973 main ()
33975 hypotl(0, 0);
33977 return 0;
33979 _ACEOF
33980 if ac_fn_cxx_try_compile "$LINENO"; then :
33981 glibcxx_cv_func_hypotl_use=yes
33982 else
33983 glibcxx_cv_func_hypotl_use=no
33985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33986 ac_ext=c
33987 ac_cpp='$CPP $CPPFLAGS'
33988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33997 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33999 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34000 for ac_func in hypotl
34001 do :
34002 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34003 if test "x$ac_cv_func_hypotl" = xyes; then :
34004 cat >>confdefs.h <<_ACEOF
34005 #define HAVE_HYPOTL 1
34006 _ACEOF
34009 done
34011 else
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34014 $as_echo_n "checking for _hypotl declaration... " >&6; }
34015 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34016 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34031 main ()
34033 _hypotl(0, 0);
34035 return 0;
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func__hypotl_use=yes
34040 else
34041 glibcxx_cv_func__hypotl_use=no
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34055 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34057 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34058 for ac_func in _hypotl
34059 do :
34060 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34061 if test "x$ac_cv_func__hypotl" = xyes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE__HYPOTL 1
34064 _ACEOF
34067 done
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34077 $as_echo_n "checking for ldexpl declaration... " >&6; }
34078 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34079 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34080 $as_echo_n "(cached) " >&6
34081 else
34084 ac_ext=cpp
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34091 /* end confdefs.h. */
34092 #include <math.h>
34094 main ()
34096 ldexpl(0, 0);
34098 return 0;
34100 _ACEOF
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102 glibcxx_cv_func_ldexpl_use=yes
34103 else
34104 glibcxx_cv_func_ldexpl_use=no
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107 ac_ext=c
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34118 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34120 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34121 for ac_func in ldexpl
34122 do :
34123 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34124 if test "x$ac_cv_func_ldexpl" = xyes; then :
34125 cat >>confdefs.h <<_ACEOF
34126 #define HAVE_LDEXPL 1
34127 _ACEOF
34130 done
34132 else
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34135 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34136 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34137 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34138 $as_echo_n "(cached) " >&6
34139 else
34142 ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h. */
34150 #include <math.h>
34152 main ()
34154 _ldexpl(0, 0);
34156 return 0;
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func__ldexpl_use=yes
34161 else
34162 glibcxx_cv_func__ldexpl_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34176 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34178 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34179 for ac_func in _ldexpl
34180 do :
34181 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34182 if test "x$ac_cv_func__ldexpl" = xyes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE__LDEXPL 1
34185 _ACEOF
34188 done
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34198 $as_echo_n "checking for logl declaration... " >&6; }
34199 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34200 if ${glibcxx_cv_func_logl_use+:} false; then :
34201 $as_echo_n "(cached) " >&6
34202 else
34205 ac_ext=cpp
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34213 #include <math.h>
34214 #ifdef HAVE_IEEEFP_H
34215 #include <ieeefp.h>
34216 #endif
34219 main ()
34221 logl(0);
34223 return 0;
34225 _ACEOF
34226 if ac_fn_cxx_try_compile "$LINENO"; then :
34227 glibcxx_cv_func_logl_use=yes
34228 else
34229 glibcxx_cv_func_logl_use=no
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232 ac_ext=c
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34243 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34245 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34246 for ac_func in logl
34247 do :
34248 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34249 if test "x$ac_cv_func_logl" = xyes; then :
34250 cat >>confdefs.h <<_ACEOF
34251 #define HAVE_LOGL 1
34252 _ACEOF
34255 done
34257 else
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34260 $as_echo_n "checking for _logl declaration... " >&6; }
34261 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34262 if ${glibcxx_cv_func__logl_use+:} false; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34278 #endif
34281 main ()
34283 _logl(0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func__logl_use=yes
34290 else
34291 glibcxx_cv_func__logl_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34305 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34307 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34308 for ac_func in _logl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34311 if test "x$ac_cv_func__logl" = xyes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE__LOGL 1
34314 _ACEOF
34317 done
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34327 $as_echo_n "checking for log10l declaration... " >&6; }
34328 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34329 if ${glibcxx_cv_func_log10l_use+:} false; then :
34330 $as_echo_n "(cached) " >&6
34331 else
34334 ac_ext=cpp
34335 ac_cpp='$CXXCPP $CPPFLAGS'
34336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34341 /* end confdefs.h. */
34342 #include <math.h>
34343 #ifdef HAVE_IEEEFP_H
34344 #include <ieeefp.h>
34345 #endif
34348 main ()
34350 log10l(0);
34352 return 0;
34354 _ACEOF
34355 if ac_fn_cxx_try_compile "$LINENO"; then :
34356 glibcxx_cv_func_log10l_use=yes
34357 else
34358 glibcxx_cv_func_log10l_use=no
34360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34361 ac_ext=c
34362 ac_cpp='$CPP $CPPFLAGS'
34363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34372 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34374 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34375 for ac_func in log10l
34376 do :
34377 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34378 if test "x$ac_cv_func_log10l" = xyes; then :
34379 cat >>confdefs.h <<_ACEOF
34380 #define HAVE_LOG10L 1
34381 _ACEOF
34384 done
34386 else
34388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34389 $as_echo_n "checking for _log10l declaration... " >&6; }
34390 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34391 if ${glibcxx_cv_func__log10l_use+:} false; then :
34392 $as_echo_n "(cached) " >&6
34393 else
34396 ac_ext=cpp
34397 ac_cpp='$CXXCPP $CPPFLAGS'
34398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34403 /* end confdefs.h. */
34404 #include <math.h>
34405 #ifdef HAVE_IEEEFP_H
34406 #include <ieeefp.h>
34407 #endif
34410 main ()
34412 _log10l(0);
34414 return 0;
34416 _ACEOF
34417 if ac_fn_cxx_try_compile "$LINENO"; then :
34418 glibcxx_cv_func__log10l_use=yes
34419 else
34420 glibcxx_cv_func__log10l_use=no
34422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34423 ac_ext=c
34424 ac_cpp='$CPP $CPPFLAGS'
34425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34434 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34436 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34437 for ac_func in _log10l
34438 do :
34439 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34440 if test "x$ac_cv_func__log10l" = xyes; then :
34441 cat >>confdefs.h <<_ACEOF
34442 #define HAVE__LOG10L 1
34443 _ACEOF
34446 done
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34456 $as_echo_n "checking for modfl declaration... " >&6; }
34457 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34458 if ${glibcxx_cv_func_modfl_use+:} false; then :
34459 $as_echo_n "(cached) " >&6
34460 else
34463 ac_ext=cpp
34464 ac_cpp='$CXXCPP $CPPFLAGS'
34465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34470 /* end confdefs.h. */
34471 #include <math.h>
34473 main ()
34475 modfl(0, 0);
34477 return 0;
34479 _ACEOF
34480 if ac_fn_cxx_try_compile "$LINENO"; then :
34481 glibcxx_cv_func_modfl_use=yes
34482 else
34483 glibcxx_cv_func_modfl_use=no
34485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34486 ac_ext=c
34487 ac_cpp='$CPP $CPPFLAGS'
34488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34497 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34499 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34500 for ac_func in modfl
34501 do :
34502 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34503 if test "x$ac_cv_func_modfl" = xyes; then :
34504 cat >>confdefs.h <<_ACEOF
34505 #define HAVE_MODFL 1
34506 _ACEOF
34509 done
34511 else
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34514 $as_echo_n "checking for _modfl declaration... " >&6; }
34515 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34516 if ${glibcxx_cv_func__modfl_use+:} false; then :
34517 $as_echo_n "(cached) " >&6
34518 else
34521 ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h. */
34529 #include <math.h>
34531 main ()
34533 _modfl(0, 0);
34535 return 0;
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func__modfl_use=yes
34540 else
34541 glibcxx_cv_func__modfl_use=no
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34555 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34557 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34558 for ac_func in _modfl
34559 do :
34560 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34561 if test "x$ac_cv_func__modfl" = xyes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE__MODFL 1
34564 _ACEOF
34567 done
34576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34577 $as_echo_n "checking for powl declaration... " >&6; }
34578 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34579 if ${glibcxx_cv_func_powl_use+:} false; then :
34580 $as_echo_n "(cached) " >&6
34581 else
34584 ac_ext=cpp
34585 ac_cpp='$CXXCPP $CPPFLAGS'
34586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34591 /* end confdefs.h. */
34592 #include <math.h>
34594 main ()
34596 powl(0, 0);
34598 return 0;
34600 _ACEOF
34601 if ac_fn_cxx_try_compile "$LINENO"; then :
34602 glibcxx_cv_func_powl_use=yes
34603 else
34604 glibcxx_cv_func_powl_use=no
34606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34607 ac_ext=c
34608 ac_cpp='$CPP $CPPFLAGS'
34609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34618 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34620 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34621 for ac_func in powl
34622 do :
34623 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34624 if test "x$ac_cv_func_powl" = xyes; then :
34625 cat >>confdefs.h <<_ACEOF
34626 #define HAVE_POWL 1
34627 _ACEOF
34630 done
34632 else
34634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34635 $as_echo_n "checking for _powl declaration... " >&6; }
34636 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34637 if ${glibcxx_cv_func__powl_use+:} false; then :
34638 $as_echo_n "(cached) " >&6
34639 else
34642 ac_ext=cpp
34643 ac_cpp='$CXXCPP $CPPFLAGS'
34644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34649 /* end confdefs.h. */
34650 #include <math.h>
34652 main ()
34654 _powl(0, 0);
34656 return 0;
34658 _ACEOF
34659 if ac_fn_cxx_try_compile "$LINENO"; then :
34660 glibcxx_cv_func__powl_use=yes
34661 else
34662 glibcxx_cv_func__powl_use=no
34664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34665 ac_ext=c
34666 ac_cpp='$CPP $CPPFLAGS'
34667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34676 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34678 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34679 for ac_func in _powl
34680 do :
34681 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34682 if test "x$ac_cv_func__powl" = xyes; then :
34683 cat >>confdefs.h <<_ACEOF
34684 #define HAVE__POWL 1
34685 _ACEOF
34688 done
34697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34698 $as_echo_n "checking for sqrtl declaration... " >&6; }
34699 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34700 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34701 $as_echo_n "(cached) " >&6
34702 else
34705 ac_ext=cpp
34706 ac_cpp='$CXXCPP $CPPFLAGS'
34707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34712 /* end confdefs.h. */
34713 #include <math.h>
34714 #ifdef HAVE_IEEEFP_H
34715 #include <ieeefp.h>
34716 #endif
34719 main ()
34721 sqrtl(0);
34723 return 0;
34725 _ACEOF
34726 if ac_fn_cxx_try_compile "$LINENO"; then :
34727 glibcxx_cv_func_sqrtl_use=yes
34728 else
34729 glibcxx_cv_func_sqrtl_use=no
34731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34732 ac_ext=c
34733 ac_cpp='$CPP $CPPFLAGS'
34734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34743 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34745 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34746 for ac_func in sqrtl
34747 do :
34748 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34749 if test "x$ac_cv_func_sqrtl" = xyes; then :
34750 cat >>confdefs.h <<_ACEOF
34751 #define HAVE_SQRTL 1
34752 _ACEOF
34755 done
34757 else
34759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34760 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34761 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34762 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34763 $as_echo_n "(cached) " >&6
34764 else
34767 ac_ext=cpp
34768 ac_cpp='$CXXCPP $CPPFLAGS'
34769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34774 /* end confdefs.h. */
34775 #include <math.h>
34776 #ifdef HAVE_IEEEFP_H
34777 #include <ieeefp.h>
34778 #endif
34781 main ()
34783 _sqrtl(0);
34785 return 0;
34787 _ACEOF
34788 if ac_fn_cxx_try_compile "$LINENO"; then :
34789 glibcxx_cv_func__sqrtl_use=yes
34790 else
34791 glibcxx_cv_func__sqrtl_use=no
34793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34794 ac_ext=c
34795 ac_cpp='$CPP $CPPFLAGS'
34796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34805 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34807 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34808 for ac_func in _sqrtl
34809 do :
34810 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34811 if test "x$ac_cv_func__sqrtl" = xyes; then :
34812 cat >>confdefs.h <<_ACEOF
34813 #define HAVE__SQRTL 1
34814 _ACEOF
34817 done
34826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34827 $as_echo_n "checking for sincosl declaration... " >&6; }
34828 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34829 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34830 $as_echo_n "(cached) " >&6
34831 else
34834 ac_ext=cpp
34835 ac_cpp='$CXXCPP $CPPFLAGS'
34836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34841 /* end confdefs.h. */
34842 #include <math.h>
34844 main ()
34846 sincosl(0, 0, 0);
34848 return 0;
34850 _ACEOF
34851 if ac_fn_cxx_try_compile "$LINENO"; then :
34852 glibcxx_cv_func_sincosl_use=yes
34853 else
34854 glibcxx_cv_func_sincosl_use=no
34856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34857 ac_ext=c
34858 ac_cpp='$CPP $CPPFLAGS'
34859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34868 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34870 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34871 for ac_func in sincosl
34872 do :
34873 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34874 if test "x$ac_cv_func_sincosl" = xyes; then :
34875 cat >>confdefs.h <<_ACEOF
34876 #define HAVE_SINCOSL 1
34877 _ACEOF
34880 done
34882 else
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34885 $as_echo_n "checking for _sincosl declaration... " >&6; }
34886 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34887 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34902 main ()
34904 _sincosl(0, 0, 0);
34906 return 0;
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910 glibcxx_cv_func__sincosl_use=yes
34911 else
34912 glibcxx_cv_func__sincosl_use=no
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34926 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34928 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34929 for ac_func in _sincosl
34930 do :
34931 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34932 if test "x$ac_cv_func__sincosl" = xyes; then :
34933 cat >>confdefs.h <<_ACEOF
34934 #define HAVE__SINCOSL 1
34935 _ACEOF
34938 done
34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34948 $as_echo_n "checking for finitel declaration... " >&6; }
34949 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34950 if ${glibcxx_cv_func_finitel_use+:} false; then :
34951 $as_echo_n "(cached) " >&6
34952 else
34955 ac_ext=cpp
34956 ac_cpp='$CXXCPP $CPPFLAGS'
34957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34962 /* end confdefs.h. */
34963 #include <math.h>
34964 #ifdef HAVE_IEEEFP_H
34965 #include <ieeefp.h>
34966 #endif
34969 main ()
34971 finitel(0);
34973 return 0;
34975 _ACEOF
34976 if ac_fn_cxx_try_compile "$LINENO"; then :
34977 glibcxx_cv_func_finitel_use=yes
34978 else
34979 glibcxx_cv_func_finitel_use=no
34981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34982 ac_ext=c
34983 ac_cpp='$CPP $CPPFLAGS'
34984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34993 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34995 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34996 for ac_func in finitel
34997 do :
34998 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34999 if test "x$ac_cv_func_finitel" = xyes; then :
35000 cat >>confdefs.h <<_ACEOF
35001 #define HAVE_FINITEL 1
35002 _ACEOF
35005 done
35007 else
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35010 $as_echo_n "checking for _finitel declaration... " >&6; }
35011 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35012 if ${glibcxx_cv_func__finitel_use+:} false; then :
35013 $as_echo_n "(cached) " >&6
35014 else
35017 ac_ext=cpp
35018 ac_cpp='$CXXCPP $CPPFLAGS'
35019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35024 /* end confdefs.h. */
35025 #include <math.h>
35026 #ifdef HAVE_IEEEFP_H
35027 #include <ieeefp.h>
35028 #endif
35031 main ()
35033 _finitel(0);
35035 return 0;
35037 _ACEOF
35038 if ac_fn_cxx_try_compile "$LINENO"; then :
35039 glibcxx_cv_func__finitel_use=yes
35040 else
35041 glibcxx_cv_func__finitel_use=no
35043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35044 ac_ext=c
35045 ac_cpp='$CPP $CPPFLAGS'
35046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35055 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35057 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35058 for ac_func in _finitel
35059 do :
35060 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35061 if test "x$ac_cv_func__finitel" = xyes; then :
35062 cat >>confdefs.h <<_ACEOF
35063 #define HAVE__FINITEL 1
35064 _ACEOF
35067 done
35075 LIBS="$ac_save_LIBS"
35076 CXXFLAGS="$ac_save_CXXFLAGS"
35079 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35080 ac_save_CXXFLAGS="$CXXFLAGS"
35081 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35085 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35086 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35087 if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
35102 main ()
35104 at_quick_exit(0);
35106 return 0;
35108 _ACEOF
35109 if ac_fn_cxx_try_compile "$LINENO"; then :
35110 glibcxx_cv_func_at_quick_exit_use=yes
35111 else
35112 glibcxx_cv_func_at_quick_exit_use=no
35114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35115 ac_ext=c
35116 ac_cpp='$CPP $CPPFLAGS'
35117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35126 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35127 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35128 for ac_func in at_quick_exit
35129 do :
35130 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35131 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35132 cat >>confdefs.h <<_ACEOF
35133 #define HAVE_AT_QUICK_EXIT 1
35134 _ACEOF
35137 done
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35143 $as_echo_n "checking for quick_exit declaration... " >&6; }
35144 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35145 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35146 $as_echo_n "(cached) " >&6
35147 else
35150 ac_ext=cpp
35151 ac_cpp='$CXXCPP $CPPFLAGS'
35152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35157 /* end confdefs.h. */
35158 #include <stdlib.h>
35160 main ()
35162 quick_exit(0);
35164 return 0;
35166 _ACEOF
35167 if ac_fn_cxx_try_compile "$LINENO"; then :
35168 glibcxx_cv_func_quick_exit_use=yes
35169 else
35170 glibcxx_cv_func_quick_exit_use=no
35172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35173 ac_ext=c
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35184 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35185 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35186 for ac_func in quick_exit
35187 do :
35188 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35189 if test "x$ac_cv_func_quick_exit" = xyes; then :
35190 cat >>confdefs.h <<_ACEOF
35191 #define HAVE_QUICK_EXIT 1
35192 _ACEOF
35195 done
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35201 $as_echo_n "checking for strtold declaration... " >&6; }
35202 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35203 if ${glibcxx_cv_func_strtold_use+:} false; then :
35204 $as_echo_n "(cached) " >&6
35205 else
35208 ac_ext=cpp
35209 ac_cpp='$CXXCPP $CPPFLAGS'
35210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35215 /* end confdefs.h. */
35216 #include <stdlib.h>
35218 main ()
35220 strtold(0, 0);
35222 return 0;
35224 _ACEOF
35225 if ac_fn_cxx_try_compile "$LINENO"; then :
35226 glibcxx_cv_func_strtold_use=yes
35227 else
35228 glibcxx_cv_func_strtold_use=no
35230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35231 ac_ext=c
35232 ac_cpp='$CPP $CPPFLAGS'
35233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35242 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35243 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35244 for ac_func in strtold
35245 do :
35246 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35247 if test "x$ac_cv_func_strtold" = xyes; then :
35248 cat >>confdefs.h <<_ACEOF
35249 #define HAVE_STRTOLD 1
35250 _ACEOF
35253 done
35260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35261 $as_echo_n "checking for strtof declaration... " >&6; }
35262 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35263 if ${glibcxx_cv_func_strtof_use+:} false; then :
35264 $as_echo_n "(cached) " >&6
35265 else
35268 ac_ext=cpp
35269 ac_cpp='$CXXCPP $CPPFLAGS'
35270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35275 /* end confdefs.h. */
35276 #include <stdlib.h>
35278 main ()
35280 strtof(0, 0);
35282 return 0;
35284 _ACEOF
35285 if ac_fn_cxx_try_compile "$LINENO"; then :
35286 glibcxx_cv_func_strtof_use=yes
35287 else
35288 glibcxx_cv_func_strtof_use=no
35290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35291 ac_ext=c
35292 ac_cpp='$CPP $CPPFLAGS'
35293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35302 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35303 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35304 for ac_func in strtof
35305 do :
35306 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35307 if test "x$ac_cv_func_strtof" = xyes; then :
35308 cat >>confdefs.h <<_ACEOF
35309 #define HAVE_STRTOF 1
35310 _ACEOF
35313 done
35320 CXXFLAGS="$ac_save_CXXFLAGS"
35323 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35325 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35327 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35329 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35332 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35334 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35336 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35340 *-aix*)
35342 # If we're not using GNU ld, then there's no point in even trying these
35343 # tests. Check for that first. We should have already tested for gld
35344 # by now (in libtool), but require it now just to be safe...
35345 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35346 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35350 # The name set by libtool depends on the version of libtool. Shame on us
35351 # for depending on an impl detail, but c'est la vie. Older versions used
35352 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35353 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35354 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35355 # set (hence we're using an older libtool), then set it.
35356 if test x${with_gnu_ld+set} != xset; then
35357 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35358 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35359 with_gnu_ld=no
35360 else
35361 with_gnu_ld=$ac_cv_prog_gnu_ld
35365 # Start by getting the version number. I think the libtool test already
35366 # does some of this, but throws away the result.
35367 glibcxx_ld_is_gold=no
35368 glibcxx_ld_is_mold=no
35369 if test x"$with_gnu_ld" = x"yes"; then
35370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35371 $as_echo_n "checking for ld version... " >&6; }
35373 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35374 glibcxx_ld_is_gold=yes
35375 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35376 glibcxx_ld_is_mold=yes
35378 ldver=`$LD --version 2>/dev/null |
35379 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35381 glibcxx_gnu_ld_version=`echo $ldver | \
35382 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35384 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35387 # Set --gc-sections.
35388 glibcxx_have_gc_sections=no
35389 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35390 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35391 glibcxx_have_gc_sections=yes
35393 else
35394 glibcxx_gcsections_min_ld=21602
35395 if test x"$with_gnu_ld" = x"yes" &&
35396 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35397 glibcxx_have_gc_sections=yes
35400 if test "$glibcxx_have_gc_sections" = "yes"; then
35401 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35402 # NB: This flag only works reliably after 2.16.1. Configure tests
35403 # for this are difficult, so hard wire a value that should work.
35405 ac_test_CFLAGS="${CFLAGS+set}"
35406 ac_save_CFLAGS="$CFLAGS"
35407 CFLAGS='-Wl,--gc-sections'
35409 # Check for -Wl,--gc-sections
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35411 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35412 if test x$gcc_no_link = xyes; then
35413 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 int one(void) { return 1; }
35418 int two(void) { return 2; }
35421 main ()
35423 two();
35425 return 0;
35427 _ACEOF
35428 if ac_fn_c_try_link "$LINENO"; then :
35429 ac_gcsections=yes
35430 else
35431 ac_gcsections=no
35433 rm -f core conftest.err conftest.$ac_objext \
35434 conftest$ac_exeext conftest.$ac_ext
35435 if test "$ac_gcsections" = "yes"; then
35436 rm -f conftest.c
35437 touch conftest.c
35438 if $CC -c conftest.c; then
35439 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35440 grep "Warning: gc-sections option ignored" > /dev/null; then
35441 ac_gcsections=no
35444 rm -f conftest.c conftest.o conftest
35446 if test "$ac_gcsections" = "yes"; then
35447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35450 $as_echo "$ac_gcsections" >&6; }
35452 if test "$ac_test_CFLAGS" = set; then
35453 CFLAGS="$ac_save_CFLAGS"
35454 else
35455 # this is the suspicious part
35456 CFLAGS=''
35460 # Set -z,relro.
35461 # Note this is only for shared objects.
35462 ac_ld_relro=no
35463 if test x"$with_gnu_ld" = x"yes"; then
35464 # cygwin and mingw uses PE, which has no ELF relro support,
35465 # multi target ld may confuse configure machinery
35466 case "$host" in
35467 *-*-cygwin*)
35469 *-*-mingw*)
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35473 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35474 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35475 if test -n "$cxx_z_relo"; then
35476 OPT_LDFLAGS="-Wl,-z,relro"
35477 ac_ld_relro=yes
35479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35480 $as_echo "$ac_ld_relro" >&6; }
35481 esac
35484 # Set linker optimization flags.
35485 if test x"$with_gnu_ld" = x"yes"; then
35486 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35493 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35494 ac_save_CXXFLAGS="$CXXFLAGS"
35495 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35498 $as_echo_n "checking for sin in -lm... " >&6; }
35499 if ${ac_cv_lib_m_sin+:} false; then :
35500 $as_echo_n "(cached) " >&6
35501 else
35502 ac_check_lib_save_LIBS=$LIBS
35503 LIBS="-lm $LIBS"
35504 if test x$gcc_no_link = xyes; then
35505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35508 /* end confdefs.h. */
35510 /* Override any GCC internal prototype to avoid an error.
35511 Use char because int might match the return type of a GCC
35512 builtin and then its argument prototype would still apply. */
35513 #ifdef __cplusplus
35514 extern "C"
35515 #endif
35516 char sin ();
35518 main ()
35520 return sin ();
35522 return 0;
35524 _ACEOF
35525 if ac_fn_c_try_link "$LINENO"; then :
35526 ac_cv_lib_m_sin=yes
35527 else
35528 ac_cv_lib_m_sin=no
35530 rm -f core conftest.err conftest.$ac_objext \
35531 conftest$ac_exeext conftest.$ac_ext
35532 LIBS=$ac_check_lib_save_LIBS
35534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35535 $as_echo "$ac_cv_lib_m_sin" >&6; }
35536 if test "x$ac_cv_lib_m_sin" = xyes; then :
35537 libm="-lm"
35540 ac_save_LIBS="$LIBS"
35541 LIBS="$LIBS $libm"
35545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35546 $as_echo_n "checking for isinf declaration... " >&6; }
35547 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35548 if ${glibcxx_cv_func_isinf_use+:} false; then :
35549 $as_echo_n "(cached) " >&6
35550 else
35553 ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 /* end confdefs.h. */
35561 #include <math.h>
35562 #ifdef HAVE_IEEEFP_H
35563 #include <ieeefp.h>
35564 #endif
35567 main ()
35569 isinf(0);
35571 return 0;
35573 _ACEOF
35574 if ac_fn_cxx_try_compile "$LINENO"; then :
35575 glibcxx_cv_func_isinf_use=yes
35576 else
35577 glibcxx_cv_func_isinf_use=no
35579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35580 ac_ext=c
35581 ac_cpp='$CPP $CPPFLAGS'
35582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35591 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35593 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35594 for ac_func in isinf
35595 do :
35596 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35597 if test "x$ac_cv_func_isinf" = xyes; then :
35598 cat >>confdefs.h <<_ACEOF
35599 #define HAVE_ISINF 1
35600 _ACEOF
35603 done
35605 else
35607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35608 $as_echo_n "checking for _isinf declaration... " >&6; }
35609 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35610 if ${glibcxx_cv_func__isinf_use+:} false; then :
35611 $as_echo_n "(cached) " >&6
35612 else
35615 ac_ext=cpp
35616 ac_cpp='$CXXCPP $CPPFLAGS'
35617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35622 /* end confdefs.h. */
35623 #include <math.h>
35624 #ifdef HAVE_IEEEFP_H
35625 #include <ieeefp.h>
35626 #endif
35629 main ()
35631 _isinf(0);
35633 return 0;
35635 _ACEOF
35636 if ac_fn_cxx_try_compile "$LINENO"; then :
35637 glibcxx_cv_func__isinf_use=yes
35638 else
35639 glibcxx_cv_func__isinf_use=no
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35653 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35655 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35656 for ac_func in _isinf
35657 do :
35658 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35659 if test "x$ac_cv_func__isinf" = xyes; then :
35660 cat >>confdefs.h <<_ACEOF
35661 #define HAVE__ISINF 1
35662 _ACEOF
35665 done
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35675 $as_echo_n "checking for isnan declaration... " >&6; }
35676 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35677 if ${glibcxx_cv_func_isnan_use+:} false; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35691 #ifdef HAVE_IEEEFP_H
35692 #include <ieeefp.h>
35693 #endif
35696 main ()
35698 isnan(0);
35700 return 0;
35702 _ACEOF
35703 if ac_fn_cxx_try_compile "$LINENO"; then :
35704 glibcxx_cv_func_isnan_use=yes
35705 else
35706 glibcxx_cv_func_isnan_use=no
35708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35709 ac_ext=c
35710 ac_cpp='$CPP $CPPFLAGS'
35711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35720 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35722 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35723 for ac_func in isnan
35724 do :
35725 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35726 if test "x$ac_cv_func_isnan" = xyes; then :
35727 cat >>confdefs.h <<_ACEOF
35728 #define HAVE_ISNAN 1
35729 _ACEOF
35732 done
35734 else
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35737 $as_echo_n "checking for _isnan declaration... " >&6; }
35738 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35739 if ${glibcxx_cv_func__isnan_use+:} false; then :
35740 $as_echo_n "(cached) " >&6
35741 else
35744 ac_ext=cpp
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35751 /* end confdefs.h. */
35752 #include <math.h>
35753 #ifdef HAVE_IEEEFP_H
35754 #include <ieeefp.h>
35755 #endif
35758 main ()
35760 _isnan(0);
35762 return 0;
35764 _ACEOF
35765 if ac_fn_cxx_try_compile "$LINENO"; then :
35766 glibcxx_cv_func__isnan_use=yes
35767 else
35768 glibcxx_cv_func__isnan_use=no
35770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35771 ac_ext=c
35772 ac_cpp='$CPP $CPPFLAGS'
35773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35782 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35784 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35785 for ac_func in _isnan
35786 do :
35787 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35788 if test "x$ac_cv_func__isnan" = xyes; then :
35789 cat >>confdefs.h <<_ACEOF
35790 #define HAVE__ISNAN 1
35791 _ACEOF
35794 done
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35804 $as_echo_n "checking for finite declaration... " >&6; }
35805 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35806 if ${glibcxx_cv_func_finite_use+:} false; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35820 #ifdef HAVE_IEEEFP_H
35821 #include <ieeefp.h>
35822 #endif
35825 main ()
35827 finite(0);
35829 return 0;
35831 _ACEOF
35832 if ac_fn_cxx_try_compile "$LINENO"; then :
35833 glibcxx_cv_func_finite_use=yes
35834 else
35835 glibcxx_cv_func_finite_use=no
35837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35838 ac_ext=c
35839 ac_cpp='$CPP $CPPFLAGS'
35840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35849 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35851 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35852 for ac_func in finite
35853 do :
35854 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35855 if test "x$ac_cv_func_finite" = xyes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define HAVE_FINITE 1
35858 _ACEOF
35861 done
35863 else
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35866 $as_echo_n "checking for _finite declaration... " >&6; }
35867 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35868 if ${glibcxx_cv_func__finite_use+:} false; then :
35869 $as_echo_n "(cached) " >&6
35870 else
35873 ac_ext=cpp
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35880 /* end confdefs.h. */
35881 #include <math.h>
35882 #ifdef HAVE_IEEEFP_H
35883 #include <ieeefp.h>
35884 #endif
35887 main ()
35889 _finite(0);
35891 return 0;
35893 _ACEOF
35894 if ac_fn_cxx_try_compile "$LINENO"; then :
35895 glibcxx_cv_func__finite_use=yes
35896 else
35897 glibcxx_cv_func__finite_use=no
35899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35900 ac_ext=c
35901 ac_cpp='$CPP $CPPFLAGS'
35902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35911 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35913 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35914 for ac_func in _finite
35915 do :
35916 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35917 if test "x$ac_cv_func__finite" = xyes; then :
35918 cat >>confdefs.h <<_ACEOF
35919 #define HAVE__FINITE 1
35920 _ACEOF
35923 done
35932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35933 $as_echo_n "checking for sincos declaration... " >&6; }
35934 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35935 if ${glibcxx_cv_func_sincos_use+:} false; then :
35936 $as_echo_n "(cached) " >&6
35937 else
35940 ac_ext=cpp
35941 ac_cpp='$CXXCPP $CPPFLAGS'
35942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35947 /* end confdefs.h. */
35948 #include <math.h>
35950 main ()
35952 sincos(0, 0, 0);
35954 return 0;
35956 _ACEOF
35957 if ac_fn_cxx_try_compile "$LINENO"; then :
35958 glibcxx_cv_func_sincos_use=yes
35959 else
35960 glibcxx_cv_func_sincos_use=no
35962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35963 ac_ext=c
35964 ac_cpp='$CPP $CPPFLAGS'
35965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35974 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35976 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35977 for ac_func in sincos
35978 do :
35979 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35980 if test "x$ac_cv_func_sincos" = xyes; then :
35981 cat >>confdefs.h <<_ACEOF
35982 #define HAVE_SINCOS 1
35983 _ACEOF
35986 done
35988 else
35990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35991 $as_echo_n "checking for _sincos declaration... " >&6; }
35992 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35993 if ${glibcxx_cv_func__sincos_use+:} false; then :
35994 $as_echo_n "(cached) " >&6
35995 else
35998 ac_ext=cpp
35999 ac_cpp='$CXXCPP $CPPFLAGS'
36000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36005 /* end confdefs.h. */
36006 #include <math.h>
36008 main ()
36010 _sincos(0, 0, 0);
36012 return 0;
36014 _ACEOF
36015 if ac_fn_cxx_try_compile "$LINENO"; then :
36016 glibcxx_cv_func__sincos_use=yes
36017 else
36018 glibcxx_cv_func__sincos_use=no
36020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36032 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36034 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36035 for ac_func in _sincos
36036 do :
36037 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36038 if test "x$ac_cv_func__sincos" = xyes; then :
36039 cat >>confdefs.h <<_ACEOF
36040 #define HAVE__SINCOS 1
36041 _ACEOF
36044 done
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36054 $as_echo_n "checking for fpclass declaration... " >&6; }
36055 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36056 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36057 $as_echo_n "(cached) " >&6
36058 else
36061 ac_ext=cpp
36062 ac_cpp='$CXXCPP $CPPFLAGS'
36063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36068 /* end confdefs.h. */
36069 #include <math.h>
36070 #ifdef HAVE_IEEEFP_H
36071 #include <ieeefp.h>
36072 #endif
36075 main ()
36077 fpclass(0);
36079 return 0;
36081 _ACEOF
36082 if ac_fn_cxx_try_compile "$LINENO"; then :
36083 glibcxx_cv_func_fpclass_use=yes
36084 else
36085 glibcxx_cv_func_fpclass_use=no
36087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36088 ac_ext=c
36089 ac_cpp='$CPP $CPPFLAGS'
36090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36099 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36101 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36102 for ac_func in fpclass
36103 do :
36104 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36105 if test "x$ac_cv_func_fpclass" = xyes; then :
36106 cat >>confdefs.h <<_ACEOF
36107 #define HAVE_FPCLASS 1
36108 _ACEOF
36111 done
36113 else
36115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36116 $as_echo_n "checking for _fpclass declaration... " >&6; }
36117 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36118 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36119 $as_echo_n "(cached) " >&6
36120 else
36123 ac_ext=cpp
36124 ac_cpp='$CXXCPP $CPPFLAGS'
36125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36130 /* end confdefs.h. */
36131 #include <math.h>
36132 #ifdef HAVE_IEEEFP_H
36133 #include <ieeefp.h>
36134 #endif
36137 main ()
36139 _fpclass(0);
36141 return 0;
36143 _ACEOF
36144 if ac_fn_cxx_try_compile "$LINENO"; then :
36145 glibcxx_cv_func__fpclass_use=yes
36146 else
36147 glibcxx_cv_func__fpclass_use=no
36149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36150 ac_ext=c
36151 ac_cpp='$CPP $CPPFLAGS'
36152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36161 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36163 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36164 for ac_func in _fpclass
36165 do :
36166 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36167 if test "x$ac_cv_func__fpclass" = xyes; then :
36168 cat >>confdefs.h <<_ACEOF
36169 #define HAVE__FPCLASS 1
36170 _ACEOF
36173 done
36182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36183 $as_echo_n "checking for qfpclass declaration... " >&6; }
36184 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36185 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36186 $as_echo_n "(cached) " >&6
36187 else
36190 ac_ext=cpp
36191 ac_cpp='$CXXCPP $CPPFLAGS'
36192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36197 /* end confdefs.h. */
36198 #include <math.h>
36199 #ifdef HAVE_IEEEFP_H
36200 #include <ieeefp.h>
36201 #endif
36204 main ()
36206 qfpclass(0);
36208 return 0;
36210 _ACEOF
36211 if ac_fn_cxx_try_compile "$LINENO"; then :
36212 glibcxx_cv_func_qfpclass_use=yes
36213 else
36214 glibcxx_cv_func_qfpclass_use=no
36216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36217 ac_ext=c
36218 ac_cpp='$CPP $CPPFLAGS'
36219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36228 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36230 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36231 for ac_func in qfpclass
36232 do :
36233 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36234 if test "x$ac_cv_func_qfpclass" = xyes; then :
36235 cat >>confdefs.h <<_ACEOF
36236 #define HAVE_QFPCLASS 1
36237 _ACEOF
36240 done
36242 else
36244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36245 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36246 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36247 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36248 $as_echo_n "(cached) " >&6
36249 else
36252 ac_ext=cpp
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36259 /* end confdefs.h. */
36260 #include <math.h>
36261 #ifdef HAVE_IEEEFP_H
36262 #include <ieeefp.h>
36263 #endif
36266 main ()
36268 _qfpclass(0);
36270 return 0;
36272 _ACEOF
36273 if ac_fn_cxx_try_compile "$LINENO"; then :
36274 glibcxx_cv_func__qfpclass_use=yes
36275 else
36276 glibcxx_cv_func__qfpclass_use=no
36278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36279 ac_ext=c
36280 ac_cpp='$CPP $CPPFLAGS'
36281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36290 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36292 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36293 for ac_func in _qfpclass
36294 do :
36295 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36296 if test "x$ac_cv_func__qfpclass" = xyes; then :
36297 cat >>confdefs.h <<_ACEOF
36298 #define HAVE__QFPCLASS 1
36299 _ACEOF
36302 done
36311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36312 $as_echo_n "checking for hypot declaration... " >&6; }
36313 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36314 if ${glibcxx_cv_func_hypot_use+:} false; then :
36315 $as_echo_n "(cached) " >&6
36316 else
36319 ac_ext=cpp
36320 ac_cpp='$CXXCPP $CPPFLAGS'
36321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36326 /* end confdefs.h. */
36327 #include <math.h>
36329 main ()
36331 hypot(0, 0);
36333 return 0;
36335 _ACEOF
36336 if ac_fn_cxx_try_compile "$LINENO"; then :
36337 glibcxx_cv_func_hypot_use=yes
36338 else
36339 glibcxx_cv_func_hypot_use=no
36341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36342 ac_ext=c
36343 ac_cpp='$CPP $CPPFLAGS'
36344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36353 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36355 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36356 for ac_func in hypot
36357 do :
36358 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36359 if test "x$ac_cv_func_hypot" = xyes; then :
36360 cat >>confdefs.h <<_ACEOF
36361 #define HAVE_HYPOT 1
36362 _ACEOF
36365 done
36367 else
36369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36370 $as_echo_n "checking for _hypot declaration... " >&6; }
36371 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36372 if ${glibcxx_cv_func__hypot_use+:} false; then :
36373 $as_echo_n "(cached) " >&6
36374 else
36377 ac_ext=cpp
36378 ac_cpp='$CXXCPP $CPPFLAGS'
36379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36384 /* end confdefs.h. */
36385 #include <math.h>
36387 main ()
36389 _hypot(0, 0);
36391 return 0;
36393 _ACEOF
36394 if ac_fn_cxx_try_compile "$LINENO"; then :
36395 glibcxx_cv_func__hypot_use=yes
36396 else
36397 glibcxx_cv_func__hypot_use=no
36399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36400 ac_ext=c
36401 ac_cpp='$CPP $CPPFLAGS'
36402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36411 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36413 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36414 for ac_func in _hypot
36415 do :
36416 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36417 if test "x$ac_cv_func__hypot" = xyes; then :
36418 cat >>confdefs.h <<_ACEOF
36419 #define HAVE__HYPOT 1
36420 _ACEOF
36423 done
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36433 $as_echo_n "checking for float trig functions... " >&6; }
36434 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36435 $as_echo_n "(cached) " >&6
36436 else
36439 ac_ext=cpp
36440 ac_cpp='$CXXCPP $CPPFLAGS'
36441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36446 /* end confdefs.h. */
36447 #include <math.h>
36449 main ()
36451 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36453 return 0;
36455 _ACEOF
36456 if ac_fn_cxx_try_compile "$LINENO"; then :
36457 glibcxx_cv_func_float_trig_use=yes
36458 else
36459 glibcxx_cv_func_float_trig_use=no
36461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36462 ac_ext=c
36463 ac_cpp='$CPP $CPPFLAGS'
36464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36471 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36472 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36473 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36474 do :
36475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36478 cat >>confdefs.h <<_ACEOF
36479 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36480 _ACEOF
36483 done
36485 else
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36487 $as_echo_n "checking for _float trig functions... " >&6; }
36488 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36489 $as_echo_n "(cached) " >&6
36490 else
36493 ac_ext=cpp
36494 ac_cpp='$CXXCPP $CPPFLAGS'
36495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36500 /* end confdefs.h. */
36501 #include <math.h>
36503 main ()
36505 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36507 return 0;
36509 _ACEOF
36510 if ac_fn_cxx_try_compile "$LINENO"; then :
36511 glibcxx_cv_func__float_trig_use=yes
36512 else
36513 glibcxx_cv_func__float_trig_use=no
36515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36516 ac_ext=c
36517 ac_cpp='$CPP $CPPFLAGS'
36518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36525 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36526 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36527 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36528 do :
36529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36532 cat >>confdefs.h <<_ACEOF
36533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36534 _ACEOF
36537 done
36546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36547 $as_echo_n "checking for float round functions... " >&6; }
36548 if ${glibcxx_cv_func_float_round_use+:} false; then :
36549 $as_echo_n "(cached) " >&6
36550 else
36553 ac_ext=cpp
36554 ac_cpp='$CXXCPP $CPPFLAGS'
36555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36560 /* end confdefs.h. */
36561 #include <math.h>
36563 main ()
36565 ceilf (0); floorf (0);
36567 return 0;
36569 _ACEOF
36570 if ac_fn_cxx_try_compile "$LINENO"; then :
36571 glibcxx_cv_func_float_round_use=yes
36572 else
36573 glibcxx_cv_func_float_round_use=no
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576 ac_ext=c
36577 ac_cpp='$CPP $CPPFLAGS'
36578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36585 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36586 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36587 for ac_func in ceilf floorf
36588 do :
36589 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36591 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36592 cat >>confdefs.h <<_ACEOF
36593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36594 _ACEOF
36597 done
36599 else
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36601 $as_echo_n "checking for _float round functions... " >&6; }
36602 if ${glibcxx_cv_func__float_round_use+:} false; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36617 main ()
36619 _ceilf (0); _floorf (0);
36621 return 0;
36623 _ACEOF
36624 if ac_fn_cxx_try_compile "$LINENO"; then :
36625 glibcxx_cv_func__float_round_use=yes
36626 else
36627 glibcxx_cv_func__float_round_use=no
36629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36630 ac_ext=c
36631 ac_cpp='$CPP $CPPFLAGS'
36632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36639 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36640 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36641 for ac_func in _ceilf _floorf
36642 do :
36643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36645 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36648 _ACEOF
36651 done
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36662 $as_echo_n "checking for expf declaration... " >&6; }
36663 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36664 if ${glibcxx_cv_func_expf_use+:} false; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36683 main ()
36685 expf(0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_expf_use=yes
36692 else
36693 glibcxx_cv_func_expf_use=no
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36707 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36709 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36710 for ac_func in expf
36711 do :
36712 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36713 if test "x$ac_cv_func_expf" = xyes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_EXPF 1
36716 _ACEOF
36719 done
36721 else
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36724 $as_echo_n "checking for _expf declaration... " >&6; }
36725 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36726 if ${glibcxx_cv_func__expf_use+:} false; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36740 #ifdef HAVE_IEEEFP_H
36741 #include <ieeefp.h>
36742 #endif
36745 main ()
36747 _expf(0);
36749 return 0;
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__expf_use=yes
36754 else
36755 glibcxx_cv_func__expf_use=no
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36769 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36771 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36772 for ac_func in _expf
36773 do :
36774 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36775 if test "x$ac_cv_func__expf" = xyes; then :
36776 cat >>confdefs.h <<_ACEOF
36777 #define HAVE__EXPF 1
36778 _ACEOF
36781 done
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36791 $as_echo_n "checking for isnanf declaration... " >&6; }
36792 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36793 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 #ifdef HAVE_IEEEFP_H
36808 #include <ieeefp.h>
36809 #endif
36812 main ()
36814 isnanf(0);
36816 return 0;
36818 _ACEOF
36819 if ac_fn_cxx_try_compile "$LINENO"; then :
36820 glibcxx_cv_func_isnanf_use=yes
36821 else
36822 glibcxx_cv_func_isnanf_use=no
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825 ac_ext=c
36826 ac_cpp='$CPP $CPPFLAGS'
36827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36836 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36838 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36839 for ac_func in isnanf
36840 do :
36841 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36842 if test "x$ac_cv_func_isnanf" = xyes; then :
36843 cat >>confdefs.h <<_ACEOF
36844 #define HAVE_ISNANF 1
36845 _ACEOF
36848 done
36850 else
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36853 $as_echo_n "checking for _isnanf declaration... " >&6; }
36854 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36855 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36856 $as_echo_n "(cached) " >&6
36857 else
36860 ac_ext=cpp
36861 ac_cpp='$CXXCPP $CPPFLAGS'
36862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 #ifdef HAVE_IEEEFP_H
36870 #include <ieeefp.h>
36871 #endif
36874 main ()
36876 _isnanf(0);
36878 return 0;
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func__isnanf_use=yes
36883 else
36884 glibcxx_cv_func__isnanf_use=no
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36898 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36900 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36901 for ac_func in _isnanf
36902 do :
36903 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36904 if test "x$ac_cv_func__isnanf" = xyes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE__ISNANF 1
36907 _ACEOF
36910 done
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36920 $as_echo_n "checking for isinff declaration... " >&6; }
36921 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36922 if ${glibcxx_cv_func_isinff_use+:} false; then :
36923 $as_echo_n "(cached) " >&6
36924 else
36927 ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h. */
36935 #include <math.h>
36936 #ifdef HAVE_IEEEFP_H
36937 #include <ieeefp.h>
36938 #endif
36941 main ()
36943 isinff(0);
36945 return 0;
36947 _ACEOF
36948 if ac_fn_cxx_try_compile "$LINENO"; then :
36949 glibcxx_cv_func_isinff_use=yes
36950 else
36951 glibcxx_cv_func_isinff_use=no
36953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36954 ac_ext=c
36955 ac_cpp='$CPP $CPPFLAGS'
36956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36965 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36967 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36968 for ac_func in isinff
36969 do :
36970 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36971 if test "x$ac_cv_func_isinff" = xyes; then :
36972 cat >>confdefs.h <<_ACEOF
36973 #define HAVE_ISINFF 1
36974 _ACEOF
36977 done
36979 else
36981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36982 $as_echo_n "checking for _isinff declaration... " >&6; }
36983 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36984 if ${glibcxx_cv_func__isinff_use+:} false; then :
36985 $as_echo_n "(cached) " >&6
36986 else
36989 ac_ext=cpp
36990 ac_cpp='$CXXCPP $CPPFLAGS'
36991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36996 /* end confdefs.h. */
36997 #include <math.h>
36998 #ifdef HAVE_IEEEFP_H
36999 #include <ieeefp.h>
37000 #endif
37003 main ()
37005 _isinff(0);
37007 return 0;
37009 _ACEOF
37010 if ac_fn_cxx_try_compile "$LINENO"; then :
37011 glibcxx_cv_func__isinff_use=yes
37012 else
37013 glibcxx_cv_func__isinff_use=no
37015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37016 ac_ext=c
37017 ac_cpp='$CPP $CPPFLAGS'
37018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37027 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37029 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37030 for ac_func in _isinff
37031 do :
37032 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37033 if test "x$ac_cv_func__isinff" = xyes; then :
37034 cat >>confdefs.h <<_ACEOF
37035 #define HAVE__ISINFF 1
37036 _ACEOF
37039 done
37048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37049 $as_echo_n "checking for atan2f declaration... " >&6; }
37050 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37051 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37052 $as_echo_n "(cached) " >&6
37053 else
37056 ac_ext=cpp
37057 ac_cpp='$CXXCPP $CPPFLAGS'
37058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37063 /* end confdefs.h. */
37064 #include <math.h>
37066 main ()
37068 atan2f(0, 0);
37070 return 0;
37072 _ACEOF
37073 if ac_fn_cxx_try_compile "$LINENO"; then :
37074 glibcxx_cv_func_atan2f_use=yes
37075 else
37076 glibcxx_cv_func_atan2f_use=no
37078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37079 ac_ext=c
37080 ac_cpp='$CPP $CPPFLAGS'
37081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37090 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37092 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37093 for ac_func in atan2f
37094 do :
37095 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37096 if test "x$ac_cv_func_atan2f" = xyes; then :
37097 cat >>confdefs.h <<_ACEOF
37098 #define HAVE_ATAN2F 1
37099 _ACEOF
37102 done
37104 else
37106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37107 $as_echo_n "checking for _atan2f declaration... " >&6; }
37108 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37109 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37110 $as_echo_n "(cached) " >&6
37111 else
37114 ac_ext=cpp
37115 ac_cpp='$CXXCPP $CPPFLAGS'
37116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37121 /* end confdefs.h. */
37122 #include <math.h>
37124 main ()
37126 _atan2f(0, 0);
37128 return 0;
37130 _ACEOF
37131 if ac_fn_cxx_try_compile "$LINENO"; then :
37132 glibcxx_cv_func__atan2f_use=yes
37133 else
37134 glibcxx_cv_func__atan2f_use=no
37136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37137 ac_ext=c
37138 ac_cpp='$CPP $CPPFLAGS'
37139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37148 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37150 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37151 for ac_func in _atan2f
37152 do :
37153 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37154 if test "x$ac_cv_func__atan2f" = xyes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define HAVE__ATAN2F 1
37157 _ACEOF
37160 done
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37170 $as_echo_n "checking for fabsf declaration... " >&6; }
37171 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37172 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37173 $as_echo_n "(cached) " >&6
37174 else
37177 ac_ext=cpp
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h. */
37185 #include <math.h>
37186 #ifdef HAVE_IEEEFP_H
37187 #include <ieeefp.h>
37188 #endif
37191 main ()
37193 fabsf(0);
37195 return 0;
37197 _ACEOF
37198 if ac_fn_cxx_try_compile "$LINENO"; then :
37199 glibcxx_cv_func_fabsf_use=yes
37200 else
37201 glibcxx_cv_func_fabsf_use=no
37203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37204 ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37215 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37217 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37218 for ac_func in fabsf
37219 do :
37220 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37221 if test "x$ac_cv_func_fabsf" = xyes; then :
37222 cat >>confdefs.h <<_ACEOF
37223 #define HAVE_FABSF 1
37224 _ACEOF
37227 done
37229 else
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37232 $as_echo_n "checking for _fabsf declaration... " >&6; }
37233 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37234 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37235 $as_echo_n "(cached) " >&6
37236 else
37239 ac_ext=cpp
37240 ac_cpp='$CXXCPP $CPPFLAGS'
37241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37246 /* end confdefs.h. */
37247 #include <math.h>
37248 #ifdef HAVE_IEEEFP_H
37249 #include <ieeefp.h>
37250 #endif
37253 main ()
37255 _fabsf(0);
37257 return 0;
37259 _ACEOF
37260 if ac_fn_cxx_try_compile "$LINENO"; then :
37261 glibcxx_cv_func__fabsf_use=yes
37262 else
37263 glibcxx_cv_func__fabsf_use=no
37265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37266 ac_ext=c
37267 ac_cpp='$CPP $CPPFLAGS'
37268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37277 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37279 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37280 for ac_func in _fabsf
37281 do :
37282 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37283 if test "x$ac_cv_func__fabsf" = xyes; then :
37284 cat >>confdefs.h <<_ACEOF
37285 #define HAVE__FABSF 1
37286 _ACEOF
37289 done
37298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37299 $as_echo_n "checking for fmodf declaration... " >&6; }
37300 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37301 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37302 $as_echo_n "(cached) " >&6
37303 else
37306 ac_ext=cpp
37307 ac_cpp='$CXXCPP $CPPFLAGS'
37308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37313 /* end confdefs.h. */
37314 #include <math.h>
37316 main ()
37318 fmodf(0, 0);
37320 return 0;
37322 _ACEOF
37323 if ac_fn_cxx_try_compile "$LINENO"; then :
37324 glibcxx_cv_func_fmodf_use=yes
37325 else
37326 glibcxx_cv_func_fmodf_use=no
37328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37329 ac_ext=c
37330 ac_cpp='$CPP $CPPFLAGS'
37331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37340 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37342 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37343 for ac_func in fmodf
37344 do :
37345 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37346 if test "x$ac_cv_func_fmodf" = xyes; then :
37347 cat >>confdefs.h <<_ACEOF
37348 #define HAVE_FMODF 1
37349 _ACEOF
37352 done
37354 else
37356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37357 $as_echo_n "checking for _fmodf declaration... " >&6; }
37358 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37359 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37360 $as_echo_n "(cached) " >&6
37361 else
37364 ac_ext=cpp
37365 ac_cpp='$CXXCPP $CPPFLAGS'
37366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37371 /* end confdefs.h. */
37372 #include <math.h>
37374 main ()
37376 _fmodf(0, 0);
37378 return 0;
37380 _ACEOF
37381 if ac_fn_cxx_try_compile "$LINENO"; then :
37382 glibcxx_cv_func__fmodf_use=yes
37383 else
37384 glibcxx_cv_func__fmodf_use=no
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37387 ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37398 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37400 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37401 for ac_func in _fmodf
37402 do :
37403 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37404 if test "x$ac_cv_func__fmodf" = xyes; then :
37405 cat >>confdefs.h <<_ACEOF
37406 #define HAVE__FMODF 1
37407 _ACEOF
37410 done
37419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37420 $as_echo_n "checking for frexpf declaration... " >&6; }
37421 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37422 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37423 $as_echo_n "(cached) " >&6
37424 else
37427 ac_ext=cpp
37428 ac_cpp='$CXXCPP $CPPFLAGS'
37429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37434 /* end confdefs.h. */
37435 #include <math.h>
37437 main ()
37439 frexpf(0, 0);
37441 return 0;
37443 _ACEOF
37444 if ac_fn_cxx_try_compile "$LINENO"; then :
37445 glibcxx_cv_func_frexpf_use=yes
37446 else
37447 glibcxx_cv_func_frexpf_use=no
37449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37450 ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37461 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37463 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37464 for ac_func in frexpf
37465 do :
37466 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37467 if test "x$ac_cv_func_frexpf" = xyes; then :
37468 cat >>confdefs.h <<_ACEOF
37469 #define HAVE_FREXPF 1
37470 _ACEOF
37473 done
37475 else
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37478 $as_echo_n "checking for _frexpf declaration... " >&6; }
37479 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37480 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37481 $as_echo_n "(cached) " >&6
37482 else
37485 ac_ext=cpp
37486 ac_cpp='$CXXCPP $CPPFLAGS'
37487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37492 /* end confdefs.h. */
37493 #include <math.h>
37495 main ()
37497 _frexpf(0, 0);
37499 return 0;
37501 _ACEOF
37502 if ac_fn_cxx_try_compile "$LINENO"; then :
37503 glibcxx_cv_func__frexpf_use=yes
37504 else
37505 glibcxx_cv_func__frexpf_use=no
37507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37508 ac_ext=c
37509 ac_cpp='$CPP $CPPFLAGS'
37510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37519 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37521 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37522 for ac_func in _frexpf
37523 do :
37524 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37525 if test "x$ac_cv_func__frexpf" = xyes; then :
37526 cat >>confdefs.h <<_ACEOF
37527 #define HAVE__FREXPF 1
37528 _ACEOF
37531 done
37540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37541 $as_echo_n "checking for hypotf declaration... " >&6; }
37542 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37543 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37544 $as_echo_n "(cached) " >&6
37545 else
37548 ac_ext=cpp
37549 ac_cpp='$CXXCPP $CPPFLAGS'
37550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37555 /* end confdefs.h. */
37556 #include <math.h>
37558 main ()
37560 hypotf(0, 0);
37562 return 0;
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func_hypotf_use=yes
37567 else
37568 glibcxx_cv_func_hypotf_use=no
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37582 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37584 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37585 for ac_func in hypotf
37586 do :
37587 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37588 if test "x$ac_cv_func_hypotf" = xyes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE_HYPOTF 1
37591 _ACEOF
37594 done
37596 else
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37599 $as_echo_n "checking for _hypotf declaration... " >&6; }
37600 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37601 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37602 $as_echo_n "(cached) " >&6
37603 else
37606 ac_ext=cpp
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37613 /* end confdefs.h. */
37614 #include <math.h>
37616 main ()
37618 _hypotf(0, 0);
37620 return 0;
37622 _ACEOF
37623 if ac_fn_cxx_try_compile "$LINENO"; then :
37624 glibcxx_cv_func__hypotf_use=yes
37625 else
37626 glibcxx_cv_func__hypotf_use=no
37628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37629 ac_ext=c
37630 ac_cpp='$CPP $CPPFLAGS'
37631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37640 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37642 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37643 for ac_func in _hypotf
37644 do :
37645 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37646 if test "x$ac_cv_func__hypotf" = xyes; then :
37647 cat >>confdefs.h <<_ACEOF
37648 #define HAVE__HYPOTF 1
37649 _ACEOF
37652 done
37661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37662 $as_echo_n "checking for ldexpf declaration... " >&6; }
37663 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37664 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37665 $as_echo_n "(cached) " >&6
37666 else
37669 ac_ext=cpp
37670 ac_cpp='$CXXCPP $CPPFLAGS'
37671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37676 /* end confdefs.h. */
37677 #include <math.h>
37679 main ()
37681 ldexpf(0, 0);
37683 return 0;
37685 _ACEOF
37686 if ac_fn_cxx_try_compile "$LINENO"; then :
37687 glibcxx_cv_func_ldexpf_use=yes
37688 else
37689 glibcxx_cv_func_ldexpf_use=no
37691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37692 ac_ext=c
37693 ac_cpp='$CPP $CPPFLAGS'
37694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37703 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37705 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37706 for ac_func in ldexpf
37707 do :
37708 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37709 if test "x$ac_cv_func_ldexpf" = xyes; then :
37710 cat >>confdefs.h <<_ACEOF
37711 #define HAVE_LDEXPF 1
37712 _ACEOF
37715 done
37717 else
37719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37720 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37721 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37722 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37723 $as_echo_n "(cached) " >&6
37724 else
37727 ac_ext=cpp
37728 ac_cpp='$CXXCPP $CPPFLAGS'
37729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37734 /* end confdefs.h. */
37735 #include <math.h>
37737 main ()
37739 _ldexpf(0, 0);
37741 return 0;
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func__ldexpf_use=yes
37746 else
37747 glibcxx_cv_func__ldexpf_use=no
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37761 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37763 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37764 for ac_func in _ldexpf
37765 do :
37766 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37767 if test "x$ac_cv_func__ldexpf" = xyes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LDEXPF 1
37770 _ACEOF
37773 done
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37783 $as_echo_n "checking for logf declaration... " >&6; }
37784 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37785 if ${glibcxx_cv_func_logf_use+:} false; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37804 main ()
37806 logf(0);
37808 return 0;
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func_logf_use=yes
37813 else
37814 glibcxx_cv_func_logf_use=no
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37828 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37830 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37831 for ac_func in logf
37832 do :
37833 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37834 if test "x$ac_cv_func_logf" = xyes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE_LOGF 1
37837 _ACEOF
37840 done
37842 else
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37845 $as_echo_n "checking for _logf declaration... " >&6; }
37846 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37847 if ${glibcxx_cv_func__logf_use+:} false; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <math.h>
37861 #ifdef HAVE_IEEEFP_H
37862 #include <ieeefp.h>
37863 #endif
37866 main ()
37868 _logf(0);
37870 return 0;
37872 _ACEOF
37873 if ac_fn_cxx_try_compile "$LINENO"; then :
37874 glibcxx_cv_func__logf_use=yes
37875 else
37876 glibcxx_cv_func__logf_use=no
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37879 ac_ext=c
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37890 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37892 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37893 for ac_func in _logf
37894 do :
37895 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37896 if test "x$ac_cv_func__logf" = xyes; then :
37897 cat >>confdefs.h <<_ACEOF
37898 #define HAVE__LOGF 1
37899 _ACEOF
37902 done
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37912 $as_echo_n "checking for log10f declaration... " >&6; }
37913 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37914 if ${glibcxx_cv_func_log10f_use+:} false; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37933 main ()
37935 log10f(0);
37937 return 0;
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func_log10f_use=yes
37942 else
37943 glibcxx_cv_func_log10f_use=no
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37957 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37959 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37960 for ac_func in log10f
37961 do :
37962 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37963 if test "x$ac_cv_func_log10f" = xyes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE_LOG10F 1
37966 _ACEOF
37969 done
37971 else
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37974 $as_echo_n "checking for _log10f declaration... " >&6; }
37975 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37976 if ${glibcxx_cv_func__log10f_use+:} false; then :
37977 $as_echo_n "(cached) " >&6
37978 else
37981 ac_ext=cpp
37982 ac_cpp='$CXXCPP $CPPFLAGS'
37983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37988 /* end confdefs.h. */
37989 #include <math.h>
37990 #ifdef HAVE_IEEEFP_H
37991 #include <ieeefp.h>
37992 #endif
37995 main ()
37997 _log10f(0);
37999 return 0;
38001 _ACEOF
38002 if ac_fn_cxx_try_compile "$LINENO"; then :
38003 glibcxx_cv_func__log10f_use=yes
38004 else
38005 glibcxx_cv_func__log10f_use=no
38007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38019 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38021 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38022 for ac_func in _log10f
38023 do :
38024 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38025 if test "x$ac_cv_func__log10f" = xyes; then :
38026 cat >>confdefs.h <<_ACEOF
38027 #define HAVE__LOG10F 1
38028 _ACEOF
38031 done
38040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38041 $as_echo_n "checking for modff declaration... " >&6; }
38042 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38043 if ${glibcxx_cv_func_modff_use+:} false; then :
38044 $as_echo_n "(cached) " >&6
38045 else
38048 ac_ext=cpp
38049 ac_cpp='$CXXCPP $CPPFLAGS'
38050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38055 /* end confdefs.h. */
38056 #include <math.h>
38058 main ()
38060 modff(0, 0);
38062 return 0;
38064 _ACEOF
38065 if ac_fn_cxx_try_compile "$LINENO"; then :
38066 glibcxx_cv_func_modff_use=yes
38067 else
38068 glibcxx_cv_func_modff_use=no
38070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38071 ac_ext=c
38072 ac_cpp='$CPP $CPPFLAGS'
38073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38082 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38084 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38085 for ac_func in modff
38086 do :
38087 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38088 if test "x$ac_cv_func_modff" = xyes; then :
38089 cat >>confdefs.h <<_ACEOF
38090 #define HAVE_MODFF 1
38091 _ACEOF
38094 done
38096 else
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38099 $as_echo_n "checking for _modff declaration... " >&6; }
38100 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38101 if ${glibcxx_cv_func__modff_use+:} false; then :
38102 $as_echo_n "(cached) " >&6
38103 else
38106 ac_ext=cpp
38107 ac_cpp='$CXXCPP $CPPFLAGS'
38108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38113 /* end confdefs.h. */
38114 #include <math.h>
38116 main ()
38118 _modff(0, 0);
38120 return 0;
38122 _ACEOF
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124 glibcxx_cv_func__modff_use=yes
38125 else
38126 glibcxx_cv_func__modff_use=no
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38129 ac_ext=c
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38140 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38142 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38143 for ac_func in _modff
38144 do :
38145 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38146 if test "x$ac_cv_func__modff" = xyes; then :
38147 cat >>confdefs.h <<_ACEOF
38148 #define HAVE__MODFF 1
38149 _ACEOF
38152 done
38161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38162 $as_echo_n "checking for modf declaration... " >&6; }
38163 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38164 if ${glibcxx_cv_func_modf_use+:} false; then :
38165 $as_echo_n "(cached) " >&6
38166 else
38169 ac_ext=cpp
38170 ac_cpp='$CXXCPP $CPPFLAGS'
38171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38176 /* end confdefs.h. */
38177 #include <math.h>
38179 main ()
38181 modf(0, 0);
38183 return 0;
38185 _ACEOF
38186 if ac_fn_cxx_try_compile "$LINENO"; then :
38187 glibcxx_cv_func_modf_use=yes
38188 else
38189 glibcxx_cv_func_modf_use=no
38191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38192 ac_ext=c
38193 ac_cpp='$CPP $CPPFLAGS'
38194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38203 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38205 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38206 for ac_func in modf
38207 do :
38208 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38209 if test "x$ac_cv_func_modf" = xyes; then :
38210 cat >>confdefs.h <<_ACEOF
38211 #define HAVE_MODF 1
38212 _ACEOF
38215 done
38217 else
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38220 $as_echo_n "checking for _modf declaration... " >&6; }
38221 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38222 if ${glibcxx_cv_func__modf_use+:} false; then :
38223 $as_echo_n "(cached) " >&6
38224 else
38227 ac_ext=cpp
38228 ac_cpp='$CXXCPP $CPPFLAGS'
38229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38234 /* end confdefs.h. */
38235 #include <math.h>
38237 main ()
38239 _modf(0, 0);
38241 return 0;
38243 _ACEOF
38244 if ac_fn_cxx_try_compile "$LINENO"; then :
38245 glibcxx_cv_func__modf_use=yes
38246 else
38247 glibcxx_cv_func__modf_use=no
38249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250 ac_ext=c
38251 ac_cpp='$CPP $CPPFLAGS'
38252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38261 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38263 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38264 for ac_func in _modf
38265 do :
38266 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38267 if test "x$ac_cv_func__modf" = xyes; then :
38268 cat >>confdefs.h <<_ACEOF
38269 #define HAVE__MODF 1
38270 _ACEOF
38273 done
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38283 $as_echo_n "checking for powf declaration... " >&6; }
38284 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38285 if ${glibcxx_cv_func_powf_use+:} false; then :
38286 $as_echo_n "(cached) " >&6
38287 else
38290 ac_ext=cpp
38291 ac_cpp='$CXXCPP $CPPFLAGS'
38292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38297 /* end confdefs.h. */
38298 #include <math.h>
38300 main ()
38302 powf(0, 0);
38304 return 0;
38306 _ACEOF
38307 if ac_fn_cxx_try_compile "$LINENO"; then :
38308 glibcxx_cv_func_powf_use=yes
38309 else
38310 glibcxx_cv_func_powf_use=no
38312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38313 ac_ext=c
38314 ac_cpp='$CPP $CPPFLAGS'
38315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38324 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38326 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38327 for ac_func in powf
38328 do :
38329 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38330 if test "x$ac_cv_func_powf" = xyes; then :
38331 cat >>confdefs.h <<_ACEOF
38332 #define HAVE_POWF 1
38333 _ACEOF
38336 done
38338 else
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38341 $as_echo_n "checking for _powf declaration... " >&6; }
38342 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38343 if ${glibcxx_cv_func__powf_use+:} false; then :
38344 $as_echo_n "(cached) " >&6
38345 else
38348 ac_ext=cpp
38349 ac_cpp='$CXXCPP $CPPFLAGS'
38350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38355 /* end confdefs.h. */
38356 #include <math.h>
38358 main ()
38360 _powf(0, 0);
38362 return 0;
38364 _ACEOF
38365 if ac_fn_cxx_try_compile "$LINENO"; then :
38366 glibcxx_cv_func__powf_use=yes
38367 else
38368 glibcxx_cv_func__powf_use=no
38370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38371 ac_ext=c
38372 ac_cpp='$CPP $CPPFLAGS'
38373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38382 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38384 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38385 for ac_func in _powf
38386 do :
38387 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38388 if test "x$ac_cv_func__powf" = xyes; then :
38389 cat >>confdefs.h <<_ACEOF
38390 #define HAVE__POWF 1
38391 _ACEOF
38394 done
38403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38404 $as_echo_n "checking for sqrtf declaration... " >&6; }
38405 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38406 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38407 $as_echo_n "(cached) " >&6
38408 else
38411 ac_ext=cpp
38412 ac_cpp='$CXXCPP $CPPFLAGS'
38413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38418 /* end confdefs.h. */
38419 #include <math.h>
38420 #ifdef HAVE_IEEEFP_H
38421 #include <ieeefp.h>
38422 #endif
38425 main ()
38427 sqrtf(0);
38429 return 0;
38431 _ACEOF
38432 if ac_fn_cxx_try_compile "$LINENO"; then :
38433 glibcxx_cv_func_sqrtf_use=yes
38434 else
38435 glibcxx_cv_func_sqrtf_use=no
38437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38438 ac_ext=c
38439 ac_cpp='$CPP $CPPFLAGS'
38440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38449 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38451 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38452 for ac_func in sqrtf
38453 do :
38454 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38455 if test "x$ac_cv_func_sqrtf" = xyes; then :
38456 cat >>confdefs.h <<_ACEOF
38457 #define HAVE_SQRTF 1
38458 _ACEOF
38461 done
38463 else
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38466 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38467 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38468 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38469 $as_echo_n "(cached) " >&6
38470 else
38473 ac_ext=cpp
38474 ac_cpp='$CXXCPP $CPPFLAGS'
38475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38480 /* end confdefs.h. */
38481 #include <math.h>
38482 #ifdef HAVE_IEEEFP_H
38483 #include <ieeefp.h>
38484 #endif
38487 main ()
38489 _sqrtf(0);
38491 return 0;
38493 _ACEOF
38494 if ac_fn_cxx_try_compile "$LINENO"; then :
38495 glibcxx_cv_func__sqrtf_use=yes
38496 else
38497 glibcxx_cv_func__sqrtf_use=no
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38500 ac_ext=c
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38511 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38513 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38514 for ac_func in _sqrtf
38515 do :
38516 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38517 if test "x$ac_cv_func__sqrtf" = xyes; then :
38518 cat >>confdefs.h <<_ACEOF
38519 #define HAVE__SQRTF 1
38520 _ACEOF
38523 done
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38533 $as_echo_n "checking for sincosf declaration... " >&6; }
38534 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38535 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38536 $as_echo_n "(cached) " >&6
38537 else
38540 ac_ext=cpp
38541 ac_cpp='$CXXCPP $CPPFLAGS'
38542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38547 /* end confdefs.h. */
38548 #include <math.h>
38550 main ()
38552 sincosf(0, 0, 0);
38554 return 0;
38556 _ACEOF
38557 if ac_fn_cxx_try_compile "$LINENO"; then :
38558 glibcxx_cv_func_sincosf_use=yes
38559 else
38560 glibcxx_cv_func_sincosf_use=no
38562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38563 ac_ext=c
38564 ac_cpp='$CPP $CPPFLAGS'
38565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38574 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38576 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38577 for ac_func in sincosf
38578 do :
38579 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38580 if test "x$ac_cv_func_sincosf" = xyes; then :
38581 cat >>confdefs.h <<_ACEOF
38582 #define HAVE_SINCOSF 1
38583 _ACEOF
38586 done
38588 else
38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38591 $as_echo_n "checking for _sincosf declaration... " >&6; }
38592 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38593 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38594 $as_echo_n "(cached) " >&6
38595 else
38598 ac_ext=cpp
38599 ac_cpp='$CXXCPP $CPPFLAGS'
38600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38605 /* end confdefs.h. */
38606 #include <math.h>
38608 main ()
38610 _sincosf(0, 0, 0);
38612 return 0;
38614 _ACEOF
38615 if ac_fn_cxx_try_compile "$LINENO"; then :
38616 glibcxx_cv_func__sincosf_use=yes
38617 else
38618 glibcxx_cv_func__sincosf_use=no
38620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38621 ac_ext=c
38622 ac_cpp='$CPP $CPPFLAGS'
38623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38632 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38634 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38635 for ac_func in _sincosf
38636 do :
38637 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38638 if test "x$ac_cv_func__sincosf" = xyes; then :
38639 cat >>confdefs.h <<_ACEOF
38640 #define HAVE__SINCOSF 1
38641 _ACEOF
38644 done
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38654 $as_echo_n "checking for finitef declaration... " >&6; }
38655 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38656 if ${glibcxx_cv_func_finitef_use+:} false; then :
38657 $as_echo_n "(cached) " >&6
38658 else
38661 ac_ext=cpp
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38668 /* end confdefs.h. */
38669 #include <math.h>
38670 #ifdef HAVE_IEEEFP_H
38671 #include <ieeefp.h>
38672 #endif
38675 main ()
38677 finitef(0);
38679 return 0;
38681 _ACEOF
38682 if ac_fn_cxx_try_compile "$LINENO"; then :
38683 glibcxx_cv_func_finitef_use=yes
38684 else
38685 glibcxx_cv_func_finitef_use=no
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38699 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38701 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38702 for ac_func in finitef
38703 do :
38704 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38705 if test "x$ac_cv_func_finitef" = xyes; then :
38706 cat >>confdefs.h <<_ACEOF
38707 #define HAVE_FINITEF 1
38708 _ACEOF
38711 done
38713 else
38715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38716 $as_echo_n "checking for _finitef declaration... " >&6; }
38717 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38718 if ${glibcxx_cv_func__finitef_use+:} false; then :
38719 $as_echo_n "(cached) " >&6
38720 else
38723 ac_ext=cpp
38724 ac_cpp='$CXXCPP $CPPFLAGS'
38725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38730 /* end confdefs.h. */
38731 #include <math.h>
38732 #ifdef HAVE_IEEEFP_H
38733 #include <ieeefp.h>
38734 #endif
38737 main ()
38739 _finitef(0);
38741 return 0;
38743 _ACEOF
38744 if ac_fn_cxx_try_compile "$LINENO"; then :
38745 glibcxx_cv_func__finitef_use=yes
38746 else
38747 glibcxx_cv_func__finitef_use=no
38749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38750 ac_ext=c
38751 ac_cpp='$CPP $CPPFLAGS'
38752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38761 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38763 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38764 for ac_func in _finitef
38765 do :
38766 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38767 if test "x$ac_cv_func__finitef" = xyes; then :
38768 cat >>confdefs.h <<_ACEOF
38769 #define HAVE__FINITEF 1
38770 _ACEOF
38773 done
38782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38783 $as_echo_n "checking for long double trig functions... " >&6; }
38784 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38785 $as_echo_n "(cached) " >&6
38786 else
38789 ac_ext=cpp
38790 ac_cpp='$CXXCPP $CPPFLAGS'
38791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38796 /* end confdefs.h. */
38797 #include <math.h>
38799 main ()
38801 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38803 return 0;
38805 _ACEOF
38806 if ac_fn_cxx_try_compile "$LINENO"; then :
38807 glibcxx_cv_func_long_double_trig_use=yes
38808 else
38809 glibcxx_cv_func_long_double_trig_use=no
38811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38812 ac_ext=c
38813 ac_cpp='$CPP $CPPFLAGS'
38814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38821 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38822 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38823 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38824 do :
38825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38827 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38828 cat >>confdefs.h <<_ACEOF
38829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38830 _ACEOF
38833 done
38835 else
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38837 $as_echo_n "checking for _long double trig functions... " >&6; }
38838 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38839 $as_echo_n "(cached) " >&6
38840 else
38843 ac_ext=cpp
38844 ac_cpp='$CXXCPP $CPPFLAGS'
38845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38850 /* end confdefs.h. */
38851 #include <math.h>
38853 main ()
38855 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38857 return 0;
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func__long_double_trig_use=yes
38862 else
38863 glibcxx_cv_func__long_double_trig_use=no
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38875 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38876 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38877 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38878 do :
38879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38882 cat >>confdefs.h <<_ACEOF
38883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38884 _ACEOF
38887 done
38896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38897 $as_echo_n "checking for long double round functions... " >&6; }
38898 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38899 $as_echo_n "(cached) " >&6
38900 else
38903 ac_ext=cpp
38904 ac_cpp='$CXXCPP $CPPFLAGS'
38905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38910 /* end confdefs.h. */
38911 #include <math.h>
38913 main ()
38915 ceill (0); floorl (0);
38917 return 0;
38919 _ACEOF
38920 if ac_fn_cxx_try_compile "$LINENO"; then :
38921 glibcxx_cv_func_long_double_round_use=yes
38922 else
38923 glibcxx_cv_func_long_double_round_use=no
38925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38926 ac_ext=c
38927 ac_cpp='$CPP $CPPFLAGS'
38928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38935 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38936 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38937 for ac_func in ceill floorl
38938 do :
38939 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38940 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38941 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38942 cat >>confdefs.h <<_ACEOF
38943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38944 _ACEOF
38947 done
38949 else
38950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38951 $as_echo_n "checking for _long double round functions... " >&6; }
38952 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38953 $as_echo_n "(cached) " >&6
38954 else
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <math.h>
38967 main ()
38969 _ceill (0); _floorl (0);
38971 return 0;
38973 _ACEOF
38974 if ac_fn_cxx_try_compile "$LINENO"; then :
38975 glibcxx_cv_func__long_double_round_use=yes
38976 else
38977 glibcxx_cv_func__long_double_round_use=no
38979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38980 ac_ext=c
38981 ac_cpp='$CPP $CPPFLAGS'
38982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38989 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38990 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38991 for ac_func in _ceill _floorl
38992 do :
38993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38994 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38995 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38996 cat >>confdefs.h <<_ACEOF
38997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38998 _ACEOF
39001 done
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39012 $as_echo_n "checking for isnanl declaration... " >&6; }
39013 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39014 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39033 main ()
39035 isnanl(0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func_isnanl_use=yes
39042 else
39043 glibcxx_cv_func_isnanl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39057 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39059 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39060 for ac_func in isnanl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39063 if test "x$ac_cv_func_isnanl" = xyes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE_ISNANL 1
39066 _ACEOF
39069 done
39071 else
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39074 $as_echo_n "checking for _isnanl declaration... " >&6; }
39075 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39076 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39090 #ifdef HAVE_IEEEFP_H
39091 #include <ieeefp.h>
39092 #endif
39095 main ()
39097 _isnanl(0);
39099 return 0;
39101 _ACEOF
39102 if ac_fn_cxx_try_compile "$LINENO"; then :
39103 glibcxx_cv_func__isnanl_use=yes
39104 else
39105 glibcxx_cv_func__isnanl_use=no
39107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39108 ac_ext=c
39109 ac_cpp='$CPP $CPPFLAGS'
39110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39119 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39121 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39122 for ac_func in _isnanl
39123 do :
39124 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39125 if test "x$ac_cv_func__isnanl" = xyes; then :
39126 cat >>confdefs.h <<_ACEOF
39127 #define HAVE__ISNANL 1
39128 _ACEOF
39131 done
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39141 $as_echo_n "checking for isinfl declaration... " >&6; }
39142 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39143 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 #ifdef HAVE_IEEEFP_H
39158 #include <ieeefp.h>
39159 #endif
39162 main ()
39164 isinfl(0);
39166 return 0;
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func_isinfl_use=yes
39171 else
39172 glibcxx_cv_func_isinfl_use=no
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39186 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39188 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39189 for ac_func in isinfl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39192 if test "x$ac_cv_func_isinfl" = xyes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE_ISINFL 1
39195 _ACEOF
39198 done
39200 else
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39203 $as_echo_n "checking for _isinfl declaration... " >&6; }
39204 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39205 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39206 $as_echo_n "(cached) " >&6
39207 else
39210 ac_ext=cpp
39211 ac_cpp='$CXXCPP $CPPFLAGS'
39212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39217 /* end confdefs.h. */
39218 #include <math.h>
39219 #ifdef HAVE_IEEEFP_H
39220 #include <ieeefp.h>
39221 #endif
39224 main ()
39226 _isinfl(0);
39228 return 0;
39230 _ACEOF
39231 if ac_fn_cxx_try_compile "$LINENO"; then :
39232 glibcxx_cv_func__isinfl_use=yes
39233 else
39234 glibcxx_cv_func__isinfl_use=no
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39248 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39250 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39251 for ac_func in _isinfl
39252 do :
39253 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39254 if test "x$ac_cv_func__isinfl" = xyes; then :
39255 cat >>confdefs.h <<_ACEOF
39256 #define HAVE__ISINFL 1
39257 _ACEOF
39260 done
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39270 $as_echo_n "checking for atan2l declaration... " >&6; }
39271 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39272 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39273 $as_echo_n "(cached) " >&6
39274 else
39277 ac_ext=cpp
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39284 /* end confdefs.h. */
39285 #include <math.h>
39287 main ()
39289 atan2l(0, 0);
39291 return 0;
39293 _ACEOF
39294 if ac_fn_cxx_try_compile "$LINENO"; then :
39295 glibcxx_cv_func_atan2l_use=yes
39296 else
39297 glibcxx_cv_func_atan2l_use=no
39299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39300 ac_ext=c
39301 ac_cpp='$CPP $CPPFLAGS'
39302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39311 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39313 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39314 for ac_func in atan2l
39315 do :
39316 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39317 if test "x$ac_cv_func_atan2l" = xyes; then :
39318 cat >>confdefs.h <<_ACEOF
39319 #define HAVE_ATAN2L 1
39320 _ACEOF
39323 done
39325 else
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39328 $as_echo_n "checking for _atan2l declaration... " >&6; }
39329 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39330 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39331 $as_echo_n "(cached) " >&6
39332 else
39335 ac_ext=cpp
39336 ac_cpp='$CXXCPP $CPPFLAGS'
39337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39342 /* end confdefs.h. */
39343 #include <math.h>
39345 main ()
39347 _atan2l(0, 0);
39349 return 0;
39351 _ACEOF
39352 if ac_fn_cxx_try_compile "$LINENO"; then :
39353 glibcxx_cv_func__atan2l_use=yes
39354 else
39355 glibcxx_cv_func__atan2l_use=no
39357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39358 ac_ext=c
39359 ac_cpp='$CPP $CPPFLAGS'
39360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39369 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39371 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39372 for ac_func in _atan2l
39373 do :
39374 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39375 if test "x$ac_cv_func__atan2l" = xyes; then :
39376 cat >>confdefs.h <<_ACEOF
39377 #define HAVE__ATAN2L 1
39378 _ACEOF
39381 done
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39391 $as_echo_n "checking for expl declaration... " >&6; }
39392 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39393 if ${glibcxx_cv_func_expl_use+:} false; then :
39394 $as_echo_n "(cached) " >&6
39395 else
39398 ac_ext=cpp
39399 ac_cpp='$CXXCPP $CPPFLAGS'
39400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39405 /* end confdefs.h. */
39406 #include <math.h>
39407 #ifdef HAVE_IEEEFP_H
39408 #include <ieeefp.h>
39409 #endif
39412 main ()
39414 expl(0);
39416 return 0;
39418 _ACEOF
39419 if ac_fn_cxx_try_compile "$LINENO"; then :
39420 glibcxx_cv_func_expl_use=yes
39421 else
39422 glibcxx_cv_func_expl_use=no
39424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39425 ac_ext=c
39426 ac_cpp='$CPP $CPPFLAGS'
39427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39436 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39438 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39439 for ac_func in expl
39440 do :
39441 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39442 if test "x$ac_cv_func_expl" = xyes; then :
39443 cat >>confdefs.h <<_ACEOF
39444 #define HAVE_EXPL 1
39445 _ACEOF
39448 done
39450 else
39452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39453 $as_echo_n "checking for _expl declaration... " >&6; }
39454 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39455 if ${glibcxx_cv_func__expl_use+:} false; then :
39456 $as_echo_n "(cached) " >&6
39457 else
39460 ac_ext=cpp
39461 ac_cpp='$CXXCPP $CPPFLAGS'
39462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39467 /* end confdefs.h. */
39468 #include <math.h>
39469 #ifdef HAVE_IEEEFP_H
39470 #include <ieeefp.h>
39471 #endif
39474 main ()
39476 _expl(0);
39478 return 0;
39480 _ACEOF
39481 if ac_fn_cxx_try_compile "$LINENO"; then :
39482 glibcxx_cv_func__expl_use=yes
39483 else
39484 glibcxx_cv_func__expl_use=no
39486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39487 ac_ext=c
39488 ac_cpp='$CPP $CPPFLAGS'
39489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39498 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39500 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39501 for ac_func in _expl
39502 do :
39503 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39504 if test "x$ac_cv_func__expl" = xyes; then :
39505 cat >>confdefs.h <<_ACEOF
39506 #define HAVE__EXPL 1
39507 _ACEOF
39510 done
39519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39520 $as_echo_n "checking for fabsl declaration... " >&6; }
39521 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39522 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39523 $as_echo_n "(cached) " >&6
39524 else
39527 ac_ext=cpp
39528 ac_cpp='$CXXCPP $CPPFLAGS'
39529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39534 /* end confdefs.h. */
39535 #include <math.h>
39536 #ifdef HAVE_IEEEFP_H
39537 #include <ieeefp.h>
39538 #endif
39541 main ()
39543 fabsl(0);
39545 return 0;
39547 _ACEOF
39548 if ac_fn_cxx_try_compile "$LINENO"; then :
39549 glibcxx_cv_func_fabsl_use=yes
39550 else
39551 glibcxx_cv_func_fabsl_use=no
39553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39554 ac_ext=c
39555 ac_cpp='$CPP $CPPFLAGS'
39556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39565 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39567 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39568 for ac_func in fabsl
39569 do :
39570 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39571 if test "x$ac_cv_func_fabsl" = xyes; then :
39572 cat >>confdefs.h <<_ACEOF
39573 #define HAVE_FABSL 1
39574 _ACEOF
39577 done
39579 else
39581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39582 $as_echo_n "checking for _fabsl declaration... " >&6; }
39583 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39584 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39585 $as_echo_n "(cached) " >&6
39586 else
39589 ac_ext=cpp
39590 ac_cpp='$CXXCPP $CPPFLAGS'
39591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39596 /* end confdefs.h. */
39597 #include <math.h>
39598 #ifdef HAVE_IEEEFP_H
39599 #include <ieeefp.h>
39600 #endif
39603 main ()
39605 _fabsl(0);
39607 return 0;
39609 _ACEOF
39610 if ac_fn_cxx_try_compile "$LINENO"; then :
39611 glibcxx_cv_func__fabsl_use=yes
39612 else
39613 glibcxx_cv_func__fabsl_use=no
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616 ac_ext=c
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39627 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39629 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39630 for ac_func in _fabsl
39631 do :
39632 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39633 if test "x$ac_cv_func__fabsl" = xyes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE__FABSL 1
39636 _ACEOF
39639 done
39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39649 $as_echo_n "checking for fmodl declaration... " >&6; }
39650 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39651 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39652 $as_echo_n "(cached) " >&6
39653 else
39656 ac_ext=cpp
39657 ac_cpp='$CXXCPP $CPPFLAGS'
39658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39663 /* end confdefs.h. */
39664 #include <math.h>
39666 main ()
39668 fmodl(0, 0);
39670 return 0;
39672 _ACEOF
39673 if ac_fn_cxx_try_compile "$LINENO"; then :
39674 glibcxx_cv_func_fmodl_use=yes
39675 else
39676 glibcxx_cv_func_fmodl_use=no
39678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39679 ac_ext=c
39680 ac_cpp='$CPP $CPPFLAGS'
39681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39690 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39692 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39693 for ac_func in fmodl
39694 do :
39695 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39696 if test "x$ac_cv_func_fmodl" = xyes; then :
39697 cat >>confdefs.h <<_ACEOF
39698 #define HAVE_FMODL 1
39699 _ACEOF
39702 done
39704 else
39706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39707 $as_echo_n "checking for _fmodl declaration... " >&6; }
39708 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39709 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39710 $as_echo_n "(cached) " >&6
39711 else
39714 ac_ext=cpp
39715 ac_cpp='$CXXCPP $CPPFLAGS'
39716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39721 /* end confdefs.h. */
39722 #include <math.h>
39724 main ()
39726 _fmodl(0, 0);
39728 return 0;
39730 _ACEOF
39731 if ac_fn_cxx_try_compile "$LINENO"; then :
39732 glibcxx_cv_func__fmodl_use=yes
39733 else
39734 glibcxx_cv_func__fmodl_use=no
39736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39737 ac_ext=c
39738 ac_cpp='$CPP $CPPFLAGS'
39739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39748 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39750 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39751 for ac_func in _fmodl
39752 do :
39753 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39754 if test "x$ac_cv_func__fmodl" = xyes; then :
39755 cat >>confdefs.h <<_ACEOF
39756 #define HAVE__FMODL 1
39757 _ACEOF
39760 done
39769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39770 $as_echo_n "checking for frexpl declaration... " >&6; }
39771 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39772 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39773 $as_echo_n "(cached) " >&6
39774 else
39777 ac_ext=cpp
39778 ac_cpp='$CXXCPP $CPPFLAGS'
39779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39784 /* end confdefs.h. */
39785 #include <math.h>
39787 main ()
39789 frexpl(0, 0);
39791 return 0;
39793 _ACEOF
39794 if ac_fn_cxx_try_compile "$LINENO"; then :
39795 glibcxx_cv_func_frexpl_use=yes
39796 else
39797 glibcxx_cv_func_frexpl_use=no
39799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39800 ac_ext=c
39801 ac_cpp='$CPP $CPPFLAGS'
39802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39811 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39813 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39814 for ac_func in frexpl
39815 do :
39816 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39817 if test "x$ac_cv_func_frexpl" = xyes; then :
39818 cat >>confdefs.h <<_ACEOF
39819 #define HAVE_FREXPL 1
39820 _ACEOF
39823 done
39825 else
39827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39828 $as_echo_n "checking for _frexpl declaration... " >&6; }
39829 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39830 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39831 $as_echo_n "(cached) " >&6
39832 else
39835 ac_ext=cpp
39836 ac_cpp='$CXXCPP $CPPFLAGS'
39837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39842 /* end confdefs.h. */
39843 #include <math.h>
39845 main ()
39847 _frexpl(0, 0);
39849 return 0;
39851 _ACEOF
39852 if ac_fn_cxx_try_compile "$LINENO"; then :
39853 glibcxx_cv_func__frexpl_use=yes
39854 else
39855 glibcxx_cv_func__frexpl_use=no
39857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39858 ac_ext=c
39859 ac_cpp='$CPP $CPPFLAGS'
39860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39869 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39871 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39872 for ac_func in _frexpl
39873 do :
39874 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39875 if test "x$ac_cv_func__frexpl" = xyes; then :
39876 cat >>confdefs.h <<_ACEOF
39877 #define HAVE__FREXPL 1
39878 _ACEOF
39881 done
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39891 $as_echo_n "checking for hypotl declaration... " >&6; }
39892 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39893 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39894 $as_echo_n "(cached) " >&6
39895 else
39898 ac_ext=cpp
39899 ac_cpp='$CXXCPP $CPPFLAGS'
39900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39905 /* end confdefs.h. */
39906 #include <math.h>
39908 main ()
39910 hypotl(0, 0);
39912 return 0;
39914 _ACEOF
39915 if ac_fn_cxx_try_compile "$LINENO"; then :
39916 glibcxx_cv_func_hypotl_use=yes
39917 else
39918 glibcxx_cv_func_hypotl_use=no
39920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39921 ac_ext=c
39922 ac_cpp='$CPP $CPPFLAGS'
39923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39932 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39934 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39935 for ac_func in hypotl
39936 do :
39937 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39938 if test "x$ac_cv_func_hypotl" = xyes; then :
39939 cat >>confdefs.h <<_ACEOF
39940 #define HAVE_HYPOTL 1
39941 _ACEOF
39944 done
39946 else
39948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39949 $as_echo_n "checking for _hypotl declaration... " >&6; }
39950 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39951 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39952 $as_echo_n "(cached) " >&6
39953 else
39956 ac_ext=cpp
39957 ac_cpp='$CXXCPP $CPPFLAGS'
39958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39963 /* end confdefs.h. */
39964 #include <math.h>
39966 main ()
39968 _hypotl(0, 0);
39970 return 0;
39972 _ACEOF
39973 if ac_fn_cxx_try_compile "$LINENO"; then :
39974 glibcxx_cv_func__hypotl_use=yes
39975 else
39976 glibcxx_cv_func__hypotl_use=no
39978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39979 ac_ext=c
39980 ac_cpp='$CPP $CPPFLAGS'
39981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39990 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39992 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39993 for ac_func in _hypotl
39994 do :
39995 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39996 if test "x$ac_cv_func__hypotl" = xyes; then :
39997 cat >>confdefs.h <<_ACEOF
39998 #define HAVE__HYPOTL 1
39999 _ACEOF
40002 done
40011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40012 $as_echo_n "checking for ldexpl declaration... " >&6; }
40013 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40014 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40015 $as_echo_n "(cached) " >&6
40016 else
40019 ac_ext=cpp
40020 ac_cpp='$CXXCPP $CPPFLAGS'
40021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40026 /* end confdefs.h. */
40027 #include <math.h>
40029 main ()
40031 ldexpl(0, 0);
40033 return 0;
40035 _ACEOF
40036 if ac_fn_cxx_try_compile "$LINENO"; then :
40037 glibcxx_cv_func_ldexpl_use=yes
40038 else
40039 glibcxx_cv_func_ldexpl_use=no
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40042 ac_ext=c
40043 ac_cpp='$CPP $CPPFLAGS'
40044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40053 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40055 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40056 for ac_func in ldexpl
40057 do :
40058 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40059 if test "x$ac_cv_func_ldexpl" = xyes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define HAVE_LDEXPL 1
40062 _ACEOF
40065 done
40067 else
40069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40070 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40071 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40072 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40073 $as_echo_n "(cached) " >&6
40074 else
40077 ac_ext=cpp
40078 ac_cpp='$CXXCPP $CPPFLAGS'
40079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40084 /* end confdefs.h. */
40085 #include <math.h>
40087 main ()
40089 _ldexpl(0, 0);
40091 return 0;
40093 _ACEOF
40094 if ac_fn_cxx_try_compile "$LINENO"; then :
40095 glibcxx_cv_func__ldexpl_use=yes
40096 else
40097 glibcxx_cv_func__ldexpl_use=no
40099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40100 ac_ext=c
40101 ac_cpp='$CPP $CPPFLAGS'
40102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40111 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40113 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40114 for ac_func in _ldexpl
40115 do :
40116 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40117 if test "x$ac_cv_func__ldexpl" = xyes; then :
40118 cat >>confdefs.h <<_ACEOF
40119 #define HAVE__LDEXPL 1
40120 _ACEOF
40123 done
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40133 $as_echo_n "checking for logl declaration... " >&6; }
40134 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40135 if ${glibcxx_cv_func_logl_use+:} false; then :
40136 $as_echo_n "(cached) " >&6
40137 else
40140 ac_ext=cpp
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 #include <math.h>
40149 #ifdef HAVE_IEEEFP_H
40150 #include <ieeefp.h>
40151 #endif
40154 main ()
40156 logl(0);
40158 return 0;
40160 _ACEOF
40161 if ac_fn_cxx_try_compile "$LINENO"; then :
40162 glibcxx_cv_func_logl_use=yes
40163 else
40164 glibcxx_cv_func_logl_use=no
40166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40167 ac_ext=c
40168 ac_cpp='$CPP $CPPFLAGS'
40169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40178 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40180 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40181 for ac_func in logl
40182 do :
40183 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40184 if test "x$ac_cv_func_logl" = xyes; then :
40185 cat >>confdefs.h <<_ACEOF
40186 #define HAVE_LOGL 1
40187 _ACEOF
40190 done
40192 else
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40195 $as_echo_n "checking for _logl declaration... " >&6; }
40196 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40197 if ${glibcxx_cv_func__logl_use+:} false; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40211 #ifdef HAVE_IEEEFP_H
40212 #include <ieeefp.h>
40213 #endif
40216 main ()
40218 _logl(0);
40220 return 0;
40222 _ACEOF
40223 if ac_fn_cxx_try_compile "$LINENO"; then :
40224 glibcxx_cv_func__logl_use=yes
40225 else
40226 glibcxx_cv_func__logl_use=no
40228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40229 ac_ext=c
40230 ac_cpp='$CPP $CPPFLAGS'
40231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40240 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40242 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40243 for ac_func in _logl
40244 do :
40245 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40246 if test "x$ac_cv_func__logl" = xyes; then :
40247 cat >>confdefs.h <<_ACEOF
40248 #define HAVE__LOGL 1
40249 _ACEOF
40252 done
40261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40262 $as_echo_n "checking for log10l declaration... " >&6; }
40263 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40264 if ${glibcxx_cv_func_log10l_use+:} false; then :
40265 $as_echo_n "(cached) " >&6
40266 else
40269 ac_ext=cpp
40270 ac_cpp='$CXXCPP $CPPFLAGS'
40271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40276 /* end confdefs.h. */
40277 #include <math.h>
40278 #ifdef HAVE_IEEEFP_H
40279 #include <ieeefp.h>
40280 #endif
40283 main ()
40285 log10l(0);
40287 return 0;
40289 _ACEOF
40290 if ac_fn_cxx_try_compile "$LINENO"; then :
40291 glibcxx_cv_func_log10l_use=yes
40292 else
40293 glibcxx_cv_func_log10l_use=no
40295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40296 ac_ext=c
40297 ac_cpp='$CPP $CPPFLAGS'
40298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40307 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40309 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40310 for ac_func in log10l
40311 do :
40312 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40313 if test "x$ac_cv_func_log10l" = xyes; then :
40314 cat >>confdefs.h <<_ACEOF
40315 #define HAVE_LOG10L 1
40316 _ACEOF
40319 done
40321 else
40323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40324 $as_echo_n "checking for _log10l declaration... " >&6; }
40325 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40326 if ${glibcxx_cv_func__log10l_use+:} false; then :
40327 $as_echo_n "(cached) " >&6
40328 else
40331 ac_ext=cpp
40332 ac_cpp='$CXXCPP $CPPFLAGS'
40333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40338 /* end confdefs.h. */
40339 #include <math.h>
40340 #ifdef HAVE_IEEEFP_H
40341 #include <ieeefp.h>
40342 #endif
40345 main ()
40347 _log10l(0);
40349 return 0;
40351 _ACEOF
40352 if ac_fn_cxx_try_compile "$LINENO"; then :
40353 glibcxx_cv_func__log10l_use=yes
40354 else
40355 glibcxx_cv_func__log10l_use=no
40357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40358 ac_ext=c
40359 ac_cpp='$CPP $CPPFLAGS'
40360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40369 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40371 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40372 for ac_func in _log10l
40373 do :
40374 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40375 if test "x$ac_cv_func__log10l" = xyes; then :
40376 cat >>confdefs.h <<_ACEOF
40377 #define HAVE__LOG10L 1
40378 _ACEOF
40381 done
40390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40391 $as_echo_n "checking for modfl declaration... " >&6; }
40392 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40393 if ${glibcxx_cv_func_modfl_use+:} false; then :
40394 $as_echo_n "(cached) " >&6
40395 else
40398 ac_ext=cpp
40399 ac_cpp='$CXXCPP $CPPFLAGS'
40400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40405 /* end confdefs.h. */
40406 #include <math.h>
40408 main ()
40410 modfl(0, 0);
40412 return 0;
40414 _ACEOF
40415 if ac_fn_cxx_try_compile "$LINENO"; then :
40416 glibcxx_cv_func_modfl_use=yes
40417 else
40418 glibcxx_cv_func_modfl_use=no
40420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40421 ac_ext=c
40422 ac_cpp='$CPP $CPPFLAGS'
40423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40432 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40434 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40435 for ac_func in modfl
40436 do :
40437 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40438 if test "x$ac_cv_func_modfl" = xyes; then :
40439 cat >>confdefs.h <<_ACEOF
40440 #define HAVE_MODFL 1
40441 _ACEOF
40444 done
40446 else
40448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40449 $as_echo_n "checking for _modfl declaration... " >&6; }
40450 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40451 if ${glibcxx_cv_func__modfl_use+:} false; then :
40452 $as_echo_n "(cached) " >&6
40453 else
40456 ac_ext=cpp
40457 ac_cpp='$CXXCPP $CPPFLAGS'
40458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40463 /* end confdefs.h. */
40464 #include <math.h>
40466 main ()
40468 _modfl(0, 0);
40470 return 0;
40472 _ACEOF
40473 if ac_fn_cxx_try_compile "$LINENO"; then :
40474 glibcxx_cv_func__modfl_use=yes
40475 else
40476 glibcxx_cv_func__modfl_use=no
40478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40479 ac_ext=c
40480 ac_cpp='$CPP $CPPFLAGS'
40481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40490 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40492 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40493 for ac_func in _modfl
40494 do :
40495 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40496 if test "x$ac_cv_func__modfl" = xyes; then :
40497 cat >>confdefs.h <<_ACEOF
40498 #define HAVE__MODFL 1
40499 _ACEOF
40502 done
40511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40512 $as_echo_n "checking for powl declaration... " >&6; }
40513 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40514 if ${glibcxx_cv_func_powl_use+:} false; then :
40515 $as_echo_n "(cached) " >&6
40516 else
40519 ac_ext=cpp
40520 ac_cpp='$CXXCPP $CPPFLAGS'
40521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40526 /* end confdefs.h. */
40527 #include <math.h>
40529 main ()
40531 powl(0, 0);
40533 return 0;
40535 _ACEOF
40536 if ac_fn_cxx_try_compile "$LINENO"; then :
40537 glibcxx_cv_func_powl_use=yes
40538 else
40539 glibcxx_cv_func_powl_use=no
40541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40542 ac_ext=c
40543 ac_cpp='$CPP $CPPFLAGS'
40544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40553 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40555 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40556 for ac_func in powl
40557 do :
40558 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40559 if test "x$ac_cv_func_powl" = xyes; then :
40560 cat >>confdefs.h <<_ACEOF
40561 #define HAVE_POWL 1
40562 _ACEOF
40565 done
40567 else
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40570 $as_echo_n "checking for _powl declaration... " >&6; }
40571 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40572 if ${glibcxx_cv_func__powl_use+:} false; then :
40573 $as_echo_n "(cached) " >&6
40574 else
40577 ac_ext=cpp
40578 ac_cpp='$CXXCPP $CPPFLAGS'
40579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40584 /* end confdefs.h. */
40585 #include <math.h>
40587 main ()
40589 _powl(0, 0);
40591 return 0;
40593 _ACEOF
40594 if ac_fn_cxx_try_compile "$LINENO"; then :
40595 glibcxx_cv_func__powl_use=yes
40596 else
40597 glibcxx_cv_func__powl_use=no
40599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40600 ac_ext=c
40601 ac_cpp='$CPP $CPPFLAGS'
40602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40611 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40613 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40614 for ac_func in _powl
40615 do :
40616 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40617 if test "x$ac_cv_func__powl" = xyes; then :
40618 cat >>confdefs.h <<_ACEOF
40619 #define HAVE__POWL 1
40620 _ACEOF
40623 done
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40633 $as_echo_n "checking for sqrtl declaration... " >&6; }
40634 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40635 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40636 $as_echo_n "(cached) " >&6
40637 else
40640 ac_ext=cpp
40641 ac_cpp='$CXXCPP $CPPFLAGS'
40642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40647 /* end confdefs.h. */
40648 #include <math.h>
40649 #ifdef HAVE_IEEEFP_H
40650 #include <ieeefp.h>
40651 #endif
40654 main ()
40656 sqrtl(0);
40658 return 0;
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func_sqrtl_use=yes
40663 else
40664 glibcxx_cv_func_sqrtl_use=no
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40678 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40680 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40681 for ac_func in sqrtl
40682 do :
40683 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40684 if test "x$ac_cv_func_sqrtl" = xyes; then :
40685 cat >>confdefs.h <<_ACEOF
40686 #define HAVE_SQRTL 1
40687 _ACEOF
40690 done
40692 else
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40695 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40696 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40697 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40698 $as_echo_n "(cached) " >&6
40699 else
40702 ac_ext=cpp
40703 ac_cpp='$CXXCPP $CPPFLAGS'
40704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40709 /* end confdefs.h. */
40710 #include <math.h>
40711 #ifdef HAVE_IEEEFP_H
40712 #include <ieeefp.h>
40713 #endif
40716 main ()
40718 _sqrtl(0);
40720 return 0;
40722 _ACEOF
40723 if ac_fn_cxx_try_compile "$LINENO"; then :
40724 glibcxx_cv_func__sqrtl_use=yes
40725 else
40726 glibcxx_cv_func__sqrtl_use=no
40728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40729 ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40740 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40742 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40743 for ac_func in _sqrtl
40744 do :
40745 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40746 if test "x$ac_cv_func__sqrtl" = xyes; then :
40747 cat >>confdefs.h <<_ACEOF
40748 #define HAVE__SQRTL 1
40749 _ACEOF
40752 done
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40762 $as_echo_n "checking for sincosl declaration... " >&6; }
40763 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40764 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40765 $as_echo_n "(cached) " >&6
40766 else
40769 ac_ext=cpp
40770 ac_cpp='$CXXCPP $CPPFLAGS'
40771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40776 /* end confdefs.h. */
40777 #include <math.h>
40779 main ()
40781 sincosl(0, 0, 0);
40783 return 0;
40785 _ACEOF
40786 if ac_fn_cxx_try_compile "$LINENO"; then :
40787 glibcxx_cv_func_sincosl_use=yes
40788 else
40789 glibcxx_cv_func_sincosl_use=no
40791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40792 ac_ext=c
40793 ac_cpp='$CPP $CPPFLAGS'
40794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40803 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40805 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40806 for ac_func in sincosl
40807 do :
40808 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40809 if test "x$ac_cv_func_sincosl" = xyes; then :
40810 cat >>confdefs.h <<_ACEOF
40811 #define HAVE_SINCOSL 1
40812 _ACEOF
40815 done
40817 else
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40820 $as_echo_n "checking for _sincosl declaration... " >&6; }
40821 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40822 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40823 $as_echo_n "(cached) " >&6
40824 else
40827 ac_ext=cpp
40828 ac_cpp='$CXXCPP $CPPFLAGS'
40829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40834 /* end confdefs.h. */
40835 #include <math.h>
40837 main ()
40839 _sincosl(0, 0, 0);
40841 return 0;
40843 _ACEOF
40844 if ac_fn_cxx_try_compile "$LINENO"; then :
40845 glibcxx_cv_func__sincosl_use=yes
40846 else
40847 glibcxx_cv_func__sincosl_use=no
40849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40850 ac_ext=c
40851 ac_cpp='$CPP $CPPFLAGS'
40852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40861 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40863 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40864 for ac_func in _sincosl
40865 do :
40866 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40867 if test "x$ac_cv_func__sincosl" = xyes; then :
40868 cat >>confdefs.h <<_ACEOF
40869 #define HAVE__SINCOSL 1
40870 _ACEOF
40873 done
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40883 $as_echo_n "checking for finitel declaration... " >&6; }
40884 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40885 if ${glibcxx_cv_func_finitel_use+:} false; then :
40886 $as_echo_n "(cached) " >&6
40887 else
40890 ac_ext=cpp
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40897 /* end confdefs.h. */
40898 #include <math.h>
40899 #ifdef HAVE_IEEEFP_H
40900 #include <ieeefp.h>
40901 #endif
40904 main ()
40906 finitel(0);
40908 return 0;
40910 _ACEOF
40911 if ac_fn_cxx_try_compile "$LINENO"; then :
40912 glibcxx_cv_func_finitel_use=yes
40913 else
40914 glibcxx_cv_func_finitel_use=no
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917 ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40928 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40930 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40931 for ac_func in finitel
40932 do :
40933 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40934 if test "x$ac_cv_func_finitel" = xyes; then :
40935 cat >>confdefs.h <<_ACEOF
40936 #define HAVE_FINITEL 1
40937 _ACEOF
40940 done
40942 else
40944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40945 $as_echo_n "checking for _finitel declaration... " >&6; }
40946 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40947 if ${glibcxx_cv_func__finitel_use+:} false; then :
40948 $as_echo_n "(cached) " >&6
40949 else
40952 ac_ext=cpp
40953 ac_cpp='$CXXCPP $CPPFLAGS'
40954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40959 /* end confdefs.h. */
40960 #include <math.h>
40961 #ifdef HAVE_IEEEFP_H
40962 #include <ieeefp.h>
40963 #endif
40966 main ()
40968 _finitel(0);
40970 return 0;
40972 _ACEOF
40973 if ac_fn_cxx_try_compile "$LINENO"; then :
40974 glibcxx_cv_func__finitel_use=yes
40975 else
40976 glibcxx_cv_func__finitel_use=no
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979 ac_ext=c
40980 ac_cpp='$CPP $CPPFLAGS'
40981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40990 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40992 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40993 for ac_func in _finitel
40994 do :
40995 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40996 if test "x$ac_cv_func__finitel" = xyes; then :
40997 cat >>confdefs.h <<_ACEOF
40998 #define HAVE__FINITEL 1
40999 _ACEOF
41002 done
41010 LIBS="$ac_save_LIBS"
41011 CXXFLAGS="$ac_save_CXXFLAGS"
41014 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41015 ac_save_CXXFLAGS="$CXXFLAGS"
41016 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41020 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41021 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41022 if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
41037 main ()
41039 at_quick_exit(0);
41041 return 0;
41043 _ACEOF
41044 if ac_fn_cxx_try_compile "$LINENO"; then :
41045 glibcxx_cv_func_at_quick_exit_use=yes
41046 else
41047 glibcxx_cv_func_at_quick_exit_use=no
41049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41050 ac_ext=c
41051 ac_cpp='$CPP $CPPFLAGS'
41052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41061 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41062 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41063 for ac_func in at_quick_exit
41064 do :
41065 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41066 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41067 cat >>confdefs.h <<_ACEOF
41068 #define HAVE_AT_QUICK_EXIT 1
41069 _ACEOF
41072 done
41077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41078 $as_echo_n "checking for quick_exit declaration... " >&6; }
41079 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41080 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41081 $as_echo_n "(cached) " >&6
41082 else
41085 ac_ext=cpp
41086 ac_cpp='$CXXCPP $CPPFLAGS'
41087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41092 /* end confdefs.h. */
41093 #include <stdlib.h>
41095 main ()
41097 quick_exit(0);
41099 return 0;
41101 _ACEOF
41102 if ac_fn_cxx_try_compile "$LINENO"; then :
41103 glibcxx_cv_func_quick_exit_use=yes
41104 else
41105 glibcxx_cv_func_quick_exit_use=no
41107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41108 ac_ext=c
41109 ac_cpp='$CPP $CPPFLAGS'
41110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41119 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41120 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41121 for ac_func in quick_exit
41122 do :
41123 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41124 if test "x$ac_cv_func_quick_exit" = xyes; then :
41125 cat >>confdefs.h <<_ACEOF
41126 #define HAVE_QUICK_EXIT 1
41127 _ACEOF
41130 done
41135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41136 $as_echo_n "checking for strtold declaration... " >&6; }
41137 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41138 if ${glibcxx_cv_func_strtold_use+:} false; then :
41139 $as_echo_n "(cached) " >&6
41140 else
41143 ac_ext=cpp
41144 ac_cpp='$CXXCPP $CPPFLAGS'
41145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h. */
41151 #include <stdlib.h>
41153 main ()
41155 strtold(0, 0);
41157 return 0;
41159 _ACEOF
41160 if ac_fn_cxx_try_compile "$LINENO"; then :
41161 glibcxx_cv_func_strtold_use=yes
41162 else
41163 glibcxx_cv_func_strtold_use=no
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166 ac_ext=c
41167 ac_cpp='$CPP $CPPFLAGS'
41168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41177 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41178 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41179 for ac_func in strtold
41180 do :
41181 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41182 if test "x$ac_cv_func_strtold" = xyes; then :
41183 cat >>confdefs.h <<_ACEOF
41184 #define HAVE_STRTOLD 1
41185 _ACEOF
41188 done
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41196 $as_echo_n "checking for strtof declaration... " >&6; }
41197 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41198 if ${glibcxx_cv_func_strtof_use+:} false; then :
41199 $as_echo_n "(cached) " >&6
41200 else
41203 ac_ext=cpp
41204 ac_cpp='$CXXCPP $CPPFLAGS'
41205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41210 /* end confdefs.h. */
41211 #include <stdlib.h>
41213 main ()
41215 strtof(0, 0);
41217 return 0;
41219 _ACEOF
41220 if ac_fn_cxx_try_compile "$LINENO"; then :
41221 glibcxx_cv_func_strtof_use=yes
41222 else
41223 glibcxx_cv_func_strtof_use=no
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226 ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41237 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41238 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41239 for ac_func in strtof
41240 do :
41241 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41242 if test "x$ac_cv_func_strtof" = xyes; then :
41243 cat >>confdefs.h <<_ACEOF
41244 #define HAVE_STRTOF 1
41245 _ACEOF
41248 done
41255 CXXFLAGS="$ac_save_CXXFLAGS"
41257 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41259 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41261 # We don't yet support AIX's TLS ABI.
41262 #GCC_CHECK_TLS
41268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41269 $as_echo_n "checking for iconv... " >&6; }
41270 if ${am_cv_func_iconv+:} false; then :
41271 $as_echo_n "(cached) " >&6
41272 else
41274 am_cv_func_iconv="no, consider installing GNU libiconv"
41275 am_cv_lib_iconv=no
41276 am_save_CPPFLAGS="$CPPFLAGS"
41277 CPPFLAGS="$CPPFLAGS $INCICONV"
41278 if test x$gcc_no_link = xyes; then
41279 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h. */
41283 #include <stdlib.h>
41284 #include <iconv.h>
41286 main ()
41288 iconv_t cd = iconv_open("","");
41289 iconv(cd,NULL,NULL,NULL,NULL);
41290 iconv_close(cd);
41292 return 0;
41294 _ACEOF
41295 if ac_fn_c_try_link "$LINENO"; then :
41296 am_cv_func_iconv=yes
41298 rm -f core conftest.err conftest.$ac_objext \
41299 conftest$ac_exeext conftest.$ac_ext
41300 CPPFLAGS="$am_save_CPPFLAGS"
41302 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41303 for _libs in .libs _libs; do
41304 am_save_CPPFLAGS="$CPPFLAGS"
41305 am_save_LIBS="$LIBS"
41306 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41307 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41308 if test x$gcc_no_link = xyes; then
41309 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <stdlib.h>
41314 #include <iconv.h>
41316 main ()
41318 iconv_t cd = iconv_open("","");
41319 iconv(cd,NULL,NULL,NULL,NULL);
41320 iconv_close(cd);
41322 return 0;
41324 _ACEOF
41325 if ac_fn_c_try_link "$LINENO"; then :
41326 INCICONV="-I../libiconv/include"
41327 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41328 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41329 am_cv_lib_iconv=yes
41330 am_cv_func_iconv=yes
41332 rm -f core conftest.err conftest.$ac_objext \
41333 conftest$ac_exeext conftest.$ac_ext
41334 CPPFLAGS="$am_save_CPPFLAGS"
41335 LIBS="$am_save_LIBS"
41336 if test "$am_cv_func_iconv" = "yes"; then
41337 break
41339 done
41342 if test "$am_cv_func_iconv" != yes; then
41343 am_save_CPPFLAGS="$CPPFLAGS"
41344 am_save_LIBS="$LIBS"
41345 CPPFLAGS="$CPPFLAGS $INCICONV"
41346 LIBS="$LIBS $LIBICONV"
41347 if test x$gcc_no_link = xyes; then
41348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41352 #include <stdlib.h>
41353 #include <iconv.h>
41355 main ()
41357 iconv_t cd = iconv_open("","");
41358 iconv(cd,NULL,NULL,NULL,NULL);
41359 iconv_close(cd);
41361 return 0;
41363 _ACEOF
41364 if ac_fn_c_try_link "$LINENO"; then :
41365 am_cv_lib_iconv=yes
41366 am_cv_func_iconv=yes
41368 rm -f core conftest.err conftest.$ac_objext \
41369 conftest$ac_exeext conftest.$ac_ext
41370 CPPFLAGS="$am_save_CPPFLAGS"
41371 LIBS="$am_save_LIBS"
41375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41376 $as_echo "$am_cv_func_iconv" >&6; }
41377 if test "$am_cv_func_iconv" = yes; then
41379 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41382 if test "$am_cv_lib_iconv" = yes; then
41384 for element in $INCICONV; do
41385 haveit=
41386 for x in $CPPFLAGS; do
41388 acl_save_prefix="$prefix"
41389 prefix="$acl_final_prefix"
41390 acl_save_exec_prefix="$exec_prefix"
41391 exec_prefix="$acl_final_exec_prefix"
41392 eval x=\"$x\"
41393 exec_prefix="$acl_save_exec_prefix"
41394 prefix="$acl_save_prefix"
41396 if test "X$x" = "X$element"; then
41397 haveit=yes
41398 break
41400 done
41401 if test -z "$haveit"; then
41402 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41404 done
41406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41407 $as_echo_n "checking how to link with libiconv... " >&6; }
41408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41409 $as_echo "$LIBICONV" >&6; }
41410 else
41411 LIBICONV=
41412 LTLIBICONV=
41417 if test "$am_cv_func_iconv" = yes; then
41418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41419 $as_echo_n "checking for iconv declaration... " >&6; }
41420 if ${am_cv_proto_iconv+:} false; then :
41421 $as_echo_n "(cached) " >&6
41422 else
41424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41425 /* end confdefs.h. */
41427 #include <stdlib.h>
41428 #include <iconv.h>
41429 extern
41430 #ifdef __cplusplus
41432 #endif
41433 #if defined(__STDC__) || defined(__cplusplus)
41434 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41435 #else
41436 size_t iconv();
41437 #endif
41440 main ()
41444 return 0;
41446 _ACEOF
41447 if ac_fn_c_try_compile "$LINENO"; then :
41448 am_cv_proto_iconv_arg1=""
41449 else
41450 am_cv_proto_iconv_arg1="const"
41452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41453 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);"
41456 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41458 }$am_cv_proto_iconv" >&5
41459 $as_echo "${ac_t:-
41460 }$am_cv_proto_iconv" >&6; }
41462 cat >>confdefs.h <<_ACEOF
41463 #define ICONV_CONST $am_cv_proto_iconv_arg1
41464 _ACEOF
41469 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41473 *-darwin*)
41474 # Darwin versions vary, but the linker should work in a cross environment,
41475 # so we just check for all the features here.
41476 # Check for available headers.
41478 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41480 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41481 ac_save_CXXFLAGS="$CXXFLAGS"
41482 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41485 $as_echo_n "checking for sin in -lm... " >&6; }
41486 if ${ac_cv_lib_m_sin+:} false; then :
41487 $as_echo_n "(cached) " >&6
41488 else
41489 ac_check_lib_save_LIBS=$LIBS
41490 LIBS="-lm $LIBS"
41491 if test x$gcc_no_link = xyes; then
41492 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41495 /* end confdefs.h. */
41497 /* Override any GCC internal prototype to avoid an error.
41498 Use char because int might match the return type of a GCC
41499 builtin and then its argument prototype would still apply. */
41500 #ifdef __cplusplus
41501 extern "C"
41502 #endif
41503 char sin ();
41505 main ()
41507 return sin ();
41509 return 0;
41511 _ACEOF
41512 if ac_fn_c_try_link "$LINENO"; then :
41513 ac_cv_lib_m_sin=yes
41514 else
41515 ac_cv_lib_m_sin=no
41517 rm -f core conftest.err conftest.$ac_objext \
41518 conftest$ac_exeext conftest.$ac_ext
41519 LIBS=$ac_check_lib_save_LIBS
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41522 $as_echo "$ac_cv_lib_m_sin" >&6; }
41523 if test "x$ac_cv_lib_m_sin" = xyes; then :
41524 libm="-lm"
41527 ac_save_LIBS="$LIBS"
41528 LIBS="$LIBS $libm"
41532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41533 $as_echo_n "checking for isinf declaration... " >&6; }
41534 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41535 if ${glibcxx_cv_func_isinf_use+:} false; then :
41536 $as_echo_n "(cached) " >&6
41537 else
41540 ac_ext=cpp
41541 ac_cpp='$CXXCPP $CPPFLAGS'
41542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41547 /* end confdefs.h. */
41548 #include <math.h>
41549 #ifdef HAVE_IEEEFP_H
41550 #include <ieeefp.h>
41551 #endif
41554 main ()
41556 isinf(0);
41558 return 0;
41560 _ACEOF
41561 if ac_fn_cxx_try_compile "$LINENO"; then :
41562 glibcxx_cv_func_isinf_use=yes
41563 else
41564 glibcxx_cv_func_isinf_use=no
41566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41567 ac_ext=c
41568 ac_cpp='$CPP $CPPFLAGS'
41569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41578 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41580 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41581 for ac_func in isinf
41582 do :
41583 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41584 if test "x$ac_cv_func_isinf" = xyes; then :
41585 cat >>confdefs.h <<_ACEOF
41586 #define HAVE_ISINF 1
41587 _ACEOF
41590 done
41592 else
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41595 $as_echo_n "checking for _isinf declaration... " >&6; }
41596 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41597 if ${glibcxx_cv_func__isinf_use+:} false; then :
41598 $as_echo_n "(cached) " >&6
41599 else
41602 ac_ext=cpp
41603 ac_cpp='$CXXCPP $CPPFLAGS'
41604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41609 /* end confdefs.h. */
41610 #include <math.h>
41611 #ifdef HAVE_IEEEFP_H
41612 #include <ieeefp.h>
41613 #endif
41616 main ()
41618 _isinf(0);
41620 return 0;
41622 _ACEOF
41623 if ac_fn_cxx_try_compile "$LINENO"; then :
41624 glibcxx_cv_func__isinf_use=yes
41625 else
41626 glibcxx_cv_func__isinf_use=no
41628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41629 ac_ext=c
41630 ac_cpp='$CPP $CPPFLAGS'
41631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41640 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41642 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41643 for ac_func in _isinf
41644 do :
41645 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41646 if test "x$ac_cv_func__isinf" = xyes; then :
41647 cat >>confdefs.h <<_ACEOF
41648 #define HAVE__ISINF 1
41649 _ACEOF
41652 done
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41662 $as_echo_n "checking for isnan declaration... " >&6; }
41663 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41664 if ${glibcxx_cv_func_isnan_use+:} false; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41678 #ifdef HAVE_IEEEFP_H
41679 #include <ieeefp.h>
41680 #endif
41683 main ()
41685 isnan(0);
41687 return 0;
41689 _ACEOF
41690 if ac_fn_cxx_try_compile "$LINENO"; then :
41691 glibcxx_cv_func_isnan_use=yes
41692 else
41693 glibcxx_cv_func_isnan_use=no
41695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41707 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41709 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41710 for ac_func in isnan
41711 do :
41712 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41713 if test "x$ac_cv_func_isnan" = xyes; then :
41714 cat >>confdefs.h <<_ACEOF
41715 #define HAVE_ISNAN 1
41716 _ACEOF
41719 done
41721 else
41723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41724 $as_echo_n "checking for _isnan declaration... " >&6; }
41725 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41726 if ${glibcxx_cv_func__isnan_use+:} false; then :
41727 $as_echo_n "(cached) " >&6
41728 else
41731 ac_ext=cpp
41732 ac_cpp='$CXXCPP $CPPFLAGS'
41733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41738 /* end confdefs.h. */
41739 #include <math.h>
41740 #ifdef HAVE_IEEEFP_H
41741 #include <ieeefp.h>
41742 #endif
41745 main ()
41747 _isnan(0);
41749 return 0;
41751 _ACEOF
41752 if ac_fn_cxx_try_compile "$LINENO"; then :
41753 glibcxx_cv_func__isnan_use=yes
41754 else
41755 glibcxx_cv_func__isnan_use=no
41757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41758 ac_ext=c
41759 ac_cpp='$CPP $CPPFLAGS'
41760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41769 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41771 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41772 for ac_func in _isnan
41773 do :
41774 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41775 if test "x$ac_cv_func__isnan" = xyes; then :
41776 cat >>confdefs.h <<_ACEOF
41777 #define HAVE__ISNAN 1
41778 _ACEOF
41781 done
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41791 $as_echo_n "checking for finite declaration... " >&6; }
41792 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41793 if ${glibcxx_cv_func_finite_use+:} false; then :
41794 $as_echo_n "(cached) " >&6
41795 else
41798 ac_ext=cpp
41799 ac_cpp='$CXXCPP $CPPFLAGS'
41800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41805 /* end confdefs.h. */
41806 #include <math.h>
41807 #ifdef HAVE_IEEEFP_H
41808 #include <ieeefp.h>
41809 #endif
41812 main ()
41814 finite(0);
41816 return 0;
41818 _ACEOF
41819 if ac_fn_cxx_try_compile "$LINENO"; then :
41820 glibcxx_cv_func_finite_use=yes
41821 else
41822 glibcxx_cv_func_finite_use=no
41824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41825 ac_ext=c
41826 ac_cpp='$CPP $CPPFLAGS'
41827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41836 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41838 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41839 for ac_func in finite
41840 do :
41841 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41842 if test "x$ac_cv_func_finite" = xyes; then :
41843 cat >>confdefs.h <<_ACEOF
41844 #define HAVE_FINITE 1
41845 _ACEOF
41848 done
41850 else
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41853 $as_echo_n "checking for _finite declaration... " >&6; }
41854 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41855 if ${glibcxx_cv_func__finite_use+:} false; then :
41856 $as_echo_n "(cached) " >&6
41857 else
41860 ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h. */
41868 #include <math.h>
41869 #ifdef HAVE_IEEEFP_H
41870 #include <ieeefp.h>
41871 #endif
41874 main ()
41876 _finite(0);
41878 return 0;
41880 _ACEOF
41881 if ac_fn_cxx_try_compile "$LINENO"; then :
41882 glibcxx_cv_func__finite_use=yes
41883 else
41884 glibcxx_cv_func__finite_use=no
41886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41887 ac_ext=c
41888 ac_cpp='$CPP $CPPFLAGS'
41889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41898 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41900 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41901 for ac_func in _finite
41902 do :
41903 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41904 if test "x$ac_cv_func__finite" = xyes; then :
41905 cat >>confdefs.h <<_ACEOF
41906 #define HAVE__FINITE 1
41907 _ACEOF
41910 done
41919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41920 $as_echo_n "checking for sincos declaration... " >&6; }
41921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41922 if ${glibcxx_cv_func_sincos_use+:} false; then :
41923 $as_echo_n "(cached) " >&6
41924 else
41927 ac_ext=cpp
41928 ac_cpp='$CXXCPP $CPPFLAGS'
41929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41934 /* end confdefs.h. */
41935 #include <math.h>
41937 main ()
41939 sincos(0, 0, 0);
41941 return 0;
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func_sincos_use=yes
41946 else
41947 glibcxx_cv_func_sincos_use=no
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41961 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41963 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41964 for ac_func in sincos
41965 do :
41966 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41967 if test "x$ac_cv_func_sincos" = xyes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE_SINCOS 1
41970 _ACEOF
41973 done
41975 else
41977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41978 $as_echo_n "checking for _sincos declaration... " >&6; }
41979 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41980 if ${glibcxx_cv_func__sincos_use+:} false; then :
41981 $as_echo_n "(cached) " >&6
41982 else
41985 ac_ext=cpp
41986 ac_cpp='$CXXCPP $CPPFLAGS'
41987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41992 /* end confdefs.h. */
41993 #include <math.h>
41995 main ()
41997 _sincos(0, 0, 0);
41999 return 0;
42001 _ACEOF
42002 if ac_fn_cxx_try_compile "$LINENO"; then :
42003 glibcxx_cv_func__sincos_use=yes
42004 else
42005 glibcxx_cv_func__sincos_use=no
42007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42008 ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42019 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42021 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42022 for ac_func in _sincos
42023 do :
42024 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42025 if test "x$ac_cv_func__sincos" = xyes; then :
42026 cat >>confdefs.h <<_ACEOF
42027 #define HAVE__SINCOS 1
42028 _ACEOF
42031 done
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42041 $as_echo_n "checking for fpclass declaration... " >&6; }
42042 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42043 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42057 #ifdef HAVE_IEEEFP_H
42058 #include <ieeefp.h>
42059 #endif
42062 main ()
42064 fpclass(0);
42066 return 0;
42068 _ACEOF
42069 if ac_fn_cxx_try_compile "$LINENO"; then :
42070 glibcxx_cv_func_fpclass_use=yes
42071 else
42072 glibcxx_cv_func_fpclass_use=no
42074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42075 ac_ext=c
42076 ac_cpp='$CPP $CPPFLAGS'
42077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42086 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42088 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42089 for ac_func in fpclass
42090 do :
42091 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42092 if test "x$ac_cv_func_fpclass" = xyes; then :
42093 cat >>confdefs.h <<_ACEOF
42094 #define HAVE_FPCLASS 1
42095 _ACEOF
42098 done
42100 else
42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42103 $as_echo_n "checking for _fpclass declaration... " >&6; }
42104 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42105 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42119 #ifdef HAVE_IEEEFP_H
42120 #include <ieeefp.h>
42121 #endif
42124 main ()
42126 _fpclass(0);
42128 return 0;
42130 _ACEOF
42131 if ac_fn_cxx_try_compile "$LINENO"; then :
42132 glibcxx_cv_func__fpclass_use=yes
42133 else
42134 glibcxx_cv_func__fpclass_use=no
42136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42137 ac_ext=c
42138 ac_cpp='$CPP $CPPFLAGS'
42139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42148 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42150 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42151 for ac_func in _fpclass
42152 do :
42153 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42154 if test "x$ac_cv_func__fpclass" = xyes; then :
42155 cat >>confdefs.h <<_ACEOF
42156 #define HAVE__FPCLASS 1
42157 _ACEOF
42160 done
42169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42170 $as_echo_n "checking for qfpclass declaration... " >&6; }
42171 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42172 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42173 $as_echo_n "(cached) " >&6
42174 else
42177 ac_ext=cpp
42178 ac_cpp='$CXXCPP $CPPFLAGS'
42179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <math.h>
42186 #ifdef HAVE_IEEEFP_H
42187 #include <ieeefp.h>
42188 #endif
42191 main ()
42193 qfpclass(0);
42195 return 0;
42197 _ACEOF
42198 if ac_fn_cxx_try_compile "$LINENO"; then :
42199 glibcxx_cv_func_qfpclass_use=yes
42200 else
42201 glibcxx_cv_func_qfpclass_use=no
42203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42204 ac_ext=c
42205 ac_cpp='$CPP $CPPFLAGS'
42206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42215 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42217 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42218 for ac_func in qfpclass
42219 do :
42220 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42221 if test "x$ac_cv_func_qfpclass" = xyes; then :
42222 cat >>confdefs.h <<_ACEOF
42223 #define HAVE_QFPCLASS 1
42224 _ACEOF
42227 done
42229 else
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42232 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42233 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42234 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42235 $as_echo_n "(cached) " >&6
42236 else
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h. */
42247 #include <math.h>
42248 #ifdef HAVE_IEEEFP_H
42249 #include <ieeefp.h>
42250 #endif
42253 main ()
42255 _qfpclass(0);
42257 return 0;
42259 _ACEOF
42260 if ac_fn_cxx_try_compile "$LINENO"; then :
42261 glibcxx_cv_func__qfpclass_use=yes
42262 else
42263 glibcxx_cv_func__qfpclass_use=no
42265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42266 ac_ext=c
42267 ac_cpp='$CPP $CPPFLAGS'
42268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42277 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42279 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42280 for ac_func in _qfpclass
42281 do :
42282 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42283 if test "x$ac_cv_func__qfpclass" = xyes; then :
42284 cat >>confdefs.h <<_ACEOF
42285 #define HAVE__QFPCLASS 1
42286 _ACEOF
42289 done
42298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42299 $as_echo_n "checking for hypot declaration... " >&6; }
42300 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42301 if ${glibcxx_cv_func_hypot_use+:} false; then :
42302 $as_echo_n "(cached) " >&6
42303 else
42306 ac_ext=cpp
42307 ac_cpp='$CXXCPP $CPPFLAGS'
42308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42313 /* end confdefs.h. */
42314 #include <math.h>
42316 main ()
42318 hypot(0, 0);
42320 return 0;
42322 _ACEOF
42323 if ac_fn_cxx_try_compile "$LINENO"; then :
42324 glibcxx_cv_func_hypot_use=yes
42325 else
42326 glibcxx_cv_func_hypot_use=no
42328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42329 ac_ext=c
42330 ac_cpp='$CPP $CPPFLAGS'
42331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42340 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42342 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42343 for ac_func in hypot
42344 do :
42345 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42346 if test "x$ac_cv_func_hypot" = xyes; then :
42347 cat >>confdefs.h <<_ACEOF
42348 #define HAVE_HYPOT 1
42349 _ACEOF
42352 done
42354 else
42356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42357 $as_echo_n "checking for _hypot declaration... " >&6; }
42358 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42359 if ${glibcxx_cv_func__hypot_use+:} false; then :
42360 $as_echo_n "(cached) " >&6
42361 else
42364 ac_ext=cpp
42365 ac_cpp='$CXXCPP $CPPFLAGS'
42366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42371 /* end confdefs.h. */
42372 #include <math.h>
42374 main ()
42376 _hypot(0, 0);
42378 return 0;
42380 _ACEOF
42381 if ac_fn_cxx_try_compile "$LINENO"; then :
42382 glibcxx_cv_func__hypot_use=yes
42383 else
42384 glibcxx_cv_func__hypot_use=no
42386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42387 ac_ext=c
42388 ac_cpp='$CPP $CPPFLAGS'
42389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42398 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42401 for ac_func in _hypot
42402 do :
42403 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42404 if test "x$ac_cv_func__hypot" = xyes; then :
42405 cat >>confdefs.h <<_ACEOF
42406 #define HAVE__HYPOT 1
42407 _ACEOF
42410 done
42419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42420 $as_echo_n "checking for float trig functions... " >&6; }
42421 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42422 $as_echo_n "(cached) " >&6
42423 else
42426 ac_ext=cpp
42427 ac_cpp='$CXXCPP $CPPFLAGS'
42428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42433 /* end confdefs.h. */
42434 #include <math.h>
42436 main ()
42438 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42440 return 0;
42442 _ACEOF
42443 if ac_fn_cxx_try_compile "$LINENO"; then :
42444 glibcxx_cv_func_float_trig_use=yes
42445 else
42446 glibcxx_cv_func_float_trig_use=no
42448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42449 ac_ext=c
42450 ac_cpp='$CPP $CPPFLAGS'
42451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42458 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42459 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42460 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42461 do :
42462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42464 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42465 cat >>confdefs.h <<_ACEOF
42466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42467 _ACEOF
42470 done
42472 else
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42474 $as_echo_n "checking for _float trig functions... " >&6; }
42475 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42476 $as_echo_n "(cached) " >&6
42477 else
42480 ac_ext=cpp
42481 ac_cpp='$CXXCPP $CPPFLAGS'
42482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42487 /* end confdefs.h. */
42488 #include <math.h>
42490 main ()
42492 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42494 return 0;
42496 _ACEOF
42497 if ac_fn_cxx_try_compile "$LINENO"; then :
42498 glibcxx_cv_func__float_trig_use=yes
42499 else
42500 glibcxx_cv_func__float_trig_use=no
42502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42503 ac_ext=c
42504 ac_cpp='$CPP $CPPFLAGS'
42505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42512 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42513 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42514 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42515 do :
42516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42519 cat >>confdefs.h <<_ACEOF
42520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42521 _ACEOF
42524 done
42533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42534 $as_echo_n "checking for float round functions... " >&6; }
42535 if ${glibcxx_cv_func_float_round_use+:} false; then :
42536 $as_echo_n "(cached) " >&6
42537 else
42540 ac_ext=cpp
42541 ac_cpp='$CXXCPP $CPPFLAGS'
42542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42547 /* end confdefs.h. */
42548 #include <math.h>
42550 main ()
42552 ceilf (0); floorf (0);
42554 return 0;
42556 _ACEOF
42557 if ac_fn_cxx_try_compile "$LINENO"; then :
42558 glibcxx_cv_func_float_round_use=yes
42559 else
42560 glibcxx_cv_func_float_round_use=no
42562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42563 ac_ext=c
42564 ac_cpp='$CPP $CPPFLAGS'
42565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42572 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42573 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42574 for ac_func in ceilf floorf
42575 do :
42576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42578 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42579 cat >>confdefs.h <<_ACEOF
42580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42581 _ACEOF
42584 done
42586 else
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42588 $as_echo_n "checking for _float round functions... " >&6; }
42589 if ${glibcxx_cv_func__float_round_use+:} false; then :
42590 $as_echo_n "(cached) " >&6
42591 else
42594 ac_ext=cpp
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42601 /* end confdefs.h. */
42602 #include <math.h>
42604 main ()
42606 _ceilf (0); _floorf (0);
42608 return 0;
42610 _ACEOF
42611 if ac_fn_cxx_try_compile "$LINENO"; then :
42612 glibcxx_cv_func__float_round_use=yes
42613 else
42614 glibcxx_cv_func__float_round_use=no
42616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42617 ac_ext=c
42618 ac_cpp='$CPP $CPPFLAGS'
42619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42626 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42627 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42628 for ac_func in _ceilf _floorf
42629 do :
42630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42633 cat >>confdefs.h <<_ACEOF
42634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42635 _ACEOF
42638 done
42648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42649 $as_echo_n "checking for expf declaration... " >&6; }
42650 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42651 if ${glibcxx_cv_func_expf_use+:} false; then :
42652 $as_echo_n "(cached) " >&6
42653 else
42656 ac_ext=cpp
42657 ac_cpp='$CXXCPP $CPPFLAGS'
42658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42663 /* end confdefs.h. */
42664 #include <math.h>
42665 #ifdef HAVE_IEEEFP_H
42666 #include <ieeefp.h>
42667 #endif
42670 main ()
42672 expf(0);
42674 return 0;
42676 _ACEOF
42677 if ac_fn_cxx_try_compile "$LINENO"; then :
42678 glibcxx_cv_func_expf_use=yes
42679 else
42680 glibcxx_cv_func_expf_use=no
42682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42683 ac_ext=c
42684 ac_cpp='$CPP $CPPFLAGS'
42685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42694 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42696 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42697 for ac_func in expf
42698 do :
42699 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42700 if test "x$ac_cv_func_expf" = xyes; then :
42701 cat >>confdefs.h <<_ACEOF
42702 #define HAVE_EXPF 1
42703 _ACEOF
42706 done
42708 else
42710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42711 $as_echo_n "checking for _expf declaration... " >&6; }
42712 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42713 if ${glibcxx_cv_func__expf_use+:} false; then :
42714 $as_echo_n "(cached) " >&6
42715 else
42718 ac_ext=cpp
42719 ac_cpp='$CXXCPP $CPPFLAGS'
42720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42725 /* end confdefs.h. */
42726 #include <math.h>
42727 #ifdef HAVE_IEEEFP_H
42728 #include <ieeefp.h>
42729 #endif
42732 main ()
42734 _expf(0);
42736 return 0;
42738 _ACEOF
42739 if ac_fn_cxx_try_compile "$LINENO"; then :
42740 glibcxx_cv_func__expf_use=yes
42741 else
42742 glibcxx_cv_func__expf_use=no
42744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42745 ac_ext=c
42746 ac_cpp='$CPP $CPPFLAGS'
42747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42756 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42758 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42759 for ac_func in _expf
42760 do :
42761 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42762 if test "x$ac_cv_func__expf" = xyes; then :
42763 cat >>confdefs.h <<_ACEOF
42764 #define HAVE__EXPF 1
42765 _ACEOF
42768 done
42777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42778 $as_echo_n "checking for isnanf declaration... " >&6; }
42779 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42780 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42781 $as_echo_n "(cached) " >&6
42782 else
42785 ac_ext=cpp
42786 ac_cpp='$CXXCPP $CPPFLAGS'
42787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42792 /* end confdefs.h. */
42793 #include <math.h>
42794 #ifdef HAVE_IEEEFP_H
42795 #include <ieeefp.h>
42796 #endif
42799 main ()
42801 isnanf(0);
42803 return 0;
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func_isnanf_use=yes
42808 else
42809 glibcxx_cv_func_isnanf_use=no
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42823 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42825 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42826 for ac_func in isnanf
42827 do :
42828 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42829 if test "x$ac_cv_func_isnanf" = xyes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE_ISNANF 1
42832 _ACEOF
42835 done
42837 else
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42840 $as_echo_n "checking for _isnanf declaration... " >&6; }
42841 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42842 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42843 $as_echo_n "(cached) " >&6
42844 else
42847 ac_ext=cpp
42848 ac_cpp='$CXXCPP $CPPFLAGS'
42849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42854 /* end confdefs.h. */
42855 #include <math.h>
42856 #ifdef HAVE_IEEEFP_H
42857 #include <ieeefp.h>
42858 #endif
42861 main ()
42863 _isnanf(0);
42865 return 0;
42867 _ACEOF
42868 if ac_fn_cxx_try_compile "$LINENO"; then :
42869 glibcxx_cv_func__isnanf_use=yes
42870 else
42871 glibcxx_cv_func__isnanf_use=no
42873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42874 ac_ext=c
42875 ac_cpp='$CPP $CPPFLAGS'
42876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42885 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42887 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42888 for ac_func in _isnanf
42889 do :
42890 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42891 if test "x$ac_cv_func__isnanf" = xyes; then :
42892 cat >>confdefs.h <<_ACEOF
42893 #define HAVE__ISNANF 1
42894 _ACEOF
42897 done
42906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42907 $as_echo_n "checking for isinff declaration... " >&6; }
42908 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42909 if ${glibcxx_cv_func_isinff_use+:} false; then :
42910 $as_echo_n "(cached) " >&6
42911 else
42914 ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h. */
42922 #include <math.h>
42923 #ifdef HAVE_IEEEFP_H
42924 #include <ieeefp.h>
42925 #endif
42928 main ()
42930 isinff(0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func_isinff_use=yes
42937 else
42938 glibcxx_cv_func_isinff_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42952 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42954 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42955 for ac_func in isinff
42956 do :
42957 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42958 if test "x$ac_cv_func_isinff" = xyes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE_ISINFF 1
42961 _ACEOF
42964 done
42966 else
42968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42969 $as_echo_n "checking for _isinff declaration... " >&6; }
42970 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42971 if ${glibcxx_cv_func__isinff_use+:} false; then :
42972 $as_echo_n "(cached) " >&6
42973 else
42976 ac_ext=cpp
42977 ac_cpp='$CXXCPP $CPPFLAGS'
42978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42983 /* end confdefs.h. */
42984 #include <math.h>
42985 #ifdef HAVE_IEEEFP_H
42986 #include <ieeefp.h>
42987 #endif
42990 main ()
42992 _isinff(0);
42994 return 0;
42996 _ACEOF
42997 if ac_fn_cxx_try_compile "$LINENO"; then :
42998 glibcxx_cv_func__isinff_use=yes
42999 else
43000 glibcxx_cv_func__isinff_use=no
43002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43003 ac_ext=c
43004 ac_cpp='$CPP $CPPFLAGS'
43005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43014 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43016 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43017 for ac_func in _isinff
43018 do :
43019 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43020 if test "x$ac_cv_func__isinff" = xyes; then :
43021 cat >>confdefs.h <<_ACEOF
43022 #define HAVE__ISINFF 1
43023 _ACEOF
43026 done
43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43036 $as_echo_n "checking for atan2f declaration... " >&6; }
43037 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43038 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43039 $as_echo_n "(cached) " >&6
43040 else
43043 ac_ext=cpp
43044 ac_cpp='$CXXCPP $CPPFLAGS'
43045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43050 /* end confdefs.h. */
43051 #include <math.h>
43053 main ()
43055 atan2f(0, 0);
43057 return 0;
43059 _ACEOF
43060 if ac_fn_cxx_try_compile "$LINENO"; then :
43061 glibcxx_cv_func_atan2f_use=yes
43062 else
43063 glibcxx_cv_func_atan2f_use=no
43065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43066 ac_ext=c
43067 ac_cpp='$CPP $CPPFLAGS'
43068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43077 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43079 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43080 for ac_func in atan2f
43081 do :
43082 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43083 if test "x$ac_cv_func_atan2f" = xyes; then :
43084 cat >>confdefs.h <<_ACEOF
43085 #define HAVE_ATAN2F 1
43086 _ACEOF
43089 done
43091 else
43093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43094 $as_echo_n "checking for _atan2f declaration... " >&6; }
43095 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43096 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43097 $as_echo_n "(cached) " >&6
43098 else
43101 ac_ext=cpp
43102 ac_cpp='$CXXCPP $CPPFLAGS'
43103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43108 /* end confdefs.h. */
43109 #include <math.h>
43111 main ()
43113 _atan2f(0, 0);
43115 return 0;
43117 _ACEOF
43118 if ac_fn_cxx_try_compile "$LINENO"; then :
43119 glibcxx_cv_func__atan2f_use=yes
43120 else
43121 glibcxx_cv_func__atan2f_use=no
43123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43124 ac_ext=c
43125 ac_cpp='$CPP $CPPFLAGS'
43126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43135 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43137 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43138 for ac_func in _atan2f
43139 do :
43140 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43141 if test "x$ac_cv_func__atan2f" = xyes; then :
43142 cat >>confdefs.h <<_ACEOF
43143 #define HAVE__ATAN2F 1
43144 _ACEOF
43147 done
43156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43157 $as_echo_n "checking for fabsf declaration... " >&6; }
43158 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43159 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43160 $as_echo_n "(cached) " >&6
43161 else
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43171 /* end confdefs.h. */
43172 #include <math.h>
43173 #ifdef HAVE_IEEEFP_H
43174 #include <ieeefp.h>
43175 #endif
43178 main ()
43180 fabsf(0);
43182 return 0;
43184 _ACEOF
43185 if ac_fn_cxx_try_compile "$LINENO"; then :
43186 glibcxx_cv_func_fabsf_use=yes
43187 else
43188 glibcxx_cv_func_fabsf_use=no
43190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43191 ac_ext=c
43192 ac_cpp='$CPP $CPPFLAGS'
43193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43202 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43204 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43205 for ac_func in fabsf
43206 do :
43207 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43208 if test "x$ac_cv_func_fabsf" = xyes; then :
43209 cat >>confdefs.h <<_ACEOF
43210 #define HAVE_FABSF 1
43211 _ACEOF
43214 done
43216 else
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43219 $as_echo_n "checking for _fabsf declaration... " >&6; }
43220 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43221 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43222 $as_echo_n "(cached) " >&6
43223 else
43226 ac_ext=cpp
43227 ac_cpp='$CXXCPP $CPPFLAGS'
43228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43233 /* end confdefs.h. */
43234 #include <math.h>
43235 #ifdef HAVE_IEEEFP_H
43236 #include <ieeefp.h>
43237 #endif
43240 main ()
43242 _fabsf(0);
43244 return 0;
43246 _ACEOF
43247 if ac_fn_cxx_try_compile "$LINENO"; then :
43248 glibcxx_cv_func__fabsf_use=yes
43249 else
43250 glibcxx_cv_func__fabsf_use=no
43252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43253 ac_ext=c
43254 ac_cpp='$CPP $CPPFLAGS'
43255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43264 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43266 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43267 for ac_func in _fabsf
43268 do :
43269 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43270 if test "x$ac_cv_func__fabsf" = xyes; then :
43271 cat >>confdefs.h <<_ACEOF
43272 #define HAVE__FABSF 1
43273 _ACEOF
43276 done
43285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43286 $as_echo_n "checking for fmodf declaration... " >&6; }
43287 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43288 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43289 $as_echo_n "(cached) " >&6
43290 else
43293 ac_ext=cpp
43294 ac_cpp='$CXXCPP $CPPFLAGS'
43295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43300 /* end confdefs.h. */
43301 #include <math.h>
43303 main ()
43305 fmodf(0, 0);
43307 return 0;
43309 _ACEOF
43310 if ac_fn_cxx_try_compile "$LINENO"; then :
43311 glibcxx_cv_func_fmodf_use=yes
43312 else
43313 glibcxx_cv_func_fmodf_use=no
43315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43316 ac_ext=c
43317 ac_cpp='$CPP $CPPFLAGS'
43318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43327 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43329 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43330 for ac_func in fmodf
43331 do :
43332 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43333 if test "x$ac_cv_func_fmodf" = xyes; then :
43334 cat >>confdefs.h <<_ACEOF
43335 #define HAVE_FMODF 1
43336 _ACEOF
43339 done
43341 else
43343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43344 $as_echo_n "checking for _fmodf declaration... " >&6; }
43345 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43346 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43347 $as_echo_n "(cached) " >&6
43348 else
43351 ac_ext=cpp
43352 ac_cpp='$CXXCPP $CPPFLAGS'
43353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43358 /* end confdefs.h. */
43359 #include <math.h>
43361 main ()
43363 _fmodf(0, 0);
43365 return 0;
43367 _ACEOF
43368 if ac_fn_cxx_try_compile "$LINENO"; then :
43369 glibcxx_cv_func__fmodf_use=yes
43370 else
43371 glibcxx_cv_func__fmodf_use=no
43373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43374 ac_ext=c
43375 ac_cpp='$CPP $CPPFLAGS'
43376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43385 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43387 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43388 for ac_func in _fmodf
43389 do :
43390 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43391 if test "x$ac_cv_func__fmodf" = xyes; then :
43392 cat >>confdefs.h <<_ACEOF
43393 #define HAVE__FMODF 1
43394 _ACEOF
43397 done
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43407 $as_echo_n "checking for frexpf declaration... " >&6; }
43408 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43409 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43424 main ()
43426 frexpf(0, 0);
43428 return 0;
43430 _ACEOF
43431 if ac_fn_cxx_try_compile "$LINENO"; then :
43432 glibcxx_cv_func_frexpf_use=yes
43433 else
43434 glibcxx_cv_func_frexpf_use=no
43436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43437 ac_ext=c
43438 ac_cpp='$CPP $CPPFLAGS'
43439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43448 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43450 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43451 for ac_func in frexpf
43452 do :
43453 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43454 if test "x$ac_cv_func_frexpf" = xyes; then :
43455 cat >>confdefs.h <<_ACEOF
43456 #define HAVE_FREXPF 1
43457 _ACEOF
43460 done
43462 else
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43465 $as_echo_n "checking for _frexpf declaration... " >&6; }
43466 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43467 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43468 $as_echo_n "(cached) " >&6
43469 else
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43480 #include <math.h>
43482 main ()
43484 _frexpf(0, 0);
43486 return 0;
43488 _ACEOF
43489 if ac_fn_cxx_try_compile "$LINENO"; then :
43490 glibcxx_cv_func__frexpf_use=yes
43491 else
43492 glibcxx_cv_func__frexpf_use=no
43494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43495 ac_ext=c
43496 ac_cpp='$CPP $CPPFLAGS'
43497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43506 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43508 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43509 for ac_func in _frexpf
43510 do :
43511 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43512 if test "x$ac_cv_func__frexpf" = xyes; then :
43513 cat >>confdefs.h <<_ACEOF
43514 #define HAVE__FREXPF 1
43515 _ACEOF
43518 done
43527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43528 $as_echo_n "checking for hypotf declaration... " >&6; }
43529 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43530 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43531 $as_echo_n "(cached) " >&6
43532 else
43535 ac_ext=cpp
43536 ac_cpp='$CXXCPP $CPPFLAGS'
43537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43542 /* end confdefs.h. */
43543 #include <math.h>
43545 main ()
43547 hypotf(0, 0);
43549 return 0;
43551 _ACEOF
43552 if ac_fn_cxx_try_compile "$LINENO"; then :
43553 glibcxx_cv_func_hypotf_use=yes
43554 else
43555 glibcxx_cv_func_hypotf_use=no
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558 ac_ext=c
43559 ac_cpp='$CPP $CPPFLAGS'
43560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43569 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43571 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43572 for ac_func in hypotf
43573 do :
43574 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43575 if test "x$ac_cv_func_hypotf" = xyes; then :
43576 cat >>confdefs.h <<_ACEOF
43577 #define HAVE_HYPOTF 1
43578 _ACEOF
43581 done
43583 else
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43586 $as_echo_n "checking for _hypotf declaration... " >&6; }
43587 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43588 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43589 $as_echo_n "(cached) " >&6
43590 else
43593 ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h. */
43601 #include <math.h>
43603 main ()
43605 _hypotf(0, 0);
43607 return 0;
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func__hypotf_use=yes
43612 else
43613 glibcxx_cv_func__hypotf_use=no
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43627 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43629 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43630 for ac_func in _hypotf
43631 do :
43632 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43633 if test "x$ac_cv_func__hypotf" = xyes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE__HYPOTF 1
43636 _ACEOF
43639 done
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43649 $as_echo_n "checking for ldexpf declaration... " >&6; }
43650 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43651 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43666 main ()
43668 ldexpf(0, 0);
43670 return 0;
43672 _ACEOF
43673 if ac_fn_cxx_try_compile "$LINENO"; then :
43674 glibcxx_cv_func_ldexpf_use=yes
43675 else
43676 glibcxx_cv_func_ldexpf_use=no
43678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43679 ac_ext=c
43680 ac_cpp='$CPP $CPPFLAGS'
43681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43690 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43692 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43693 for ac_func in ldexpf
43694 do :
43695 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43696 if test "x$ac_cv_func_ldexpf" = xyes; then :
43697 cat >>confdefs.h <<_ACEOF
43698 #define HAVE_LDEXPF 1
43699 _ACEOF
43702 done
43704 else
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43707 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43708 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43709 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43724 main ()
43726 _ldexpf(0, 0);
43728 return 0;
43730 _ACEOF
43731 if ac_fn_cxx_try_compile "$LINENO"; then :
43732 glibcxx_cv_func__ldexpf_use=yes
43733 else
43734 glibcxx_cv_func__ldexpf_use=no
43736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43737 ac_ext=c
43738 ac_cpp='$CPP $CPPFLAGS'
43739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43748 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43750 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43751 for ac_func in _ldexpf
43752 do :
43753 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43754 if test "x$ac_cv_func__ldexpf" = xyes; then :
43755 cat >>confdefs.h <<_ACEOF
43756 #define HAVE__LDEXPF 1
43757 _ACEOF
43760 done
43769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43770 $as_echo_n "checking for logf declaration... " >&6; }
43771 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43772 if ${glibcxx_cv_func_logf_use+:} false; then :
43773 $as_echo_n "(cached) " >&6
43774 else
43777 ac_ext=cpp
43778 ac_cpp='$CXXCPP $CPPFLAGS'
43779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43784 /* end confdefs.h. */
43785 #include <math.h>
43786 #ifdef HAVE_IEEEFP_H
43787 #include <ieeefp.h>
43788 #endif
43791 main ()
43793 logf(0);
43795 return 0;
43797 _ACEOF
43798 if ac_fn_cxx_try_compile "$LINENO"; then :
43799 glibcxx_cv_func_logf_use=yes
43800 else
43801 glibcxx_cv_func_logf_use=no
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804 ac_ext=c
43805 ac_cpp='$CPP $CPPFLAGS'
43806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43815 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43817 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43818 for ac_func in logf
43819 do :
43820 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43821 if test "x$ac_cv_func_logf" = xyes; then :
43822 cat >>confdefs.h <<_ACEOF
43823 #define HAVE_LOGF 1
43824 _ACEOF
43827 done
43829 else
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43832 $as_echo_n "checking for _logf declaration... " >&6; }
43833 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43834 if ${glibcxx_cv_func__logf_use+:} false; then :
43835 $as_echo_n "(cached) " >&6
43836 else
43839 ac_ext=cpp
43840 ac_cpp='$CXXCPP $CPPFLAGS'
43841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43846 /* end confdefs.h. */
43847 #include <math.h>
43848 #ifdef HAVE_IEEEFP_H
43849 #include <ieeefp.h>
43850 #endif
43853 main ()
43855 _logf(0);
43857 return 0;
43859 _ACEOF
43860 if ac_fn_cxx_try_compile "$LINENO"; then :
43861 glibcxx_cv_func__logf_use=yes
43862 else
43863 glibcxx_cv_func__logf_use=no
43865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43866 ac_ext=c
43867 ac_cpp='$CPP $CPPFLAGS'
43868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43877 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43879 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43880 for ac_func in _logf
43881 do :
43882 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43883 if test "x$ac_cv_func__logf" = xyes; then :
43884 cat >>confdefs.h <<_ACEOF
43885 #define HAVE__LOGF 1
43886 _ACEOF
43889 done
43898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43899 $as_echo_n "checking for log10f declaration... " >&6; }
43900 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43901 if ${glibcxx_cv_func_log10f_use+:} false; then :
43902 $as_echo_n "(cached) " >&6
43903 else
43906 ac_ext=cpp
43907 ac_cpp='$CXXCPP $CPPFLAGS'
43908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43913 /* end confdefs.h. */
43914 #include <math.h>
43915 #ifdef HAVE_IEEEFP_H
43916 #include <ieeefp.h>
43917 #endif
43920 main ()
43922 log10f(0);
43924 return 0;
43926 _ACEOF
43927 if ac_fn_cxx_try_compile "$LINENO"; then :
43928 glibcxx_cv_func_log10f_use=yes
43929 else
43930 glibcxx_cv_func_log10f_use=no
43932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43933 ac_ext=c
43934 ac_cpp='$CPP $CPPFLAGS'
43935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43944 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43946 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43947 for ac_func in log10f
43948 do :
43949 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43950 if test "x$ac_cv_func_log10f" = xyes; then :
43951 cat >>confdefs.h <<_ACEOF
43952 #define HAVE_LOG10F 1
43953 _ACEOF
43956 done
43958 else
43960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43961 $as_echo_n "checking for _log10f declaration... " >&6; }
43962 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43963 if ${glibcxx_cv_func__log10f_use+:} false; then :
43964 $as_echo_n "(cached) " >&6
43965 else
43968 ac_ext=cpp
43969 ac_cpp='$CXXCPP $CPPFLAGS'
43970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43975 /* end confdefs.h. */
43976 #include <math.h>
43977 #ifdef HAVE_IEEEFP_H
43978 #include <ieeefp.h>
43979 #endif
43982 main ()
43984 _log10f(0);
43986 return 0;
43988 _ACEOF
43989 if ac_fn_cxx_try_compile "$LINENO"; then :
43990 glibcxx_cv_func__log10f_use=yes
43991 else
43992 glibcxx_cv_func__log10f_use=no
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43995 ac_ext=c
43996 ac_cpp='$CPP $CPPFLAGS'
43997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44006 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44008 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44009 for ac_func in _log10f
44010 do :
44011 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44012 if test "x$ac_cv_func__log10f" = xyes; then :
44013 cat >>confdefs.h <<_ACEOF
44014 #define HAVE__LOG10F 1
44015 _ACEOF
44018 done
44027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44028 $as_echo_n "checking for modff declaration... " >&6; }
44029 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44030 if ${glibcxx_cv_func_modff_use+:} false; then :
44031 $as_echo_n "(cached) " >&6
44032 else
44035 ac_ext=cpp
44036 ac_cpp='$CXXCPP $CPPFLAGS'
44037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44042 /* end confdefs.h. */
44043 #include <math.h>
44045 main ()
44047 modff(0, 0);
44049 return 0;
44051 _ACEOF
44052 if ac_fn_cxx_try_compile "$LINENO"; then :
44053 glibcxx_cv_func_modff_use=yes
44054 else
44055 glibcxx_cv_func_modff_use=no
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058 ac_ext=c
44059 ac_cpp='$CPP $CPPFLAGS'
44060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44069 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44071 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44072 for ac_func in modff
44073 do :
44074 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44075 if test "x$ac_cv_func_modff" = xyes; then :
44076 cat >>confdefs.h <<_ACEOF
44077 #define HAVE_MODFF 1
44078 _ACEOF
44081 done
44083 else
44085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44086 $as_echo_n "checking for _modff declaration... " >&6; }
44087 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44088 if ${glibcxx_cv_func__modff_use+:} false; then :
44089 $as_echo_n "(cached) " >&6
44090 else
44093 ac_ext=cpp
44094 ac_cpp='$CXXCPP $CPPFLAGS'
44095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44100 /* end confdefs.h. */
44101 #include <math.h>
44103 main ()
44105 _modff(0, 0);
44107 return 0;
44109 _ACEOF
44110 if ac_fn_cxx_try_compile "$LINENO"; then :
44111 glibcxx_cv_func__modff_use=yes
44112 else
44113 glibcxx_cv_func__modff_use=no
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44116 ac_ext=c
44117 ac_cpp='$CPP $CPPFLAGS'
44118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44127 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44129 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44130 for ac_func in _modff
44131 do :
44132 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44133 if test "x$ac_cv_func__modff" = xyes; then :
44134 cat >>confdefs.h <<_ACEOF
44135 #define HAVE__MODFF 1
44136 _ACEOF
44139 done
44148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44149 $as_echo_n "checking for modf declaration... " >&6; }
44150 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44151 if ${glibcxx_cv_func_modf_use+:} false; then :
44152 $as_echo_n "(cached) " >&6
44153 else
44156 ac_ext=cpp
44157 ac_cpp='$CXXCPP $CPPFLAGS'
44158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44163 /* end confdefs.h. */
44164 #include <math.h>
44166 main ()
44168 modf(0, 0);
44170 return 0;
44172 _ACEOF
44173 if ac_fn_cxx_try_compile "$LINENO"; then :
44174 glibcxx_cv_func_modf_use=yes
44175 else
44176 glibcxx_cv_func_modf_use=no
44178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44179 ac_ext=c
44180 ac_cpp='$CPP $CPPFLAGS'
44181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44190 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44192 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44193 for ac_func in modf
44194 do :
44195 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44196 if test "x$ac_cv_func_modf" = xyes; then :
44197 cat >>confdefs.h <<_ACEOF
44198 #define HAVE_MODF 1
44199 _ACEOF
44202 done
44204 else
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44207 $as_echo_n "checking for _modf declaration... " >&6; }
44208 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44209 if ${glibcxx_cv_func__modf_use+:} false; then :
44210 $as_echo_n "(cached) " >&6
44211 else
44214 ac_ext=cpp
44215 ac_cpp='$CXXCPP $CPPFLAGS'
44216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44221 /* end confdefs.h. */
44222 #include <math.h>
44224 main ()
44226 _modf(0, 0);
44228 return 0;
44230 _ACEOF
44231 if ac_fn_cxx_try_compile "$LINENO"; then :
44232 glibcxx_cv_func__modf_use=yes
44233 else
44234 glibcxx_cv_func__modf_use=no
44236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44237 ac_ext=c
44238 ac_cpp='$CPP $CPPFLAGS'
44239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44248 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44250 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44251 for ac_func in _modf
44252 do :
44253 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44254 if test "x$ac_cv_func__modf" = xyes; then :
44255 cat >>confdefs.h <<_ACEOF
44256 #define HAVE__MODF 1
44257 _ACEOF
44260 done
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44270 $as_echo_n "checking for powf declaration... " >&6; }
44271 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44272 if ${glibcxx_cv_func_powf_use+:} false; then :
44273 $as_echo_n "(cached) " >&6
44274 else
44277 ac_ext=cpp
44278 ac_cpp='$CXXCPP $CPPFLAGS'
44279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44284 /* end confdefs.h. */
44285 #include <math.h>
44287 main ()
44289 powf(0, 0);
44291 return 0;
44293 _ACEOF
44294 if ac_fn_cxx_try_compile "$LINENO"; then :
44295 glibcxx_cv_func_powf_use=yes
44296 else
44297 glibcxx_cv_func_powf_use=no
44299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44300 ac_ext=c
44301 ac_cpp='$CPP $CPPFLAGS'
44302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44311 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44313 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44314 for ac_func in powf
44315 do :
44316 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44317 if test "x$ac_cv_func_powf" = xyes; then :
44318 cat >>confdefs.h <<_ACEOF
44319 #define HAVE_POWF 1
44320 _ACEOF
44323 done
44325 else
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44328 $as_echo_n "checking for _powf declaration... " >&6; }
44329 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44330 if ${glibcxx_cv_func__powf_use+:} false; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44345 main ()
44347 _powf(0, 0);
44349 return 0;
44351 _ACEOF
44352 if ac_fn_cxx_try_compile "$LINENO"; then :
44353 glibcxx_cv_func__powf_use=yes
44354 else
44355 glibcxx_cv_func__powf_use=no
44357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44358 ac_ext=c
44359 ac_cpp='$CPP $CPPFLAGS'
44360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44369 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44371 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44372 for ac_func in _powf
44373 do :
44374 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44375 if test "x$ac_cv_func__powf" = xyes; then :
44376 cat >>confdefs.h <<_ACEOF
44377 #define HAVE__POWF 1
44378 _ACEOF
44381 done
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44391 $as_echo_n "checking for sqrtf declaration... " >&6; }
44392 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44393 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44394 $as_echo_n "(cached) " >&6
44395 else
44398 ac_ext=cpp
44399 ac_cpp='$CXXCPP $CPPFLAGS'
44400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44405 /* end confdefs.h. */
44406 #include <math.h>
44407 #ifdef HAVE_IEEEFP_H
44408 #include <ieeefp.h>
44409 #endif
44412 main ()
44414 sqrtf(0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func_sqrtf_use=yes
44421 else
44422 glibcxx_cv_func_sqrtf_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44436 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44438 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44439 for ac_func in sqrtf
44440 do :
44441 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44442 if test "x$ac_cv_func_sqrtf" = xyes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE_SQRTF 1
44445 _ACEOF
44448 done
44450 else
44452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44453 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44454 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44455 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44456 $as_echo_n "(cached) " >&6
44457 else
44460 ac_ext=cpp
44461 ac_cpp='$CXXCPP $CPPFLAGS'
44462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44467 /* end confdefs.h. */
44468 #include <math.h>
44469 #ifdef HAVE_IEEEFP_H
44470 #include <ieeefp.h>
44471 #endif
44474 main ()
44476 _sqrtf(0);
44478 return 0;
44480 _ACEOF
44481 if ac_fn_cxx_try_compile "$LINENO"; then :
44482 glibcxx_cv_func__sqrtf_use=yes
44483 else
44484 glibcxx_cv_func__sqrtf_use=no
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 ac_ext=c
44488 ac_cpp='$CPP $CPPFLAGS'
44489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44498 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44500 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44501 for ac_func in _sqrtf
44502 do :
44503 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44504 if test "x$ac_cv_func__sqrtf" = xyes; then :
44505 cat >>confdefs.h <<_ACEOF
44506 #define HAVE__SQRTF 1
44507 _ACEOF
44510 done
44519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44520 $as_echo_n "checking for sincosf declaration... " >&6; }
44521 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44522 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44523 $as_echo_n "(cached) " >&6
44524 else
44527 ac_ext=cpp
44528 ac_cpp='$CXXCPP $CPPFLAGS'
44529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44534 /* end confdefs.h. */
44535 #include <math.h>
44537 main ()
44539 sincosf(0, 0, 0);
44541 return 0;
44543 _ACEOF
44544 if ac_fn_cxx_try_compile "$LINENO"; then :
44545 glibcxx_cv_func_sincosf_use=yes
44546 else
44547 glibcxx_cv_func_sincosf_use=no
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44550 ac_ext=c
44551 ac_cpp='$CPP $CPPFLAGS'
44552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44561 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44563 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44564 for ac_func in sincosf
44565 do :
44566 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44567 if test "x$ac_cv_func_sincosf" = xyes; then :
44568 cat >>confdefs.h <<_ACEOF
44569 #define HAVE_SINCOSF 1
44570 _ACEOF
44573 done
44575 else
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44578 $as_echo_n "checking for _sincosf declaration... " >&6; }
44579 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44580 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44595 main ()
44597 _sincosf(0, 0, 0);
44599 return 0;
44601 _ACEOF
44602 if ac_fn_cxx_try_compile "$LINENO"; then :
44603 glibcxx_cv_func__sincosf_use=yes
44604 else
44605 glibcxx_cv_func__sincosf_use=no
44607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44608 ac_ext=c
44609 ac_cpp='$CPP $CPPFLAGS'
44610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44619 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44621 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44622 for ac_func in _sincosf
44623 do :
44624 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44625 if test "x$ac_cv_func__sincosf" = xyes; then :
44626 cat >>confdefs.h <<_ACEOF
44627 #define HAVE__SINCOSF 1
44628 _ACEOF
44631 done
44640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44641 $as_echo_n "checking for finitef declaration... " >&6; }
44642 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44643 if ${glibcxx_cv_func_finitef_use+:} false; then :
44644 $as_echo_n "(cached) " >&6
44645 else
44648 ac_ext=cpp
44649 ac_cpp='$CXXCPP $CPPFLAGS'
44650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44655 /* end confdefs.h. */
44656 #include <math.h>
44657 #ifdef HAVE_IEEEFP_H
44658 #include <ieeefp.h>
44659 #endif
44662 main ()
44664 finitef(0);
44666 return 0;
44668 _ACEOF
44669 if ac_fn_cxx_try_compile "$LINENO"; then :
44670 glibcxx_cv_func_finitef_use=yes
44671 else
44672 glibcxx_cv_func_finitef_use=no
44674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44675 ac_ext=c
44676 ac_cpp='$CPP $CPPFLAGS'
44677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44686 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44688 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44689 for ac_func in finitef
44690 do :
44691 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44692 if test "x$ac_cv_func_finitef" = xyes; then :
44693 cat >>confdefs.h <<_ACEOF
44694 #define HAVE_FINITEF 1
44695 _ACEOF
44698 done
44700 else
44702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44703 $as_echo_n "checking for _finitef declaration... " >&6; }
44704 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44705 if ${glibcxx_cv_func__finitef_use+:} false; then :
44706 $as_echo_n "(cached) " >&6
44707 else
44710 ac_ext=cpp
44711 ac_cpp='$CXXCPP $CPPFLAGS'
44712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44717 /* end confdefs.h. */
44718 #include <math.h>
44719 #ifdef HAVE_IEEEFP_H
44720 #include <ieeefp.h>
44721 #endif
44724 main ()
44726 _finitef(0);
44728 return 0;
44730 _ACEOF
44731 if ac_fn_cxx_try_compile "$LINENO"; then :
44732 glibcxx_cv_func__finitef_use=yes
44733 else
44734 glibcxx_cv_func__finitef_use=no
44736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44737 ac_ext=c
44738 ac_cpp='$CPP $CPPFLAGS'
44739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44748 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44750 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44751 for ac_func in _finitef
44752 do :
44753 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44754 if test "x$ac_cv_func__finitef" = xyes; then :
44755 cat >>confdefs.h <<_ACEOF
44756 #define HAVE__FINITEF 1
44757 _ACEOF
44760 done
44769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44770 $as_echo_n "checking for long double trig functions... " >&6; }
44771 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44772 $as_echo_n "(cached) " >&6
44773 else
44776 ac_ext=cpp
44777 ac_cpp='$CXXCPP $CPPFLAGS'
44778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44783 /* end confdefs.h. */
44784 #include <math.h>
44786 main ()
44788 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44790 return 0;
44792 _ACEOF
44793 if ac_fn_cxx_try_compile "$LINENO"; then :
44794 glibcxx_cv_func_long_double_trig_use=yes
44795 else
44796 glibcxx_cv_func_long_double_trig_use=no
44798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44799 ac_ext=c
44800 ac_cpp='$CPP $CPPFLAGS'
44801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44808 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44809 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44810 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44811 do :
44812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44815 cat >>confdefs.h <<_ACEOF
44816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44817 _ACEOF
44820 done
44822 else
44823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44824 $as_echo_n "checking for _long double trig functions... " >&6; }
44825 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44826 $as_echo_n "(cached) " >&6
44827 else
44830 ac_ext=cpp
44831 ac_cpp='$CXXCPP $CPPFLAGS'
44832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44837 /* end confdefs.h. */
44838 #include <math.h>
44840 main ()
44842 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44844 return 0;
44846 _ACEOF
44847 if ac_fn_cxx_try_compile "$LINENO"; then :
44848 glibcxx_cv_func__long_double_trig_use=yes
44849 else
44850 glibcxx_cv_func__long_double_trig_use=no
44852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44853 ac_ext=c
44854 ac_cpp='$CPP $CPPFLAGS'
44855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44862 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44863 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44864 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44865 do :
44866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44868 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44869 cat >>confdefs.h <<_ACEOF
44870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44871 _ACEOF
44874 done
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44884 $as_echo_n "checking for long double round functions... " >&6; }
44885 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44886 $as_echo_n "(cached) " >&6
44887 else
44890 ac_ext=cpp
44891 ac_cpp='$CXXCPP $CPPFLAGS'
44892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44897 /* end confdefs.h. */
44898 #include <math.h>
44900 main ()
44902 ceill (0); floorl (0);
44904 return 0;
44906 _ACEOF
44907 if ac_fn_cxx_try_compile "$LINENO"; then :
44908 glibcxx_cv_func_long_double_round_use=yes
44909 else
44910 glibcxx_cv_func_long_double_round_use=no
44912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44913 ac_ext=c
44914 ac_cpp='$CPP $CPPFLAGS'
44915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44922 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44923 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44924 for ac_func in ceill floorl
44925 do :
44926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44928 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44931 _ACEOF
44934 done
44936 else
44937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44938 $as_echo_n "checking for _long double round functions... " >&6; }
44939 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44940 $as_echo_n "(cached) " >&6
44941 else
44944 ac_ext=cpp
44945 ac_cpp='$CXXCPP $CPPFLAGS'
44946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44951 /* end confdefs.h. */
44952 #include <math.h>
44954 main ()
44956 _ceill (0); _floorl (0);
44958 return 0;
44960 _ACEOF
44961 if ac_fn_cxx_try_compile "$LINENO"; then :
44962 glibcxx_cv_func__long_double_round_use=yes
44963 else
44964 glibcxx_cv_func__long_double_round_use=no
44966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44967 ac_ext=c
44968 ac_cpp='$CPP $CPPFLAGS'
44969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44976 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44977 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44978 for ac_func in _ceill _floorl
44979 do :
44980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44982 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44983 cat >>confdefs.h <<_ACEOF
44984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44985 _ACEOF
44988 done
44998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44999 $as_echo_n "checking for isnanl declaration... " >&6; }
45000 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45001 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45002 $as_echo_n "(cached) " >&6
45003 else
45006 ac_ext=cpp
45007 ac_cpp='$CXXCPP $CPPFLAGS'
45008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45013 /* end confdefs.h. */
45014 #include <math.h>
45015 #ifdef HAVE_IEEEFP_H
45016 #include <ieeefp.h>
45017 #endif
45020 main ()
45022 isnanl(0);
45024 return 0;
45026 _ACEOF
45027 if ac_fn_cxx_try_compile "$LINENO"; then :
45028 glibcxx_cv_func_isnanl_use=yes
45029 else
45030 glibcxx_cv_func_isnanl_use=no
45032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45033 ac_ext=c
45034 ac_cpp='$CPP $CPPFLAGS'
45035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45044 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45046 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45047 for ac_func in isnanl
45048 do :
45049 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45050 if test "x$ac_cv_func_isnanl" = xyes; then :
45051 cat >>confdefs.h <<_ACEOF
45052 #define HAVE_ISNANL 1
45053 _ACEOF
45056 done
45058 else
45060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45061 $as_echo_n "checking for _isnanl declaration... " >&6; }
45062 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45063 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45064 $as_echo_n "(cached) " >&6
45065 else
45068 ac_ext=cpp
45069 ac_cpp='$CXXCPP $CPPFLAGS'
45070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45075 /* end confdefs.h. */
45076 #include <math.h>
45077 #ifdef HAVE_IEEEFP_H
45078 #include <ieeefp.h>
45079 #endif
45082 main ()
45084 _isnanl(0);
45086 return 0;
45088 _ACEOF
45089 if ac_fn_cxx_try_compile "$LINENO"; then :
45090 glibcxx_cv_func__isnanl_use=yes
45091 else
45092 glibcxx_cv_func__isnanl_use=no
45094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45095 ac_ext=c
45096 ac_cpp='$CPP $CPPFLAGS'
45097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45106 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45108 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45109 for ac_func in _isnanl
45110 do :
45111 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45112 if test "x$ac_cv_func__isnanl" = xyes; then :
45113 cat >>confdefs.h <<_ACEOF
45114 #define HAVE__ISNANL 1
45115 _ACEOF
45118 done
45127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45128 $as_echo_n "checking for isinfl declaration... " >&6; }
45129 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45130 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45131 $as_echo_n "(cached) " >&6
45132 else
45135 ac_ext=cpp
45136 ac_cpp='$CXXCPP $CPPFLAGS'
45137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45142 /* end confdefs.h. */
45143 #include <math.h>
45144 #ifdef HAVE_IEEEFP_H
45145 #include <ieeefp.h>
45146 #endif
45149 main ()
45151 isinfl(0);
45153 return 0;
45155 _ACEOF
45156 if ac_fn_cxx_try_compile "$LINENO"; then :
45157 glibcxx_cv_func_isinfl_use=yes
45158 else
45159 glibcxx_cv_func_isinfl_use=no
45161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45162 ac_ext=c
45163 ac_cpp='$CPP $CPPFLAGS'
45164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45173 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45175 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45176 for ac_func in isinfl
45177 do :
45178 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45179 if test "x$ac_cv_func_isinfl" = xyes; then :
45180 cat >>confdefs.h <<_ACEOF
45181 #define HAVE_ISINFL 1
45182 _ACEOF
45185 done
45187 else
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45190 $as_echo_n "checking for _isinfl declaration... " >&6; }
45191 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45192 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45193 $as_echo_n "(cached) " >&6
45194 else
45197 ac_ext=cpp
45198 ac_cpp='$CXXCPP $CPPFLAGS'
45199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45204 /* end confdefs.h. */
45205 #include <math.h>
45206 #ifdef HAVE_IEEEFP_H
45207 #include <ieeefp.h>
45208 #endif
45211 main ()
45213 _isinfl(0);
45215 return 0;
45217 _ACEOF
45218 if ac_fn_cxx_try_compile "$LINENO"; then :
45219 glibcxx_cv_func__isinfl_use=yes
45220 else
45221 glibcxx_cv_func__isinfl_use=no
45223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45224 ac_ext=c
45225 ac_cpp='$CPP $CPPFLAGS'
45226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45235 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45237 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45238 for ac_func in _isinfl
45239 do :
45240 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45241 if test "x$ac_cv_func__isinfl" = xyes; then :
45242 cat >>confdefs.h <<_ACEOF
45243 #define HAVE__ISINFL 1
45244 _ACEOF
45247 done
45256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45257 $as_echo_n "checking for atan2l declaration... " >&6; }
45258 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45259 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45260 $as_echo_n "(cached) " >&6
45261 else
45264 ac_ext=cpp
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45271 /* end confdefs.h. */
45272 #include <math.h>
45274 main ()
45276 atan2l(0, 0);
45278 return 0;
45280 _ACEOF
45281 if ac_fn_cxx_try_compile "$LINENO"; then :
45282 glibcxx_cv_func_atan2l_use=yes
45283 else
45284 glibcxx_cv_func_atan2l_use=no
45286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45287 ac_ext=c
45288 ac_cpp='$CPP $CPPFLAGS'
45289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45298 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45300 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45301 for ac_func in atan2l
45302 do :
45303 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45304 if test "x$ac_cv_func_atan2l" = xyes; then :
45305 cat >>confdefs.h <<_ACEOF
45306 #define HAVE_ATAN2L 1
45307 _ACEOF
45310 done
45312 else
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45315 $as_echo_n "checking for _atan2l declaration... " >&6; }
45316 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45317 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45318 $as_echo_n "(cached) " >&6
45319 else
45322 ac_ext=cpp
45323 ac_cpp='$CXXCPP $CPPFLAGS'
45324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45329 /* end confdefs.h. */
45330 #include <math.h>
45332 main ()
45334 _atan2l(0, 0);
45336 return 0;
45338 _ACEOF
45339 if ac_fn_cxx_try_compile "$LINENO"; then :
45340 glibcxx_cv_func__atan2l_use=yes
45341 else
45342 glibcxx_cv_func__atan2l_use=no
45344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345 ac_ext=c
45346 ac_cpp='$CPP $CPPFLAGS'
45347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45356 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45358 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45359 for ac_func in _atan2l
45360 do :
45361 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45362 if test "x$ac_cv_func__atan2l" = xyes; then :
45363 cat >>confdefs.h <<_ACEOF
45364 #define HAVE__ATAN2L 1
45365 _ACEOF
45368 done
45377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45378 $as_echo_n "checking for expl declaration... " >&6; }
45379 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45380 if ${glibcxx_cv_func_expl_use+:} false; then :
45381 $as_echo_n "(cached) " >&6
45382 else
45385 ac_ext=cpp
45386 ac_cpp='$CXXCPP $CPPFLAGS'
45387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45392 /* end confdefs.h. */
45393 #include <math.h>
45394 #ifdef HAVE_IEEEFP_H
45395 #include <ieeefp.h>
45396 #endif
45399 main ()
45401 expl(0);
45403 return 0;
45405 _ACEOF
45406 if ac_fn_cxx_try_compile "$LINENO"; then :
45407 glibcxx_cv_func_expl_use=yes
45408 else
45409 glibcxx_cv_func_expl_use=no
45411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45412 ac_ext=c
45413 ac_cpp='$CPP $CPPFLAGS'
45414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45423 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45425 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45426 for ac_func in expl
45427 do :
45428 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45429 if test "x$ac_cv_func_expl" = xyes; then :
45430 cat >>confdefs.h <<_ACEOF
45431 #define HAVE_EXPL 1
45432 _ACEOF
45435 done
45437 else
45439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45440 $as_echo_n "checking for _expl declaration... " >&6; }
45441 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45442 if ${glibcxx_cv_func__expl_use+:} false; then :
45443 $as_echo_n "(cached) " >&6
45444 else
45447 ac_ext=cpp
45448 ac_cpp='$CXXCPP $CPPFLAGS'
45449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45454 /* end confdefs.h. */
45455 #include <math.h>
45456 #ifdef HAVE_IEEEFP_H
45457 #include <ieeefp.h>
45458 #endif
45461 main ()
45463 _expl(0);
45465 return 0;
45467 _ACEOF
45468 if ac_fn_cxx_try_compile "$LINENO"; then :
45469 glibcxx_cv_func__expl_use=yes
45470 else
45471 glibcxx_cv_func__expl_use=no
45473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45474 ac_ext=c
45475 ac_cpp='$CPP $CPPFLAGS'
45476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45485 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45487 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45488 for ac_func in _expl
45489 do :
45490 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45491 if test "x$ac_cv_func__expl" = xyes; then :
45492 cat >>confdefs.h <<_ACEOF
45493 #define HAVE__EXPL 1
45494 _ACEOF
45497 done
45506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45507 $as_echo_n "checking for fabsl declaration... " >&6; }
45508 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45509 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45510 $as_echo_n "(cached) " >&6
45511 else
45514 ac_ext=cpp
45515 ac_cpp='$CXXCPP $CPPFLAGS'
45516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45521 /* end confdefs.h. */
45522 #include <math.h>
45523 #ifdef HAVE_IEEEFP_H
45524 #include <ieeefp.h>
45525 #endif
45528 main ()
45530 fabsl(0);
45532 return 0;
45534 _ACEOF
45535 if ac_fn_cxx_try_compile "$LINENO"; then :
45536 glibcxx_cv_func_fabsl_use=yes
45537 else
45538 glibcxx_cv_func_fabsl_use=no
45540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45541 ac_ext=c
45542 ac_cpp='$CPP $CPPFLAGS'
45543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45552 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45554 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45555 for ac_func in fabsl
45556 do :
45557 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45558 if test "x$ac_cv_func_fabsl" = xyes; then :
45559 cat >>confdefs.h <<_ACEOF
45560 #define HAVE_FABSL 1
45561 _ACEOF
45564 done
45566 else
45568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45569 $as_echo_n "checking for _fabsl declaration... " >&6; }
45570 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45571 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45572 $as_echo_n "(cached) " >&6
45573 else
45576 ac_ext=cpp
45577 ac_cpp='$CXXCPP $CPPFLAGS'
45578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45583 /* end confdefs.h. */
45584 #include <math.h>
45585 #ifdef HAVE_IEEEFP_H
45586 #include <ieeefp.h>
45587 #endif
45590 main ()
45592 _fabsl(0);
45594 return 0;
45596 _ACEOF
45597 if ac_fn_cxx_try_compile "$LINENO"; then :
45598 glibcxx_cv_func__fabsl_use=yes
45599 else
45600 glibcxx_cv_func__fabsl_use=no
45602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45603 ac_ext=c
45604 ac_cpp='$CPP $CPPFLAGS'
45605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45614 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45616 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45617 for ac_func in _fabsl
45618 do :
45619 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45620 if test "x$ac_cv_func__fabsl" = xyes; then :
45621 cat >>confdefs.h <<_ACEOF
45622 #define HAVE__FABSL 1
45623 _ACEOF
45626 done
45635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45636 $as_echo_n "checking for fmodl declaration... " >&6; }
45637 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45638 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45639 $as_echo_n "(cached) " >&6
45640 else
45643 ac_ext=cpp
45644 ac_cpp='$CXXCPP $CPPFLAGS'
45645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45650 /* end confdefs.h. */
45651 #include <math.h>
45653 main ()
45655 fmodl(0, 0);
45657 return 0;
45659 _ACEOF
45660 if ac_fn_cxx_try_compile "$LINENO"; then :
45661 glibcxx_cv_func_fmodl_use=yes
45662 else
45663 glibcxx_cv_func_fmodl_use=no
45665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45666 ac_ext=c
45667 ac_cpp='$CPP $CPPFLAGS'
45668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45677 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45679 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45680 for ac_func in fmodl
45681 do :
45682 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45683 if test "x$ac_cv_func_fmodl" = xyes; then :
45684 cat >>confdefs.h <<_ACEOF
45685 #define HAVE_FMODL 1
45686 _ACEOF
45689 done
45691 else
45693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45694 $as_echo_n "checking for _fmodl declaration... " >&6; }
45695 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45696 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45711 main ()
45713 _fmodl(0, 0);
45715 return 0;
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__fmodl_use=yes
45720 else
45721 glibcxx_cv_func__fmodl_use=no
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45735 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45737 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45738 for ac_func in _fmodl
45739 do :
45740 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45741 if test "x$ac_cv_func__fmodl" = xyes; then :
45742 cat >>confdefs.h <<_ACEOF
45743 #define HAVE__FMODL 1
45744 _ACEOF
45747 done
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45757 $as_echo_n "checking for frexpl declaration... " >&6; }
45758 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45759 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45774 main ()
45776 frexpl(0, 0);
45778 return 0;
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_frexpl_use=yes
45783 else
45784 glibcxx_cv_func_frexpl_use=no
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45798 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45800 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45801 for ac_func in frexpl
45802 do :
45803 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45804 if test "x$ac_cv_func_frexpl" = xyes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_FREXPL 1
45807 _ACEOF
45810 done
45812 else
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45815 $as_echo_n "checking for _frexpl declaration... " >&6; }
45816 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45817 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45832 main ()
45834 _frexpl(0, 0);
45836 return 0;
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840 glibcxx_cv_func__frexpl_use=yes
45841 else
45842 glibcxx_cv_func__frexpl_use=no
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45856 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45858 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45859 for ac_func in _frexpl
45860 do :
45861 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45862 if test "x$ac_cv_func__frexpl" = xyes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE__FREXPL 1
45865 _ACEOF
45868 done
45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45878 $as_echo_n "checking for hypotl declaration... " >&6; }
45879 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45880 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45881 $as_echo_n "(cached) " >&6
45882 else
45885 ac_ext=cpp
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45892 /* end confdefs.h. */
45893 #include <math.h>
45895 main ()
45897 hypotl(0, 0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func_hypotl_use=yes
45904 else
45905 glibcxx_cv_func_hypotl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45919 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45921 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45922 for ac_func in hypotl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45925 if test "x$ac_cv_func_hypotl" = xyes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE_HYPOTL 1
45928 _ACEOF
45931 done
45933 else
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45936 $as_echo_n "checking for _hypotl declaration... " >&6; }
45937 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45938 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45953 main ()
45955 _hypotl(0, 0);
45957 return 0;
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func__hypotl_use=yes
45962 else
45963 glibcxx_cv_func__hypotl_use=no
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45977 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45979 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45980 for ac_func in _hypotl
45981 do :
45982 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45983 if test "x$ac_cv_func__hypotl" = xyes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE__HYPOTL 1
45986 _ACEOF
45989 done
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45999 $as_echo_n "checking for ldexpl declaration... " >&6; }
46000 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46001 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46002 $as_echo_n "(cached) " >&6
46003 else
46006 ac_ext=cpp
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46013 /* end confdefs.h. */
46014 #include <math.h>
46016 main ()
46018 ldexpl(0, 0);
46020 return 0;
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func_ldexpl_use=yes
46025 else
46026 glibcxx_cv_func_ldexpl_use=no
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46040 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46042 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46043 for ac_func in ldexpl
46044 do :
46045 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46046 if test "x$ac_cv_func_ldexpl" = xyes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE_LDEXPL 1
46049 _ACEOF
46052 done
46054 else
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46057 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46058 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46059 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46064 ac_ext=cpp
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46071 /* end confdefs.h. */
46072 #include <math.h>
46074 main ()
46076 _ldexpl(0, 0);
46078 return 0;
46080 _ACEOF
46081 if ac_fn_cxx_try_compile "$LINENO"; then :
46082 glibcxx_cv_func__ldexpl_use=yes
46083 else
46084 glibcxx_cv_func__ldexpl_use=no
46086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46087 ac_ext=c
46088 ac_cpp='$CPP $CPPFLAGS'
46089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46098 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46100 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46101 for ac_func in _ldexpl
46102 do :
46103 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46104 if test "x$ac_cv_func__ldexpl" = xyes; then :
46105 cat >>confdefs.h <<_ACEOF
46106 #define HAVE__LDEXPL 1
46107 _ACEOF
46110 done
46119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46120 $as_echo_n "checking for logl declaration... " >&6; }
46121 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46122 if ${glibcxx_cv_func_logl_use+:} false; then :
46123 $as_echo_n "(cached) " >&6
46124 else
46127 ac_ext=cpp
46128 ac_cpp='$CXXCPP $CPPFLAGS'
46129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46134 /* end confdefs.h. */
46135 #include <math.h>
46136 #ifdef HAVE_IEEEFP_H
46137 #include <ieeefp.h>
46138 #endif
46141 main ()
46143 logl(0);
46145 return 0;
46147 _ACEOF
46148 if ac_fn_cxx_try_compile "$LINENO"; then :
46149 glibcxx_cv_func_logl_use=yes
46150 else
46151 glibcxx_cv_func_logl_use=no
46153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46154 ac_ext=c
46155 ac_cpp='$CPP $CPPFLAGS'
46156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46165 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46167 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46168 for ac_func in logl
46169 do :
46170 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46171 if test "x$ac_cv_func_logl" = xyes; then :
46172 cat >>confdefs.h <<_ACEOF
46173 #define HAVE_LOGL 1
46174 _ACEOF
46177 done
46179 else
46181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46182 $as_echo_n "checking for _logl declaration... " >&6; }
46183 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46184 if ${glibcxx_cv_func__logl_use+:} false; then :
46185 $as_echo_n "(cached) " >&6
46186 else
46189 ac_ext=cpp
46190 ac_cpp='$CXXCPP $CPPFLAGS'
46191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46196 /* end confdefs.h. */
46197 #include <math.h>
46198 #ifdef HAVE_IEEEFP_H
46199 #include <ieeefp.h>
46200 #endif
46203 main ()
46205 _logl(0);
46207 return 0;
46209 _ACEOF
46210 if ac_fn_cxx_try_compile "$LINENO"; then :
46211 glibcxx_cv_func__logl_use=yes
46212 else
46213 glibcxx_cv_func__logl_use=no
46215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46216 ac_ext=c
46217 ac_cpp='$CPP $CPPFLAGS'
46218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46227 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46229 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46230 for ac_func in _logl
46231 do :
46232 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46233 if test "x$ac_cv_func__logl" = xyes; then :
46234 cat >>confdefs.h <<_ACEOF
46235 #define HAVE__LOGL 1
46236 _ACEOF
46239 done
46248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46249 $as_echo_n "checking for log10l declaration... " >&6; }
46250 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46251 if ${glibcxx_cv_func_log10l_use+:} false; then :
46252 $as_echo_n "(cached) " >&6
46253 else
46256 ac_ext=cpp
46257 ac_cpp='$CXXCPP $CPPFLAGS'
46258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46263 /* end confdefs.h. */
46264 #include <math.h>
46265 #ifdef HAVE_IEEEFP_H
46266 #include <ieeefp.h>
46267 #endif
46270 main ()
46272 log10l(0);
46274 return 0;
46276 _ACEOF
46277 if ac_fn_cxx_try_compile "$LINENO"; then :
46278 glibcxx_cv_func_log10l_use=yes
46279 else
46280 glibcxx_cv_func_log10l_use=no
46282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46283 ac_ext=c
46284 ac_cpp='$CPP $CPPFLAGS'
46285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46294 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46296 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46297 for ac_func in log10l
46298 do :
46299 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46300 if test "x$ac_cv_func_log10l" = xyes; then :
46301 cat >>confdefs.h <<_ACEOF
46302 #define HAVE_LOG10L 1
46303 _ACEOF
46306 done
46308 else
46310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46311 $as_echo_n "checking for _log10l declaration... " >&6; }
46312 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46313 if ${glibcxx_cv_func__log10l_use+:} false; then :
46314 $as_echo_n "(cached) " >&6
46315 else
46318 ac_ext=cpp
46319 ac_cpp='$CXXCPP $CPPFLAGS'
46320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46325 /* end confdefs.h. */
46326 #include <math.h>
46327 #ifdef HAVE_IEEEFP_H
46328 #include <ieeefp.h>
46329 #endif
46332 main ()
46334 _log10l(0);
46336 return 0;
46338 _ACEOF
46339 if ac_fn_cxx_try_compile "$LINENO"; then :
46340 glibcxx_cv_func__log10l_use=yes
46341 else
46342 glibcxx_cv_func__log10l_use=no
46344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46345 ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46356 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46358 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46359 for ac_func in _log10l
46360 do :
46361 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46362 if test "x$ac_cv_func__log10l" = xyes; then :
46363 cat >>confdefs.h <<_ACEOF
46364 #define HAVE__LOG10L 1
46365 _ACEOF
46368 done
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46378 $as_echo_n "checking for modfl declaration... " >&6; }
46379 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46380 if ${glibcxx_cv_func_modfl_use+:} false; then :
46381 $as_echo_n "(cached) " >&6
46382 else
46385 ac_ext=cpp
46386 ac_cpp='$CXXCPP $CPPFLAGS'
46387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46392 /* end confdefs.h. */
46393 #include <math.h>
46395 main ()
46397 modfl(0, 0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_modfl_use=yes
46404 else
46405 glibcxx_cv_func_modfl_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46419 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46421 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46422 for ac_func in modfl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46425 if test "x$ac_cv_func_modfl" = xyes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_MODFL 1
46428 _ACEOF
46431 done
46433 else
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46436 $as_echo_n "checking for _modfl declaration... " >&6; }
46437 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46438 if ${glibcxx_cv_func__modfl_use+:} false; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46453 main ()
46455 _modfl(0, 0);
46457 return 0;
46459 _ACEOF
46460 if ac_fn_cxx_try_compile "$LINENO"; then :
46461 glibcxx_cv_func__modfl_use=yes
46462 else
46463 glibcxx_cv_func__modfl_use=no
46465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46466 ac_ext=c
46467 ac_cpp='$CPP $CPPFLAGS'
46468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46477 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46479 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46480 for ac_func in _modfl
46481 do :
46482 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46483 if test "x$ac_cv_func__modfl" = xyes; then :
46484 cat >>confdefs.h <<_ACEOF
46485 #define HAVE__MODFL 1
46486 _ACEOF
46489 done
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46499 $as_echo_n "checking for powl declaration... " >&6; }
46500 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46501 if ${glibcxx_cv_func_powl_use+:} false; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46516 main ()
46518 powl(0, 0);
46520 return 0;
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func_powl_use=yes
46525 else
46526 glibcxx_cv_func_powl_use=no
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46540 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46542 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46543 for ac_func in powl
46544 do :
46545 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46546 if test "x$ac_cv_func_powl" = xyes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE_POWL 1
46549 _ACEOF
46552 done
46554 else
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46557 $as_echo_n "checking for _powl declaration... " >&6; }
46558 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46559 if ${glibcxx_cv_func__powl_use+:} false; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <math.h>
46574 main ()
46576 _powl(0, 0);
46578 return 0;
46580 _ACEOF
46581 if ac_fn_cxx_try_compile "$LINENO"; then :
46582 glibcxx_cv_func__powl_use=yes
46583 else
46584 glibcxx_cv_func__powl_use=no
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587 ac_ext=c
46588 ac_cpp='$CPP $CPPFLAGS'
46589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46598 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46600 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46601 for ac_func in _powl
46602 do :
46603 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46604 if test "x$ac_cv_func__powl" = xyes; then :
46605 cat >>confdefs.h <<_ACEOF
46606 #define HAVE__POWL 1
46607 _ACEOF
46610 done
46619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46620 $as_echo_n "checking for sqrtl declaration... " >&6; }
46621 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46622 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46623 $as_echo_n "(cached) " >&6
46624 else
46627 ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h. */
46635 #include <math.h>
46636 #ifdef HAVE_IEEEFP_H
46637 #include <ieeefp.h>
46638 #endif
46641 main ()
46643 sqrtl(0);
46645 return 0;
46647 _ACEOF
46648 if ac_fn_cxx_try_compile "$LINENO"; then :
46649 glibcxx_cv_func_sqrtl_use=yes
46650 else
46651 glibcxx_cv_func_sqrtl_use=no
46653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46654 ac_ext=c
46655 ac_cpp='$CPP $CPPFLAGS'
46656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46665 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46667 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46668 for ac_func in sqrtl
46669 do :
46670 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46671 if test "x$ac_cv_func_sqrtl" = xyes; then :
46672 cat >>confdefs.h <<_ACEOF
46673 #define HAVE_SQRTL 1
46674 _ACEOF
46677 done
46679 else
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46682 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46683 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46684 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46698 #ifdef HAVE_IEEEFP_H
46699 #include <ieeefp.h>
46700 #endif
46703 main ()
46705 _sqrtl(0);
46707 return 0;
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711 glibcxx_cv_func__sqrtl_use=yes
46712 else
46713 glibcxx_cv_func__sqrtl_use=no
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716 ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46727 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46729 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46730 for ac_func in _sqrtl
46731 do :
46732 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46733 if test "x$ac_cv_func__sqrtl" = xyes; then :
46734 cat >>confdefs.h <<_ACEOF
46735 #define HAVE__SQRTL 1
46736 _ACEOF
46739 done
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46749 $as_echo_n "checking for sincosl declaration... " >&6; }
46750 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46751 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46752 $as_echo_n "(cached) " >&6
46753 else
46756 ac_ext=cpp
46757 ac_cpp='$CXXCPP $CPPFLAGS'
46758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46763 /* end confdefs.h. */
46764 #include <math.h>
46766 main ()
46768 sincosl(0, 0, 0);
46770 return 0;
46772 _ACEOF
46773 if ac_fn_cxx_try_compile "$LINENO"; then :
46774 glibcxx_cv_func_sincosl_use=yes
46775 else
46776 glibcxx_cv_func_sincosl_use=no
46778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46779 ac_ext=c
46780 ac_cpp='$CPP $CPPFLAGS'
46781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46790 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46792 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46793 for ac_func in sincosl
46794 do :
46795 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46796 if test "x$ac_cv_func_sincosl" = xyes; then :
46797 cat >>confdefs.h <<_ACEOF
46798 #define HAVE_SINCOSL 1
46799 _ACEOF
46802 done
46804 else
46806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46807 $as_echo_n "checking for _sincosl declaration... " >&6; }
46808 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46809 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46810 $as_echo_n "(cached) " >&6
46811 else
46814 ac_ext=cpp
46815 ac_cpp='$CXXCPP $CPPFLAGS'
46816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46821 /* end confdefs.h. */
46822 #include <math.h>
46824 main ()
46826 _sincosl(0, 0, 0);
46828 return 0;
46830 _ACEOF
46831 if ac_fn_cxx_try_compile "$LINENO"; then :
46832 glibcxx_cv_func__sincosl_use=yes
46833 else
46834 glibcxx_cv_func__sincosl_use=no
46836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46837 ac_ext=c
46838 ac_cpp='$CPP $CPPFLAGS'
46839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46848 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46850 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46851 for ac_func in _sincosl
46852 do :
46853 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46854 if test "x$ac_cv_func__sincosl" = xyes; then :
46855 cat >>confdefs.h <<_ACEOF
46856 #define HAVE__SINCOSL 1
46857 _ACEOF
46860 done
46869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46870 $as_echo_n "checking for finitel declaration... " >&6; }
46871 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46872 if ${glibcxx_cv_func_finitel_use+:} false; then :
46873 $as_echo_n "(cached) " >&6
46874 else
46877 ac_ext=cpp
46878 ac_cpp='$CXXCPP $CPPFLAGS'
46879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46884 /* end confdefs.h. */
46885 #include <math.h>
46886 #ifdef HAVE_IEEEFP_H
46887 #include <ieeefp.h>
46888 #endif
46891 main ()
46893 finitel(0);
46895 return 0;
46897 _ACEOF
46898 if ac_fn_cxx_try_compile "$LINENO"; then :
46899 glibcxx_cv_func_finitel_use=yes
46900 else
46901 glibcxx_cv_func_finitel_use=no
46903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46904 ac_ext=c
46905 ac_cpp='$CPP $CPPFLAGS'
46906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46915 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46917 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46918 for ac_func in finitel
46919 do :
46920 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46921 if test "x$ac_cv_func_finitel" = xyes; then :
46922 cat >>confdefs.h <<_ACEOF
46923 #define HAVE_FINITEL 1
46924 _ACEOF
46927 done
46929 else
46931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46932 $as_echo_n "checking for _finitel declaration... " >&6; }
46933 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46934 if ${glibcxx_cv_func__finitel_use+:} false; then :
46935 $as_echo_n "(cached) " >&6
46936 else
46939 ac_ext=cpp
46940 ac_cpp='$CXXCPP $CPPFLAGS'
46941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46946 /* end confdefs.h. */
46947 #include <math.h>
46948 #ifdef HAVE_IEEEFP_H
46949 #include <ieeefp.h>
46950 #endif
46953 main ()
46955 _finitel(0);
46957 return 0;
46959 _ACEOF
46960 if ac_fn_cxx_try_compile "$LINENO"; then :
46961 glibcxx_cv_func__finitel_use=yes
46962 else
46963 glibcxx_cv_func__finitel_use=no
46965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46966 ac_ext=c
46967 ac_cpp='$CPP $CPPFLAGS'
46968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46977 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46979 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46980 for ac_func in _finitel
46981 do :
46982 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46983 if test "x$ac_cv_func__finitel" = xyes; then :
46984 cat >>confdefs.h <<_ACEOF
46985 #define HAVE__FINITEL 1
46986 _ACEOF
46989 done
46997 LIBS="$ac_save_LIBS"
46998 CXXFLAGS="$ac_save_CXXFLAGS"
47001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47002 ac_save_CXXFLAGS="$CXXFLAGS"
47003 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47007 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47008 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47009 if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
47024 main ()
47026 at_quick_exit(0);
47028 return 0;
47030 _ACEOF
47031 if ac_fn_cxx_try_compile "$LINENO"; then :
47032 glibcxx_cv_func_at_quick_exit_use=yes
47033 else
47034 glibcxx_cv_func_at_quick_exit_use=no
47036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47037 ac_ext=c
47038 ac_cpp='$CPP $CPPFLAGS'
47039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47048 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47049 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47050 for ac_func in at_quick_exit
47051 do :
47052 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47053 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47054 cat >>confdefs.h <<_ACEOF
47055 #define HAVE_AT_QUICK_EXIT 1
47056 _ACEOF
47059 done
47064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47065 $as_echo_n "checking for quick_exit declaration... " >&6; }
47066 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47067 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47068 $as_echo_n "(cached) " >&6
47069 else
47072 ac_ext=cpp
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47079 /* end confdefs.h. */
47080 #include <stdlib.h>
47082 main ()
47084 quick_exit(0);
47086 return 0;
47088 _ACEOF
47089 if ac_fn_cxx_try_compile "$LINENO"; then :
47090 glibcxx_cv_func_quick_exit_use=yes
47091 else
47092 glibcxx_cv_func_quick_exit_use=no
47094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47095 ac_ext=c
47096 ac_cpp='$CPP $CPPFLAGS'
47097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47106 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47107 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47108 for ac_func in quick_exit
47109 do :
47110 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47111 if test "x$ac_cv_func_quick_exit" = xyes; then :
47112 cat >>confdefs.h <<_ACEOF
47113 #define HAVE_QUICK_EXIT 1
47114 _ACEOF
47117 done
47122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47123 $as_echo_n "checking for strtold declaration... " >&6; }
47124 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47125 if ${glibcxx_cv_func_strtold_use+:} false; then :
47126 $as_echo_n "(cached) " >&6
47127 else
47130 ac_ext=cpp
47131 ac_cpp='$CXXCPP $CPPFLAGS'
47132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47137 /* end confdefs.h. */
47138 #include <stdlib.h>
47140 main ()
47142 strtold(0, 0);
47144 return 0;
47146 _ACEOF
47147 if ac_fn_cxx_try_compile "$LINENO"; then :
47148 glibcxx_cv_func_strtold_use=yes
47149 else
47150 glibcxx_cv_func_strtold_use=no
47152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47153 ac_ext=c
47154 ac_cpp='$CPP $CPPFLAGS'
47155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47164 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47165 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47166 for ac_func in strtold
47167 do :
47168 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47169 if test "x$ac_cv_func_strtold" = xyes; then :
47170 cat >>confdefs.h <<_ACEOF
47171 #define HAVE_STRTOLD 1
47172 _ACEOF
47175 done
47182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47183 $as_echo_n "checking for strtof declaration... " >&6; }
47184 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47185 if ${glibcxx_cv_func_strtof_use+:} false; then :
47186 $as_echo_n "(cached) " >&6
47187 else
47190 ac_ext=cpp
47191 ac_cpp='$CXXCPP $CPPFLAGS'
47192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47197 /* end confdefs.h. */
47198 #include <stdlib.h>
47200 main ()
47202 strtof(0, 0);
47204 return 0;
47206 _ACEOF
47207 if ac_fn_cxx_try_compile "$LINENO"; then :
47208 glibcxx_cv_func_strtof_use=yes
47209 else
47210 glibcxx_cv_func_strtof_use=no
47212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47213 ac_ext=c
47214 ac_cpp='$CPP $CPPFLAGS'
47215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47224 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47225 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47226 for ac_func in strtof
47227 do :
47228 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47229 if test "x$ac_cv_func_strtof" = xyes; then :
47230 cat >>confdefs.h <<_ACEOF
47231 #define HAVE_STRTOF 1
47232 _ACEOF
47235 done
47242 CXXFLAGS="$ac_save_CXXFLAGS"
47245 for ac_func in uselocale
47246 do :
47247 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47248 if test "x$ac_cv_func_uselocale" = xyes; then :
47249 cat >>confdefs.h <<_ACEOF
47250 #define HAVE_USELOCALE 1
47251 _ACEOF
47254 done
47258 *djgpp)
47259 # GLIBCXX_CHECK_MATH_SUPPORT
47260 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47262 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47264 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47266 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47268 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47272 *-freebsd*)
47273 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47276 # If we're not using GNU ld, then there's no point in even trying these
47277 # tests. Check for that first. We should have already tested for gld
47278 # by now (in libtool), but require it now just to be safe...
47279 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47280 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47284 # The name set by libtool depends on the version of libtool. Shame on us
47285 # for depending on an impl detail, but c'est la vie. Older versions used
47286 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47287 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47288 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47289 # set (hence we're using an older libtool), then set it.
47290 if test x${with_gnu_ld+set} != xset; then
47291 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47292 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47293 with_gnu_ld=no
47294 else
47295 with_gnu_ld=$ac_cv_prog_gnu_ld
47299 # Start by getting the version number. I think the libtool test already
47300 # does some of this, but throws away the result.
47301 glibcxx_ld_is_gold=no
47302 glibcxx_ld_is_mold=no
47303 if test x"$with_gnu_ld" = x"yes"; then
47304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47305 $as_echo_n "checking for ld version... " >&6; }
47307 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47308 glibcxx_ld_is_gold=yes
47309 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47310 glibcxx_ld_is_mold=yes
47312 ldver=`$LD --version 2>/dev/null |
47313 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47315 glibcxx_gnu_ld_version=`echo $ldver | \
47316 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47318 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47321 # Set --gc-sections.
47322 glibcxx_have_gc_sections=no
47323 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47324 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47325 glibcxx_have_gc_sections=yes
47327 else
47328 glibcxx_gcsections_min_ld=21602
47329 if test x"$with_gnu_ld" = x"yes" &&
47330 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47331 glibcxx_have_gc_sections=yes
47334 if test "$glibcxx_have_gc_sections" = "yes"; then
47335 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47336 # NB: This flag only works reliably after 2.16.1. Configure tests
47337 # for this are difficult, so hard wire a value that should work.
47339 ac_test_CFLAGS="${CFLAGS+set}"
47340 ac_save_CFLAGS="$CFLAGS"
47341 CFLAGS='-Wl,--gc-sections'
47343 # Check for -Wl,--gc-sections
47344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47345 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47346 if test x$gcc_no_link = xyes; then
47347 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 int one(void) { return 1; }
47352 int two(void) { return 2; }
47355 main ()
47357 two();
47359 return 0;
47361 _ACEOF
47362 if ac_fn_c_try_link "$LINENO"; then :
47363 ac_gcsections=yes
47364 else
47365 ac_gcsections=no
47367 rm -f core conftest.err conftest.$ac_objext \
47368 conftest$ac_exeext conftest.$ac_ext
47369 if test "$ac_gcsections" = "yes"; then
47370 rm -f conftest.c
47371 touch conftest.c
47372 if $CC -c conftest.c; then
47373 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47374 grep "Warning: gc-sections option ignored" > /dev/null; then
47375 ac_gcsections=no
47378 rm -f conftest.c conftest.o conftest
47380 if test "$ac_gcsections" = "yes"; then
47381 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47384 $as_echo "$ac_gcsections" >&6; }
47386 if test "$ac_test_CFLAGS" = set; then
47387 CFLAGS="$ac_save_CFLAGS"
47388 else
47389 # this is the suspicious part
47390 CFLAGS=''
47394 # Set -z,relro.
47395 # Note this is only for shared objects.
47396 ac_ld_relro=no
47397 if test x"$with_gnu_ld" = x"yes"; then
47398 # cygwin and mingw uses PE, which has no ELF relro support,
47399 # multi target ld may confuse configure machinery
47400 case "$host" in
47401 *-*-cygwin*)
47403 *-*-mingw*)
47406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47407 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47408 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47409 if test -n "$cxx_z_relo"; then
47410 OPT_LDFLAGS="-Wl,-z,relro"
47411 ac_ld_relro=yes
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47414 $as_echo "$ac_ld_relro" >&6; }
47415 esac
47418 # Set linker optimization flags.
47419 if test x"$with_gnu_ld" = x"yes"; then
47420 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47426 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47428 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47430 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47432 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47434 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47436 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47438 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47440 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47442 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47445 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47447 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47449 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47451 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47453 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47455 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47457 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47459 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47461 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47463 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47465 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47467 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47469 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47471 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47473 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47475 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47477 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47479 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47481 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47483 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47485 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47487 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47489 if test x"long_double_math_on_this_cpu" = x"yes"; then
47490 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47492 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47494 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47497 for ac_func in __cxa_thread_atexit
47498 do :
47499 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47500 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47501 cat >>confdefs.h <<_ACEOF
47502 #define HAVE___CXA_THREAD_ATEXIT 1
47503 _ACEOF
47506 done
47508 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47509 do :
47510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47512 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47513 cat >>confdefs.h <<_ACEOF
47514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47515 _ACEOF
47518 done
47520 for ac_func in timespec_get
47521 do :
47522 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47523 if test "x$ac_cv_func_timespec_get" = xyes; then :
47524 cat >>confdefs.h <<_ACEOF
47525 #define HAVE_TIMESPEC_GET 1
47526 _ACEOF
47529 done
47531 for ac_func in sockatmark
47532 do :
47533 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47534 if test "x$ac_cv_func_sockatmark" = xyes; then :
47535 cat >>confdefs.h <<_ACEOF
47536 #define HAVE_SOCKATMARK 1
47537 _ACEOF
47540 done
47542 for ac_func in uselocale
47543 do :
47544 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47545 if test "x$ac_cv_func_uselocale" = xyes; then :
47546 cat >>confdefs.h <<_ACEOF
47547 #define HAVE_USELOCALE 1
47548 _ACEOF
47551 done
47555 *-fuchsia*)
47556 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47560 *-hpux*)
47561 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47564 # If we're not using GNU ld, then there's no point in even trying these
47565 # tests. Check for that first. We should have already tested for gld
47566 # by now (in libtool), but require it now just to be safe...
47567 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47568 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47572 # The name set by libtool depends on the version of libtool. Shame on us
47573 # for depending on an impl detail, but c'est la vie. Older versions used
47574 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47575 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47576 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47577 # set (hence we're using an older libtool), then set it.
47578 if test x${with_gnu_ld+set} != xset; then
47579 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47580 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47581 with_gnu_ld=no
47582 else
47583 with_gnu_ld=$ac_cv_prog_gnu_ld
47587 # Start by getting the version number. I think the libtool test already
47588 # does some of this, but throws away the result.
47589 glibcxx_ld_is_gold=no
47590 glibcxx_ld_is_mold=no
47591 if test x"$with_gnu_ld" = x"yes"; then
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47593 $as_echo_n "checking for ld version... " >&6; }
47595 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47596 glibcxx_ld_is_gold=yes
47597 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47598 glibcxx_ld_is_mold=yes
47600 ldver=`$LD --version 2>/dev/null |
47601 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47603 glibcxx_gnu_ld_version=`echo $ldver | \
47604 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47606 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47609 # Set --gc-sections.
47610 glibcxx_have_gc_sections=no
47611 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47612 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47613 glibcxx_have_gc_sections=yes
47615 else
47616 glibcxx_gcsections_min_ld=21602
47617 if test x"$with_gnu_ld" = x"yes" &&
47618 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47619 glibcxx_have_gc_sections=yes
47622 if test "$glibcxx_have_gc_sections" = "yes"; then
47623 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47624 # NB: This flag only works reliably after 2.16.1. Configure tests
47625 # for this are difficult, so hard wire a value that should work.
47627 ac_test_CFLAGS="${CFLAGS+set}"
47628 ac_save_CFLAGS="$CFLAGS"
47629 CFLAGS='-Wl,--gc-sections'
47631 # Check for -Wl,--gc-sections
47632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47633 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47634 if test x$gcc_no_link = xyes; then
47635 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47638 /* end confdefs.h. */
47639 int one(void) { return 1; }
47640 int two(void) { return 2; }
47643 main ()
47645 two();
47647 return 0;
47649 _ACEOF
47650 if ac_fn_c_try_link "$LINENO"; then :
47651 ac_gcsections=yes
47652 else
47653 ac_gcsections=no
47655 rm -f core conftest.err conftest.$ac_objext \
47656 conftest$ac_exeext conftest.$ac_ext
47657 if test "$ac_gcsections" = "yes"; then
47658 rm -f conftest.c
47659 touch conftest.c
47660 if $CC -c conftest.c; then
47661 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47662 grep "Warning: gc-sections option ignored" > /dev/null; then
47663 ac_gcsections=no
47666 rm -f conftest.c conftest.o conftest
47668 if test "$ac_gcsections" = "yes"; then
47669 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47672 $as_echo "$ac_gcsections" >&6; }
47674 if test "$ac_test_CFLAGS" = set; then
47675 CFLAGS="$ac_save_CFLAGS"
47676 else
47677 # this is the suspicious part
47678 CFLAGS=''
47682 # Set -z,relro.
47683 # Note this is only for shared objects.
47684 ac_ld_relro=no
47685 if test x"$with_gnu_ld" = x"yes"; then
47686 # cygwin and mingw uses PE, which has no ELF relro support,
47687 # multi target ld may confuse configure machinery
47688 case "$host" in
47689 *-*-cygwin*)
47691 *-*-mingw*)
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47697 if test -n "$cxx_z_relo"; then
47698 OPT_LDFLAGS="-Wl,-z,relro"
47699 ac_ld_relro=yes
47701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47702 $as_echo "$ac_ld_relro" >&6; }
47703 esac
47706 # Set linker optimization flags.
47707 if test x"$with_gnu_ld" = x"yes"; then
47708 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47715 # GLIBCXX_CHECK_MATH_SUPPORT
47716 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47718 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47720 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47722 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47724 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47726 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47728 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47730 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47732 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47734 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47736 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47738 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47740 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47742 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47744 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47746 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47748 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47750 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47752 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47754 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47756 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47759 # GLIBCXX_CHECK_STDLIB_SUPPORT
47760 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47765 # Check whether --enable-tls was given.
47766 if test "${enable_tls+set}" = set; then :
47767 enableval=$enable_tls;
47768 case "$enableval" in
47769 yes|no) ;;
47770 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47771 esac
47773 else
47774 enable_tls=yes
47778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47779 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47780 if ${gcc_cv_have_tls+:} false; then :
47781 $as_echo_n "(cached) " >&6
47782 else
47784 if test "$cross_compiling" = yes; then :
47785 if test x$gcc_no_link = xyes; then
47786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47789 /* end confdefs.h. */
47790 __thread int a; int b; int main() { return a = b; }
47791 _ACEOF
47792 if ac_fn_c_try_link "$LINENO"; then :
47793 chktls_save_LDFLAGS="$LDFLAGS"
47794 case $host in
47795 *-*-linux* | -*-uclinuxfdpic*)
47796 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47798 esac
47799 chktls_save_CFLAGS="$CFLAGS"
47800 CFLAGS="-fPIC $CFLAGS"
47801 if test x$gcc_no_link = xyes; then
47802 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47805 /* end confdefs.h. */
47806 int f() { return 0; }
47807 _ACEOF
47808 if ac_fn_c_try_link "$LINENO"; then :
47809 if test x$gcc_no_link = xyes; then
47810 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47813 /* end confdefs.h. */
47814 __thread int a; int b; int f() { return a = b; }
47815 _ACEOF
47816 if ac_fn_c_try_link "$LINENO"; then :
47817 gcc_cv_have_tls=yes
47818 else
47819 gcc_cv_have_tls=no
47821 rm -f core conftest.err conftest.$ac_objext \
47822 conftest$ac_exeext conftest.$ac_ext
47823 else
47824 gcc_cv_have_tls=yes
47826 rm -f core conftest.err conftest.$ac_objext \
47827 conftest$ac_exeext conftest.$ac_ext
47828 CFLAGS="$chktls_save_CFLAGS"
47829 LDFLAGS="$chktls_save_LDFLAGS"
47830 else
47831 gcc_cv_have_tls=no
47833 rm -f core conftest.err conftest.$ac_objext \
47834 conftest$ac_exeext conftest.$ac_ext
47837 else
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 __thread int a; int b; int main() { return a = b; }
47841 _ACEOF
47842 if ac_fn_c_try_run "$LINENO"; then :
47843 chktls_save_LDFLAGS="$LDFLAGS"
47844 LDFLAGS="-static $LDFLAGS"
47845 if test x$gcc_no_link = xyes; then
47846 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47849 /* end confdefs.h. */
47850 int main() { return 0; }
47851 _ACEOF
47852 if ac_fn_c_try_link "$LINENO"; then :
47853 if test "$cross_compiling" = yes; then :
47854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47856 as_fn_error $? "cannot run test program while cross compiling
47857 See \`config.log' for more details" "$LINENO" 5; }
47858 else
47859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47860 /* end confdefs.h. */
47861 __thread int a; int b; int main() { return a = b; }
47862 _ACEOF
47863 if ac_fn_c_try_run "$LINENO"; then :
47864 gcc_cv_have_tls=yes
47865 else
47866 gcc_cv_have_tls=no
47868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47869 conftest.$ac_objext conftest.beam conftest.$ac_ext
47872 else
47873 gcc_cv_have_tls=yes
47875 rm -f core conftest.err conftest.$ac_objext \
47876 conftest$ac_exeext conftest.$ac_ext
47877 LDFLAGS="$chktls_save_LDFLAGS"
47878 if test $gcc_cv_have_tls = yes; then
47879 chktls_save_CFLAGS="$CFLAGS"
47880 thread_CFLAGS=failed
47881 for flag in '' '-pthread' '-lpthread'; do
47882 CFLAGS="$flag $chktls_save_CFLAGS"
47883 if test x$gcc_no_link = xyes; then
47884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47887 /* end confdefs.h. */
47888 #include <pthread.h>
47889 void *g(void *d) { return NULL; }
47891 main ()
47893 pthread_t t; pthread_create(&t,NULL,g,NULL);
47895 return 0;
47897 _ACEOF
47898 if ac_fn_c_try_link "$LINENO"; then :
47899 thread_CFLAGS="$flag"
47901 rm -f core conftest.err conftest.$ac_objext \
47902 conftest$ac_exeext conftest.$ac_ext
47903 if test "X$thread_CFLAGS" != Xfailed; then
47904 break
47906 done
47907 CFLAGS="$chktls_save_CFLAGS"
47908 if test "X$thread_CFLAGS" != Xfailed; then
47909 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47910 if test "$cross_compiling" = yes; then :
47911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47913 as_fn_error $? "cannot run test program while cross compiling
47914 See \`config.log' for more details" "$LINENO" 5; }
47915 else
47916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47917 /* end confdefs.h. */
47918 #include <pthread.h>
47919 __thread int a;
47920 static int *volatile a_in_other_thread;
47921 static void *
47922 thread_func (void *arg)
47924 a_in_other_thread = &a;
47925 return (void *)0;
47928 main ()
47930 pthread_t thread;
47931 void *thread_retval;
47932 int *volatile a_in_main_thread;
47933 a_in_main_thread = &a;
47934 if (pthread_create (&thread, (pthread_attr_t *)0,
47935 thread_func, (void *)0))
47936 return 0;
47937 if (pthread_join (thread, &thread_retval))
47938 return 0;
47939 return (a_in_other_thread == a_in_main_thread);
47941 return 0;
47943 _ACEOF
47944 if ac_fn_c_try_run "$LINENO"; then :
47945 gcc_cv_have_tls=yes
47946 else
47947 gcc_cv_have_tls=no
47949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47950 conftest.$ac_objext conftest.beam conftest.$ac_ext
47953 CFLAGS="$chktls_save_CFLAGS"
47956 else
47957 gcc_cv_have_tls=no
47959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47960 conftest.$ac_objext conftest.beam conftest.$ac_ext
47964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47965 $as_echo "$gcc_cv_have_tls" >&6; }
47966 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47968 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47972 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47974 # All these tests are for C++; save the language and the compiler flags.
47975 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47976 # found in GLIBCXX_CONFIGURE.
47978 ac_ext=cpp
47979 ac_cpp='$CXXCPP $CPPFLAGS'
47980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47985 ac_save_CXXFLAGS="$CXXFLAGS"
47987 # Check for -ffunction-sections -fdata-sections
47988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47989 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47990 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47992 /* end confdefs.h. */
47993 int foo; void bar() { };
47995 main ()
47999 return 0;
48001 _ACEOF
48002 if ac_fn_cxx_try_compile "$LINENO"; then :
48003 ac_fdsections=yes
48004 else
48005 ac_fdsections=no
48007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48008 if test "$ac_test_CXXFLAGS" = set; then
48009 CXXFLAGS="$ac_save_CXXFLAGS"
48010 else
48011 # this is the suspicious part
48012 CXXFLAGS=''
48014 if test x"$ac_fdsections" = x"yes"; then
48015 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48018 $as_echo "$ac_fdsections" >&6; }
48020 ac_ext=c
48021 ac_cpp='$CPP $CPPFLAGS'
48022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48029 # If we're not using GNU ld, then there's no point in even trying these
48030 # tests. Check for that first. We should have already tested for gld
48031 # by now (in libtool), but require it now just to be safe...
48032 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48033 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48037 # The name set by libtool depends on the version of libtool. Shame on us
48038 # for depending on an impl detail, but c'est la vie. Older versions used
48039 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48040 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48041 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48042 # set (hence we're using an older libtool), then set it.
48043 if test x${with_gnu_ld+set} != xset; then
48044 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48045 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48046 with_gnu_ld=no
48047 else
48048 with_gnu_ld=$ac_cv_prog_gnu_ld
48052 # Start by getting the version number. I think the libtool test already
48053 # does some of this, but throws away the result.
48054 glibcxx_ld_is_gold=no
48055 glibcxx_ld_is_mold=no
48056 if test x"$with_gnu_ld" = x"yes"; then
48057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48058 $as_echo_n "checking for ld version... " >&6; }
48060 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48061 glibcxx_ld_is_gold=yes
48062 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48063 glibcxx_ld_is_mold=yes
48065 ldver=`$LD --version 2>/dev/null |
48066 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48068 glibcxx_gnu_ld_version=`echo $ldver | \
48069 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48071 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48074 # Set --gc-sections.
48075 glibcxx_have_gc_sections=no
48076 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48077 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48078 glibcxx_have_gc_sections=yes
48080 else
48081 glibcxx_gcsections_min_ld=21602
48082 if test x"$with_gnu_ld" = x"yes" &&
48083 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48084 glibcxx_have_gc_sections=yes
48087 if test "$glibcxx_have_gc_sections" = "yes"; then
48088 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48089 # NB: This flag only works reliably after 2.16.1. Configure tests
48090 # for this are difficult, so hard wire a value that should work.
48092 ac_test_CFLAGS="${CFLAGS+set}"
48093 ac_save_CFLAGS="$CFLAGS"
48094 CFLAGS='-Wl,--gc-sections'
48096 # Check for -Wl,--gc-sections
48097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48098 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48099 if test x$gcc_no_link = xyes; then
48100 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48103 /* end confdefs.h. */
48104 int one(void) { return 1; }
48105 int two(void) { return 2; }
48108 main ()
48110 two();
48112 return 0;
48114 _ACEOF
48115 if ac_fn_c_try_link "$LINENO"; then :
48116 ac_gcsections=yes
48117 else
48118 ac_gcsections=no
48120 rm -f core conftest.err conftest.$ac_objext \
48121 conftest$ac_exeext conftest.$ac_ext
48122 if test "$ac_gcsections" = "yes"; then
48123 rm -f conftest.c
48124 touch conftest.c
48125 if $CC -c conftest.c; then
48126 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48127 grep "Warning: gc-sections option ignored" > /dev/null; then
48128 ac_gcsections=no
48131 rm -f conftest.c conftest.o conftest
48133 if test "$ac_gcsections" = "yes"; then
48134 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48137 $as_echo "$ac_gcsections" >&6; }
48139 if test "$ac_test_CFLAGS" = set; then
48140 CFLAGS="$ac_save_CFLAGS"
48141 else
48142 # this is the suspicious part
48143 CFLAGS=''
48147 # Set -z,relro.
48148 # Note this is only for shared objects.
48149 ac_ld_relro=no
48150 if test x"$with_gnu_ld" = x"yes"; then
48151 # cygwin and mingw uses PE, which has no ELF relro support,
48152 # multi target ld may confuse configure machinery
48153 case "$host" in
48154 *-*-cygwin*)
48156 *-*-mingw*)
48159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48160 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48161 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48162 if test -n "$cxx_z_relo"; then
48163 OPT_LDFLAGS="-Wl,-z,relro"
48164 ac_ld_relro=yes
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48167 $as_echo "$ac_ld_relro" >&6; }
48168 esac
48171 # Set linker optimization flags.
48172 if test x"$with_gnu_ld" = x"yes"; then
48173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48181 ac_save_CXXFLAGS="$CXXFLAGS"
48182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48185 $as_echo_n "checking for sin in -lm... " >&6; }
48186 if ${ac_cv_lib_m_sin+:} false; then :
48187 $as_echo_n "(cached) " >&6
48188 else
48189 ac_check_lib_save_LIBS=$LIBS
48190 LIBS="-lm $LIBS"
48191 if test x$gcc_no_link = xyes; then
48192 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48195 /* end confdefs.h. */
48197 /* Override any GCC internal prototype to avoid an error.
48198 Use char because int might match the return type of a GCC
48199 builtin and then its argument prototype would still apply. */
48200 #ifdef __cplusplus
48201 extern "C"
48202 #endif
48203 char sin ();
48205 main ()
48207 return sin ();
48209 return 0;
48211 _ACEOF
48212 if ac_fn_c_try_link "$LINENO"; then :
48213 ac_cv_lib_m_sin=yes
48214 else
48215 ac_cv_lib_m_sin=no
48217 rm -f core conftest.err conftest.$ac_objext \
48218 conftest$ac_exeext conftest.$ac_ext
48219 LIBS=$ac_check_lib_save_LIBS
48221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48222 $as_echo "$ac_cv_lib_m_sin" >&6; }
48223 if test "x$ac_cv_lib_m_sin" = xyes; then :
48224 libm="-lm"
48227 ac_save_LIBS="$LIBS"
48228 LIBS="$LIBS $libm"
48232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48233 $as_echo_n "checking for isinf declaration... " >&6; }
48234 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48235 if ${glibcxx_cv_func_isinf_use+:} false; then :
48236 $as_echo_n "(cached) " >&6
48237 else
48240 ac_ext=cpp
48241 ac_cpp='$CXXCPP $CPPFLAGS'
48242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48247 /* end confdefs.h. */
48248 #include <math.h>
48249 #ifdef HAVE_IEEEFP_H
48250 #include <ieeefp.h>
48251 #endif
48254 main ()
48256 isinf(0);
48258 return 0;
48260 _ACEOF
48261 if ac_fn_cxx_try_compile "$LINENO"; then :
48262 glibcxx_cv_func_isinf_use=yes
48263 else
48264 glibcxx_cv_func_isinf_use=no
48266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48267 ac_ext=c
48268 ac_cpp='$CPP $CPPFLAGS'
48269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48278 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48280 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48281 for ac_func in isinf
48282 do :
48283 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48284 if test "x$ac_cv_func_isinf" = xyes; then :
48285 cat >>confdefs.h <<_ACEOF
48286 #define HAVE_ISINF 1
48287 _ACEOF
48290 done
48292 else
48294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48295 $as_echo_n "checking for _isinf declaration... " >&6; }
48296 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48297 if ${glibcxx_cv_func__isinf_use+:} false; then :
48298 $as_echo_n "(cached) " >&6
48299 else
48302 ac_ext=cpp
48303 ac_cpp='$CXXCPP $CPPFLAGS'
48304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48309 /* end confdefs.h. */
48310 #include <math.h>
48311 #ifdef HAVE_IEEEFP_H
48312 #include <ieeefp.h>
48313 #endif
48316 main ()
48318 _isinf(0);
48320 return 0;
48322 _ACEOF
48323 if ac_fn_cxx_try_compile "$LINENO"; then :
48324 glibcxx_cv_func__isinf_use=yes
48325 else
48326 glibcxx_cv_func__isinf_use=no
48328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48329 ac_ext=c
48330 ac_cpp='$CPP $CPPFLAGS'
48331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48340 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48342 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48343 for ac_func in _isinf
48344 do :
48345 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48346 if test "x$ac_cv_func__isinf" = xyes; then :
48347 cat >>confdefs.h <<_ACEOF
48348 #define HAVE__ISINF 1
48349 _ACEOF
48352 done
48361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48362 $as_echo_n "checking for isnan declaration... " >&6; }
48363 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48364 if ${glibcxx_cv_func_isnan_use+:} false; then :
48365 $as_echo_n "(cached) " >&6
48366 else
48369 ac_ext=cpp
48370 ac_cpp='$CXXCPP $CPPFLAGS'
48371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48376 /* end confdefs.h. */
48377 #include <math.h>
48378 #ifdef HAVE_IEEEFP_H
48379 #include <ieeefp.h>
48380 #endif
48383 main ()
48385 isnan(0);
48387 return 0;
48389 _ACEOF
48390 if ac_fn_cxx_try_compile "$LINENO"; then :
48391 glibcxx_cv_func_isnan_use=yes
48392 else
48393 glibcxx_cv_func_isnan_use=no
48395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48396 ac_ext=c
48397 ac_cpp='$CPP $CPPFLAGS'
48398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48407 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48409 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48410 for ac_func in isnan
48411 do :
48412 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48413 if test "x$ac_cv_func_isnan" = xyes; then :
48414 cat >>confdefs.h <<_ACEOF
48415 #define HAVE_ISNAN 1
48416 _ACEOF
48419 done
48421 else
48423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48424 $as_echo_n "checking for _isnan declaration... " >&6; }
48425 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48426 if ${glibcxx_cv_func__isnan_use+:} false; then :
48427 $as_echo_n "(cached) " >&6
48428 else
48431 ac_ext=cpp
48432 ac_cpp='$CXXCPP $CPPFLAGS'
48433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48438 /* end confdefs.h. */
48439 #include <math.h>
48440 #ifdef HAVE_IEEEFP_H
48441 #include <ieeefp.h>
48442 #endif
48445 main ()
48447 _isnan(0);
48449 return 0;
48451 _ACEOF
48452 if ac_fn_cxx_try_compile "$LINENO"; then :
48453 glibcxx_cv_func__isnan_use=yes
48454 else
48455 glibcxx_cv_func__isnan_use=no
48457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48458 ac_ext=c
48459 ac_cpp='$CPP $CPPFLAGS'
48460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48469 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48471 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48472 for ac_func in _isnan
48473 do :
48474 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48475 if test "x$ac_cv_func__isnan" = xyes; then :
48476 cat >>confdefs.h <<_ACEOF
48477 #define HAVE__ISNAN 1
48478 _ACEOF
48481 done
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48491 $as_echo_n "checking for finite declaration... " >&6; }
48492 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48493 if ${glibcxx_cv_func_finite_use+:} false; then :
48494 $as_echo_n "(cached) " >&6
48495 else
48498 ac_ext=cpp
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48505 /* end confdefs.h. */
48506 #include <math.h>
48507 #ifdef HAVE_IEEEFP_H
48508 #include <ieeefp.h>
48509 #endif
48512 main ()
48514 finite(0);
48516 return 0;
48518 _ACEOF
48519 if ac_fn_cxx_try_compile "$LINENO"; then :
48520 glibcxx_cv_func_finite_use=yes
48521 else
48522 glibcxx_cv_func_finite_use=no
48524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48525 ac_ext=c
48526 ac_cpp='$CPP $CPPFLAGS'
48527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48536 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48538 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48539 for ac_func in finite
48540 do :
48541 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48542 if test "x$ac_cv_func_finite" = xyes; then :
48543 cat >>confdefs.h <<_ACEOF
48544 #define HAVE_FINITE 1
48545 _ACEOF
48548 done
48550 else
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48553 $as_echo_n "checking for _finite declaration... " >&6; }
48554 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48555 if ${glibcxx_cv_func__finite_use+:} false; then :
48556 $as_echo_n "(cached) " >&6
48557 else
48560 ac_ext=cpp
48561 ac_cpp='$CXXCPP $CPPFLAGS'
48562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48567 /* end confdefs.h. */
48568 #include <math.h>
48569 #ifdef HAVE_IEEEFP_H
48570 #include <ieeefp.h>
48571 #endif
48574 main ()
48576 _finite(0);
48578 return 0;
48580 _ACEOF
48581 if ac_fn_cxx_try_compile "$LINENO"; then :
48582 glibcxx_cv_func__finite_use=yes
48583 else
48584 glibcxx_cv_func__finite_use=no
48586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48587 ac_ext=c
48588 ac_cpp='$CPP $CPPFLAGS'
48589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48598 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48600 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48601 for ac_func in _finite
48602 do :
48603 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48604 if test "x$ac_cv_func__finite" = xyes; then :
48605 cat >>confdefs.h <<_ACEOF
48606 #define HAVE__FINITE 1
48607 _ACEOF
48610 done
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48620 $as_echo_n "checking for sincos declaration... " >&6; }
48621 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48622 if ${glibcxx_cv_func_sincos_use+:} false; then :
48623 $as_echo_n "(cached) " >&6
48624 else
48627 ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h. */
48635 #include <math.h>
48637 main ()
48639 sincos(0, 0, 0);
48641 return 0;
48643 _ACEOF
48644 if ac_fn_cxx_try_compile "$LINENO"; then :
48645 glibcxx_cv_func_sincos_use=yes
48646 else
48647 glibcxx_cv_func_sincos_use=no
48649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48650 ac_ext=c
48651 ac_cpp='$CPP $CPPFLAGS'
48652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48661 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48663 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48664 for ac_func in sincos
48665 do :
48666 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48667 if test "x$ac_cv_func_sincos" = xyes; then :
48668 cat >>confdefs.h <<_ACEOF
48669 #define HAVE_SINCOS 1
48670 _ACEOF
48673 done
48675 else
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48678 $as_echo_n "checking for _sincos declaration... " >&6; }
48679 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48680 if ${glibcxx_cv_func__sincos_use+:} false; then :
48681 $as_echo_n "(cached) " >&6
48682 else
48685 ac_ext=cpp
48686 ac_cpp='$CXXCPP $CPPFLAGS'
48687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48692 /* end confdefs.h. */
48693 #include <math.h>
48695 main ()
48697 _sincos(0, 0, 0);
48699 return 0;
48701 _ACEOF
48702 if ac_fn_cxx_try_compile "$LINENO"; then :
48703 glibcxx_cv_func__sincos_use=yes
48704 else
48705 glibcxx_cv_func__sincos_use=no
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48708 ac_ext=c
48709 ac_cpp='$CPP $CPPFLAGS'
48710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48719 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48721 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48722 for ac_func in _sincos
48723 do :
48724 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48725 if test "x$ac_cv_func__sincos" = xyes; then :
48726 cat >>confdefs.h <<_ACEOF
48727 #define HAVE__SINCOS 1
48728 _ACEOF
48731 done
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48741 $as_echo_n "checking for fpclass declaration... " >&6; }
48742 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48743 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48744 $as_echo_n "(cached) " >&6
48745 else
48748 ac_ext=cpp
48749 ac_cpp='$CXXCPP $CPPFLAGS'
48750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48755 /* end confdefs.h. */
48756 #include <math.h>
48757 #ifdef HAVE_IEEEFP_H
48758 #include <ieeefp.h>
48759 #endif
48762 main ()
48764 fpclass(0);
48766 return 0;
48768 _ACEOF
48769 if ac_fn_cxx_try_compile "$LINENO"; then :
48770 glibcxx_cv_func_fpclass_use=yes
48771 else
48772 glibcxx_cv_func_fpclass_use=no
48774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48775 ac_ext=c
48776 ac_cpp='$CPP $CPPFLAGS'
48777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48786 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48788 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48789 for ac_func in fpclass
48790 do :
48791 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48792 if test "x$ac_cv_func_fpclass" = xyes; then :
48793 cat >>confdefs.h <<_ACEOF
48794 #define HAVE_FPCLASS 1
48795 _ACEOF
48798 done
48800 else
48802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48803 $as_echo_n "checking for _fpclass declaration... " >&6; }
48804 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48805 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48806 $as_echo_n "(cached) " >&6
48807 else
48810 ac_ext=cpp
48811 ac_cpp='$CXXCPP $CPPFLAGS'
48812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48817 /* end confdefs.h. */
48818 #include <math.h>
48819 #ifdef HAVE_IEEEFP_H
48820 #include <ieeefp.h>
48821 #endif
48824 main ()
48826 _fpclass(0);
48828 return 0;
48830 _ACEOF
48831 if ac_fn_cxx_try_compile "$LINENO"; then :
48832 glibcxx_cv_func__fpclass_use=yes
48833 else
48834 glibcxx_cv_func__fpclass_use=no
48836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48848 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48850 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48851 for ac_func in _fpclass
48852 do :
48853 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48854 if test "x$ac_cv_func__fpclass" = xyes; then :
48855 cat >>confdefs.h <<_ACEOF
48856 #define HAVE__FPCLASS 1
48857 _ACEOF
48860 done
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48870 $as_echo_n "checking for qfpclass declaration... " >&6; }
48871 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48872 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48873 $as_echo_n "(cached) " >&6
48874 else
48877 ac_ext=cpp
48878 ac_cpp='$CXXCPP $CPPFLAGS'
48879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48884 /* end confdefs.h. */
48885 #include <math.h>
48886 #ifdef HAVE_IEEEFP_H
48887 #include <ieeefp.h>
48888 #endif
48891 main ()
48893 qfpclass(0);
48895 return 0;
48897 _ACEOF
48898 if ac_fn_cxx_try_compile "$LINENO"; then :
48899 glibcxx_cv_func_qfpclass_use=yes
48900 else
48901 glibcxx_cv_func_qfpclass_use=no
48903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48904 ac_ext=c
48905 ac_cpp='$CPP $CPPFLAGS'
48906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48915 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48917 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48918 for ac_func in qfpclass
48919 do :
48920 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48921 if test "x$ac_cv_func_qfpclass" = xyes; then :
48922 cat >>confdefs.h <<_ACEOF
48923 #define HAVE_QFPCLASS 1
48924 _ACEOF
48927 done
48929 else
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48932 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48933 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48934 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48935 $as_echo_n "(cached) " >&6
48936 else
48939 ac_ext=cpp
48940 ac_cpp='$CXXCPP $CPPFLAGS'
48941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48946 /* end confdefs.h. */
48947 #include <math.h>
48948 #ifdef HAVE_IEEEFP_H
48949 #include <ieeefp.h>
48950 #endif
48953 main ()
48955 _qfpclass(0);
48957 return 0;
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961 glibcxx_cv_func__qfpclass_use=yes
48962 else
48963 glibcxx_cv_func__qfpclass_use=no
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966 ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48977 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48979 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48980 for ac_func in _qfpclass
48981 do :
48982 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48983 if test "x$ac_cv_func__qfpclass" = xyes; then :
48984 cat >>confdefs.h <<_ACEOF
48985 #define HAVE__QFPCLASS 1
48986 _ACEOF
48989 done
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48999 $as_echo_n "checking for hypot declaration... " >&6; }
49000 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49001 if ${glibcxx_cv_func_hypot_use+:} false; then :
49002 $as_echo_n "(cached) " >&6
49003 else
49006 ac_ext=cpp
49007 ac_cpp='$CXXCPP $CPPFLAGS'
49008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49013 /* end confdefs.h. */
49014 #include <math.h>
49016 main ()
49018 hypot(0, 0);
49020 return 0;
49022 _ACEOF
49023 if ac_fn_cxx_try_compile "$LINENO"; then :
49024 glibcxx_cv_func_hypot_use=yes
49025 else
49026 glibcxx_cv_func_hypot_use=no
49028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49029 ac_ext=c
49030 ac_cpp='$CPP $CPPFLAGS'
49031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49040 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49042 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49043 for ac_func in hypot
49044 do :
49045 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49046 if test "x$ac_cv_func_hypot" = xyes; then :
49047 cat >>confdefs.h <<_ACEOF
49048 #define HAVE_HYPOT 1
49049 _ACEOF
49052 done
49054 else
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49057 $as_echo_n "checking for _hypot declaration... " >&6; }
49058 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49059 if ${glibcxx_cv_func__hypot_use+:} false; then :
49060 $as_echo_n "(cached) " >&6
49061 else
49064 ac_ext=cpp
49065 ac_cpp='$CXXCPP $CPPFLAGS'
49066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49071 /* end confdefs.h. */
49072 #include <math.h>
49074 main ()
49076 _hypot(0, 0);
49078 return 0;
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082 glibcxx_cv_func__hypot_use=yes
49083 else
49084 glibcxx_cv_func__hypot_use=no
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087 ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49098 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49100 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49101 for ac_func in _hypot
49102 do :
49103 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49104 if test "x$ac_cv_func__hypot" = xyes; then :
49105 cat >>confdefs.h <<_ACEOF
49106 #define HAVE__HYPOT 1
49107 _ACEOF
49110 done
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49120 $as_echo_n "checking for float trig functions... " >&6; }
49121 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49122 $as_echo_n "(cached) " >&6
49123 else
49126 ac_ext=cpp
49127 ac_cpp='$CXXCPP $CPPFLAGS'
49128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49133 /* end confdefs.h. */
49134 #include <math.h>
49136 main ()
49138 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49140 return 0;
49142 _ACEOF
49143 if ac_fn_cxx_try_compile "$LINENO"; then :
49144 glibcxx_cv_func_float_trig_use=yes
49145 else
49146 glibcxx_cv_func_float_trig_use=no
49148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49149 ac_ext=c
49150 ac_cpp='$CPP $CPPFLAGS'
49151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49158 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49159 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49160 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49161 do :
49162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49164 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49165 cat >>confdefs.h <<_ACEOF
49166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49167 _ACEOF
49170 done
49172 else
49173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49174 $as_echo_n "checking for _float trig functions... " >&6; }
49175 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49176 $as_echo_n "(cached) " >&6
49177 else
49180 ac_ext=cpp
49181 ac_cpp='$CXXCPP $CPPFLAGS'
49182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49187 /* end confdefs.h. */
49188 #include <math.h>
49190 main ()
49192 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49194 return 0;
49196 _ACEOF
49197 if ac_fn_cxx_try_compile "$LINENO"; then :
49198 glibcxx_cv_func__float_trig_use=yes
49199 else
49200 glibcxx_cv_func__float_trig_use=no
49202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49203 ac_ext=c
49204 ac_cpp='$CPP $CPPFLAGS'
49205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49212 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49213 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49214 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49215 do :
49216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49219 cat >>confdefs.h <<_ACEOF
49220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49221 _ACEOF
49224 done
49233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49234 $as_echo_n "checking for float round functions... " >&6; }
49235 if ${glibcxx_cv_func_float_round_use+:} false; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49250 main ()
49252 ceilf (0); floorf (0);
49254 return 0;
49256 _ACEOF
49257 if ac_fn_cxx_try_compile "$LINENO"; then :
49258 glibcxx_cv_func_float_round_use=yes
49259 else
49260 glibcxx_cv_func_float_round_use=no
49262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49263 ac_ext=c
49264 ac_cpp='$CPP $CPPFLAGS'
49265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49272 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49273 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49274 for ac_func in ceilf floorf
49275 do :
49276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49279 cat >>confdefs.h <<_ACEOF
49280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49281 _ACEOF
49284 done
49286 else
49287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49288 $as_echo_n "checking for _float round functions... " >&6; }
49289 if ${glibcxx_cv_func__float_round_use+:} false; then :
49290 $as_echo_n "(cached) " >&6
49291 else
49294 ac_ext=cpp
49295 ac_cpp='$CXXCPP $CPPFLAGS'
49296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49301 /* end confdefs.h. */
49302 #include <math.h>
49304 main ()
49306 _ceilf (0); _floorf (0);
49308 return 0;
49310 _ACEOF
49311 if ac_fn_cxx_try_compile "$LINENO"; then :
49312 glibcxx_cv_func__float_round_use=yes
49313 else
49314 glibcxx_cv_func__float_round_use=no
49316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49317 ac_ext=c
49318 ac_cpp='$CPP $CPPFLAGS'
49319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49326 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49327 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49328 for ac_func in _ceilf _floorf
49329 do :
49330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49333 cat >>confdefs.h <<_ACEOF
49334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49335 _ACEOF
49338 done
49348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49349 $as_echo_n "checking for expf declaration... " >&6; }
49350 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49351 if ${glibcxx_cv_func_expf_use+:} false; then :
49352 $as_echo_n "(cached) " >&6
49353 else
49356 ac_ext=cpp
49357 ac_cpp='$CXXCPP $CPPFLAGS'
49358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49363 /* end confdefs.h. */
49364 #include <math.h>
49365 #ifdef HAVE_IEEEFP_H
49366 #include <ieeefp.h>
49367 #endif
49370 main ()
49372 expf(0);
49374 return 0;
49376 _ACEOF
49377 if ac_fn_cxx_try_compile "$LINENO"; then :
49378 glibcxx_cv_func_expf_use=yes
49379 else
49380 glibcxx_cv_func_expf_use=no
49382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49383 ac_ext=c
49384 ac_cpp='$CPP $CPPFLAGS'
49385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49394 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49396 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49397 for ac_func in expf
49398 do :
49399 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49400 if test "x$ac_cv_func_expf" = xyes; then :
49401 cat >>confdefs.h <<_ACEOF
49402 #define HAVE_EXPF 1
49403 _ACEOF
49406 done
49408 else
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49411 $as_echo_n "checking for _expf declaration... " >&6; }
49412 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49413 if ${glibcxx_cv_func__expf_use+:} false; then :
49414 $as_echo_n "(cached) " >&6
49415 else
49418 ac_ext=cpp
49419 ac_cpp='$CXXCPP $CPPFLAGS'
49420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49425 /* end confdefs.h. */
49426 #include <math.h>
49427 #ifdef HAVE_IEEEFP_H
49428 #include <ieeefp.h>
49429 #endif
49432 main ()
49434 _expf(0);
49436 return 0;
49438 _ACEOF
49439 if ac_fn_cxx_try_compile "$LINENO"; then :
49440 glibcxx_cv_func__expf_use=yes
49441 else
49442 glibcxx_cv_func__expf_use=no
49444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49445 ac_ext=c
49446 ac_cpp='$CPP $CPPFLAGS'
49447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49456 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49458 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49459 for ac_func in _expf
49460 do :
49461 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49462 if test "x$ac_cv_func__expf" = xyes; then :
49463 cat >>confdefs.h <<_ACEOF
49464 #define HAVE__EXPF 1
49465 _ACEOF
49468 done
49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49478 $as_echo_n "checking for isnanf declaration... " >&6; }
49479 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49480 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49481 $as_echo_n "(cached) " >&6
49482 else
49485 ac_ext=cpp
49486 ac_cpp='$CXXCPP $CPPFLAGS'
49487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49492 /* end confdefs.h. */
49493 #include <math.h>
49494 #ifdef HAVE_IEEEFP_H
49495 #include <ieeefp.h>
49496 #endif
49499 main ()
49501 isnanf(0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_isnanf_use=yes
49508 else
49509 glibcxx_cv_func_isnanf_use=no
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49523 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49525 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49526 for ac_func in isnanf
49527 do :
49528 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49529 if test "x$ac_cv_func_isnanf" = xyes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_ISNANF 1
49532 _ACEOF
49535 done
49537 else
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49540 $as_echo_n "checking for _isnanf declaration... " >&6; }
49541 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49542 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49556 #ifdef HAVE_IEEEFP_H
49557 #include <ieeefp.h>
49558 #endif
49561 main ()
49563 _isnanf(0);
49565 return 0;
49567 _ACEOF
49568 if ac_fn_cxx_try_compile "$LINENO"; then :
49569 glibcxx_cv_func__isnanf_use=yes
49570 else
49571 glibcxx_cv_func__isnanf_use=no
49573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49574 ac_ext=c
49575 ac_cpp='$CPP $CPPFLAGS'
49576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49585 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49587 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49588 for ac_func in _isnanf
49589 do :
49590 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49591 if test "x$ac_cv_func__isnanf" = xyes; then :
49592 cat >>confdefs.h <<_ACEOF
49593 #define HAVE__ISNANF 1
49594 _ACEOF
49597 done
49606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49607 $as_echo_n "checking for isinff declaration... " >&6; }
49608 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49609 if ${glibcxx_cv_func_isinff_use+:} false; then :
49610 $as_echo_n "(cached) " >&6
49611 else
49614 ac_ext=cpp
49615 ac_cpp='$CXXCPP $CPPFLAGS'
49616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49621 /* end confdefs.h. */
49622 #include <math.h>
49623 #ifdef HAVE_IEEEFP_H
49624 #include <ieeefp.h>
49625 #endif
49628 main ()
49630 isinff(0);
49632 return 0;
49634 _ACEOF
49635 if ac_fn_cxx_try_compile "$LINENO"; then :
49636 glibcxx_cv_func_isinff_use=yes
49637 else
49638 glibcxx_cv_func_isinff_use=no
49640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49652 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49654 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49655 for ac_func in isinff
49656 do :
49657 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49658 if test "x$ac_cv_func_isinff" = xyes; then :
49659 cat >>confdefs.h <<_ACEOF
49660 #define HAVE_ISINFF 1
49661 _ACEOF
49664 done
49666 else
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49669 $as_echo_n "checking for _isinff declaration... " >&6; }
49670 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49671 if ${glibcxx_cv_func__isinff_use+:} false; then :
49672 $as_echo_n "(cached) " >&6
49673 else
49676 ac_ext=cpp
49677 ac_cpp='$CXXCPP $CPPFLAGS'
49678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49683 /* end confdefs.h. */
49684 #include <math.h>
49685 #ifdef HAVE_IEEEFP_H
49686 #include <ieeefp.h>
49687 #endif
49690 main ()
49692 _isinff(0);
49694 return 0;
49696 _ACEOF
49697 if ac_fn_cxx_try_compile "$LINENO"; then :
49698 glibcxx_cv_func__isinff_use=yes
49699 else
49700 glibcxx_cv_func__isinff_use=no
49702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49703 ac_ext=c
49704 ac_cpp='$CPP $CPPFLAGS'
49705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49714 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49716 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49717 for ac_func in _isinff
49718 do :
49719 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49720 if test "x$ac_cv_func__isinff" = xyes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define HAVE__ISINFF 1
49723 _ACEOF
49726 done
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49736 $as_echo_n "checking for atan2f declaration... " >&6; }
49737 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49738 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49739 $as_echo_n "(cached) " >&6
49740 else
49743 ac_ext=cpp
49744 ac_cpp='$CXXCPP $CPPFLAGS'
49745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49750 /* end confdefs.h. */
49751 #include <math.h>
49753 main ()
49755 atan2f(0, 0);
49757 return 0;
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_atan2f_use=yes
49762 else
49763 glibcxx_cv_func_atan2f_use=no
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49777 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49779 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49780 for ac_func in atan2f
49781 do :
49782 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49783 if test "x$ac_cv_func_atan2f" = xyes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_ATAN2F 1
49786 _ACEOF
49789 done
49791 else
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49794 $as_echo_n "checking for _atan2f declaration... " >&6; }
49795 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49796 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49811 main ()
49813 _atan2f(0, 0);
49815 return 0;
49817 _ACEOF
49818 if ac_fn_cxx_try_compile "$LINENO"; then :
49819 glibcxx_cv_func__atan2f_use=yes
49820 else
49821 glibcxx_cv_func__atan2f_use=no
49823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49824 ac_ext=c
49825 ac_cpp='$CPP $CPPFLAGS'
49826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49835 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49837 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49838 for ac_func in _atan2f
49839 do :
49840 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49841 if test "x$ac_cv_func__atan2f" = xyes; then :
49842 cat >>confdefs.h <<_ACEOF
49843 #define HAVE__ATAN2F 1
49844 _ACEOF
49847 done
49856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49857 $as_echo_n "checking for fabsf declaration... " >&6; }
49858 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49859 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49860 $as_echo_n "(cached) " >&6
49861 else
49864 ac_ext=cpp
49865 ac_cpp='$CXXCPP $CPPFLAGS'
49866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49871 /* end confdefs.h. */
49872 #include <math.h>
49873 #ifdef HAVE_IEEEFP_H
49874 #include <ieeefp.h>
49875 #endif
49878 main ()
49880 fabsf(0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_fabsf_use=yes
49887 else
49888 glibcxx_cv_func_fabsf_use=no
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49902 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49904 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49905 for ac_func in fabsf
49906 do :
49907 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49908 if test "x$ac_cv_func_fabsf" = xyes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_FABSF 1
49911 _ACEOF
49914 done
49916 else
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49919 $as_echo_n "checking for _fabsf declaration... " >&6; }
49920 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49921 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49935 #ifdef HAVE_IEEEFP_H
49936 #include <ieeefp.h>
49937 #endif
49940 main ()
49942 _fabsf(0);
49944 return 0;
49946 _ACEOF
49947 if ac_fn_cxx_try_compile "$LINENO"; then :
49948 glibcxx_cv_func__fabsf_use=yes
49949 else
49950 glibcxx_cv_func__fabsf_use=no
49952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49953 ac_ext=c
49954 ac_cpp='$CPP $CPPFLAGS'
49955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49964 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49966 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49967 for ac_func in _fabsf
49968 do :
49969 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49970 if test "x$ac_cv_func__fabsf" = xyes; then :
49971 cat >>confdefs.h <<_ACEOF
49972 #define HAVE__FABSF 1
49973 _ACEOF
49976 done
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49986 $as_echo_n "checking for fmodf declaration... " >&6; }
49987 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49988 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49989 $as_echo_n "(cached) " >&6
49990 else
49993 ac_ext=cpp
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50000 /* end confdefs.h. */
50001 #include <math.h>
50003 main ()
50005 fmodf(0, 0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_fmodf_use=yes
50012 else
50013 glibcxx_cv_func_fmodf_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50027 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50029 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50030 for ac_func in fmodf
50031 do :
50032 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50033 if test "x$ac_cv_func_fmodf" = xyes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_FMODF 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50044 $as_echo_n "checking for _fmodf declaration... " >&6; }
50045 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50046 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50061 main ()
50063 _fmodf(0, 0);
50065 return 0;
50067 _ACEOF
50068 if ac_fn_cxx_try_compile "$LINENO"; then :
50069 glibcxx_cv_func__fmodf_use=yes
50070 else
50071 glibcxx_cv_func__fmodf_use=no
50073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50074 ac_ext=c
50075 ac_cpp='$CPP $CPPFLAGS'
50076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50085 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50087 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50088 for ac_func in _fmodf
50089 do :
50090 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50091 if test "x$ac_cv_func__fmodf" = xyes; then :
50092 cat >>confdefs.h <<_ACEOF
50093 #define HAVE__FMODF 1
50094 _ACEOF
50097 done
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50107 $as_echo_n "checking for frexpf declaration... " >&6; }
50108 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50109 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50110 $as_echo_n "(cached) " >&6
50111 else
50114 ac_ext=cpp
50115 ac_cpp='$CXXCPP $CPPFLAGS'
50116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50121 /* end confdefs.h. */
50122 #include <math.h>
50124 main ()
50126 frexpf(0, 0);
50128 return 0;
50130 _ACEOF
50131 if ac_fn_cxx_try_compile "$LINENO"; then :
50132 glibcxx_cv_func_frexpf_use=yes
50133 else
50134 glibcxx_cv_func_frexpf_use=no
50136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50137 ac_ext=c
50138 ac_cpp='$CPP $CPPFLAGS'
50139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50148 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50150 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50151 for ac_func in frexpf
50152 do :
50153 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50154 if test "x$ac_cv_func_frexpf" = xyes; then :
50155 cat >>confdefs.h <<_ACEOF
50156 #define HAVE_FREXPF 1
50157 _ACEOF
50160 done
50162 else
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50165 $as_echo_n "checking for _frexpf declaration... " >&6; }
50166 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50167 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50168 $as_echo_n "(cached) " >&6
50169 else
50172 ac_ext=cpp
50173 ac_cpp='$CXXCPP $CPPFLAGS'
50174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50179 /* end confdefs.h. */
50180 #include <math.h>
50182 main ()
50184 _frexpf(0, 0);
50186 return 0;
50188 _ACEOF
50189 if ac_fn_cxx_try_compile "$LINENO"; then :
50190 glibcxx_cv_func__frexpf_use=yes
50191 else
50192 glibcxx_cv_func__frexpf_use=no
50194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50195 ac_ext=c
50196 ac_cpp='$CPP $CPPFLAGS'
50197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50206 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50208 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50209 for ac_func in _frexpf
50210 do :
50211 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50212 if test "x$ac_cv_func__frexpf" = xyes; then :
50213 cat >>confdefs.h <<_ACEOF
50214 #define HAVE__FREXPF 1
50215 _ACEOF
50218 done
50227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50228 $as_echo_n "checking for hypotf declaration... " >&6; }
50229 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50230 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50231 $as_echo_n "(cached) " >&6
50232 else
50235 ac_ext=cpp
50236 ac_cpp='$CXXCPP $CPPFLAGS'
50237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50242 /* end confdefs.h. */
50243 #include <math.h>
50245 main ()
50247 hypotf(0, 0);
50249 return 0;
50251 _ACEOF
50252 if ac_fn_cxx_try_compile "$LINENO"; then :
50253 glibcxx_cv_func_hypotf_use=yes
50254 else
50255 glibcxx_cv_func_hypotf_use=no
50257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50258 ac_ext=c
50259 ac_cpp='$CPP $CPPFLAGS'
50260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50269 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50271 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50272 for ac_func in hypotf
50273 do :
50274 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50275 if test "x$ac_cv_func_hypotf" = xyes; then :
50276 cat >>confdefs.h <<_ACEOF
50277 #define HAVE_HYPOTF 1
50278 _ACEOF
50281 done
50283 else
50285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50286 $as_echo_n "checking for _hypotf declaration... " >&6; }
50287 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50288 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50289 $as_echo_n "(cached) " >&6
50290 else
50293 ac_ext=cpp
50294 ac_cpp='$CXXCPP $CPPFLAGS'
50295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50300 /* end confdefs.h. */
50301 #include <math.h>
50303 main ()
50305 _hypotf(0, 0);
50307 return 0;
50309 _ACEOF
50310 if ac_fn_cxx_try_compile "$LINENO"; then :
50311 glibcxx_cv_func__hypotf_use=yes
50312 else
50313 glibcxx_cv_func__hypotf_use=no
50315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50316 ac_ext=c
50317 ac_cpp='$CPP $CPPFLAGS'
50318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50327 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50329 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50330 for ac_func in _hypotf
50331 do :
50332 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50333 if test "x$ac_cv_func__hypotf" = xyes; then :
50334 cat >>confdefs.h <<_ACEOF
50335 #define HAVE__HYPOTF 1
50336 _ACEOF
50339 done
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50349 $as_echo_n "checking for ldexpf declaration... " >&6; }
50350 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50351 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <math.h>
50366 main ()
50368 ldexpf(0, 0);
50370 return 0;
50372 _ACEOF
50373 if ac_fn_cxx_try_compile "$LINENO"; then :
50374 glibcxx_cv_func_ldexpf_use=yes
50375 else
50376 glibcxx_cv_func_ldexpf_use=no
50378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50379 ac_ext=c
50380 ac_cpp='$CPP $CPPFLAGS'
50381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50390 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50392 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50393 for ac_func in ldexpf
50394 do :
50395 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50396 if test "x$ac_cv_func_ldexpf" = xyes; then :
50397 cat >>confdefs.h <<_ACEOF
50398 #define HAVE_LDEXPF 1
50399 _ACEOF
50402 done
50404 else
50406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50407 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50408 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50409 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50410 $as_echo_n "(cached) " >&6
50411 else
50414 ac_ext=cpp
50415 ac_cpp='$CXXCPP $CPPFLAGS'
50416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50421 /* end confdefs.h. */
50422 #include <math.h>
50424 main ()
50426 _ldexpf(0, 0);
50428 return 0;
50430 _ACEOF
50431 if ac_fn_cxx_try_compile "$LINENO"; then :
50432 glibcxx_cv_func__ldexpf_use=yes
50433 else
50434 glibcxx_cv_func__ldexpf_use=no
50436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50437 ac_ext=c
50438 ac_cpp='$CPP $CPPFLAGS'
50439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50448 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50450 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50451 for ac_func in _ldexpf
50452 do :
50453 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50454 if test "x$ac_cv_func__ldexpf" = xyes; then :
50455 cat >>confdefs.h <<_ACEOF
50456 #define HAVE__LDEXPF 1
50457 _ACEOF
50460 done
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50470 $as_echo_n "checking for logf declaration... " >&6; }
50471 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50472 if ${glibcxx_cv_func_logf_use+:} false; then :
50473 $as_echo_n "(cached) " >&6
50474 else
50477 ac_ext=cpp
50478 ac_cpp='$CXXCPP $CPPFLAGS'
50479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50484 /* end confdefs.h. */
50485 #include <math.h>
50486 #ifdef HAVE_IEEEFP_H
50487 #include <ieeefp.h>
50488 #endif
50491 main ()
50493 logf(0);
50495 return 0;
50497 _ACEOF
50498 if ac_fn_cxx_try_compile "$LINENO"; then :
50499 glibcxx_cv_func_logf_use=yes
50500 else
50501 glibcxx_cv_func_logf_use=no
50503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50504 ac_ext=c
50505 ac_cpp='$CPP $CPPFLAGS'
50506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50515 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50517 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50518 for ac_func in logf
50519 do :
50520 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50521 if test "x$ac_cv_func_logf" = xyes; then :
50522 cat >>confdefs.h <<_ACEOF
50523 #define HAVE_LOGF 1
50524 _ACEOF
50527 done
50529 else
50531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50532 $as_echo_n "checking for _logf declaration... " >&6; }
50533 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50534 if ${glibcxx_cv_func__logf_use+:} false; then :
50535 $as_echo_n "(cached) " >&6
50536 else
50539 ac_ext=cpp
50540 ac_cpp='$CXXCPP $CPPFLAGS'
50541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50546 /* end confdefs.h. */
50547 #include <math.h>
50548 #ifdef HAVE_IEEEFP_H
50549 #include <ieeefp.h>
50550 #endif
50553 main ()
50555 _logf(0);
50557 return 0;
50559 _ACEOF
50560 if ac_fn_cxx_try_compile "$LINENO"; then :
50561 glibcxx_cv_func__logf_use=yes
50562 else
50563 glibcxx_cv_func__logf_use=no
50565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50566 ac_ext=c
50567 ac_cpp='$CPP $CPPFLAGS'
50568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50577 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50579 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50580 for ac_func in _logf
50581 do :
50582 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50583 if test "x$ac_cv_func__logf" = xyes; then :
50584 cat >>confdefs.h <<_ACEOF
50585 #define HAVE__LOGF 1
50586 _ACEOF
50589 done
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50599 $as_echo_n "checking for log10f declaration... " >&6; }
50600 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50601 if ${glibcxx_cv_func_log10f_use+:} false; then :
50602 $as_echo_n "(cached) " >&6
50603 else
50606 ac_ext=cpp
50607 ac_cpp='$CXXCPP $CPPFLAGS'
50608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50613 /* end confdefs.h. */
50614 #include <math.h>
50615 #ifdef HAVE_IEEEFP_H
50616 #include <ieeefp.h>
50617 #endif
50620 main ()
50622 log10f(0);
50624 return 0;
50626 _ACEOF
50627 if ac_fn_cxx_try_compile "$LINENO"; then :
50628 glibcxx_cv_func_log10f_use=yes
50629 else
50630 glibcxx_cv_func_log10f_use=no
50632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50644 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50646 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50647 for ac_func in log10f
50648 do :
50649 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50650 if test "x$ac_cv_func_log10f" = xyes; then :
50651 cat >>confdefs.h <<_ACEOF
50652 #define HAVE_LOG10F 1
50653 _ACEOF
50656 done
50658 else
50660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50661 $as_echo_n "checking for _log10f declaration... " >&6; }
50662 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50663 if ${glibcxx_cv_func__log10f_use+:} false; then :
50664 $as_echo_n "(cached) " >&6
50665 else
50668 ac_ext=cpp
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50675 /* end confdefs.h. */
50676 #include <math.h>
50677 #ifdef HAVE_IEEEFP_H
50678 #include <ieeefp.h>
50679 #endif
50682 main ()
50684 _log10f(0);
50686 return 0;
50688 _ACEOF
50689 if ac_fn_cxx_try_compile "$LINENO"; then :
50690 glibcxx_cv_func__log10f_use=yes
50691 else
50692 glibcxx_cv_func__log10f_use=no
50694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50695 ac_ext=c
50696 ac_cpp='$CPP $CPPFLAGS'
50697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50706 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50708 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50709 for ac_func in _log10f
50710 do :
50711 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50712 if test "x$ac_cv_func__log10f" = xyes; then :
50713 cat >>confdefs.h <<_ACEOF
50714 #define HAVE__LOG10F 1
50715 _ACEOF
50718 done
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50728 $as_echo_n "checking for modff declaration... " >&6; }
50729 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50730 if ${glibcxx_cv_func_modff_use+:} false; then :
50731 $as_echo_n "(cached) " >&6
50732 else
50735 ac_ext=cpp
50736 ac_cpp='$CXXCPP $CPPFLAGS'
50737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50742 /* end confdefs.h. */
50743 #include <math.h>
50745 main ()
50747 modff(0, 0);
50749 return 0;
50751 _ACEOF
50752 if ac_fn_cxx_try_compile "$LINENO"; then :
50753 glibcxx_cv_func_modff_use=yes
50754 else
50755 glibcxx_cv_func_modff_use=no
50757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50758 ac_ext=c
50759 ac_cpp='$CPP $CPPFLAGS'
50760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50769 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50771 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50772 for ac_func in modff
50773 do :
50774 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50775 if test "x$ac_cv_func_modff" = xyes; then :
50776 cat >>confdefs.h <<_ACEOF
50777 #define HAVE_MODFF 1
50778 _ACEOF
50781 done
50783 else
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50786 $as_echo_n "checking for _modff declaration... " >&6; }
50787 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50788 if ${glibcxx_cv_func__modff_use+:} false; then :
50789 $as_echo_n "(cached) " >&6
50790 else
50793 ac_ext=cpp
50794 ac_cpp='$CXXCPP $CPPFLAGS'
50795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50800 /* end confdefs.h. */
50801 #include <math.h>
50803 main ()
50805 _modff(0, 0);
50807 return 0;
50809 _ACEOF
50810 if ac_fn_cxx_try_compile "$LINENO"; then :
50811 glibcxx_cv_func__modff_use=yes
50812 else
50813 glibcxx_cv_func__modff_use=no
50815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50816 ac_ext=c
50817 ac_cpp='$CPP $CPPFLAGS'
50818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50827 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50829 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50830 for ac_func in _modff
50831 do :
50832 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50833 if test "x$ac_cv_func__modff" = xyes; then :
50834 cat >>confdefs.h <<_ACEOF
50835 #define HAVE__MODFF 1
50836 _ACEOF
50839 done
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50849 $as_echo_n "checking for modf declaration... " >&6; }
50850 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50851 if ${glibcxx_cv_func_modf_use+:} false; then :
50852 $as_echo_n "(cached) " >&6
50853 else
50856 ac_ext=cpp
50857 ac_cpp='$CXXCPP $CPPFLAGS'
50858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50863 /* end confdefs.h. */
50864 #include <math.h>
50866 main ()
50868 modf(0, 0);
50870 return 0;
50872 _ACEOF
50873 if ac_fn_cxx_try_compile "$LINENO"; then :
50874 glibcxx_cv_func_modf_use=yes
50875 else
50876 glibcxx_cv_func_modf_use=no
50878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50879 ac_ext=c
50880 ac_cpp='$CPP $CPPFLAGS'
50881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50890 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50892 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50893 for ac_func in modf
50894 do :
50895 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50896 if test "x$ac_cv_func_modf" = xyes; then :
50897 cat >>confdefs.h <<_ACEOF
50898 #define HAVE_MODF 1
50899 _ACEOF
50902 done
50904 else
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50907 $as_echo_n "checking for _modf declaration... " >&6; }
50908 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50909 if ${glibcxx_cv_func__modf_use+:} false; then :
50910 $as_echo_n "(cached) " >&6
50911 else
50914 ac_ext=cpp
50915 ac_cpp='$CXXCPP $CPPFLAGS'
50916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50921 /* end confdefs.h. */
50922 #include <math.h>
50924 main ()
50926 _modf(0, 0);
50928 return 0;
50930 _ACEOF
50931 if ac_fn_cxx_try_compile "$LINENO"; then :
50932 glibcxx_cv_func__modf_use=yes
50933 else
50934 glibcxx_cv_func__modf_use=no
50936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50937 ac_ext=c
50938 ac_cpp='$CPP $CPPFLAGS'
50939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50948 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50950 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50951 for ac_func in _modf
50952 do :
50953 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50954 if test "x$ac_cv_func__modf" = xyes; then :
50955 cat >>confdefs.h <<_ACEOF
50956 #define HAVE__MODF 1
50957 _ACEOF
50960 done
50969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50970 $as_echo_n "checking for powf declaration... " >&6; }
50971 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50972 if ${glibcxx_cv_func_powf_use+:} false; then :
50973 $as_echo_n "(cached) " >&6
50974 else
50977 ac_ext=cpp
50978 ac_cpp='$CXXCPP $CPPFLAGS'
50979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50984 /* end confdefs.h. */
50985 #include <math.h>
50987 main ()
50989 powf(0, 0);
50991 return 0;
50993 _ACEOF
50994 if ac_fn_cxx_try_compile "$LINENO"; then :
50995 glibcxx_cv_func_powf_use=yes
50996 else
50997 glibcxx_cv_func_powf_use=no
50999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51000 ac_ext=c
51001 ac_cpp='$CPP $CPPFLAGS'
51002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51011 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51013 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51014 for ac_func in powf
51015 do :
51016 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51017 if test "x$ac_cv_func_powf" = xyes; then :
51018 cat >>confdefs.h <<_ACEOF
51019 #define HAVE_POWF 1
51020 _ACEOF
51023 done
51025 else
51027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51028 $as_echo_n "checking for _powf declaration... " >&6; }
51029 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51030 if ${glibcxx_cv_func__powf_use+:} false; then :
51031 $as_echo_n "(cached) " >&6
51032 else
51035 ac_ext=cpp
51036 ac_cpp='$CXXCPP $CPPFLAGS'
51037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51042 /* end confdefs.h. */
51043 #include <math.h>
51045 main ()
51047 _powf(0, 0);
51049 return 0;
51051 _ACEOF
51052 if ac_fn_cxx_try_compile "$LINENO"; then :
51053 glibcxx_cv_func__powf_use=yes
51054 else
51055 glibcxx_cv_func__powf_use=no
51057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51058 ac_ext=c
51059 ac_cpp='$CPP $CPPFLAGS'
51060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51069 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51071 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51072 for ac_func in _powf
51073 do :
51074 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51075 if test "x$ac_cv_func__powf" = xyes; then :
51076 cat >>confdefs.h <<_ACEOF
51077 #define HAVE__POWF 1
51078 _ACEOF
51081 done
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51091 $as_echo_n "checking for sqrtf declaration... " >&6; }
51092 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51093 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51094 $as_echo_n "(cached) " >&6
51095 else
51098 ac_ext=cpp
51099 ac_cpp='$CXXCPP $CPPFLAGS'
51100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51105 /* end confdefs.h. */
51106 #include <math.h>
51107 #ifdef HAVE_IEEEFP_H
51108 #include <ieeefp.h>
51109 #endif
51112 main ()
51114 sqrtf(0);
51116 return 0;
51118 _ACEOF
51119 if ac_fn_cxx_try_compile "$LINENO"; then :
51120 glibcxx_cv_func_sqrtf_use=yes
51121 else
51122 glibcxx_cv_func_sqrtf_use=no
51124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51125 ac_ext=c
51126 ac_cpp='$CPP $CPPFLAGS'
51127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51136 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51138 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51139 for ac_func in sqrtf
51140 do :
51141 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51142 if test "x$ac_cv_func_sqrtf" = xyes; then :
51143 cat >>confdefs.h <<_ACEOF
51144 #define HAVE_SQRTF 1
51145 _ACEOF
51148 done
51150 else
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51153 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51154 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51155 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51156 $as_echo_n "(cached) " >&6
51157 else
51160 ac_ext=cpp
51161 ac_cpp='$CXXCPP $CPPFLAGS'
51162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51167 /* end confdefs.h. */
51168 #include <math.h>
51169 #ifdef HAVE_IEEEFP_H
51170 #include <ieeefp.h>
51171 #endif
51174 main ()
51176 _sqrtf(0);
51178 return 0;
51180 _ACEOF
51181 if ac_fn_cxx_try_compile "$LINENO"; then :
51182 glibcxx_cv_func__sqrtf_use=yes
51183 else
51184 glibcxx_cv_func__sqrtf_use=no
51186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51187 ac_ext=c
51188 ac_cpp='$CPP $CPPFLAGS'
51189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51198 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51200 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51201 for ac_func in _sqrtf
51202 do :
51203 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51204 if test "x$ac_cv_func__sqrtf" = xyes; then :
51205 cat >>confdefs.h <<_ACEOF
51206 #define HAVE__SQRTF 1
51207 _ACEOF
51210 done
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51220 $as_echo_n "checking for sincosf declaration... " >&6; }
51221 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51222 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51223 $as_echo_n "(cached) " >&6
51224 else
51227 ac_ext=cpp
51228 ac_cpp='$CXXCPP $CPPFLAGS'
51229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51234 /* end confdefs.h. */
51235 #include <math.h>
51237 main ()
51239 sincosf(0, 0, 0);
51241 return 0;
51243 _ACEOF
51244 if ac_fn_cxx_try_compile "$LINENO"; then :
51245 glibcxx_cv_func_sincosf_use=yes
51246 else
51247 glibcxx_cv_func_sincosf_use=no
51249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51250 ac_ext=c
51251 ac_cpp='$CPP $CPPFLAGS'
51252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51261 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51263 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51264 for ac_func in sincosf
51265 do :
51266 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51267 if test "x$ac_cv_func_sincosf" = xyes; then :
51268 cat >>confdefs.h <<_ACEOF
51269 #define HAVE_SINCOSF 1
51270 _ACEOF
51273 done
51275 else
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51278 $as_echo_n "checking for _sincosf declaration... " >&6; }
51279 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51280 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51281 $as_echo_n "(cached) " >&6
51282 else
51285 ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h. */
51293 #include <math.h>
51295 main ()
51297 _sincosf(0, 0, 0);
51299 return 0;
51301 _ACEOF
51302 if ac_fn_cxx_try_compile "$LINENO"; then :
51303 glibcxx_cv_func__sincosf_use=yes
51304 else
51305 glibcxx_cv_func__sincosf_use=no
51307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51308 ac_ext=c
51309 ac_cpp='$CPP $CPPFLAGS'
51310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51319 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51321 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51322 for ac_func in _sincosf
51323 do :
51324 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51325 if test "x$ac_cv_func__sincosf" = xyes; then :
51326 cat >>confdefs.h <<_ACEOF
51327 #define HAVE__SINCOSF 1
51328 _ACEOF
51331 done
51340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51341 $as_echo_n "checking for finitef declaration... " >&6; }
51342 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51343 if ${glibcxx_cv_func_finitef_use+:} false; then :
51344 $as_echo_n "(cached) " >&6
51345 else
51348 ac_ext=cpp
51349 ac_cpp='$CXXCPP $CPPFLAGS'
51350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51355 /* end confdefs.h. */
51356 #include <math.h>
51357 #ifdef HAVE_IEEEFP_H
51358 #include <ieeefp.h>
51359 #endif
51362 main ()
51364 finitef(0);
51366 return 0;
51368 _ACEOF
51369 if ac_fn_cxx_try_compile "$LINENO"; then :
51370 glibcxx_cv_func_finitef_use=yes
51371 else
51372 glibcxx_cv_func_finitef_use=no
51374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51375 ac_ext=c
51376 ac_cpp='$CPP $CPPFLAGS'
51377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51386 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51388 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51389 for ac_func in finitef
51390 do :
51391 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51392 if test "x$ac_cv_func_finitef" = xyes; then :
51393 cat >>confdefs.h <<_ACEOF
51394 #define HAVE_FINITEF 1
51395 _ACEOF
51398 done
51400 else
51402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51403 $as_echo_n "checking for _finitef declaration... " >&6; }
51404 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51405 if ${glibcxx_cv_func__finitef_use+:} false; then :
51406 $as_echo_n "(cached) " >&6
51407 else
51410 ac_ext=cpp
51411 ac_cpp='$CXXCPP $CPPFLAGS'
51412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51417 /* end confdefs.h. */
51418 #include <math.h>
51419 #ifdef HAVE_IEEEFP_H
51420 #include <ieeefp.h>
51421 #endif
51424 main ()
51426 _finitef(0);
51428 return 0;
51430 _ACEOF
51431 if ac_fn_cxx_try_compile "$LINENO"; then :
51432 glibcxx_cv_func__finitef_use=yes
51433 else
51434 glibcxx_cv_func__finitef_use=no
51436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51437 ac_ext=c
51438 ac_cpp='$CPP $CPPFLAGS'
51439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51448 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51450 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51451 for ac_func in _finitef
51452 do :
51453 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51454 if test "x$ac_cv_func__finitef" = xyes; then :
51455 cat >>confdefs.h <<_ACEOF
51456 #define HAVE__FINITEF 1
51457 _ACEOF
51460 done
51469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51470 $as_echo_n "checking for long double trig functions... " >&6; }
51471 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51472 $as_echo_n "(cached) " >&6
51473 else
51476 ac_ext=cpp
51477 ac_cpp='$CXXCPP $CPPFLAGS'
51478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51483 /* end confdefs.h. */
51484 #include <math.h>
51486 main ()
51488 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51490 return 0;
51492 _ACEOF
51493 if ac_fn_cxx_try_compile "$LINENO"; then :
51494 glibcxx_cv_func_long_double_trig_use=yes
51495 else
51496 glibcxx_cv_func_long_double_trig_use=no
51498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51499 ac_ext=c
51500 ac_cpp='$CPP $CPPFLAGS'
51501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51508 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51509 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51510 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51511 do :
51512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51515 cat >>confdefs.h <<_ACEOF
51516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51517 _ACEOF
51520 done
51522 else
51523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51524 $as_echo_n "checking for _long double trig functions... " >&6; }
51525 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51526 $as_echo_n "(cached) " >&6
51527 else
51530 ac_ext=cpp
51531 ac_cpp='$CXXCPP $CPPFLAGS'
51532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51537 /* end confdefs.h. */
51538 #include <math.h>
51540 main ()
51542 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51544 return 0;
51546 _ACEOF
51547 if ac_fn_cxx_try_compile "$LINENO"; then :
51548 glibcxx_cv_func__long_double_trig_use=yes
51549 else
51550 glibcxx_cv_func__long_double_trig_use=no
51552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51553 ac_ext=c
51554 ac_cpp='$CPP $CPPFLAGS'
51555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51562 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51563 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51564 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51565 do :
51566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51569 cat >>confdefs.h <<_ACEOF
51570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51571 _ACEOF
51574 done
51583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51584 $as_echo_n "checking for long double round functions... " >&6; }
51585 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51586 $as_echo_n "(cached) " >&6
51587 else
51590 ac_ext=cpp
51591 ac_cpp='$CXXCPP $CPPFLAGS'
51592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51597 /* end confdefs.h. */
51598 #include <math.h>
51600 main ()
51602 ceill (0); floorl (0);
51604 return 0;
51606 _ACEOF
51607 if ac_fn_cxx_try_compile "$LINENO"; then :
51608 glibcxx_cv_func_long_double_round_use=yes
51609 else
51610 glibcxx_cv_func_long_double_round_use=no
51612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51613 ac_ext=c
51614 ac_cpp='$CPP $CPPFLAGS'
51615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51622 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51623 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51624 for ac_func in ceill floorl
51625 do :
51626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51629 cat >>confdefs.h <<_ACEOF
51630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51631 _ACEOF
51634 done
51636 else
51637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51638 $as_echo_n "checking for _long double round functions... " >&6; }
51639 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51640 $as_echo_n "(cached) " >&6
51641 else
51644 ac_ext=cpp
51645 ac_cpp='$CXXCPP $CPPFLAGS'
51646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51651 /* end confdefs.h. */
51652 #include <math.h>
51654 main ()
51656 _ceill (0); _floorl (0);
51658 return 0;
51660 _ACEOF
51661 if ac_fn_cxx_try_compile "$LINENO"; then :
51662 glibcxx_cv_func__long_double_round_use=yes
51663 else
51664 glibcxx_cv_func__long_double_round_use=no
51666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51667 ac_ext=c
51668 ac_cpp='$CPP $CPPFLAGS'
51669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51676 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51677 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51678 for ac_func in _ceill _floorl
51679 do :
51680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51682 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51683 cat >>confdefs.h <<_ACEOF
51684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51685 _ACEOF
51688 done
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51699 $as_echo_n "checking for isnanl declaration... " >&6; }
51700 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51701 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51702 $as_echo_n "(cached) " >&6
51703 else
51706 ac_ext=cpp
51707 ac_cpp='$CXXCPP $CPPFLAGS'
51708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51713 /* end confdefs.h. */
51714 #include <math.h>
51715 #ifdef HAVE_IEEEFP_H
51716 #include <ieeefp.h>
51717 #endif
51720 main ()
51722 isnanl(0);
51724 return 0;
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728 glibcxx_cv_func_isnanl_use=yes
51729 else
51730 glibcxx_cv_func_isnanl_use=no
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733 ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51744 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51746 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51747 for ac_func in isnanl
51748 do :
51749 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51750 if test "x$ac_cv_func_isnanl" = xyes; then :
51751 cat >>confdefs.h <<_ACEOF
51752 #define HAVE_ISNANL 1
51753 _ACEOF
51756 done
51758 else
51760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51761 $as_echo_n "checking for _isnanl declaration... " >&6; }
51762 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51763 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51764 $as_echo_n "(cached) " >&6
51765 else
51768 ac_ext=cpp
51769 ac_cpp='$CXXCPP $CPPFLAGS'
51770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51775 /* end confdefs.h. */
51776 #include <math.h>
51777 #ifdef HAVE_IEEEFP_H
51778 #include <ieeefp.h>
51779 #endif
51782 main ()
51784 _isnanl(0);
51786 return 0;
51788 _ACEOF
51789 if ac_fn_cxx_try_compile "$LINENO"; then :
51790 glibcxx_cv_func__isnanl_use=yes
51791 else
51792 glibcxx_cv_func__isnanl_use=no
51794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51795 ac_ext=c
51796 ac_cpp='$CPP $CPPFLAGS'
51797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51806 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51808 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51809 for ac_func in _isnanl
51810 do :
51811 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51812 if test "x$ac_cv_func__isnanl" = xyes; then :
51813 cat >>confdefs.h <<_ACEOF
51814 #define HAVE__ISNANL 1
51815 _ACEOF
51818 done
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51828 $as_echo_n "checking for isinfl declaration... " >&6; }
51829 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51830 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51831 $as_echo_n "(cached) " >&6
51832 else
51835 ac_ext=cpp
51836 ac_cpp='$CXXCPP $CPPFLAGS'
51837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51842 /* end confdefs.h. */
51843 #include <math.h>
51844 #ifdef HAVE_IEEEFP_H
51845 #include <ieeefp.h>
51846 #endif
51849 main ()
51851 isinfl(0);
51853 return 0;
51855 _ACEOF
51856 if ac_fn_cxx_try_compile "$LINENO"; then :
51857 glibcxx_cv_func_isinfl_use=yes
51858 else
51859 glibcxx_cv_func_isinfl_use=no
51861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51862 ac_ext=c
51863 ac_cpp='$CPP $CPPFLAGS'
51864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51873 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51875 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51876 for ac_func in isinfl
51877 do :
51878 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51879 if test "x$ac_cv_func_isinfl" = xyes; then :
51880 cat >>confdefs.h <<_ACEOF
51881 #define HAVE_ISINFL 1
51882 _ACEOF
51885 done
51887 else
51889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51890 $as_echo_n "checking for _isinfl declaration... " >&6; }
51891 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51892 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51893 $as_echo_n "(cached) " >&6
51894 else
51897 ac_ext=cpp
51898 ac_cpp='$CXXCPP $CPPFLAGS'
51899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51904 /* end confdefs.h. */
51905 #include <math.h>
51906 #ifdef HAVE_IEEEFP_H
51907 #include <ieeefp.h>
51908 #endif
51911 main ()
51913 _isinfl(0);
51915 return 0;
51917 _ACEOF
51918 if ac_fn_cxx_try_compile "$LINENO"; then :
51919 glibcxx_cv_func__isinfl_use=yes
51920 else
51921 glibcxx_cv_func__isinfl_use=no
51923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51924 ac_ext=c
51925 ac_cpp='$CPP $CPPFLAGS'
51926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51935 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51937 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51938 for ac_func in _isinfl
51939 do :
51940 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51941 if test "x$ac_cv_func__isinfl" = xyes; then :
51942 cat >>confdefs.h <<_ACEOF
51943 #define HAVE__ISINFL 1
51944 _ACEOF
51947 done
51956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51957 $as_echo_n "checking for atan2l declaration... " >&6; }
51958 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51959 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51960 $as_echo_n "(cached) " >&6
51961 else
51964 ac_ext=cpp
51965 ac_cpp='$CXXCPP $CPPFLAGS'
51966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51971 /* end confdefs.h. */
51972 #include <math.h>
51974 main ()
51976 atan2l(0, 0);
51978 return 0;
51980 _ACEOF
51981 if ac_fn_cxx_try_compile "$LINENO"; then :
51982 glibcxx_cv_func_atan2l_use=yes
51983 else
51984 glibcxx_cv_func_atan2l_use=no
51986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51987 ac_ext=c
51988 ac_cpp='$CPP $CPPFLAGS'
51989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51998 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52000 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52001 for ac_func in atan2l
52002 do :
52003 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52004 if test "x$ac_cv_func_atan2l" = xyes; then :
52005 cat >>confdefs.h <<_ACEOF
52006 #define HAVE_ATAN2L 1
52007 _ACEOF
52010 done
52012 else
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52015 $as_echo_n "checking for _atan2l declaration... " >&6; }
52016 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52017 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52018 $as_echo_n "(cached) " >&6
52019 else
52022 ac_ext=cpp
52023 ac_cpp='$CXXCPP $CPPFLAGS'
52024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52029 /* end confdefs.h. */
52030 #include <math.h>
52032 main ()
52034 _atan2l(0, 0);
52036 return 0;
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func__atan2l_use=yes
52041 else
52042 glibcxx_cv_func__atan2l_use=no
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52056 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52058 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52059 for ac_func in _atan2l
52060 do :
52061 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52062 if test "x$ac_cv_func__atan2l" = xyes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE__ATAN2L 1
52065 _ACEOF
52068 done
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52078 $as_echo_n "checking for expl declaration... " >&6; }
52079 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52080 if ${glibcxx_cv_func_expl_use+:} false; then :
52081 $as_echo_n "(cached) " >&6
52082 else
52085 ac_ext=cpp
52086 ac_cpp='$CXXCPP $CPPFLAGS'
52087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52092 /* end confdefs.h. */
52093 #include <math.h>
52094 #ifdef HAVE_IEEEFP_H
52095 #include <ieeefp.h>
52096 #endif
52099 main ()
52101 expl(0);
52103 return 0;
52105 _ACEOF
52106 if ac_fn_cxx_try_compile "$LINENO"; then :
52107 glibcxx_cv_func_expl_use=yes
52108 else
52109 glibcxx_cv_func_expl_use=no
52111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52112 ac_ext=c
52113 ac_cpp='$CPP $CPPFLAGS'
52114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52123 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52125 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52126 for ac_func in expl
52127 do :
52128 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52129 if test "x$ac_cv_func_expl" = xyes; then :
52130 cat >>confdefs.h <<_ACEOF
52131 #define HAVE_EXPL 1
52132 _ACEOF
52135 done
52137 else
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52140 $as_echo_n "checking for _expl declaration... " >&6; }
52141 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52142 if ${glibcxx_cv_func__expl_use+:} false; then :
52143 $as_echo_n "(cached) " >&6
52144 else
52147 ac_ext=cpp
52148 ac_cpp='$CXXCPP $CPPFLAGS'
52149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52154 /* end confdefs.h. */
52155 #include <math.h>
52156 #ifdef HAVE_IEEEFP_H
52157 #include <ieeefp.h>
52158 #endif
52161 main ()
52163 _expl(0);
52165 return 0;
52167 _ACEOF
52168 if ac_fn_cxx_try_compile "$LINENO"; then :
52169 glibcxx_cv_func__expl_use=yes
52170 else
52171 glibcxx_cv_func__expl_use=no
52173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52174 ac_ext=c
52175 ac_cpp='$CPP $CPPFLAGS'
52176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52185 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52187 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52188 for ac_func in _expl
52189 do :
52190 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52191 if test "x$ac_cv_func__expl" = xyes; then :
52192 cat >>confdefs.h <<_ACEOF
52193 #define HAVE__EXPL 1
52194 _ACEOF
52197 done
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52207 $as_echo_n "checking for fabsl declaration... " >&6; }
52208 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52209 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52210 $as_echo_n "(cached) " >&6
52211 else
52214 ac_ext=cpp
52215 ac_cpp='$CXXCPP $CPPFLAGS'
52216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52221 /* end confdefs.h. */
52222 #include <math.h>
52223 #ifdef HAVE_IEEEFP_H
52224 #include <ieeefp.h>
52225 #endif
52228 main ()
52230 fabsl(0);
52232 return 0;
52234 _ACEOF
52235 if ac_fn_cxx_try_compile "$LINENO"; then :
52236 glibcxx_cv_func_fabsl_use=yes
52237 else
52238 glibcxx_cv_func_fabsl_use=no
52240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52241 ac_ext=c
52242 ac_cpp='$CPP $CPPFLAGS'
52243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52252 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52254 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52255 for ac_func in fabsl
52256 do :
52257 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52258 if test "x$ac_cv_func_fabsl" = xyes; then :
52259 cat >>confdefs.h <<_ACEOF
52260 #define HAVE_FABSL 1
52261 _ACEOF
52264 done
52266 else
52268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52269 $as_echo_n "checking for _fabsl declaration... " >&6; }
52270 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52271 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52272 $as_echo_n "(cached) " >&6
52273 else
52276 ac_ext=cpp
52277 ac_cpp='$CXXCPP $CPPFLAGS'
52278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52283 /* end confdefs.h. */
52284 #include <math.h>
52285 #ifdef HAVE_IEEEFP_H
52286 #include <ieeefp.h>
52287 #endif
52290 main ()
52292 _fabsl(0);
52294 return 0;
52296 _ACEOF
52297 if ac_fn_cxx_try_compile "$LINENO"; then :
52298 glibcxx_cv_func__fabsl_use=yes
52299 else
52300 glibcxx_cv_func__fabsl_use=no
52302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52303 ac_ext=c
52304 ac_cpp='$CPP $CPPFLAGS'
52305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52314 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52316 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52317 for ac_func in _fabsl
52318 do :
52319 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52320 if test "x$ac_cv_func__fabsl" = xyes; then :
52321 cat >>confdefs.h <<_ACEOF
52322 #define HAVE__FABSL 1
52323 _ACEOF
52326 done
52335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52336 $as_echo_n "checking for fmodl declaration... " >&6; }
52337 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52338 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52339 $as_echo_n "(cached) " >&6
52340 else
52343 ac_ext=cpp
52344 ac_cpp='$CXXCPP $CPPFLAGS'
52345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52350 /* end confdefs.h. */
52351 #include <math.h>
52353 main ()
52355 fmodl(0, 0);
52357 return 0;
52359 _ACEOF
52360 if ac_fn_cxx_try_compile "$LINENO"; then :
52361 glibcxx_cv_func_fmodl_use=yes
52362 else
52363 glibcxx_cv_func_fmodl_use=no
52365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52366 ac_ext=c
52367 ac_cpp='$CPP $CPPFLAGS'
52368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52377 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52379 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52380 for ac_func in fmodl
52381 do :
52382 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52383 if test "x$ac_cv_func_fmodl" = xyes; then :
52384 cat >>confdefs.h <<_ACEOF
52385 #define HAVE_FMODL 1
52386 _ACEOF
52389 done
52391 else
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52394 $as_echo_n "checking for _fmodl declaration... " >&6; }
52395 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52396 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52397 $as_echo_n "(cached) " >&6
52398 else
52401 ac_ext=cpp
52402 ac_cpp='$CXXCPP $CPPFLAGS'
52403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52408 /* end confdefs.h. */
52409 #include <math.h>
52411 main ()
52413 _fmodl(0, 0);
52415 return 0;
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419 glibcxx_cv_func__fmodl_use=yes
52420 else
52421 glibcxx_cv_func__fmodl_use=no
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424 ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52435 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52437 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52438 for ac_func in _fmodl
52439 do :
52440 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52441 if test "x$ac_cv_func__fmodl" = xyes; then :
52442 cat >>confdefs.h <<_ACEOF
52443 #define HAVE__FMODL 1
52444 _ACEOF
52447 done
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52457 $as_echo_n "checking for frexpl declaration... " >&6; }
52458 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52459 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52460 $as_echo_n "(cached) " >&6
52461 else
52464 ac_ext=cpp
52465 ac_cpp='$CXXCPP $CPPFLAGS'
52466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52471 /* end confdefs.h. */
52472 #include <math.h>
52474 main ()
52476 frexpl(0, 0);
52478 return 0;
52480 _ACEOF
52481 if ac_fn_cxx_try_compile "$LINENO"; then :
52482 glibcxx_cv_func_frexpl_use=yes
52483 else
52484 glibcxx_cv_func_frexpl_use=no
52486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52487 ac_ext=c
52488 ac_cpp='$CPP $CPPFLAGS'
52489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52498 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52500 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52501 for ac_func in frexpl
52502 do :
52503 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52504 if test "x$ac_cv_func_frexpl" = xyes; then :
52505 cat >>confdefs.h <<_ACEOF
52506 #define HAVE_FREXPL 1
52507 _ACEOF
52510 done
52512 else
52514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52515 $as_echo_n "checking for _frexpl declaration... " >&6; }
52516 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52517 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52518 $as_echo_n "(cached) " >&6
52519 else
52522 ac_ext=cpp
52523 ac_cpp='$CXXCPP $CPPFLAGS'
52524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52529 /* end confdefs.h. */
52530 #include <math.h>
52532 main ()
52534 _frexpl(0, 0);
52536 return 0;
52538 _ACEOF
52539 if ac_fn_cxx_try_compile "$LINENO"; then :
52540 glibcxx_cv_func__frexpl_use=yes
52541 else
52542 glibcxx_cv_func__frexpl_use=no
52544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52545 ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52556 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52558 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52559 for ac_func in _frexpl
52560 do :
52561 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52562 if test "x$ac_cv_func__frexpl" = xyes; then :
52563 cat >>confdefs.h <<_ACEOF
52564 #define HAVE__FREXPL 1
52565 _ACEOF
52568 done
52577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52578 $as_echo_n "checking for hypotl declaration... " >&6; }
52579 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52580 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52581 $as_echo_n "(cached) " >&6
52582 else
52585 ac_ext=cpp
52586 ac_cpp='$CXXCPP $CPPFLAGS'
52587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52592 /* end confdefs.h. */
52593 #include <math.h>
52595 main ()
52597 hypotl(0, 0);
52599 return 0;
52601 _ACEOF
52602 if ac_fn_cxx_try_compile "$LINENO"; then :
52603 glibcxx_cv_func_hypotl_use=yes
52604 else
52605 glibcxx_cv_func_hypotl_use=no
52607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52608 ac_ext=c
52609 ac_cpp='$CPP $CPPFLAGS'
52610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52619 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52621 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52622 for ac_func in hypotl
52623 do :
52624 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52625 if test "x$ac_cv_func_hypotl" = xyes; then :
52626 cat >>confdefs.h <<_ACEOF
52627 #define HAVE_HYPOTL 1
52628 _ACEOF
52631 done
52633 else
52635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52636 $as_echo_n "checking for _hypotl declaration... " >&6; }
52637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52638 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52639 $as_echo_n "(cached) " >&6
52640 else
52643 ac_ext=cpp
52644 ac_cpp='$CXXCPP $CPPFLAGS'
52645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52650 /* end confdefs.h. */
52651 #include <math.h>
52653 main ()
52655 _hypotl(0, 0);
52657 return 0;
52659 _ACEOF
52660 if ac_fn_cxx_try_compile "$LINENO"; then :
52661 glibcxx_cv_func__hypotl_use=yes
52662 else
52663 glibcxx_cv_func__hypotl_use=no
52665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52666 ac_ext=c
52667 ac_cpp='$CPP $CPPFLAGS'
52668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52677 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52679 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52680 for ac_func in _hypotl
52681 do :
52682 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52683 if test "x$ac_cv_func__hypotl" = xyes; then :
52684 cat >>confdefs.h <<_ACEOF
52685 #define HAVE__HYPOTL 1
52686 _ACEOF
52689 done
52698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52699 $as_echo_n "checking for ldexpl declaration... " >&6; }
52700 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52701 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52702 $as_echo_n "(cached) " >&6
52703 else
52706 ac_ext=cpp
52707 ac_cpp='$CXXCPP $CPPFLAGS'
52708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52713 /* end confdefs.h. */
52714 #include <math.h>
52716 main ()
52718 ldexpl(0, 0);
52720 return 0;
52722 _ACEOF
52723 if ac_fn_cxx_try_compile "$LINENO"; then :
52724 glibcxx_cv_func_ldexpl_use=yes
52725 else
52726 glibcxx_cv_func_ldexpl_use=no
52728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52729 ac_ext=c
52730 ac_cpp='$CPP $CPPFLAGS'
52731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52740 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52742 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52743 for ac_func in ldexpl
52744 do :
52745 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52746 if test "x$ac_cv_func_ldexpl" = xyes; then :
52747 cat >>confdefs.h <<_ACEOF
52748 #define HAVE_LDEXPL 1
52749 _ACEOF
52752 done
52754 else
52756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52757 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52758 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52759 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52760 $as_echo_n "(cached) " >&6
52761 else
52764 ac_ext=cpp
52765 ac_cpp='$CXXCPP $CPPFLAGS'
52766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52771 /* end confdefs.h. */
52772 #include <math.h>
52774 main ()
52776 _ldexpl(0, 0);
52778 return 0;
52780 _ACEOF
52781 if ac_fn_cxx_try_compile "$LINENO"; then :
52782 glibcxx_cv_func__ldexpl_use=yes
52783 else
52784 glibcxx_cv_func__ldexpl_use=no
52786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52787 ac_ext=c
52788 ac_cpp='$CPP $CPPFLAGS'
52789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52798 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52800 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52801 for ac_func in _ldexpl
52802 do :
52803 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52804 if test "x$ac_cv_func__ldexpl" = xyes; then :
52805 cat >>confdefs.h <<_ACEOF
52806 #define HAVE__LDEXPL 1
52807 _ACEOF
52810 done
52819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52820 $as_echo_n "checking for logl declaration... " >&6; }
52821 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52822 if ${glibcxx_cv_func_logl_use+:} false; then :
52823 $as_echo_n "(cached) " >&6
52824 else
52827 ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h. */
52835 #include <math.h>
52836 #ifdef HAVE_IEEEFP_H
52837 #include <ieeefp.h>
52838 #endif
52841 main ()
52843 logl(0);
52845 return 0;
52847 _ACEOF
52848 if ac_fn_cxx_try_compile "$LINENO"; then :
52849 glibcxx_cv_func_logl_use=yes
52850 else
52851 glibcxx_cv_func_logl_use=no
52853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52854 ac_ext=c
52855 ac_cpp='$CPP $CPPFLAGS'
52856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52865 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52867 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52868 for ac_func in logl
52869 do :
52870 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52871 if test "x$ac_cv_func_logl" = xyes; then :
52872 cat >>confdefs.h <<_ACEOF
52873 #define HAVE_LOGL 1
52874 _ACEOF
52877 done
52879 else
52881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52882 $as_echo_n "checking for _logl declaration... " >&6; }
52883 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52884 if ${glibcxx_cv_func__logl_use+:} false; then :
52885 $as_echo_n "(cached) " >&6
52886 else
52889 ac_ext=cpp
52890 ac_cpp='$CXXCPP $CPPFLAGS'
52891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52896 /* end confdefs.h. */
52897 #include <math.h>
52898 #ifdef HAVE_IEEEFP_H
52899 #include <ieeefp.h>
52900 #endif
52903 main ()
52905 _logl(0);
52907 return 0;
52909 _ACEOF
52910 if ac_fn_cxx_try_compile "$LINENO"; then :
52911 glibcxx_cv_func__logl_use=yes
52912 else
52913 glibcxx_cv_func__logl_use=no
52915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52916 ac_ext=c
52917 ac_cpp='$CPP $CPPFLAGS'
52918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52927 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52929 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52930 for ac_func in _logl
52931 do :
52932 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52933 if test "x$ac_cv_func__logl" = xyes; then :
52934 cat >>confdefs.h <<_ACEOF
52935 #define HAVE__LOGL 1
52936 _ACEOF
52939 done
52948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52949 $as_echo_n "checking for log10l declaration... " >&6; }
52950 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52951 if ${glibcxx_cv_func_log10l_use+:} false; then :
52952 $as_echo_n "(cached) " >&6
52953 else
52956 ac_ext=cpp
52957 ac_cpp='$CXXCPP $CPPFLAGS'
52958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52963 /* end confdefs.h. */
52964 #include <math.h>
52965 #ifdef HAVE_IEEEFP_H
52966 #include <ieeefp.h>
52967 #endif
52970 main ()
52972 log10l(0);
52974 return 0;
52976 _ACEOF
52977 if ac_fn_cxx_try_compile "$LINENO"; then :
52978 glibcxx_cv_func_log10l_use=yes
52979 else
52980 glibcxx_cv_func_log10l_use=no
52982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52983 ac_ext=c
52984 ac_cpp='$CPP $CPPFLAGS'
52985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52994 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52996 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52997 for ac_func in log10l
52998 do :
52999 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53000 if test "x$ac_cv_func_log10l" = xyes; then :
53001 cat >>confdefs.h <<_ACEOF
53002 #define HAVE_LOG10L 1
53003 _ACEOF
53006 done
53008 else
53010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53011 $as_echo_n "checking for _log10l declaration... " >&6; }
53012 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53013 if ${glibcxx_cv_func__log10l_use+:} false; then :
53014 $as_echo_n "(cached) " >&6
53015 else
53018 ac_ext=cpp
53019 ac_cpp='$CXXCPP $CPPFLAGS'
53020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53025 /* end confdefs.h. */
53026 #include <math.h>
53027 #ifdef HAVE_IEEEFP_H
53028 #include <ieeefp.h>
53029 #endif
53032 main ()
53034 _log10l(0);
53036 return 0;
53038 _ACEOF
53039 if ac_fn_cxx_try_compile "$LINENO"; then :
53040 glibcxx_cv_func__log10l_use=yes
53041 else
53042 glibcxx_cv_func__log10l_use=no
53044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53045 ac_ext=c
53046 ac_cpp='$CPP $CPPFLAGS'
53047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53056 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53058 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53059 for ac_func in _log10l
53060 do :
53061 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53062 if test "x$ac_cv_func__log10l" = xyes; then :
53063 cat >>confdefs.h <<_ACEOF
53064 #define HAVE__LOG10L 1
53065 _ACEOF
53068 done
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53078 $as_echo_n "checking for modfl declaration... " >&6; }
53079 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53080 if ${glibcxx_cv_func_modfl_use+:} false; then :
53081 $as_echo_n "(cached) " >&6
53082 else
53085 ac_ext=cpp
53086 ac_cpp='$CXXCPP $CPPFLAGS'
53087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53092 /* end confdefs.h. */
53093 #include <math.h>
53095 main ()
53097 modfl(0, 0);
53099 return 0;
53101 _ACEOF
53102 if ac_fn_cxx_try_compile "$LINENO"; then :
53103 glibcxx_cv_func_modfl_use=yes
53104 else
53105 glibcxx_cv_func_modfl_use=no
53107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53108 ac_ext=c
53109 ac_cpp='$CPP $CPPFLAGS'
53110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53119 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53121 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53122 for ac_func in modfl
53123 do :
53124 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53125 if test "x$ac_cv_func_modfl" = xyes; then :
53126 cat >>confdefs.h <<_ACEOF
53127 #define HAVE_MODFL 1
53128 _ACEOF
53131 done
53133 else
53135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53136 $as_echo_n "checking for _modfl declaration... " >&6; }
53137 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53138 if ${glibcxx_cv_func__modfl_use+:} false; then :
53139 $as_echo_n "(cached) " >&6
53140 else
53143 ac_ext=cpp
53144 ac_cpp='$CXXCPP $CPPFLAGS'
53145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53150 /* end confdefs.h. */
53151 #include <math.h>
53153 main ()
53155 _modfl(0, 0);
53157 return 0;
53159 _ACEOF
53160 if ac_fn_cxx_try_compile "$LINENO"; then :
53161 glibcxx_cv_func__modfl_use=yes
53162 else
53163 glibcxx_cv_func__modfl_use=no
53165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53166 ac_ext=c
53167 ac_cpp='$CPP $CPPFLAGS'
53168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53177 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53179 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53180 for ac_func in _modfl
53181 do :
53182 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53183 if test "x$ac_cv_func__modfl" = xyes; then :
53184 cat >>confdefs.h <<_ACEOF
53185 #define HAVE__MODFL 1
53186 _ACEOF
53189 done
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53199 $as_echo_n "checking for powl declaration... " >&6; }
53200 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53201 if ${glibcxx_cv_func_powl_use+:} false; then :
53202 $as_echo_n "(cached) " >&6
53203 else
53206 ac_ext=cpp
53207 ac_cpp='$CXXCPP $CPPFLAGS'
53208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53213 /* end confdefs.h. */
53214 #include <math.h>
53216 main ()
53218 powl(0, 0);
53220 return 0;
53222 _ACEOF
53223 if ac_fn_cxx_try_compile "$LINENO"; then :
53224 glibcxx_cv_func_powl_use=yes
53225 else
53226 glibcxx_cv_func_powl_use=no
53228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53229 ac_ext=c
53230 ac_cpp='$CPP $CPPFLAGS'
53231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53240 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53242 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53243 for ac_func in powl
53244 do :
53245 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53246 if test "x$ac_cv_func_powl" = xyes; then :
53247 cat >>confdefs.h <<_ACEOF
53248 #define HAVE_POWL 1
53249 _ACEOF
53252 done
53254 else
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53257 $as_echo_n "checking for _powl declaration... " >&6; }
53258 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53259 if ${glibcxx_cv_func__powl_use+:} false; then :
53260 $as_echo_n "(cached) " >&6
53261 else
53264 ac_ext=cpp
53265 ac_cpp='$CXXCPP $CPPFLAGS'
53266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53271 /* end confdefs.h. */
53272 #include <math.h>
53274 main ()
53276 _powl(0, 0);
53278 return 0;
53280 _ACEOF
53281 if ac_fn_cxx_try_compile "$LINENO"; then :
53282 glibcxx_cv_func__powl_use=yes
53283 else
53284 glibcxx_cv_func__powl_use=no
53286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53287 ac_ext=c
53288 ac_cpp='$CPP $CPPFLAGS'
53289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53298 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53300 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53301 for ac_func in _powl
53302 do :
53303 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53304 if test "x$ac_cv_func__powl" = xyes; then :
53305 cat >>confdefs.h <<_ACEOF
53306 #define HAVE__POWL 1
53307 _ACEOF
53310 done
53319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53320 $as_echo_n "checking for sqrtl declaration... " >&6; }
53321 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53322 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53323 $as_echo_n "(cached) " >&6
53324 else
53327 ac_ext=cpp
53328 ac_cpp='$CXXCPP $CPPFLAGS'
53329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53334 /* end confdefs.h. */
53335 #include <math.h>
53336 #ifdef HAVE_IEEEFP_H
53337 #include <ieeefp.h>
53338 #endif
53341 main ()
53343 sqrtl(0);
53345 return 0;
53347 _ACEOF
53348 if ac_fn_cxx_try_compile "$LINENO"; then :
53349 glibcxx_cv_func_sqrtl_use=yes
53350 else
53351 glibcxx_cv_func_sqrtl_use=no
53353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53354 ac_ext=c
53355 ac_cpp='$CPP $CPPFLAGS'
53356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53365 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53367 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53368 for ac_func in sqrtl
53369 do :
53370 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53371 if test "x$ac_cv_func_sqrtl" = xyes; then :
53372 cat >>confdefs.h <<_ACEOF
53373 #define HAVE_SQRTL 1
53374 _ACEOF
53377 done
53379 else
53381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53382 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53383 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53384 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53385 $as_echo_n "(cached) " >&6
53386 else
53389 ac_ext=cpp
53390 ac_cpp='$CXXCPP $CPPFLAGS'
53391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53396 /* end confdefs.h. */
53397 #include <math.h>
53398 #ifdef HAVE_IEEEFP_H
53399 #include <ieeefp.h>
53400 #endif
53403 main ()
53405 _sqrtl(0);
53407 return 0;
53409 _ACEOF
53410 if ac_fn_cxx_try_compile "$LINENO"; then :
53411 glibcxx_cv_func__sqrtl_use=yes
53412 else
53413 glibcxx_cv_func__sqrtl_use=no
53415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53416 ac_ext=c
53417 ac_cpp='$CPP $CPPFLAGS'
53418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53427 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53429 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53430 for ac_func in _sqrtl
53431 do :
53432 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53433 if test "x$ac_cv_func__sqrtl" = xyes; then :
53434 cat >>confdefs.h <<_ACEOF
53435 #define HAVE__SQRTL 1
53436 _ACEOF
53439 done
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53449 $as_echo_n "checking for sincosl declaration... " >&6; }
53450 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53451 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53452 $as_echo_n "(cached) " >&6
53453 else
53456 ac_ext=cpp
53457 ac_cpp='$CXXCPP $CPPFLAGS'
53458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53463 /* end confdefs.h. */
53464 #include <math.h>
53466 main ()
53468 sincosl(0, 0, 0);
53470 return 0;
53472 _ACEOF
53473 if ac_fn_cxx_try_compile "$LINENO"; then :
53474 glibcxx_cv_func_sincosl_use=yes
53475 else
53476 glibcxx_cv_func_sincosl_use=no
53478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53479 ac_ext=c
53480 ac_cpp='$CPP $CPPFLAGS'
53481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53490 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53492 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53493 for ac_func in sincosl
53494 do :
53495 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53496 if test "x$ac_cv_func_sincosl" = xyes; then :
53497 cat >>confdefs.h <<_ACEOF
53498 #define HAVE_SINCOSL 1
53499 _ACEOF
53502 done
53504 else
53506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53507 $as_echo_n "checking for _sincosl declaration... " >&6; }
53508 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53509 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53510 $as_echo_n "(cached) " >&6
53511 else
53514 ac_ext=cpp
53515 ac_cpp='$CXXCPP $CPPFLAGS'
53516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53521 /* end confdefs.h. */
53522 #include <math.h>
53524 main ()
53526 _sincosl(0, 0, 0);
53528 return 0;
53530 _ACEOF
53531 if ac_fn_cxx_try_compile "$LINENO"; then :
53532 glibcxx_cv_func__sincosl_use=yes
53533 else
53534 glibcxx_cv_func__sincosl_use=no
53536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53537 ac_ext=c
53538 ac_cpp='$CPP $CPPFLAGS'
53539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53548 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53550 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53551 for ac_func in _sincosl
53552 do :
53553 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53554 if test "x$ac_cv_func__sincosl" = xyes; then :
53555 cat >>confdefs.h <<_ACEOF
53556 #define HAVE__SINCOSL 1
53557 _ACEOF
53560 done
53569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53570 $as_echo_n "checking for finitel declaration... " >&6; }
53571 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53572 if ${glibcxx_cv_func_finitel_use+:} false; then :
53573 $as_echo_n "(cached) " >&6
53574 else
53577 ac_ext=cpp
53578 ac_cpp='$CXXCPP $CPPFLAGS'
53579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53584 /* end confdefs.h. */
53585 #include <math.h>
53586 #ifdef HAVE_IEEEFP_H
53587 #include <ieeefp.h>
53588 #endif
53591 main ()
53593 finitel(0);
53595 return 0;
53597 _ACEOF
53598 if ac_fn_cxx_try_compile "$LINENO"; then :
53599 glibcxx_cv_func_finitel_use=yes
53600 else
53601 glibcxx_cv_func_finitel_use=no
53603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53604 ac_ext=c
53605 ac_cpp='$CPP $CPPFLAGS'
53606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53615 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53617 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53618 for ac_func in finitel
53619 do :
53620 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53621 if test "x$ac_cv_func_finitel" = xyes; then :
53622 cat >>confdefs.h <<_ACEOF
53623 #define HAVE_FINITEL 1
53624 _ACEOF
53627 done
53629 else
53631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53632 $as_echo_n "checking for _finitel declaration... " >&6; }
53633 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53634 if ${glibcxx_cv_func__finitel_use+:} false; then :
53635 $as_echo_n "(cached) " >&6
53636 else
53639 ac_ext=cpp
53640 ac_cpp='$CXXCPP $CPPFLAGS'
53641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53646 /* end confdefs.h. */
53647 #include <math.h>
53648 #ifdef HAVE_IEEEFP_H
53649 #include <ieeefp.h>
53650 #endif
53653 main ()
53655 _finitel(0);
53657 return 0;
53659 _ACEOF
53660 if ac_fn_cxx_try_compile "$LINENO"; then :
53661 glibcxx_cv_func__finitel_use=yes
53662 else
53663 glibcxx_cv_func__finitel_use=no
53665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53666 ac_ext=c
53667 ac_cpp='$CPP $CPPFLAGS'
53668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53677 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53679 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53680 for ac_func in _finitel
53681 do :
53682 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53683 if test "x$ac_cv_func__finitel" = xyes; then :
53684 cat >>confdefs.h <<_ACEOF
53685 #define HAVE__FINITEL 1
53686 _ACEOF
53689 done
53697 LIBS="$ac_save_LIBS"
53698 CXXFLAGS="$ac_save_CXXFLAGS"
53701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53702 ac_save_CXXFLAGS="$CXXFLAGS"
53703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53707 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53708 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53709 if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
53724 main ()
53726 at_quick_exit(0);
53728 return 0;
53730 _ACEOF
53731 if ac_fn_cxx_try_compile "$LINENO"; then :
53732 glibcxx_cv_func_at_quick_exit_use=yes
53733 else
53734 glibcxx_cv_func_at_quick_exit_use=no
53736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53737 ac_ext=c
53738 ac_cpp='$CPP $CPPFLAGS'
53739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53748 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53749 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53750 for ac_func in at_quick_exit
53751 do :
53752 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53753 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53754 cat >>confdefs.h <<_ACEOF
53755 #define HAVE_AT_QUICK_EXIT 1
53756 _ACEOF
53759 done
53764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53765 $as_echo_n "checking for quick_exit declaration... " >&6; }
53766 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53767 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53768 $as_echo_n "(cached) " >&6
53769 else
53772 ac_ext=cpp
53773 ac_cpp='$CXXCPP $CPPFLAGS'
53774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53779 /* end confdefs.h. */
53780 #include <stdlib.h>
53782 main ()
53784 quick_exit(0);
53786 return 0;
53788 _ACEOF
53789 if ac_fn_cxx_try_compile "$LINENO"; then :
53790 glibcxx_cv_func_quick_exit_use=yes
53791 else
53792 glibcxx_cv_func_quick_exit_use=no
53794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53795 ac_ext=c
53796 ac_cpp='$CPP $CPPFLAGS'
53797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53806 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53807 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53808 for ac_func in quick_exit
53809 do :
53810 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53811 if test "x$ac_cv_func_quick_exit" = xyes; then :
53812 cat >>confdefs.h <<_ACEOF
53813 #define HAVE_QUICK_EXIT 1
53814 _ACEOF
53817 done
53822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53823 $as_echo_n "checking for strtold declaration... " >&6; }
53824 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53825 if ${glibcxx_cv_func_strtold_use+:} false; then :
53826 $as_echo_n "(cached) " >&6
53827 else
53830 ac_ext=cpp
53831 ac_cpp='$CXXCPP $CPPFLAGS'
53832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53837 /* end confdefs.h. */
53838 #include <stdlib.h>
53840 main ()
53842 strtold(0, 0);
53844 return 0;
53846 _ACEOF
53847 if ac_fn_cxx_try_compile "$LINENO"; then :
53848 glibcxx_cv_func_strtold_use=yes
53849 else
53850 glibcxx_cv_func_strtold_use=no
53852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53853 ac_ext=c
53854 ac_cpp='$CPP $CPPFLAGS'
53855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53864 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53865 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53866 for ac_func in strtold
53867 do :
53868 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53869 if test "x$ac_cv_func_strtold" = xyes; then :
53870 cat >>confdefs.h <<_ACEOF
53871 #define HAVE_STRTOLD 1
53872 _ACEOF
53875 done
53882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53883 $as_echo_n "checking for strtof declaration... " >&6; }
53884 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53885 if ${glibcxx_cv_func_strtof_use+:} false; then :
53886 $as_echo_n "(cached) " >&6
53887 else
53890 ac_ext=cpp
53891 ac_cpp='$CXXCPP $CPPFLAGS'
53892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53897 /* end confdefs.h. */
53898 #include <stdlib.h>
53900 main ()
53902 strtof(0, 0);
53904 return 0;
53906 _ACEOF
53907 if ac_fn_cxx_try_compile "$LINENO"; then :
53908 glibcxx_cv_func_strtof_use=yes
53909 else
53910 glibcxx_cv_func_strtof_use=no
53912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53913 ac_ext=c
53914 ac_cpp='$CPP $CPPFLAGS'
53915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53924 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53925 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53926 for ac_func in strtof
53927 do :
53928 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53929 if test "x$ac_cv_func_strtof" = xyes; then :
53930 cat >>confdefs.h <<_ACEOF
53931 #define HAVE_STRTOF 1
53932 _ACEOF
53935 done
53942 CXXFLAGS="$ac_save_CXXFLAGS"
53944 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53946 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53950 # Check whether --enable-tls was given.
53951 if test "${enable_tls+set}" = set; then :
53952 enableval=$enable_tls;
53953 case "$enableval" in
53954 yes|no) ;;
53955 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53956 esac
53958 else
53959 enable_tls=yes
53963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53964 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53965 if ${gcc_cv_have_tls+:} false; then :
53966 $as_echo_n "(cached) " >&6
53967 else
53969 if test "$cross_compiling" = yes; then :
53970 if test x$gcc_no_link = xyes; then
53971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53974 /* end confdefs.h. */
53975 __thread int a; int b; int main() { return a = b; }
53976 _ACEOF
53977 if ac_fn_c_try_link "$LINENO"; then :
53978 chktls_save_LDFLAGS="$LDFLAGS"
53979 case $host in
53980 *-*-linux* | -*-uclinuxfdpic*)
53981 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53983 esac
53984 chktls_save_CFLAGS="$CFLAGS"
53985 CFLAGS="-fPIC $CFLAGS"
53986 if test x$gcc_no_link = xyes; then
53987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53990 /* end confdefs.h. */
53991 int f() { return 0; }
53992 _ACEOF
53993 if ac_fn_c_try_link "$LINENO"; then :
53994 if test x$gcc_no_link = xyes; then
53995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53998 /* end confdefs.h. */
53999 __thread int a; int b; int f() { return a = b; }
54000 _ACEOF
54001 if ac_fn_c_try_link "$LINENO"; then :
54002 gcc_cv_have_tls=yes
54003 else
54004 gcc_cv_have_tls=no
54006 rm -f core conftest.err conftest.$ac_objext \
54007 conftest$ac_exeext conftest.$ac_ext
54008 else
54009 gcc_cv_have_tls=yes
54011 rm -f core conftest.err conftest.$ac_objext \
54012 conftest$ac_exeext conftest.$ac_ext
54013 CFLAGS="$chktls_save_CFLAGS"
54014 LDFLAGS="$chktls_save_LDFLAGS"
54015 else
54016 gcc_cv_have_tls=no
54018 rm -f core conftest.err conftest.$ac_objext \
54019 conftest$ac_exeext conftest.$ac_ext
54022 else
54023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54024 /* end confdefs.h. */
54025 __thread int a; int b; int main() { return a = b; }
54026 _ACEOF
54027 if ac_fn_c_try_run "$LINENO"; then :
54028 chktls_save_LDFLAGS="$LDFLAGS"
54029 LDFLAGS="-static $LDFLAGS"
54030 if test x$gcc_no_link = xyes; then
54031 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54034 /* end confdefs.h. */
54035 int main() { return 0; }
54036 _ACEOF
54037 if ac_fn_c_try_link "$LINENO"; then :
54038 if test "$cross_compiling" = yes; then :
54039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54041 as_fn_error $? "cannot run test program while cross compiling
54042 See \`config.log' for more details" "$LINENO" 5; }
54043 else
54044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54045 /* end confdefs.h. */
54046 __thread int a; int b; int main() { return a = b; }
54047 _ACEOF
54048 if ac_fn_c_try_run "$LINENO"; then :
54049 gcc_cv_have_tls=yes
54050 else
54051 gcc_cv_have_tls=no
54053 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54054 conftest.$ac_objext conftest.beam conftest.$ac_ext
54057 else
54058 gcc_cv_have_tls=yes
54060 rm -f core conftest.err conftest.$ac_objext \
54061 conftest$ac_exeext conftest.$ac_ext
54062 LDFLAGS="$chktls_save_LDFLAGS"
54063 if test $gcc_cv_have_tls = yes; then
54064 chktls_save_CFLAGS="$CFLAGS"
54065 thread_CFLAGS=failed
54066 for flag in '' '-pthread' '-lpthread'; do
54067 CFLAGS="$flag $chktls_save_CFLAGS"
54068 if test x$gcc_no_link = xyes; then
54069 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54072 /* end confdefs.h. */
54073 #include <pthread.h>
54074 void *g(void *d) { return NULL; }
54076 main ()
54078 pthread_t t; pthread_create(&t,NULL,g,NULL);
54080 return 0;
54082 _ACEOF
54083 if ac_fn_c_try_link "$LINENO"; then :
54084 thread_CFLAGS="$flag"
54086 rm -f core conftest.err conftest.$ac_objext \
54087 conftest$ac_exeext conftest.$ac_ext
54088 if test "X$thread_CFLAGS" != Xfailed; then
54089 break
54091 done
54092 CFLAGS="$chktls_save_CFLAGS"
54093 if test "X$thread_CFLAGS" != Xfailed; then
54094 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54095 if test "$cross_compiling" = yes; then :
54096 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54098 as_fn_error $? "cannot run test program while cross compiling
54099 See \`config.log' for more details" "$LINENO" 5; }
54100 else
54101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54102 /* end confdefs.h. */
54103 #include <pthread.h>
54104 __thread int a;
54105 static int *volatile a_in_other_thread;
54106 static void *
54107 thread_func (void *arg)
54109 a_in_other_thread = &a;
54110 return (void *)0;
54113 main ()
54115 pthread_t thread;
54116 void *thread_retval;
54117 int *volatile a_in_main_thread;
54118 a_in_main_thread = &a;
54119 if (pthread_create (&thread, (pthread_attr_t *)0,
54120 thread_func, (void *)0))
54121 return 0;
54122 if (pthread_join (thread, &thread_retval))
54123 return 0;
54124 return (a_in_other_thread == a_in_main_thread);
54126 return 0;
54128 _ACEOF
54129 if ac_fn_c_try_run "$LINENO"; then :
54130 gcc_cv_have_tls=yes
54131 else
54132 gcc_cv_have_tls=no
54134 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54135 conftest.$ac_objext conftest.beam conftest.$ac_ext
54138 CFLAGS="$chktls_save_CFLAGS"
54141 else
54142 gcc_cv_have_tls=no
54144 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54145 conftest.$ac_objext conftest.beam conftest.$ac_ext
54149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54150 $as_echo "$gcc_cv_have_tls" >&6; }
54151 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54153 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54156 for ac_func in __cxa_thread_atexit_impl
54157 do :
54158 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54159 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54160 cat >>confdefs.h <<_ACEOF
54161 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54162 _ACEOF
54165 done
54167 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54168 do :
54169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54171 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54172 cat >>confdefs.h <<_ACEOF
54173 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54174 _ACEOF
54177 done
54179 for ac_func in timespec_get
54180 do :
54181 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54182 if test "x$ac_cv_func_timespec_get" = xyes; then :
54183 cat >>confdefs.h <<_ACEOF
54184 #define HAVE_TIMESPEC_GET 1
54185 _ACEOF
54188 done
54190 for ac_func in sockatmark
54191 do :
54192 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54193 if test "x$ac_cv_func_sockatmark" = xyes; then :
54194 cat >>confdefs.h <<_ACEOF
54195 #define HAVE_SOCKATMARK 1
54196 _ACEOF
54199 done
54201 for ac_func in uselocale
54202 do :
54203 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54204 if test "x$ac_cv_func_uselocale" = xyes; then :
54205 cat >>confdefs.h <<_ACEOF
54206 #define HAVE_USELOCALE 1
54207 _ACEOF
54210 done
54212 for ac_func in secure_getenv
54213 do :
54214 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
54215 if test "x$ac_cv_func_secure_getenv" = xyes; then :
54216 cat >>confdefs.h <<_ACEOF
54217 #define HAVE_SECURE_GETENV 1
54218 _ACEOF
54221 done
54228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54229 $as_echo_n "checking for iconv... " >&6; }
54230 if ${am_cv_func_iconv+:} false; then :
54231 $as_echo_n "(cached) " >&6
54232 else
54234 am_cv_func_iconv="no, consider installing GNU libiconv"
54235 am_cv_lib_iconv=no
54236 am_save_CPPFLAGS="$CPPFLAGS"
54237 CPPFLAGS="$CPPFLAGS $INCICONV"
54238 if test x$gcc_no_link = xyes; then
54239 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54242 /* end confdefs.h. */
54243 #include <stdlib.h>
54244 #include <iconv.h>
54246 main ()
54248 iconv_t cd = iconv_open("","");
54249 iconv(cd,NULL,NULL,NULL,NULL);
54250 iconv_close(cd);
54252 return 0;
54254 _ACEOF
54255 if ac_fn_c_try_link "$LINENO"; then :
54256 am_cv_func_iconv=yes
54258 rm -f core conftest.err conftest.$ac_objext \
54259 conftest$ac_exeext conftest.$ac_ext
54260 CPPFLAGS="$am_save_CPPFLAGS"
54262 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54263 for _libs in .libs _libs; do
54264 am_save_CPPFLAGS="$CPPFLAGS"
54265 am_save_LIBS="$LIBS"
54266 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54267 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54268 if test x$gcc_no_link = xyes; then
54269 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54272 /* end confdefs.h. */
54273 #include <stdlib.h>
54274 #include <iconv.h>
54276 main ()
54278 iconv_t cd = iconv_open("","");
54279 iconv(cd,NULL,NULL,NULL,NULL);
54280 iconv_close(cd);
54282 return 0;
54284 _ACEOF
54285 if ac_fn_c_try_link "$LINENO"; then :
54286 INCICONV="-I../libiconv/include"
54287 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54288 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54289 am_cv_lib_iconv=yes
54290 am_cv_func_iconv=yes
54292 rm -f core conftest.err conftest.$ac_objext \
54293 conftest$ac_exeext conftest.$ac_ext
54294 CPPFLAGS="$am_save_CPPFLAGS"
54295 LIBS="$am_save_LIBS"
54296 if test "$am_cv_func_iconv" = "yes"; then
54297 break
54299 done
54302 if test "$am_cv_func_iconv" != yes; then
54303 am_save_CPPFLAGS="$CPPFLAGS"
54304 am_save_LIBS="$LIBS"
54305 CPPFLAGS="$CPPFLAGS $INCICONV"
54306 LIBS="$LIBS $LIBICONV"
54307 if test x$gcc_no_link = xyes; then
54308 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54311 /* end confdefs.h. */
54312 #include <stdlib.h>
54313 #include <iconv.h>
54315 main ()
54317 iconv_t cd = iconv_open("","");
54318 iconv(cd,NULL,NULL,NULL,NULL);
54319 iconv_close(cd);
54321 return 0;
54323 _ACEOF
54324 if ac_fn_c_try_link "$LINENO"; then :
54325 am_cv_lib_iconv=yes
54326 am_cv_func_iconv=yes
54328 rm -f core conftest.err conftest.$ac_objext \
54329 conftest$ac_exeext conftest.$ac_ext
54330 CPPFLAGS="$am_save_CPPFLAGS"
54331 LIBS="$am_save_LIBS"
54335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54336 $as_echo "$am_cv_func_iconv" >&6; }
54337 if test "$am_cv_func_iconv" = yes; then
54339 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54342 if test "$am_cv_lib_iconv" = yes; then
54344 for element in $INCICONV; do
54345 haveit=
54346 for x in $CPPFLAGS; do
54348 acl_save_prefix="$prefix"
54349 prefix="$acl_final_prefix"
54350 acl_save_exec_prefix="$exec_prefix"
54351 exec_prefix="$acl_final_exec_prefix"
54352 eval x=\"$x\"
54353 exec_prefix="$acl_save_exec_prefix"
54354 prefix="$acl_save_prefix"
54356 if test "X$x" = "X$element"; then
54357 haveit=yes
54358 break
54360 done
54361 if test -z "$haveit"; then
54362 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54364 done
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54367 $as_echo_n "checking how to link with libiconv... " >&6; }
54368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54369 $as_echo "$LIBICONV" >&6; }
54370 else
54371 LIBICONV=
54372 LTLIBICONV=
54377 if test "$am_cv_func_iconv" = yes; then
54378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54379 $as_echo_n "checking for iconv declaration... " >&6; }
54380 if ${am_cv_proto_iconv+:} false; then :
54381 $as_echo_n "(cached) " >&6
54382 else
54384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54385 /* end confdefs.h. */
54387 #include <stdlib.h>
54388 #include <iconv.h>
54389 extern
54390 #ifdef __cplusplus
54392 #endif
54393 #if defined(__STDC__) || defined(__cplusplus)
54394 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54395 #else
54396 size_t iconv();
54397 #endif
54400 main ()
54404 return 0;
54406 _ACEOF
54407 if ac_fn_c_try_compile "$LINENO"; then :
54408 am_cv_proto_iconv_arg1=""
54409 else
54410 am_cv_proto_iconv_arg1="const"
54412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54413 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);"
54416 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54418 }$am_cv_proto_iconv" >&5
54419 $as_echo "${ac_t:-
54420 }$am_cv_proto_iconv" >&6; }
54422 cat >>confdefs.h <<_ACEOF
54423 #define ICONV_CONST $am_cv_proto_iconv_arg1
54424 _ACEOF
54429 *-mingw32*)
54431 # If we're not using GNU ld, then there's no point in even trying these
54432 # tests. Check for that first. We should have already tested for gld
54433 # by now (in libtool), but require it now just to be safe...
54434 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54435 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54439 # The name set by libtool depends on the version of libtool. Shame on us
54440 # for depending on an impl detail, but c'est la vie. Older versions used
54441 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54442 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54443 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54444 # set (hence we're using an older libtool), then set it.
54445 if test x${with_gnu_ld+set} != xset; then
54446 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54447 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54448 with_gnu_ld=no
54449 else
54450 with_gnu_ld=$ac_cv_prog_gnu_ld
54454 # Start by getting the version number. I think the libtool test already
54455 # does some of this, but throws away the result.
54456 glibcxx_ld_is_gold=no
54457 glibcxx_ld_is_mold=no
54458 if test x"$with_gnu_ld" = x"yes"; then
54459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54460 $as_echo_n "checking for ld version... " >&6; }
54462 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54463 glibcxx_ld_is_gold=yes
54464 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54465 glibcxx_ld_is_mold=yes
54467 ldver=`$LD --version 2>/dev/null |
54468 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54470 glibcxx_gnu_ld_version=`echo $ldver | \
54471 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54473 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54476 # Set --gc-sections.
54477 glibcxx_have_gc_sections=no
54478 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54479 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54480 glibcxx_have_gc_sections=yes
54482 else
54483 glibcxx_gcsections_min_ld=21602
54484 if test x"$with_gnu_ld" = x"yes" &&
54485 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54486 glibcxx_have_gc_sections=yes
54489 if test "$glibcxx_have_gc_sections" = "yes"; then
54490 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54491 # NB: This flag only works reliably after 2.16.1. Configure tests
54492 # for this are difficult, so hard wire a value that should work.
54494 ac_test_CFLAGS="${CFLAGS+set}"
54495 ac_save_CFLAGS="$CFLAGS"
54496 CFLAGS='-Wl,--gc-sections'
54498 # Check for -Wl,--gc-sections
54499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54500 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54501 if test x$gcc_no_link = xyes; then
54502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54505 /* end confdefs.h. */
54506 int one(void) { return 1; }
54507 int two(void) { return 2; }
54510 main ()
54512 two();
54514 return 0;
54516 _ACEOF
54517 if ac_fn_c_try_link "$LINENO"; then :
54518 ac_gcsections=yes
54519 else
54520 ac_gcsections=no
54522 rm -f core conftest.err conftest.$ac_objext \
54523 conftest$ac_exeext conftest.$ac_ext
54524 if test "$ac_gcsections" = "yes"; then
54525 rm -f conftest.c
54526 touch conftest.c
54527 if $CC -c conftest.c; then
54528 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54529 grep "Warning: gc-sections option ignored" > /dev/null; then
54530 ac_gcsections=no
54533 rm -f conftest.c conftest.o conftest
54535 if test "$ac_gcsections" = "yes"; then
54536 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54539 $as_echo "$ac_gcsections" >&6; }
54541 if test "$ac_test_CFLAGS" = set; then
54542 CFLAGS="$ac_save_CFLAGS"
54543 else
54544 # this is the suspicious part
54545 CFLAGS=''
54549 # Set -z,relro.
54550 # Note this is only for shared objects.
54551 ac_ld_relro=no
54552 if test x"$with_gnu_ld" = x"yes"; then
54553 # cygwin and mingw uses PE, which has no ELF relro support,
54554 # multi target ld may confuse configure machinery
54555 case "$host" in
54556 *-*-cygwin*)
54558 *-*-mingw*)
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54562 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54563 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54564 if test -n "$cxx_z_relo"; then
54565 OPT_LDFLAGS="-Wl,-z,relro"
54566 ac_ld_relro=yes
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54569 $as_echo "$ac_ld_relro" >&6; }
54570 esac
54573 # Set linker optimization flags.
54574 if test x"$with_gnu_ld" = x"yes"; then
54575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54583 ac_save_CXXFLAGS="$CXXFLAGS"
54584 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54587 $as_echo_n "checking for sin in -lm... " >&6; }
54588 if ${ac_cv_lib_m_sin+:} false; then :
54589 $as_echo_n "(cached) " >&6
54590 else
54591 ac_check_lib_save_LIBS=$LIBS
54592 LIBS="-lm $LIBS"
54593 if test x$gcc_no_link = xyes; then
54594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54597 /* end confdefs.h. */
54599 /* Override any GCC internal prototype to avoid an error.
54600 Use char because int might match the return type of a GCC
54601 builtin and then its argument prototype would still apply. */
54602 #ifdef __cplusplus
54603 extern "C"
54604 #endif
54605 char sin ();
54607 main ()
54609 return sin ();
54611 return 0;
54613 _ACEOF
54614 if ac_fn_c_try_link "$LINENO"; then :
54615 ac_cv_lib_m_sin=yes
54616 else
54617 ac_cv_lib_m_sin=no
54619 rm -f core conftest.err conftest.$ac_objext \
54620 conftest$ac_exeext conftest.$ac_ext
54621 LIBS=$ac_check_lib_save_LIBS
54623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54624 $as_echo "$ac_cv_lib_m_sin" >&6; }
54625 if test "x$ac_cv_lib_m_sin" = xyes; then :
54626 libm="-lm"
54629 ac_save_LIBS="$LIBS"
54630 LIBS="$LIBS $libm"
54634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54635 $as_echo_n "checking for isinf declaration... " >&6; }
54636 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54637 if ${glibcxx_cv_func_isinf_use+:} false; then :
54638 $as_echo_n "(cached) " >&6
54639 else
54642 ac_ext=cpp
54643 ac_cpp='$CXXCPP $CPPFLAGS'
54644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54649 /* end confdefs.h. */
54650 #include <math.h>
54651 #ifdef HAVE_IEEEFP_H
54652 #include <ieeefp.h>
54653 #endif
54656 main ()
54658 isinf(0);
54660 return 0;
54662 _ACEOF
54663 if ac_fn_cxx_try_compile "$LINENO"; then :
54664 glibcxx_cv_func_isinf_use=yes
54665 else
54666 glibcxx_cv_func_isinf_use=no
54668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54669 ac_ext=c
54670 ac_cpp='$CPP $CPPFLAGS'
54671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54680 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54682 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54683 for ac_func in isinf
54684 do :
54685 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54686 if test "x$ac_cv_func_isinf" = xyes; then :
54687 cat >>confdefs.h <<_ACEOF
54688 #define HAVE_ISINF 1
54689 _ACEOF
54692 done
54694 else
54696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54697 $as_echo_n "checking for _isinf declaration... " >&6; }
54698 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54699 if ${glibcxx_cv_func__isinf_use+:} false; then :
54700 $as_echo_n "(cached) " >&6
54701 else
54704 ac_ext=cpp
54705 ac_cpp='$CXXCPP $CPPFLAGS'
54706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54711 /* end confdefs.h. */
54712 #include <math.h>
54713 #ifdef HAVE_IEEEFP_H
54714 #include <ieeefp.h>
54715 #endif
54718 main ()
54720 _isinf(0);
54722 return 0;
54724 _ACEOF
54725 if ac_fn_cxx_try_compile "$LINENO"; then :
54726 glibcxx_cv_func__isinf_use=yes
54727 else
54728 glibcxx_cv_func__isinf_use=no
54730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54731 ac_ext=c
54732 ac_cpp='$CPP $CPPFLAGS'
54733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54742 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54744 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54745 for ac_func in _isinf
54746 do :
54747 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54748 if test "x$ac_cv_func__isinf" = xyes; then :
54749 cat >>confdefs.h <<_ACEOF
54750 #define HAVE__ISINF 1
54751 _ACEOF
54754 done
54763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54764 $as_echo_n "checking for isnan declaration... " >&6; }
54765 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54766 if ${glibcxx_cv_func_isnan_use+:} false; then :
54767 $as_echo_n "(cached) " >&6
54768 else
54771 ac_ext=cpp
54772 ac_cpp='$CXXCPP $CPPFLAGS'
54773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54778 /* end confdefs.h. */
54779 #include <math.h>
54780 #ifdef HAVE_IEEEFP_H
54781 #include <ieeefp.h>
54782 #endif
54785 main ()
54787 isnan(0);
54789 return 0;
54791 _ACEOF
54792 if ac_fn_cxx_try_compile "$LINENO"; then :
54793 glibcxx_cv_func_isnan_use=yes
54794 else
54795 glibcxx_cv_func_isnan_use=no
54797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54798 ac_ext=c
54799 ac_cpp='$CPP $CPPFLAGS'
54800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54809 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54811 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54812 for ac_func in isnan
54813 do :
54814 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54815 if test "x$ac_cv_func_isnan" = xyes; then :
54816 cat >>confdefs.h <<_ACEOF
54817 #define HAVE_ISNAN 1
54818 _ACEOF
54821 done
54823 else
54825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54826 $as_echo_n "checking for _isnan declaration... " >&6; }
54827 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54828 if ${glibcxx_cv_func__isnan_use+:} false; then :
54829 $as_echo_n "(cached) " >&6
54830 else
54833 ac_ext=cpp
54834 ac_cpp='$CXXCPP $CPPFLAGS'
54835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54840 /* end confdefs.h. */
54841 #include <math.h>
54842 #ifdef HAVE_IEEEFP_H
54843 #include <ieeefp.h>
54844 #endif
54847 main ()
54849 _isnan(0);
54851 return 0;
54853 _ACEOF
54854 if ac_fn_cxx_try_compile "$LINENO"; then :
54855 glibcxx_cv_func__isnan_use=yes
54856 else
54857 glibcxx_cv_func__isnan_use=no
54859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54860 ac_ext=c
54861 ac_cpp='$CPP $CPPFLAGS'
54862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54871 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54873 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54874 for ac_func in _isnan
54875 do :
54876 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54877 if test "x$ac_cv_func__isnan" = xyes; then :
54878 cat >>confdefs.h <<_ACEOF
54879 #define HAVE__ISNAN 1
54880 _ACEOF
54883 done
54892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54893 $as_echo_n "checking for finite declaration... " >&6; }
54894 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54895 if ${glibcxx_cv_func_finite_use+:} false; then :
54896 $as_echo_n "(cached) " >&6
54897 else
54900 ac_ext=cpp
54901 ac_cpp='$CXXCPP $CPPFLAGS'
54902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54907 /* end confdefs.h. */
54908 #include <math.h>
54909 #ifdef HAVE_IEEEFP_H
54910 #include <ieeefp.h>
54911 #endif
54914 main ()
54916 finite(0);
54918 return 0;
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func_finite_use=yes
54923 else
54924 glibcxx_cv_func_finite_use=no
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54938 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54940 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54941 for ac_func in finite
54942 do :
54943 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54944 if test "x$ac_cv_func_finite" = xyes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE_FINITE 1
54947 _ACEOF
54950 done
54952 else
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54955 $as_echo_n "checking for _finite declaration... " >&6; }
54956 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54957 if ${glibcxx_cv_func__finite_use+:} false; then :
54958 $as_echo_n "(cached) " >&6
54959 else
54962 ac_ext=cpp
54963 ac_cpp='$CXXCPP $CPPFLAGS'
54964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54969 /* end confdefs.h. */
54970 #include <math.h>
54971 #ifdef HAVE_IEEEFP_H
54972 #include <ieeefp.h>
54973 #endif
54976 main ()
54978 _finite(0);
54980 return 0;
54982 _ACEOF
54983 if ac_fn_cxx_try_compile "$LINENO"; then :
54984 glibcxx_cv_func__finite_use=yes
54985 else
54986 glibcxx_cv_func__finite_use=no
54988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54989 ac_ext=c
54990 ac_cpp='$CPP $CPPFLAGS'
54991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55000 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55002 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55003 for ac_func in _finite
55004 do :
55005 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55006 if test "x$ac_cv_func__finite" = xyes; then :
55007 cat >>confdefs.h <<_ACEOF
55008 #define HAVE__FINITE 1
55009 _ACEOF
55012 done
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55022 $as_echo_n "checking for sincos declaration... " >&6; }
55023 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55024 if ${glibcxx_cv_func_sincos_use+:} false; then :
55025 $as_echo_n "(cached) " >&6
55026 else
55029 ac_ext=cpp
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h. */
55037 #include <math.h>
55039 main ()
55041 sincos(0, 0, 0);
55043 return 0;
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_sincos_use=yes
55048 else
55049 glibcxx_cv_func_sincos_use=no
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55063 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55065 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55066 for ac_func in sincos
55067 do :
55068 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55069 if test "x$ac_cv_func_sincos" = xyes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_SINCOS 1
55072 _ACEOF
55075 done
55077 else
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55080 $as_echo_n "checking for _sincos declaration... " >&6; }
55081 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55082 if ${glibcxx_cv_func__sincos_use+:} false; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55097 main ()
55099 _sincos(0, 0, 0);
55101 return 0;
55103 _ACEOF
55104 if ac_fn_cxx_try_compile "$LINENO"; then :
55105 glibcxx_cv_func__sincos_use=yes
55106 else
55107 glibcxx_cv_func__sincos_use=no
55109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55110 ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55121 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55123 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55124 for ac_func in _sincos
55125 do :
55126 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55127 if test "x$ac_cv_func__sincos" = xyes; then :
55128 cat >>confdefs.h <<_ACEOF
55129 #define HAVE__SINCOS 1
55130 _ACEOF
55133 done
55142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55143 $as_echo_n "checking for fpclass declaration... " >&6; }
55144 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55145 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55146 $as_echo_n "(cached) " >&6
55147 else
55150 ac_ext=cpp
55151 ac_cpp='$CXXCPP $CPPFLAGS'
55152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55157 /* end confdefs.h. */
55158 #include <math.h>
55159 #ifdef HAVE_IEEEFP_H
55160 #include <ieeefp.h>
55161 #endif
55164 main ()
55166 fpclass(0);
55168 return 0;
55170 _ACEOF
55171 if ac_fn_cxx_try_compile "$LINENO"; then :
55172 glibcxx_cv_func_fpclass_use=yes
55173 else
55174 glibcxx_cv_func_fpclass_use=no
55176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55177 ac_ext=c
55178 ac_cpp='$CPP $CPPFLAGS'
55179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55188 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55190 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55191 for ac_func in fpclass
55192 do :
55193 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55194 if test "x$ac_cv_func_fpclass" = xyes; then :
55195 cat >>confdefs.h <<_ACEOF
55196 #define HAVE_FPCLASS 1
55197 _ACEOF
55200 done
55202 else
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55205 $as_echo_n "checking for _fpclass declaration... " >&6; }
55206 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55207 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55221 #ifdef HAVE_IEEEFP_H
55222 #include <ieeefp.h>
55223 #endif
55226 main ()
55228 _fpclass(0);
55230 return 0;
55232 _ACEOF
55233 if ac_fn_cxx_try_compile "$LINENO"; then :
55234 glibcxx_cv_func__fpclass_use=yes
55235 else
55236 glibcxx_cv_func__fpclass_use=no
55238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55239 ac_ext=c
55240 ac_cpp='$CPP $CPPFLAGS'
55241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55250 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55252 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55253 for ac_func in _fpclass
55254 do :
55255 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55256 if test "x$ac_cv_func__fpclass" = xyes; then :
55257 cat >>confdefs.h <<_ACEOF
55258 #define HAVE__FPCLASS 1
55259 _ACEOF
55262 done
55271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55272 $as_echo_n "checking for qfpclass declaration... " >&6; }
55273 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55274 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55275 $as_echo_n "(cached) " >&6
55276 else
55279 ac_ext=cpp
55280 ac_cpp='$CXXCPP $CPPFLAGS'
55281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55286 /* end confdefs.h. */
55287 #include <math.h>
55288 #ifdef HAVE_IEEEFP_H
55289 #include <ieeefp.h>
55290 #endif
55293 main ()
55295 qfpclass(0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func_qfpclass_use=yes
55302 else
55303 glibcxx_cv_func_qfpclass_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55317 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55319 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55320 for ac_func in qfpclass
55321 do :
55322 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55323 if test "x$ac_cv_func_qfpclass" = xyes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE_QFPCLASS 1
55326 _ACEOF
55329 done
55331 else
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55334 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55335 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55336 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55350 #ifdef HAVE_IEEEFP_H
55351 #include <ieeefp.h>
55352 #endif
55355 main ()
55357 _qfpclass(0);
55359 return 0;
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func__qfpclass_use=yes
55364 else
55365 glibcxx_cv_func__qfpclass_use=no
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55379 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55381 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55382 for ac_func in _qfpclass
55383 do :
55384 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55385 if test "x$ac_cv_func__qfpclass" = xyes; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define HAVE__QFPCLASS 1
55388 _ACEOF
55391 done
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55401 $as_echo_n "checking for hypot declaration... " >&6; }
55402 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55403 if ${glibcxx_cv_func_hypot_use+:} false; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55418 main ()
55420 hypot(0, 0);
55422 return 0;
55424 _ACEOF
55425 if ac_fn_cxx_try_compile "$LINENO"; then :
55426 glibcxx_cv_func_hypot_use=yes
55427 else
55428 glibcxx_cv_func_hypot_use=no
55430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55431 ac_ext=c
55432 ac_cpp='$CPP $CPPFLAGS'
55433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55442 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55444 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55445 for ac_func in hypot
55446 do :
55447 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55448 if test "x$ac_cv_func_hypot" = xyes; then :
55449 cat >>confdefs.h <<_ACEOF
55450 #define HAVE_HYPOT 1
55451 _ACEOF
55454 done
55456 else
55458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55459 $as_echo_n "checking for _hypot declaration... " >&6; }
55460 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55461 if ${glibcxx_cv_func__hypot_use+:} false; then :
55462 $as_echo_n "(cached) " >&6
55463 else
55466 ac_ext=cpp
55467 ac_cpp='$CXXCPP $CPPFLAGS'
55468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55473 /* end confdefs.h. */
55474 #include <math.h>
55476 main ()
55478 _hypot(0, 0);
55480 return 0;
55482 _ACEOF
55483 if ac_fn_cxx_try_compile "$LINENO"; then :
55484 glibcxx_cv_func__hypot_use=yes
55485 else
55486 glibcxx_cv_func__hypot_use=no
55488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55489 ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55500 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55502 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55503 for ac_func in _hypot
55504 do :
55505 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55506 if test "x$ac_cv_func__hypot" = xyes; then :
55507 cat >>confdefs.h <<_ACEOF
55508 #define HAVE__HYPOT 1
55509 _ACEOF
55512 done
55521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55522 $as_echo_n "checking for float trig functions... " >&6; }
55523 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55524 $as_echo_n "(cached) " >&6
55525 else
55528 ac_ext=cpp
55529 ac_cpp='$CXXCPP $CPPFLAGS'
55530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55535 /* end confdefs.h. */
55536 #include <math.h>
55538 main ()
55540 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55542 return 0;
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func_float_trig_use=yes
55547 else
55548 glibcxx_cv_func_float_trig_use=no
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55560 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55561 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55562 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55563 do :
55564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55567 cat >>confdefs.h <<_ACEOF
55568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55569 _ACEOF
55572 done
55574 else
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55576 $as_echo_n "checking for _float trig functions... " >&6; }
55577 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55578 $as_echo_n "(cached) " >&6
55579 else
55582 ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55596 return 0;
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func__float_trig_use=yes
55601 else
55602 glibcxx_cv_func__float_trig_use=no
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55614 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55615 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55616 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55617 do :
55618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55620 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55621 cat >>confdefs.h <<_ACEOF
55622 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55623 _ACEOF
55626 done
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55636 $as_echo_n "checking for float round functions... " >&6; }
55637 if ${glibcxx_cv_func_float_round_use+:} false; then :
55638 $as_echo_n "(cached) " >&6
55639 else
55642 ac_ext=cpp
55643 ac_cpp='$CXXCPP $CPPFLAGS'
55644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55649 /* end confdefs.h. */
55650 #include <math.h>
55652 main ()
55654 ceilf (0); floorf (0);
55656 return 0;
55658 _ACEOF
55659 if ac_fn_cxx_try_compile "$LINENO"; then :
55660 glibcxx_cv_func_float_round_use=yes
55661 else
55662 glibcxx_cv_func_float_round_use=no
55664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55665 ac_ext=c
55666 ac_cpp='$CPP $CPPFLAGS'
55667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55674 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55675 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55676 for ac_func in ceilf floorf
55677 do :
55678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55680 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55681 cat >>confdefs.h <<_ACEOF
55682 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55683 _ACEOF
55686 done
55688 else
55689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55690 $as_echo_n "checking for _float round functions... " >&6; }
55691 if ${glibcxx_cv_func__float_round_use+:} false; then :
55692 $as_echo_n "(cached) " >&6
55693 else
55696 ac_ext=cpp
55697 ac_cpp='$CXXCPP $CPPFLAGS'
55698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55703 /* end confdefs.h. */
55704 #include <math.h>
55706 main ()
55708 _ceilf (0); _floorf (0);
55710 return 0;
55712 _ACEOF
55713 if ac_fn_cxx_try_compile "$LINENO"; then :
55714 glibcxx_cv_func__float_round_use=yes
55715 else
55716 glibcxx_cv_func__float_round_use=no
55718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55719 ac_ext=c
55720 ac_cpp='$CPP $CPPFLAGS'
55721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55728 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55729 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55730 for ac_func in _ceilf _floorf
55731 do :
55732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55734 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55735 cat >>confdefs.h <<_ACEOF
55736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55737 _ACEOF
55740 done
55750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55751 $as_echo_n "checking for expf declaration... " >&6; }
55752 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55753 if ${glibcxx_cv_func_expf_use+:} false; then :
55754 $as_echo_n "(cached) " >&6
55755 else
55758 ac_ext=cpp
55759 ac_cpp='$CXXCPP $CPPFLAGS'
55760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55765 /* end confdefs.h. */
55766 #include <math.h>
55767 #ifdef HAVE_IEEEFP_H
55768 #include <ieeefp.h>
55769 #endif
55772 main ()
55774 expf(0);
55776 return 0;
55778 _ACEOF
55779 if ac_fn_cxx_try_compile "$LINENO"; then :
55780 glibcxx_cv_func_expf_use=yes
55781 else
55782 glibcxx_cv_func_expf_use=no
55784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55785 ac_ext=c
55786 ac_cpp='$CPP $CPPFLAGS'
55787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55799 for ac_func in expf
55800 do :
55801 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55802 if test "x$ac_cv_func_expf" = xyes; then :
55803 cat >>confdefs.h <<_ACEOF
55804 #define HAVE_EXPF 1
55805 _ACEOF
55808 done
55810 else
55812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55813 $as_echo_n "checking for _expf declaration... " >&6; }
55814 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55815 if ${glibcxx_cv_func__expf_use+:} false; then :
55816 $as_echo_n "(cached) " >&6
55817 else
55820 ac_ext=cpp
55821 ac_cpp='$CXXCPP $CPPFLAGS'
55822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55827 /* end confdefs.h. */
55828 #include <math.h>
55829 #ifdef HAVE_IEEEFP_H
55830 #include <ieeefp.h>
55831 #endif
55834 main ()
55836 _expf(0);
55838 return 0;
55840 _ACEOF
55841 if ac_fn_cxx_try_compile "$LINENO"; then :
55842 glibcxx_cv_func__expf_use=yes
55843 else
55844 glibcxx_cv_func__expf_use=no
55846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55860 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55861 for ac_func in _expf
55862 do :
55863 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55864 if test "x$ac_cv_func__expf" = xyes; then :
55865 cat >>confdefs.h <<_ACEOF
55866 #define HAVE__EXPF 1
55867 _ACEOF
55870 done
55879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55880 $as_echo_n "checking for isnanf declaration... " >&6; }
55881 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55882 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55883 $as_echo_n "(cached) " >&6
55884 else
55887 ac_ext=cpp
55888 ac_cpp='$CXXCPP $CPPFLAGS'
55889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55894 /* end confdefs.h. */
55895 #include <math.h>
55896 #ifdef HAVE_IEEEFP_H
55897 #include <ieeefp.h>
55898 #endif
55901 main ()
55903 isnanf(0);
55905 return 0;
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func_isnanf_use=yes
55910 else
55911 glibcxx_cv_func_isnanf_use=no
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55928 for ac_func in isnanf
55929 do :
55930 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55931 if test "x$ac_cv_func_isnanf" = xyes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE_ISNANF 1
55934 _ACEOF
55937 done
55939 else
55941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55942 $as_echo_n "checking for _isnanf declaration... " >&6; }
55943 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55944 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55945 $as_echo_n "(cached) " >&6
55946 else
55949 ac_ext=cpp
55950 ac_cpp='$CXXCPP $CPPFLAGS'
55951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55956 /* end confdefs.h. */
55957 #include <math.h>
55958 #ifdef HAVE_IEEEFP_H
55959 #include <ieeefp.h>
55960 #endif
55963 main ()
55965 _isnanf(0);
55967 return 0;
55969 _ACEOF
55970 if ac_fn_cxx_try_compile "$LINENO"; then :
55971 glibcxx_cv_func__isnanf_use=yes
55972 else
55973 glibcxx_cv_func__isnanf_use=no
55975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55976 ac_ext=c
55977 ac_cpp='$CPP $CPPFLAGS'
55978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55989 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55990 for ac_func in _isnanf
55991 do :
55992 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55993 if test "x$ac_cv_func__isnanf" = xyes; then :
55994 cat >>confdefs.h <<_ACEOF
55995 #define HAVE__ISNANF 1
55996 _ACEOF
55999 done
56008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56009 $as_echo_n "checking for isinff declaration... " >&6; }
56010 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56011 if ${glibcxx_cv_func_isinff_use+:} false; then :
56012 $as_echo_n "(cached) " >&6
56013 else
56016 ac_ext=cpp
56017 ac_cpp='$CXXCPP $CPPFLAGS'
56018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56023 /* end confdefs.h. */
56024 #include <math.h>
56025 #ifdef HAVE_IEEEFP_H
56026 #include <ieeefp.h>
56027 #endif
56030 main ()
56032 isinff(0);
56034 return 0;
56036 _ACEOF
56037 if ac_fn_cxx_try_compile "$LINENO"; then :
56038 glibcxx_cv_func_isinff_use=yes
56039 else
56040 glibcxx_cv_func_isinff_use=no
56042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56043 ac_ext=c
56044 ac_cpp='$CPP $CPPFLAGS'
56045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56056 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56057 for ac_func in isinff
56058 do :
56059 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56060 if test "x$ac_cv_func_isinff" = xyes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define HAVE_ISINFF 1
56063 _ACEOF
56066 done
56068 else
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56071 $as_echo_n "checking for _isinff declaration... " >&6; }
56072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56073 if ${glibcxx_cv_func__isinff_use+:} false; then :
56074 $as_echo_n "(cached) " >&6
56075 else
56078 ac_ext=cpp
56079 ac_cpp='$CXXCPP $CPPFLAGS'
56080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56085 /* end confdefs.h. */
56086 #include <math.h>
56087 #ifdef HAVE_IEEEFP_H
56088 #include <ieeefp.h>
56089 #endif
56092 main ()
56094 _isinff(0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__isinff_use=yes
56101 else
56102 glibcxx_cv_func__isinff_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56118 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56119 for ac_func in _isinff
56120 do :
56121 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56122 if test "x$ac_cv_func__isinff" = xyes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define HAVE__ISINFF 1
56125 _ACEOF
56128 done
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56138 $as_echo_n "checking for atan2f declaration... " >&6; }
56139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56140 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56155 main ()
56157 atan2f(0, 0);
56159 return 0;
56161 _ACEOF
56162 if ac_fn_cxx_try_compile "$LINENO"; then :
56163 glibcxx_cv_func_atan2f_use=yes
56164 else
56165 glibcxx_cv_func_atan2f_use=no
56167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56181 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56182 for ac_func in atan2f
56183 do :
56184 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56185 if test "x$ac_cv_func_atan2f" = xyes; then :
56186 cat >>confdefs.h <<_ACEOF
56187 #define HAVE_ATAN2F 1
56188 _ACEOF
56191 done
56193 else
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56196 $as_echo_n "checking for _atan2f declaration... " >&6; }
56197 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56198 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56199 $as_echo_n "(cached) " >&6
56200 else
56203 ac_ext=cpp
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56210 /* end confdefs.h. */
56211 #include <math.h>
56213 main ()
56215 _atan2f(0, 0);
56217 return 0;
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func__atan2f_use=yes
56222 else
56223 glibcxx_cv_func__atan2f_use=no
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56240 for ac_func in _atan2f
56241 do :
56242 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56243 if test "x$ac_cv_func__atan2f" = xyes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE__ATAN2F 1
56246 _ACEOF
56249 done
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56259 $as_echo_n "checking for fabsf declaration... " >&6; }
56260 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56261 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56275 #ifdef HAVE_IEEEFP_H
56276 #include <ieeefp.h>
56277 #endif
56280 main ()
56282 fabsf(0);
56284 return 0;
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func_fabsf_use=yes
56289 else
56290 glibcxx_cv_func_fabsf_use=no
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293 ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56306 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56307 for ac_func in fabsf
56308 do :
56309 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56310 if test "x$ac_cv_func_fabsf" = xyes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE_FABSF 1
56313 _ACEOF
56316 done
56318 else
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56321 $as_echo_n "checking for _fabsf declaration... " >&6; }
56322 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56323 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56324 $as_echo_n "(cached) " >&6
56325 else
56328 ac_ext=cpp
56329 ac_cpp='$CXXCPP $CPPFLAGS'
56330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56335 /* end confdefs.h. */
56336 #include <math.h>
56337 #ifdef HAVE_IEEEFP_H
56338 #include <ieeefp.h>
56339 #endif
56342 main ()
56344 _fabsf(0);
56346 return 0;
56348 _ACEOF
56349 if ac_fn_cxx_try_compile "$LINENO"; then :
56350 glibcxx_cv_func__fabsf_use=yes
56351 else
56352 glibcxx_cv_func__fabsf_use=no
56354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56368 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56369 for ac_func in _fabsf
56370 do :
56371 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56372 if test "x$ac_cv_func__fabsf" = xyes; then :
56373 cat >>confdefs.h <<_ACEOF
56374 #define HAVE__FABSF 1
56375 _ACEOF
56378 done
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56388 $as_echo_n "checking for fmodf declaration... " >&6; }
56389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56390 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56405 main ()
56407 fmodf(0, 0);
56409 return 0;
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func_fmodf_use=yes
56414 else
56415 glibcxx_cv_func_fmodf_use=no
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56431 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56432 for ac_func in fmodf
56433 do :
56434 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56435 if test "x$ac_cv_func_fmodf" = xyes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE_FMODF 1
56438 _ACEOF
56441 done
56443 else
56445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56446 $as_echo_n "checking for _fmodf declaration... " >&6; }
56447 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56448 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56449 $as_echo_n "(cached) " >&6
56450 else
56453 ac_ext=cpp
56454 ac_cpp='$CXXCPP $CPPFLAGS'
56455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56460 /* end confdefs.h. */
56461 #include <math.h>
56463 main ()
56465 _fmodf(0, 0);
56467 return 0;
56469 _ACEOF
56470 if ac_fn_cxx_try_compile "$LINENO"; then :
56471 glibcxx_cv_func__fmodf_use=yes
56472 else
56473 glibcxx_cv_func__fmodf_use=no
56475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56476 ac_ext=c
56477 ac_cpp='$CPP $CPPFLAGS'
56478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56489 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56490 for ac_func in _fmodf
56491 do :
56492 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56493 if test "x$ac_cv_func__fmodf" = xyes; then :
56494 cat >>confdefs.h <<_ACEOF
56495 #define HAVE__FMODF 1
56496 _ACEOF
56499 done
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56509 $as_echo_n "checking for frexpf declaration... " >&6; }
56510 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56511 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56512 $as_echo_n "(cached) " >&6
56513 else
56516 ac_ext=cpp
56517 ac_cpp='$CXXCPP $CPPFLAGS'
56518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56523 /* end confdefs.h. */
56524 #include <math.h>
56526 main ()
56528 frexpf(0, 0);
56530 return 0;
56532 _ACEOF
56533 if ac_fn_cxx_try_compile "$LINENO"; then :
56534 glibcxx_cv_func_frexpf_use=yes
56535 else
56536 glibcxx_cv_func_frexpf_use=no
56538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56539 ac_ext=c
56540 ac_cpp='$CPP $CPPFLAGS'
56541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56552 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56553 for ac_func in frexpf
56554 do :
56555 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56556 if test "x$ac_cv_func_frexpf" = xyes; then :
56557 cat >>confdefs.h <<_ACEOF
56558 #define HAVE_FREXPF 1
56559 _ACEOF
56562 done
56564 else
56566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56567 $as_echo_n "checking for _frexpf declaration... " >&6; }
56568 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56569 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56570 $as_echo_n "(cached) " >&6
56571 else
56574 ac_ext=cpp
56575 ac_cpp='$CXXCPP $CPPFLAGS'
56576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56581 /* end confdefs.h. */
56582 #include <math.h>
56584 main ()
56586 _frexpf(0, 0);
56588 return 0;
56590 _ACEOF
56591 if ac_fn_cxx_try_compile "$LINENO"; then :
56592 glibcxx_cv_func__frexpf_use=yes
56593 else
56594 glibcxx_cv_func__frexpf_use=no
56596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56597 ac_ext=c
56598 ac_cpp='$CPP $CPPFLAGS'
56599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56611 for ac_func in _frexpf
56612 do :
56613 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56614 if test "x$ac_cv_func__frexpf" = xyes; then :
56615 cat >>confdefs.h <<_ACEOF
56616 #define HAVE__FREXPF 1
56617 _ACEOF
56620 done
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56630 $as_echo_n "checking for hypotf declaration... " >&6; }
56631 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56632 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <math.h>
56647 main ()
56649 hypotf(0, 0);
56651 return 0;
56653 _ACEOF
56654 if ac_fn_cxx_try_compile "$LINENO"; then :
56655 glibcxx_cv_func_hypotf_use=yes
56656 else
56657 glibcxx_cv_func_hypotf_use=no
56659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56660 ac_ext=c
56661 ac_cpp='$CPP $CPPFLAGS'
56662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56673 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56674 for ac_func in hypotf
56675 do :
56676 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56677 if test "x$ac_cv_func_hypotf" = xyes; then :
56678 cat >>confdefs.h <<_ACEOF
56679 #define HAVE_HYPOTF 1
56680 _ACEOF
56683 done
56685 else
56687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56688 $as_echo_n "checking for _hypotf declaration... " >&6; }
56689 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56690 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56691 $as_echo_n "(cached) " >&6
56692 else
56695 ac_ext=cpp
56696 ac_cpp='$CXXCPP $CPPFLAGS'
56697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56702 /* end confdefs.h. */
56703 #include <math.h>
56705 main ()
56707 _hypotf(0, 0);
56709 return 0;
56711 _ACEOF
56712 if ac_fn_cxx_try_compile "$LINENO"; then :
56713 glibcxx_cv_func__hypotf_use=yes
56714 else
56715 glibcxx_cv_func__hypotf_use=no
56717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56718 ac_ext=c
56719 ac_cpp='$CPP $CPPFLAGS'
56720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56731 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56732 for ac_func in _hypotf
56733 do :
56734 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56735 if test "x$ac_cv_func__hypotf" = xyes; then :
56736 cat >>confdefs.h <<_ACEOF
56737 #define HAVE__HYPOTF 1
56738 _ACEOF
56741 done
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56751 $as_echo_n "checking for ldexpf declaration... " >&6; }
56752 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56753 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56754 $as_echo_n "(cached) " >&6
56755 else
56758 ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h. */
56766 #include <math.h>
56768 main ()
56770 ldexpf(0, 0);
56772 return 0;
56774 _ACEOF
56775 if ac_fn_cxx_try_compile "$LINENO"; then :
56776 glibcxx_cv_func_ldexpf_use=yes
56777 else
56778 glibcxx_cv_func_ldexpf_use=no
56780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56781 ac_ext=c
56782 ac_cpp='$CPP $CPPFLAGS'
56783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56795 for ac_func in ldexpf
56796 do :
56797 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56798 if test "x$ac_cv_func_ldexpf" = xyes; then :
56799 cat >>confdefs.h <<_ACEOF
56800 #define HAVE_LDEXPF 1
56801 _ACEOF
56804 done
56806 else
56808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56810 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56811 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56812 $as_echo_n "(cached) " >&6
56813 else
56816 ac_ext=cpp
56817 ac_cpp='$CXXCPP $CPPFLAGS'
56818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56823 /* end confdefs.h. */
56824 #include <math.h>
56826 main ()
56828 _ldexpf(0, 0);
56830 return 0;
56832 _ACEOF
56833 if ac_fn_cxx_try_compile "$LINENO"; then :
56834 glibcxx_cv_func__ldexpf_use=yes
56835 else
56836 glibcxx_cv_func__ldexpf_use=no
56838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56839 ac_ext=c
56840 ac_cpp='$CPP $CPPFLAGS'
56841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56852 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56853 for ac_func in _ldexpf
56854 do :
56855 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56856 if test "x$ac_cv_func__ldexpf" = xyes; then :
56857 cat >>confdefs.h <<_ACEOF
56858 #define HAVE__LDEXPF 1
56859 _ACEOF
56862 done
56871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56872 $as_echo_n "checking for logf declaration... " >&6; }
56873 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56874 if ${glibcxx_cv_func_logf_use+:} false; then :
56875 $as_echo_n "(cached) " >&6
56876 else
56879 ac_ext=cpp
56880 ac_cpp='$CXXCPP $CPPFLAGS'
56881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56886 /* end confdefs.h. */
56887 #include <math.h>
56888 #ifdef HAVE_IEEEFP_H
56889 #include <ieeefp.h>
56890 #endif
56893 main ()
56895 logf(0);
56897 return 0;
56899 _ACEOF
56900 if ac_fn_cxx_try_compile "$LINENO"; then :
56901 glibcxx_cv_func_logf_use=yes
56902 else
56903 glibcxx_cv_func_logf_use=no
56905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56906 ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56919 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56920 for ac_func in logf
56921 do :
56922 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56923 if test "x$ac_cv_func_logf" = xyes; then :
56924 cat >>confdefs.h <<_ACEOF
56925 #define HAVE_LOGF 1
56926 _ACEOF
56929 done
56931 else
56933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56934 $as_echo_n "checking for _logf declaration... " >&6; }
56935 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56936 if ${glibcxx_cv_func__logf_use+:} false; then :
56937 $as_echo_n "(cached) " >&6
56938 else
56941 ac_ext=cpp
56942 ac_cpp='$CXXCPP $CPPFLAGS'
56943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56948 /* end confdefs.h. */
56949 #include <math.h>
56950 #ifdef HAVE_IEEEFP_H
56951 #include <ieeefp.h>
56952 #endif
56955 main ()
56957 _logf(0);
56959 return 0;
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func__logf_use=yes
56964 else
56965 glibcxx_cv_func__logf_use=no
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56981 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56982 for ac_func in _logf
56983 do :
56984 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56985 if test "x$ac_cv_func__logf" = xyes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE__LOGF 1
56988 _ACEOF
56991 done
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57001 $as_echo_n "checking for log10f declaration... " >&6; }
57002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57003 if ${glibcxx_cv_func_log10f_use+:} false; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57022 main ()
57024 log10f(0);
57026 return 0;
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func_log10f_use=yes
57031 else
57032 glibcxx_cv_func_log10f_use=no
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57048 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57049 for ac_func in log10f
57050 do :
57051 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57052 if test "x$ac_cv_func_log10f" = xyes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE_LOG10F 1
57055 _ACEOF
57058 done
57060 else
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57063 $as_echo_n "checking for _log10f declaration... " >&6; }
57064 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57065 if ${glibcxx_cv_func__log10f_use+:} false; then :
57066 $as_echo_n "(cached) " >&6
57067 else
57070 ac_ext=cpp
57071 ac_cpp='$CXXCPP $CPPFLAGS'
57072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57077 /* end confdefs.h. */
57078 #include <math.h>
57079 #ifdef HAVE_IEEEFP_H
57080 #include <ieeefp.h>
57081 #endif
57084 main ()
57086 _log10f(0);
57088 return 0;
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func__log10f_use=yes
57093 else
57094 glibcxx_cv_func__log10f_use=no
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57110 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57111 for ac_func in _log10f
57112 do :
57113 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57114 if test "x$ac_cv_func__log10f" = xyes; then :
57115 cat >>confdefs.h <<_ACEOF
57116 #define HAVE__LOG10F 1
57117 _ACEOF
57120 done
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57130 $as_echo_n "checking for modff declaration... " >&6; }
57131 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57132 if ${glibcxx_cv_func_modff_use+:} false; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57147 main ()
57149 modff(0, 0);
57151 return 0;
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func_modff_use=yes
57156 else
57157 glibcxx_cv_func_modff_use=no
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57173 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57174 for ac_func in modff
57175 do :
57176 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57177 if test "x$ac_cv_func_modff" = xyes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE_MODFF 1
57180 _ACEOF
57183 done
57185 else
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57188 $as_echo_n "checking for _modff declaration... " >&6; }
57189 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57190 if ${glibcxx_cv_func__modff_use+:} false; then :
57191 $as_echo_n "(cached) " >&6
57192 else
57195 ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 #include <math.h>
57205 main ()
57207 _modff(0, 0);
57209 return 0;
57211 _ACEOF
57212 if ac_fn_cxx_try_compile "$LINENO"; then :
57213 glibcxx_cv_func__modff_use=yes
57214 else
57215 glibcxx_cv_func__modff_use=no
57217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57218 ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57231 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57232 for ac_func in _modff
57233 do :
57234 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57235 if test "x$ac_cv_func__modff" = xyes; then :
57236 cat >>confdefs.h <<_ACEOF
57237 #define HAVE__MODFF 1
57238 _ACEOF
57241 done
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57251 $as_echo_n "checking for modf declaration... " >&6; }
57252 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57253 if ${glibcxx_cv_func_modf_use+:} false; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57268 main ()
57270 modf(0, 0);
57272 return 0;
57274 _ACEOF
57275 if ac_fn_cxx_try_compile "$LINENO"; then :
57276 glibcxx_cv_func_modf_use=yes
57277 else
57278 glibcxx_cv_func_modf_use=no
57280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57281 ac_ext=c
57282 ac_cpp='$CPP $CPPFLAGS'
57283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57295 for ac_func in modf
57296 do :
57297 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57298 if test "x$ac_cv_func_modf" = xyes; then :
57299 cat >>confdefs.h <<_ACEOF
57300 #define HAVE_MODF 1
57301 _ACEOF
57304 done
57306 else
57308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57309 $as_echo_n "checking for _modf declaration... " >&6; }
57310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57311 if ${glibcxx_cv_func__modf_use+:} false; then :
57312 $as_echo_n "(cached) " >&6
57313 else
57316 ac_ext=cpp
57317 ac_cpp='$CXXCPP $CPPFLAGS'
57318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57323 /* end confdefs.h. */
57324 #include <math.h>
57326 main ()
57328 _modf(0, 0);
57330 return 0;
57332 _ACEOF
57333 if ac_fn_cxx_try_compile "$LINENO"; then :
57334 glibcxx_cv_func__modf_use=yes
57335 else
57336 glibcxx_cv_func__modf_use=no
57338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57339 ac_ext=c
57340 ac_cpp='$CPP $CPPFLAGS'
57341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57352 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57353 for ac_func in _modf
57354 do :
57355 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57356 if test "x$ac_cv_func__modf" = xyes; then :
57357 cat >>confdefs.h <<_ACEOF
57358 #define HAVE__MODF 1
57359 _ACEOF
57362 done
57371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57372 $as_echo_n "checking for powf declaration... " >&6; }
57373 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57374 if ${glibcxx_cv_func_powf_use+:} false; then :
57375 $as_echo_n "(cached) " >&6
57376 else
57379 ac_ext=cpp
57380 ac_cpp='$CXXCPP $CPPFLAGS'
57381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57386 /* end confdefs.h. */
57387 #include <math.h>
57389 main ()
57391 powf(0, 0);
57393 return 0;
57395 _ACEOF
57396 if ac_fn_cxx_try_compile "$LINENO"; then :
57397 glibcxx_cv_func_powf_use=yes
57398 else
57399 glibcxx_cv_func_powf_use=no
57401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57402 ac_ext=c
57403 ac_cpp='$CPP $CPPFLAGS'
57404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57415 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57416 for ac_func in powf
57417 do :
57418 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57419 if test "x$ac_cv_func_powf" = xyes; then :
57420 cat >>confdefs.h <<_ACEOF
57421 #define HAVE_POWF 1
57422 _ACEOF
57425 done
57427 else
57429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57430 $as_echo_n "checking for _powf declaration... " >&6; }
57431 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57432 if ${glibcxx_cv_func__powf_use+:} false; then :
57433 $as_echo_n "(cached) " >&6
57434 else
57437 ac_ext=cpp
57438 ac_cpp='$CXXCPP $CPPFLAGS'
57439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57444 /* end confdefs.h. */
57445 #include <math.h>
57447 main ()
57449 _powf(0, 0);
57451 return 0;
57453 _ACEOF
57454 if ac_fn_cxx_try_compile "$LINENO"; then :
57455 glibcxx_cv_func__powf_use=yes
57456 else
57457 glibcxx_cv_func__powf_use=no
57459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57460 ac_ext=c
57461 ac_cpp='$CPP $CPPFLAGS'
57462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57473 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57474 for ac_func in _powf
57475 do :
57476 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57477 if test "x$ac_cv_func__powf" = xyes; then :
57478 cat >>confdefs.h <<_ACEOF
57479 #define HAVE__POWF 1
57480 _ACEOF
57483 done
57492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57493 $as_echo_n "checking for sqrtf declaration... " >&6; }
57494 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57495 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57496 $as_echo_n "(cached) " >&6
57497 else
57500 ac_ext=cpp
57501 ac_cpp='$CXXCPP $CPPFLAGS'
57502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57507 /* end confdefs.h. */
57508 #include <math.h>
57509 #ifdef HAVE_IEEEFP_H
57510 #include <ieeefp.h>
57511 #endif
57514 main ()
57516 sqrtf(0);
57518 return 0;
57520 _ACEOF
57521 if ac_fn_cxx_try_compile "$LINENO"; then :
57522 glibcxx_cv_func_sqrtf_use=yes
57523 else
57524 glibcxx_cv_func_sqrtf_use=no
57526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57527 ac_ext=c
57528 ac_cpp='$CPP $CPPFLAGS'
57529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57540 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57541 for ac_func in sqrtf
57542 do :
57543 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57544 if test "x$ac_cv_func_sqrtf" = xyes; then :
57545 cat >>confdefs.h <<_ACEOF
57546 #define HAVE_SQRTF 1
57547 _ACEOF
57550 done
57552 else
57554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57556 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57557 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57558 $as_echo_n "(cached) " >&6
57559 else
57562 ac_ext=cpp
57563 ac_cpp='$CXXCPP $CPPFLAGS'
57564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57569 /* end confdefs.h. */
57570 #include <math.h>
57571 #ifdef HAVE_IEEEFP_H
57572 #include <ieeefp.h>
57573 #endif
57576 main ()
57578 _sqrtf(0);
57580 return 0;
57582 _ACEOF
57583 if ac_fn_cxx_try_compile "$LINENO"; then :
57584 glibcxx_cv_func__sqrtf_use=yes
57585 else
57586 glibcxx_cv_func__sqrtf_use=no
57588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57589 ac_ext=c
57590 ac_cpp='$CPP $CPPFLAGS'
57591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57603 for ac_func in _sqrtf
57604 do :
57605 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57606 if test "x$ac_cv_func__sqrtf" = xyes; then :
57607 cat >>confdefs.h <<_ACEOF
57608 #define HAVE__SQRTF 1
57609 _ACEOF
57612 done
57621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57622 $as_echo_n "checking for sincosf declaration... " >&6; }
57623 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57624 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57625 $as_echo_n "(cached) " >&6
57626 else
57629 ac_ext=cpp
57630 ac_cpp='$CXXCPP $CPPFLAGS'
57631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57636 /* end confdefs.h. */
57637 #include <math.h>
57639 main ()
57641 sincosf(0, 0, 0);
57643 return 0;
57645 _ACEOF
57646 if ac_fn_cxx_try_compile "$LINENO"; then :
57647 glibcxx_cv_func_sincosf_use=yes
57648 else
57649 glibcxx_cv_func_sincosf_use=no
57651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57652 ac_ext=c
57653 ac_cpp='$CPP $CPPFLAGS'
57654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57665 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57666 for ac_func in sincosf
57667 do :
57668 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57669 if test "x$ac_cv_func_sincosf" = xyes; then :
57670 cat >>confdefs.h <<_ACEOF
57671 #define HAVE_SINCOSF 1
57672 _ACEOF
57675 done
57677 else
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57680 $as_echo_n "checking for _sincosf declaration... " >&6; }
57681 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57682 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57683 $as_echo_n "(cached) " >&6
57684 else
57687 ac_ext=cpp
57688 ac_cpp='$CXXCPP $CPPFLAGS'
57689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57694 /* end confdefs.h. */
57695 #include <math.h>
57697 main ()
57699 _sincosf(0, 0, 0);
57701 return 0;
57703 _ACEOF
57704 if ac_fn_cxx_try_compile "$LINENO"; then :
57705 glibcxx_cv_func__sincosf_use=yes
57706 else
57707 glibcxx_cv_func__sincosf_use=no
57709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57710 ac_ext=c
57711 ac_cpp='$CPP $CPPFLAGS'
57712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57723 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57724 for ac_func in _sincosf
57725 do :
57726 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57727 if test "x$ac_cv_func__sincosf" = xyes; then :
57728 cat >>confdefs.h <<_ACEOF
57729 #define HAVE__SINCOSF 1
57730 _ACEOF
57733 done
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57743 $as_echo_n "checking for finitef declaration... " >&6; }
57744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57745 if ${glibcxx_cv_func_finitef_use+:} false; then :
57746 $as_echo_n "(cached) " >&6
57747 else
57750 ac_ext=cpp
57751 ac_cpp='$CXXCPP $CPPFLAGS'
57752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57757 /* end confdefs.h. */
57758 #include <math.h>
57759 #ifdef HAVE_IEEEFP_H
57760 #include <ieeefp.h>
57761 #endif
57764 main ()
57766 finitef(0);
57768 return 0;
57770 _ACEOF
57771 if ac_fn_cxx_try_compile "$LINENO"; then :
57772 glibcxx_cv_func_finitef_use=yes
57773 else
57774 glibcxx_cv_func_finitef_use=no
57776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57777 ac_ext=c
57778 ac_cpp='$CPP $CPPFLAGS'
57779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57790 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57791 for ac_func in finitef
57792 do :
57793 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57794 if test "x$ac_cv_func_finitef" = xyes; then :
57795 cat >>confdefs.h <<_ACEOF
57796 #define HAVE_FINITEF 1
57797 _ACEOF
57800 done
57802 else
57804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57805 $as_echo_n "checking for _finitef declaration... " >&6; }
57806 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57807 if ${glibcxx_cv_func__finitef_use+:} false; then :
57808 $as_echo_n "(cached) " >&6
57809 else
57812 ac_ext=cpp
57813 ac_cpp='$CXXCPP $CPPFLAGS'
57814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57819 /* end confdefs.h. */
57820 #include <math.h>
57821 #ifdef HAVE_IEEEFP_H
57822 #include <ieeefp.h>
57823 #endif
57826 main ()
57828 _finitef(0);
57830 return 0;
57832 _ACEOF
57833 if ac_fn_cxx_try_compile "$LINENO"; then :
57834 glibcxx_cv_func__finitef_use=yes
57835 else
57836 glibcxx_cv_func__finitef_use=no
57838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57839 ac_ext=c
57840 ac_cpp='$CPP $CPPFLAGS'
57841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57852 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57853 for ac_func in _finitef
57854 do :
57855 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57856 if test "x$ac_cv_func__finitef" = xyes; then :
57857 cat >>confdefs.h <<_ACEOF
57858 #define HAVE__FINITEF 1
57859 _ACEOF
57862 done
57871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57872 $as_echo_n "checking for long double trig functions... " >&6; }
57873 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57874 $as_echo_n "(cached) " >&6
57875 else
57878 ac_ext=cpp
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57885 /* end confdefs.h. */
57886 #include <math.h>
57888 main ()
57890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57892 return 0;
57894 _ACEOF
57895 if ac_fn_cxx_try_compile "$LINENO"; then :
57896 glibcxx_cv_func_long_double_trig_use=yes
57897 else
57898 glibcxx_cv_func_long_double_trig_use=no
57900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57901 ac_ext=c
57902 ac_cpp='$CPP $CPPFLAGS'
57903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57911 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57912 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57913 do :
57914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57916 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57917 cat >>confdefs.h <<_ACEOF
57918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57919 _ACEOF
57922 done
57924 else
57925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57926 $as_echo_n "checking for _long double trig functions... " >&6; }
57927 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57928 $as_echo_n "(cached) " >&6
57929 else
57932 ac_ext=cpp
57933 ac_cpp='$CXXCPP $CPPFLAGS'
57934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 #include <math.h>
57942 main ()
57944 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57946 return 0;
57948 _ACEOF
57949 if ac_fn_cxx_try_compile "$LINENO"; then :
57950 glibcxx_cv_func__long_double_trig_use=yes
57951 else
57952 glibcxx_cv_func__long_double_trig_use=no
57954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57955 ac_ext=c
57956 ac_cpp='$CPP $CPPFLAGS'
57957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57964 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57965 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57966 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57967 do :
57968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57970 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57971 cat >>confdefs.h <<_ACEOF
57972 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57973 _ACEOF
57976 done
57985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57986 $as_echo_n "checking for long double round functions... " >&6; }
57987 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57988 $as_echo_n "(cached) " >&6
57989 else
57992 ac_ext=cpp
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57999 /* end confdefs.h. */
58000 #include <math.h>
58002 main ()
58004 ceill (0); floorl (0);
58006 return 0;
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_long_double_round_use=yes
58011 else
58012 glibcxx_cv_func_long_double_round_use=no
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58024 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58025 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58026 for ac_func in ceill floorl
58027 do :
58028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58031 cat >>confdefs.h <<_ACEOF
58032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58033 _ACEOF
58036 done
58038 else
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58040 $as_echo_n "checking for _long double round functions... " >&6; }
58041 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58042 $as_echo_n "(cached) " >&6
58043 else
58046 ac_ext=cpp
58047 ac_cpp='$CXXCPP $CPPFLAGS'
58048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58053 /* end confdefs.h. */
58054 #include <math.h>
58056 main ()
58058 _ceill (0); _floorl (0);
58060 return 0;
58062 _ACEOF
58063 if ac_fn_cxx_try_compile "$LINENO"; then :
58064 glibcxx_cv_func__long_double_round_use=yes
58065 else
58066 glibcxx_cv_func__long_double_round_use=no
58068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58069 ac_ext=c
58070 ac_cpp='$CPP $CPPFLAGS'
58071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58078 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58079 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58080 for ac_func in _ceill _floorl
58081 do :
58082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58084 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58085 cat >>confdefs.h <<_ACEOF
58086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58087 _ACEOF
58090 done
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58101 $as_echo_n "checking for isnanl declaration... " >&6; }
58102 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58103 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58104 $as_echo_n "(cached) " >&6
58105 else
58108 ac_ext=cpp
58109 ac_cpp='$CXXCPP $CPPFLAGS'
58110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58115 /* end confdefs.h. */
58116 #include <math.h>
58117 #ifdef HAVE_IEEEFP_H
58118 #include <ieeefp.h>
58119 #endif
58122 main ()
58124 isnanl(0);
58126 return 0;
58128 _ACEOF
58129 if ac_fn_cxx_try_compile "$LINENO"; then :
58130 glibcxx_cv_func_isnanl_use=yes
58131 else
58132 glibcxx_cv_func_isnanl_use=no
58134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58135 ac_ext=c
58136 ac_cpp='$CPP $CPPFLAGS'
58137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58146 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58148 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58149 for ac_func in isnanl
58150 do :
58151 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58152 if test "x$ac_cv_func_isnanl" = xyes; then :
58153 cat >>confdefs.h <<_ACEOF
58154 #define HAVE_ISNANL 1
58155 _ACEOF
58158 done
58160 else
58162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58163 $as_echo_n "checking for _isnanl declaration... " >&6; }
58164 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58165 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58166 $as_echo_n "(cached) " >&6
58167 else
58170 ac_ext=cpp
58171 ac_cpp='$CXXCPP $CPPFLAGS'
58172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58177 /* end confdefs.h. */
58178 #include <math.h>
58179 #ifdef HAVE_IEEEFP_H
58180 #include <ieeefp.h>
58181 #endif
58184 main ()
58186 _isnanl(0);
58188 return 0;
58190 _ACEOF
58191 if ac_fn_cxx_try_compile "$LINENO"; then :
58192 glibcxx_cv_func__isnanl_use=yes
58193 else
58194 glibcxx_cv_func__isnanl_use=no
58196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58197 ac_ext=c
58198 ac_cpp='$CPP $CPPFLAGS'
58199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58208 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58210 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58211 for ac_func in _isnanl
58212 do :
58213 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58214 if test "x$ac_cv_func__isnanl" = xyes; then :
58215 cat >>confdefs.h <<_ACEOF
58216 #define HAVE__ISNANL 1
58217 _ACEOF
58220 done
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58230 $as_echo_n "checking for isinfl declaration... " >&6; }
58231 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58232 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58233 $as_echo_n "(cached) " >&6
58234 else
58237 ac_ext=cpp
58238 ac_cpp='$CXXCPP $CPPFLAGS'
58239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58244 /* end confdefs.h. */
58245 #include <math.h>
58246 #ifdef HAVE_IEEEFP_H
58247 #include <ieeefp.h>
58248 #endif
58251 main ()
58253 isinfl(0);
58255 return 0;
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_isinfl_use=yes
58260 else
58261 glibcxx_cv_func_isinfl_use=no
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58275 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58277 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58278 for ac_func in isinfl
58279 do :
58280 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58281 if test "x$ac_cv_func_isinfl" = xyes; then :
58282 cat >>confdefs.h <<_ACEOF
58283 #define HAVE_ISINFL 1
58284 _ACEOF
58287 done
58289 else
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58292 $as_echo_n "checking for _isinfl declaration... " >&6; }
58293 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58294 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <math.h>
58308 #ifdef HAVE_IEEEFP_H
58309 #include <ieeefp.h>
58310 #endif
58313 main ()
58315 _isinfl(0);
58317 return 0;
58319 _ACEOF
58320 if ac_fn_cxx_try_compile "$LINENO"; then :
58321 glibcxx_cv_func__isinfl_use=yes
58322 else
58323 glibcxx_cv_func__isinfl_use=no
58325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58326 ac_ext=c
58327 ac_cpp='$CPP $CPPFLAGS'
58328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58337 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58339 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58340 for ac_func in _isinfl
58341 do :
58342 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58343 if test "x$ac_cv_func__isinfl" = xyes; then :
58344 cat >>confdefs.h <<_ACEOF
58345 #define HAVE__ISINFL 1
58346 _ACEOF
58349 done
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58359 $as_echo_n "checking for atan2l declaration... " >&6; }
58360 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58361 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <math.h>
58376 main ()
58378 atan2l(0, 0);
58380 return 0;
58382 _ACEOF
58383 if ac_fn_cxx_try_compile "$LINENO"; then :
58384 glibcxx_cv_func_atan2l_use=yes
58385 else
58386 glibcxx_cv_func_atan2l_use=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_ext=c
58390 ac_cpp='$CPP $CPPFLAGS'
58391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58400 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58402 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58403 for ac_func in atan2l
58404 do :
58405 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58406 if test "x$ac_cv_func_atan2l" = xyes; then :
58407 cat >>confdefs.h <<_ACEOF
58408 #define HAVE_ATAN2L 1
58409 _ACEOF
58412 done
58414 else
58416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58417 $as_echo_n "checking for _atan2l declaration... " >&6; }
58418 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58419 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58420 $as_echo_n "(cached) " >&6
58421 else
58424 ac_ext=cpp
58425 ac_cpp='$CXXCPP $CPPFLAGS'
58426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58431 /* end confdefs.h. */
58432 #include <math.h>
58434 main ()
58436 _atan2l(0, 0);
58438 return 0;
58440 _ACEOF
58441 if ac_fn_cxx_try_compile "$LINENO"; then :
58442 glibcxx_cv_func__atan2l_use=yes
58443 else
58444 glibcxx_cv_func__atan2l_use=no
58446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58447 ac_ext=c
58448 ac_cpp='$CPP $CPPFLAGS'
58449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58458 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58460 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58461 for ac_func in _atan2l
58462 do :
58463 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58464 if test "x$ac_cv_func__atan2l" = xyes; then :
58465 cat >>confdefs.h <<_ACEOF
58466 #define HAVE__ATAN2L 1
58467 _ACEOF
58470 done
58479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58480 $as_echo_n "checking for expl declaration... " >&6; }
58481 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58482 if ${glibcxx_cv_func_expl_use+:} false; then :
58483 $as_echo_n "(cached) " >&6
58484 else
58487 ac_ext=cpp
58488 ac_cpp='$CXXCPP $CPPFLAGS'
58489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h. */
58495 #include <math.h>
58496 #ifdef HAVE_IEEEFP_H
58497 #include <ieeefp.h>
58498 #endif
58501 main ()
58503 expl(0);
58505 return 0;
58507 _ACEOF
58508 if ac_fn_cxx_try_compile "$LINENO"; then :
58509 glibcxx_cv_func_expl_use=yes
58510 else
58511 glibcxx_cv_func_expl_use=no
58513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58514 ac_ext=c
58515 ac_cpp='$CPP $CPPFLAGS'
58516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58525 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58527 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58528 for ac_func in expl
58529 do :
58530 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58531 if test "x$ac_cv_func_expl" = xyes; then :
58532 cat >>confdefs.h <<_ACEOF
58533 #define HAVE_EXPL 1
58534 _ACEOF
58537 done
58539 else
58541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58542 $as_echo_n "checking for _expl declaration... " >&6; }
58543 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58544 if ${glibcxx_cv_func__expl_use+:} false; then :
58545 $as_echo_n "(cached) " >&6
58546 else
58549 ac_ext=cpp
58550 ac_cpp='$CXXCPP $CPPFLAGS'
58551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58556 /* end confdefs.h. */
58557 #include <math.h>
58558 #ifdef HAVE_IEEEFP_H
58559 #include <ieeefp.h>
58560 #endif
58563 main ()
58565 _expl(0);
58567 return 0;
58569 _ACEOF
58570 if ac_fn_cxx_try_compile "$LINENO"; then :
58571 glibcxx_cv_func__expl_use=yes
58572 else
58573 glibcxx_cv_func__expl_use=no
58575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58576 ac_ext=c
58577 ac_cpp='$CPP $CPPFLAGS'
58578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58587 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58589 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58590 for ac_func in _expl
58591 do :
58592 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58593 if test "x$ac_cv_func__expl" = xyes; then :
58594 cat >>confdefs.h <<_ACEOF
58595 #define HAVE__EXPL 1
58596 _ACEOF
58599 done
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58609 $as_echo_n "checking for fabsl declaration... " >&6; }
58610 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58611 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58612 $as_echo_n "(cached) " >&6
58613 else
58616 ac_ext=cpp
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <math.h>
58625 #ifdef HAVE_IEEEFP_H
58626 #include <ieeefp.h>
58627 #endif
58630 main ()
58632 fabsl(0);
58634 return 0;
58636 _ACEOF
58637 if ac_fn_cxx_try_compile "$LINENO"; then :
58638 glibcxx_cv_func_fabsl_use=yes
58639 else
58640 glibcxx_cv_func_fabsl_use=no
58642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58643 ac_ext=c
58644 ac_cpp='$CPP $CPPFLAGS'
58645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58654 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58656 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58657 for ac_func in fabsl
58658 do :
58659 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58660 if test "x$ac_cv_func_fabsl" = xyes; then :
58661 cat >>confdefs.h <<_ACEOF
58662 #define HAVE_FABSL 1
58663 _ACEOF
58666 done
58668 else
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58671 $as_echo_n "checking for _fabsl declaration... " >&6; }
58672 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58673 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58674 $as_echo_n "(cached) " >&6
58675 else
58678 ac_ext=cpp
58679 ac_cpp='$CXXCPP $CPPFLAGS'
58680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58685 /* end confdefs.h. */
58686 #include <math.h>
58687 #ifdef HAVE_IEEEFP_H
58688 #include <ieeefp.h>
58689 #endif
58692 main ()
58694 _fabsl(0);
58696 return 0;
58698 _ACEOF
58699 if ac_fn_cxx_try_compile "$LINENO"; then :
58700 glibcxx_cv_func__fabsl_use=yes
58701 else
58702 glibcxx_cv_func__fabsl_use=no
58704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58705 ac_ext=c
58706 ac_cpp='$CPP $CPPFLAGS'
58707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58716 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58718 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58719 for ac_func in _fabsl
58720 do :
58721 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58722 if test "x$ac_cv_func__fabsl" = xyes; then :
58723 cat >>confdefs.h <<_ACEOF
58724 #define HAVE__FABSL 1
58725 _ACEOF
58728 done
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58738 $as_echo_n "checking for fmodl declaration... " >&6; }
58739 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58740 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58755 main ()
58757 fmodl(0, 0);
58759 return 0;
58761 _ACEOF
58762 if ac_fn_cxx_try_compile "$LINENO"; then :
58763 glibcxx_cv_func_fmodl_use=yes
58764 else
58765 glibcxx_cv_func_fmodl_use=no
58767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58768 ac_ext=c
58769 ac_cpp='$CPP $CPPFLAGS'
58770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58779 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58781 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58782 for ac_func in fmodl
58783 do :
58784 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58785 if test "x$ac_cv_func_fmodl" = xyes; then :
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE_FMODL 1
58788 _ACEOF
58791 done
58793 else
58795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58796 $as_echo_n "checking for _fmodl declaration... " >&6; }
58797 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58798 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58799 $as_echo_n "(cached) " >&6
58800 else
58803 ac_ext=cpp
58804 ac_cpp='$CXXCPP $CPPFLAGS'
58805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58810 /* end confdefs.h. */
58811 #include <math.h>
58813 main ()
58815 _fmodl(0, 0);
58817 return 0;
58819 _ACEOF
58820 if ac_fn_cxx_try_compile "$LINENO"; then :
58821 glibcxx_cv_func__fmodl_use=yes
58822 else
58823 glibcxx_cv_func__fmodl_use=no
58825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58826 ac_ext=c
58827 ac_cpp='$CPP $CPPFLAGS'
58828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58837 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58839 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58840 for ac_func in _fmodl
58841 do :
58842 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58843 if test "x$ac_cv_func__fmodl" = xyes; then :
58844 cat >>confdefs.h <<_ACEOF
58845 #define HAVE__FMODL 1
58846 _ACEOF
58849 done
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58859 $as_echo_n "checking for frexpl declaration... " >&6; }
58860 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58861 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58862 $as_echo_n "(cached) " >&6
58863 else
58866 ac_ext=cpp
58867 ac_cpp='$CXXCPP $CPPFLAGS'
58868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58873 /* end confdefs.h. */
58874 #include <math.h>
58876 main ()
58878 frexpl(0, 0);
58880 return 0;
58882 _ACEOF
58883 if ac_fn_cxx_try_compile "$LINENO"; then :
58884 glibcxx_cv_func_frexpl_use=yes
58885 else
58886 glibcxx_cv_func_frexpl_use=no
58888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58889 ac_ext=c
58890 ac_cpp='$CPP $CPPFLAGS'
58891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58900 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58902 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58903 for ac_func in frexpl
58904 do :
58905 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58906 if test "x$ac_cv_func_frexpl" = xyes; then :
58907 cat >>confdefs.h <<_ACEOF
58908 #define HAVE_FREXPL 1
58909 _ACEOF
58912 done
58914 else
58916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58917 $as_echo_n "checking for _frexpl declaration... " >&6; }
58918 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58919 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58920 $as_echo_n "(cached) " >&6
58921 else
58924 ac_ext=cpp
58925 ac_cpp='$CXXCPP $CPPFLAGS'
58926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58931 /* end confdefs.h. */
58932 #include <math.h>
58934 main ()
58936 _frexpl(0, 0);
58938 return 0;
58940 _ACEOF
58941 if ac_fn_cxx_try_compile "$LINENO"; then :
58942 glibcxx_cv_func__frexpl_use=yes
58943 else
58944 glibcxx_cv_func__frexpl_use=no
58946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58947 ac_ext=c
58948 ac_cpp='$CPP $CPPFLAGS'
58949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58958 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58960 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58961 for ac_func in _frexpl
58962 do :
58963 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58964 if test "x$ac_cv_func__frexpl" = xyes; then :
58965 cat >>confdefs.h <<_ACEOF
58966 #define HAVE__FREXPL 1
58967 _ACEOF
58970 done
58979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58980 $as_echo_n "checking for hypotl declaration... " >&6; }
58981 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58982 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58983 $as_echo_n "(cached) " >&6
58984 else
58987 ac_ext=cpp
58988 ac_cpp='$CXXCPP $CPPFLAGS'
58989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58994 /* end confdefs.h. */
58995 #include <math.h>
58997 main ()
58999 hypotl(0, 0);
59001 return 0;
59003 _ACEOF
59004 if ac_fn_cxx_try_compile "$LINENO"; then :
59005 glibcxx_cv_func_hypotl_use=yes
59006 else
59007 glibcxx_cv_func_hypotl_use=no
59009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59010 ac_ext=c
59011 ac_cpp='$CPP $CPPFLAGS'
59012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59021 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59023 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59024 for ac_func in hypotl
59025 do :
59026 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59027 if test "x$ac_cv_func_hypotl" = xyes; then :
59028 cat >>confdefs.h <<_ACEOF
59029 #define HAVE_HYPOTL 1
59030 _ACEOF
59033 done
59035 else
59037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59038 $as_echo_n "checking for _hypotl declaration... " >&6; }
59039 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59040 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59041 $as_echo_n "(cached) " >&6
59042 else
59045 ac_ext=cpp
59046 ac_cpp='$CXXCPP $CPPFLAGS'
59047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59052 /* end confdefs.h. */
59053 #include <math.h>
59055 main ()
59057 _hypotl(0, 0);
59059 return 0;
59061 _ACEOF
59062 if ac_fn_cxx_try_compile "$LINENO"; then :
59063 glibcxx_cv_func__hypotl_use=yes
59064 else
59065 glibcxx_cv_func__hypotl_use=no
59067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59068 ac_ext=c
59069 ac_cpp='$CPP $CPPFLAGS'
59070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59079 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59081 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59082 for ac_func in _hypotl
59083 do :
59084 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59085 if test "x$ac_cv_func__hypotl" = xyes; then :
59086 cat >>confdefs.h <<_ACEOF
59087 #define HAVE__HYPOTL 1
59088 _ACEOF
59091 done
59100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59101 $as_echo_n "checking for ldexpl declaration... " >&6; }
59102 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59103 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59104 $as_echo_n "(cached) " >&6
59105 else
59108 ac_ext=cpp
59109 ac_cpp='$CXXCPP $CPPFLAGS'
59110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59115 /* end confdefs.h. */
59116 #include <math.h>
59118 main ()
59120 ldexpl(0, 0);
59122 return 0;
59124 _ACEOF
59125 if ac_fn_cxx_try_compile "$LINENO"; then :
59126 glibcxx_cv_func_ldexpl_use=yes
59127 else
59128 glibcxx_cv_func_ldexpl_use=no
59130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59131 ac_ext=c
59132 ac_cpp='$CPP $CPPFLAGS'
59133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59142 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59144 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59145 for ac_func in ldexpl
59146 do :
59147 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59148 if test "x$ac_cv_func_ldexpl" = xyes; then :
59149 cat >>confdefs.h <<_ACEOF
59150 #define HAVE_LDEXPL 1
59151 _ACEOF
59154 done
59156 else
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59159 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59160 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59161 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59162 $as_echo_n "(cached) " >&6
59163 else
59166 ac_ext=cpp
59167 ac_cpp='$CXXCPP $CPPFLAGS'
59168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59173 /* end confdefs.h. */
59174 #include <math.h>
59176 main ()
59178 _ldexpl(0, 0);
59180 return 0;
59182 _ACEOF
59183 if ac_fn_cxx_try_compile "$LINENO"; then :
59184 glibcxx_cv_func__ldexpl_use=yes
59185 else
59186 glibcxx_cv_func__ldexpl_use=no
59188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59189 ac_ext=c
59190 ac_cpp='$CPP $CPPFLAGS'
59191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59200 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59202 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59203 for ac_func in _ldexpl
59204 do :
59205 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59206 if test "x$ac_cv_func__ldexpl" = xyes; then :
59207 cat >>confdefs.h <<_ACEOF
59208 #define HAVE__LDEXPL 1
59209 _ACEOF
59212 done
59221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59222 $as_echo_n "checking for logl declaration... " >&6; }
59223 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59224 if ${glibcxx_cv_func_logl_use+:} false; then :
59225 $as_echo_n "(cached) " >&6
59226 else
59229 ac_ext=cpp
59230 ac_cpp='$CXXCPP $CPPFLAGS'
59231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59236 /* end confdefs.h. */
59237 #include <math.h>
59238 #ifdef HAVE_IEEEFP_H
59239 #include <ieeefp.h>
59240 #endif
59243 main ()
59245 logl(0);
59247 return 0;
59249 _ACEOF
59250 if ac_fn_cxx_try_compile "$LINENO"; then :
59251 glibcxx_cv_func_logl_use=yes
59252 else
59253 glibcxx_cv_func_logl_use=no
59255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59256 ac_ext=c
59257 ac_cpp='$CPP $CPPFLAGS'
59258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59267 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59269 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59270 for ac_func in logl
59271 do :
59272 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59273 if test "x$ac_cv_func_logl" = xyes; then :
59274 cat >>confdefs.h <<_ACEOF
59275 #define HAVE_LOGL 1
59276 _ACEOF
59279 done
59281 else
59283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59284 $as_echo_n "checking for _logl declaration... " >&6; }
59285 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59286 if ${glibcxx_cv_func__logl_use+:} false; then :
59287 $as_echo_n "(cached) " >&6
59288 else
59291 ac_ext=cpp
59292 ac_cpp='$CXXCPP $CPPFLAGS'
59293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59298 /* end confdefs.h. */
59299 #include <math.h>
59300 #ifdef HAVE_IEEEFP_H
59301 #include <ieeefp.h>
59302 #endif
59305 main ()
59307 _logl(0);
59309 return 0;
59311 _ACEOF
59312 if ac_fn_cxx_try_compile "$LINENO"; then :
59313 glibcxx_cv_func__logl_use=yes
59314 else
59315 glibcxx_cv_func__logl_use=no
59317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59318 ac_ext=c
59319 ac_cpp='$CPP $CPPFLAGS'
59320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59329 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59331 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59332 for ac_func in _logl
59333 do :
59334 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59335 if test "x$ac_cv_func__logl" = xyes; then :
59336 cat >>confdefs.h <<_ACEOF
59337 #define HAVE__LOGL 1
59338 _ACEOF
59341 done
59350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59351 $as_echo_n "checking for log10l declaration... " >&6; }
59352 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59353 if ${glibcxx_cv_func_log10l_use+:} false; then :
59354 $as_echo_n "(cached) " >&6
59355 else
59358 ac_ext=cpp
59359 ac_cpp='$CXXCPP $CPPFLAGS'
59360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59365 /* end confdefs.h. */
59366 #include <math.h>
59367 #ifdef HAVE_IEEEFP_H
59368 #include <ieeefp.h>
59369 #endif
59372 main ()
59374 log10l(0);
59376 return 0;
59378 _ACEOF
59379 if ac_fn_cxx_try_compile "$LINENO"; then :
59380 glibcxx_cv_func_log10l_use=yes
59381 else
59382 glibcxx_cv_func_log10l_use=no
59384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59385 ac_ext=c
59386 ac_cpp='$CPP $CPPFLAGS'
59387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59396 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59398 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59399 for ac_func in log10l
59400 do :
59401 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59402 if test "x$ac_cv_func_log10l" = xyes; then :
59403 cat >>confdefs.h <<_ACEOF
59404 #define HAVE_LOG10L 1
59405 _ACEOF
59408 done
59410 else
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59413 $as_echo_n "checking for _log10l declaration... " >&6; }
59414 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59415 if ${glibcxx_cv_func__log10l_use+:} false; then :
59416 $as_echo_n "(cached) " >&6
59417 else
59420 ac_ext=cpp
59421 ac_cpp='$CXXCPP $CPPFLAGS'
59422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59427 /* end confdefs.h. */
59428 #include <math.h>
59429 #ifdef HAVE_IEEEFP_H
59430 #include <ieeefp.h>
59431 #endif
59434 main ()
59436 _log10l(0);
59438 return 0;
59440 _ACEOF
59441 if ac_fn_cxx_try_compile "$LINENO"; then :
59442 glibcxx_cv_func__log10l_use=yes
59443 else
59444 glibcxx_cv_func__log10l_use=no
59446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59447 ac_ext=c
59448 ac_cpp='$CPP $CPPFLAGS'
59449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59458 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59460 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59461 for ac_func in _log10l
59462 do :
59463 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59464 if test "x$ac_cv_func__log10l" = xyes; then :
59465 cat >>confdefs.h <<_ACEOF
59466 #define HAVE__LOG10L 1
59467 _ACEOF
59470 done
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59480 $as_echo_n "checking for modfl declaration... " >&6; }
59481 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59482 if ${glibcxx_cv_func_modfl_use+:} false; then :
59483 $as_echo_n "(cached) " >&6
59484 else
59487 ac_ext=cpp
59488 ac_cpp='$CXXCPP $CPPFLAGS'
59489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59494 /* end confdefs.h. */
59495 #include <math.h>
59497 main ()
59499 modfl(0, 0);
59501 return 0;
59503 _ACEOF
59504 if ac_fn_cxx_try_compile "$LINENO"; then :
59505 glibcxx_cv_func_modfl_use=yes
59506 else
59507 glibcxx_cv_func_modfl_use=no
59509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59510 ac_ext=c
59511 ac_cpp='$CPP $CPPFLAGS'
59512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59521 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59523 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59524 for ac_func in modfl
59525 do :
59526 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59527 if test "x$ac_cv_func_modfl" = xyes; then :
59528 cat >>confdefs.h <<_ACEOF
59529 #define HAVE_MODFL 1
59530 _ACEOF
59533 done
59535 else
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59538 $as_echo_n "checking for _modfl declaration... " >&6; }
59539 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59540 if ${glibcxx_cv_func__modfl_use+:} false; then :
59541 $as_echo_n "(cached) " >&6
59542 else
59545 ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h. */
59553 #include <math.h>
59555 main ()
59557 _modfl(0, 0);
59559 return 0;
59561 _ACEOF
59562 if ac_fn_cxx_try_compile "$LINENO"; then :
59563 glibcxx_cv_func__modfl_use=yes
59564 else
59565 glibcxx_cv_func__modfl_use=no
59567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59568 ac_ext=c
59569 ac_cpp='$CPP $CPPFLAGS'
59570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59579 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59581 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59582 for ac_func in _modfl
59583 do :
59584 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59585 if test "x$ac_cv_func__modfl" = xyes; then :
59586 cat >>confdefs.h <<_ACEOF
59587 #define HAVE__MODFL 1
59588 _ACEOF
59591 done
59600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59601 $as_echo_n "checking for powl declaration... " >&6; }
59602 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59603 if ${glibcxx_cv_func_powl_use+:} false; then :
59604 $as_echo_n "(cached) " >&6
59605 else
59608 ac_ext=cpp
59609 ac_cpp='$CXXCPP $CPPFLAGS'
59610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59615 /* end confdefs.h. */
59616 #include <math.h>
59618 main ()
59620 powl(0, 0);
59622 return 0;
59624 _ACEOF
59625 if ac_fn_cxx_try_compile "$LINENO"; then :
59626 glibcxx_cv_func_powl_use=yes
59627 else
59628 glibcxx_cv_func_powl_use=no
59630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59631 ac_ext=c
59632 ac_cpp='$CPP $CPPFLAGS'
59633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59642 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59644 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59645 for ac_func in powl
59646 do :
59647 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59648 if test "x$ac_cv_func_powl" = xyes; then :
59649 cat >>confdefs.h <<_ACEOF
59650 #define HAVE_POWL 1
59651 _ACEOF
59654 done
59656 else
59658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59659 $as_echo_n "checking for _powl declaration... " >&6; }
59660 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59661 if ${glibcxx_cv_func__powl_use+:} false; then :
59662 $as_echo_n "(cached) " >&6
59663 else
59666 ac_ext=cpp
59667 ac_cpp='$CXXCPP $CPPFLAGS'
59668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59673 /* end confdefs.h. */
59674 #include <math.h>
59676 main ()
59678 _powl(0, 0);
59680 return 0;
59682 _ACEOF
59683 if ac_fn_cxx_try_compile "$LINENO"; then :
59684 glibcxx_cv_func__powl_use=yes
59685 else
59686 glibcxx_cv_func__powl_use=no
59688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59689 ac_ext=c
59690 ac_cpp='$CPP $CPPFLAGS'
59691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59700 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59702 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59703 for ac_func in _powl
59704 do :
59705 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59706 if test "x$ac_cv_func__powl" = xyes; then :
59707 cat >>confdefs.h <<_ACEOF
59708 #define HAVE__POWL 1
59709 _ACEOF
59712 done
59721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59722 $as_echo_n "checking for sqrtl declaration... " >&6; }
59723 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59724 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59725 $as_echo_n "(cached) " >&6
59726 else
59729 ac_ext=cpp
59730 ac_cpp='$CXXCPP $CPPFLAGS'
59731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59736 /* end confdefs.h. */
59737 #include <math.h>
59738 #ifdef HAVE_IEEEFP_H
59739 #include <ieeefp.h>
59740 #endif
59743 main ()
59745 sqrtl(0);
59747 return 0;
59749 _ACEOF
59750 if ac_fn_cxx_try_compile "$LINENO"; then :
59751 glibcxx_cv_func_sqrtl_use=yes
59752 else
59753 glibcxx_cv_func_sqrtl_use=no
59755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59756 ac_ext=c
59757 ac_cpp='$CPP $CPPFLAGS'
59758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59767 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59769 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59770 for ac_func in sqrtl
59771 do :
59772 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59773 if test "x$ac_cv_func_sqrtl" = xyes; then :
59774 cat >>confdefs.h <<_ACEOF
59775 #define HAVE_SQRTL 1
59776 _ACEOF
59779 done
59781 else
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59784 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59785 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59786 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59787 $as_echo_n "(cached) " >&6
59788 else
59791 ac_ext=cpp
59792 ac_cpp='$CXXCPP $CPPFLAGS'
59793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59798 /* end confdefs.h. */
59799 #include <math.h>
59800 #ifdef HAVE_IEEEFP_H
59801 #include <ieeefp.h>
59802 #endif
59805 main ()
59807 _sqrtl(0);
59809 return 0;
59811 _ACEOF
59812 if ac_fn_cxx_try_compile "$LINENO"; then :
59813 glibcxx_cv_func__sqrtl_use=yes
59814 else
59815 glibcxx_cv_func__sqrtl_use=no
59817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59818 ac_ext=c
59819 ac_cpp='$CPP $CPPFLAGS'
59820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59829 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59831 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59832 for ac_func in _sqrtl
59833 do :
59834 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59835 if test "x$ac_cv_func__sqrtl" = xyes; then :
59836 cat >>confdefs.h <<_ACEOF
59837 #define HAVE__SQRTL 1
59838 _ACEOF
59841 done
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59851 $as_echo_n "checking for sincosl declaration... " >&6; }
59852 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59853 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59854 $as_echo_n "(cached) " >&6
59855 else
59858 ac_ext=cpp
59859 ac_cpp='$CXXCPP $CPPFLAGS'
59860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59865 /* end confdefs.h. */
59866 #include <math.h>
59868 main ()
59870 sincosl(0, 0, 0);
59872 return 0;
59874 _ACEOF
59875 if ac_fn_cxx_try_compile "$LINENO"; then :
59876 glibcxx_cv_func_sincosl_use=yes
59877 else
59878 glibcxx_cv_func_sincosl_use=no
59880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59881 ac_ext=c
59882 ac_cpp='$CPP $CPPFLAGS'
59883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59892 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59894 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59895 for ac_func in sincosl
59896 do :
59897 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59898 if test "x$ac_cv_func_sincosl" = xyes; then :
59899 cat >>confdefs.h <<_ACEOF
59900 #define HAVE_SINCOSL 1
59901 _ACEOF
59904 done
59906 else
59908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59909 $as_echo_n "checking for _sincosl declaration... " >&6; }
59910 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59911 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59912 $as_echo_n "(cached) " >&6
59913 else
59916 ac_ext=cpp
59917 ac_cpp='$CXXCPP $CPPFLAGS'
59918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59923 /* end confdefs.h. */
59924 #include <math.h>
59926 main ()
59928 _sincosl(0, 0, 0);
59930 return 0;
59932 _ACEOF
59933 if ac_fn_cxx_try_compile "$LINENO"; then :
59934 glibcxx_cv_func__sincosl_use=yes
59935 else
59936 glibcxx_cv_func__sincosl_use=no
59938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59939 ac_ext=c
59940 ac_cpp='$CPP $CPPFLAGS'
59941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59950 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59952 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59953 for ac_func in _sincosl
59954 do :
59955 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59956 if test "x$ac_cv_func__sincosl" = xyes; then :
59957 cat >>confdefs.h <<_ACEOF
59958 #define HAVE__SINCOSL 1
59959 _ACEOF
59962 done
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59972 $as_echo_n "checking for finitel declaration... " >&6; }
59973 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59974 if ${glibcxx_cv_func_finitel_use+:} false; then :
59975 $as_echo_n "(cached) " >&6
59976 else
59979 ac_ext=cpp
59980 ac_cpp='$CXXCPP $CPPFLAGS'
59981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59986 /* end confdefs.h. */
59987 #include <math.h>
59988 #ifdef HAVE_IEEEFP_H
59989 #include <ieeefp.h>
59990 #endif
59993 main ()
59995 finitel(0);
59997 return 0;
59999 _ACEOF
60000 if ac_fn_cxx_try_compile "$LINENO"; then :
60001 glibcxx_cv_func_finitel_use=yes
60002 else
60003 glibcxx_cv_func_finitel_use=no
60005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60006 ac_ext=c
60007 ac_cpp='$CPP $CPPFLAGS'
60008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60017 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60019 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60020 for ac_func in finitel
60021 do :
60022 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60023 if test "x$ac_cv_func_finitel" = xyes; then :
60024 cat >>confdefs.h <<_ACEOF
60025 #define HAVE_FINITEL 1
60026 _ACEOF
60029 done
60031 else
60033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60034 $as_echo_n "checking for _finitel declaration... " >&6; }
60035 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60036 if ${glibcxx_cv_func__finitel_use+:} false; then :
60037 $as_echo_n "(cached) " >&6
60038 else
60041 ac_ext=cpp
60042 ac_cpp='$CXXCPP $CPPFLAGS'
60043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60048 /* end confdefs.h. */
60049 #include <math.h>
60050 #ifdef HAVE_IEEEFP_H
60051 #include <ieeefp.h>
60052 #endif
60055 main ()
60057 _finitel(0);
60059 return 0;
60061 _ACEOF
60062 if ac_fn_cxx_try_compile "$LINENO"; then :
60063 glibcxx_cv_func__finitel_use=yes
60064 else
60065 glibcxx_cv_func__finitel_use=no
60067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60068 ac_ext=c
60069 ac_cpp='$CPP $CPPFLAGS'
60070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60079 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60081 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60082 for ac_func in _finitel
60083 do :
60084 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60085 if test "x$ac_cv_func__finitel" = xyes; then :
60086 cat >>confdefs.h <<_ACEOF
60087 #define HAVE__FINITEL 1
60088 _ACEOF
60091 done
60099 LIBS="$ac_save_LIBS"
60100 CXXFLAGS="$ac_save_CXXFLAGS"
60103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60104 ac_save_CXXFLAGS="$CXXFLAGS"
60105 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60109 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60110 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60111 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60112 $as_echo_n "(cached) " >&6
60113 else
60116 ac_ext=cpp
60117 ac_cpp='$CXXCPP $CPPFLAGS'
60118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60124 #include <stdlib.h>
60126 main ()
60128 at_quick_exit(0);
60130 return 0;
60132 _ACEOF
60133 if ac_fn_cxx_try_compile "$LINENO"; then :
60134 glibcxx_cv_func_at_quick_exit_use=yes
60135 else
60136 glibcxx_cv_func_at_quick_exit_use=no
60138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60139 ac_ext=c
60140 ac_cpp='$CPP $CPPFLAGS'
60141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60150 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60151 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60152 for ac_func in at_quick_exit
60153 do :
60154 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60155 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60156 cat >>confdefs.h <<_ACEOF
60157 #define HAVE_AT_QUICK_EXIT 1
60158 _ACEOF
60161 done
60166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60167 $as_echo_n "checking for quick_exit declaration... " >&6; }
60168 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60169 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60170 $as_echo_n "(cached) " >&6
60171 else
60174 ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h. */
60182 #include <stdlib.h>
60184 main ()
60186 quick_exit(0);
60188 return 0;
60190 _ACEOF
60191 if ac_fn_cxx_try_compile "$LINENO"; then :
60192 glibcxx_cv_func_quick_exit_use=yes
60193 else
60194 glibcxx_cv_func_quick_exit_use=no
60196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60197 ac_ext=c
60198 ac_cpp='$CPP $CPPFLAGS'
60199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60208 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60209 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60210 for ac_func in quick_exit
60211 do :
60212 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60213 if test "x$ac_cv_func_quick_exit" = xyes; then :
60214 cat >>confdefs.h <<_ACEOF
60215 #define HAVE_QUICK_EXIT 1
60216 _ACEOF
60219 done
60224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60225 $as_echo_n "checking for strtold declaration... " >&6; }
60226 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60227 if ${glibcxx_cv_func_strtold_use+:} false; then :
60228 $as_echo_n "(cached) " >&6
60229 else
60232 ac_ext=cpp
60233 ac_cpp='$CXXCPP $CPPFLAGS'
60234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60239 /* end confdefs.h. */
60240 #include <stdlib.h>
60242 main ()
60244 strtold(0, 0);
60246 return 0;
60248 _ACEOF
60249 if ac_fn_cxx_try_compile "$LINENO"; then :
60250 glibcxx_cv_func_strtold_use=yes
60251 else
60252 glibcxx_cv_func_strtold_use=no
60254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60255 ac_ext=c
60256 ac_cpp='$CPP $CPPFLAGS'
60257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60266 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60267 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60268 for ac_func in strtold
60269 do :
60270 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60271 if test "x$ac_cv_func_strtold" = xyes; then :
60272 cat >>confdefs.h <<_ACEOF
60273 #define HAVE_STRTOLD 1
60274 _ACEOF
60277 done
60284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60285 $as_echo_n "checking for strtof declaration... " >&6; }
60286 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60287 if ${glibcxx_cv_func_strtof_use+:} false; then :
60288 $as_echo_n "(cached) " >&6
60289 else
60292 ac_ext=cpp
60293 ac_cpp='$CXXCPP $CPPFLAGS'
60294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60299 /* end confdefs.h. */
60300 #include <stdlib.h>
60302 main ()
60304 strtof(0, 0);
60306 return 0;
60308 _ACEOF
60309 if ac_fn_cxx_try_compile "$LINENO"; then :
60310 glibcxx_cv_func_strtof_use=yes
60311 else
60312 glibcxx_cv_func_strtof_use=no
60314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60315 ac_ext=c
60316 ac_cpp='$CPP $CPPFLAGS'
60317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60326 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60327 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60328 for ac_func in strtof
60329 do :
60330 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60331 if test "x$ac_cv_func_strtof" = xyes; then :
60332 cat >>confdefs.h <<_ACEOF
60333 #define HAVE_STRTOF 1
60334 _ACEOF
60337 done
60344 CXXFLAGS="$ac_save_CXXFLAGS"
60346 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60347 do :
60348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60350 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60351 cat >>confdefs.h <<_ACEOF
60352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60353 _ACEOF
60356 done
60358 for ac_func in _wfopen
60359 do :
60360 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60361 if test "x$ac_cv_func__wfopen" = xyes; then :
60362 cat >>confdefs.h <<_ACEOF
60363 #define HAVE__WFOPEN 1
60364 _ACEOF
60367 done
60371 # Check whether --enable-tls was given.
60372 if test "${enable_tls+set}" = set; then :
60373 enableval=$enable_tls;
60374 case "$enableval" in
60375 yes|no) ;;
60376 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60377 esac
60379 else
60380 enable_tls=yes
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60385 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60386 if ${gcc_cv_have_tls+:} false; then :
60387 $as_echo_n "(cached) " >&6
60388 else
60390 if test "$cross_compiling" = yes; then :
60391 if test x$gcc_no_link = xyes; then
60392 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60395 /* end confdefs.h. */
60396 __thread int a; int b; int main() { return a = b; }
60397 _ACEOF
60398 if ac_fn_c_try_link "$LINENO"; then :
60399 chktls_save_LDFLAGS="$LDFLAGS"
60400 case $host in
60401 *-*-linux* | -*-uclinuxfdpic*)
60402 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60404 esac
60405 chktls_save_CFLAGS="$CFLAGS"
60406 CFLAGS="-fPIC $CFLAGS"
60407 if test x$gcc_no_link = xyes; then
60408 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60411 /* end confdefs.h. */
60412 int f() { return 0; }
60413 _ACEOF
60414 if ac_fn_c_try_link "$LINENO"; then :
60415 if test x$gcc_no_link = xyes; then
60416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60419 /* end confdefs.h. */
60420 __thread int a; int b; int f() { return a = b; }
60421 _ACEOF
60422 if ac_fn_c_try_link "$LINENO"; then :
60423 gcc_cv_have_tls=yes
60424 else
60425 gcc_cv_have_tls=no
60427 rm -f core conftest.err conftest.$ac_objext \
60428 conftest$ac_exeext conftest.$ac_ext
60429 else
60430 gcc_cv_have_tls=yes
60432 rm -f core conftest.err conftest.$ac_objext \
60433 conftest$ac_exeext conftest.$ac_ext
60434 CFLAGS="$chktls_save_CFLAGS"
60435 LDFLAGS="$chktls_save_LDFLAGS"
60436 else
60437 gcc_cv_have_tls=no
60439 rm -f core conftest.err conftest.$ac_objext \
60440 conftest$ac_exeext conftest.$ac_ext
60443 else
60444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60445 /* end confdefs.h. */
60446 __thread int a; int b; int main() { return a = b; }
60447 _ACEOF
60448 if ac_fn_c_try_run "$LINENO"; then :
60449 chktls_save_LDFLAGS="$LDFLAGS"
60450 LDFLAGS="-static $LDFLAGS"
60451 if test x$gcc_no_link = xyes; then
60452 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60455 /* end confdefs.h. */
60456 int main() { return 0; }
60457 _ACEOF
60458 if ac_fn_c_try_link "$LINENO"; then :
60459 if test "$cross_compiling" = yes; then :
60460 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60461 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60462 as_fn_error $? "cannot run test program while cross compiling
60463 See \`config.log' for more details" "$LINENO" 5; }
60464 else
60465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60466 /* end confdefs.h. */
60467 __thread int a; int b; int main() { return a = b; }
60468 _ACEOF
60469 if ac_fn_c_try_run "$LINENO"; then :
60470 gcc_cv_have_tls=yes
60471 else
60472 gcc_cv_have_tls=no
60474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60475 conftest.$ac_objext conftest.beam conftest.$ac_ext
60478 else
60479 gcc_cv_have_tls=yes
60481 rm -f core conftest.err conftest.$ac_objext \
60482 conftest$ac_exeext conftest.$ac_ext
60483 LDFLAGS="$chktls_save_LDFLAGS"
60484 if test $gcc_cv_have_tls = yes; then
60485 chktls_save_CFLAGS="$CFLAGS"
60486 thread_CFLAGS=failed
60487 for flag in '' '-pthread' '-lpthread'; do
60488 CFLAGS="$flag $chktls_save_CFLAGS"
60489 if test x$gcc_no_link = xyes; then
60490 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60493 /* end confdefs.h. */
60494 #include <pthread.h>
60495 void *g(void *d) { return NULL; }
60497 main ()
60499 pthread_t t; pthread_create(&t,NULL,g,NULL);
60501 return 0;
60503 _ACEOF
60504 if ac_fn_c_try_link "$LINENO"; then :
60505 thread_CFLAGS="$flag"
60507 rm -f core conftest.err conftest.$ac_objext \
60508 conftest$ac_exeext conftest.$ac_ext
60509 if test "X$thread_CFLAGS" != Xfailed; then
60510 break
60512 done
60513 CFLAGS="$chktls_save_CFLAGS"
60514 if test "X$thread_CFLAGS" != Xfailed; then
60515 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60516 if test "$cross_compiling" = yes; then :
60517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60519 as_fn_error $? "cannot run test program while cross compiling
60520 See \`config.log' for more details" "$LINENO" 5; }
60521 else
60522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60523 /* end confdefs.h. */
60524 #include <pthread.h>
60525 __thread int a;
60526 static int *volatile a_in_other_thread;
60527 static void *
60528 thread_func (void *arg)
60530 a_in_other_thread = &a;
60531 return (void *)0;
60534 main ()
60536 pthread_t thread;
60537 void *thread_retval;
60538 int *volatile a_in_main_thread;
60539 a_in_main_thread = &a;
60540 if (pthread_create (&thread, (pthread_attr_t *)0,
60541 thread_func, (void *)0))
60542 return 0;
60543 if (pthread_join (thread, &thread_retval))
60544 return 0;
60545 return (a_in_other_thread == a_in_main_thread);
60547 return 0;
60549 _ACEOF
60550 if ac_fn_c_try_run "$LINENO"; then :
60551 gcc_cv_have_tls=yes
60552 else
60553 gcc_cv_have_tls=no
60555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60556 conftest.$ac_objext conftest.beam conftest.$ac_ext
60559 CFLAGS="$chktls_save_CFLAGS"
60562 else
60563 gcc_cv_have_tls=no
60565 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60566 conftest.$ac_objext conftest.beam conftest.$ac_ext
60570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60571 $as_echo "$gcc_cv_have_tls" >&6; }
60572 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60574 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60578 *-netbsd* | *-openbsd*)
60579 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60582 # If we're not using GNU ld, then there's no point in even trying these
60583 # tests. Check for that first. We should have already tested for gld
60584 # by now (in libtool), but require it now just to be safe...
60585 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60586 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60590 # The name set by libtool depends on the version of libtool. Shame on us
60591 # for depending on an impl detail, but c'est la vie. Older versions used
60592 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60593 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60594 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60595 # set (hence we're using an older libtool), then set it.
60596 if test x${with_gnu_ld+set} != xset; then
60597 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60598 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60599 with_gnu_ld=no
60600 else
60601 with_gnu_ld=$ac_cv_prog_gnu_ld
60605 # Start by getting the version number. I think the libtool test already
60606 # does some of this, but throws away the result.
60607 glibcxx_ld_is_gold=no
60608 glibcxx_ld_is_mold=no
60609 if test x"$with_gnu_ld" = x"yes"; then
60610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60611 $as_echo_n "checking for ld version... " >&6; }
60613 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60614 glibcxx_ld_is_gold=yes
60615 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60616 glibcxx_ld_is_mold=yes
60618 ldver=`$LD --version 2>/dev/null |
60619 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60621 glibcxx_gnu_ld_version=`echo $ldver | \
60622 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60624 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60627 # Set --gc-sections.
60628 glibcxx_have_gc_sections=no
60629 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60630 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60631 glibcxx_have_gc_sections=yes
60633 else
60634 glibcxx_gcsections_min_ld=21602
60635 if test x"$with_gnu_ld" = x"yes" &&
60636 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60637 glibcxx_have_gc_sections=yes
60640 if test "$glibcxx_have_gc_sections" = "yes"; then
60641 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60642 # NB: This flag only works reliably after 2.16.1. Configure tests
60643 # for this are difficult, so hard wire a value that should work.
60645 ac_test_CFLAGS="${CFLAGS+set}"
60646 ac_save_CFLAGS="$CFLAGS"
60647 CFLAGS='-Wl,--gc-sections'
60649 # Check for -Wl,--gc-sections
60650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60651 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60652 if test x$gcc_no_link = xyes; then
60653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60656 /* end confdefs.h. */
60657 int one(void) { return 1; }
60658 int two(void) { return 2; }
60661 main ()
60663 two();
60665 return 0;
60667 _ACEOF
60668 if ac_fn_c_try_link "$LINENO"; then :
60669 ac_gcsections=yes
60670 else
60671 ac_gcsections=no
60673 rm -f core conftest.err conftest.$ac_objext \
60674 conftest$ac_exeext conftest.$ac_ext
60675 if test "$ac_gcsections" = "yes"; then
60676 rm -f conftest.c
60677 touch conftest.c
60678 if $CC -c conftest.c; then
60679 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60680 grep "Warning: gc-sections option ignored" > /dev/null; then
60681 ac_gcsections=no
60684 rm -f conftest.c conftest.o conftest
60686 if test "$ac_gcsections" = "yes"; then
60687 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60690 $as_echo "$ac_gcsections" >&6; }
60692 if test "$ac_test_CFLAGS" = set; then
60693 CFLAGS="$ac_save_CFLAGS"
60694 else
60695 # this is the suspicious part
60696 CFLAGS=''
60700 # Set -z,relro.
60701 # Note this is only for shared objects.
60702 ac_ld_relro=no
60703 if test x"$with_gnu_ld" = x"yes"; then
60704 # cygwin and mingw uses PE, which has no ELF relro support,
60705 # multi target ld may confuse configure machinery
60706 case "$host" in
60707 *-*-cygwin*)
60709 *-*-mingw*)
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60713 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60714 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60715 if test -n "$cxx_z_relo"; then
60716 OPT_LDFLAGS="-Wl,-z,relro"
60717 ac_ld_relro=yes
60719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60720 $as_echo "$ac_ld_relro" >&6; }
60721 esac
60724 # Set linker optimization flags.
60725 if test x"$with_gnu_ld" = x"yes"; then
60726 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60732 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60734 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60736 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60738 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60740 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60742 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60744 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60746 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60748 if test x"long_double_math_on_this_cpu" = x"yes"; then
60749 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60751 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60753 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60756 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60757 do :
60758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60760 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60761 cat >>confdefs.h <<_ACEOF
60762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60763 _ACEOF
60766 done
60768 for ac_func in timespec_get
60769 do :
60770 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60771 if test "x$ac_cv_func_timespec_get" = xyes; then :
60772 cat >>confdefs.h <<_ACEOF
60773 #define HAVE_TIMESPEC_GET 1
60774 _ACEOF
60777 done
60779 for ac_func in sockatmark
60780 do :
60781 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60782 if test "x$ac_cv_func_sockatmark" = xyes; then :
60783 cat >>confdefs.h <<_ACEOF
60784 #define HAVE_SOCKATMARK 1
60785 _ACEOF
60788 done
60791 *-qnx6.1* | *-qnx6.2*)
60792 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60795 # If we're not using GNU ld, then there's no point in even trying these
60796 # tests. Check for that first. We should have already tested for gld
60797 # by now (in libtool), but require it now just to be safe...
60798 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60799 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60803 # The name set by libtool depends on the version of libtool. Shame on us
60804 # for depending on an impl detail, but c'est la vie. Older versions used
60805 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60806 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60807 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60808 # set (hence we're using an older libtool), then set it.
60809 if test x${with_gnu_ld+set} != xset; then
60810 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60811 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60812 with_gnu_ld=no
60813 else
60814 with_gnu_ld=$ac_cv_prog_gnu_ld
60818 # Start by getting the version number. I think the libtool test already
60819 # does some of this, but throws away the result.
60820 glibcxx_ld_is_gold=no
60821 glibcxx_ld_is_mold=no
60822 if test x"$with_gnu_ld" = x"yes"; then
60823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60824 $as_echo_n "checking for ld version... " >&6; }
60826 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60827 glibcxx_ld_is_gold=yes
60828 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60829 glibcxx_ld_is_mold=yes
60831 ldver=`$LD --version 2>/dev/null |
60832 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60834 glibcxx_gnu_ld_version=`echo $ldver | \
60835 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60837 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60840 # Set --gc-sections.
60841 glibcxx_have_gc_sections=no
60842 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60843 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60844 glibcxx_have_gc_sections=yes
60846 else
60847 glibcxx_gcsections_min_ld=21602
60848 if test x"$with_gnu_ld" = x"yes" &&
60849 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60850 glibcxx_have_gc_sections=yes
60853 if test "$glibcxx_have_gc_sections" = "yes"; then
60854 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60855 # NB: This flag only works reliably after 2.16.1. Configure tests
60856 # for this are difficult, so hard wire a value that should work.
60858 ac_test_CFLAGS="${CFLAGS+set}"
60859 ac_save_CFLAGS="$CFLAGS"
60860 CFLAGS='-Wl,--gc-sections'
60862 # Check for -Wl,--gc-sections
60863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60864 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60865 if test x$gcc_no_link = xyes; then
60866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60869 /* end confdefs.h. */
60870 int one(void) { return 1; }
60871 int two(void) { return 2; }
60874 main ()
60876 two();
60878 return 0;
60880 _ACEOF
60881 if ac_fn_c_try_link "$LINENO"; then :
60882 ac_gcsections=yes
60883 else
60884 ac_gcsections=no
60886 rm -f core conftest.err conftest.$ac_objext \
60887 conftest$ac_exeext conftest.$ac_ext
60888 if test "$ac_gcsections" = "yes"; then
60889 rm -f conftest.c
60890 touch conftest.c
60891 if $CC -c conftest.c; then
60892 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60893 grep "Warning: gc-sections option ignored" > /dev/null; then
60894 ac_gcsections=no
60897 rm -f conftest.c conftest.o conftest
60899 if test "$ac_gcsections" = "yes"; then
60900 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60903 $as_echo "$ac_gcsections" >&6; }
60905 if test "$ac_test_CFLAGS" = set; then
60906 CFLAGS="$ac_save_CFLAGS"
60907 else
60908 # this is the suspicious part
60909 CFLAGS=''
60913 # Set -z,relro.
60914 # Note this is only for shared objects.
60915 ac_ld_relro=no
60916 if test x"$with_gnu_ld" = x"yes"; then
60917 # cygwin and mingw uses PE, which has no ELF relro support,
60918 # multi target ld may confuse configure machinery
60919 case "$host" in
60920 *-*-cygwin*)
60922 *-*-mingw*)
60925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60926 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60927 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60928 if test -n "$cxx_z_relo"; then
60929 OPT_LDFLAGS="-Wl,-z,relro"
60930 ac_ld_relro=yes
60932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60933 $as_echo "$ac_ld_relro" >&6; }
60934 esac
60937 # Set linker optimization flags.
60938 if test x"$with_gnu_ld" = x"yes"; then
60939 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60945 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60947 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60949 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60951 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60953 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60955 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60957 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60959 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60961 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60963 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60965 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60967 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60970 *-tpf)
60971 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60972 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
60974 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60976 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60978 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60980 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60982 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60984 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60986 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60988 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60990 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
60992 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
60994 if test x"long_double_math_on_this_cpu" = x"yes"; then
60995 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60997 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
60999 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61001 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61005 *-*vms*)
61006 # Check for available headers.
61007 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61010 ac_save_CXXFLAGS="$CXXFLAGS"
61011 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61014 $as_echo_n "checking for sin in -lm... " >&6; }
61015 if ${ac_cv_lib_m_sin+:} false; then :
61016 $as_echo_n "(cached) " >&6
61017 else
61018 ac_check_lib_save_LIBS=$LIBS
61019 LIBS="-lm $LIBS"
61020 if test x$gcc_no_link = xyes; then
61021 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61024 /* end confdefs.h. */
61026 /* Override any GCC internal prototype to avoid an error.
61027 Use char because int might match the return type of a GCC
61028 builtin and then its argument prototype would still apply. */
61029 #ifdef __cplusplus
61030 extern "C"
61031 #endif
61032 char sin ();
61034 main ()
61036 return sin ();
61038 return 0;
61040 _ACEOF
61041 if ac_fn_c_try_link "$LINENO"; then :
61042 ac_cv_lib_m_sin=yes
61043 else
61044 ac_cv_lib_m_sin=no
61046 rm -f core conftest.err conftest.$ac_objext \
61047 conftest$ac_exeext conftest.$ac_ext
61048 LIBS=$ac_check_lib_save_LIBS
61050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61051 $as_echo "$ac_cv_lib_m_sin" >&6; }
61052 if test "x$ac_cv_lib_m_sin" = xyes; then :
61053 libm="-lm"
61056 ac_save_LIBS="$LIBS"
61057 LIBS="$LIBS $libm"
61061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61062 $as_echo_n "checking for isinf declaration... " >&6; }
61063 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61064 if ${glibcxx_cv_func_isinf_use+:} false; then :
61065 $as_echo_n "(cached) " >&6
61066 else
61069 ac_ext=cpp
61070 ac_cpp='$CXXCPP $CPPFLAGS'
61071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61076 /* end confdefs.h. */
61077 #include <math.h>
61078 #ifdef HAVE_IEEEFP_H
61079 #include <ieeefp.h>
61080 #endif
61083 main ()
61085 isinf(0);
61087 return 0;
61089 _ACEOF
61090 if ac_fn_cxx_try_compile "$LINENO"; then :
61091 glibcxx_cv_func_isinf_use=yes
61092 else
61093 glibcxx_cv_func_isinf_use=no
61095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61096 ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61107 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61109 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61110 for ac_func in isinf
61111 do :
61112 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61113 if test "x$ac_cv_func_isinf" = xyes; then :
61114 cat >>confdefs.h <<_ACEOF
61115 #define HAVE_ISINF 1
61116 _ACEOF
61119 done
61121 else
61123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61124 $as_echo_n "checking for _isinf declaration... " >&6; }
61125 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61126 if ${glibcxx_cv_func__isinf_use+:} false; then :
61127 $as_echo_n "(cached) " >&6
61128 else
61131 ac_ext=cpp
61132 ac_cpp='$CXXCPP $CPPFLAGS'
61133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61138 /* end confdefs.h. */
61139 #include <math.h>
61140 #ifdef HAVE_IEEEFP_H
61141 #include <ieeefp.h>
61142 #endif
61145 main ()
61147 _isinf(0);
61149 return 0;
61151 _ACEOF
61152 if ac_fn_cxx_try_compile "$LINENO"; then :
61153 glibcxx_cv_func__isinf_use=yes
61154 else
61155 glibcxx_cv_func__isinf_use=no
61157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61158 ac_ext=c
61159 ac_cpp='$CPP $CPPFLAGS'
61160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61169 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61171 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61172 for ac_func in _isinf
61173 do :
61174 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61175 if test "x$ac_cv_func__isinf" = xyes; then :
61176 cat >>confdefs.h <<_ACEOF
61177 #define HAVE__ISINF 1
61178 _ACEOF
61181 done
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61191 $as_echo_n "checking for isnan declaration... " >&6; }
61192 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61193 if ${glibcxx_cv_func_isnan_use+:} false; then :
61194 $as_echo_n "(cached) " >&6
61195 else
61198 ac_ext=cpp
61199 ac_cpp='$CXXCPP $CPPFLAGS'
61200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61205 /* end confdefs.h. */
61206 #include <math.h>
61207 #ifdef HAVE_IEEEFP_H
61208 #include <ieeefp.h>
61209 #endif
61212 main ()
61214 isnan(0);
61216 return 0;
61218 _ACEOF
61219 if ac_fn_cxx_try_compile "$LINENO"; then :
61220 glibcxx_cv_func_isnan_use=yes
61221 else
61222 glibcxx_cv_func_isnan_use=no
61224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61225 ac_ext=c
61226 ac_cpp='$CPP $CPPFLAGS'
61227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61238 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61239 for ac_func in isnan
61240 do :
61241 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61242 if test "x$ac_cv_func_isnan" = xyes; then :
61243 cat >>confdefs.h <<_ACEOF
61244 #define HAVE_ISNAN 1
61245 _ACEOF
61248 done
61250 else
61252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61253 $as_echo_n "checking for _isnan declaration... " >&6; }
61254 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61255 if ${glibcxx_cv_func__isnan_use+:} false; then :
61256 $as_echo_n "(cached) " >&6
61257 else
61260 ac_ext=cpp
61261 ac_cpp='$CXXCPP $CPPFLAGS'
61262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61267 /* end confdefs.h. */
61268 #include <math.h>
61269 #ifdef HAVE_IEEEFP_H
61270 #include <ieeefp.h>
61271 #endif
61274 main ()
61276 _isnan(0);
61278 return 0;
61280 _ACEOF
61281 if ac_fn_cxx_try_compile "$LINENO"; then :
61282 glibcxx_cv_func__isnan_use=yes
61283 else
61284 glibcxx_cv_func__isnan_use=no
61286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61287 ac_ext=c
61288 ac_cpp='$CPP $CPPFLAGS'
61289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61298 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61300 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61301 for ac_func in _isnan
61302 do :
61303 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61304 if test "x$ac_cv_func__isnan" = xyes; then :
61305 cat >>confdefs.h <<_ACEOF
61306 #define HAVE__ISNAN 1
61307 _ACEOF
61310 done
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61320 $as_echo_n "checking for finite declaration... " >&6; }
61321 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61322 if ${glibcxx_cv_func_finite_use+:} false; then :
61323 $as_echo_n "(cached) " >&6
61324 else
61327 ac_ext=cpp
61328 ac_cpp='$CXXCPP $CPPFLAGS'
61329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61334 /* end confdefs.h. */
61335 #include <math.h>
61336 #ifdef HAVE_IEEEFP_H
61337 #include <ieeefp.h>
61338 #endif
61341 main ()
61343 finite(0);
61345 return 0;
61347 _ACEOF
61348 if ac_fn_cxx_try_compile "$LINENO"; then :
61349 glibcxx_cv_func_finite_use=yes
61350 else
61351 glibcxx_cv_func_finite_use=no
61353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61354 ac_ext=c
61355 ac_cpp='$CPP $CPPFLAGS'
61356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61365 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61367 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61368 for ac_func in finite
61369 do :
61370 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61371 if test "x$ac_cv_func_finite" = xyes; then :
61372 cat >>confdefs.h <<_ACEOF
61373 #define HAVE_FINITE 1
61374 _ACEOF
61377 done
61379 else
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61382 $as_echo_n "checking for _finite declaration... " >&6; }
61383 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61384 if ${glibcxx_cv_func__finite_use+:} false; then :
61385 $as_echo_n "(cached) " >&6
61386 else
61389 ac_ext=cpp
61390 ac_cpp='$CXXCPP $CPPFLAGS'
61391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61396 /* end confdefs.h. */
61397 #include <math.h>
61398 #ifdef HAVE_IEEEFP_H
61399 #include <ieeefp.h>
61400 #endif
61403 main ()
61405 _finite(0);
61407 return 0;
61409 _ACEOF
61410 if ac_fn_cxx_try_compile "$LINENO"; then :
61411 glibcxx_cv_func__finite_use=yes
61412 else
61413 glibcxx_cv_func__finite_use=no
61415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61416 ac_ext=c
61417 ac_cpp='$CPP $CPPFLAGS'
61418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61427 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61429 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61430 for ac_func in _finite
61431 do :
61432 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61433 if test "x$ac_cv_func__finite" = xyes; then :
61434 cat >>confdefs.h <<_ACEOF
61435 #define HAVE__FINITE 1
61436 _ACEOF
61439 done
61448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61449 $as_echo_n "checking for sincos declaration... " >&6; }
61450 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61451 if ${glibcxx_cv_func_sincos_use+:} false; then :
61452 $as_echo_n "(cached) " >&6
61453 else
61456 ac_ext=cpp
61457 ac_cpp='$CXXCPP $CPPFLAGS'
61458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61463 /* end confdefs.h. */
61464 #include <math.h>
61466 main ()
61468 sincos(0, 0, 0);
61470 return 0;
61472 _ACEOF
61473 if ac_fn_cxx_try_compile "$LINENO"; then :
61474 glibcxx_cv_func_sincos_use=yes
61475 else
61476 glibcxx_cv_func_sincos_use=no
61478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61479 ac_ext=c
61480 ac_cpp='$CPP $CPPFLAGS'
61481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61490 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61492 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61493 for ac_func in sincos
61494 do :
61495 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61496 if test "x$ac_cv_func_sincos" = xyes; then :
61497 cat >>confdefs.h <<_ACEOF
61498 #define HAVE_SINCOS 1
61499 _ACEOF
61502 done
61504 else
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61507 $as_echo_n "checking for _sincos declaration... " >&6; }
61508 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61509 if ${glibcxx_cv_func__sincos_use+:} false; then :
61510 $as_echo_n "(cached) " >&6
61511 else
61514 ac_ext=cpp
61515 ac_cpp='$CXXCPP $CPPFLAGS'
61516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61521 /* end confdefs.h. */
61522 #include <math.h>
61524 main ()
61526 _sincos(0, 0, 0);
61528 return 0;
61530 _ACEOF
61531 if ac_fn_cxx_try_compile "$LINENO"; then :
61532 glibcxx_cv_func__sincos_use=yes
61533 else
61534 glibcxx_cv_func__sincos_use=no
61536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61537 ac_ext=c
61538 ac_cpp='$CPP $CPPFLAGS'
61539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61548 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61550 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61551 for ac_func in _sincos
61552 do :
61553 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61554 if test "x$ac_cv_func__sincos" = xyes; then :
61555 cat >>confdefs.h <<_ACEOF
61556 #define HAVE__SINCOS 1
61557 _ACEOF
61560 done
61569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61570 $as_echo_n "checking for fpclass declaration... " >&6; }
61571 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61572 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61573 $as_echo_n "(cached) " >&6
61574 else
61577 ac_ext=cpp
61578 ac_cpp='$CXXCPP $CPPFLAGS'
61579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61584 /* end confdefs.h. */
61585 #include <math.h>
61586 #ifdef HAVE_IEEEFP_H
61587 #include <ieeefp.h>
61588 #endif
61591 main ()
61593 fpclass(0);
61595 return 0;
61597 _ACEOF
61598 if ac_fn_cxx_try_compile "$LINENO"; then :
61599 glibcxx_cv_func_fpclass_use=yes
61600 else
61601 glibcxx_cv_func_fpclass_use=no
61603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61604 ac_ext=c
61605 ac_cpp='$CPP $CPPFLAGS'
61606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61615 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61617 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61618 for ac_func in fpclass
61619 do :
61620 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61621 if test "x$ac_cv_func_fpclass" = xyes; then :
61622 cat >>confdefs.h <<_ACEOF
61623 #define HAVE_FPCLASS 1
61624 _ACEOF
61627 done
61629 else
61631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61632 $as_echo_n "checking for _fpclass declaration... " >&6; }
61633 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61634 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61635 $as_echo_n "(cached) " >&6
61636 else
61639 ac_ext=cpp
61640 ac_cpp='$CXXCPP $CPPFLAGS'
61641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61646 /* end confdefs.h. */
61647 #include <math.h>
61648 #ifdef HAVE_IEEEFP_H
61649 #include <ieeefp.h>
61650 #endif
61653 main ()
61655 _fpclass(0);
61657 return 0;
61659 _ACEOF
61660 if ac_fn_cxx_try_compile "$LINENO"; then :
61661 glibcxx_cv_func__fpclass_use=yes
61662 else
61663 glibcxx_cv_func__fpclass_use=no
61665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61666 ac_ext=c
61667 ac_cpp='$CPP $CPPFLAGS'
61668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61677 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61679 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61680 for ac_func in _fpclass
61681 do :
61682 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61683 if test "x$ac_cv_func__fpclass" = xyes; then :
61684 cat >>confdefs.h <<_ACEOF
61685 #define HAVE__FPCLASS 1
61686 _ACEOF
61689 done
61698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61699 $as_echo_n "checking for qfpclass declaration... " >&6; }
61700 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61701 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61702 $as_echo_n "(cached) " >&6
61703 else
61706 ac_ext=cpp
61707 ac_cpp='$CXXCPP $CPPFLAGS'
61708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61713 /* end confdefs.h. */
61714 #include <math.h>
61715 #ifdef HAVE_IEEEFP_H
61716 #include <ieeefp.h>
61717 #endif
61720 main ()
61722 qfpclass(0);
61724 return 0;
61726 _ACEOF
61727 if ac_fn_cxx_try_compile "$LINENO"; then :
61728 glibcxx_cv_func_qfpclass_use=yes
61729 else
61730 glibcxx_cv_func_qfpclass_use=no
61732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61733 ac_ext=c
61734 ac_cpp='$CPP $CPPFLAGS'
61735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61744 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61746 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61747 for ac_func in qfpclass
61748 do :
61749 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61750 if test "x$ac_cv_func_qfpclass" = xyes; then :
61751 cat >>confdefs.h <<_ACEOF
61752 #define HAVE_QFPCLASS 1
61753 _ACEOF
61756 done
61758 else
61760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61761 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61762 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61763 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61764 $as_echo_n "(cached) " >&6
61765 else
61768 ac_ext=cpp
61769 ac_cpp='$CXXCPP $CPPFLAGS'
61770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61775 /* end confdefs.h. */
61776 #include <math.h>
61777 #ifdef HAVE_IEEEFP_H
61778 #include <ieeefp.h>
61779 #endif
61782 main ()
61784 _qfpclass(0);
61786 return 0;
61788 _ACEOF
61789 if ac_fn_cxx_try_compile "$LINENO"; then :
61790 glibcxx_cv_func__qfpclass_use=yes
61791 else
61792 glibcxx_cv_func__qfpclass_use=no
61794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61795 ac_ext=c
61796 ac_cpp='$CPP $CPPFLAGS'
61797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61806 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61808 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61809 for ac_func in _qfpclass
61810 do :
61811 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61812 if test "x$ac_cv_func__qfpclass" = xyes; then :
61813 cat >>confdefs.h <<_ACEOF
61814 #define HAVE__QFPCLASS 1
61815 _ACEOF
61818 done
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61828 $as_echo_n "checking for hypot declaration... " >&6; }
61829 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61830 if ${glibcxx_cv_func_hypot_use+:} false; then :
61831 $as_echo_n "(cached) " >&6
61832 else
61835 ac_ext=cpp
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h. */
61843 #include <math.h>
61845 main ()
61847 hypot(0, 0);
61849 return 0;
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853 glibcxx_cv_func_hypot_use=yes
61854 else
61855 glibcxx_cv_func_hypot_use=no
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858 ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61869 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61871 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61872 for ac_func in hypot
61873 do :
61874 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61875 if test "x$ac_cv_func_hypot" = xyes; then :
61876 cat >>confdefs.h <<_ACEOF
61877 #define HAVE_HYPOT 1
61878 _ACEOF
61881 done
61883 else
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61886 $as_echo_n "checking for _hypot declaration... " >&6; }
61887 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61888 if ${glibcxx_cv_func__hypot_use+:} false; then :
61889 $as_echo_n "(cached) " >&6
61890 else
61893 ac_ext=cpp
61894 ac_cpp='$CXXCPP $CPPFLAGS'
61895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61900 /* end confdefs.h. */
61901 #include <math.h>
61903 main ()
61905 _hypot(0, 0);
61907 return 0;
61909 _ACEOF
61910 if ac_fn_cxx_try_compile "$LINENO"; then :
61911 glibcxx_cv_func__hypot_use=yes
61912 else
61913 glibcxx_cv_func__hypot_use=no
61915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61916 ac_ext=c
61917 ac_cpp='$CPP $CPPFLAGS'
61918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61927 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61929 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61930 for ac_func in _hypot
61931 do :
61932 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61933 if test "x$ac_cv_func__hypot" = xyes; then :
61934 cat >>confdefs.h <<_ACEOF
61935 #define HAVE__HYPOT 1
61936 _ACEOF
61939 done
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61949 $as_echo_n "checking for float trig functions... " >&6; }
61950 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61951 $as_echo_n "(cached) " >&6
61952 else
61955 ac_ext=cpp
61956 ac_cpp='$CXXCPP $CPPFLAGS'
61957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61962 /* end confdefs.h. */
61963 #include <math.h>
61965 main ()
61967 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61969 return 0;
61971 _ACEOF
61972 if ac_fn_cxx_try_compile "$LINENO"; then :
61973 glibcxx_cv_func_float_trig_use=yes
61974 else
61975 glibcxx_cv_func_float_trig_use=no
61977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61978 ac_ext=c
61979 ac_cpp='$CPP $CPPFLAGS'
61980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61987 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61988 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61989 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61990 do :
61991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61994 cat >>confdefs.h <<_ACEOF
61995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61996 _ACEOF
61999 done
62001 else
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62003 $as_echo_n "checking for _float trig functions... " >&6; }
62004 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62005 $as_echo_n "(cached) " >&6
62006 else
62009 ac_ext=cpp
62010 ac_cpp='$CXXCPP $CPPFLAGS'
62011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62016 /* end confdefs.h. */
62017 #include <math.h>
62019 main ()
62021 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62023 return 0;
62025 _ACEOF
62026 if ac_fn_cxx_try_compile "$LINENO"; then :
62027 glibcxx_cv_func__float_trig_use=yes
62028 else
62029 glibcxx_cv_func__float_trig_use=no
62031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62032 ac_ext=c
62033 ac_cpp='$CPP $CPPFLAGS'
62034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62041 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62042 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62043 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62044 do :
62045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62048 cat >>confdefs.h <<_ACEOF
62049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62050 _ACEOF
62053 done
62062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62063 $as_echo_n "checking for float round functions... " >&6; }
62064 if ${glibcxx_cv_func_float_round_use+:} false; then :
62065 $as_echo_n "(cached) " >&6
62066 else
62069 ac_ext=cpp
62070 ac_cpp='$CXXCPP $CPPFLAGS'
62071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62076 /* end confdefs.h. */
62077 #include <math.h>
62079 main ()
62081 ceilf (0); floorf (0);
62083 return 0;
62085 _ACEOF
62086 if ac_fn_cxx_try_compile "$LINENO"; then :
62087 glibcxx_cv_func_float_round_use=yes
62088 else
62089 glibcxx_cv_func_float_round_use=no
62091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62092 ac_ext=c
62093 ac_cpp='$CPP $CPPFLAGS'
62094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62101 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62102 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62103 for ac_func in ceilf floorf
62104 do :
62105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62108 cat >>confdefs.h <<_ACEOF
62109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62110 _ACEOF
62113 done
62115 else
62116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62117 $as_echo_n "checking for _float round functions... " >&6; }
62118 if ${glibcxx_cv_func__float_round_use+:} false; then :
62119 $as_echo_n "(cached) " >&6
62120 else
62123 ac_ext=cpp
62124 ac_cpp='$CXXCPP $CPPFLAGS'
62125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62130 /* end confdefs.h. */
62131 #include <math.h>
62133 main ()
62135 _ceilf (0); _floorf (0);
62137 return 0;
62139 _ACEOF
62140 if ac_fn_cxx_try_compile "$LINENO"; then :
62141 glibcxx_cv_func__float_round_use=yes
62142 else
62143 glibcxx_cv_func__float_round_use=no
62145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62146 ac_ext=c
62147 ac_cpp='$CPP $CPPFLAGS'
62148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62155 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62156 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62157 for ac_func in _ceilf _floorf
62158 do :
62159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62162 cat >>confdefs.h <<_ACEOF
62163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62164 _ACEOF
62167 done
62177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62178 $as_echo_n "checking for expf declaration... " >&6; }
62179 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62180 if ${glibcxx_cv_func_expf_use+:} false; then :
62181 $as_echo_n "(cached) " >&6
62182 else
62185 ac_ext=cpp
62186 ac_cpp='$CXXCPP $CPPFLAGS'
62187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62192 /* end confdefs.h. */
62193 #include <math.h>
62194 #ifdef HAVE_IEEEFP_H
62195 #include <ieeefp.h>
62196 #endif
62199 main ()
62201 expf(0);
62203 return 0;
62205 _ACEOF
62206 if ac_fn_cxx_try_compile "$LINENO"; then :
62207 glibcxx_cv_func_expf_use=yes
62208 else
62209 glibcxx_cv_func_expf_use=no
62211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62212 ac_ext=c
62213 ac_cpp='$CPP $CPPFLAGS'
62214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62223 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62225 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62226 for ac_func in expf
62227 do :
62228 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62229 if test "x$ac_cv_func_expf" = xyes; then :
62230 cat >>confdefs.h <<_ACEOF
62231 #define HAVE_EXPF 1
62232 _ACEOF
62235 done
62237 else
62239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62240 $as_echo_n "checking for _expf declaration... " >&6; }
62241 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62242 if ${glibcxx_cv_func__expf_use+:} false; then :
62243 $as_echo_n "(cached) " >&6
62244 else
62247 ac_ext=cpp
62248 ac_cpp='$CXXCPP $CPPFLAGS'
62249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62254 /* end confdefs.h. */
62255 #include <math.h>
62256 #ifdef HAVE_IEEEFP_H
62257 #include <ieeefp.h>
62258 #endif
62261 main ()
62263 _expf(0);
62265 return 0;
62267 _ACEOF
62268 if ac_fn_cxx_try_compile "$LINENO"; then :
62269 glibcxx_cv_func__expf_use=yes
62270 else
62271 glibcxx_cv_func__expf_use=no
62273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62274 ac_ext=c
62275 ac_cpp='$CPP $CPPFLAGS'
62276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62285 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62287 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62288 for ac_func in _expf
62289 do :
62290 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62291 if test "x$ac_cv_func__expf" = xyes; then :
62292 cat >>confdefs.h <<_ACEOF
62293 #define HAVE__EXPF 1
62294 _ACEOF
62297 done
62306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62307 $as_echo_n "checking for isnanf declaration... " >&6; }
62308 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62309 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62310 $as_echo_n "(cached) " >&6
62311 else
62314 ac_ext=cpp
62315 ac_cpp='$CXXCPP $CPPFLAGS'
62316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62321 /* end confdefs.h. */
62322 #include <math.h>
62323 #ifdef HAVE_IEEEFP_H
62324 #include <ieeefp.h>
62325 #endif
62328 main ()
62330 isnanf(0);
62332 return 0;
62334 _ACEOF
62335 if ac_fn_cxx_try_compile "$LINENO"; then :
62336 glibcxx_cv_func_isnanf_use=yes
62337 else
62338 glibcxx_cv_func_isnanf_use=no
62340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62341 ac_ext=c
62342 ac_cpp='$CPP $CPPFLAGS'
62343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62352 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62354 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62355 for ac_func in isnanf
62356 do :
62357 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62358 if test "x$ac_cv_func_isnanf" = xyes; then :
62359 cat >>confdefs.h <<_ACEOF
62360 #define HAVE_ISNANF 1
62361 _ACEOF
62364 done
62366 else
62368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62369 $as_echo_n "checking for _isnanf declaration... " >&6; }
62370 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62371 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62372 $as_echo_n "(cached) " >&6
62373 else
62376 ac_ext=cpp
62377 ac_cpp='$CXXCPP $CPPFLAGS'
62378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62383 /* end confdefs.h. */
62384 #include <math.h>
62385 #ifdef HAVE_IEEEFP_H
62386 #include <ieeefp.h>
62387 #endif
62390 main ()
62392 _isnanf(0);
62394 return 0;
62396 _ACEOF
62397 if ac_fn_cxx_try_compile "$LINENO"; then :
62398 glibcxx_cv_func__isnanf_use=yes
62399 else
62400 glibcxx_cv_func__isnanf_use=no
62402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62403 ac_ext=c
62404 ac_cpp='$CPP $CPPFLAGS'
62405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62414 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62416 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62417 for ac_func in _isnanf
62418 do :
62419 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62420 if test "x$ac_cv_func__isnanf" = xyes; then :
62421 cat >>confdefs.h <<_ACEOF
62422 #define HAVE__ISNANF 1
62423 _ACEOF
62426 done
62435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62436 $as_echo_n "checking for isinff declaration... " >&6; }
62437 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62438 if ${glibcxx_cv_func_isinff_use+:} false; then :
62439 $as_echo_n "(cached) " >&6
62440 else
62443 ac_ext=cpp
62444 ac_cpp='$CXXCPP $CPPFLAGS'
62445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62450 /* end confdefs.h. */
62451 #include <math.h>
62452 #ifdef HAVE_IEEEFP_H
62453 #include <ieeefp.h>
62454 #endif
62457 main ()
62459 isinff(0);
62461 return 0;
62463 _ACEOF
62464 if ac_fn_cxx_try_compile "$LINENO"; then :
62465 glibcxx_cv_func_isinff_use=yes
62466 else
62467 glibcxx_cv_func_isinff_use=no
62469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62470 ac_ext=c
62471 ac_cpp='$CPP $CPPFLAGS'
62472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62481 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62483 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62484 for ac_func in isinff
62485 do :
62486 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62487 if test "x$ac_cv_func_isinff" = xyes; then :
62488 cat >>confdefs.h <<_ACEOF
62489 #define HAVE_ISINFF 1
62490 _ACEOF
62493 done
62495 else
62497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62498 $as_echo_n "checking for _isinff declaration... " >&6; }
62499 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62500 if ${glibcxx_cv_func__isinff_use+:} false; then :
62501 $as_echo_n "(cached) " >&6
62502 else
62505 ac_ext=cpp
62506 ac_cpp='$CXXCPP $CPPFLAGS'
62507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62512 /* end confdefs.h. */
62513 #include <math.h>
62514 #ifdef HAVE_IEEEFP_H
62515 #include <ieeefp.h>
62516 #endif
62519 main ()
62521 _isinff(0);
62523 return 0;
62525 _ACEOF
62526 if ac_fn_cxx_try_compile "$LINENO"; then :
62527 glibcxx_cv_func__isinff_use=yes
62528 else
62529 glibcxx_cv_func__isinff_use=no
62531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62532 ac_ext=c
62533 ac_cpp='$CPP $CPPFLAGS'
62534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62543 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62545 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62546 for ac_func in _isinff
62547 do :
62548 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62549 if test "x$ac_cv_func__isinff" = xyes; then :
62550 cat >>confdefs.h <<_ACEOF
62551 #define HAVE__ISINFF 1
62552 _ACEOF
62555 done
62564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62565 $as_echo_n "checking for atan2f declaration... " >&6; }
62566 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62567 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62568 $as_echo_n "(cached) " >&6
62569 else
62572 ac_ext=cpp
62573 ac_cpp='$CXXCPP $CPPFLAGS'
62574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62579 /* end confdefs.h. */
62580 #include <math.h>
62582 main ()
62584 atan2f(0, 0);
62586 return 0;
62588 _ACEOF
62589 if ac_fn_cxx_try_compile "$LINENO"; then :
62590 glibcxx_cv_func_atan2f_use=yes
62591 else
62592 glibcxx_cv_func_atan2f_use=no
62594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62595 ac_ext=c
62596 ac_cpp='$CPP $CPPFLAGS'
62597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62606 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62608 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62609 for ac_func in atan2f
62610 do :
62611 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62612 if test "x$ac_cv_func_atan2f" = xyes; then :
62613 cat >>confdefs.h <<_ACEOF
62614 #define HAVE_ATAN2F 1
62615 _ACEOF
62618 done
62620 else
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62623 $as_echo_n "checking for _atan2f declaration... " >&6; }
62624 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62625 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62626 $as_echo_n "(cached) " >&6
62627 else
62630 ac_ext=cpp
62631 ac_cpp='$CXXCPP $CPPFLAGS'
62632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62637 /* end confdefs.h. */
62638 #include <math.h>
62640 main ()
62642 _atan2f(0, 0);
62644 return 0;
62646 _ACEOF
62647 if ac_fn_cxx_try_compile "$LINENO"; then :
62648 glibcxx_cv_func__atan2f_use=yes
62649 else
62650 glibcxx_cv_func__atan2f_use=no
62652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62653 ac_ext=c
62654 ac_cpp='$CPP $CPPFLAGS'
62655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62664 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62666 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62667 for ac_func in _atan2f
62668 do :
62669 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62670 if test "x$ac_cv_func__atan2f" = xyes; then :
62671 cat >>confdefs.h <<_ACEOF
62672 #define HAVE__ATAN2F 1
62673 _ACEOF
62676 done
62685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62686 $as_echo_n "checking for fabsf declaration... " >&6; }
62687 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62688 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62689 $as_echo_n "(cached) " >&6
62690 else
62693 ac_ext=cpp
62694 ac_cpp='$CXXCPP $CPPFLAGS'
62695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62700 /* end confdefs.h. */
62701 #include <math.h>
62702 #ifdef HAVE_IEEEFP_H
62703 #include <ieeefp.h>
62704 #endif
62707 main ()
62709 fabsf(0);
62711 return 0;
62713 _ACEOF
62714 if ac_fn_cxx_try_compile "$LINENO"; then :
62715 glibcxx_cv_func_fabsf_use=yes
62716 else
62717 glibcxx_cv_func_fabsf_use=no
62719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62720 ac_ext=c
62721 ac_cpp='$CPP $CPPFLAGS'
62722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62731 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62733 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62734 for ac_func in fabsf
62735 do :
62736 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62737 if test "x$ac_cv_func_fabsf" = xyes; then :
62738 cat >>confdefs.h <<_ACEOF
62739 #define HAVE_FABSF 1
62740 _ACEOF
62743 done
62745 else
62747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62748 $as_echo_n "checking for _fabsf declaration... " >&6; }
62749 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62750 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62751 $as_echo_n "(cached) " >&6
62752 else
62755 ac_ext=cpp
62756 ac_cpp='$CXXCPP $CPPFLAGS'
62757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62762 /* end confdefs.h. */
62763 #include <math.h>
62764 #ifdef HAVE_IEEEFP_H
62765 #include <ieeefp.h>
62766 #endif
62769 main ()
62771 _fabsf(0);
62773 return 0;
62775 _ACEOF
62776 if ac_fn_cxx_try_compile "$LINENO"; then :
62777 glibcxx_cv_func__fabsf_use=yes
62778 else
62779 glibcxx_cv_func__fabsf_use=no
62781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62782 ac_ext=c
62783 ac_cpp='$CPP $CPPFLAGS'
62784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62793 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62795 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62796 for ac_func in _fabsf
62797 do :
62798 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62799 if test "x$ac_cv_func__fabsf" = xyes; then :
62800 cat >>confdefs.h <<_ACEOF
62801 #define HAVE__FABSF 1
62802 _ACEOF
62805 done
62814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62815 $as_echo_n "checking for fmodf declaration... " >&6; }
62816 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62817 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62818 $as_echo_n "(cached) " >&6
62819 else
62822 ac_ext=cpp
62823 ac_cpp='$CXXCPP $CPPFLAGS'
62824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62829 /* end confdefs.h. */
62830 #include <math.h>
62832 main ()
62834 fmodf(0, 0);
62836 return 0;
62838 _ACEOF
62839 if ac_fn_cxx_try_compile "$LINENO"; then :
62840 glibcxx_cv_func_fmodf_use=yes
62841 else
62842 glibcxx_cv_func_fmodf_use=no
62844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62845 ac_ext=c
62846 ac_cpp='$CPP $CPPFLAGS'
62847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62856 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62858 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62859 for ac_func in fmodf
62860 do :
62861 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62862 if test "x$ac_cv_func_fmodf" = xyes; then :
62863 cat >>confdefs.h <<_ACEOF
62864 #define HAVE_FMODF 1
62865 _ACEOF
62868 done
62870 else
62872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62873 $as_echo_n "checking for _fmodf declaration... " >&6; }
62874 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62875 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62876 $as_echo_n "(cached) " >&6
62877 else
62880 ac_ext=cpp
62881 ac_cpp='$CXXCPP $CPPFLAGS'
62882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62887 /* end confdefs.h. */
62888 #include <math.h>
62890 main ()
62892 _fmodf(0, 0);
62894 return 0;
62896 _ACEOF
62897 if ac_fn_cxx_try_compile "$LINENO"; then :
62898 glibcxx_cv_func__fmodf_use=yes
62899 else
62900 glibcxx_cv_func__fmodf_use=no
62902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62903 ac_ext=c
62904 ac_cpp='$CPP $CPPFLAGS'
62905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62914 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62916 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62917 for ac_func in _fmodf
62918 do :
62919 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62920 if test "x$ac_cv_func__fmodf" = xyes; then :
62921 cat >>confdefs.h <<_ACEOF
62922 #define HAVE__FMODF 1
62923 _ACEOF
62926 done
62935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62936 $as_echo_n "checking for frexpf declaration... " >&6; }
62937 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62938 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62939 $as_echo_n "(cached) " >&6
62940 else
62943 ac_ext=cpp
62944 ac_cpp='$CXXCPP $CPPFLAGS'
62945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62950 /* end confdefs.h. */
62951 #include <math.h>
62953 main ()
62955 frexpf(0, 0);
62957 return 0;
62959 _ACEOF
62960 if ac_fn_cxx_try_compile "$LINENO"; then :
62961 glibcxx_cv_func_frexpf_use=yes
62962 else
62963 glibcxx_cv_func_frexpf_use=no
62965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62966 ac_ext=c
62967 ac_cpp='$CPP $CPPFLAGS'
62968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62977 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62979 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62980 for ac_func in frexpf
62981 do :
62982 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62983 if test "x$ac_cv_func_frexpf" = xyes; then :
62984 cat >>confdefs.h <<_ACEOF
62985 #define HAVE_FREXPF 1
62986 _ACEOF
62989 done
62991 else
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62994 $as_echo_n "checking for _frexpf declaration... " >&6; }
62995 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62996 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62997 $as_echo_n "(cached) " >&6
62998 else
63001 ac_ext=cpp
63002 ac_cpp='$CXXCPP $CPPFLAGS'
63003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63008 /* end confdefs.h. */
63009 #include <math.h>
63011 main ()
63013 _frexpf(0, 0);
63015 return 0;
63017 _ACEOF
63018 if ac_fn_cxx_try_compile "$LINENO"; then :
63019 glibcxx_cv_func__frexpf_use=yes
63020 else
63021 glibcxx_cv_func__frexpf_use=no
63023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63024 ac_ext=c
63025 ac_cpp='$CPP $CPPFLAGS'
63026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63035 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63037 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63038 for ac_func in _frexpf
63039 do :
63040 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63041 if test "x$ac_cv_func__frexpf" = xyes; then :
63042 cat >>confdefs.h <<_ACEOF
63043 #define HAVE__FREXPF 1
63044 _ACEOF
63047 done
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63057 $as_echo_n "checking for hypotf declaration... " >&6; }
63058 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63059 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63060 $as_echo_n "(cached) " >&6
63061 else
63064 ac_ext=cpp
63065 ac_cpp='$CXXCPP $CPPFLAGS'
63066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63071 /* end confdefs.h. */
63072 #include <math.h>
63074 main ()
63076 hypotf(0, 0);
63078 return 0;
63080 _ACEOF
63081 if ac_fn_cxx_try_compile "$LINENO"; then :
63082 glibcxx_cv_func_hypotf_use=yes
63083 else
63084 glibcxx_cv_func_hypotf_use=no
63086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63087 ac_ext=c
63088 ac_cpp='$CPP $CPPFLAGS'
63089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63098 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63100 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63101 for ac_func in hypotf
63102 do :
63103 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63104 if test "x$ac_cv_func_hypotf" = xyes; then :
63105 cat >>confdefs.h <<_ACEOF
63106 #define HAVE_HYPOTF 1
63107 _ACEOF
63110 done
63112 else
63114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63115 $as_echo_n "checking for _hypotf declaration... " >&6; }
63116 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63117 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63118 $as_echo_n "(cached) " >&6
63119 else
63122 ac_ext=cpp
63123 ac_cpp='$CXXCPP $CPPFLAGS'
63124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63129 /* end confdefs.h. */
63130 #include <math.h>
63132 main ()
63134 _hypotf(0, 0);
63136 return 0;
63138 _ACEOF
63139 if ac_fn_cxx_try_compile "$LINENO"; then :
63140 glibcxx_cv_func__hypotf_use=yes
63141 else
63142 glibcxx_cv_func__hypotf_use=no
63144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63145 ac_ext=c
63146 ac_cpp='$CPP $CPPFLAGS'
63147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63156 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63158 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63159 for ac_func in _hypotf
63160 do :
63161 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63162 if test "x$ac_cv_func__hypotf" = xyes; then :
63163 cat >>confdefs.h <<_ACEOF
63164 #define HAVE__HYPOTF 1
63165 _ACEOF
63168 done
63177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63178 $as_echo_n "checking for ldexpf declaration... " >&6; }
63179 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63180 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63181 $as_echo_n "(cached) " >&6
63182 else
63185 ac_ext=cpp
63186 ac_cpp='$CXXCPP $CPPFLAGS'
63187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63192 /* end confdefs.h. */
63193 #include <math.h>
63195 main ()
63197 ldexpf(0, 0);
63199 return 0;
63201 _ACEOF
63202 if ac_fn_cxx_try_compile "$LINENO"; then :
63203 glibcxx_cv_func_ldexpf_use=yes
63204 else
63205 glibcxx_cv_func_ldexpf_use=no
63207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63208 ac_ext=c
63209 ac_cpp='$CPP $CPPFLAGS'
63210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63219 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63221 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63222 for ac_func in ldexpf
63223 do :
63224 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63225 if test "x$ac_cv_func_ldexpf" = xyes; then :
63226 cat >>confdefs.h <<_ACEOF
63227 #define HAVE_LDEXPF 1
63228 _ACEOF
63231 done
63233 else
63235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63236 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63237 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63238 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63239 $as_echo_n "(cached) " >&6
63240 else
63243 ac_ext=cpp
63244 ac_cpp='$CXXCPP $CPPFLAGS'
63245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63250 /* end confdefs.h. */
63251 #include <math.h>
63253 main ()
63255 _ldexpf(0, 0);
63257 return 0;
63259 _ACEOF
63260 if ac_fn_cxx_try_compile "$LINENO"; then :
63261 glibcxx_cv_func__ldexpf_use=yes
63262 else
63263 glibcxx_cv_func__ldexpf_use=no
63265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63266 ac_ext=c
63267 ac_cpp='$CPP $CPPFLAGS'
63268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63277 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63279 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63280 for ac_func in _ldexpf
63281 do :
63282 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63283 if test "x$ac_cv_func__ldexpf" = xyes; then :
63284 cat >>confdefs.h <<_ACEOF
63285 #define HAVE__LDEXPF 1
63286 _ACEOF
63289 done
63298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63299 $as_echo_n "checking for logf declaration... " >&6; }
63300 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63301 if ${glibcxx_cv_func_logf_use+:} false; then :
63302 $as_echo_n "(cached) " >&6
63303 else
63306 ac_ext=cpp
63307 ac_cpp='$CXXCPP $CPPFLAGS'
63308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63313 /* end confdefs.h. */
63314 #include <math.h>
63315 #ifdef HAVE_IEEEFP_H
63316 #include <ieeefp.h>
63317 #endif
63320 main ()
63322 logf(0);
63324 return 0;
63326 _ACEOF
63327 if ac_fn_cxx_try_compile "$LINENO"; then :
63328 glibcxx_cv_func_logf_use=yes
63329 else
63330 glibcxx_cv_func_logf_use=no
63332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63333 ac_ext=c
63334 ac_cpp='$CPP $CPPFLAGS'
63335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63344 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63346 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63347 for ac_func in logf
63348 do :
63349 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63350 if test "x$ac_cv_func_logf" = xyes; then :
63351 cat >>confdefs.h <<_ACEOF
63352 #define HAVE_LOGF 1
63353 _ACEOF
63356 done
63358 else
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63361 $as_echo_n "checking for _logf declaration... " >&6; }
63362 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63363 if ${glibcxx_cv_func__logf_use+:} false; then :
63364 $as_echo_n "(cached) " >&6
63365 else
63368 ac_ext=cpp
63369 ac_cpp='$CXXCPP $CPPFLAGS'
63370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63375 /* end confdefs.h. */
63376 #include <math.h>
63377 #ifdef HAVE_IEEEFP_H
63378 #include <ieeefp.h>
63379 #endif
63382 main ()
63384 _logf(0);
63386 return 0;
63388 _ACEOF
63389 if ac_fn_cxx_try_compile "$LINENO"; then :
63390 glibcxx_cv_func__logf_use=yes
63391 else
63392 glibcxx_cv_func__logf_use=no
63394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63395 ac_ext=c
63396 ac_cpp='$CPP $CPPFLAGS'
63397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63406 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63408 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63409 for ac_func in _logf
63410 do :
63411 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63412 if test "x$ac_cv_func__logf" = xyes; then :
63413 cat >>confdefs.h <<_ACEOF
63414 #define HAVE__LOGF 1
63415 _ACEOF
63418 done
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63428 $as_echo_n "checking for log10f declaration... " >&6; }
63429 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63430 if ${glibcxx_cv_func_log10f_use+:} false; then :
63431 $as_echo_n "(cached) " >&6
63432 else
63435 ac_ext=cpp
63436 ac_cpp='$CXXCPP $CPPFLAGS'
63437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63442 /* end confdefs.h. */
63443 #include <math.h>
63444 #ifdef HAVE_IEEEFP_H
63445 #include <ieeefp.h>
63446 #endif
63449 main ()
63451 log10f(0);
63453 return 0;
63455 _ACEOF
63456 if ac_fn_cxx_try_compile "$LINENO"; then :
63457 glibcxx_cv_func_log10f_use=yes
63458 else
63459 glibcxx_cv_func_log10f_use=no
63461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63462 ac_ext=c
63463 ac_cpp='$CPP $CPPFLAGS'
63464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63473 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63475 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63476 for ac_func in log10f
63477 do :
63478 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63479 if test "x$ac_cv_func_log10f" = xyes; then :
63480 cat >>confdefs.h <<_ACEOF
63481 #define HAVE_LOG10F 1
63482 _ACEOF
63485 done
63487 else
63489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63490 $as_echo_n "checking for _log10f declaration... " >&6; }
63491 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63492 if ${glibcxx_cv_func__log10f_use+:} false; then :
63493 $as_echo_n "(cached) " >&6
63494 else
63497 ac_ext=cpp
63498 ac_cpp='$CXXCPP $CPPFLAGS'
63499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63504 /* end confdefs.h. */
63505 #include <math.h>
63506 #ifdef HAVE_IEEEFP_H
63507 #include <ieeefp.h>
63508 #endif
63511 main ()
63513 _log10f(0);
63515 return 0;
63517 _ACEOF
63518 if ac_fn_cxx_try_compile "$LINENO"; then :
63519 glibcxx_cv_func__log10f_use=yes
63520 else
63521 glibcxx_cv_func__log10f_use=no
63523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63524 ac_ext=c
63525 ac_cpp='$CPP $CPPFLAGS'
63526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63535 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63537 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63538 for ac_func in _log10f
63539 do :
63540 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63541 if test "x$ac_cv_func__log10f" = xyes; then :
63542 cat >>confdefs.h <<_ACEOF
63543 #define HAVE__LOG10F 1
63544 _ACEOF
63547 done
63556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63557 $as_echo_n "checking for modff declaration... " >&6; }
63558 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63559 if ${glibcxx_cv_func_modff_use+:} false; then :
63560 $as_echo_n "(cached) " >&6
63561 else
63564 ac_ext=cpp
63565 ac_cpp='$CXXCPP $CPPFLAGS'
63566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63571 /* end confdefs.h. */
63572 #include <math.h>
63574 main ()
63576 modff(0, 0);
63578 return 0;
63580 _ACEOF
63581 if ac_fn_cxx_try_compile "$LINENO"; then :
63582 glibcxx_cv_func_modff_use=yes
63583 else
63584 glibcxx_cv_func_modff_use=no
63586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63587 ac_ext=c
63588 ac_cpp='$CPP $CPPFLAGS'
63589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63598 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63600 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63601 for ac_func in modff
63602 do :
63603 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63604 if test "x$ac_cv_func_modff" = xyes; then :
63605 cat >>confdefs.h <<_ACEOF
63606 #define HAVE_MODFF 1
63607 _ACEOF
63610 done
63612 else
63614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63615 $as_echo_n "checking for _modff declaration... " >&6; }
63616 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63617 if ${glibcxx_cv_func__modff_use+:} false; then :
63618 $as_echo_n "(cached) " >&6
63619 else
63622 ac_ext=cpp
63623 ac_cpp='$CXXCPP $CPPFLAGS'
63624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63629 /* end confdefs.h. */
63630 #include <math.h>
63632 main ()
63634 _modff(0, 0);
63636 return 0;
63638 _ACEOF
63639 if ac_fn_cxx_try_compile "$LINENO"; then :
63640 glibcxx_cv_func__modff_use=yes
63641 else
63642 glibcxx_cv_func__modff_use=no
63644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63645 ac_ext=c
63646 ac_cpp='$CPP $CPPFLAGS'
63647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63656 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63658 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63659 for ac_func in _modff
63660 do :
63661 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63662 if test "x$ac_cv_func__modff" = xyes; then :
63663 cat >>confdefs.h <<_ACEOF
63664 #define HAVE__MODFF 1
63665 _ACEOF
63668 done
63677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63678 $as_echo_n "checking for modf declaration... " >&6; }
63679 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63680 if ${glibcxx_cv_func_modf_use+:} false; then :
63681 $as_echo_n "(cached) " >&6
63682 else
63685 ac_ext=cpp
63686 ac_cpp='$CXXCPP $CPPFLAGS'
63687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63692 /* end confdefs.h. */
63693 #include <math.h>
63695 main ()
63697 modf(0, 0);
63699 return 0;
63701 _ACEOF
63702 if ac_fn_cxx_try_compile "$LINENO"; then :
63703 glibcxx_cv_func_modf_use=yes
63704 else
63705 glibcxx_cv_func_modf_use=no
63707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63708 ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63719 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63721 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63722 for ac_func in modf
63723 do :
63724 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63725 if test "x$ac_cv_func_modf" = xyes; then :
63726 cat >>confdefs.h <<_ACEOF
63727 #define HAVE_MODF 1
63728 _ACEOF
63731 done
63733 else
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63736 $as_echo_n "checking for _modf declaration... " >&6; }
63737 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63738 if ${glibcxx_cv_func__modf_use+:} false; then :
63739 $as_echo_n "(cached) " >&6
63740 else
63743 ac_ext=cpp
63744 ac_cpp='$CXXCPP $CPPFLAGS'
63745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63750 /* end confdefs.h. */
63751 #include <math.h>
63753 main ()
63755 _modf(0, 0);
63757 return 0;
63759 _ACEOF
63760 if ac_fn_cxx_try_compile "$LINENO"; then :
63761 glibcxx_cv_func__modf_use=yes
63762 else
63763 glibcxx_cv_func__modf_use=no
63765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63766 ac_ext=c
63767 ac_cpp='$CPP $CPPFLAGS'
63768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63777 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63779 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63780 for ac_func in _modf
63781 do :
63782 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63783 if test "x$ac_cv_func__modf" = xyes; then :
63784 cat >>confdefs.h <<_ACEOF
63785 #define HAVE__MODF 1
63786 _ACEOF
63789 done
63798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63799 $as_echo_n "checking for powf declaration... " >&6; }
63800 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63801 if ${glibcxx_cv_func_powf_use+:} false; then :
63802 $as_echo_n "(cached) " >&6
63803 else
63806 ac_ext=cpp
63807 ac_cpp='$CXXCPP $CPPFLAGS'
63808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63813 /* end confdefs.h. */
63814 #include <math.h>
63816 main ()
63818 powf(0, 0);
63820 return 0;
63822 _ACEOF
63823 if ac_fn_cxx_try_compile "$LINENO"; then :
63824 glibcxx_cv_func_powf_use=yes
63825 else
63826 glibcxx_cv_func_powf_use=no
63828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63829 ac_ext=c
63830 ac_cpp='$CPP $CPPFLAGS'
63831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63840 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63842 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63843 for ac_func in powf
63844 do :
63845 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63846 if test "x$ac_cv_func_powf" = xyes; then :
63847 cat >>confdefs.h <<_ACEOF
63848 #define HAVE_POWF 1
63849 _ACEOF
63852 done
63854 else
63856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63857 $as_echo_n "checking for _powf declaration... " >&6; }
63858 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63859 if ${glibcxx_cv_func__powf_use+:} false; then :
63860 $as_echo_n "(cached) " >&6
63861 else
63864 ac_ext=cpp
63865 ac_cpp='$CXXCPP $CPPFLAGS'
63866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63871 /* end confdefs.h. */
63872 #include <math.h>
63874 main ()
63876 _powf(0, 0);
63878 return 0;
63880 _ACEOF
63881 if ac_fn_cxx_try_compile "$LINENO"; then :
63882 glibcxx_cv_func__powf_use=yes
63883 else
63884 glibcxx_cv_func__powf_use=no
63886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63887 ac_ext=c
63888 ac_cpp='$CPP $CPPFLAGS'
63889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63898 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63900 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63901 for ac_func in _powf
63902 do :
63903 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63904 if test "x$ac_cv_func__powf" = xyes; then :
63905 cat >>confdefs.h <<_ACEOF
63906 #define HAVE__POWF 1
63907 _ACEOF
63910 done
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63920 $as_echo_n "checking for sqrtf declaration... " >&6; }
63921 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63922 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63923 $as_echo_n "(cached) " >&6
63924 else
63927 ac_ext=cpp
63928 ac_cpp='$CXXCPP $CPPFLAGS'
63929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63934 /* end confdefs.h. */
63935 #include <math.h>
63936 #ifdef HAVE_IEEEFP_H
63937 #include <ieeefp.h>
63938 #endif
63941 main ()
63943 sqrtf(0);
63945 return 0;
63947 _ACEOF
63948 if ac_fn_cxx_try_compile "$LINENO"; then :
63949 glibcxx_cv_func_sqrtf_use=yes
63950 else
63951 glibcxx_cv_func_sqrtf_use=no
63953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63954 ac_ext=c
63955 ac_cpp='$CPP $CPPFLAGS'
63956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63965 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63967 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63968 for ac_func in sqrtf
63969 do :
63970 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63971 if test "x$ac_cv_func_sqrtf" = xyes; then :
63972 cat >>confdefs.h <<_ACEOF
63973 #define HAVE_SQRTF 1
63974 _ACEOF
63977 done
63979 else
63981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63982 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63983 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63984 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63985 $as_echo_n "(cached) " >&6
63986 else
63989 ac_ext=cpp
63990 ac_cpp='$CXXCPP $CPPFLAGS'
63991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63996 /* end confdefs.h. */
63997 #include <math.h>
63998 #ifdef HAVE_IEEEFP_H
63999 #include <ieeefp.h>
64000 #endif
64003 main ()
64005 _sqrtf(0);
64007 return 0;
64009 _ACEOF
64010 if ac_fn_cxx_try_compile "$LINENO"; then :
64011 glibcxx_cv_func__sqrtf_use=yes
64012 else
64013 glibcxx_cv_func__sqrtf_use=no
64015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64016 ac_ext=c
64017 ac_cpp='$CPP $CPPFLAGS'
64018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64027 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64029 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64030 for ac_func in _sqrtf
64031 do :
64032 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64033 if test "x$ac_cv_func__sqrtf" = xyes; then :
64034 cat >>confdefs.h <<_ACEOF
64035 #define HAVE__SQRTF 1
64036 _ACEOF
64039 done
64048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64049 $as_echo_n "checking for sincosf declaration... " >&6; }
64050 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64051 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64052 $as_echo_n "(cached) " >&6
64053 else
64056 ac_ext=cpp
64057 ac_cpp='$CXXCPP $CPPFLAGS'
64058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64063 /* end confdefs.h. */
64064 #include <math.h>
64066 main ()
64068 sincosf(0, 0, 0);
64070 return 0;
64072 _ACEOF
64073 if ac_fn_cxx_try_compile "$LINENO"; then :
64074 glibcxx_cv_func_sincosf_use=yes
64075 else
64076 glibcxx_cv_func_sincosf_use=no
64078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64079 ac_ext=c
64080 ac_cpp='$CPP $CPPFLAGS'
64081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64090 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64092 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64093 for ac_func in sincosf
64094 do :
64095 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64096 if test "x$ac_cv_func_sincosf" = xyes; then :
64097 cat >>confdefs.h <<_ACEOF
64098 #define HAVE_SINCOSF 1
64099 _ACEOF
64102 done
64104 else
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64107 $as_echo_n "checking for _sincosf declaration... " >&6; }
64108 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64109 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64110 $as_echo_n "(cached) " >&6
64111 else
64114 ac_ext=cpp
64115 ac_cpp='$CXXCPP $CPPFLAGS'
64116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64121 /* end confdefs.h. */
64122 #include <math.h>
64124 main ()
64126 _sincosf(0, 0, 0);
64128 return 0;
64130 _ACEOF
64131 if ac_fn_cxx_try_compile "$LINENO"; then :
64132 glibcxx_cv_func__sincosf_use=yes
64133 else
64134 glibcxx_cv_func__sincosf_use=no
64136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64137 ac_ext=c
64138 ac_cpp='$CPP $CPPFLAGS'
64139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64148 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64150 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64151 for ac_func in _sincosf
64152 do :
64153 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64154 if test "x$ac_cv_func__sincosf" = xyes; then :
64155 cat >>confdefs.h <<_ACEOF
64156 #define HAVE__SINCOSF 1
64157 _ACEOF
64160 done
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64170 $as_echo_n "checking for finitef declaration... " >&6; }
64171 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64172 if ${glibcxx_cv_func_finitef_use+:} false; then :
64173 $as_echo_n "(cached) " >&6
64174 else
64177 ac_ext=cpp
64178 ac_cpp='$CXXCPP $CPPFLAGS'
64179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64184 /* end confdefs.h. */
64185 #include <math.h>
64186 #ifdef HAVE_IEEEFP_H
64187 #include <ieeefp.h>
64188 #endif
64191 main ()
64193 finitef(0);
64195 return 0;
64197 _ACEOF
64198 if ac_fn_cxx_try_compile "$LINENO"; then :
64199 glibcxx_cv_func_finitef_use=yes
64200 else
64201 glibcxx_cv_func_finitef_use=no
64203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64204 ac_ext=c
64205 ac_cpp='$CPP $CPPFLAGS'
64206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64215 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64217 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64218 for ac_func in finitef
64219 do :
64220 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64221 if test "x$ac_cv_func_finitef" = xyes; then :
64222 cat >>confdefs.h <<_ACEOF
64223 #define HAVE_FINITEF 1
64224 _ACEOF
64227 done
64229 else
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64232 $as_echo_n "checking for _finitef declaration... " >&6; }
64233 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64234 if ${glibcxx_cv_func__finitef_use+:} false; then :
64235 $as_echo_n "(cached) " >&6
64236 else
64239 ac_ext=cpp
64240 ac_cpp='$CXXCPP $CPPFLAGS'
64241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64246 /* end confdefs.h. */
64247 #include <math.h>
64248 #ifdef HAVE_IEEEFP_H
64249 #include <ieeefp.h>
64250 #endif
64253 main ()
64255 _finitef(0);
64257 return 0;
64259 _ACEOF
64260 if ac_fn_cxx_try_compile "$LINENO"; then :
64261 glibcxx_cv_func__finitef_use=yes
64262 else
64263 glibcxx_cv_func__finitef_use=no
64265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64266 ac_ext=c
64267 ac_cpp='$CPP $CPPFLAGS'
64268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64277 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64279 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64280 for ac_func in _finitef
64281 do :
64282 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64283 if test "x$ac_cv_func__finitef" = xyes; then :
64284 cat >>confdefs.h <<_ACEOF
64285 #define HAVE__FINITEF 1
64286 _ACEOF
64289 done
64298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64299 $as_echo_n "checking for long double trig functions... " >&6; }
64300 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64301 $as_echo_n "(cached) " >&6
64302 else
64305 ac_ext=cpp
64306 ac_cpp='$CXXCPP $CPPFLAGS'
64307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64312 /* end confdefs.h. */
64313 #include <math.h>
64315 main ()
64317 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64319 return 0;
64321 _ACEOF
64322 if ac_fn_cxx_try_compile "$LINENO"; then :
64323 glibcxx_cv_func_long_double_trig_use=yes
64324 else
64325 glibcxx_cv_func_long_double_trig_use=no
64327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64328 ac_ext=c
64329 ac_cpp='$CPP $CPPFLAGS'
64330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64337 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64338 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64339 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64340 do :
64341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64343 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64344 cat >>confdefs.h <<_ACEOF
64345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64346 _ACEOF
64349 done
64351 else
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64353 $as_echo_n "checking for _long double trig functions... " >&6; }
64354 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64355 $as_echo_n "(cached) " >&6
64356 else
64359 ac_ext=cpp
64360 ac_cpp='$CXXCPP $CPPFLAGS'
64361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64366 /* end confdefs.h. */
64367 #include <math.h>
64369 main ()
64371 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64373 return 0;
64375 _ACEOF
64376 if ac_fn_cxx_try_compile "$LINENO"; then :
64377 glibcxx_cv_func__long_double_trig_use=yes
64378 else
64379 glibcxx_cv_func__long_double_trig_use=no
64381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64382 ac_ext=c
64383 ac_cpp='$CPP $CPPFLAGS'
64384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64391 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64392 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64393 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64394 do :
64395 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64396 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64397 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64398 cat >>confdefs.h <<_ACEOF
64399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64400 _ACEOF
64403 done
64412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64413 $as_echo_n "checking for long double round functions... " >&6; }
64414 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64415 $as_echo_n "(cached) " >&6
64416 else
64419 ac_ext=cpp
64420 ac_cpp='$CXXCPP $CPPFLAGS'
64421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64426 /* end confdefs.h. */
64427 #include <math.h>
64429 main ()
64431 ceill (0); floorl (0);
64433 return 0;
64435 _ACEOF
64436 if ac_fn_cxx_try_compile "$LINENO"; then :
64437 glibcxx_cv_func_long_double_round_use=yes
64438 else
64439 glibcxx_cv_func_long_double_round_use=no
64441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64442 ac_ext=c
64443 ac_cpp='$CPP $CPPFLAGS'
64444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64451 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64452 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64453 for ac_func in ceill floorl
64454 do :
64455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64458 cat >>confdefs.h <<_ACEOF
64459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64460 _ACEOF
64463 done
64465 else
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64467 $as_echo_n "checking for _long double round functions... " >&6; }
64468 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64469 $as_echo_n "(cached) " >&6
64470 else
64473 ac_ext=cpp
64474 ac_cpp='$CXXCPP $CPPFLAGS'
64475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64480 /* end confdefs.h. */
64481 #include <math.h>
64483 main ()
64485 _ceill (0); _floorl (0);
64487 return 0;
64489 _ACEOF
64490 if ac_fn_cxx_try_compile "$LINENO"; then :
64491 glibcxx_cv_func__long_double_round_use=yes
64492 else
64493 glibcxx_cv_func__long_double_round_use=no
64495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64496 ac_ext=c
64497 ac_cpp='$CPP $CPPFLAGS'
64498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64505 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64506 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64507 for ac_func in _ceill _floorl
64508 do :
64509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64512 cat >>confdefs.h <<_ACEOF
64513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64514 _ACEOF
64517 done
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64528 $as_echo_n "checking for isnanl declaration... " >&6; }
64529 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64530 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <math.h>
64544 #ifdef HAVE_IEEEFP_H
64545 #include <ieeefp.h>
64546 #endif
64549 main ()
64551 isnanl(0);
64553 return 0;
64555 _ACEOF
64556 if ac_fn_cxx_try_compile "$LINENO"; then :
64557 glibcxx_cv_func_isnanl_use=yes
64558 else
64559 glibcxx_cv_func_isnanl_use=no
64561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64562 ac_ext=c
64563 ac_cpp='$CPP $CPPFLAGS'
64564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64573 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64575 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64576 for ac_func in isnanl
64577 do :
64578 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64579 if test "x$ac_cv_func_isnanl" = xyes; then :
64580 cat >>confdefs.h <<_ACEOF
64581 #define HAVE_ISNANL 1
64582 _ACEOF
64585 done
64587 else
64589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64590 $as_echo_n "checking for _isnanl declaration... " >&6; }
64591 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64592 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64593 $as_echo_n "(cached) " >&6
64594 else
64597 ac_ext=cpp
64598 ac_cpp='$CXXCPP $CPPFLAGS'
64599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64604 /* end confdefs.h. */
64605 #include <math.h>
64606 #ifdef HAVE_IEEEFP_H
64607 #include <ieeefp.h>
64608 #endif
64611 main ()
64613 _isnanl(0);
64615 return 0;
64617 _ACEOF
64618 if ac_fn_cxx_try_compile "$LINENO"; then :
64619 glibcxx_cv_func__isnanl_use=yes
64620 else
64621 glibcxx_cv_func__isnanl_use=no
64623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64624 ac_ext=c
64625 ac_cpp='$CPP $CPPFLAGS'
64626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64635 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64637 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64638 for ac_func in _isnanl
64639 do :
64640 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64641 if test "x$ac_cv_func__isnanl" = xyes; then :
64642 cat >>confdefs.h <<_ACEOF
64643 #define HAVE__ISNANL 1
64644 _ACEOF
64647 done
64656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64657 $as_echo_n "checking for isinfl declaration... " >&6; }
64658 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64659 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64660 $as_echo_n "(cached) " >&6
64661 else
64664 ac_ext=cpp
64665 ac_cpp='$CXXCPP $CPPFLAGS'
64666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64671 /* end confdefs.h. */
64672 #include <math.h>
64673 #ifdef HAVE_IEEEFP_H
64674 #include <ieeefp.h>
64675 #endif
64678 main ()
64680 isinfl(0);
64682 return 0;
64684 _ACEOF
64685 if ac_fn_cxx_try_compile "$LINENO"; then :
64686 glibcxx_cv_func_isinfl_use=yes
64687 else
64688 glibcxx_cv_func_isinfl_use=no
64690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64691 ac_ext=c
64692 ac_cpp='$CPP $CPPFLAGS'
64693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64702 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64704 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64705 for ac_func in isinfl
64706 do :
64707 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64708 if test "x$ac_cv_func_isinfl" = xyes; then :
64709 cat >>confdefs.h <<_ACEOF
64710 #define HAVE_ISINFL 1
64711 _ACEOF
64714 done
64716 else
64718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64719 $as_echo_n "checking for _isinfl declaration... " >&6; }
64720 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64721 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64722 $as_echo_n "(cached) " >&6
64723 else
64726 ac_ext=cpp
64727 ac_cpp='$CXXCPP $CPPFLAGS'
64728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64733 /* end confdefs.h. */
64734 #include <math.h>
64735 #ifdef HAVE_IEEEFP_H
64736 #include <ieeefp.h>
64737 #endif
64740 main ()
64742 _isinfl(0);
64744 return 0;
64746 _ACEOF
64747 if ac_fn_cxx_try_compile "$LINENO"; then :
64748 glibcxx_cv_func__isinfl_use=yes
64749 else
64750 glibcxx_cv_func__isinfl_use=no
64752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64753 ac_ext=c
64754 ac_cpp='$CPP $CPPFLAGS'
64755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64764 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64766 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64767 for ac_func in _isinfl
64768 do :
64769 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64770 if test "x$ac_cv_func__isinfl" = xyes; then :
64771 cat >>confdefs.h <<_ACEOF
64772 #define HAVE__ISINFL 1
64773 _ACEOF
64776 done
64785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64786 $as_echo_n "checking for atan2l declaration... " >&6; }
64787 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64788 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64789 $as_echo_n "(cached) " >&6
64790 else
64793 ac_ext=cpp
64794 ac_cpp='$CXXCPP $CPPFLAGS'
64795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64800 /* end confdefs.h. */
64801 #include <math.h>
64803 main ()
64805 atan2l(0, 0);
64807 return 0;
64809 _ACEOF
64810 if ac_fn_cxx_try_compile "$LINENO"; then :
64811 glibcxx_cv_func_atan2l_use=yes
64812 else
64813 glibcxx_cv_func_atan2l_use=no
64815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64816 ac_ext=c
64817 ac_cpp='$CPP $CPPFLAGS'
64818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64827 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64829 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64830 for ac_func in atan2l
64831 do :
64832 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64833 if test "x$ac_cv_func_atan2l" = xyes; then :
64834 cat >>confdefs.h <<_ACEOF
64835 #define HAVE_ATAN2L 1
64836 _ACEOF
64839 done
64841 else
64843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64844 $as_echo_n "checking for _atan2l declaration... " >&6; }
64845 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64846 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64847 $as_echo_n "(cached) " >&6
64848 else
64851 ac_ext=cpp
64852 ac_cpp='$CXXCPP $CPPFLAGS'
64853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64858 /* end confdefs.h. */
64859 #include <math.h>
64861 main ()
64863 _atan2l(0, 0);
64865 return 0;
64867 _ACEOF
64868 if ac_fn_cxx_try_compile "$LINENO"; then :
64869 glibcxx_cv_func__atan2l_use=yes
64870 else
64871 glibcxx_cv_func__atan2l_use=no
64873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64874 ac_ext=c
64875 ac_cpp='$CPP $CPPFLAGS'
64876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64885 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64887 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64888 for ac_func in _atan2l
64889 do :
64890 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64891 if test "x$ac_cv_func__atan2l" = xyes; then :
64892 cat >>confdefs.h <<_ACEOF
64893 #define HAVE__ATAN2L 1
64894 _ACEOF
64897 done
64906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64907 $as_echo_n "checking for expl declaration... " >&6; }
64908 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64909 if ${glibcxx_cv_func_expl_use+:} false; then :
64910 $as_echo_n "(cached) " >&6
64911 else
64914 ac_ext=cpp
64915 ac_cpp='$CXXCPP $CPPFLAGS'
64916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64921 /* end confdefs.h. */
64922 #include <math.h>
64923 #ifdef HAVE_IEEEFP_H
64924 #include <ieeefp.h>
64925 #endif
64928 main ()
64930 expl(0);
64932 return 0;
64934 _ACEOF
64935 if ac_fn_cxx_try_compile "$LINENO"; then :
64936 glibcxx_cv_func_expl_use=yes
64937 else
64938 glibcxx_cv_func_expl_use=no
64940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64941 ac_ext=c
64942 ac_cpp='$CPP $CPPFLAGS'
64943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64952 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64954 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64955 for ac_func in expl
64956 do :
64957 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64958 if test "x$ac_cv_func_expl" = xyes; then :
64959 cat >>confdefs.h <<_ACEOF
64960 #define HAVE_EXPL 1
64961 _ACEOF
64964 done
64966 else
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64969 $as_echo_n "checking for _expl declaration... " >&6; }
64970 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64971 if ${glibcxx_cv_func__expl_use+:} false; then :
64972 $as_echo_n "(cached) " >&6
64973 else
64976 ac_ext=cpp
64977 ac_cpp='$CXXCPP $CPPFLAGS'
64978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64983 /* end confdefs.h. */
64984 #include <math.h>
64985 #ifdef HAVE_IEEEFP_H
64986 #include <ieeefp.h>
64987 #endif
64990 main ()
64992 _expl(0);
64994 return 0;
64996 _ACEOF
64997 if ac_fn_cxx_try_compile "$LINENO"; then :
64998 glibcxx_cv_func__expl_use=yes
64999 else
65000 glibcxx_cv_func__expl_use=no
65002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65003 ac_ext=c
65004 ac_cpp='$CPP $CPPFLAGS'
65005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65014 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65016 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65017 for ac_func in _expl
65018 do :
65019 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65020 if test "x$ac_cv_func__expl" = xyes; then :
65021 cat >>confdefs.h <<_ACEOF
65022 #define HAVE__EXPL 1
65023 _ACEOF
65026 done
65035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65036 $as_echo_n "checking for fabsl declaration... " >&6; }
65037 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65038 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65039 $as_echo_n "(cached) " >&6
65040 else
65043 ac_ext=cpp
65044 ac_cpp='$CXXCPP $CPPFLAGS'
65045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65050 /* end confdefs.h. */
65051 #include <math.h>
65052 #ifdef HAVE_IEEEFP_H
65053 #include <ieeefp.h>
65054 #endif
65057 main ()
65059 fabsl(0);
65061 return 0;
65063 _ACEOF
65064 if ac_fn_cxx_try_compile "$LINENO"; then :
65065 glibcxx_cv_func_fabsl_use=yes
65066 else
65067 glibcxx_cv_func_fabsl_use=no
65069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65070 ac_ext=c
65071 ac_cpp='$CPP $CPPFLAGS'
65072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65081 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65083 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65084 for ac_func in fabsl
65085 do :
65086 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65087 if test "x$ac_cv_func_fabsl" = xyes; then :
65088 cat >>confdefs.h <<_ACEOF
65089 #define HAVE_FABSL 1
65090 _ACEOF
65093 done
65095 else
65097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65098 $as_echo_n "checking for _fabsl declaration... " >&6; }
65099 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65100 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65101 $as_echo_n "(cached) " >&6
65102 else
65105 ac_ext=cpp
65106 ac_cpp='$CXXCPP $CPPFLAGS'
65107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65112 /* end confdefs.h. */
65113 #include <math.h>
65114 #ifdef HAVE_IEEEFP_H
65115 #include <ieeefp.h>
65116 #endif
65119 main ()
65121 _fabsl(0);
65123 return 0;
65125 _ACEOF
65126 if ac_fn_cxx_try_compile "$LINENO"; then :
65127 glibcxx_cv_func__fabsl_use=yes
65128 else
65129 glibcxx_cv_func__fabsl_use=no
65131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65132 ac_ext=c
65133 ac_cpp='$CPP $CPPFLAGS'
65134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65143 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65145 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65146 for ac_func in _fabsl
65147 do :
65148 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65149 if test "x$ac_cv_func__fabsl" = xyes; then :
65150 cat >>confdefs.h <<_ACEOF
65151 #define HAVE__FABSL 1
65152 _ACEOF
65155 done
65164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65165 $as_echo_n "checking for fmodl declaration... " >&6; }
65166 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65167 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65168 $as_echo_n "(cached) " >&6
65169 else
65172 ac_ext=cpp
65173 ac_cpp='$CXXCPP $CPPFLAGS'
65174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65179 /* end confdefs.h. */
65180 #include <math.h>
65182 main ()
65184 fmodl(0, 0);
65186 return 0;
65188 _ACEOF
65189 if ac_fn_cxx_try_compile "$LINENO"; then :
65190 glibcxx_cv_func_fmodl_use=yes
65191 else
65192 glibcxx_cv_func_fmodl_use=no
65194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65195 ac_ext=c
65196 ac_cpp='$CPP $CPPFLAGS'
65197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65206 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65208 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65209 for ac_func in fmodl
65210 do :
65211 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65212 if test "x$ac_cv_func_fmodl" = xyes; then :
65213 cat >>confdefs.h <<_ACEOF
65214 #define HAVE_FMODL 1
65215 _ACEOF
65218 done
65220 else
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65223 $as_echo_n "checking for _fmodl declaration... " >&6; }
65224 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65225 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65226 $as_echo_n "(cached) " >&6
65227 else
65230 ac_ext=cpp
65231 ac_cpp='$CXXCPP $CPPFLAGS'
65232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65237 /* end confdefs.h. */
65238 #include <math.h>
65240 main ()
65242 _fmodl(0, 0);
65244 return 0;
65246 _ACEOF
65247 if ac_fn_cxx_try_compile "$LINENO"; then :
65248 glibcxx_cv_func__fmodl_use=yes
65249 else
65250 glibcxx_cv_func__fmodl_use=no
65252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65253 ac_ext=c
65254 ac_cpp='$CPP $CPPFLAGS'
65255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65264 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65266 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65267 for ac_func in _fmodl
65268 do :
65269 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65270 if test "x$ac_cv_func__fmodl" = xyes; then :
65271 cat >>confdefs.h <<_ACEOF
65272 #define HAVE__FMODL 1
65273 _ACEOF
65276 done
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65286 $as_echo_n "checking for frexpl declaration... " >&6; }
65287 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65288 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65289 $as_echo_n "(cached) " >&6
65290 else
65293 ac_ext=cpp
65294 ac_cpp='$CXXCPP $CPPFLAGS'
65295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65300 /* end confdefs.h. */
65301 #include <math.h>
65303 main ()
65305 frexpl(0, 0);
65307 return 0;
65309 _ACEOF
65310 if ac_fn_cxx_try_compile "$LINENO"; then :
65311 glibcxx_cv_func_frexpl_use=yes
65312 else
65313 glibcxx_cv_func_frexpl_use=no
65315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65316 ac_ext=c
65317 ac_cpp='$CPP $CPPFLAGS'
65318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65327 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65329 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65330 for ac_func in frexpl
65331 do :
65332 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65333 if test "x$ac_cv_func_frexpl" = xyes; then :
65334 cat >>confdefs.h <<_ACEOF
65335 #define HAVE_FREXPL 1
65336 _ACEOF
65339 done
65341 else
65343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65344 $as_echo_n "checking for _frexpl declaration... " >&6; }
65345 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65346 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65347 $as_echo_n "(cached) " >&6
65348 else
65351 ac_ext=cpp
65352 ac_cpp='$CXXCPP $CPPFLAGS'
65353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65358 /* end confdefs.h. */
65359 #include <math.h>
65361 main ()
65363 _frexpl(0, 0);
65365 return 0;
65367 _ACEOF
65368 if ac_fn_cxx_try_compile "$LINENO"; then :
65369 glibcxx_cv_func__frexpl_use=yes
65370 else
65371 glibcxx_cv_func__frexpl_use=no
65373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65374 ac_ext=c
65375 ac_cpp='$CPP $CPPFLAGS'
65376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65385 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65387 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65388 for ac_func in _frexpl
65389 do :
65390 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65391 if test "x$ac_cv_func__frexpl" = xyes; then :
65392 cat >>confdefs.h <<_ACEOF
65393 #define HAVE__FREXPL 1
65394 _ACEOF
65397 done
65406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65407 $as_echo_n "checking for hypotl declaration... " >&6; }
65408 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65409 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65410 $as_echo_n "(cached) " >&6
65411 else
65414 ac_ext=cpp
65415 ac_cpp='$CXXCPP $CPPFLAGS'
65416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65421 /* end confdefs.h. */
65422 #include <math.h>
65424 main ()
65426 hypotl(0, 0);
65428 return 0;
65430 _ACEOF
65431 if ac_fn_cxx_try_compile "$LINENO"; then :
65432 glibcxx_cv_func_hypotl_use=yes
65433 else
65434 glibcxx_cv_func_hypotl_use=no
65436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65437 ac_ext=c
65438 ac_cpp='$CPP $CPPFLAGS'
65439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65448 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65450 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65451 for ac_func in hypotl
65452 do :
65453 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65454 if test "x$ac_cv_func_hypotl" = xyes; then :
65455 cat >>confdefs.h <<_ACEOF
65456 #define HAVE_HYPOTL 1
65457 _ACEOF
65460 done
65462 else
65464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65465 $as_echo_n "checking for _hypotl declaration... " >&6; }
65466 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65467 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65468 $as_echo_n "(cached) " >&6
65469 else
65472 ac_ext=cpp
65473 ac_cpp='$CXXCPP $CPPFLAGS'
65474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65479 /* end confdefs.h. */
65480 #include <math.h>
65482 main ()
65484 _hypotl(0, 0);
65486 return 0;
65488 _ACEOF
65489 if ac_fn_cxx_try_compile "$LINENO"; then :
65490 glibcxx_cv_func__hypotl_use=yes
65491 else
65492 glibcxx_cv_func__hypotl_use=no
65494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65495 ac_ext=c
65496 ac_cpp='$CPP $CPPFLAGS'
65497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65506 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65508 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65509 for ac_func in _hypotl
65510 do :
65511 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65512 if test "x$ac_cv_func__hypotl" = xyes; then :
65513 cat >>confdefs.h <<_ACEOF
65514 #define HAVE__HYPOTL 1
65515 _ACEOF
65518 done
65527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65528 $as_echo_n "checking for ldexpl declaration... " >&6; }
65529 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65530 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65531 $as_echo_n "(cached) " >&6
65532 else
65535 ac_ext=cpp
65536 ac_cpp='$CXXCPP $CPPFLAGS'
65537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65542 /* end confdefs.h. */
65543 #include <math.h>
65545 main ()
65547 ldexpl(0, 0);
65549 return 0;
65551 _ACEOF
65552 if ac_fn_cxx_try_compile "$LINENO"; then :
65553 glibcxx_cv_func_ldexpl_use=yes
65554 else
65555 glibcxx_cv_func_ldexpl_use=no
65557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65558 ac_ext=c
65559 ac_cpp='$CPP $CPPFLAGS'
65560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65569 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65571 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65572 for ac_func in ldexpl
65573 do :
65574 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65575 if test "x$ac_cv_func_ldexpl" = xyes; then :
65576 cat >>confdefs.h <<_ACEOF
65577 #define HAVE_LDEXPL 1
65578 _ACEOF
65581 done
65583 else
65585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65586 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65587 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65588 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65589 $as_echo_n "(cached) " >&6
65590 else
65593 ac_ext=cpp
65594 ac_cpp='$CXXCPP $CPPFLAGS'
65595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65600 /* end confdefs.h. */
65601 #include <math.h>
65603 main ()
65605 _ldexpl(0, 0);
65607 return 0;
65609 _ACEOF
65610 if ac_fn_cxx_try_compile "$LINENO"; then :
65611 glibcxx_cv_func__ldexpl_use=yes
65612 else
65613 glibcxx_cv_func__ldexpl_use=no
65615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65616 ac_ext=c
65617 ac_cpp='$CPP $CPPFLAGS'
65618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65627 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65629 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65630 for ac_func in _ldexpl
65631 do :
65632 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65633 if test "x$ac_cv_func__ldexpl" = xyes; then :
65634 cat >>confdefs.h <<_ACEOF
65635 #define HAVE__LDEXPL 1
65636 _ACEOF
65639 done
65648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65649 $as_echo_n "checking for logl declaration... " >&6; }
65650 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65651 if ${glibcxx_cv_func_logl_use+:} false; then :
65652 $as_echo_n "(cached) " >&6
65653 else
65656 ac_ext=cpp
65657 ac_cpp='$CXXCPP $CPPFLAGS'
65658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65663 /* end confdefs.h. */
65664 #include <math.h>
65665 #ifdef HAVE_IEEEFP_H
65666 #include <ieeefp.h>
65667 #endif
65670 main ()
65672 logl(0);
65674 return 0;
65676 _ACEOF
65677 if ac_fn_cxx_try_compile "$LINENO"; then :
65678 glibcxx_cv_func_logl_use=yes
65679 else
65680 glibcxx_cv_func_logl_use=no
65682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65683 ac_ext=c
65684 ac_cpp='$CPP $CPPFLAGS'
65685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65694 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65696 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65697 for ac_func in logl
65698 do :
65699 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65700 if test "x$ac_cv_func_logl" = xyes; then :
65701 cat >>confdefs.h <<_ACEOF
65702 #define HAVE_LOGL 1
65703 _ACEOF
65706 done
65708 else
65710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65711 $as_echo_n "checking for _logl declaration... " >&6; }
65712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65713 if ${glibcxx_cv_func__logl_use+:} false; then :
65714 $as_echo_n "(cached) " >&6
65715 else
65718 ac_ext=cpp
65719 ac_cpp='$CXXCPP $CPPFLAGS'
65720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65725 /* end confdefs.h. */
65726 #include <math.h>
65727 #ifdef HAVE_IEEEFP_H
65728 #include <ieeefp.h>
65729 #endif
65732 main ()
65734 _logl(0);
65736 return 0;
65738 _ACEOF
65739 if ac_fn_cxx_try_compile "$LINENO"; then :
65740 glibcxx_cv_func__logl_use=yes
65741 else
65742 glibcxx_cv_func__logl_use=no
65744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65745 ac_ext=c
65746 ac_cpp='$CPP $CPPFLAGS'
65747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65756 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65758 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65759 for ac_func in _logl
65760 do :
65761 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65762 if test "x$ac_cv_func__logl" = xyes; then :
65763 cat >>confdefs.h <<_ACEOF
65764 #define HAVE__LOGL 1
65765 _ACEOF
65768 done
65777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65778 $as_echo_n "checking for log10l declaration... " >&6; }
65779 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65780 if ${glibcxx_cv_func_log10l_use+:} false; then :
65781 $as_echo_n "(cached) " >&6
65782 else
65785 ac_ext=cpp
65786 ac_cpp='$CXXCPP $CPPFLAGS'
65787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65792 /* end confdefs.h. */
65793 #include <math.h>
65794 #ifdef HAVE_IEEEFP_H
65795 #include <ieeefp.h>
65796 #endif
65799 main ()
65801 log10l(0);
65803 return 0;
65805 _ACEOF
65806 if ac_fn_cxx_try_compile "$LINENO"; then :
65807 glibcxx_cv_func_log10l_use=yes
65808 else
65809 glibcxx_cv_func_log10l_use=no
65811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65812 ac_ext=c
65813 ac_cpp='$CPP $CPPFLAGS'
65814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65823 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65825 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65826 for ac_func in log10l
65827 do :
65828 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65829 if test "x$ac_cv_func_log10l" = xyes; then :
65830 cat >>confdefs.h <<_ACEOF
65831 #define HAVE_LOG10L 1
65832 _ACEOF
65835 done
65837 else
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65840 $as_echo_n "checking for _log10l declaration... " >&6; }
65841 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65842 if ${glibcxx_cv_func__log10l_use+:} false; then :
65843 $as_echo_n "(cached) " >&6
65844 else
65847 ac_ext=cpp
65848 ac_cpp='$CXXCPP $CPPFLAGS'
65849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65854 /* end confdefs.h. */
65855 #include <math.h>
65856 #ifdef HAVE_IEEEFP_H
65857 #include <ieeefp.h>
65858 #endif
65861 main ()
65863 _log10l(0);
65865 return 0;
65867 _ACEOF
65868 if ac_fn_cxx_try_compile "$LINENO"; then :
65869 glibcxx_cv_func__log10l_use=yes
65870 else
65871 glibcxx_cv_func__log10l_use=no
65873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65874 ac_ext=c
65875 ac_cpp='$CPP $CPPFLAGS'
65876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65885 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65887 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65888 for ac_func in _log10l
65889 do :
65890 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65891 if test "x$ac_cv_func__log10l" = xyes; then :
65892 cat >>confdefs.h <<_ACEOF
65893 #define HAVE__LOG10L 1
65894 _ACEOF
65897 done
65906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65907 $as_echo_n "checking for modfl declaration... " >&6; }
65908 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65909 if ${glibcxx_cv_func_modfl_use+:} false; then :
65910 $as_echo_n "(cached) " >&6
65911 else
65914 ac_ext=cpp
65915 ac_cpp='$CXXCPP $CPPFLAGS'
65916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65921 /* end confdefs.h. */
65922 #include <math.h>
65924 main ()
65926 modfl(0, 0);
65928 return 0;
65930 _ACEOF
65931 if ac_fn_cxx_try_compile "$LINENO"; then :
65932 glibcxx_cv_func_modfl_use=yes
65933 else
65934 glibcxx_cv_func_modfl_use=no
65936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65937 ac_ext=c
65938 ac_cpp='$CPP $CPPFLAGS'
65939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65948 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65950 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65951 for ac_func in modfl
65952 do :
65953 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65954 if test "x$ac_cv_func_modfl" = xyes; then :
65955 cat >>confdefs.h <<_ACEOF
65956 #define HAVE_MODFL 1
65957 _ACEOF
65960 done
65962 else
65964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65965 $as_echo_n "checking for _modfl declaration... " >&6; }
65966 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65967 if ${glibcxx_cv_func__modfl_use+:} false; then :
65968 $as_echo_n "(cached) " >&6
65969 else
65972 ac_ext=cpp
65973 ac_cpp='$CXXCPP $CPPFLAGS'
65974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65979 /* end confdefs.h. */
65980 #include <math.h>
65982 main ()
65984 _modfl(0, 0);
65986 return 0;
65988 _ACEOF
65989 if ac_fn_cxx_try_compile "$LINENO"; then :
65990 glibcxx_cv_func__modfl_use=yes
65991 else
65992 glibcxx_cv_func__modfl_use=no
65994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65995 ac_ext=c
65996 ac_cpp='$CPP $CPPFLAGS'
65997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66006 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66008 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66009 for ac_func in _modfl
66010 do :
66011 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66012 if test "x$ac_cv_func__modfl" = xyes; then :
66013 cat >>confdefs.h <<_ACEOF
66014 #define HAVE__MODFL 1
66015 _ACEOF
66018 done
66027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66028 $as_echo_n "checking for powl declaration... " >&6; }
66029 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66030 if ${glibcxx_cv_func_powl_use+:} false; then :
66031 $as_echo_n "(cached) " >&6
66032 else
66035 ac_ext=cpp
66036 ac_cpp='$CXXCPP $CPPFLAGS'
66037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66042 /* end confdefs.h. */
66043 #include <math.h>
66045 main ()
66047 powl(0, 0);
66049 return 0;
66051 _ACEOF
66052 if ac_fn_cxx_try_compile "$LINENO"; then :
66053 glibcxx_cv_func_powl_use=yes
66054 else
66055 glibcxx_cv_func_powl_use=no
66057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66058 ac_ext=c
66059 ac_cpp='$CPP $CPPFLAGS'
66060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66069 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66071 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66072 for ac_func in powl
66073 do :
66074 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66075 if test "x$ac_cv_func_powl" = xyes; then :
66076 cat >>confdefs.h <<_ACEOF
66077 #define HAVE_POWL 1
66078 _ACEOF
66081 done
66083 else
66085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66086 $as_echo_n "checking for _powl declaration... " >&6; }
66087 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66088 if ${glibcxx_cv_func__powl_use+:} false; then :
66089 $as_echo_n "(cached) " >&6
66090 else
66093 ac_ext=cpp
66094 ac_cpp='$CXXCPP $CPPFLAGS'
66095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66100 /* end confdefs.h. */
66101 #include <math.h>
66103 main ()
66105 _powl(0, 0);
66107 return 0;
66109 _ACEOF
66110 if ac_fn_cxx_try_compile "$LINENO"; then :
66111 glibcxx_cv_func__powl_use=yes
66112 else
66113 glibcxx_cv_func__powl_use=no
66115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66116 ac_ext=c
66117 ac_cpp='$CPP $CPPFLAGS'
66118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66127 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66129 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66130 for ac_func in _powl
66131 do :
66132 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66133 if test "x$ac_cv_func__powl" = xyes; then :
66134 cat >>confdefs.h <<_ACEOF
66135 #define HAVE__POWL 1
66136 _ACEOF
66139 done
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66149 $as_echo_n "checking for sqrtl declaration... " >&6; }
66150 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66151 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66152 $as_echo_n "(cached) " >&6
66153 else
66156 ac_ext=cpp
66157 ac_cpp='$CXXCPP $CPPFLAGS'
66158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66163 /* end confdefs.h. */
66164 #include <math.h>
66165 #ifdef HAVE_IEEEFP_H
66166 #include <ieeefp.h>
66167 #endif
66170 main ()
66172 sqrtl(0);
66174 return 0;
66176 _ACEOF
66177 if ac_fn_cxx_try_compile "$LINENO"; then :
66178 glibcxx_cv_func_sqrtl_use=yes
66179 else
66180 glibcxx_cv_func_sqrtl_use=no
66182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66183 ac_ext=c
66184 ac_cpp='$CPP $CPPFLAGS'
66185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66194 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66196 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66197 for ac_func in sqrtl
66198 do :
66199 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66200 if test "x$ac_cv_func_sqrtl" = xyes; then :
66201 cat >>confdefs.h <<_ACEOF
66202 #define HAVE_SQRTL 1
66203 _ACEOF
66206 done
66208 else
66210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66211 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66212 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66213 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66214 $as_echo_n "(cached) " >&6
66215 else
66218 ac_ext=cpp
66219 ac_cpp='$CXXCPP $CPPFLAGS'
66220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66225 /* end confdefs.h. */
66226 #include <math.h>
66227 #ifdef HAVE_IEEEFP_H
66228 #include <ieeefp.h>
66229 #endif
66232 main ()
66234 _sqrtl(0);
66236 return 0;
66238 _ACEOF
66239 if ac_fn_cxx_try_compile "$LINENO"; then :
66240 glibcxx_cv_func__sqrtl_use=yes
66241 else
66242 glibcxx_cv_func__sqrtl_use=no
66244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66245 ac_ext=c
66246 ac_cpp='$CPP $CPPFLAGS'
66247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66256 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66258 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66259 for ac_func in _sqrtl
66260 do :
66261 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66262 if test "x$ac_cv_func__sqrtl" = xyes; then :
66263 cat >>confdefs.h <<_ACEOF
66264 #define HAVE__SQRTL 1
66265 _ACEOF
66268 done
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66278 $as_echo_n "checking for sincosl declaration... " >&6; }
66279 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66280 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66281 $as_echo_n "(cached) " >&6
66282 else
66285 ac_ext=cpp
66286 ac_cpp='$CXXCPP $CPPFLAGS'
66287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66292 /* end confdefs.h. */
66293 #include <math.h>
66295 main ()
66297 sincosl(0, 0, 0);
66299 return 0;
66301 _ACEOF
66302 if ac_fn_cxx_try_compile "$LINENO"; then :
66303 glibcxx_cv_func_sincosl_use=yes
66304 else
66305 glibcxx_cv_func_sincosl_use=no
66307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66308 ac_ext=c
66309 ac_cpp='$CPP $CPPFLAGS'
66310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66319 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66321 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66322 for ac_func in sincosl
66323 do :
66324 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66325 if test "x$ac_cv_func_sincosl" = xyes; then :
66326 cat >>confdefs.h <<_ACEOF
66327 #define HAVE_SINCOSL 1
66328 _ACEOF
66331 done
66333 else
66335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66336 $as_echo_n "checking for _sincosl declaration... " >&6; }
66337 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66338 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66339 $as_echo_n "(cached) " >&6
66340 else
66343 ac_ext=cpp
66344 ac_cpp='$CXXCPP $CPPFLAGS'
66345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66350 /* end confdefs.h. */
66351 #include <math.h>
66353 main ()
66355 _sincosl(0, 0, 0);
66357 return 0;
66359 _ACEOF
66360 if ac_fn_cxx_try_compile "$LINENO"; then :
66361 glibcxx_cv_func__sincosl_use=yes
66362 else
66363 glibcxx_cv_func__sincosl_use=no
66365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66366 ac_ext=c
66367 ac_cpp='$CPP $CPPFLAGS'
66368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66377 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66379 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66380 for ac_func in _sincosl
66381 do :
66382 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66383 if test "x$ac_cv_func__sincosl" = xyes; then :
66384 cat >>confdefs.h <<_ACEOF
66385 #define HAVE__SINCOSL 1
66386 _ACEOF
66389 done
66398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66399 $as_echo_n "checking for finitel declaration... " >&6; }
66400 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66401 if ${glibcxx_cv_func_finitel_use+:} false; then :
66402 $as_echo_n "(cached) " >&6
66403 else
66406 ac_ext=cpp
66407 ac_cpp='$CXXCPP $CPPFLAGS'
66408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66413 /* end confdefs.h. */
66414 #include <math.h>
66415 #ifdef HAVE_IEEEFP_H
66416 #include <ieeefp.h>
66417 #endif
66420 main ()
66422 finitel(0);
66424 return 0;
66426 _ACEOF
66427 if ac_fn_cxx_try_compile "$LINENO"; then :
66428 glibcxx_cv_func_finitel_use=yes
66429 else
66430 glibcxx_cv_func_finitel_use=no
66432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66433 ac_ext=c
66434 ac_cpp='$CPP $CPPFLAGS'
66435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66444 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66446 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66447 for ac_func in finitel
66448 do :
66449 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66450 if test "x$ac_cv_func_finitel" = xyes; then :
66451 cat >>confdefs.h <<_ACEOF
66452 #define HAVE_FINITEL 1
66453 _ACEOF
66456 done
66458 else
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66461 $as_echo_n "checking for _finitel declaration... " >&6; }
66462 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66463 if ${glibcxx_cv_func__finitel_use+:} false; then :
66464 $as_echo_n "(cached) " >&6
66465 else
66468 ac_ext=cpp
66469 ac_cpp='$CXXCPP $CPPFLAGS'
66470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66475 /* end confdefs.h. */
66476 #include <math.h>
66477 #ifdef HAVE_IEEEFP_H
66478 #include <ieeefp.h>
66479 #endif
66482 main ()
66484 _finitel(0);
66486 return 0;
66488 _ACEOF
66489 if ac_fn_cxx_try_compile "$LINENO"; then :
66490 glibcxx_cv_func__finitel_use=yes
66491 else
66492 glibcxx_cv_func__finitel_use=no
66494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66495 ac_ext=c
66496 ac_cpp='$CPP $CPPFLAGS'
66497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66506 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66508 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66509 for ac_func in _finitel
66510 do :
66511 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66512 if test "x$ac_cv_func__finitel" = xyes; then :
66513 cat >>confdefs.h <<_ACEOF
66514 #define HAVE__FINITEL 1
66515 _ACEOF
66518 done
66526 LIBS="$ac_save_LIBS"
66527 CXXFLAGS="$ac_save_CXXFLAGS"
66530 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66531 ac_save_CXXFLAGS="$CXXFLAGS"
66532 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66536 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66537 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66538 if ${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
66553 main ()
66555 at_quick_exit(0);
66557 return 0;
66559 _ACEOF
66560 if ac_fn_cxx_try_compile "$LINENO"; then :
66561 glibcxx_cv_func_at_quick_exit_use=yes
66562 else
66563 glibcxx_cv_func_at_quick_exit_use=no
66565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66566 ac_ext=c
66567 ac_cpp='$CPP $CPPFLAGS'
66568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66577 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66578 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66579 for ac_func in at_quick_exit
66580 do :
66581 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66582 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66583 cat >>confdefs.h <<_ACEOF
66584 #define HAVE_AT_QUICK_EXIT 1
66585 _ACEOF
66588 done
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66594 $as_echo_n "checking for quick_exit declaration... " >&6; }
66595 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66596 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66597 $as_echo_n "(cached) " >&6
66598 else
66601 ac_ext=cpp
66602 ac_cpp='$CXXCPP $CPPFLAGS'
66603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66608 /* end confdefs.h. */
66609 #include <stdlib.h>
66611 main ()
66613 quick_exit(0);
66615 return 0;
66617 _ACEOF
66618 if ac_fn_cxx_try_compile "$LINENO"; then :
66619 glibcxx_cv_func_quick_exit_use=yes
66620 else
66621 glibcxx_cv_func_quick_exit_use=no
66623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66624 ac_ext=c
66625 ac_cpp='$CPP $CPPFLAGS'
66626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66635 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66636 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66637 for ac_func in quick_exit
66638 do :
66639 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66640 if test "x$ac_cv_func_quick_exit" = xyes; then :
66641 cat >>confdefs.h <<_ACEOF
66642 #define HAVE_QUICK_EXIT 1
66643 _ACEOF
66646 done
66651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66652 $as_echo_n "checking for strtold declaration... " >&6; }
66653 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66654 if ${glibcxx_cv_func_strtold_use+:} false; then :
66655 $as_echo_n "(cached) " >&6
66656 else
66659 ac_ext=cpp
66660 ac_cpp='$CXXCPP $CPPFLAGS'
66661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66666 /* end confdefs.h. */
66667 #include <stdlib.h>
66669 main ()
66671 strtold(0, 0);
66673 return 0;
66675 _ACEOF
66676 if ac_fn_cxx_try_compile "$LINENO"; then :
66677 glibcxx_cv_func_strtold_use=yes
66678 else
66679 glibcxx_cv_func_strtold_use=no
66681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66682 ac_ext=c
66683 ac_cpp='$CPP $CPPFLAGS'
66684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66693 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66694 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66695 for ac_func in strtold
66696 do :
66697 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66698 if test "x$ac_cv_func_strtold" = xyes; then :
66699 cat >>confdefs.h <<_ACEOF
66700 #define HAVE_STRTOLD 1
66701 _ACEOF
66704 done
66711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66712 $as_echo_n "checking for strtof declaration... " >&6; }
66713 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66714 if ${glibcxx_cv_func_strtof_use+:} false; then :
66715 $as_echo_n "(cached) " >&6
66716 else
66719 ac_ext=cpp
66720 ac_cpp='$CXXCPP $CPPFLAGS'
66721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66726 /* end confdefs.h. */
66727 #include <stdlib.h>
66729 main ()
66731 strtof(0, 0);
66733 return 0;
66735 _ACEOF
66736 if ac_fn_cxx_try_compile "$LINENO"; then :
66737 glibcxx_cv_func_strtof_use=yes
66738 else
66739 glibcxx_cv_func_strtof_use=no
66741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66742 ac_ext=c
66743 ac_cpp='$CPP $CPPFLAGS'
66744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66753 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66754 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66755 for ac_func in strtof
66756 do :
66757 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66758 if test "x$ac_cv_func_strtof" = xyes; then :
66759 cat >>confdefs.h <<_ACEOF
66760 #define HAVE_STRTOF 1
66761 _ACEOF
66764 done
66771 CXXFLAGS="$ac_save_CXXFLAGS"
66774 *-vxworks*)
66775 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
66777 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
66779 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
66781 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
66783 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
66785 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66787 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66789 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
66791 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
66793 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
66795 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
66797 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
66799 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66801 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66803 $as_echo "#define HAVE_POWF 1" >>confdefs.h
66805 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66807 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66809 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
66811 $as_echo "#define HAVE_TANF 1" >>confdefs.h
66813 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
66819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
66820 $as_echo_n "checking for acosl declaration... " >&6; }
66821 if ${glibcxx_cv_func_acosl_use+:} false; then :
66822 $as_echo_n "(cached) " >&6
66823 else
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66833 /* end confdefs.h. */
66835 #include <math.h>
66836 #ifdef HAVE_IEEEFP_H
66837 # include <ieeefp.h>
66838 #endif
66839 #undef acosl
66842 main ()
66845 void (*f)(void) = (void (*)(void))acosl;
66848 return 0;
66850 _ACEOF
66851 if ac_fn_c_try_compile "$LINENO"; then :
66852 glibcxx_cv_func_acosl_use=yes
66854 else
66855 glibcxx_cv_func_acosl_use=no
66857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
66860 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
66861 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
66862 cat >>confdefs.h <<_ACEOF
66863 #define HAVE_ACOSL 1
66864 _ACEOF
66870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
66871 $as_echo_n "checking for asinl declaration... " >&6; }
66872 if ${glibcxx_cv_func_asinl_use+:} false; then :
66873 $as_echo_n "(cached) " >&6
66874 else
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h. */
66886 #include <math.h>
66887 #ifdef HAVE_IEEEFP_H
66888 # include <ieeefp.h>
66889 #endif
66890 #undef asinl
66893 main ()
66896 void (*f)(void) = (void (*)(void))asinl;
66899 return 0;
66901 _ACEOF
66902 if ac_fn_c_try_compile "$LINENO"; then :
66903 glibcxx_cv_func_asinl_use=yes
66905 else
66906 glibcxx_cv_func_asinl_use=no
66908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
66911 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
66912 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
66913 cat >>confdefs.h <<_ACEOF
66914 #define HAVE_ASINL 1
66915 _ACEOF
66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66922 $as_echo_n "checking for atan2l declaration... " >&6; }
66923 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66924 $as_echo_n "(cached) " >&6
66925 else
66928 ac_ext=c
66929 ac_cpp='$CPP $CPPFLAGS'
66930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66935 /* end confdefs.h. */
66937 #include <math.h>
66938 #ifdef HAVE_IEEEFP_H
66939 # include <ieeefp.h>
66940 #endif
66941 #undef atan2l
66944 main ()
66947 void (*f)(void) = (void (*)(void))atan2l;
66950 return 0;
66952 _ACEOF
66953 if ac_fn_c_try_compile "$LINENO"; then :
66954 glibcxx_cv_func_atan2l_use=yes
66956 else
66957 glibcxx_cv_func_atan2l_use=no
66959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66963 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
66964 cat >>confdefs.h <<_ACEOF
66965 #define HAVE_ATAN2L 1
66966 _ACEOF
66972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
66973 $as_echo_n "checking for atanl declaration... " >&6; }
66974 if ${glibcxx_cv_func_atanl_use+:} false; then :
66975 $as_echo_n "(cached) " >&6
66976 else
66979 ac_ext=c
66980 ac_cpp='$CPP $CPPFLAGS'
66981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66986 /* end confdefs.h. */
66988 #include <math.h>
66989 #ifdef HAVE_IEEEFP_H
66990 # include <ieeefp.h>
66991 #endif
66992 #undef atanl
66995 main ()
66998 void (*f)(void) = (void (*)(void))atanl;
67001 return 0;
67003 _ACEOF
67004 if ac_fn_c_try_compile "$LINENO"; then :
67005 glibcxx_cv_func_atanl_use=yes
67007 else
67008 glibcxx_cv_func_atanl_use=no
67010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67013 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67014 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67015 cat >>confdefs.h <<_ACEOF
67016 #define HAVE_ATANL 1
67017 _ACEOF
67023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67024 $as_echo_n "checking for ceill declaration... " >&6; }
67025 if ${glibcxx_cv_func_ceill_use+:} false; then :
67026 $as_echo_n "(cached) " >&6
67027 else
67030 ac_ext=c
67031 ac_cpp='$CPP $CPPFLAGS'
67032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67037 /* end confdefs.h. */
67039 #include <math.h>
67040 #ifdef HAVE_IEEEFP_H
67041 # include <ieeefp.h>
67042 #endif
67043 #undef ceill
67046 main ()
67049 void (*f)(void) = (void (*)(void))ceill;
67052 return 0;
67054 _ACEOF
67055 if ac_fn_c_try_compile "$LINENO"; then :
67056 glibcxx_cv_func_ceill_use=yes
67058 else
67059 glibcxx_cv_func_ceill_use=no
67061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67064 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67065 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67066 cat >>confdefs.h <<_ACEOF
67067 #define HAVE_CEILL 1
67068 _ACEOF
67074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67075 $as_echo_n "checking for cosl declaration... " >&6; }
67076 if ${glibcxx_cv_func_cosl_use+:} false; then :
67077 $as_echo_n "(cached) " >&6
67078 else
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67088 /* end confdefs.h. */
67090 #include <math.h>
67091 #ifdef HAVE_IEEEFP_H
67092 # include <ieeefp.h>
67093 #endif
67094 #undef cosl
67097 main ()
67100 void (*f)(void) = (void (*)(void))cosl;
67103 return 0;
67105 _ACEOF
67106 if ac_fn_c_try_compile "$LINENO"; then :
67107 glibcxx_cv_func_cosl_use=yes
67109 else
67110 glibcxx_cv_func_cosl_use=no
67112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67115 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67116 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67117 cat >>confdefs.h <<_ACEOF
67118 #define HAVE_COSL 1
67119 _ACEOF
67125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67126 $as_echo_n "checking for coshl declaration... " >&6; }
67127 if ${glibcxx_cv_func_coshl_use+:} false; then :
67128 $as_echo_n "(cached) " >&6
67129 else
67132 ac_ext=c
67133 ac_cpp='$CPP $CPPFLAGS'
67134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67139 /* end confdefs.h. */
67141 #include <math.h>
67142 #ifdef HAVE_IEEEFP_H
67143 # include <ieeefp.h>
67144 #endif
67145 #undef coshl
67148 main ()
67151 void (*f)(void) = (void (*)(void))coshl;
67154 return 0;
67156 _ACEOF
67157 if ac_fn_c_try_compile "$LINENO"; then :
67158 glibcxx_cv_func_coshl_use=yes
67160 else
67161 glibcxx_cv_func_coshl_use=no
67163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67166 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67167 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67168 cat >>confdefs.h <<_ACEOF
67169 #define HAVE_COSHL 1
67170 _ACEOF
67176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67177 $as_echo_n "checking for expl declaration... " >&6; }
67178 if ${glibcxx_cv_func_expl_use+:} false; then :
67179 $as_echo_n "(cached) " >&6
67180 else
67183 ac_ext=c
67184 ac_cpp='$CPP $CPPFLAGS'
67185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67190 /* end confdefs.h. */
67192 #include <math.h>
67193 #ifdef HAVE_IEEEFP_H
67194 # include <ieeefp.h>
67195 #endif
67196 #undef expl
67199 main ()
67202 void (*f)(void) = (void (*)(void))expl;
67205 return 0;
67207 _ACEOF
67208 if ac_fn_c_try_compile "$LINENO"; then :
67209 glibcxx_cv_func_expl_use=yes
67211 else
67212 glibcxx_cv_func_expl_use=no
67214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67217 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67218 if test "x$glibcxx_cv_func_expl_use" = xyes; then
67219 cat >>confdefs.h <<_ACEOF
67220 #define HAVE_EXPL 1
67221 _ACEOF
67227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67228 $as_echo_n "checking for fabsl declaration... " >&6; }
67229 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67230 $as_echo_n "(cached) " >&6
67231 else
67234 ac_ext=c
67235 ac_cpp='$CPP $CPPFLAGS'
67236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67241 /* end confdefs.h. */
67243 #include <math.h>
67244 #ifdef HAVE_IEEEFP_H
67245 # include <ieeefp.h>
67246 #endif
67247 #undef fabsl
67250 main ()
67253 void (*f)(void) = (void (*)(void))fabsl;
67256 return 0;
67258 _ACEOF
67259 if ac_fn_c_try_compile "$LINENO"; then :
67260 glibcxx_cv_func_fabsl_use=yes
67262 else
67263 glibcxx_cv_func_fabsl_use=no
67265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67268 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67269 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67270 cat >>confdefs.h <<_ACEOF
67271 #define HAVE_FABSL 1
67272 _ACEOF
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67279 $as_echo_n "checking for floorl declaration... " >&6; }
67280 if ${glibcxx_cv_func_floorl_use+:} false; then :
67281 $as_echo_n "(cached) " >&6
67282 else
67285 ac_ext=c
67286 ac_cpp='$CPP $CPPFLAGS'
67287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67292 /* end confdefs.h. */
67294 #include <math.h>
67295 #ifdef HAVE_IEEEFP_H
67296 # include <ieeefp.h>
67297 #endif
67298 #undef floorl
67301 main ()
67304 void (*f)(void) = (void (*)(void))floorl;
67307 return 0;
67309 _ACEOF
67310 if ac_fn_c_try_compile "$LINENO"; then :
67311 glibcxx_cv_func_floorl_use=yes
67313 else
67314 glibcxx_cv_func_floorl_use=no
67316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67319 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67320 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67321 cat >>confdefs.h <<_ACEOF
67322 #define HAVE_FLOORL 1
67323 _ACEOF
67329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67330 $as_echo_n "checking for fmodl declaration... " >&6; }
67331 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67332 $as_echo_n "(cached) " >&6
67333 else
67336 ac_ext=c
67337 ac_cpp='$CPP $CPPFLAGS'
67338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67343 /* end confdefs.h. */
67345 #include <math.h>
67346 #ifdef HAVE_IEEEFP_H
67347 # include <ieeefp.h>
67348 #endif
67349 #undef fmodl
67352 main ()
67355 void (*f)(void) = (void (*)(void))fmodl;
67358 return 0;
67360 _ACEOF
67361 if ac_fn_c_try_compile "$LINENO"; then :
67362 glibcxx_cv_func_fmodl_use=yes
67364 else
67365 glibcxx_cv_func_fmodl_use=no
67367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67370 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67371 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67372 cat >>confdefs.h <<_ACEOF
67373 #define HAVE_FMODL 1
67374 _ACEOF
67380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67381 $as_echo_n "checking for frexpl declaration... " >&6; }
67382 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67383 $as_echo_n "(cached) " >&6
67384 else
67387 ac_ext=c
67388 ac_cpp='$CPP $CPPFLAGS'
67389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67394 /* end confdefs.h. */
67396 #include <math.h>
67397 #ifdef HAVE_IEEEFP_H
67398 # include <ieeefp.h>
67399 #endif
67400 #undef frexpl
67403 main ()
67406 void (*f)(void) = (void (*)(void))frexpl;
67409 return 0;
67411 _ACEOF
67412 if ac_fn_c_try_compile "$LINENO"; then :
67413 glibcxx_cv_func_frexpl_use=yes
67415 else
67416 glibcxx_cv_func_frexpl_use=no
67418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67421 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67422 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67423 cat >>confdefs.h <<_ACEOF
67424 #define HAVE_FREXPL 1
67425 _ACEOF
67431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67432 $as_echo_n "checking for ldexpl declaration... " >&6; }
67433 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67434 $as_echo_n "(cached) " >&6
67435 else
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67445 /* end confdefs.h. */
67447 #include <math.h>
67448 #ifdef HAVE_IEEEFP_H
67449 # include <ieeefp.h>
67450 #endif
67451 #undef ldexpl
67454 main ()
67457 void (*f)(void) = (void (*)(void))ldexpl;
67460 return 0;
67462 _ACEOF
67463 if ac_fn_c_try_compile "$LINENO"; then :
67464 glibcxx_cv_func_ldexpl_use=yes
67466 else
67467 glibcxx_cv_func_ldexpl_use=no
67469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67472 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67473 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
67474 cat >>confdefs.h <<_ACEOF
67475 #define HAVE_LDEXPL 1
67476 _ACEOF
67482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67483 $as_echo_n "checking for log10l declaration... " >&6; }
67484 if ${glibcxx_cv_func_log10l_use+:} false; then :
67485 $as_echo_n "(cached) " >&6
67486 else
67489 ac_ext=c
67490 ac_cpp='$CPP $CPPFLAGS'
67491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67496 /* end confdefs.h. */
67498 #include <math.h>
67499 #ifdef HAVE_IEEEFP_H
67500 # include <ieeefp.h>
67501 #endif
67502 #undef log10l
67505 main ()
67508 void (*f)(void) = (void (*)(void))log10l;
67511 return 0;
67513 _ACEOF
67514 if ac_fn_c_try_compile "$LINENO"; then :
67515 glibcxx_cv_func_log10l_use=yes
67517 else
67518 glibcxx_cv_func_log10l_use=no
67520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67523 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67524 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_LOG10L 1
67527 _ACEOF
67533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67534 $as_echo_n "checking for logl declaration... " >&6; }
67535 if ${glibcxx_cv_func_logl_use+:} false; then :
67536 $as_echo_n "(cached) " >&6
67537 else
67540 ac_ext=c
67541 ac_cpp='$CPP $CPPFLAGS'
67542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67547 /* end confdefs.h. */
67549 #include <math.h>
67550 #ifdef HAVE_IEEEFP_H
67551 # include <ieeefp.h>
67552 #endif
67553 #undef logl
67556 main ()
67559 void (*f)(void) = (void (*)(void))logl;
67562 return 0;
67564 _ACEOF
67565 if ac_fn_c_try_compile "$LINENO"; then :
67566 glibcxx_cv_func_logl_use=yes
67568 else
67569 glibcxx_cv_func_logl_use=no
67571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67574 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67575 if test "x$glibcxx_cv_func_logl_use" = xyes; then
67576 cat >>confdefs.h <<_ACEOF
67577 #define HAVE_LOGL 1
67578 _ACEOF
67584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67585 $as_echo_n "checking for modfl declaration... " >&6; }
67586 if ${glibcxx_cv_func_modfl_use+:} false; then :
67587 $as_echo_n "(cached) " >&6
67588 else
67591 ac_ext=c
67592 ac_cpp='$CPP $CPPFLAGS'
67593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67598 /* end confdefs.h. */
67600 #include <math.h>
67601 #ifdef HAVE_IEEEFP_H
67602 # include <ieeefp.h>
67603 #endif
67604 #undef modfl
67607 main ()
67610 void (*f)(void) = (void (*)(void))modfl;
67613 return 0;
67615 _ACEOF
67616 if ac_fn_c_try_compile "$LINENO"; then :
67617 glibcxx_cv_func_modfl_use=yes
67619 else
67620 glibcxx_cv_func_modfl_use=no
67622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67625 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67626 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
67627 cat >>confdefs.h <<_ACEOF
67628 #define HAVE_MODFL 1
67629 _ACEOF
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67636 $as_echo_n "checking for powl declaration... " >&6; }
67637 if ${glibcxx_cv_func_powl_use+:} false; then :
67638 $as_echo_n "(cached) " >&6
67639 else
67642 ac_ext=c
67643 ac_cpp='$CPP $CPPFLAGS'
67644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67649 /* end confdefs.h. */
67651 #include <math.h>
67652 #ifdef HAVE_IEEEFP_H
67653 # include <ieeefp.h>
67654 #endif
67655 #undef powl
67658 main ()
67661 void (*f)(void) = (void (*)(void))powl;
67664 return 0;
67666 _ACEOF
67667 if ac_fn_c_try_compile "$LINENO"; then :
67668 glibcxx_cv_func_powl_use=yes
67670 else
67671 glibcxx_cv_func_powl_use=no
67673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67676 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67677 if test "x$glibcxx_cv_func_powl_use" = xyes; then
67678 cat >>confdefs.h <<_ACEOF
67679 #define HAVE_POWL 1
67680 _ACEOF
67686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
67687 $as_echo_n "checking for sinl declaration... " >&6; }
67688 if ${glibcxx_cv_func_sinl_use+:} false; then :
67689 $as_echo_n "(cached) " >&6
67690 else
67693 ac_ext=c
67694 ac_cpp='$CPP $CPPFLAGS'
67695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67700 /* end confdefs.h. */
67702 #include <math.h>
67703 #ifdef HAVE_IEEEFP_H
67704 # include <ieeefp.h>
67705 #endif
67706 #undef sinl
67709 main ()
67712 void (*f)(void) = (void (*)(void))sinl;
67715 return 0;
67717 _ACEOF
67718 if ac_fn_c_try_compile "$LINENO"; then :
67719 glibcxx_cv_func_sinl_use=yes
67721 else
67722 glibcxx_cv_func_sinl_use=no
67724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
67727 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
67728 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
67729 cat >>confdefs.h <<_ACEOF
67730 #define HAVE_SINL 1
67731 _ACEOF
67737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
67738 $as_echo_n "checking for sinhl declaration... " >&6; }
67739 if ${glibcxx_cv_func_sinhl_use+:} false; then :
67740 $as_echo_n "(cached) " >&6
67741 else
67744 ac_ext=c
67745 ac_cpp='$CPP $CPPFLAGS'
67746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67751 /* end confdefs.h. */
67753 #include <math.h>
67754 #ifdef HAVE_IEEEFP_H
67755 # include <ieeefp.h>
67756 #endif
67757 #undef sinhl
67760 main ()
67763 void (*f)(void) = (void (*)(void))sinhl;
67766 return 0;
67768 _ACEOF
67769 if ac_fn_c_try_compile "$LINENO"; then :
67770 glibcxx_cv_func_sinhl_use=yes
67772 else
67773 glibcxx_cv_func_sinhl_use=no
67775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
67778 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
67779 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
67780 cat >>confdefs.h <<_ACEOF
67781 #define HAVE_SINHL 1
67782 _ACEOF
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67789 $as_echo_n "checking for sqrtl declaration... " >&6; }
67790 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67791 $as_echo_n "(cached) " >&6
67792 else
67795 ac_ext=c
67796 ac_cpp='$CPP $CPPFLAGS'
67797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67802 /* end confdefs.h. */
67804 #include <math.h>
67805 #ifdef HAVE_IEEEFP_H
67806 # include <ieeefp.h>
67807 #endif
67808 #undef sqrtl
67811 main ()
67814 void (*f)(void) = (void (*)(void))sqrtl;
67817 return 0;
67819 _ACEOF
67820 if ac_fn_c_try_compile "$LINENO"; then :
67821 glibcxx_cv_func_sqrtl_use=yes
67823 else
67824 glibcxx_cv_func_sqrtl_use=no
67826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
67829 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
67830 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
67831 cat >>confdefs.h <<_ACEOF
67832 #define HAVE_SQRTL 1
67833 _ACEOF
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
67840 $as_echo_n "checking for tanl declaration... " >&6; }
67841 if ${glibcxx_cv_func_tanl_use+:} false; then :
67842 $as_echo_n "(cached) " >&6
67843 else
67846 ac_ext=c
67847 ac_cpp='$CPP $CPPFLAGS'
67848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67853 /* end confdefs.h. */
67855 #include <math.h>
67856 #ifdef HAVE_IEEEFP_H
67857 # include <ieeefp.h>
67858 #endif
67859 #undef tanl
67862 main ()
67865 void (*f)(void) = (void (*)(void))tanl;
67868 return 0;
67870 _ACEOF
67871 if ac_fn_c_try_compile "$LINENO"; then :
67872 glibcxx_cv_func_tanl_use=yes
67874 else
67875 glibcxx_cv_func_tanl_use=no
67877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
67880 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
67881 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
67882 cat >>confdefs.h <<_ACEOF
67883 #define HAVE_TANL 1
67884 _ACEOF
67890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
67891 $as_echo_n "checking for tanhl declaration... " >&6; }
67892 if ${glibcxx_cv_func_tanhl_use+:} false; then :
67893 $as_echo_n "(cached) " >&6
67894 else
67897 ac_ext=c
67898 ac_cpp='$CPP $CPPFLAGS'
67899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67904 /* end confdefs.h. */
67906 #include <math.h>
67907 #ifdef HAVE_IEEEFP_H
67908 # include <ieeefp.h>
67909 #endif
67910 #undef tanhl
67913 main ()
67916 void (*f)(void) = (void (*)(void))tanhl;
67919 return 0;
67921 _ACEOF
67922 if ac_fn_c_try_compile "$LINENO"; then :
67923 glibcxx_cv_func_tanhl_use=yes
67925 else
67926 glibcxx_cv_func_tanhl_use=no
67928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
67931 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
67932 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
67933 cat >>confdefs.h <<_ACEOF
67934 #define HAVE_TANHL 1
67935 _ACEOF
67941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67942 $as_echo_n "checking for hypotl declaration... " >&6; }
67943 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67944 $as_echo_n "(cached) " >&6
67945 else
67948 ac_ext=c
67949 ac_cpp='$CPP $CPPFLAGS'
67950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67955 /* end confdefs.h. */
67957 #include <math.h>
67958 #ifdef HAVE_IEEEFP_H
67959 # include <ieeefp.h>
67960 #endif
67961 #undef hypotl
67964 main ()
67967 void (*f)(void) = (void (*)(void))hypotl;
67970 return 0;
67972 _ACEOF
67973 if ac_fn_c_try_compile "$LINENO"; then :
67974 glibcxx_cv_func_hypotl_use=yes
67976 else
67977 glibcxx_cv_func_hypotl_use=no
67979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67983 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
67984 cat >>confdefs.h <<_ACEOF
67985 #define HAVE_HYPOTL 1
67986 _ACEOF
67992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67993 $as_echo_n "checking for ldexpf declaration... " >&6; }
67994 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
67995 $as_echo_n "(cached) " >&6
67996 else
67999 ac_ext=c
68000 ac_cpp='$CPP $CPPFLAGS'
68001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68006 /* end confdefs.h. */
68008 #include <math.h>
68009 #ifdef HAVE_IEEEFP_H
68010 # include <ieeefp.h>
68011 #endif
68012 #undef ldexpf
68015 main ()
68018 void (*f)(void) = (void (*)(void))ldexpf;
68021 return 0;
68023 _ACEOF
68024 if ac_fn_c_try_compile "$LINENO"; then :
68025 glibcxx_cv_func_ldexpf_use=yes
68027 else
68028 glibcxx_cv_func_ldexpf_use=no
68030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68033 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68034 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68035 cat >>confdefs.h <<_ACEOF
68036 #define HAVE_LDEXPF 1
68037 _ACEOF
68043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68044 $as_echo_n "checking for modff declaration... " >&6; }
68045 if ${glibcxx_cv_func_modff_use+:} false; then :
68046 $as_echo_n "(cached) " >&6
68047 else
68050 ac_ext=c
68051 ac_cpp='$CPP $CPPFLAGS'
68052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68057 /* end confdefs.h. */
68059 #include <math.h>
68060 #ifdef HAVE_IEEEFP_H
68061 # include <ieeefp.h>
68062 #endif
68063 #undef modff
68066 main ()
68069 void (*f)(void) = (void (*)(void))modff;
68072 return 0;
68074 _ACEOF
68075 if ac_fn_c_try_compile "$LINENO"; then :
68076 glibcxx_cv_func_modff_use=yes
68078 else
68079 glibcxx_cv_func_modff_use=no
68081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68084 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68085 if test "x$glibcxx_cv_func_modff_use" = xyes; then
68086 cat >>confdefs.h <<_ACEOF
68087 #define HAVE_MODFF 1
68088 _ACEOF
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68095 $as_echo_n "checking for hypotf declaration... " >&6; }
68096 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68097 $as_echo_n "(cached) " >&6
68098 else
68101 ac_ext=c
68102 ac_cpp='$CPP $CPPFLAGS'
68103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68108 /* end confdefs.h. */
68110 #include <math.h>
68111 #ifdef HAVE_IEEEFP_H
68112 # include <ieeefp.h>
68113 #endif
68114 #undef hypotf
68117 main ()
68120 void (*f)(void) = (void (*)(void))hypotf;
68123 return 0;
68125 _ACEOF
68126 if ac_fn_c_try_compile "$LINENO"; then :
68127 glibcxx_cv_func_hypotf_use=yes
68129 else
68130 glibcxx_cv_func_hypotf_use=no
68132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68135 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68136 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68137 cat >>confdefs.h <<_ACEOF
68138 #define HAVE_HYPOTF 1
68139 _ACEOF
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68146 $as_echo_n "checking for frexpf declaration... " >&6; }
68147 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68148 $as_echo_n "(cached) " >&6
68149 else
68152 ac_ext=c
68153 ac_cpp='$CPP $CPPFLAGS'
68154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68159 /* end confdefs.h. */
68161 #include <math.h>
68162 #ifdef HAVE_IEEEFP_H
68163 # include <ieeefp.h>
68164 #endif
68165 #undef frexpf
68168 main ()
68171 void (*f)(void) = (void (*)(void))frexpf;
68174 return 0;
68176 _ACEOF
68177 if ac_fn_c_try_compile "$LINENO"; then :
68178 glibcxx_cv_func_frexpf_use=yes
68180 else
68181 glibcxx_cv_func_frexpf_use=no
68183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68186 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68187 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68188 cat >>confdefs.h <<_ACEOF
68189 #define HAVE_FREXPF 1
68190 _ACEOF
68198 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68200 esac
68204 # At some point, we should differentiate between architectures
68205 # like x86, which have long double versions, and alpha/powerpc/etc.,
68206 # which don't. For the time being, punt.
68207 if test x"long_double_math_on_this_cpu" = x"yes"; then
68208 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68210 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68212 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68214 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68216 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68218 $as_echo "#define HAVE_COSL 1" >>confdefs.h
68220 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68222 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68224 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68226 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68228 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68230 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68232 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68234 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68236 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68238 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68240 $as_echo "#define HAVE_POWL 1" >>confdefs.h
68242 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68244 $as_echo "#define HAVE_SINL 1" >>confdefs.h
68246 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68248 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68250 $as_echo "#define HAVE_TANL 1" >>confdefs.h
68252 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68257 # Check for _Unwind_GetIPInfo.
68260 # Check whether --with-system-libunwind was given.
68261 if test "${with_system_libunwind+set}" = set; then :
68262 withval=$with_system_libunwind;
68265 # If system-libunwind was not specifically set, pick a default setting.
68266 if test x$with_system_libunwind = x; then
68267 case ${target} in
68268 ia64-*-hpux*) with_system_libunwind=yes ;;
68269 *) with_system_libunwind=no ;;
68270 esac
68272 # Based on system-libunwind and target, do we have ipinfo?
68273 if test x$with_system_libunwind = xyes; then
68274 case ${target} in
68275 ia64-*-*) have_unwind_getipinfo=no ;;
68276 *) have_unwind_getipinfo=yes ;;
68277 esac
68278 else
68279 # Darwin before version 9 does not have _Unwind_GetIPInfo.
68281 case ${target} in
68282 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68283 *) have_unwind_getipinfo=yes ;;
68284 esac
68288 if test x$have_unwind_getipinfo = xyes; then
68290 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68295 # Check whether --enable-linux-futex was given.
68296 if test "${enable_linux_futex+set}" = set; then :
68297 enableval=$enable_linux_futex;
68298 case "$enableval" in
68299 yes|no|default) ;;
68300 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68301 esac
68303 else
68304 enable_linux_futex=default
68308 case "$target" in
68309 *-linux* | *-uclinux*)
68310 case "$enable_linux_futex" in
68311 default)
68312 # If headers don't have gettid/futex syscalls definition, then
68313 # default to no, otherwise there will be compile time failures.
68314 # Otherwise, default to yes. If we don't detect we are
68315 # compiled/linked against NPTL and not cross-compiling, check
68316 # if programs are run by default against NPTL and if not, issue
68317 # a warning.
68318 enable_linux_futex=no
68319 if test x$gcc_no_link = xyes; then
68320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68323 /* end confdefs.h. */
68324 #include <sys/syscall.h>
68325 #include <unistd.h>
68326 int lk;
68328 main ()
68330 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68332 return 0;
68334 _ACEOF
68335 if ac_fn_c_try_link "$LINENO"; then :
68336 save_LIBS="$LIBS"
68337 LIBS="-lpthread $LIBS"
68338 if test x$gcc_no_link = xyes; then
68339 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68342 /* end confdefs.h. */
68343 #ifndef _GNU_SOURCE
68344 #define _GNU_SOURCE 1
68345 #endif
68346 #include <pthread.h>
68347 pthread_t th; void *status;
68349 main ()
68351 pthread_tryjoin_np (th, &status);
68353 return 0;
68355 _ACEOF
68356 if ac_fn_c_try_link "$LINENO"; then :
68357 enable_linux_futex=yes
68358 else
68359 if test x$cross_compiling = xno; then
68360 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68361 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68363 If so, please configure with --disable-linux-futex" >&5
68364 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68365 If so, please configure with --disable-linux-futex" >&2;}
68368 enable_linux_futex=yes
68370 rm -f core conftest.err conftest.$ac_objext \
68371 conftest$ac_exeext conftest.$ac_ext
68372 LIBS="$save_LIBS"
68374 rm -f core conftest.err conftest.$ac_objext \
68375 conftest$ac_exeext conftest.$ac_ext
68377 yes)
68378 if test x$gcc_no_link = xyes; then
68379 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68382 /* end confdefs.h. */
68383 #include <sys/syscall.h>
68384 #include <unistd.h>
68385 int lk;
68387 main ()
68389 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68391 return 0;
68393 _ACEOF
68394 if ac_fn_c_try_link "$LINENO"; then :
68396 else
68397 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68399 rm -f core conftest.err conftest.$ac_objext \
68400 conftest$ac_exeext conftest.$ac_ext
68402 esac
68405 enable_linux_futex=no
68407 esac
68408 if test x$enable_linux_futex = xyes; then
68410 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68417 $as_echo_n "checking for GNU c++filt... " >&6; }
68418 if ${ac_cv_path_CXXFILT+:} false; then :
68419 $as_echo_n "(cached) " >&6
68420 else
68421 if test -z "$CXXFILT"; then
68422 ac_path_CXXFILT_found=false
68423 # Loop through the user's path and test for each of PROGNAME-LIST
68424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68425 for as_dir in $PATH
68427 IFS=$as_save_IFS
68428 test -z "$as_dir" && as_dir=.
68429 for ac_prog in c++filt gc++filt; do
68430 for ac_exec_ext in '' $ac_executable_extensions; do
68431 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68432 as_fn_executable_p "$ac_path_CXXFILT" || continue
68433 # Check for GNU $ac_path_CXXFILT
68434 case `"$ac_path_CXXFILT" --version 2>&1` in
68435 *GNU*)
68436 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68437 esac
68439 $ac_path_CXXFILT_found && break 3
68440 done
68441 done
68442 done
68443 IFS=$as_save_IFS
68444 if test -z "$ac_cv_path_CXXFILT"; then
68447 else
68448 ac_cv_path_CXXFILT=$CXXFILT
68452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68453 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68454 CXXFILT=$ac_cv_path_CXXFILT
68458 # Check whether --enable-symvers was given.
68459 if test "${enable_symvers+set}" = set; then :
68460 enableval=$enable_symvers;
68461 case "$enableval" in
68462 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68463 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68464 esac
68466 else
68467 enable_symvers=yes
68472 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68473 # don't know enough about $LD to do tricks...
68475 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
68476 # with extern "C++" in version scripts.
68479 # Turn a 'yes' into a suitable default.
68480 if test x$enable_symvers = xyes ; then
68481 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
68482 enable_symvers=no
68483 else
68484 if test $with_gnu_ld = yes ; then
68485 case ${target_os} in
68486 hpux*)
68487 enable_symvers=no ;;
68489 enable_symvers=gnu ;;
68490 esac
68491 else
68492 case ${target_os} in
68493 darwin*)
68494 enable_symvers=darwin ;;
68495 # Sun symbol versioning exists since Solaris 2.5.
68496 solaris2.[5-9]* | solaris2.1[0-9]*)
68497 # make_sunver.pl needs GNU c++filt to support extern "C++" in
68498 # version scripts, so disable symbol versioning if none can be
68499 # found.
68500 if test -z "$ac_cv_path_CXXFILT"; then
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68502 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
68504 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
68505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68506 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68507 enable_symvers=no
68508 else
68509 enable_symvers=sun
68513 enable_symvers=no ;;
68514 esac
68519 # Check to see if 'darwin' or 'darwin-export' can win.
68520 if test x$enable_symvers = xdarwin-export ; then
68521 enable_symvers=darwin
68524 # Check if 'sun' was requested on non-Solaris 2 platforms.
68525 if test x$enable_symvers = xsun ; then
68526 case ${target_os} in
68527 solaris2*)
68528 # All fine.
68531 # Unlikely to work.
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68533 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
68535 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
68536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68537 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68538 enable_symvers=no
68540 esac
68543 # Check to see if 'gnu' can win.
68544 if test $enable_symvers = gnu ||
68545 test $enable_symvers = gnu-versioned-namespace ||
68546 test $enable_symvers = sun; then
68547 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
68548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
68549 $as_echo_n "checking for shared libgcc... " >&6; }
68550 ac_save_CFLAGS="$CFLAGS"
68551 CFLAGS=' -lgcc_s'
68552 if test x$gcc_no_link = xyes; then
68553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68556 /* end confdefs.h. */
68559 main ()
68561 return 0;
68563 return 0;
68565 _ACEOF
68566 if ac_fn_c_try_link "$LINENO"; then :
68567 glibcxx_shared_libgcc=yes
68568 else
68569 glibcxx_shared_libgcc=no
68571 rm -f core conftest.err conftest.$ac_objext \
68572 conftest$ac_exeext conftest.$ac_ext
68573 CFLAGS="$ac_save_CFLAGS"
68574 if test $glibcxx_shared_libgcc = no; then
68575 cat > conftest.c <<EOF
68576 int main (void) { return 0; }
68578 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
68579 -shared -shared-libgcc -o conftest.so \
68580 conftest.c -v 2>&1 >/dev/null \
68581 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
68582 rm -f conftest.c conftest.so
68583 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
68584 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
68585 if test x$gcc_no_link = xyes; then
68586 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68592 main ()
68594 return 0;
68596 return 0;
68598 _ACEOF
68599 if ac_fn_c_try_link "$LINENO"; then :
68600 glibcxx_shared_libgcc=yes
68602 rm -f core conftest.err conftest.$ac_objext \
68603 conftest$ac_exeext conftest.$ac_ext
68604 CFLAGS="$ac_save_CFLAGS"
68607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
68608 $as_echo "$glibcxx_shared_libgcc" >&6; }
68610 # For GNU ld, we need at least this version. The format is described in
68611 # GLIBCXX_CHECK_LINKER_FEATURES above.
68612 glibcxx_min_gnu_ld_version=21400
68614 # If no shared libgcc, can't win.
68615 if test $glibcxx_shared_libgcc != yes; then
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
68617 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
68618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
68619 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
68620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68621 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68622 enable_symvers=no
68623 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
68624 : All interesting versions of Sun ld support sun style symbol versioning.
68625 elif test $with_gnu_ld != yes ; then
68626 # just fail for now
68627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
68628 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
68629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
68630 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68632 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68633 enable_symvers=no
68634 elif test $glibcxx_ld_is_gold = yes ; then
68635 : All versions of gold support symbol versioning.
68636 elif test $glibcxx_ld_is_mold = yes ; then
68637 : All versions of mold support symbol versioning.
68638 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
68639 # The right tools, the right setup, but too old. Fallbacks?
68640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
68641 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
68642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
68643 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
68644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
68645 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
68647 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68649 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68650 enable_symvers=no
68654 # For libtool versioning info, format is CURRENT:REVISION:AGE
68655 libtool_VERSION=6:32:0
68657 # Everything parsed; figure out what files and settings to use.
68658 case $enable_symvers in
68660 SYMVER_FILE=config/abi/pre/none.ver
68662 gnu)
68663 SYMVER_FILE=config/abi/pre/gnu.ver
68665 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
68668 gnu-versioned-namespace)
68669 libtool_VERSION=8:0:0
68670 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
68672 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
68675 darwin)
68676 SYMVER_FILE=config/abi/pre/gnu.ver
68678 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
68681 sun)
68682 SYMVER_FILE=config/abi/pre/gnu.ver
68684 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
68687 esac
68689 if test x$enable_symvers != xno ; then
68691 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
68696 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
68697 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
68698 $as_echo_n "(cached) " >&6
68699 else
68701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68702 /* end confdefs.h. */
68703 void foo (void); __asm (".symver foo, bar@SYMVER");
68705 main ()
68709 return 0;
68711 _ACEOF
68712 if ac_fn_c_try_compile "$LINENO"; then :
68713 glibcxx_cv_have_as_symver_directive=yes
68714 else
68715 glibcxx_cv_have_as_symver_directive=no
68717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
68720 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
68721 if test $glibcxx_cv_have_as_symver_directive = yes; then
68723 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
68734 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
68735 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
68737 if test $enable_symvers != no ; then
68738 case ${target_os} in
68739 # The Solaris 2 runtime linker doesn't support the GNU extension of
68740 # binding the same symbol to different versions
68741 solaris2*)
68743 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
68746 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
68749 esac
68752 # Now, set up compatibility support, if any.
68753 # In addition, need this to deal with std::size_t mangling in
68754 # src/compatibility.cc. In a perfect world, could use
68755 # typeid(std::size_t).name()[0] to do direct substitution.
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
68757 $as_echo_n "checking for size_t as unsigned int... " >&6; }
68758 ac_save_CFLAGS="$CFLAGS"
68759 CFLAGS="-Werror"
68760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68761 /* end confdefs.h. */
68764 main ()
68766 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
68768 return 0;
68770 _ACEOF
68771 if ac_fn_c_try_compile "$LINENO"; then :
68772 glibcxx_size_t_is_i=yes
68773 else
68774 glibcxx_size_t_is_i=no
68776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68777 CFLAGS=$ac_save_CFLAGS
68778 if test "$glibcxx_size_t_is_i" = yes; then
68780 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
68783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
68784 $as_echo "$glibcxx_size_t_is_i" >&6; }
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
68787 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
68788 ac_save_CFLAGS="$CFLAGS"
68789 CFLAGS="-Werror"
68790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68791 /* end confdefs.h. */
68794 main ()
68796 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
68798 return 0;
68800 _ACEOF
68801 if ac_fn_c_try_compile "$LINENO"; then :
68802 glibcxx_ptrdiff_t_is_i=yes
68803 else
68804 glibcxx_ptrdiff_t_is_i=no
68806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68807 CFLAGS=$ac_save_CFLAGS
68808 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
68810 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
68813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
68814 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
68819 # Check whether --enable-libstdcxx-visibility was given.
68820 if test "${enable_libstdcxx_visibility+set}" = set; then :
68821 enableval=$enable_libstdcxx_visibility;
68822 case "$enableval" in
68823 yes|no) ;;
68824 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
68825 esac
68827 else
68828 enable_libstdcxx_visibility=yes
68833 if test x$enable_libstdcxx_visibility = xyes ; then
68834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
68835 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
68836 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
68837 $as_echo_n "(cached) " >&6
68838 else
68840 save_CFLAGS="$CFLAGS"
68841 CFLAGS="$CFLAGS -Werror"
68842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68843 /* end confdefs.h. */
68844 void __attribute__((visibility("hidden"))) foo(void) { }
68846 main ()
68850 return 0;
68852 _ACEOF
68853 if ac_fn_c_try_compile "$LINENO"; then :
68854 glibcxx_cv_have_attribute_visibility=yes
68855 else
68856 glibcxx_cv_have_attribute_visibility=no
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 CFLAGS="$save_CFLAGS"
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
68862 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
68863 if test $glibcxx_cv_have_attribute_visibility = no; then
68864 enable_libstdcxx_visibility=no
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
68870 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
68874 # Check whether --enable-libstdcxx-dual-abi was given.
68875 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
68876 enableval=$enable_libstdcxx_dual_abi;
68877 case "$enableval" in
68878 yes|no) ;;
68879 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
68880 esac
68882 else
68883 enable_libstdcxx_dual_abi=yes
68887 if test x$enable_symvers = xgnu-versioned-namespace; then
68888 # gnu-versioned-namespace is incompatible with the dual ABI.
68889 enable_libstdcxx_dual_abi="no"
68891 if test x"$enable_libstdcxx_dual_abi" != xyes; then
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
68893 $as_echo "$as_me: dual ABI is disabled" >&6;}
68894 default_libstdcxx_abi="gcc4-compatible"
68899 if test x$enable_libstdcxx_dual_abi = xyes; then
68900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
68901 $as_echo_n "checking for default std::string ABI to use... " >&6; }
68903 # Check whether --with-default-libstdcxx-abi was given.
68904 if test "${with_default_libstdcxx_abi+set}" = set; then :
68905 withval=$with_default_libstdcxx_abi; case "$withval" in
68906 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
68907 new|cxx11) default_libstdcxx_abi="new" ;;
68908 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
68909 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
68910 esac
68912 else
68913 default_libstdcxx_abi="new"
68916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
68917 $as_echo "${default_libstdcxx_abi}" >&6; }
68919 if test $default_libstdcxx_abi = "new"; then
68920 glibcxx_cxx11_abi=1
68921 glibcxx_cxx98_abi=0
68922 else
68923 glibcxx_cxx11_abi=0
68924 glibcxx_cxx98_abi=1
68930 ac_ldbl_compat=no
68931 ac_ldbl_alt128_compat=no
68932 ac_ldbl_ieee128_default=no
68933 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
68934 LONG_DOUBLE_128_FLAGS=
68935 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
68936 case "$target" in
68937 powerpc*-*-linux* | \
68938 sparc*-*-linux* | \
68939 s390*-*-linux* | \
68940 alpha*-*-linux*)
68941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68942 /* end confdefs.h. */
68945 main ()
68948 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
68949 #error no need for long double compatibility
68950 #endif
68953 return 0;
68955 _ACEOF
68956 if ac_fn_c_try_compile "$LINENO"; then :
68957 ac_ldbl_compat=yes
68958 else
68959 ac_ldbl_compat=no
68961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68962 if test "$ac_ldbl_compat" = yes; then
68964 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
68966 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
68967 case "$target" in
68968 powerpc*-*-linux*)
68969 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
68970 # Check for IEEE128 support in libm:
68971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
68972 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
68973 if ${ac_cv_lib_m___frexpieee128+:} false; then :
68974 $as_echo_n "(cached) " >&6
68975 else
68976 ac_check_lib_save_LIBS=$LIBS
68977 LIBS="-lm $LIBS"
68978 if test x$gcc_no_link = xyes; then
68979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68982 /* end confdefs.h. */
68984 /* Override any GCC internal prototype to avoid an error.
68985 Use char because int might match the return type of a GCC
68986 builtin and then its argument prototype would still apply. */
68987 #ifdef __cplusplus
68988 extern "C"
68989 #endif
68990 char __frexpieee128 ();
68992 main ()
68994 return __frexpieee128 ();
68996 return 0;
68998 _ACEOF
68999 if ac_fn_c_try_link "$LINENO"; then :
69000 ac_cv_lib_m___frexpieee128=yes
69001 else
69002 ac_cv_lib_m___frexpieee128=no
69004 rm -f core conftest.err conftest.$ac_objext \
69005 conftest$ac_exeext conftest.$ac_ext
69006 LIBS=$ac_check_lib_save_LIBS
69008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69009 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69010 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69011 ac_ldbl_ieee128_in_libc=yes
69012 else
69013 ac_ldbl_ieee128_in_libc=no
69016 if test $ac_ldbl_ieee128_in_libc = yes; then
69017 # Determine which long double format is the compiler's default:
69018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69019 /* end confdefs.h. */
69022 main ()
69025 #ifndef __LONG_DOUBLE_IEEE128__
69026 #error compiler defaults to ibm128
69027 #endif
69030 return 0;
69032 _ACEOF
69033 if ac_fn_c_try_compile "$LINENO"; then :
69034 ac_ldbl_ieee128_default=yes
69035 else
69036 ac_ldbl_ieee128_default=no
69038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69039 # Library objects should use default long double format.
69040 if test "$ac_ldbl_ieee128_default" = yes; then
69041 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69042 # Except for the ones that explicitly use these flags:
69043 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69044 else
69045 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69046 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69049 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69051 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69052 ac_ldbl_alt128_compat=yes
69053 else
69054 ac_ldbl_alt128_compat=no
69057 esac
69059 esac
69066 # Check if assembler supports disabling hardware capability support.
69068 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69070 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69071 # with a different meaning.
69072 case ${target_os} in
69073 solaris2*)
69074 ac_save_CFLAGS="$CFLAGS"
69075 CFLAGS="$CFLAGS -Wa,-nH"
69077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69078 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69080 /* end confdefs.h. */
69083 main ()
69085 return 0;
69087 return 0;
69089 _ACEOF
69090 if ac_fn_c_try_compile "$LINENO"; then :
69091 ac_hwcap_flags=yes
69092 else
69093 ac_hwcap_flags=no
69095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69096 if test "$ac_hwcap_flags" = "yes"; then
69097 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69100 $as_echo "$ac_hwcap_flags" >&6; }
69102 CFLAGS="$ac_save_CFLAGS"
69104 esac
69109 # Check if assembler supports rdrand opcode.
69111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69112 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69113 if ${ac_cv_x86_rdrand+:} false; then :
69114 $as_echo_n "(cached) " >&6
69115 else
69117 ac_cv_x86_rdrand=no
69118 case "$target" in
69119 i?86-*-* | \
69120 x86_64-*-*)
69121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69122 /* end confdefs.h. */
69125 main ()
69127 asm("rdrand %eax");
69129 return 0;
69131 _ACEOF
69132 if ac_fn_c_try_compile "$LINENO"; then :
69133 ac_cv_x86_rdrand=yes
69134 else
69135 ac_cv_x86_rdrand=no
69137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69138 esac
69141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69142 $as_echo "$ac_cv_x86_rdrand" >&6; }
69143 if test $ac_cv_x86_rdrand = yes; then
69145 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69149 # Check if assembler supports rdseed opcode.
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69152 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69153 if ${ac_cv_x86_rdseed+:} false; then :
69154 $as_echo_n "(cached) " >&6
69155 else
69157 ac_cv_x86_rdseed=no
69158 case "$target" in
69159 i?86-*-* | \
69160 x86_64-*-*)
69161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69162 /* end confdefs.h. */
69165 main ()
69167 asm("rdseed %eax");
69169 return 0;
69171 _ACEOF
69172 if ac_fn_c_try_compile "$LINENO"; then :
69173 ac_cv_x86_rdseed=yes
69174 else
69175 ac_cv_x86_rdseed=no
69177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69178 esac
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69182 $as_echo "$ac_cv_x86_rdseed" >&6; }
69183 if test $ac_cv_x86_rdseed = yes; then
69185 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69190 # Check for other random number APIs
69194 ac_ext=cpp
69195 ac_cpp='$CXXCPP $CPPFLAGS'
69196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69201 $as_echo_n "checking for getentropy... " >&6; }
69202 if ${glibcxx_cv_getentropy+:} false; then :
69203 $as_echo_n "(cached) " >&6
69204 else
69206 if test x$gcc_no_link = xyes; then
69207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69208 /* end confdefs.h. */
69209 #include <unistd.h>
69211 main ()
69213 unsigned i;
69214 ::getentropy(&i, sizeof(i));
69216 return 0;
69218 _ACEOF
69219 if ac_fn_cxx_try_compile "$LINENO"; then :
69220 glibcxx_cv_getentropy=yes
69221 else
69222 glibcxx_cv_getentropy=no
69224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69225 else
69226 if test x$gcc_no_link = xyes; then
69227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69230 /* end confdefs.h. */
69231 #include <unistd.h>
69233 main ()
69235 unsigned i;
69236 ::getentropy(&i, sizeof(i));
69238 return 0;
69240 _ACEOF
69241 if ac_fn_cxx_try_link "$LINENO"; then :
69242 glibcxx_cv_getentropy=yes
69243 else
69244 glibcxx_cv_getentropy=no
69246 rm -f core conftest.err conftest.$ac_objext \
69247 conftest$ac_exeext conftest.$ac_ext
69251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69252 $as_echo "$glibcxx_cv_getentropy" >&6; }
69254 if test $glibcxx_cv_getentropy = yes; then
69256 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69259 ac_ext=c
69260 ac_cpp='$CPP $CPPFLAGS'
69261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69269 ac_ext=cpp
69270 ac_cpp='$CXXCPP $CPPFLAGS'
69271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69276 $as_echo_n "checking for arc4random... " >&6; }
69277 if ${glibcxx_cv_arc4random+:} false; then :
69278 $as_echo_n "(cached) " >&6
69279 else
69281 if test x$gcc_no_link = xyes; then
69282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69283 /* end confdefs.h. */
69284 #include <stdlib.h>
69286 main ()
69288 unsigned i = ::arc4random();
69290 return 0;
69292 _ACEOF
69293 if ac_fn_cxx_try_compile "$LINENO"; then :
69294 glibcxx_cv_arc4random=yes
69295 else
69296 glibcxx_cv_arc4random=no
69298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69299 else
69300 if test x$gcc_no_link = xyes; then
69301 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69304 /* end confdefs.h. */
69305 #include <stdlib.h>
69307 main ()
69309 unsigned i = ::arc4random();
69311 return 0;
69313 _ACEOF
69314 if ac_fn_cxx_try_link "$LINENO"; then :
69315 glibcxx_cv_arc4random=yes
69316 else
69317 glibcxx_cv_arc4random=no
69319 rm -f core conftest.err conftest.$ac_objext \
69320 conftest$ac_exeext conftest.$ac_ext
69324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69325 $as_echo "$glibcxx_cv_arc4random" >&6; }
69327 if test $glibcxx_cv_arc4random = yes; then
69329 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69332 ac_ext=c
69333 ac_cpp='$CPP $CPPFLAGS'
69334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69340 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69342 # Do checks for resource limit functions.
69345 ac_ext=cpp
69346 ac_cpp='$CXXCPP $CPPFLAGS'
69347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351 setrlimit_have_headers=yes
69352 for ac_header in unistd.h sys/time.h sys/resource.h
69353 do :
69354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69355 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69356 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69357 cat >>confdefs.h <<_ACEOF
69358 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69359 _ACEOF
69361 else
69362 setrlimit_have_headers=no
69365 done
69367 # If don't have the headers, then we can't run the tests now, and we
69368 # won't be seeing any of these during testsuite compilation.
69369 if test $setrlimit_have_headers = yes; then
69370 # Can't do these in a loop, else the resulting syntax is wrong.
69372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69373 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69375 /* end confdefs.h. */
69376 #include <unistd.h>
69377 #include <sys/time.h>
69378 #include <sys/resource.h>
69381 main ()
69383 int f = RLIMIT_DATA ;
69385 return 0;
69387 _ACEOF
69388 if ac_fn_cxx_try_compile "$LINENO"; then :
69389 glibcxx_mresult=1
69390 else
69391 glibcxx_mresult=0
69393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69395 cat >>confdefs.h <<_ACEOF
69396 #define HAVE_LIMIT_DATA $glibcxx_mresult
69397 _ACEOF
69399 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69401 $as_echo "$res" >&6; }
69404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69405 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69407 /* end confdefs.h. */
69408 #include <unistd.h>
69409 #include <sys/time.h>
69410 #include <sys/resource.h>
69413 main ()
69415 int f = RLIMIT_RSS ;
69417 return 0;
69419 _ACEOF
69420 if ac_fn_cxx_try_compile "$LINENO"; then :
69421 glibcxx_mresult=1
69422 else
69423 glibcxx_mresult=0
69425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69427 cat >>confdefs.h <<_ACEOF
69428 #define HAVE_LIMIT_RSS $glibcxx_mresult
69429 _ACEOF
69431 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69433 $as_echo "$res" >&6; }
69436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69437 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69439 /* end confdefs.h. */
69440 #include <unistd.h>
69441 #include <sys/time.h>
69442 #include <sys/resource.h>
69445 main ()
69447 int f = RLIMIT_VMEM ;
69449 return 0;
69451 _ACEOF
69452 if ac_fn_cxx_try_compile "$LINENO"; then :
69453 glibcxx_mresult=1
69454 else
69455 glibcxx_mresult=0
69457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69459 cat >>confdefs.h <<_ACEOF
69460 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69461 _ACEOF
69463 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69465 $as_echo "$res" >&6; }
69468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
69469 $as_echo_n "checking for RLIMIT_AS... " >&6; }
69470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69471 /* end confdefs.h. */
69472 #include <unistd.h>
69473 #include <sys/time.h>
69474 #include <sys/resource.h>
69477 main ()
69479 int f = RLIMIT_AS ;
69481 return 0;
69483 _ACEOF
69484 if ac_fn_cxx_try_compile "$LINENO"; then :
69485 glibcxx_mresult=1
69486 else
69487 glibcxx_mresult=0
69489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69491 cat >>confdefs.h <<_ACEOF
69492 #define HAVE_LIMIT_AS $glibcxx_mresult
69493 _ACEOF
69495 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69497 $as_echo "$res" >&6; }
69500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
69501 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
69502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69503 /* end confdefs.h. */
69504 #include <unistd.h>
69505 #include <sys/time.h>
69506 #include <sys/resource.h>
69509 main ()
69511 int f = RLIMIT_FSIZE ;
69513 return 0;
69515 _ACEOF
69516 if ac_fn_cxx_try_compile "$LINENO"; then :
69517 glibcxx_mresult=1
69518 else
69519 glibcxx_mresult=0
69521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69523 cat >>confdefs.h <<_ACEOF
69524 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
69525 _ACEOF
69527 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69529 $as_echo "$res" >&6; }
69532 # Check for rlimit, setrlimit.
69533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
69534 $as_echo_n "checking for testsuite resource limits support... " >&6; }
69535 if ${glibcxx_cv_setrlimit+:} false; then :
69536 $as_echo_n "(cached) " >&6
69537 else
69539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69540 /* end confdefs.h. */
69541 #include <unistd.h>
69542 #include <sys/time.h>
69543 #include <sys/resource.h>
69546 main ()
69548 struct rlimit r;
69549 setrlimit(0, &r);
69551 return 0;
69553 _ACEOF
69554 if ac_fn_cxx_try_compile "$LINENO"; then :
69555 glibcxx_cv_setrlimit=yes
69556 else
69557 glibcxx_cv_setrlimit=no
69559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
69563 $as_echo "$glibcxx_cv_setrlimit" >&6; }
69565 if test $glibcxx_cv_setrlimit = yes; then
69567 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
69571 ac_ext=c
69572 ac_cpp='$CPP $CPPFLAGS'
69573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69579 if $GLIBCXX_IS_NATIVE ; then
69580 # Look for setenv, so that extended locale tests can be performed.
69582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
69583 $as_echo_n "checking for setenv declaration... " >&6; }
69584 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
69585 if ${glibcxx_cv_func_setenv_use+:} false; then :
69586 $as_echo_n "(cached) " >&6
69587 else
69590 ac_ext=cpp
69591 ac_cpp='$CXXCPP $CPPFLAGS'
69592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69597 /* end confdefs.h. */
69598 #include <stdlib.h>
69600 main ()
69602 setenv(0, 0, 0);
69604 return 0;
69606 _ACEOF
69607 if ac_fn_cxx_try_compile "$LINENO"; then :
69608 glibcxx_cv_func_setenv_use=yes
69609 else
69610 glibcxx_cv_func_setenv_use=no
69612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69613 ac_ext=c
69614 ac_cpp='$CPP $CPPFLAGS'
69615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
69624 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
69625 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
69626 for ac_func in setenv
69627 do :
69628 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
69629 if test "x$ac_cv_func_setenv" = xyes; then :
69630 cat >>confdefs.h <<_ACEOF
69631 #define HAVE_SETENV 1
69632 _ACEOF
69635 done
69641 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
69642 test $enable_symvers != no; then
69643 case "$host" in
69644 *-*-cygwin*)
69645 enable_abi_check=no ;;
69647 enable_abi_check=yes ;;
69648 esac
69649 else
69650 # Only build this as native, since automake does not understand
69651 # CXX_FOR_BUILD.
69652 enable_abi_check=no
69655 # Export file names for ABI checking.
69656 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
69658 baseline_subdir_switch="$abi_baseline_subdir_switch"
69662 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
69664 # Check whether --enable-libstdcxx-threads was given.
69665 if test "${enable_libstdcxx_threads+set}" = set; then :
69666 enableval=$enable_libstdcxx_threads;
69667 case "$enableval" in
69668 yes|no) ;;
69669 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
69670 esac
69672 else
69673 enable_libstdcxx_threads=auto
69678 if test x$enable_libstdcxx_threads = xauto ||
69679 test x$enable_libstdcxx_threads = xyes; then
69682 ac_ext=cpp
69683 ac_cpp='$CXXCPP $CPPFLAGS'
69684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69689 ac_save_CXXFLAGS="$CXXFLAGS"
69690 CXXFLAGS="$CXXFLAGS -fno-exceptions \
69691 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
69693 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
69694 case $target_thread_file in
69695 posix)
69696 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
69698 win32)
69699 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
69700 # The support of condition variables is disabled by default in
69701 # the Win32 gthreads library, so enable it on explicit request.
69702 if test x$enable_libstdcxx_threads = xyes; then
69703 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
69706 esac
69708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
69709 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
69711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69712 /* end confdefs.h. */
69713 #include <unistd.h>
69715 main ()
69718 // In case of POSIX threads check _POSIX_TIMEOUTS.
69719 #if (defined(_PTHREADS) \
69720 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
69721 #error
69722 // In case of Win32 threads there is no support.
69723 #elif defined(_WIN32_THREADS)
69724 #error
69725 #endif
69728 return 0;
69730 _ACEOF
69731 if ac_fn_cxx_try_compile "$LINENO"; then :
69732 ac_gthread_use_mutex_timedlock=1
69733 else
69734 ac_gthread_use_mutex_timedlock=0
69736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69739 cat >>confdefs.h <<_ACEOF
69740 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
69741 _ACEOF
69744 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
69745 else res_mutex_timedlock=no ; fi
69746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
69747 $as_echo "$res_mutex_timedlock" >&6; }
69749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
69750 $as_echo_n "checking for gthreads library... " >&6; }
69752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69753 /* end confdefs.h. */
69754 #include "gthr.h"
69756 main ()
69759 #ifndef __GTHREADS_CXX0X
69760 #error
69761 #endif
69764 return 0;
69766 _ACEOF
69767 if ac_fn_cxx_try_compile "$LINENO"; then :
69768 ac_has_gthreads=yes
69769 else
69770 ac_has_gthreads=no
69772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69773 else
69774 ac_has_gthreads=no
69777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
69778 $as_echo "$ac_has_gthreads" >&6; }
69780 if test x"$ac_has_gthreads" = x"yes"; then
69782 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
69785 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
69786 # but only do so if we're using pthread in the gthread library.
69787 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
69788 # but the pthread library is not there by default and the gthread library
69789 # does not use it.
69790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69791 /* end confdefs.h. */
69792 #include "gthr.h"
69794 main ()
69797 #if (!defined(_PTHREADS))
69798 #error
69799 #endif
69802 return 0;
69804 _ACEOF
69805 if ac_fn_cxx_try_compile "$LINENO"; then :
69806 ac_gthread_use_pthreads=yes
69807 else
69808 ac_gthread_use_pthreads=no
69810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69811 if test x"$ac_gthread_use_pthreads" = x"yes"; then
69812 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
69814 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
69816 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
69822 # See above for the rationale.
69823 if test $target_thread_file = win32; then
69824 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
69828 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
69829 if test "x$ac_cv_header_semaphore_h" = xyes; then :
69831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
69832 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
69833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69834 /* end confdefs.h. */
69836 #include <unistd.h>
69837 #include <semaphore.h>
69838 #include <limits.h>
69841 main ()
69844 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
69845 # error "POSIX Timeouts option not supported"
69846 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
69847 # error "POSIX Semaphores option not supported"
69848 #else
69849 #if defined SEM_VALUE_MAX
69850 constexpr int sem_value_max = SEM_VALUE_MAX;
69851 #elif defined _POSIX_SEM_VALUE_MAX
69852 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
69853 #else
69854 # error "SEM_VALUE_MAX not available"
69855 #endif
69856 sem_t sem;
69857 sem_init(&sem, 0, sem_value_max);
69858 struct timespec ts = { 0 };
69859 sem_timedwait(&sem, &ts);
69860 #endif
69863 return 0;
69865 _ACEOF
69866 if ac_fn_cxx_try_compile "$LINENO"; then :
69867 ac_have_posix_semaphore=yes
69868 else
69869 ac_have_posix_semaphore=no
69871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69872 else
69873 ac_have_posix_semaphore=no
69878 if test $ac_have_posix_semaphore = yes ; then
69880 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
69883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
69884 $as_echo "$ac_have_posix_semaphore" >&6; }
69886 CXXFLAGS="$ac_save_CXXFLAGS"
69887 ac_ext=c
69888 ac_cpp='$CPP $CPPFLAGS'
69889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69895 # For Filesystem TS.
69896 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
69897 do :
69898 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69899 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69900 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69901 cat >>confdefs.h <<_ACEOF
69902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69903 _ACEOF
69907 done
69910 # Check whether --enable-libstdcxx-filesystem-ts was given.
69911 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
69912 enableval=$enable_libstdcxx_filesystem_ts;
69913 case "$enableval" in
69914 yes|no|auto) ;;
69915 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
69916 esac
69918 else
69919 enable_libstdcxx_filesystem_ts=auto
69924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
69925 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
69926 if test x"$ac_cv_header_dirent_h" != x"yes"; then
69927 enable_libstdcxx_filesystem_ts=no
69929 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
69930 case "${target_os}" in
69931 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
69932 enable_libstdcxx_filesystem_ts=yes
69934 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
69935 enable_libstdcxx_filesystem_ts=yes
69937 rtems*)
69938 enable_libstdcxx_filesystem_ts=yes
69940 solaris*)
69941 enable_libstdcxx_filesystem_ts=yes
69943 mingw*)
69944 enable_libstdcxx_filesystem_ts=yes
69947 enable_libstdcxx_filesystem_ts=no
69949 esac
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
69952 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
69956 ac_ext=cpp
69957 ac_cpp='$CXXCPP $CPPFLAGS'
69958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69962 ac_save_CXXFLAGS="$CXXFLAGS"
69963 CXXFLAGS="$CXXFLAGS -fno-exceptions"
69964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
69965 $as_echo_n "checking for struct dirent.d_type... " >&6; }
69966 if ${glibcxx_cv_dirent_d_type+:} false; then :
69967 $as_echo_n "(cached) " >&6
69968 else
69969 if test x$gcc_no_link = xyes; then
69970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69971 /* end confdefs.h. */
69972 #include <dirent.h>
69974 main ()
69977 struct dirent d;
69978 if (sizeof d.d_type) return 0;
69981 return 0;
69983 _ACEOF
69984 if ac_fn_cxx_try_compile "$LINENO"; then :
69985 glibcxx_cv_dirent_d_type=yes
69986 else
69987 glibcxx_cv_dirent_d_type=no
69989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69990 else
69991 if test x$gcc_no_link = xyes; then
69992 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69995 /* end confdefs.h. */
69996 #include <dirent.h>
69998 main ()
70001 struct dirent d;
70002 if (sizeof d.d_type) return 0;
70005 return 0;
70007 _ACEOF
70008 if ac_fn_cxx_try_link "$LINENO"; then :
70009 glibcxx_cv_dirent_d_type=yes
70010 else
70011 glibcxx_cv_dirent_d_type=no
70013 rm -f core conftest.err conftest.$ac_objext \
70014 conftest$ac_exeext conftest.$ac_ext
70018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70019 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70020 if test $glibcxx_cv_dirent_d_type = yes; then
70022 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70026 $as_echo_n "checking for realpath... " >&6; }
70027 if ${glibcxx_cv_realpath+:} false; then :
70028 $as_echo_n "(cached) " >&6
70029 else
70030 if test x$gcc_no_link = xyes; then
70031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70032 /* end confdefs.h. */
70034 #include <limits.h>
70035 #include <stdlib.h>
70036 #include <unistd.h>
70039 main ()
70042 #if _XOPEN_VERSION < 500
70043 #error
70044 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70045 char *tmp = realpath((const char*)NULL, (char*)NULL);
70046 #else
70047 #error
70048 #endif
70051 return 0;
70053 _ACEOF
70054 if ac_fn_cxx_try_compile "$LINENO"; then :
70055 glibcxx_cv_realpath=yes
70056 else
70057 glibcxx_cv_realpath=no
70059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70060 else
70061 if test x$gcc_no_link = xyes; then
70062 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70065 /* end confdefs.h. */
70067 #include <limits.h>
70068 #include <stdlib.h>
70069 #include <unistd.h>
70072 main ()
70075 #if _XOPEN_VERSION < 500
70076 #error
70077 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70078 char *tmp = realpath((const char*)NULL, (char*)NULL);
70079 #else
70080 #error
70081 #endif
70084 return 0;
70086 _ACEOF
70087 if ac_fn_cxx_try_link "$LINENO"; then :
70088 glibcxx_cv_realpath=yes
70089 else
70090 glibcxx_cv_realpath=no
70092 rm -f core conftest.err conftest.$ac_objext \
70093 conftest$ac_exeext conftest.$ac_ext
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70098 $as_echo "$glibcxx_cv_realpath" >&6; }
70099 if test $glibcxx_cv_realpath = yes; then
70101 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70105 $as_echo_n "checking for utimensat... " >&6; }
70106 if ${glibcxx_cv_utimensat+:} false; then :
70107 $as_echo_n "(cached) " >&6
70108 else
70109 if test x$gcc_no_link = xyes; then
70110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70111 /* end confdefs.h. */
70113 #include <fcntl.h>
70114 #include <sys/stat.h>
70117 main ()
70120 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70121 int i = utimensat(AT_FDCWD, "path", ts, 0);
70124 return 0;
70126 _ACEOF
70127 if ac_fn_cxx_try_compile "$LINENO"; then :
70128 glibcxx_cv_utimensat=yes
70129 else
70130 glibcxx_cv_utimensat=no
70132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70133 else
70134 if test x$gcc_no_link = xyes; then
70135 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70138 /* end confdefs.h. */
70140 #include <fcntl.h>
70141 #include <sys/stat.h>
70144 main ()
70147 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70148 int i = utimensat(AT_FDCWD, "path", ts, 0);
70151 return 0;
70153 _ACEOF
70154 if ac_fn_cxx_try_link "$LINENO"; then :
70155 glibcxx_cv_utimensat=yes
70156 else
70157 glibcxx_cv_utimensat=no
70159 rm -f core conftest.err conftest.$ac_objext \
70160 conftest$ac_exeext conftest.$ac_ext
70164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70165 $as_echo "$glibcxx_cv_utimensat" >&6; }
70166 if test $glibcxx_cv_utimensat = yes; then
70168 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70172 $as_echo_n "checking for utime... " >&6; }
70173 if ${glibcxx_cv_utime+:} false; then :
70174 $as_echo_n "(cached) " >&6
70175 else
70176 if test x$gcc_no_link = xyes; then
70177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70178 /* end confdefs.h. */
70180 #include <utime.h>
70183 main ()
70186 struct utimbuf t = { 1, 1 };
70187 int i = utime("path", &t);
70190 return 0;
70192 _ACEOF
70193 if ac_fn_cxx_try_compile "$LINENO"; then :
70194 glibcxx_cv_utime=yes
70195 else
70196 glibcxx_cv_utime=no
70198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70199 else
70200 if test x$gcc_no_link = xyes; then
70201 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70204 /* end confdefs.h. */
70206 #include <utime.h>
70209 main ()
70212 struct utimbuf t = { 1, 1 };
70213 int i = utime("path", &t);
70216 return 0;
70218 _ACEOF
70219 if ac_fn_cxx_try_link "$LINENO"; then :
70220 glibcxx_cv_utime=yes
70221 else
70222 glibcxx_cv_utime=no
70224 rm -f core conftest.err conftest.$ac_objext \
70225 conftest$ac_exeext conftest.$ac_ext
70229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70230 $as_echo "$glibcxx_cv_utime" >&6; }
70231 if test $glibcxx_cv_utime = yes; then
70233 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70237 $as_echo_n "checking for lstat... " >&6; }
70238 if ${glibcxx_cv_lstat+:} false; then :
70239 $as_echo_n "(cached) " >&6
70240 else
70241 if test x$gcc_no_link = xyes; then
70242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70243 /* end confdefs.h. */
70244 #include <sys/stat.h>
70246 main ()
70249 struct stat st;
70250 int i = lstat("path", &st);
70253 return 0;
70255 _ACEOF
70256 if ac_fn_cxx_try_compile "$LINENO"; then :
70257 glibcxx_cv_lstat=yes
70258 else
70259 glibcxx_cv_lstat=no
70261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70262 else
70263 if test x$gcc_no_link = xyes; then
70264 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70267 /* end confdefs.h. */
70268 #include <sys/stat.h>
70270 main ()
70273 struct stat st;
70274 int i = lstat("path", &st);
70277 return 0;
70279 _ACEOF
70280 if ac_fn_cxx_try_link "$LINENO"; then :
70281 glibcxx_cv_lstat=yes
70282 else
70283 glibcxx_cv_lstat=no
70285 rm -f core conftest.err conftest.$ac_objext \
70286 conftest$ac_exeext conftest.$ac_ext
70290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70291 $as_echo "$glibcxx_cv_lstat" >&6; }
70292 if test $glibcxx_cv_lstat = yes; then
70294 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70298 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70299 if ${glibcxx_cv_st_mtim+:} false; then :
70300 $as_echo_n "(cached) " >&6
70301 else
70302 if test x$gcc_no_link = xyes; then
70303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70304 /* end confdefs.h. */
70305 #include <sys/stat.h>
70307 main ()
70310 struct stat st;
70311 return st.st_mtim.tv_nsec;
70314 return 0;
70316 _ACEOF
70317 if ac_fn_cxx_try_compile "$LINENO"; then :
70318 glibcxx_cv_st_mtim=yes
70319 else
70320 glibcxx_cv_st_mtim=no
70322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70323 else
70324 if test x$gcc_no_link = xyes; then
70325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70328 /* end confdefs.h. */
70329 #include <sys/stat.h>
70331 main ()
70334 struct stat st;
70335 return st.st_mtim.tv_nsec;
70338 return 0;
70340 _ACEOF
70341 if ac_fn_cxx_try_link "$LINENO"; then :
70342 glibcxx_cv_st_mtim=yes
70343 else
70344 glibcxx_cv_st_mtim=no
70346 rm -f core conftest.err conftest.$ac_objext \
70347 conftest$ac_exeext conftest.$ac_ext
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70352 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70353 if test $glibcxx_cv_st_mtim = yes; then
70355 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70359 $as_echo_n "checking for fchmod... " >&6; }
70360 if ${glibcxx_cv_fchmod+:} false; then :
70361 $as_echo_n "(cached) " >&6
70362 else
70363 if test x$gcc_no_link = xyes; then
70364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70365 /* end confdefs.h. */
70366 #include <sys/stat.h>
70368 main ()
70370 fchmod(1, S_IWUSR);
70372 return 0;
70374 _ACEOF
70375 if ac_fn_cxx_try_compile "$LINENO"; then :
70376 glibcxx_cv_fchmod=yes
70377 else
70378 glibcxx_cv_fchmod=no
70380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70381 else
70382 if test x$gcc_no_link = xyes; then
70383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70386 /* end confdefs.h. */
70387 #include <sys/stat.h>
70389 main ()
70391 fchmod(1, S_IWUSR);
70393 return 0;
70395 _ACEOF
70396 if ac_fn_cxx_try_link "$LINENO"; then :
70397 glibcxx_cv_fchmod=yes
70398 else
70399 glibcxx_cv_fchmod=no
70401 rm -f core conftest.err conftest.$ac_objext \
70402 conftest$ac_exeext conftest.$ac_ext
70406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70407 $as_echo "$glibcxx_cv_fchmod" >&6; }
70408 if test $glibcxx_cv_fchmod = yes; then
70410 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70414 $as_echo_n "checking for fchmodat... " >&6; }
70415 if ${glibcxx_cv_fchmodat+:} false; then :
70416 $as_echo_n "(cached) " >&6
70417 else
70418 if test x$gcc_no_link = xyes; then
70419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70420 /* end confdefs.h. */
70422 #include <fcntl.h>
70423 #include <sys/stat.h>
70426 main ()
70428 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70430 return 0;
70432 _ACEOF
70433 if ac_fn_cxx_try_compile "$LINENO"; then :
70434 glibcxx_cv_fchmodat=yes
70435 else
70436 glibcxx_cv_fchmodat=no
70438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70439 else
70440 if test x$gcc_no_link = xyes; then
70441 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70444 /* end confdefs.h. */
70446 #include <fcntl.h>
70447 #include <sys/stat.h>
70450 main ()
70452 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70454 return 0;
70456 _ACEOF
70457 if ac_fn_cxx_try_link "$LINENO"; then :
70458 glibcxx_cv_fchmodat=yes
70459 else
70460 glibcxx_cv_fchmodat=no
70462 rm -f core conftest.err conftest.$ac_objext \
70463 conftest$ac_exeext conftest.$ac_ext
70467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
70468 $as_echo "$glibcxx_cv_fchmodat" >&6; }
70469 if test $glibcxx_cv_fchmodat = yes; then
70471 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
70474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
70475 $as_echo_n "checking for sendfile that can copy files... " >&6; }
70476 if ${glibcxx_cv_sendfile+:} false; then :
70477 $as_echo_n "(cached) " >&6
70478 else
70479 case "${target_os}" in
70480 gnu* | linux* | solaris* | uclinux*)
70481 if test x$gcc_no_link = xyes; then
70482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70483 /* end confdefs.h. */
70484 #include <sys/sendfile.h>
70486 main ()
70488 sendfile(1, 2, (off_t*)0, sizeof 1);
70490 return 0;
70492 _ACEOF
70493 if ac_fn_cxx_try_compile "$LINENO"; then :
70494 glibcxx_cv_sendfile=yes
70495 else
70496 glibcxx_cv_sendfile=no
70498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70499 else
70500 if test x$gcc_no_link = xyes; then
70501 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70504 /* end confdefs.h. */
70505 #include <sys/sendfile.h>
70507 main ()
70509 sendfile(1, 2, (off_t*)0, sizeof 1);
70511 return 0;
70513 _ACEOF
70514 if ac_fn_cxx_try_link "$LINENO"; then :
70515 glibcxx_cv_sendfile=yes
70516 else
70517 glibcxx_cv_sendfile=no
70519 rm -f core conftest.err conftest.$ac_objext \
70520 conftest$ac_exeext conftest.$ac_ext
70524 glibcxx_cv_sendfile=no
70526 esac
70529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
70530 $as_echo "$glibcxx_cv_sendfile" >&6; }
70531 if test $glibcxx_cv_sendfile = yes; then
70533 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
70537 $as_echo_n "checking for link... " >&6; }
70538 if ${glibcxx_cv_link+:} false; then :
70539 $as_echo_n "(cached) " >&6
70540 else
70541 if test x$gcc_no_link = xyes; then
70542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70543 /* end confdefs.h. */
70544 #include <unistd.h>
70546 main ()
70548 link("", "");
70550 return 0;
70552 _ACEOF
70553 if ac_fn_cxx_try_compile "$LINENO"; then :
70554 glibcxx_cv_link=yes
70555 else
70556 glibcxx_cv_link=no
70558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70559 else
70560 if test x$gcc_no_link = xyes; then
70561 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70564 /* end confdefs.h. */
70565 #include <unistd.h>
70567 main ()
70569 link("", "");
70571 return 0;
70573 _ACEOF
70574 if ac_fn_cxx_try_link "$LINENO"; then :
70575 glibcxx_cv_link=yes
70576 else
70577 glibcxx_cv_link=no
70579 rm -f core conftest.err conftest.$ac_objext \
70580 conftest$ac_exeext conftest.$ac_ext
70584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
70585 $as_echo "$glibcxx_cv_link" >&6; }
70586 if test $glibcxx_cv_link = yes; then
70588 $as_echo "#define HAVE_LINK 1" >>confdefs.h
70591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
70592 $as_echo_n "checking for readlink... " >&6; }
70593 if ${glibcxx_cv_readlink+:} false; then :
70594 $as_echo_n "(cached) " >&6
70595 else
70596 if test x$gcc_no_link = xyes; then
70597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70598 /* end confdefs.h. */
70599 #include <unistd.h>
70601 main ()
70603 char buf[32]; readlink("", buf, sizeof(buf));
70605 return 0;
70607 _ACEOF
70608 if ac_fn_cxx_try_compile "$LINENO"; then :
70609 glibcxx_cv_readlink=yes
70610 else
70611 glibcxx_cv_readlink=no
70613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70614 else
70615 if test x$gcc_no_link = xyes; then
70616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70619 /* end confdefs.h. */
70620 #include <unistd.h>
70622 main ()
70624 char buf[32]; readlink("", buf, sizeof(buf));
70626 return 0;
70628 _ACEOF
70629 if ac_fn_cxx_try_link "$LINENO"; then :
70630 glibcxx_cv_readlink=yes
70631 else
70632 glibcxx_cv_readlink=no
70634 rm -f core conftest.err conftest.$ac_objext \
70635 conftest$ac_exeext conftest.$ac_ext
70639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
70640 $as_echo "$glibcxx_cv_readlink" >&6; }
70641 if test $glibcxx_cv_readlink = yes; then
70643 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
70646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
70647 $as_echo_n "checking for symlink... " >&6; }
70648 if ${glibcxx_cv_symlink+:} false; then :
70649 $as_echo_n "(cached) " >&6
70650 else
70651 if test x$gcc_no_link = xyes; then
70652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70653 /* end confdefs.h. */
70654 #include <unistd.h>
70656 main ()
70658 symlink("", "");
70660 return 0;
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_symlink=yes
70665 else
70666 glibcxx_cv_symlink=no
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 else
70670 if test x$gcc_no_link = xyes; then
70671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70674 /* end confdefs.h. */
70675 #include <unistd.h>
70677 main ()
70679 symlink("", "");
70681 return 0;
70683 _ACEOF
70684 if ac_fn_cxx_try_link "$LINENO"; then :
70685 glibcxx_cv_symlink=yes
70686 else
70687 glibcxx_cv_symlink=no
70689 rm -f core conftest.err conftest.$ac_objext \
70690 conftest$ac_exeext conftest.$ac_ext
70694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
70695 $as_echo "$glibcxx_cv_symlink" >&6; }
70696 if test $glibcxx_cv_symlink = yes; then
70698 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
70702 $as_echo_n "checking for truncate... " >&6; }
70703 if ${glibcxx_cv_truncate+:} false; then :
70704 $as_echo_n "(cached) " >&6
70705 else
70706 if test x$gcc_no_link = xyes; then
70707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70708 /* end confdefs.h. */
70709 #include <unistd.h>
70711 main ()
70713 truncate("", 99);
70715 return 0;
70717 _ACEOF
70718 if ac_fn_cxx_try_compile "$LINENO"; then :
70719 glibcxx_cv_truncate=yes
70720 else
70721 glibcxx_cv_truncate=no
70723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70724 else
70725 if test x$gcc_no_link = xyes; then
70726 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70729 /* end confdefs.h. */
70730 #include <unistd.h>
70732 main ()
70734 truncate("", 99);
70736 return 0;
70738 _ACEOF
70739 if ac_fn_cxx_try_link "$LINENO"; then :
70740 glibcxx_cv_truncate=yes
70741 else
70742 glibcxx_cv_truncate=no
70744 rm -f core conftest.err conftest.$ac_objext \
70745 conftest$ac_exeext conftest.$ac_ext
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
70750 $as_echo "$glibcxx_cv_truncate" >&6; }
70751 if test $glibcxx_cv_truncate = yes; then
70753 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
70756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
70757 $as_echo_n "checking for fdopendir... " >&6; }
70758 if ${glibcxx_cv_fdopendir+:} false; then :
70759 $as_echo_n "(cached) " >&6
70760 else
70761 if test x$gcc_no_link = xyes; then
70762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70763 /* end confdefs.h. */
70764 #include <dirent.h>
70766 main ()
70768 ::DIR* dir = ::fdopendir(1);
70770 return 0;
70772 _ACEOF
70773 if ac_fn_cxx_try_compile "$LINENO"; then :
70774 glibcxx_cv_fdopendir=yes
70775 else
70776 glibcxx_cv_fdopendir=no
70778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70779 else
70780 if test x$gcc_no_link = xyes; then
70781 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70784 /* end confdefs.h. */
70785 #include <dirent.h>
70787 main ()
70789 ::DIR* dir = ::fdopendir(1);
70791 return 0;
70793 _ACEOF
70794 if ac_fn_cxx_try_link "$LINENO"; then :
70795 glibcxx_cv_fdopendir=yes
70796 else
70797 glibcxx_cv_fdopendir=no
70799 rm -f core conftest.err conftest.$ac_objext \
70800 conftest$ac_exeext conftest.$ac_ext
70804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
70805 $as_echo "$glibcxx_cv_fdopendir" >&6; }
70806 if test $glibcxx_cv_fdopendir = yes; then
70808 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
70811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
70812 $as_echo_n "checking for dirfd... " >&6; }
70813 if ${glibcxx_cv_dirfd+:} false; then :
70814 $as_echo_n "(cached) " >&6
70815 else
70816 if test x$gcc_no_link = xyes; then
70817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70818 /* end confdefs.h. */
70819 #include <dirent.h>
70821 main ()
70823 int fd = ::dirfd((::DIR*)0);
70825 return 0;
70827 _ACEOF
70828 if ac_fn_cxx_try_compile "$LINENO"; then :
70829 glibcxx_cv_dirfd=yes
70830 else
70831 glibcxx_cv_dirfd=no
70833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70834 else
70835 if test x$gcc_no_link = xyes; then
70836 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <dirent.h>
70842 main ()
70844 int fd = ::dirfd((::DIR*)0);
70846 return 0;
70848 _ACEOF
70849 if ac_fn_cxx_try_link "$LINENO"; then :
70850 glibcxx_cv_dirfd=yes
70851 else
70852 glibcxx_cv_dirfd=no
70854 rm -f core conftest.err conftest.$ac_objext \
70855 conftest$ac_exeext conftest.$ac_ext
70859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
70860 $as_echo "$glibcxx_cv_dirfd" >&6; }
70861 if test $glibcxx_cv_dirfd = yes; then
70863 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
70866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
70867 $as_echo_n "checking for openat... " >&6; }
70868 if ${glibcxx_cv_openat+:} false; then :
70869 $as_echo_n "(cached) " >&6
70870 else
70871 if test x$gcc_no_link = xyes; then
70872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70873 /* end confdefs.h. */
70874 #include <fcntl.h>
70876 main ()
70878 int fd = ::openat(AT_FDCWD, "", 0);
70880 return 0;
70882 _ACEOF
70883 if ac_fn_cxx_try_compile "$LINENO"; then :
70884 glibcxx_cv_openat=yes
70885 else
70886 glibcxx_cv_openat=no
70888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70889 else
70890 if test x$gcc_no_link = xyes; then
70891 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70894 /* end confdefs.h. */
70895 #include <fcntl.h>
70897 main ()
70899 int fd = ::openat(AT_FDCWD, "", 0);
70901 return 0;
70903 _ACEOF
70904 if ac_fn_cxx_try_link "$LINENO"; then :
70905 glibcxx_cv_openat=yes
70906 else
70907 glibcxx_cv_openat=no
70909 rm -f core conftest.err conftest.$ac_objext \
70910 conftest$ac_exeext conftest.$ac_ext
70914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
70915 $as_echo "$glibcxx_cv_openat" >&6; }
70916 if test $glibcxx_cv_openat = yes; then
70918 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
70921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
70922 $as_echo_n "checking for unlinkat... " >&6; }
70923 if ${glibcxx_cv_unlinkat+:} false; then :
70924 $as_echo_n "(cached) " >&6
70925 else
70926 if test x$gcc_no_link = xyes; then
70927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70928 /* end confdefs.h. */
70929 #include <fcntl.h>
70930 #include <unistd.h>
70932 main ()
70934 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
70936 return 0;
70938 _ACEOF
70939 if ac_fn_cxx_try_compile "$LINENO"; then :
70940 glibcxx_cv_unlinkat=yes
70941 else
70942 glibcxx_cv_unlinkat=no
70944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70945 else
70946 if test x$gcc_no_link = xyes; then
70947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70950 /* end confdefs.h. */
70951 #include <fcntl.h>
70952 #include <unistd.h>
70954 main ()
70956 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
70958 return 0;
70960 _ACEOF
70961 if ac_fn_cxx_try_link "$LINENO"; then :
70962 glibcxx_cv_unlinkat=yes
70963 else
70964 glibcxx_cv_unlinkat=no
70966 rm -f core conftest.err conftest.$ac_objext \
70967 conftest$ac_exeext conftest.$ac_ext
70971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
70972 $as_echo "$glibcxx_cv_unlinkat" >&6; }
70973 if test $glibcxx_cv_unlinkat = yes; then
70975 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
70978 CXXFLAGS="$ac_save_CXXFLAGS"
70979 ac_ext=c
70980 ac_cpp='$CPP $CPPFLAGS'
70981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70988 # Check whether --enable-libstdcxx-backtrace was given.
70989 if test "${enable_libstdcxx_backtrace+set}" = set; then :
70990 enableval=$enable_libstdcxx_backtrace;
70991 case "$enableval" in
70992 yes|no|auto) ;;
70993 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
70994 esac
70996 else
70997 enable_libstdcxx_backtrace=auto
71002 # Most of this is adapted from libsanitizer/configure.ac
71004 BACKTRACE_CPPFLAGS=
71006 # libbacktrace only needs atomics for int, which we've already tested
71007 if test "$glibcxx_cv_atomic_int" = "yes"; then
71008 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71011 # Test for __sync support.
71012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71013 $as_echo_n "checking __sync extensions... " >&6; }
71014 if ${glibcxx_cv_sys_sync+:} false; then :
71015 $as_echo_n "(cached) " >&6
71016 else
71017 if test x$gcc_no_link = xyes; then
71018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71019 /* end confdefs.h. */
71020 int i;
71022 main ()
71024 __sync_bool_compare_and_swap (&i, i, i);
71025 __sync_lock_test_and_set (&i, 1);
71026 __sync_lock_release (&i);
71028 return 0;
71030 _ACEOF
71031 if ac_fn_c_try_compile "$LINENO"; then :
71032 glibcxx_cv_sys_sync=yes
71033 else
71034 glibcxx_cv_sys_sync=no
71036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71037 else
71038 if test x$gcc_no_link = xyes; then
71039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71042 /* end confdefs.h. */
71043 int i;
71045 main ()
71047 __sync_bool_compare_and_swap (&i, i, i);
71048 __sync_lock_test_and_set (&i, 1);
71049 __sync_lock_release (&i);
71051 return 0;
71053 _ACEOF
71054 if ac_fn_c_try_link "$LINENO"; then :
71055 glibcxx_cv_sys_sync=yes
71056 else
71057 glibcxx_cv_sys_sync=no
71059 rm -f core conftest.err conftest.$ac_objext \
71060 conftest$ac_exeext conftest.$ac_ext
71064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71065 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71066 if test "$glibcxx_cv_sys_sync" = "yes"; then
71067 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71070 # Check for dl_iterate_phdr.
71071 for ac_header in link.h
71072 do :
71073 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71074 if test "x$ac_cv_header_link_h" = xyes; then :
71075 cat >>confdefs.h <<_ACEOF
71076 #define HAVE_LINK_H 1
71077 _ACEOF
71081 done
71083 if test "$ac_cv_header_link_h" = "no"; then
71084 have_dl_iterate_phdr=no
71085 else
71086 # When built as a GCC target library, we can't do a link test.
71087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71088 /* end confdefs.h. */
71089 #include <link.h>
71091 _ACEOF
71092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71093 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71094 have_dl_iterate_phdr=yes
71095 else
71096 have_dl_iterate_phdr=no
71098 rm -f conftest*
71101 if test "$have_dl_iterate_phdr" = "yes"; then
71102 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71104 for ac_header in windows.h
71105 do :
71106 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
71107 if test "x$ac_cv_header_windows_h" = xyes; then :
71108 cat >>confdefs.h <<_ACEOF
71109 #define HAVE_WINDOWS_H 1
71110 _ACEOF
71114 done
71117 # Check for the fcntl function.
71118 if test -n "${with_target_subdir}"; then
71119 case "${host}" in
71120 *-*-mingw*) have_fcntl=no ;;
71121 *) have_fcntl=yes ;;
71122 esac
71123 else
71124 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71125 if test "x$ac_cv_func_fcntl" = xyes; then :
71126 have_fcntl=yes
71127 else
71128 have_fcntl=no
71132 if test "$have_fcntl" = "yes"; then
71133 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71136 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71137 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71138 ac_have_decl=1
71139 else
71140 ac_have_decl=0
71143 cat >>confdefs.h <<_ACEOF
71144 #define HAVE_DECL_STRNLEN $ac_have_decl
71145 _ACEOF
71148 # Check for getexecname function.
71149 if test -n "${with_target_subdir}"; then
71150 case "${host}" in
71151 *-*-solaris2*) have_getexecname=yes ;;
71152 *) have_getexecname=no ;;
71153 esac
71154 else
71155 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71156 if test "x$ac_cv_func_getexecname" = xyes; then :
71157 have_getexecname=yes
71158 else
71159 have_getexecname=no
71163 if test "$have_getexecname" = "yes"; then
71164 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71167 # The library needs to be able to read the executable itself. Compile
71168 # a file to determine the executable format. The awk script
71169 # filetype.awk prints out the file type.
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71171 $as_echo_n "checking output filetype... " >&6; }
71172 if ${glibcxx_cv_sys_filetype+:} false; then :
71173 $as_echo_n "(cached) " >&6
71174 else
71175 filetype=
71176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71177 /* end confdefs.h. */
71178 int i;
71180 main ()
71182 int j;
71184 return 0;
71186 _ACEOF
71187 if ac_fn_c_try_compile "$LINENO"; then :
71188 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71189 else
71190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71192 as_fn_error $? "compiler failed
71193 See \`config.log' for more details" "$LINENO" 5; }
71195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71196 glibcxx_cv_sys_filetype=$filetype
71198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71199 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71201 # Match the file type to decide what files to compile.
71202 FORMAT_FILE=
71203 case "$glibcxx_cv_sys_filetype" in
71204 elf*) FORMAT_FILE="elf.lo" ;;
71205 pecoff*) FORMAT_FILE="pecoff.lo" ;;
71206 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71207 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71208 FORMAT_FILE="unknown.lo"
71209 enable_libstdcxx_backtrace=no
71211 esac
71214 # ELF defines.
71215 elfsize=
71216 case "$glibcxx_cv_sys_filetype" in
71217 elf32) elfsize=32 ;;
71218 elf64) elfsize=64 ;;
71219 esac
71220 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71223 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71224 if test "$enable_libstdcxx_backtrace" = "auto"; then
71225 enable_libstdcxx_backtrace=no
71227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71228 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71229 if test "$enable_libstdcxx_backtrace" = "yes"; then
71230 BACKTRACE_SUPPORTED=1
71232 for ac_header in sys/mman.h
71233 do :
71234 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71235 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71236 cat >>confdefs.h <<_ACEOF
71237 #define HAVE_SYS_MMAN_H 1
71238 _ACEOF
71242 done
71244 case "${host}" in
71245 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71246 have_mmap=no ;;
71247 *-*-*)
71248 have_mmap="$ac_cv_header_sys_mman_h" ;;
71249 esac
71251 if test "$have_mmap" = "no"; then
71252 VIEW_FILE=read.lo
71253 ALLOC_FILE=alloc.lo
71254 else
71255 VIEW_FILE=mmapio.lo
71256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71257 /* end confdefs.h. */
71259 #include <sys/mman.h>
71260 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71261 #error no MAP_ANONYMOUS
71262 #endif
71264 _ACEOF
71265 if ac_fn_c_try_cpp "$LINENO"; then :
71266 ALLOC_FILE=mmap.lo
71267 else
71268 ALLOC_FILE=alloc.lo
71270 rm -f conftest.err conftest.i conftest.$ac_ext
71275 BACKTRACE_USES_MALLOC=0
71276 if test "$ALLOC_FILE" = "alloc.lo"; then
71277 BACKTRACE_USES_MALLOC=1
71280 if test "$ac_has_gthreads" = "yes"; then
71281 BACKTRACE_SUPPORTS_THREADS=1
71282 else
71283 BACKTRACE_SUPPORTS_THREADS=0
71290 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71292 else
71293 BACKTRACE_SUPPORTED=0
71294 BACKTRACE_USES_MALLOC=0
71295 BACKTRACE_SUPPORTS_THREADS=0
71300 # For Networking TS.
71301 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
71302 do :
71303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71304 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71305 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71306 cat >>confdefs.h <<_ACEOF
71307 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71308 _ACEOF
71312 done
71314 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71316 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71320 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71322 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71326 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71327 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71329 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71335 # For Transactional Memory TS
71337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71338 $as_echo_n "checking how size_t is mangled... " >&6; }
71339 if ${glibcxx_cv_size_t_mangling+:} false; then :
71340 $as_echo_n "(cached) " >&6
71341 else
71343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71344 /* end confdefs.h. */
71347 main ()
71349 extern __SIZE_TYPE__ x; extern unsigned long x;
71351 return 0;
71353 _ACEOF
71354 if ac_fn_c_try_compile "$LINENO"; then :
71355 glibcxx_cv_size_t_mangling=m
71356 else
71358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71359 /* end confdefs.h. */
71362 main ()
71364 extern __SIZE_TYPE__ x; extern unsigned int x;
71366 return 0;
71368 _ACEOF
71369 if ac_fn_c_try_compile "$LINENO"; then :
71370 glibcxx_cv_size_t_mangling=j
71371 else
71373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71374 /* end confdefs.h. */
71377 main ()
71379 extern __SIZE_TYPE__ x; extern unsigned long long x;
71381 return 0;
71383 _ACEOF
71384 if ac_fn_c_try_compile "$LINENO"; then :
71385 glibcxx_cv_size_t_mangling=y
71386 else
71388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71389 /* end confdefs.h. */
71392 main ()
71394 extern __SIZE_TYPE__ x; extern unsigned short x;
71396 return 0;
71398 _ACEOF
71399 if ac_fn_c_try_compile "$LINENO"; then :
71400 glibcxx_cv_size_t_mangling=t
71401 else
71403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71404 /* end confdefs.h. */
71407 main ()
71409 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
71411 return 0;
71413 _ACEOF
71414 if ac_fn_c_try_compile "$LINENO"; then :
71415 glibcxx_cv_size_t_mangling=u6uint20
71416 else
71417 glibcxx_cv_size_t_mangling=x
71419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
71435 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
71436 if test $glibcxx_cv_size_t_mangling = x; then
71437 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
71440 cat >>confdefs.h <<_ACEOF
71441 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
71442 _ACEOF
71446 # Check which release added std::exception_ptr for the target
71448 if test $enable_symvers != no; then
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
71450 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
71451 case ${target} in
71452 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
71453 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
71454 ac_exception_ptr_since_gcc46=yes
71457 # If the value of this macro changes then we will need to hardcode
71458 # yes/no here for additional targets based on the original value.
71459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71460 /* end confdefs.h. */
71463 main ()
71466 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
71467 # error atomic int not always lock free
71468 #endif
71471 return 0;
71473 _ACEOF
71474 if ac_fn_c_try_compile "$LINENO"; then :
71475 ac_exception_ptr_since_gcc46=yes
71476 else
71477 ac_exception_ptr_since_gcc46=no
71479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71481 esac
71482 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
71484 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
71487 $as_echo "4.6.0" >&6; }
71488 else
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
71490 $as_echo "7.1.0" >&6; }
71495 # For libsupc++/eh_alloc.cc defaults.
71497 eh_pool_static=
71498 eh_pool_nobjs=
71499 # Check whether --enable-libstdcxx-static-eh-pool was given.
71500 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
71501 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
71502 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
71503 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
71504 $as_echo "$as_me: EH pool using static buffer" >&6;}
71510 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
71511 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
71512 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
71513 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
71515 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
71516 else
71517 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
71522 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
71526 # For src/c++20/tzdb.cc defaults.
71529 # Check whether --with-libstdcxx-zoneinfo was given.
71530 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
71531 withval=$with_libstdcxx_zoneinfo;
71532 else
71533 with_libstdcxx_zoneinfo=yes
71537 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
71538 # Pick a default when no specific path is set.
71539 case "$target_os" in
71540 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
71541 # Not all distros ship tzdata.zi in this dir.
71542 zoneinfo_dir="/usr/share/zoneinfo"
71544 aix*)
71545 # Binary tzfile files are in /usr/share/lib/zoneinfo
71546 # but tzdata.zi is not present there.
71547 zoneinfo_dir=none
71549 darwin2*)
71550 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
71551 # but tzdata.zi is not present there.
71552 zoneinfo_dir=none
71555 # Binary tzfile files are commonly found in /usr/share/zoneinfo
71556 # but tzdata.zi is not present there.
71557 zoneinfo_dir=none
71559 esac
71560 case "$host" in
71561 avr-*-* | msp430-*-* ) embed_zoneinfo=no ;;
71563 # Also embed a copy of the tzdata.zi file as a static string.
71564 embed_zoneinfo=yes ;;
71565 esac
71566 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
71567 # Disable tzdb support completely.
71568 zoneinfo_dir=none
71569 embed_zoneinfo=no
71570 else
71571 case "${with_libstdcxx_zoneinfo}" in
71572 static)
71573 # Do not attempt to read from disk, always use embedded data.
71574 zoneinfo_dir=none
71575 embed_zoneinfo=yes
71577 static,* | *,static)
71578 # Try to read from disk, use embedded data as fallback.
71579 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
71580 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
71581 embed_zoneinfo=yes
71584 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
71585 embed_zoneinfo=no
71587 esac
71589 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
71590 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
71591 if test "x${zoneinfo_dir}" != xnone; then
71593 cat >>confdefs.h <<_ACEOF
71594 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
71595 _ACEOF
71597 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
71598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
71599 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
71603 if test "x${embed_zoneinfo}" = xyes; then
71604 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
71605 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
71607 cat >>confdefs.h <<_ACEOF
71608 #define _GLIBCXX_STATIC_TZDATA 1
71609 _ACEOF
71614 # Define documentation rules conditionally.
71616 # See if makeinfo has been installed and is modern enough
71617 # that we can use it.
71619 # Extract the first word of "makeinfo", so it can be a program name with args.
71620 set dummy makeinfo; ac_word=$2
71621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71622 $as_echo_n "checking for $ac_word... " >&6; }
71623 if ${ac_cv_prog_MAKEINFO+:} false; then :
71624 $as_echo_n "(cached) " >&6
71625 else
71626 if test -n "$MAKEINFO"; then
71627 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71628 else
71629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71630 for as_dir in $PATH
71632 IFS=$as_save_IFS
71633 test -z "$as_dir" && as_dir=.
71634 for ac_exec_ext in '' $ac_executable_extensions; do
71635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71636 ac_cv_prog_MAKEINFO="makeinfo"
71637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71638 break 2
71640 done
71641 done
71642 IFS=$as_save_IFS
71646 MAKEINFO=$ac_cv_prog_MAKEINFO
71647 if test -n "$MAKEINFO"; then
71648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71649 $as_echo "$MAKEINFO" >&6; }
71650 else
71651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71652 $as_echo "no" >&6; }
71656 if test -n "$MAKEINFO"; then
71657 # Found it, now check the version.
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71659 $as_echo_n "checking for modern makeinfo... " >&6; }
71660 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
71661 $as_echo_n "(cached) " >&6
71662 else
71663 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71664 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71666 case $ac_prog_version in
71667 '') gcc_cv_prog_makeinfo_modern=no;;
71668 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71669 *) gcc_cv_prog_makeinfo_modern=no;;
71670 esac
71673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71674 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71675 else
71676 gcc_cv_prog_makeinfo_modern=no
71678 if test $gcc_cv_prog_makeinfo_modern = no; then
71679 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71682 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71683 BUILD_INFO_TRUE=
71684 BUILD_INFO_FALSE='#'
71685 else
71686 BUILD_INFO_TRUE='#'
71687 BUILD_INFO_FALSE=
71691 # Check for doxygen
71692 # Extract the first word of "doxygen", so it can be a program name with args.
71693 set dummy doxygen; ac_word=$2
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71695 $as_echo_n "checking for $ac_word... " >&6; }
71696 if ${ac_cv_prog_DOXYGEN+:} false; then :
71697 $as_echo_n "(cached) " >&6
71698 else
71699 if test -n "$DOXYGEN"; then
71700 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71701 else
71702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71703 for as_dir in $PATH
71705 IFS=$as_save_IFS
71706 test -z "$as_dir" && as_dir=.
71707 for ac_exec_ext in '' $ac_executable_extensions; do
71708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71709 ac_cv_prog_DOXYGEN="yes"
71710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71711 break 2
71713 done
71714 done
71715 IFS=$as_save_IFS
71717 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71720 DOXYGEN=$ac_cv_prog_DOXYGEN
71721 if test -n "$DOXYGEN"; then
71722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71723 $as_echo "$DOXYGEN" >&6; }
71724 else
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71726 $as_echo "no" >&6; }
71730 # Extract the first word of "dot", so it can be a program name with args.
71731 set dummy dot; ac_word=$2
71732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71733 $as_echo_n "checking for $ac_word... " >&6; }
71734 if ${ac_cv_prog_DOT+:} false; then :
71735 $as_echo_n "(cached) " >&6
71736 else
71737 if test -n "$DOT"; then
71738 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71739 else
71740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71741 for as_dir in $PATH
71743 IFS=$as_save_IFS
71744 test -z "$as_dir" && as_dir=.
71745 for ac_exec_ext in '' $ac_executable_extensions; do
71746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71747 ac_cv_prog_DOT="yes"
71748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71749 break 2
71751 done
71752 done
71753 IFS=$as_save_IFS
71755 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71758 DOT=$ac_cv_prog_DOT
71759 if test -n "$DOT"; then
71760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71761 $as_echo "$DOT" >&6; }
71762 else
71763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71764 $as_echo "no" >&6; }
71769 # Check for docbook
71770 # Extract the first word of "xmlcatalog", so it can be a program name with args.
71771 set dummy xmlcatalog; ac_word=$2
71772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71773 $as_echo_n "checking for $ac_word... " >&6; }
71774 if ${ac_cv_prog_XMLCATALOG+:} false; then :
71775 $as_echo_n "(cached) " >&6
71776 else
71777 if test -n "$XMLCATALOG"; then
71778 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
71779 else
71780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71781 for as_dir in $PATH
71783 IFS=$as_save_IFS
71784 test -z "$as_dir" && as_dir=.
71785 for ac_exec_ext in '' $ac_executable_extensions; do
71786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71787 ac_cv_prog_XMLCATALOG="yes"
71788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71789 break 2
71791 done
71792 done
71793 IFS=$as_save_IFS
71795 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
71798 XMLCATALOG=$ac_cv_prog_XMLCATALOG
71799 if test -n "$XMLCATALOG"; then
71800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
71801 $as_echo "$XMLCATALOG" >&6; }
71802 else
71803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71804 $as_echo "no" >&6; }
71808 # Extract the first word of "xsltproc", so it can be a program name with args.
71809 set dummy xsltproc; ac_word=$2
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71811 $as_echo_n "checking for $ac_word... " >&6; }
71812 if ${ac_cv_prog_XSLTPROC+:} false; then :
71813 $as_echo_n "(cached) " >&6
71814 else
71815 if test -n "$XSLTPROC"; then
71816 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71817 else
71818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71819 for as_dir in $PATH
71821 IFS=$as_save_IFS
71822 test -z "$as_dir" && as_dir=.
71823 for ac_exec_ext in '' $ac_executable_extensions; do
71824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71825 ac_cv_prog_XSLTPROC="yes"
71826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71827 break 2
71829 done
71830 done
71831 IFS=$as_save_IFS
71833 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71836 XSLTPROC=$ac_cv_prog_XSLTPROC
71837 if test -n "$XSLTPROC"; then
71838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71839 $as_echo "$XSLTPROC" >&6; }
71840 else
71841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71842 $as_echo "no" >&6; }
71846 # Extract the first word of "xmllint", so it can be a program name with args.
71847 set dummy xmllint; ac_word=$2
71848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71849 $as_echo_n "checking for $ac_word... " >&6; }
71850 if ${ac_cv_prog_XMLLINT+:} false; then :
71851 $as_echo_n "(cached) " >&6
71852 else
71853 if test -n "$XMLLINT"; then
71854 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71855 else
71856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71857 for as_dir in $PATH
71859 IFS=$as_save_IFS
71860 test -z "$as_dir" && as_dir=.
71861 for ac_exec_ext in '' $ac_executable_extensions; do
71862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71863 ac_cv_prog_XMLLINT="yes"
71864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71865 break 2
71867 done
71868 done
71869 IFS=$as_save_IFS
71871 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71874 XMLLINT=$ac_cv_prog_XMLLINT
71875 if test -n "$XMLLINT"; then
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71877 $as_echo "$XMLLINT" >&6; }
71878 else
71879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71880 $as_echo "no" >&6; }
71886 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71889 $as_echo_n "checking for local stylesheet directory... " >&6; }
71890 glibcxx_local_stylesheets=no
71891 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
71892 then
71893 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
71894 glibcxx_local_stylesheets=yes
71895 else
71896 for dir in \
71897 /usr/share/sgml/docbook/xsl-ns-stylesheets \
71898 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
71899 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
71900 /usr/share/xml/docbook/stylesheet/nwalsh/current
71902 if test -d $dir; then
71903 glibcxx_local_stylesheets=yes
71904 XSL_STYLE_DIR=$dir
71905 break
71907 done
71909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71910 $as_echo "$glibcxx_local_stylesheets" >&6; }
71912 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71914 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71915 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71918 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71919 glibcxx_stylesheets=no
71920 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
71921 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
71922 glibcxx_stylesheets=yes
71925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71926 $as_echo "$glibcxx_stylesheets" >&6; }
71928 else
71929 glibcxx_stylesheets=no
71932 # Check for epub3 dependencies.
71933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71934 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71935 glibcxx_epub_stylesheets=no
71936 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71937 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71938 glibcxx_epub_stylesheets=yes
71941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71942 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71943 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71944 BUILD_EPUB_TRUE=
71945 BUILD_EPUB_FALSE='#'
71946 else
71947 BUILD_EPUB_TRUE='#'
71948 BUILD_EPUB_FALSE=
71954 # Check for xml/html dependencies.
71955 if test $ac_cv_prog_DOXYGEN = "yes" &&
71956 test $ac_cv_prog_DOT = "yes" &&
71957 test $ac_cv_prog_XSLTPROC = "yes" &&
71958 test $ac_cv_prog_XMLLINT = "yes" &&
71959 test $glibcxx_stylesheets = "yes"; then
71960 BUILD_XML_TRUE=
71961 BUILD_XML_FALSE='#'
71962 else
71963 BUILD_XML_TRUE='#'
71964 BUILD_XML_FALSE=
71968 if test $ac_cv_prog_DOXYGEN = "yes" &&
71969 test $ac_cv_prog_DOT = "yes" &&
71970 test $ac_cv_prog_XSLTPROC = "yes" &&
71971 test $ac_cv_prog_XMLLINT = "yes" &&
71972 test $glibcxx_stylesheets = "yes"; then
71973 BUILD_HTML_TRUE=
71974 BUILD_HTML_FALSE='#'
71975 else
71976 BUILD_HTML_TRUE='#'
71977 BUILD_HTML_FALSE=
71981 # Check for man dependencies.
71982 if test $ac_cv_prog_DOXYGEN = "yes" &&
71983 test $ac_cv_prog_DOT = "yes"; then
71984 BUILD_MAN_TRUE=
71985 BUILD_MAN_FALSE='#'
71986 else
71987 BUILD_MAN_TRUE='#'
71988 BUILD_MAN_FALSE=
71992 # Check for pdf dependencies.
71993 # Extract the first word of "dblatex", so it can be a program name with args.
71994 set dummy dblatex; ac_word=$2
71995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71996 $as_echo_n "checking for $ac_word... " >&6; }
71997 if ${ac_cv_prog_DBLATEX+:} false; then :
71998 $as_echo_n "(cached) " >&6
71999 else
72000 if test -n "$DBLATEX"; then
72001 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72002 else
72003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72004 for as_dir in $PATH
72006 IFS=$as_save_IFS
72007 test -z "$as_dir" && as_dir=.
72008 for ac_exec_ext in '' $ac_executable_extensions; do
72009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72010 ac_cv_prog_DBLATEX="yes"
72011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72012 break 2
72014 done
72015 done
72016 IFS=$as_save_IFS
72018 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72021 DBLATEX=$ac_cv_prog_DBLATEX
72022 if test -n "$DBLATEX"; then
72023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72024 $as_echo "$DBLATEX" >&6; }
72025 else
72026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72027 $as_echo "no" >&6; }
72031 # Extract the first word of "pdflatex", so it can be a program name with args.
72032 set dummy pdflatex; ac_word=$2
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72034 $as_echo_n "checking for $ac_word... " >&6; }
72035 if ${ac_cv_prog_PDFLATEX+:} false; then :
72036 $as_echo_n "(cached) " >&6
72037 else
72038 if test -n "$PDFLATEX"; then
72039 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72040 else
72041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72042 for as_dir in $PATH
72044 IFS=$as_save_IFS
72045 test -z "$as_dir" && as_dir=.
72046 for ac_exec_ext in '' $ac_executable_extensions; do
72047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72048 ac_cv_prog_PDFLATEX="yes"
72049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72050 break 2
72052 done
72053 done
72054 IFS=$as_save_IFS
72056 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72059 PDFLATEX=$ac_cv_prog_PDFLATEX
72060 if test -n "$PDFLATEX"; then
72061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72062 $as_echo "$PDFLATEX" >&6; }
72063 else
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72065 $as_echo "no" >&6; }
72069 if test $ac_cv_prog_DOXYGEN = "yes" &&
72070 test $ac_cv_prog_DOT = "yes" &&
72071 test $ac_cv_prog_XSLTPROC = "yes" &&
72072 test $ac_cv_prog_XMLLINT = "yes" &&
72073 test $ac_cv_prog_DBLATEX = "yes" &&
72074 test $ac_cv_prog_PDFLATEX = "yes"; then
72075 BUILD_PDF_TRUE=
72076 BUILD_PDF_FALSE='#'
72077 else
72078 BUILD_PDF_TRUE='#'
72079 BUILD_PDF_FALSE=
72083 case "$build" in
72084 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72085 * ) glibcxx_include_dir_notparallel=no ;;
72086 esac
72087 if test $glibcxx_include_dir_notparallel = "yes"; then
72088 INCLUDE_DIR_NOTPARALLEL_TRUE=
72089 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72090 else
72091 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72092 INCLUDE_DIR_NOTPARALLEL_FALSE=
72096 # Propagate the target-specific source directories through the build chain.
72097 ATOMICITY_SRCDIR=config/${atomicity_dir}
72098 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72099 ATOMIC_FLAGS=${atomic_flags}
72100 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72101 OS_INC_SRCDIR=config/${os_include_dir}
72102 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72103 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72104 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72105 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72116 # Conditionalize the makefile for this target machine.
72117 tmake_file_=
72118 for f in ${tmake_file}
72120 if test -f ${srcdir}/config/$f
72121 then
72122 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72124 done
72125 tmake_file="${tmake_file_}"
72128 # Add CET specific flags if Intel CET is enabled.
72129 # Check whether --enable-cet was given.
72130 if test "${enable_cet+set}" = set; then :
72131 enableval=$enable_cet;
72132 case "$enableval" in
72133 yes|no|auto) ;;
72134 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72135 esac
72137 else
72138 enable_cet=auto
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72143 $as_echo_n "checking for CET support... " >&6; }
72145 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72146 case "$host" in
72147 i[34567]86-*-linux* | x86_64-*-linux*)
72148 case "$enable_cet" in
72149 auto)
72150 # Check if target supports multi-byte NOPs
72151 # and if compiler and assembler support CET insn.
72152 cet_save_CFLAGS="$CFLAGS"
72153 CFLAGS="$CFLAGS -fcf-protection"
72154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72155 /* end confdefs.h. */
72158 main ()
72161 #if !defined(__SSE2__)
72162 #error target does not support multi-byte NOPs
72163 #else
72164 asm ("setssbsy");
72165 #endif
72168 return 0;
72170 _ACEOF
72171 if ac_fn_c_try_compile "$LINENO"; then :
72172 enable_cet=yes
72173 else
72174 enable_cet=no
72176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72177 CFLAGS="$cet_save_CFLAGS"
72179 yes)
72180 # Check if assembler supports CET.
72181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72182 /* end confdefs.h. */
72185 main ()
72187 asm ("setssbsy");
72189 return 0;
72191 _ACEOF
72192 if ac_fn_c_try_compile "$LINENO"; then :
72194 else
72195 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72199 esac
72202 enable_cet=no
72204 esac
72205 if test x$enable_cet = xyes; then
72206 CET_FLAGS="-fcf-protection -mshstk"
72207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72208 $as_echo "yes" >&6; }
72209 else
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72211 $as_echo "no" >&6; }
72214 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72215 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72219 # Determine cross-compile flags and AM_CONDITIONALs.
72220 #AC_SUBST(GLIBCXX_IS_NATIVE)
72221 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72222 if test $is_hosted = yes; then
72223 GLIBCXX_HOSTED_TRUE=
72224 GLIBCXX_HOSTED_FALSE='#'
72225 else
72226 GLIBCXX_HOSTED_TRUE='#'
72227 GLIBCXX_HOSTED_FALSE=
72231 if test $enable_libstdcxx_pch = yes; then
72232 GLIBCXX_BUILD_PCH_TRUE=
72233 GLIBCXX_BUILD_PCH_FALSE='#'
72234 else
72235 GLIBCXX_BUILD_PCH_TRUE='#'
72236 GLIBCXX_BUILD_PCH_FALSE=
72240 if test $enable_float128 = yes; then
72241 ENABLE_FLOAT128_TRUE=
72242 ENABLE_FLOAT128_FALSE='#'
72243 else
72244 ENABLE_FLOAT128_TRUE='#'
72245 ENABLE_FLOAT128_FALSE=
72249 if test $enable_libstdcxx_allocator_flag = new; then
72250 ENABLE_ALLOCATOR_NEW_TRUE=
72251 ENABLE_ALLOCATOR_NEW_FALSE='#'
72252 else
72253 ENABLE_ALLOCATOR_NEW_TRUE='#'
72254 ENABLE_ALLOCATOR_NEW_FALSE=
72258 if test $enable_cheaders = c; then
72259 GLIBCXX_C_HEADERS_C_TRUE=
72260 GLIBCXX_C_HEADERS_C_FALSE='#'
72261 else
72262 GLIBCXX_C_HEADERS_C_TRUE='#'
72263 GLIBCXX_C_HEADERS_C_FALSE=
72267 if test $enable_cheaders = c_std; then
72268 GLIBCXX_C_HEADERS_C_STD_TRUE=
72269 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72270 else
72271 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72272 GLIBCXX_C_HEADERS_C_STD_FALSE=
72276 if test $enable_cheaders = c_global; then
72277 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72278 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72279 else
72280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72285 if test $c_compatibility = yes; then
72286 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72287 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72288 else
72289 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72290 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72294 if test $enable_libstdcxx_debug = yes; then
72295 GLIBCXX_BUILD_DEBUG_TRUE=
72296 GLIBCXX_BUILD_DEBUG_FALSE='#'
72297 else
72298 GLIBCXX_BUILD_DEBUG_TRUE='#'
72299 GLIBCXX_BUILD_DEBUG_FALSE=
72303 if test $enable_extern_template = yes; then
72304 ENABLE_EXTERN_TEMPLATE_TRUE=
72305 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72306 else
72307 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72308 ENABLE_EXTERN_TEMPLATE_FALSE=
72312 if test $python_mod_dir != no; then
72313 ENABLE_PYTHONDIR_TRUE=
72314 ENABLE_PYTHONDIR_FALSE='#'
72315 else
72316 ENABLE_PYTHONDIR_TRUE='#'
72317 ENABLE_PYTHONDIR_FALSE=
72321 if test $enable_werror = yes; then
72322 ENABLE_WERROR_TRUE=
72323 ENABLE_WERROR_FALSE='#'
72324 else
72325 ENABLE_WERROR_TRUE='#'
72326 ENABLE_WERROR_FALSE=
72330 if test $enable_vtable_verify = yes; then
72331 ENABLE_VTABLE_VERIFY_TRUE=
72332 ENABLE_VTABLE_VERIFY_FALSE='#'
72333 else
72334 ENABLE_VTABLE_VERIFY_TRUE='#'
72335 ENABLE_VTABLE_VERIFY_FALSE=
72339 if test $enable_symvers != no; then
72340 ENABLE_SYMVERS_TRUE=
72341 ENABLE_SYMVERS_FALSE='#'
72342 else
72343 ENABLE_SYMVERS_TRUE='#'
72344 ENABLE_SYMVERS_FALSE=
72348 if test $enable_symvers = gnu; then
72349 ENABLE_SYMVERS_GNU_TRUE=
72350 ENABLE_SYMVERS_GNU_FALSE='#'
72351 else
72352 ENABLE_SYMVERS_GNU_TRUE='#'
72353 ENABLE_SYMVERS_GNU_FALSE=
72357 if test $enable_symvers = gnu-versioned-namespace; then
72358 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72359 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72360 else
72361 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72362 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72366 if test $enable_symvers = darwin; then
72367 ENABLE_SYMVERS_DARWIN_TRUE=
72368 ENABLE_SYMVERS_DARWIN_FALSE='#'
72369 else
72370 ENABLE_SYMVERS_DARWIN_TRUE='#'
72371 ENABLE_SYMVERS_DARWIN_FALSE=
72375 if test $enable_symvers = sun; then
72376 ENABLE_SYMVERS_SUN_TRUE=
72377 ENABLE_SYMVERS_SUN_FALSE='#'
72378 else
72379 ENABLE_SYMVERS_SUN_TRUE='#'
72380 ENABLE_SYMVERS_SUN_FALSE=
72384 if test $enable_libstdcxx_visibility = yes; then
72385 ENABLE_VISIBILITY_TRUE=
72386 ENABLE_VISIBILITY_FALSE='#'
72387 else
72388 ENABLE_VISIBILITY_TRUE='#'
72389 ENABLE_VISIBILITY_FALSE=
72393 if test $enable_libstdcxx_dual_abi = yes; then
72394 ENABLE_DUAL_ABI_TRUE=
72395 ENABLE_DUAL_ABI_FALSE='#'
72396 else
72397 ENABLE_DUAL_ABI_TRUE='#'
72398 ENABLE_DUAL_ABI_FALSE=
72402 if test $glibcxx_cxx11_abi = 1; then
72403 ENABLE_CXX11_ABI_TRUE=
72404 ENABLE_CXX11_ABI_FALSE='#'
72405 else
72406 ENABLE_CXX11_ABI_TRUE='#'
72407 ENABLE_CXX11_ABI_FALSE=
72411 if test $ac_ldbl_compat = yes; then
72412 GLIBCXX_LDBL_COMPAT_TRUE=
72413 GLIBCXX_LDBL_COMPAT_FALSE='#'
72414 else
72415 GLIBCXX_LDBL_COMPAT_TRUE='#'
72416 GLIBCXX_LDBL_COMPAT_FALSE=
72420 if test $ac_ldbl_alt128_compat = yes; then
72421 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
72422 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
72423 else
72424 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
72425 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
72429 if test $enable_libstdcxx_filesystem_ts = yes; then
72430 ENABLE_FILESYSTEM_TS_TRUE=
72431 ENABLE_FILESYSTEM_TS_FALSE='#'
72432 else
72433 ENABLE_FILESYSTEM_TS_TRUE='#'
72434 ENABLE_FILESYSTEM_TS_FALSE=
72438 if test "$enable_libstdcxx_backtrace" = yes; then
72439 ENABLE_BACKTRACE_TRUE=
72440 ENABLE_BACKTRACE_FALSE='#'
72441 else
72442 ENABLE_BACKTRACE_TRUE='#'
72443 ENABLE_BACKTRACE_FALSE=
72447 if test "${embed_zoneinfo}" = yes; then
72448 USE_STATIC_TZDATA_TRUE=
72449 USE_STATIC_TZDATA_FALSE='#'
72450 else
72451 USE_STATIC_TZDATA_TRUE='#'
72452 USE_STATIC_TZDATA_FALSE=
72458 cat >confcache <<\_ACEOF
72459 # This file is a shell script that caches the results of configure
72460 # tests run on this system so they can be shared between configure
72461 # scripts and configure runs, see configure's option --config-cache.
72462 # It is not useful on other systems. If it contains results you don't
72463 # want to keep, you may remove or edit it.
72465 # config.status only pays attention to the cache file if you give it
72466 # the --recheck option to rerun configure.
72468 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72469 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72470 # following values.
72472 _ACEOF
72474 # The following way of writing the cache mishandles newlines in values,
72475 # but we know of no workaround that is simple, portable, and efficient.
72476 # So, we kill variables containing newlines.
72477 # Ultrix sh set writes to stderr and can't be redirected directly,
72478 # and sets the high bit in the cache file unless we assign to the vars.
72480 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72481 eval ac_val=\$$ac_var
72482 case $ac_val in #(
72483 *${as_nl}*)
72484 case $ac_var in #(
72485 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72486 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72487 esac
72488 case $ac_var in #(
72489 _ | IFS | as_nl) ;; #(
72490 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72491 *) { eval $ac_var=; unset $ac_var;} ;;
72492 esac ;;
72493 esac
72494 done
72496 (set) 2>&1 |
72497 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72498 *${as_nl}ac_space=\ *)
72499 # `set' does not quote correctly, so add quotes: double-quote
72500 # substitution turns \\\\ into \\, and sed turns \\ into \.
72501 sed -n \
72502 "s/'/'\\\\''/g;
72503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72504 ;; #(
72506 # `set' quotes correctly as required by POSIX, so do not add quotes.
72507 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72509 esac |
72510 sort
72512 sed '
72513 /^ac_cv_env_/b end
72514 t clear
72515 :clear
72516 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72517 t end
72518 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72519 :end' >>confcache
72520 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72521 if test -w "$cache_file"; then
72522 if test "x$cache_file" != "x/dev/null"; then
72523 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72524 $as_echo "$as_me: updating cache $cache_file" >&6;}
72525 if test ! -f "$cache_file" || test -h "$cache_file"; then
72526 cat confcache >"$cache_file"
72527 else
72528 case $cache_file in #(
72529 */* | ?:*)
72530 mv -f confcache "$cache_file"$$ &&
72531 mv -f "$cache_file"$$ "$cache_file" ;; #(
72533 mv -f confcache "$cache_file" ;;
72534 esac
72537 else
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72542 rm -f confcache
72544 if test ${multilib} = yes; then
72545 multilib_arg="--enable-multilib"
72546 else
72547 multilib_arg=
72550 # Export all the install information.
72552 glibcxx_toolexecdir=no
72553 glibcxx_toolexeclibdir=no
72554 glibcxx_prefixdir=$prefix
72556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72557 $as_echo_n "checking for gxx-include-dir... " >&6; }
72559 # Check whether --with-gxx-include-dir was given.
72560 if test "${with_gxx_include_dir+set}" = set; then :
72561 withval=$with_gxx_include_dir; case "$withval" in
72562 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72563 no) gxx_include_dir=no ;;
72564 *) gxx_include_dir=$withval ;;
72565 esac
72566 else
72567 gxx_include_dir=no
72570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72571 $as_echo "$gxx_include_dir" >&6; }
72573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72574 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72575 # Check whether --enable-version-specific-runtime-libs was given.
72576 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72577 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72578 yes) version_specific_libs=yes ;;
72579 no) version_specific_libs=no ;;
72580 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72581 esac
72582 else
72583 version_specific_libs=no
72586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72587 $as_echo "$version_specific_libs" >&6; }
72590 # Check whether --with-toolexeclibdir was given.
72591 if test "${with_toolexeclibdir+set}" = set; then :
72592 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
72596 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
72598 esac
72599 else
72600 with_toolexeclibdir=no
72605 # Default case for install directory for include files.
72606 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72607 gxx_include_dir='include/c++/${gcc_version}'
72608 if test -n "$with_cross_host" &&
72609 test x"$with_cross_host" != x"no"; then
72610 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72611 else
72612 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72616 # Version-specific runtime libs processing.
72617 if test $version_specific_libs = yes; then
72618 # Need the gcc compiler version to know where to install libraries
72619 # and header files if --enable-version-specific-runtime-libs option
72620 # is selected. FIXME: these variables are misnamed, there are
72621 # no executables installed in _toolexecdir or _toolexeclibdir.
72622 if test x"$gxx_include_dir" = x"no"; then
72623 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72625 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72626 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72629 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72630 # Install a library built with a cross compiler in tooldir, not libdir.
72631 if test x"$glibcxx_toolexecdir" = x"no"; then
72632 if test -n "$with_cross_host" &&
72633 test x"$with_cross_host" != x"no"; then
72634 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72635 case ${with_toolexeclibdir} in
72637 glibcxx_toolexeclibdir='${toolexecdir}/lib'
72640 glibcxx_toolexeclibdir=${with_toolexeclibdir}
72642 esac
72643 else
72644 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72645 glibcxx_toolexeclibdir='${libdir}'
72647 multi_os_directory=`$CXX -print-multi-os-directory`
72648 case $multi_os_directory in
72649 .) ;; # Avoid trailing /.
72650 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72651 esac
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72655 $as_echo_n "checking for install location... " >&6; }
72656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72657 $as_echo "$gxx_include_dir" >&6; }
72665 # Export all the include and flag information to Makefiles.
72667 # Used for every C++ compile we perform.
72668 GLIBCXX_INCLUDES="\
72669 -I$glibcxx_builddir/include/$host_alias \
72670 -I$glibcxx_builddir/include \
72671 -I$glibcxx_srcdir/libsupc++"
72673 # For Canadian crosses, pick this up too.
72674 if test $CANADIAN = yes; then
72675 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72678 # Stuff in the actual top level. Currently only used by libsupc++ to
72679 # get unwind* headers from the libgcc dir.
72680 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72681 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72683 # Now, export this to all the little Makefiles....
72690 # Optimization flags that are probably a good idea for thrill-seekers. Just
72691 # uncomment the lines below and make, everything else is ready to go...
72692 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72693 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72696 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
72700 # Determine what GCC version number to use in filesystem paths.
72702 get_gcc_base_ver="cat"
72704 # Check whether --with-gcc-major-version-only was given.
72705 if test "${with_gcc_major_version_only+set}" = set; then :
72706 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
72707 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
72715 ac_config_files="$ac_config_files Makefile"
72717 ac_config_files="$ac_config_files scripts/testsuite_flags"
72719 ac_config_files="$ac_config_files scripts/extract_symvers"
72721 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72723 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
72726 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72727 # that multilib installs will end up installed in the correct place.
72728 # The testsuite needs it for multilib-aware ABI baseline files.
72729 # To work around this not being passed down from config-ml.in ->
72730 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72731 # append it here. Only modify Makefiles that have just been created.
72733 # Also, get rid of this simulated-VPATH thing that automake does.
72734 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"
72737 ac_config_commands="$ac_config_commands generate-headers"
72740 cat >confcache <<\_ACEOF
72741 # This file is a shell script that caches the results of configure
72742 # tests run on this system so they can be shared between configure
72743 # scripts and configure runs, see configure's option --config-cache.
72744 # It is not useful on other systems. If it contains results you don't
72745 # want to keep, you may remove or edit it.
72747 # config.status only pays attention to the cache file if you give it
72748 # the --recheck option to rerun configure.
72750 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72751 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72752 # following values.
72754 _ACEOF
72756 # The following way of writing the cache mishandles newlines in values,
72757 # but we know of no workaround that is simple, portable, and efficient.
72758 # So, we kill variables containing newlines.
72759 # Ultrix sh set writes to stderr and can't be redirected directly,
72760 # and sets the high bit in the cache file unless we assign to the vars.
72762 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72763 eval ac_val=\$$ac_var
72764 case $ac_val in #(
72765 *${as_nl}*)
72766 case $ac_var in #(
72767 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72768 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72769 esac
72770 case $ac_var in #(
72771 _ | IFS | as_nl) ;; #(
72772 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72773 *) { eval $ac_var=; unset $ac_var;} ;;
72774 esac ;;
72775 esac
72776 done
72778 (set) 2>&1 |
72779 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72780 *${as_nl}ac_space=\ *)
72781 # `set' does not quote correctly, so add quotes: double-quote
72782 # substitution turns \\\\ into \\, and sed turns \\ into \.
72783 sed -n \
72784 "s/'/'\\\\''/g;
72785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72786 ;; #(
72788 # `set' quotes correctly as required by POSIX, so do not add quotes.
72789 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72791 esac |
72792 sort
72794 sed '
72795 /^ac_cv_env_/b end
72796 t clear
72797 :clear
72798 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72799 t end
72800 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72801 :end' >>confcache
72802 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72803 if test -w "$cache_file"; then
72804 if test "x$cache_file" != "x/dev/null"; then
72805 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72806 $as_echo "$as_me: updating cache $cache_file" >&6;}
72807 if test ! -f "$cache_file" || test -h "$cache_file"; then
72808 cat confcache >"$cache_file"
72809 else
72810 case $cache_file in #(
72811 */* | ?:*)
72812 mv -f confcache "$cache_file"$$ &&
72813 mv -f "$cache_file"$$ "$cache_file" ;; #(
72815 mv -f confcache "$cache_file" ;;
72816 esac
72819 else
72820 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72821 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72824 rm -f confcache
72826 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72827 # Let make expand exec_prefix.
72828 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72830 DEFS=-DHAVE_CONFIG_H
72832 ac_libobjs=
72833 ac_ltlibobjs=
72835 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72836 # 1. Remove the extension, and $U if already installed.
72837 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72838 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72839 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72840 # will be set to the directory where LIBOBJS objects are built.
72841 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72842 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72843 done
72844 LIBOBJS=$ac_libobjs
72846 LTLIBOBJS=$ac_ltlibobjs
72849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
72850 $as_echo_n "checking that generated files are newer than configure... " >&6; }
72851 if test -n "$am_sleep_pid"; then
72852 # Hide warnings about reused PIDs.
72853 wait $am_sleep_pid 2>/dev/null
72855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
72856 $as_echo "done" >&6; }
72857 if test -n "$EXEEXT"; then
72858 am__EXEEXT_TRUE=
72859 am__EXEEXT_FALSE='#'
72860 else
72861 am__EXEEXT_TRUE='#'
72862 am__EXEEXT_FALSE=
72865 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72866 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
72867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72869 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72870 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
72871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72873 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72874 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72877 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
72878 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
72879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72881 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
72882 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
72883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72885 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72886 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72889 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72890 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72893 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72894 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72897 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72898 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72901 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72902 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72905 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72906 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72909 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72910 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
72911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72913 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72914 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
72915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72917 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
72918 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
72919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72921 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
72922 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
72923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72925 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72926 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
72927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72929 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72930 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72933 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72934 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72937 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72938 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72941 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72942 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72945 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72946 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
72947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72949 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
72950 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
72951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72953 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
72954 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
72955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72957 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72958 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72961 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
72962 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
72963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72965 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
72966 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
72967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72969 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
72970 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
72971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72973 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
72974 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
72975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72977 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72978 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
72979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72981 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72982 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
72983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72985 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72986 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
72987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72989 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72990 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
72991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72993 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72994 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
72995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72997 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72998 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
72999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73001 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73002 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73006 : "${CONFIG_STATUS=./config.status}"
73007 ac_write_fail=0
73008 ac_clean_files_save=$ac_clean_files
73009 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73011 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73012 as_write_fail=0
73013 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73014 #! $SHELL
73015 # Generated by $as_me.
73016 # Run this file to recreate the current configuration.
73017 # Compiler output produced by configure, useful for debugging
73018 # configure, is in config.log if it exists.
73020 debug=false
73021 ac_cs_recheck=false
73022 ac_cs_silent=false
73024 SHELL=\${CONFIG_SHELL-$SHELL}
73025 export SHELL
73026 _ASEOF
73027 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73028 ## -------------------- ##
73029 ## M4sh Initialization. ##
73030 ## -------------------- ##
73032 # Be more Bourne compatible
73033 DUALCASE=1; export DUALCASE # for MKS sh
73034 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73035 emulate sh
73036 NULLCMD=:
73037 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73038 # is contrary to our usage. Disable this feature.
73039 alias -g '${1+"$@"}'='"$@"'
73040 setopt NO_GLOB_SUBST
73041 else
73042 case `(set -o) 2>/dev/null` in #(
73043 *posix*) :
73044 set -o posix ;; #(
73045 *) :
73047 esac
73051 as_nl='
73053 export as_nl
73054 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73055 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73056 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73057 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73058 # Prefer a ksh shell builtin over an external printf program on Solaris,
73059 # but without wasting forks for bash or zsh.
73060 if test -z "$BASH_VERSION$ZSH_VERSION" \
73061 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73062 as_echo='print -r --'
73063 as_echo_n='print -rn --'
73064 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73065 as_echo='printf %s\n'
73066 as_echo_n='printf %s'
73067 else
73068 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73069 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73070 as_echo_n='/usr/ucb/echo -n'
73071 else
73072 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73073 as_echo_n_body='eval
73074 arg=$1;
73075 case $arg in #(
73076 *"$as_nl"*)
73077 expr "X$arg" : "X\\(.*\\)$as_nl";
73078 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73079 esac;
73080 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73082 export as_echo_n_body
73083 as_echo_n='sh -c $as_echo_n_body as_echo'
73085 export as_echo_body
73086 as_echo='sh -c $as_echo_body as_echo'
73089 # The user is always right.
73090 if test "${PATH_SEPARATOR+set}" != set; then
73091 PATH_SEPARATOR=:
73092 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73093 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73094 PATH_SEPARATOR=';'
73099 # IFS
73100 # We need space, tab and new line, in precisely that order. Quoting is
73101 # there to prevent editors from complaining about space-tab.
73102 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73103 # splitting by setting IFS to empty value.)
73104 IFS=" "" $as_nl"
73106 # Find who we are. Look in the path if we contain no directory separator.
73107 as_myself=
73108 case $0 in #((
73109 *[\\/]* ) as_myself=$0 ;;
73110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73111 for as_dir in $PATH
73113 IFS=$as_save_IFS
73114 test -z "$as_dir" && as_dir=.
73115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73116 done
73117 IFS=$as_save_IFS
73120 esac
73121 # We did not find ourselves, most probably we were run as `sh COMMAND'
73122 # in which case we are not to be found in the path.
73123 if test "x$as_myself" = x; then
73124 as_myself=$0
73126 if test ! -f "$as_myself"; then
73127 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73128 exit 1
73131 # Unset variables that we do not need and which cause bugs (e.g. in
73132 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73133 # suppresses any "Segmentation fault" message there. '((' could
73134 # trigger a bug in pdksh 5.2.14.
73135 for as_var in BASH_ENV ENV MAIL MAILPATH
73136 do eval test x\${$as_var+set} = xset \
73137 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73138 done
73139 PS1='$ '
73140 PS2='> '
73141 PS4='+ '
73143 # NLS nuisances.
73144 LC_ALL=C
73145 export LC_ALL
73146 LANGUAGE=C
73147 export LANGUAGE
73149 # CDPATH.
73150 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73153 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73154 # ----------------------------------------
73155 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73156 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73157 # script with STATUS, using 1 if that was 0.
73158 as_fn_error ()
73160 as_status=$1; test $as_status -eq 0 && as_status=1
73161 if test "$4"; then
73162 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73163 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73165 $as_echo "$as_me: error: $2" >&2
73166 as_fn_exit $as_status
73167 } # as_fn_error
73170 # as_fn_set_status STATUS
73171 # -----------------------
73172 # Set $? to STATUS, without forking.
73173 as_fn_set_status ()
73175 return $1
73176 } # as_fn_set_status
73178 # as_fn_exit STATUS
73179 # -----------------
73180 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73181 as_fn_exit ()
73183 set +e
73184 as_fn_set_status $1
73185 exit $1
73186 } # as_fn_exit
73188 # as_fn_unset VAR
73189 # ---------------
73190 # Portably unset VAR.
73191 as_fn_unset ()
73193 { eval $1=; unset $1;}
73195 as_unset=as_fn_unset
73196 # as_fn_append VAR VALUE
73197 # ----------------------
73198 # Append the text in VALUE to the end of the definition contained in VAR. Take
73199 # advantage of any shell optimizations that allow amortized linear growth over
73200 # repeated appends, instead of the typical quadratic growth present in naive
73201 # implementations.
73202 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73203 eval 'as_fn_append ()
73205 eval $1+=\$2
73207 else
73208 as_fn_append ()
73210 eval $1=\$$1\$2
73212 fi # as_fn_append
73214 # as_fn_arith ARG...
73215 # ------------------
73216 # Perform arithmetic evaluation on the ARGs, and store the result in the
73217 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73218 # must be portable across $(()) and expr.
73219 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73220 eval 'as_fn_arith ()
73222 as_val=$(( $* ))
73224 else
73225 as_fn_arith ()
73227 as_val=`expr "$@" || test $? -eq 1`
73229 fi # as_fn_arith
73232 if expr a : '\(a\)' >/dev/null 2>&1 &&
73233 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73234 as_expr=expr
73235 else
73236 as_expr=false
73239 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73240 as_basename=basename
73241 else
73242 as_basename=false
73245 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73246 as_dirname=dirname
73247 else
73248 as_dirname=false
73251 as_me=`$as_basename -- "$0" ||
73252 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73253 X"$0" : 'X\(//\)$' \| \
73254 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73255 $as_echo X/"$0" |
73256 sed '/^.*\/\([^/][^/]*\)\/*$/{
73257 s//\1/
73260 /^X\/\(\/\/\)$/{
73261 s//\1/
73264 /^X\/\(\/\).*/{
73265 s//\1/
73268 s/.*/./; q'`
73270 # Avoid depending upon Character Ranges.
73271 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73272 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73273 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73274 as_cr_digits='0123456789'
73275 as_cr_alnum=$as_cr_Letters$as_cr_digits
73277 ECHO_C= ECHO_N= ECHO_T=
73278 case `echo -n x` in #(((((
73279 -n*)
73280 case `echo 'xy\c'` in
73281 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73282 xy) ECHO_C='\c';;
73283 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73284 ECHO_T=' ';;
73285 esac;;
73287 ECHO_N='-n';;
73288 esac
73290 rm -f conf$$ conf$$.exe conf$$.file
73291 if test -d conf$$.dir; then
73292 rm -f conf$$.dir/conf$$.file
73293 else
73294 rm -f conf$$.dir
73295 mkdir conf$$.dir 2>/dev/null
73297 if (echo >conf$$.file) 2>/dev/null; then
73298 if ln -s conf$$.file conf$$ 2>/dev/null; then
73299 as_ln_s='ln -s'
73300 # ... but there are two gotchas:
73301 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73302 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73303 # In both cases, we have to default to `cp -pR'.
73304 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73305 as_ln_s='cp -pR'
73306 elif ln conf$$.file conf$$ 2>/dev/null; then
73307 as_ln_s=ln
73308 else
73309 as_ln_s='cp -pR'
73311 else
73312 as_ln_s='cp -pR'
73314 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73315 rmdir conf$$.dir 2>/dev/null
73318 # as_fn_mkdir_p
73319 # -------------
73320 # Create "$as_dir" as a directory, including parents if necessary.
73321 as_fn_mkdir_p ()
73324 case $as_dir in #(
73325 -*) as_dir=./$as_dir;;
73326 esac
73327 test -d "$as_dir" || eval $as_mkdir_p || {
73328 as_dirs=
73329 while :; do
73330 case $as_dir in #(
73331 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73332 *) as_qdir=$as_dir;;
73333 esac
73334 as_dirs="'$as_qdir' $as_dirs"
73335 as_dir=`$as_dirname -- "$as_dir" ||
73336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73337 X"$as_dir" : 'X\(//\)[^/]' \| \
73338 X"$as_dir" : 'X\(//\)$' \| \
73339 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73340 $as_echo X"$as_dir" |
73341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73342 s//\1/
73345 /^X\(\/\/\)[^/].*/{
73346 s//\1/
73349 /^X\(\/\/\)$/{
73350 s//\1/
73353 /^X\(\/\).*/{
73354 s//\1/
73357 s/.*/./; q'`
73358 test -d "$as_dir" && break
73359 done
73360 test -z "$as_dirs" || eval "mkdir $as_dirs"
73361 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
73364 } # as_fn_mkdir_p
73365 if mkdir -p . 2>/dev/null; then
73366 as_mkdir_p='mkdir -p "$as_dir"'
73367 else
73368 test -d ./-p && rmdir ./-p
73369 as_mkdir_p=false
73373 # as_fn_executable_p FILE
73374 # -----------------------
73375 # Test if FILE is an executable regular file.
73376 as_fn_executable_p ()
73378 test -f "$1" && test -x "$1"
73379 } # as_fn_executable_p
73380 as_test_x='test -x'
73381 as_executable_p=as_fn_executable_p
73383 # Sed expression to map a string onto a valid CPP name.
73384 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73386 # Sed expression to map a string onto a valid variable name.
73387 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73390 exec 6>&1
73391 ## ----------------------------------- ##
73392 ## Main body of $CONFIG_STATUS script. ##
73393 ## ----------------------------------- ##
73394 _ASEOF
73395 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73398 # Save the log message, to keep $0 and so on meaningful, and to
73399 # report actual input values of CONFIG_FILES etc. instead of their
73400 # values after options handling.
73401 ac_log="
73402 This file was extended by package-unused $as_me version-unused, which was
73403 generated by GNU Autoconf 2.69. Invocation command line was
73405 CONFIG_FILES = $CONFIG_FILES
73406 CONFIG_HEADERS = $CONFIG_HEADERS
73407 CONFIG_LINKS = $CONFIG_LINKS
73408 CONFIG_COMMANDS = $CONFIG_COMMANDS
73409 $ $0 $@
73411 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73414 _ACEOF
73416 case $ac_config_files in *"
73417 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73418 esac
73420 case $ac_config_headers in *"
73421 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73422 esac
73425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73426 # Files that config.status was made for.
73427 config_files="$ac_config_files"
73428 config_headers="$ac_config_headers"
73429 config_commands="$ac_config_commands"
73431 _ACEOF
73433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73434 ac_cs_usage="\
73435 \`$as_me' instantiates files and other configuration actions
73436 from templates according to the current configuration. Unless the files
73437 and actions are specified as TAGs, all are instantiated by default.
73439 Usage: $0 [OPTION]... [TAG]...
73441 -h, --help print this help, then exit
73442 -V, --version print version number and configuration settings, then exit
73443 --config print configuration, then exit
73444 -q, --quiet, --silent
73445 do not print progress messages
73446 -d, --debug don't remove temporary files
73447 --recheck update $as_me by reconfiguring in the same conditions
73448 --file=FILE[:TEMPLATE]
73449 instantiate the configuration file FILE
73450 --header=FILE[:TEMPLATE]
73451 instantiate the configuration header FILE
73453 Configuration files:
73454 $config_files
73456 Configuration headers:
73457 $config_headers
73459 Configuration commands:
73460 $config_commands
73462 Report bugs to the package provider."
73464 _ACEOF
73465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73466 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
73467 ac_cs_version="\\
73468 package-unused config.status version-unused
73469 configured by $0, generated by GNU Autoconf 2.69,
73470 with options \\"\$ac_cs_config\\"
73472 Copyright (C) 2012 Free Software Foundation, Inc.
73473 This config.status script is free software; the Free Software Foundation
73474 gives unlimited permission to copy, distribute and modify it."
73476 ac_pwd='$ac_pwd'
73477 srcdir='$srcdir'
73478 INSTALL='$INSTALL'
73479 MKDIR_P='$MKDIR_P'
73480 AWK='$AWK'
73481 test -n "\$AWK" || AWK=awk
73482 _ACEOF
73484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73485 # The default lists apply if the user does not specify any file.
73486 ac_need_defaults=:
73487 while test $# != 0
73489 case $1 in
73490 --*=?*)
73491 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73492 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73493 ac_shift=:
73495 --*=)
73496 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73497 ac_optarg=
73498 ac_shift=:
73501 ac_option=$1
73502 ac_optarg=$2
73503 ac_shift=shift
73505 esac
73507 case $ac_option in
73508 # Handling of the options.
73509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73510 ac_cs_recheck=: ;;
73511 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73512 $as_echo "$ac_cs_version"; exit ;;
73513 --config | --confi | --conf | --con | --co | --c )
73514 $as_echo "$ac_cs_config"; exit ;;
73515 --debug | --debu | --deb | --de | --d | -d )
73516 debug=: ;;
73517 --file | --fil | --fi | --f )
73518 $ac_shift
73519 case $ac_optarg in
73520 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73521 '') as_fn_error $? "missing file argument" ;;
73522 esac
73523 as_fn_append CONFIG_FILES " '$ac_optarg'"
73524 ac_need_defaults=false;;
73525 --header | --heade | --head | --hea )
73526 $ac_shift
73527 case $ac_optarg in
73528 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73529 esac
73530 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73531 ac_need_defaults=false;;
73532 --he | --h)
73533 # Conflict between --help and --header
73534 as_fn_error $? "ambiguous option: \`$1'
73535 Try \`$0 --help' for more information.";;
73536 --help | --hel | -h )
73537 $as_echo "$ac_cs_usage"; exit ;;
73538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73539 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73540 ac_cs_silent=: ;;
73542 # This is an error.
73543 -*) as_fn_error $? "unrecognized option: \`$1'
73544 Try \`$0 --help' for more information." ;;
73546 *) as_fn_append ac_config_targets " $1"
73547 ac_need_defaults=false ;;
73549 esac
73550 shift
73551 done
73553 ac_configure_extra_args=
73555 if $ac_cs_silent; then
73556 exec 6>/dev/null
73557 ac_configure_extra_args="$ac_configure_extra_args --silent"
73560 _ACEOF
73561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73562 if \$ac_cs_recheck; then
73563 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73564 shift
73565 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73566 CONFIG_SHELL='$SHELL'
73567 export CONFIG_SHELL
73568 exec "\$@"
73571 _ACEOF
73572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73573 exec 5>>config.log
73575 echo
73576 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73577 ## Running $as_me. ##
73578 _ASBOX
73579 $as_echo "$ac_log"
73580 } >&5
73582 _ACEOF
73583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73585 # INIT-COMMANDS
73588 srcdir="$srcdir"
73589 host="$host"
73590 target="$target"
73591 with_multisubdir="$with_multisubdir"
73592 with_multisrctop="$with_multisrctop"
73593 with_target_subdir="$with_target_subdir"
73594 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73595 multi_basedir="$multi_basedir"
73596 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73597 CC="$CC"
73598 CXX="$CXX"
73599 GFORTRAN="$GFORTRAN"
73600 GDC="$GDC"
73603 # The HP-UX ksh and POSIX shell print the target directory to stdout
73604 # if CDPATH is set.
73605 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73607 sed_quote_subst='$sed_quote_subst'
73608 double_quote_subst='$double_quote_subst'
73609 delay_variable_subst='$delay_variable_subst'
73610 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73611 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73612 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73613 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73614 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73615 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73616 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73617 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73618 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73619 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73620 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73621 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73622 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73623 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73624 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73625 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73626 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73627 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73628 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73629 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73630 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73631 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73632 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73633 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73634 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73635 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73636 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73637 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73638 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73639 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73640 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73641 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73642 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73643 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73644 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73645 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73646 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73647 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73648 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73649 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73650 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73651 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73652 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73653 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73654 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73655 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73656 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73657 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73658 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"`'
73659 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73660 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73661 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73662 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73663 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73664 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73665 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73666 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73667 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73668 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73669 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73670 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73671 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73672 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73673 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73674 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73675 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73676 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73677 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73678 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73679 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73680 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73681 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73682 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73683 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73684 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73685 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73686 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73687 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73688 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73689 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73690 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73691 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73692 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73693 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73694 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73695 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73696 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73697 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73698 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73699 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73700 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73701 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73702 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73703 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73704 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73705 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73706 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73707 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73708 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73709 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73710 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73711 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73712 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73713 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73714 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73715 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73716 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73717 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73718 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73719 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73720 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73721 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73722 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73723 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73724 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73725 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73726 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73727 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73728 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73729 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73730 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73731 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73732 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73733 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73734 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73735 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73736 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73737 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73738 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73739 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73740 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73741 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73742 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73743 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73744 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73745 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73746 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73747 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73748 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73749 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73750 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73751 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73752 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73753 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73754 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73755 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73756 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73757 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73758 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73759 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73760 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73761 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73762 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73763 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73764 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73765 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73766 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73767 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73768 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73769 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73770 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73771 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73772 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73773 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73774 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73775 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73776 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73777 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73778 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73779 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73780 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73781 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73782 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73783 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73784 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73786 LTCC='$LTCC'
73787 LTCFLAGS='$LTCFLAGS'
73788 compiler='$compiler_DEFAULT'
73790 # A function that is used when there is no print builtin or printf.
73791 func_fallback_echo ()
73793 eval 'cat <<_LTECHO_EOF
73795 _LTECHO_EOF'
73798 # Quote evaled strings.
73799 for var in SHELL \
73800 ECHO \
73801 SED \
73802 GREP \
73803 EGREP \
73804 FGREP \
73805 LD \
73806 NM \
73807 LN_S \
73808 lt_SP2NL \
73809 lt_NL2SP \
73810 reload_flag \
73811 OBJDUMP \
73812 deplibs_check_method \
73813 file_magic_cmd \
73814 AR \
73815 AR_FLAGS \
73816 STRIP \
73817 RANLIB \
73818 CC \
73819 CFLAGS \
73820 compiler \
73821 lt_cv_sys_global_symbol_pipe \
73822 lt_cv_sys_global_symbol_to_cdecl \
73823 lt_cv_sys_global_symbol_to_c_name_address \
73824 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73825 lt_prog_compiler_no_builtin_flag \
73826 lt_prog_compiler_wl \
73827 lt_prog_compiler_pic \
73828 lt_prog_compiler_static \
73829 lt_cv_prog_compiler_c_o \
73830 need_locks \
73831 DSYMUTIL \
73832 NMEDIT \
73833 LIPO \
73834 OTOOL \
73835 OTOOL64 \
73836 shrext_cmds \
73837 export_dynamic_flag_spec \
73838 whole_archive_flag_spec \
73839 compiler_needs_object \
73840 with_gnu_ld \
73841 allow_undefined_flag \
73842 no_undefined_flag \
73843 hardcode_libdir_flag_spec \
73844 hardcode_libdir_flag_spec_ld \
73845 hardcode_libdir_separator \
73846 fix_srcfile_path \
73847 exclude_expsyms \
73848 include_expsyms \
73849 file_list_spec \
73850 variables_saved_for_relink \
73851 libname_spec \
73852 library_names_spec \
73853 soname_spec \
73854 install_override_mode \
73855 finish_eval \
73856 old_striplib \
73857 striplib \
73858 compiler_lib_search_dirs \
73859 predep_objects \
73860 postdep_objects \
73861 predeps \
73862 postdeps \
73863 compiler_lib_search_path \
73864 LD_CXX \
73865 reload_flag_CXX \
73866 compiler_CXX \
73867 lt_prog_compiler_no_builtin_flag_CXX \
73868 lt_prog_compiler_wl_CXX \
73869 lt_prog_compiler_pic_CXX \
73870 lt_prog_compiler_static_CXX \
73871 lt_cv_prog_compiler_c_o_CXX \
73872 export_dynamic_flag_spec_CXX \
73873 whole_archive_flag_spec_CXX \
73874 compiler_needs_object_CXX \
73875 with_gnu_ld_CXX \
73876 allow_undefined_flag_CXX \
73877 no_undefined_flag_CXX \
73878 hardcode_libdir_flag_spec_CXX \
73879 hardcode_libdir_flag_spec_ld_CXX \
73880 hardcode_libdir_separator_CXX \
73881 fix_srcfile_path_CXX \
73882 exclude_expsyms_CXX \
73883 include_expsyms_CXX \
73884 file_list_spec_CXX \
73885 compiler_lib_search_dirs_CXX \
73886 predep_objects_CXX \
73887 postdep_objects_CXX \
73888 predeps_CXX \
73889 postdeps_CXX \
73890 compiler_lib_search_path_CXX; do
73891 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73892 *[\\\\\\\`\\"\\\$]*)
73893 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73896 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73898 esac
73899 done
73901 # Double-quote double-evaled strings.
73902 for var in reload_cmds \
73903 old_postinstall_cmds \
73904 old_postuninstall_cmds \
73905 old_archive_cmds \
73906 extract_expsyms_cmds \
73907 old_archive_from_new_cmds \
73908 old_archive_from_expsyms_cmds \
73909 archive_cmds \
73910 archive_expsym_cmds \
73911 module_cmds \
73912 module_expsym_cmds \
73913 export_symbols_cmds \
73914 prelink_cmds \
73915 postinstall_cmds \
73916 postuninstall_cmds \
73917 finish_cmds \
73918 sys_lib_search_path_spec \
73919 sys_lib_dlsearch_path_spec \
73920 reload_cmds_CXX \
73921 old_archive_cmds_CXX \
73922 old_archive_from_new_cmds_CXX \
73923 old_archive_from_expsyms_cmds_CXX \
73924 archive_cmds_CXX \
73925 archive_expsym_cmds_CXX \
73926 module_cmds_CXX \
73927 module_expsym_cmds_CXX \
73928 export_symbols_cmds_CXX \
73929 prelink_cmds_CXX; do
73930 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73931 *[\\\\\\\`\\"\\\$]*)
73932 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73935 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73937 esac
73938 done
73940 ac_aux_dir='$ac_aux_dir'
73941 xsi_shell='$xsi_shell'
73942 lt_shell_append='$lt_shell_append'
73944 # See if we are running on zsh, and set the options which allow our
73945 # commands through without removal of \ escapes INIT.
73946 if test -n "\${ZSH_VERSION+set}" ; then
73947 setopt NO_GLOB_SUBST
73951 PACKAGE='$PACKAGE'
73952 VERSION='$VERSION'
73953 TIMESTAMP='$TIMESTAMP'
73954 RM='$RM'
73955 ofile='$ofile'
73962 _ACEOF
73964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73966 # Handling of arguments.
73967 for ac_config_target in $ac_config_targets
73969 case $ac_config_target in
73970 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73971 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73972 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73973 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73974 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73975 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73976 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73977 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
73978 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73979 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73980 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73981 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73982 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73983 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
73984 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
73985 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
73986 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
73987 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
73988 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73989 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73990 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73991 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73992 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73994 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73995 esac
73996 done
73999 # If the user did not use the arguments to specify the items to instantiate,
74000 # then the envvar interface is used. Set only those that are not.
74001 # We use the long form for the default assignment because of an extremely
74002 # bizarre bug on SunOS 4.1.3.
74003 if $ac_need_defaults; then
74004 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74005 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74006 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74009 # Have a temporary directory for convenience. Make it in the build tree
74010 # simply because there is no reason against having it here, and in addition,
74011 # creating and moving files from /tmp can sometimes cause problems.
74012 # Hook for its removal unless debugging.
74013 # Note that there is a small window in which the directory will not be cleaned:
74014 # after its creation but before its name has been assigned to `$tmp'.
74015 $debug ||
74017 tmp= ac_tmp=
74018 trap 'exit_status=$?
74019 : "${ac_tmp:=$tmp}"
74020 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74022 trap 'as_fn_exit 1' 1 2 13 15
74024 # Create a (secure) tmp directory for tmp files.
74027 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74028 test -d "$tmp"
74029 } ||
74031 tmp=./conf$$-$RANDOM
74032 (umask 077 && mkdir "$tmp")
74033 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74034 ac_tmp=$tmp
74036 # Set up the scripts for CONFIG_FILES section.
74037 # No need to generate them if there are no CONFIG_FILES.
74038 # This happens for instance with `./config.status config.h'.
74039 if test -n "$CONFIG_FILES"; then
74042 ac_cr=`echo X | tr X '\015'`
74043 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74044 # But we know of no other shell where ac_cr would be empty at this
74045 # point, so we can use a bashism as a fallback.
74046 if test "x$ac_cr" = x; then
74047 eval ac_cr=\$\'\\r\'
74049 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74050 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74051 ac_cs_awk_cr='\\r'
74052 else
74053 ac_cs_awk_cr=$ac_cr
74056 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74057 _ACEOF
74061 echo "cat >conf$$subs.awk <<_ACEOF" &&
74062 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74063 echo "_ACEOF"
74064 } >conf$$subs.sh ||
74065 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74066 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74067 ac_delim='%!_!# '
74068 for ac_last_try in false false false false false :; do
74069 . ./conf$$subs.sh ||
74070 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74072 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74073 if test $ac_delim_n = $ac_delim_num; then
74074 break
74075 elif $ac_last_try; then
74076 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74077 else
74078 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74080 done
74081 rm -f conf$$subs.sh
74083 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74084 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74085 _ACEOF
74086 sed -n '
74088 s/^/S["/; s/!.*/"]=/
74091 s/^[^!]*!//
74092 :repl
74093 t repl
74094 s/'"$ac_delim"'$//
74095 t delim
74098 s/\(.\{148\}\)..*/\1/
74099 t more1
74100 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74103 b repl
74104 :more1
74105 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74108 s/.\{148\}//
74109 t nl
74110 :delim
74112 s/\(.\{148\}\)..*/\1/
74113 t more2
74114 s/["\\]/\\&/g; s/^/"/; s/$/"/
74117 :more2
74118 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74121 s/.\{148\}//
74122 t delim
74123 ' <conf$$subs.awk | sed '
74124 /^[^""]/{
74126 s/\n//
74128 ' >>$CONFIG_STATUS || ac_write_fail=1
74129 rm -f conf$$subs.awk
74130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74131 _ACAWK
74132 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74133 for (key in S) S_is_set[key] = 1
74134 FS = "\a"
74138 line = $ 0
74139 nfields = split(line, field, "@")
74140 substed = 0
74141 len = length(field[1])
74142 for (i = 2; i < nfields; i++) {
74143 key = field[i]
74144 keylen = length(key)
74145 if (S_is_set[key]) {
74146 value = S[key]
74147 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74148 len += length(value) + length(field[++i])
74149 substed = 1
74150 } else
74151 len += 1 + keylen
74154 print line
74157 _ACAWK
74158 _ACEOF
74159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74160 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74161 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74162 else
74164 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74165 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74166 _ACEOF
74168 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74169 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74170 # trailing colons and then remove the whole line if VPATH becomes empty
74171 # (actually we leave an empty line to preserve line numbers).
74172 if test "x$srcdir" = x.; then
74173 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
74175 s///
74176 s/^/:/
74177 s/[ ]*$/:/
74178 s/:\$(srcdir):/:/g
74179 s/:\${srcdir}:/:/g
74180 s/:@srcdir@:/:/g
74181 s/^:*//
74182 s/:*$//
74184 s/\(=[ ]*\).*/\1/
74186 s/\n//
74187 s/^[^=]*=[ ]*$//
74191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74192 fi # test -n "$CONFIG_FILES"
74194 # Set up the scripts for CONFIG_HEADERS section.
74195 # No need to generate them if there are no CONFIG_HEADERS.
74196 # This happens for instance with `./config.status Makefile'.
74197 if test -n "$CONFIG_HEADERS"; then
74198 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74199 BEGIN {
74200 _ACEOF
74202 # Transform confdefs.h into an awk script `defines.awk', embedded as
74203 # here-document in config.status, that substitutes the proper values into
74204 # config.h.in to produce config.h.
74206 # Create a delimiter string that does not exist in confdefs.h, to ease
74207 # handling of long lines.
74208 ac_delim='%!_!# '
74209 for ac_last_try in false false :; do
74210 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74211 if test -z "$ac_tt"; then
74212 break
74213 elif $ac_last_try; then
74214 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74215 else
74216 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74218 done
74220 # For the awk script, D is an array of macro values keyed by name,
74221 # likewise P contains macro parameters if any. Preserve backslash
74222 # newline sequences.
74224 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74225 sed -n '
74226 s/.\{148\}/&'"$ac_delim"'/g
74227 t rset
74228 :rset
74229 s/^[ ]*#[ ]*define[ ][ ]*/ /
74230 t def
74232 :def
74233 s/\\$//
74234 t bsnl
74235 s/["\\]/\\&/g
74236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74237 D["\1"]=" \3"/p
74238 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74240 :bsnl
74241 s/["\\]/\\&/g
74242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74243 D["\1"]=" \3\\\\\\n"\\/p
74244 t cont
74245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74246 t cont
74248 :cont
74250 s/.\{148\}/&'"$ac_delim"'/g
74251 t clear
74252 :clear
74253 s/\\$//
74254 t bsnlc
74255 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74257 :bsnlc
74258 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74259 b cont
74260 ' <confdefs.h | sed '
74261 s/'"$ac_delim"'/"\\\
74262 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74265 for (key in D) D_is_set[key] = 1
74266 FS = "\a"
74268 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74269 line = \$ 0
74270 split(line, arg, " ")
74271 if (arg[1] == "#") {
74272 defundef = arg[2]
74273 mac1 = arg[3]
74274 } else {
74275 defundef = substr(arg[1], 2)
74276 mac1 = arg[2]
74278 split(mac1, mac2, "(") #)
74279 macro = mac2[1]
74280 prefix = substr(line, 1, index(line, defundef) - 1)
74281 if (D_is_set[macro]) {
74282 # Preserve the white space surrounding the "#".
74283 print prefix "define", macro P[macro] D[macro]
74284 next
74285 } else {
74286 # Replace #undef with comments. This is necessary, for example,
74287 # in the case of _POSIX_SOURCE, which is predefined and required
74288 # on some systems where configure will not decide to define it.
74289 if (defundef == "undef") {
74290 print "/*", prefix defundef, macro, "*/"
74291 next
74295 { print }
74296 _ACAWK
74297 _ACEOF
74298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74299 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
74300 fi # test -n "$CONFIG_HEADERS"
74303 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74304 shift
74305 for ac_tag
74307 case $ac_tag in
74308 :[FHLC]) ac_mode=$ac_tag; continue;;
74309 esac
74310 case $ac_mode$ac_tag in
74311 :[FHL]*:*);;
74312 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
74313 :[FH]-) ac_tag=-:-;;
74314 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74315 esac
74316 ac_save_IFS=$IFS
74317 IFS=:
74318 set x $ac_tag
74319 IFS=$ac_save_IFS
74320 shift
74321 ac_file=$1
74322 shift
74324 case $ac_mode in
74325 :L) ac_source=$1;;
74326 :[FH])
74327 ac_file_inputs=
74328 for ac_f
74330 case $ac_f in
74331 -) ac_f="$ac_tmp/stdin";;
74332 *) # Look for the file first in the build tree, then in the source tree
74333 # (if the path is not absolute). The absolute path cannot be DOS-style,
74334 # because $ac_f cannot contain `:'.
74335 test -f "$ac_f" ||
74336 case $ac_f in
74337 [\\/$]*) false;;
74338 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74339 esac ||
74340 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74341 esac
74342 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74343 as_fn_append ac_file_inputs " '$ac_f'"
74344 done
74346 # Let's still pretend it is `configure' which instantiates (i.e., don't
74347 # use $as_me), people would be surprised to read:
74348 # /* config.h. Generated by config.status. */
74349 configure_input='Generated from '`
74350 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74351 `' by configure.'
74352 if test x"$ac_file" != x-; then
74353 configure_input="$ac_file. $configure_input"
74354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74355 $as_echo "$as_me: creating $ac_file" >&6;}
74357 # Neutralize special characters interpreted by sed in replacement strings.
74358 case $configure_input in #(
74359 *\&* | *\|* | *\\* )
74360 ac_sed_conf_input=`$as_echo "$configure_input" |
74361 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74362 *) ac_sed_conf_input=$configure_input;;
74363 esac
74365 case $ac_tag in
74366 *:-:* | *:-) cat >"$ac_tmp/stdin" \
74367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
74368 esac
74370 esac
74372 ac_dir=`$as_dirname -- "$ac_file" ||
74373 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74374 X"$ac_file" : 'X\(//\)[^/]' \| \
74375 X"$ac_file" : 'X\(//\)$' \| \
74376 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74377 $as_echo X"$ac_file" |
74378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74379 s//\1/
74382 /^X\(\/\/\)[^/].*/{
74383 s//\1/
74386 /^X\(\/\/\)$/{
74387 s//\1/
74390 /^X\(\/\).*/{
74391 s//\1/
74394 s/.*/./; q'`
74395 as_dir="$ac_dir"; as_fn_mkdir_p
74396 ac_builddir=.
74398 case "$ac_dir" in
74399 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74401 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74402 # A ".." for each directory in $ac_dir_suffix.
74403 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74404 case $ac_top_builddir_sub in
74405 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74406 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74407 esac ;;
74408 esac
74409 ac_abs_top_builddir=$ac_pwd
74410 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74411 # for backward compatibility:
74412 ac_top_builddir=$ac_top_build_prefix
74414 case $srcdir in
74415 .) # We are building in place.
74416 ac_srcdir=.
74417 ac_top_srcdir=$ac_top_builddir_sub
74418 ac_abs_top_srcdir=$ac_pwd ;;
74419 [\\/]* | ?:[\\/]* ) # Absolute name.
74420 ac_srcdir=$srcdir$ac_dir_suffix;
74421 ac_top_srcdir=$srcdir
74422 ac_abs_top_srcdir=$srcdir ;;
74423 *) # Relative name.
74424 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74425 ac_top_srcdir=$ac_top_build_prefix$srcdir
74426 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74427 esac
74428 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74431 case $ac_mode in
74434 # CONFIG_FILE
74437 case $INSTALL in
74438 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74439 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74440 esac
74441 ac_MKDIR_P=$MKDIR_P
74442 case $MKDIR_P in
74443 [\\/$]* | ?:[\\/]* ) ;;
74444 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74445 esac
74446 _ACEOF
74448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74449 # If the template does not know about datarootdir, expand it.
74450 # FIXME: This hack should be removed a few years after 2.60.
74451 ac_datarootdir_hack=; ac_datarootdir_seen=
74452 ac_sed_dataroot='
74453 /datarootdir/ {
74457 /@datadir@/p
74458 /@docdir@/p
74459 /@infodir@/p
74460 /@localedir@/p
74461 /@mandir@/p'
74462 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74463 *datarootdir*) ac_datarootdir_seen=yes;;
74464 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74466 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74467 _ACEOF
74468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74469 ac_datarootdir_hack='
74470 s&@datadir@&$datadir&g
74471 s&@docdir@&$docdir&g
74472 s&@infodir@&$infodir&g
74473 s&@localedir@&$localedir&g
74474 s&@mandir@&$mandir&g
74475 s&\\\${datarootdir}&$datarootdir&g' ;;
74476 esac
74477 _ACEOF
74479 # Neutralize VPATH when `$srcdir' = `.'.
74480 # Shell code in configure.ac might set extrasub.
74481 # FIXME: do we really want to maintain this feature?
74482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74483 ac_sed_extra="$ac_vpsub
74484 $extrasub
74485 _ACEOF
74486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74489 s|@configure_input@|$ac_sed_conf_input|;t t
74490 s&@top_builddir@&$ac_top_builddir_sub&;t t
74491 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74492 s&@srcdir@&$ac_srcdir&;t t
74493 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74494 s&@top_srcdir@&$ac_top_srcdir&;t t
74495 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74496 s&@builddir@&$ac_builddir&;t t
74497 s&@abs_builddir@&$ac_abs_builddir&;t t
74498 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74499 s&@INSTALL@&$ac_INSTALL&;t t
74500 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74501 $ac_datarootdir_hack
74503 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
74504 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74506 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74507 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
74508 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
74509 "$ac_tmp/out"`; test -z "$ac_out"; } &&
74510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74511 which seems to be undefined. Please make sure it is defined" >&5
74512 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74513 which seems to be undefined. Please make sure it is defined" >&2;}
74515 rm -f "$ac_tmp/stdin"
74516 case $ac_file in
74517 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
74518 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
74519 esac \
74520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74524 # CONFIG_HEADER
74526 if test x"$ac_file" != x-; then
74528 $as_echo "/* $configure_input */" \
74529 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
74530 } >"$ac_tmp/config.h" \
74531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74532 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
74533 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74534 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74535 else
74536 rm -f "$ac_file"
74537 mv "$ac_tmp/config.h" "$ac_file" \
74538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74540 else
74541 $as_echo "/* $configure_input */" \
74542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
74543 || as_fn_error $? "could not create -" "$LINENO" 5
74545 # Compute "$ac_file"'s index in $config_headers.
74546 _am_arg="$ac_file"
74547 _am_stamp_count=1
74548 for _am_header in $config_headers :; do
74549 case $_am_header in
74550 $_am_arg | $_am_arg:* )
74551 break ;;
74553 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74554 esac
74555 done
74556 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74557 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74558 X"$_am_arg" : 'X\(//\)[^/]' \| \
74559 X"$_am_arg" : 'X\(//\)$' \| \
74560 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74561 $as_echo X"$_am_arg" |
74562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74563 s//\1/
74566 /^X\(\/\/\)[^/].*/{
74567 s//\1/
74570 /^X\(\/\/\)$/{
74571 s//\1/
74574 /^X\(\/\).*/{
74575 s//\1/
74578 s/.*/./; q'`/stamp-h$_am_stamp_count
74581 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74582 $as_echo "$as_me: executing $ac_file commands" >&6;}
74584 esac
74587 case $ac_file$ac_mode in
74588 "default-1":C)
74589 # Only add multilib support code if we just rebuilt the top-level
74590 # Makefile.
74591 case " $CONFIG_FILES " in
74592 *" Makefile "*)
74593 ac_file=Makefile . ${multi_basedir}/config-ml.in
74595 esac ;;
74596 "libtool":C)
74598 # See if we are running on zsh, and set the options which allow our
74599 # commands through without removal of \ escapes.
74600 if test -n "${ZSH_VERSION+set}" ; then
74601 setopt NO_GLOB_SUBST
74604 cfgfile="${ofile}T"
74605 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74606 $RM "$cfgfile"
74608 cat <<_LT_EOF >> "$cfgfile"
74609 #! $SHELL
74611 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74612 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74613 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74614 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74616 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74617 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74618 # Written by Gordon Matzigkeit, 1996
74620 # This file is part of GNU Libtool.
74622 # GNU Libtool is free software; you can redistribute it and/or
74623 # modify it under the terms of the GNU General Public License as
74624 # published by the Free Software Foundation; either version 2 of
74625 # the License, or (at your option) any later version.
74627 # As a special exception to the GNU General Public License,
74628 # if you distribute this file as part of a program or library that
74629 # is built using GNU Libtool, you may include this file under the
74630 # same distribution terms that you use for the rest of that program.
74632 # GNU Libtool is distributed in the hope that it will be useful,
74633 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74634 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74635 # GNU General Public License for more details.
74637 # You should have received a copy of the GNU General Public License
74638 # along with GNU Libtool; see the file COPYING. If not, a copy
74639 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74640 # obtained by writing to the Free Software Foundation, Inc.,
74641 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74644 # The names of the tagged configurations supported by this script.
74645 available_tags="CXX "
74647 # ### BEGIN LIBTOOL CONFIG
74649 # Which release of libtool.m4 was used?
74650 macro_version=$macro_version
74651 macro_revision=$macro_revision
74653 # Whether or not to build shared libraries.
74654 build_libtool_libs=$enable_shared
74656 # Whether or not to build static libraries.
74657 build_old_libs=$enable_static
74659 # What type of objects to build.
74660 pic_mode=$pic_mode
74662 # Whether or not to optimize for fast installation.
74663 fast_install=$enable_fast_install
74665 # Shell to use when invoking shell scripts.
74666 SHELL=$lt_SHELL
74668 # An echo program that protects backslashes.
74669 ECHO=$lt_ECHO
74671 # The host system.
74672 host_alias=$host_alias
74673 host=$host
74674 host_os=$host_os
74676 # The build system.
74677 build_alias=$build_alias
74678 build=$build
74679 build_os=$build_os
74681 # A sed program that does not truncate output.
74682 SED=$lt_SED
74684 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74685 Xsed="\$SED -e 1s/^X//"
74687 # A grep program that handles long lines.
74688 GREP=$lt_GREP
74690 # An ERE matcher.
74691 EGREP=$lt_EGREP
74693 # A literal string matcher.
74694 FGREP=$lt_FGREP
74696 # A BSD- or MS-compatible name lister.
74697 NM=$lt_NM
74699 # Whether we need soft or hard links.
74700 LN_S=$lt_LN_S
74702 # What is the maximum length of a command?
74703 max_cmd_len=$max_cmd_len
74705 # Object file suffix (normally "o").
74706 objext=$ac_objext
74708 # Executable file suffix (normally "").
74709 exeext=$exeext
74711 # whether the shell understands "unset".
74712 lt_unset=$lt_unset
74714 # turn spaces into newlines.
74715 SP2NL=$lt_lt_SP2NL
74717 # turn newlines into spaces.
74718 NL2SP=$lt_lt_NL2SP
74720 # An object symbol dumper.
74721 OBJDUMP=$lt_OBJDUMP
74723 # Method to check whether dependent libraries are shared objects.
74724 deplibs_check_method=$lt_deplibs_check_method
74726 # Command to use when deplibs_check_method == "file_magic".
74727 file_magic_cmd=$lt_file_magic_cmd
74729 # The archiver.
74730 AR=$lt_AR
74731 AR_FLAGS=$lt_AR_FLAGS
74733 # A symbol stripping program.
74734 STRIP=$lt_STRIP
74736 # Commands used to install an old-style archive.
74737 RANLIB=$lt_RANLIB
74738 old_postinstall_cmds=$lt_old_postinstall_cmds
74739 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74741 # Whether to use a lock for old archive extraction.
74742 lock_old_archive_extraction=$lock_old_archive_extraction
74744 # A C compiler.
74745 LTCC=$lt_CC
74747 # LTCC compiler flags.
74748 LTCFLAGS=$lt_CFLAGS
74750 # Take the output of nm and produce a listing of raw symbols and C names.
74751 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74753 # Transform the output of nm in a proper C declaration.
74754 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74756 # Transform the output of nm in a C name address pair.
74757 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74759 # Transform the output of nm in a C name address pair when lib prefix is needed.
74760 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74762 # The name of the directory that contains temporary libtool files.
74763 objdir=$objdir
74765 # Used to examine libraries when file_magic_cmd begins with "file".
74766 MAGIC_CMD=$MAGIC_CMD
74768 # Must we lock files when doing compilation?
74769 need_locks=$lt_need_locks
74771 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74772 DSYMUTIL=$lt_DSYMUTIL
74774 # Tool to change global to local symbols on Mac OS X.
74775 NMEDIT=$lt_NMEDIT
74777 # Tool to manipulate fat objects and archives on Mac OS X.
74778 LIPO=$lt_LIPO
74780 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74781 OTOOL=$lt_OTOOL
74783 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74784 OTOOL64=$lt_OTOOL64
74786 # Old archive suffix (normally "a").
74787 libext=$libext
74789 # Shared library suffix (normally ".so").
74790 shrext_cmds=$lt_shrext_cmds
74792 # The commands to extract the exported symbol list from a shared archive.
74793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74795 # Variables whose values should be saved in libtool wrapper scripts and
74796 # restored at link time.
74797 variables_saved_for_relink=$lt_variables_saved_for_relink
74799 # Do we need the "lib" prefix for modules?
74800 need_lib_prefix=$need_lib_prefix
74802 # Do we need a version for libraries?
74803 need_version=$need_version
74805 # Library versioning type.
74806 version_type=$version_type
74808 # Shared library runtime path variable.
74809 runpath_var=$runpath_var
74811 # Shared library path variable.
74812 shlibpath_var=$shlibpath_var
74814 # Is shlibpath searched before the hard-coded library search path?
74815 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74817 # Format of library name prefix.
74818 libname_spec=$lt_libname_spec
74820 # List of archive names. First name is the real one, the rest are links.
74821 # The last name is the one that the linker finds with -lNAME
74822 library_names_spec=$lt_library_names_spec
74824 # The coded name of the library, if different from the real name.
74825 soname_spec=$lt_soname_spec
74827 # Permission mode override for installation of shared libraries.
74828 install_override_mode=$lt_install_override_mode
74830 # Command to use after installation of a shared archive.
74831 postinstall_cmds=$lt_postinstall_cmds
74833 # Command to use after uninstallation of a shared archive.
74834 postuninstall_cmds=$lt_postuninstall_cmds
74836 # Commands used to finish a libtool library installation in a directory.
74837 finish_cmds=$lt_finish_cmds
74839 # As "finish_cmds", except a single script fragment to be evaled but
74840 # not shown.
74841 finish_eval=$lt_finish_eval
74843 # Whether we should hardcode library paths into libraries.
74844 hardcode_into_libs=$hardcode_into_libs
74846 # Compile-time system search path for libraries.
74847 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74849 # Run-time system search path for libraries.
74850 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74852 # Whether dlopen is supported.
74853 dlopen_support=$enable_dlopen
74855 # Whether dlopen of programs is supported.
74856 dlopen_self=$enable_dlopen_self
74858 # Whether dlopen of statically linked programs is supported.
74859 dlopen_self_static=$enable_dlopen_self_static
74861 # Commands to strip libraries.
74862 old_striplib=$lt_old_striplib
74863 striplib=$lt_striplib
74866 # The linker used to build libraries.
74867 LD=$lt_LD
74869 # How to create reloadable object files.
74870 reload_flag=$lt_reload_flag
74871 reload_cmds=$lt_reload_cmds
74873 # Commands used to build an old-style archive.
74874 old_archive_cmds=$lt_old_archive_cmds
74876 # A language specific compiler.
74877 CC=$lt_compiler
74879 # Is the compiler the GNU compiler?
74880 with_gcc=$GCC
74882 # Compiler flag to turn off builtin functions.
74883 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74885 # How to pass a linker flag through the compiler.
74886 wl=$lt_lt_prog_compiler_wl
74888 # Additional compiler flags for building library objects.
74889 pic_flag=$lt_lt_prog_compiler_pic
74891 # Compiler flag to prevent dynamic linking.
74892 link_static_flag=$lt_lt_prog_compiler_static
74894 # Does compiler simultaneously support -c and -o options?
74895 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74897 # Whether or not to add -lc for building shared libraries.
74898 build_libtool_need_lc=$archive_cmds_need_lc
74900 # Whether or not to disallow shared libs when runtime libs are static.
74901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74903 # Compiler flag to allow reflexive dlopens.
74904 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74906 # Compiler flag to generate shared objects directly from archives.
74907 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74909 # Whether the compiler copes with passing no objects directly.
74910 compiler_needs_object=$lt_compiler_needs_object
74912 # Create an old-style archive from a shared archive.
74913 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74915 # Create a temporary old-style archive to link instead of a shared archive.
74916 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74918 # Commands used to build a shared archive.
74919 archive_cmds=$lt_archive_cmds
74920 archive_expsym_cmds=$lt_archive_expsym_cmds
74922 # Commands used to build a loadable module if different from building
74923 # a shared archive.
74924 module_cmds=$lt_module_cmds
74925 module_expsym_cmds=$lt_module_expsym_cmds
74927 # Whether we are building with GNU ld or not.
74928 with_gnu_ld=$lt_with_gnu_ld
74930 # Flag that allows shared libraries with undefined symbols to be built.
74931 allow_undefined_flag=$lt_allow_undefined_flag
74933 # Flag that enforces no undefined symbols.
74934 no_undefined_flag=$lt_no_undefined_flag
74936 # Flag to hardcode \$libdir into a binary during linking.
74937 # This must work even if \$libdir does not exist
74938 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74940 # If ld is used when linking, flag to hardcode \$libdir into a binary
74941 # during linking. This must work even if \$libdir does not exist.
74942 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74944 # Whether we need a single "-rpath" flag with a separated argument.
74945 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74948 # DIR into the resulting binary.
74949 hardcode_direct=$hardcode_direct
74951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74952 # DIR into the resulting binary and the resulting library dependency is
74953 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74954 # library is relocated.
74955 hardcode_direct_absolute=$hardcode_direct_absolute
74957 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74958 # into the resulting binary.
74959 hardcode_minus_L=$hardcode_minus_L
74961 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74962 # into the resulting binary.
74963 hardcode_shlibpath_var=$hardcode_shlibpath_var
74965 # Set to "yes" if building a shared library automatically hardcodes DIR
74966 # into the library and all subsequent libraries and executables linked
74967 # against it.
74968 hardcode_automatic=$hardcode_automatic
74970 # Set to yes if linker adds runtime paths of dependent libraries
74971 # to runtime path list.
74972 inherit_rpath=$inherit_rpath
74974 # Whether libtool must link a program against all its dependency libraries.
74975 link_all_deplibs=$link_all_deplibs
74977 # Fix the shell variable \$srcfile for the compiler.
74978 fix_srcfile_path=$lt_fix_srcfile_path
74980 # Set to "yes" if exported symbols are required.
74981 always_export_symbols=$always_export_symbols
74983 # The commands to list exported symbols.
74984 export_symbols_cmds=$lt_export_symbols_cmds
74986 # Symbols that should not be listed in the preloaded symbols.
74987 exclude_expsyms=$lt_exclude_expsyms
74989 # Symbols that must always be exported.
74990 include_expsyms=$lt_include_expsyms
74992 # Commands necessary for linking programs (against libraries) with templates.
74993 prelink_cmds=$lt_prelink_cmds
74995 # Specify filename containing input files.
74996 file_list_spec=$lt_file_list_spec
74998 # How to hardcode a shared library path into an executable.
74999 hardcode_action=$hardcode_action
75001 # The directories searched by this compiler when creating a shared library.
75002 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75004 # Dependencies to place before and after the objects being linked to
75005 # create a shared library.
75006 predep_objects=$lt_predep_objects
75007 postdep_objects=$lt_postdep_objects
75008 predeps=$lt_predeps
75009 postdeps=$lt_postdeps
75011 # The library search path used internally by the compiler when linking
75012 # a shared library.
75013 compiler_lib_search_path=$lt_compiler_lib_search_path
75015 # ### END LIBTOOL CONFIG
75017 _LT_EOF
75019 case $host_os in
75020 aix3*)
75021 cat <<\_LT_EOF >> "$cfgfile"
75022 # AIX sometimes has problems with the GCC collect2 program. For some
75023 # reason, if we set the COLLECT_NAMES environment variable, the problems
75024 # vanish in a puff of smoke.
75025 if test "X${COLLECT_NAMES+set}" != Xset; then
75026 COLLECT_NAMES=
75027 export COLLECT_NAMES
75029 _LT_EOF
75031 esac
75034 ltmain="$ac_aux_dir/ltmain.sh"
75037 # We use sed instead of cat because bash on DJGPP gets confused if
75038 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75039 # text mode, it properly converts lines to CR/LF. This bash problem
75040 # is reportedly fixed, but why not run on old versions too?
75041 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75042 || (rm -f "$cfgfile"; exit 1)
75044 case $xsi_shell in
75045 yes)
75046 cat << \_LT_EOF >> "$cfgfile"
75048 # func_dirname file append nondir_replacement
75049 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75050 # otherwise set result to NONDIR_REPLACEMENT.
75051 func_dirname ()
75053 case ${1} in
75054 */*) func_dirname_result="${1%/*}${2}" ;;
75055 * ) func_dirname_result="${3}" ;;
75056 esac
75059 # func_basename file
75060 func_basename ()
75062 func_basename_result="${1##*/}"
75065 # func_dirname_and_basename file append nondir_replacement
75066 # perform func_basename and func_dirname in a single function
75067 # call:
75068 # dirname: Compute the dirname of FILE. If nonempty,
75069 # add APPEND to the result, otherwise set result
75070 # to NONDIR_REPLACEMENT.
75071 # value returned in "$func_dirname_result"
75072 # basename: Compute filename of FILE.
75073 # value retuned in "$func_basename_result"
75074 # Implementation must be kept synchronized with func_dirname
75075 # and func_basename. For efficiency, we do not delegate to
75076 # those functions but instead duplicate the functionality here.
75077 func_dirname_and_basename ()
75079 case ${1} in
75080 */*) func_dirname_result="${1%/*}${2}" ;;
75081 * ) func_dirname_result="${3}" ;;
75082 esac
75083 func_basename_result="${1##*/}"
75086 # func_stripname prefix suffix name
75087 # strip PREFIX and SUFFIX off of NAME.
75088 # PREFIX and SUFFIX must not contain globbing or regex special
75089 # characters, hashes, percent signs, but SUFFIX may contain a leading
75090 # dot (in which case that matches only a dot).
75091 func_stripname ()
75093 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75094 # positional parameters, so assign one to ordinary parameter first.
75095 func_stripname_result=${3}
75096 func_stripname_result=${func_stripname_result#"${1}"}
75097 func_stripname_result=${func_stripname_result%"${2}"}
75100 # func_opt_split
75101 func_opt_split ()
75103 func_opt_split_opt=${1%%=*}
75104 func_opt_split_arg=${1#*=}
75107 # func_lo2o object
75108 func_lo2o ()
75110 case ${1} in
75111 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75112 *) func_lo2o_result=${1} ;;
75113 esac
75116 # func_xform libobj-or-source
75117 func_xform ()
75119 func_xform_result=${1%.*}.lo
75122 # func_arith arithmetic-term...
75123 func_arith ()
75125 func_arith_result=$(( $* ))
75128 # func_len string
75129 # STRING may not start with a hyphen.
75130 func_len ()
75132 func_len_result=${#1}
75135 _LT_EOF
75137 *) # Bourne compatible functions.
75138 cat << \_LT_EOF >> "$cfgfile"
75140 # func_dirname file append nondir_replacement
75141 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75142 # otherwise set result to NONDIR_REPLACEMENT.
75143 func_dirname ()
75145 # Extract subdirectory from the argument.
75146 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75147 if test "X$func_dirname_result" = "X${1}"; then
75148 func_dirname_result="${3}"
75149 else
75150 func_dirname_result="$func_dirname_result${2}"
75154 # func_basename file
75155 func_basename ()
75157 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75161 # func_stripname prefix suffix name
75162 # strip PREFIX and SUFFIX off of NAME.
75163 # PREFIX and SUFFIX must not contain globbing or regex special
75164 # characters, hashes, percent signs, but SUFFIX may contain a leading
75165 # dot (in which case that matches only a dot).
75166 # func_strip_suffix prefix name
75167 func_stripname ()
75169 case ${2} in
75170 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75171 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75172 esac
75175 # sed scripts:
75176 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75177 my_sed_long_arg='1s/^-[^=]*=//'
75179 # func_opt_split
75180 func_opt_split ()
75182 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75183 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75186 # func_lo2o object
75187 func_lo2o ()
75189 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75192 # func_xform libobj-or-source
75193 func_xform ()
75195 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75198 # func_arith arithmetic-term...
75199 func_arith ()
75201 func_arith_result=`expr "$@"`
75204 # func_len string
75205 # STRING may not start with a hyphen.
75206 func_len ()
75208 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75211 _LT_EOF
75212 esac
75214 case $lt_shell_append in
75215 yes)
75216 cat << \_LT_EOF >> "$cfgfile"
75218 # func_append var value
75219 # Append VALUE to the end of shell variable VAR.
75220 func_append ()
75222 eval "$1+=\$2"
75224 _LT_EOF
75227 cat << \_LT_EOF >> "$cfgfile"
75229 # func_append var value
75230 # Append VALUE to the end of shell variable VAR.
75231 func_append ()
75233 eval "$1=\$$1\$2"
75236 _LT_EOF
75238 esac
75241 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75242 || (rm -f "$cfgfile"; exit 1)
75244 mv -f "$cfgfile" "$ofile" ||
75245 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75246 chmod +x "$ofile"
75249 cat <<_LT_EOF >> "$ofile"
75251 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75253 # The linker used to build libraries.
75254 LD=$lt_LD_CXX
75256 # How to create reloadable object files.
75257 reload_flag=$lt_reload_flag_CXX
75258 reload_cmds=$lt_reload_cmds_CXX
75260 # Commands used to build an old-style archive.
75261 old_archive_cmds=$lt_old_archive_cmds_CXX
75263 # A language specific compiler.
75264 CC=$lt_compiler_CXX
75266 # Is the compiler the GNU compiler?
75267 with_gcc=$GCC_CXX
75269 # Compiler flag to turn off builtin functions.
75270 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75272 # How to pass a linker flag through the compiler.
75273 wl=$lt_lt_prog_compiler_wl_CXX
75275 # Additional compiler flags for building library objects.
75276 pic_flag=$lt_lt_prog_compiler_pic_CXX
75278 # Compiler flag to prevent dynamic linking.
75279 link_static_flag=$lt_lt_prog_compiler_static_CXX
75281 # Does compiler simultaneously support -c and -o options?
75282 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75284 # Whether or not to add -lc for building shared libraries.
75285 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75287 # Whether or not to disallow shared libs when runtime libs are static.
75288 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75290 # Compiler flag to allow reflexive dlopens.
75291 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75293 # Compiler flag to generate shared objects directly from archives.
75294 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75296 # Whether the compiler copes with passing no objects directly.
75297 compiler_needs_object=$lt_compiler_needs_object_CXX
75299 # Create an old-style archive from a shared archive.
75300 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75302 # Create a temporary old-style archive to link instead of a shared archive.
75303 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75305 # Commands used to build a shared archive.
75306 archive_cmds=$lt_archive_cmds_CXX
75307 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75309 # Commands used to build a loadable module if different from building
75310 # a shared archive.
75311 module_cmds=$lt_module_cmds_CXX
75312 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75314 # Whether we are building with GNU ld or not.
75315 with_gnu_ld=$lt_with_gnu_ld_CXX
75317 # Flag that allows shared libraries with undefined symbols to be built.
75318 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75320 # Flag that enforces no undefined symbols.
75321 no_undefined_flag=$lt_no_undefined_flag_CXX
75323 # Flag to hardcode \$libdir into a binary during linking.
75324 # This must work even if \$libdir does not exist
75325 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75327 # If ld is used when linking, flag to hardcode \$libdir into a binary
75328 # during linking. This must work even if \$libdir does not exist.
75329 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75331 # Whether we need a single "-rpath" flag with a separated argument.
75332 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75334 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75335 # DIR into the resulting binary.
75336 hardcode_direct=$hardcode_direct_CXX
75338 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75339 # DIR into the resulting binary and the resulting library dependency is
75340 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75341 # library is relocated.
75342 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75344 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75345 # into the resulting binary.
75346 hardcode_minus_L=$hardcode_minus_L_CXX
75348 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75349 # into the resulting binary.
75350 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75352 # Set to "yes" if building a shared library automatically hardcodes DIR
75353 # into the library and all subsequent libraries and executables linked
75354 # against it.
75355 hardcode_automatic=$hardcode_automatic_CXX
75357 # Set to yes if linker adds runtime paths of dependent libraries
75358 # to runtime path list.
75359 inherit_rpath=$inherit_rpath_CXX
75361 # Whether libtool must link a program against all its dependency libraries.
75362 link_all_deplibs=$link_all_deplibs_CXX
75364 # Fix the shell variable \$srcfile for the compiler.
75365 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75367 # Set to "yes" if exported symbols are required.
75368 always_export_symbols=$always_export_symbols_CXX
75370 # The commands to list exported symbols.
75371 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75373 # Symbols that should not be listed in the preloaded symbols.
75374 exclude_expsyms=$lt_exclude_expsyms_CXX
75376 # Symbols that must always be exported.
75377 include_expsyms=$lt_include_expsyms_CXX
75379 # Commands necessary for linking programs (against libraries) with templates.
75380 prelink_cmds=$lt_prelink_cmds_CXX
75382 # Specify filename containing input files.
75383 file_list_spec=$lt_file_list_spec_CXX
75385 # How to hardcode a shared library path into an executable.
75386 hardcode_action=$hardcode_action_CXX
75388 # The directories searched by this compiler when creating a shared library.
75389 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75391 # Dependencies to place before and after the objects being linked to
75392 # create a shared library.
75393 predep_objects=$lt_predep_objects_CXX
75394 postdep_objects=$lt_postdep_objects_CXX
75395 predeps=$lt_predeps_CXX
75396 postdeps=$lt_postdeps_CXX
75398 # The library search path used internally by the compiler when linking
75399 # a shared library.
75400 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75402 # ### END LIBTOOL TAG CONFIG: CXX
75403 _LT_EOF
75406 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75407 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75408 "include/Makefile":F) cat > vpsed$$ << \_EOF
75409 s!`test -f '$<' || echo '$(srcdir)/'`!!
75410 _EOF
75411 sed -f vpsed$$ $ac_file > tmp$$
75412 mv tmp$$ $ac_file
75413 rm vpsed$$
75414 echo 'MULTISUBDIR =' >> $ac_file
75415 ml_norecursion=yes
75416 . ${multi_basedir}/config-ml.in
75417 { ml_norecursion=; unset ml_norecursion;}
75419 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75420 s!`test -f '$<' || echo '$(srcdir)/'`!!
75421 _EOF
75422 sed -f vpsed$$ $ac_file > tmp$$
75423 mv tmp$$ $ac_file
75424 rm vpsed$$
75425 echo 'MULTISUBDIR =' >> $ac_file
75426 ml_norecursion=yes
75427 . ${multi_basedir}/config-ml.in
75428 { ml_norecursion=; unset ml_norecursion;}
75430 "src/Makefile":F) cat > vpsed$$ << \_EOF
75431 s!`test -f '$<' || echo '$(srcdir)/'`!!
75432 _EOF
75433 sed -f vpsed$$ $ac_file > tmp$$
75434 mv tmp$$ $ac_file
75435 rm vpsed$$
75436 echo 'MULTISUBDIR =' >> $ac_file
75437 ml_norecursion=yes
75438 . ${multi_basedir}/config-ml.in
75439 { ml_norecursion=; unset ml_norecursion;}
75441 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75442 s!`test -f '$<' || echo '$(srcdir)/'`!!
75443 _EOF
75444 sed -f vpsed$$ $ac_file > tmp$$
75445 mv tmp$$ $ac_file
75446 rm vpsed$$
75447 echo 'MULTISUBDIR =' >> $ac_file
75448 ml_norecursion=yes
75449 . ${multi_basedir}/config-ml.in
75450 { ml_norecursion=; unset ml_norecursion;}
75452 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75453 s!`test -f '$<' || echo '$(srcdir)/'`!!
75454 _EOF
75455 sed -f vpsed$$ $ac_file > tmp$$
75456 mv tmp$$ $ac_file
75457 rm vpsed$$
75458 echo 'MULTISUBDIR =' >> $ac_file
75459 ml_norecursion=yes
75460 . ${multi_basedir}/config-ml.in
75461 { ml_norecursion=; unset ml_norecursion;}
75463 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
75464 s!`test -f '$<' || echo '$(srcdir)/'`!!
75465 _EOF
75466 sed -f vpsed$$ $ac_file > tmp$$
75467 mv tmp$$ $ac_file
75468 rm vpsed$$
75469 echo 'MULTISUBDIR =' >> $ac_file
75470 ml_norecursion=yes
75471 . ${multi_basedir}/config-ml.in
75472 { ml_norecursion=; unset ml_norecursion;}
75474 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
75475 s!`test -f '$<' || echo '$(srcdir)/'`!!
75476 _EOF
75477 sed -f vpsed$$ $ac_file > tmp$$
75478 mv tmp$$ $ac_file
75479 rm vpsed$$
75480 echo 'MULTISUBDIR =' >> $ac_file
75481 ml_norecursion=yes
75482 . ${multi_basedir}/config-ml.in
75483 { ml_norecursion=; unset ml_norecursion;}
75485 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
75486 s!`test -f '$<' || echo '$(srcdir)/'`!!
75487 _EOF
75488 sed -f vpsed$$ $ac_file > tmp$$
75489 mv tmp$$ $ac_file
75490 rm vpsed$$
75491 echo 'MULTISUBDIR =' >> $ac_file
75492 ml_norecursion=yes
75493 . ${multi_basedir}/config-ml.in
75494 { ml_norecursion=; unset ml_norecursion;}
75496 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
75497 s!`test -f '$<' || echo '$(srcdir)/'`!!
75498 _EOF
75499 sed -f vpsed$$ $ac_file > tmp$$
75500 mv tmp$$ $ac_file
75501 rm vpsed$$
75502 echo 'MULTISUBDIR =' >> $ac_file
75503 ml_norecursion=yes
75504 . ${multi_basedir}/config-ml.in
75505 { ml_norecursion=; unset ml_norecursion;}
75507 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
75508 s!`test -f '$<' || echo '$(srcdir)/'`!!
75509 _EOF
75510 sed -f vpsed$$ $ac_file > tmp$$
75511 mv tmp$$ $ac_file
75512 rm vpsed$$
75513 echo 'MULTISUBDIR =' >> $ac_file
75514 ml_norecursion=yes
75515 . ${multi_basedir}/config-ml.in
75516 { ml_norecursion=; unset ml_norecursion;}
75518 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75519 s!`test -f '$<' || echo '$(srcdir)/'`!!
75520 _EOF
75521 sed -f vpsed$$ $ac_file > tmp$$
75522 mv tmp$$ $ac_file
75523 rm vpsed$$
75524 echo 'MULTISUBDIR =' >> $ac_file
75525 ml_norecursion=yes
75526 . ${multi_basedir}/config-ml.in
75527 { ml_norecursion=; unset ml_norecursion;}
75529 "po/Makefile":F) cat > vpsed$$ << \_EOF
75530 s!`test -f '$<' || echo '$(srcdir)/'`!!
75531 _EOF
75532 sed -f vpsed$$ $ac_file > tmp$$
75533 mv tmp$$ $ac_file
75534 rm vpsed$$
75535 echo 'MULTISUBDIR =' >> $ac_file
75536 ml_norecursion=yes
75537 . ${multi_basedir}/config-ml.in
75538 { ml_norecursion=; unset ml_norecursion;}
75540 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75541 s!`test -f '$<' || echo '$(srcdir)/'`!!
75542 _EOF
75543 sed -f vpsed$$ $ac_file > tmp$$
75544 mv tmp$$ $ac_file
75545 rm vpsed$$
75546 echo 'MULTISUBDIR =' >> $ac_file
75547 ml_norecursion=yes
75548 . ${multi_basedir}/config-ml.in
75549 { ml_norecursion=; unset ml_norecursion;}
75551 "python/Makefile":F) cat > vpsed$$ << \_EOF
75552 s!`test -f '$<' || echo '$(srcdir)/'`!!
75553 _EOF
75554 sed -f vpsed$$ $ac_file > tmp$$
75555 mv tmp$$ $ac_file
75556 rm vpsed$$
75557 echo 'MULTISUBDIR =' >> $ac_file
75558 ml_norecursion=yes
75559 . ${multi_basedir}/config-ml.in
75560 { ml_norecursion=; unset ml_norecursion;}
75562 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75564 esac
75565 done # for ac_tag
75568 as_fn_exit 0
75569 _ACEOF
75570 ac_clean_files=$ac_clean_files_save
75572 test $ac_write_fail = 0 ||
75573 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
75576 # configure is writing to config.log, and then calls config.status.
75577 # config.status does its own redirection, appending to config.log.
75578 # Unfortunately, on DOS this fails, as config.log is still kept open
75579 # by configure, so config.status won't be able to write to it; its
75580 # output is simply discarded. So we exec the FD to /dev/null,
75581 # effectively closing config.log, so it can be properly (re)opened and
75582 # appended to by config.status. When coming back to configure, we
75583 # need to make the FD available again.
75584 if test "$no_create" != yes; then
75585 ac_cs_success=:
75586 ac_config_status_args=
75587 test "$silent" = yes &&
75588 ac_config_status_args="$ac_config_status_args --quiet"
75589 exec 5>/dev/null
75590 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75591 exec 5>>config.log
75592 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75593 # would make configure fail if this is the last instruction.
75594 $ac_cs_success || as_fn_exit 1
75596 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75598 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}