Use default lower bound for vector types in debug info
[official-gcc.git] / libstdc++-v3 / configure
blob19ca3368784ec71a56c53b44b4122b5a8bf6b17b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_BACKTRACE_FALSE
679 ENABLE_BACKTRACE_TRUE
680 BACKTRACE_SUPPORTS_THREADS
681 BACKTRACE_USES_MALLOC
682 BACKTRACE_SUPPORTED
683 BACKTRACE_CPPFLAGS
684 ALLOC_FILE
685 VIEW_FILE
686 FORMAT_FILE
687 ENABLE_FILESYSTEM_TS_FALSE
688 ENABLE_FILESYSTEM_TS_TRUE
689 baseline_subdir_switch
690 baseline_dir
691 HWCAP_CFLAGS
692 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
693 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
694 GLIBCXX_LDBL_COMPAT_FALSE
695 GLIBCXX_LDBL_COMPAT_TRUE
696 LONG_DOUBLE_ALT128_COMPAT_FLAGS
697 LONG_DOUBLE_128_FLAGS
698 LONG_DOUBLE_COMPAT_FLAGS
699 ENABLE_CXX11_ABI_FALSE
700 ENABLE_CXX11_ABI_TRUE
701 glibcxx_cxx98_abi
702 ENABLE_DUAL_ABI_FALSE
703 ENABLE_DUAL_ABI_TRUE
704 ENABLE_VISIBILITY_FALSE
705 ENABLE_VISIBILITY_TRUE
706 libtool_VERSION
707 ENABLE_SYMVERS_SUN_FALSE
708 ENABLE_SYMVERS_SUN_TRUE
709 ENABLE_SYMVERS_DARWIN_FALSE
710 ENABLE_SYMVERS_DARWIN_TRUE
711 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
712 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
713 ENABLE_SYMVERS_GNU_FALSE
714 ENABLE_SYMVERS_GNU_TRUE
715 ENABLE_SYMVERS_FALSE
716 ENABLE_SYMVERS_TRUE
717 port_specific_symbol_files
718 SYMVER_FILE
719 CXXFILT
720 LTLIBICONV
721 LIBICONV
722 OPT_LDFLAGS
723 SECTION_LDFLAGS
724 GLIBCXX_LIBS
725 ENABLE_VTABLE_VERIFY_FALSE
726 ENABLE_VTABLE_VERIFY_TRUE
727 VTV_CYGMIN_FALSE
728 VTV_CYGMIN_TRUE
729 VTV_CXXLINKFLAGS
730 VTV_PCH_CXXFLAGS
731 VTV_CXXFLAGS
732 ENABLE_WERROR_FALSE
733 ENABLE_WERROR_TRUE
734 ENABLE_PYTHONDIR_FALSE
735 ENABLE_PYTHONDIR_TRUE
736 python_mod_dir
737 ENABLE_EXTERN_TEMPLATE_FALSE
738 ENABLE_EXTERN_TEMPLATE_TRUE
739 EXTRA_CXX_FLAGS
740 GLIBCXX_BUILD_DEBUG_FALSE
741 GLIBCXX_BUILD_DEBUG_TRUE
742 DEBUG_FLAGS
743 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
744 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
745 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
746 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
747 GLIBCXX_C_HEADERS_C_STD_FALSE
748 GLIBCXX_C_HEADERS_C_STD_TRUE
749 GLIBCXX_C_HEADERS_C_FALSE
750 GLIBCXX_C_HEADERS_C_TRUE
751 C_INCLUDE_DIR
752 ALLOCATOR_NAME
753 ALLOCATOR_H
754 ENABLE_ALLOCATOR_NEW_FALSE
755 ENABLE_ALLOCATOR_NEW_TRUE
756 CLOCALE_INTERNAL_H
757 CLOCALE_CC
758 CTIME_CC
759 CTIME_H
760 CNUMERIC_CC
761 CMONEY_CC
762 CMESSAGES_CC
763 CCTYPE_CC
764 CCOLLATE_CC
765 CCODECVT_CC
766 CMESSAGES_H
767 CLOCALE_H
768 USE_NLS
769 glibcxx_localedir
770 glibcxx_POFILES
771 glibcxx_MOFILES
772 check_msgfmt
773 BASIC_FILE_CC
774 BASIC_FILE_H
775 CSTDIO_H
776 SECTION_FLAGS
777 ENABLE_FLOAT128_FALSE
778 ENABLE_FLOAT128_TRUE
779 thread_header
780 glibcxx_PCHFLAGS
781 GLIBCXX_BUILD_PCH_FALSE
782 GLIBCXX_BUILD_PCH_TRUE
783 FREESTANDING_FLAGS
784 GLIBCXX_HOSTED_FALSE
785 GLIBCXX_HOSTED_TRUE
786 glibcxx_compiler_shared_flag
787 glibcxx_compiler_pic_flag
788 glibcxx_lt_pic_flag
789 enable_static
790 enable_shared
791 lt_host_flags
792 CXXCPP
793 OTOOL64
794 OTOOL
795 LIPO
796 NMEDIT
797 DSYMUTIL
798 OBJDUMP
800 ac_ct_DUMPBIN
801 DUMPBIN
803 FGREP
805 LIBTOOL
806 EGREP
807 GREP
809 MAINT
810 MAINTAINER_MODE_FALSE
811 MAINTAINER_MODE_TRUE
812 RANLIB
815 LN_S
816 toplevel_srcdir
817 toplevel_builddir
818 glibcxx_srcdir
819 glibcxx_builddir
820 ac_ct_CXX
821 CXXFLAGS
823 OBJEXT
824 EXEEXT
825 ac_ct_CC
826 CPPFLAGS
827 LDFLAGS
828 CFLAGS
830 AM_BACKSLASH
831 AM_DEFAULT_VERBOSITY
832 AM_DEFAULT_V
833 AM_V
834 am__untar
835 am__tar
836 AMTAR
837 am__leading_dot
838 SET_MAKE
840 mkdir_p
841 MKDIR_P
842 INSTALL_STRIP_PROGRAM
843 STRIP
844 install_sh
845 MAKEINFO
846 AUTOHEADER
847 AUTOMAKE
848 AUTOCONF
849 ACLOCAL
850 VERSION
851 PACKAGE
852 CYGPATH_W
853 am__isrc
854 INSTALL_DATA
855 INSTALL_SCRIPT
856 INSTALL_PROGRAM
857 target_os
858 target_vendor
859 target_cpu
860 target
861 host_os
862 host_vendor
863 host_cpu
864 host
865 build_os
866 build_vendor
867 build_cpu
868 build
869 multi_basedir
870 target_alias
871 host_alias
872 build_alias
873 LIBS
874 ECHO_T
875 ECHO_N
876 ECHO_C
877 DEFS
878 mandir
879 localedir
880 libdir
881 psdir
882 pdfdir
883 dvidir
884 htmldir
885 infodir
886 docdir
887 oldincludedir
888 includedir
889 localstatedir
890 sharedstatedir
891 sysconfdir
892 datadir
893 datarootdir
894 libexecdir
895 sbindir
896 bindir
897 program_transform_name
898 prefix
899 exec_prefix
900 PACKAGE_URL
901 PACKAGE_BUGREPORT
902 PACKAGE_STRING
903 PACKAGE_VERSION
904 PACKAGE_TARNAME
905 PACKAGE_NAME
906 PATH_SEPARATOR
907 SHELL'
908 ac_subst_files=''
909 ac_user_opts='
910 enable_option_checking
911 enable_multilib
912 enable_silent_rules
913 enable_largefile
914 with_target_subdir
915 with_cross_host
916 with_newlib
917 enable_maintainer_mode
918 enable_shared
919 enable_static
920 with_pic
921 enable_fast_install
922 with_gnu_ld
923 enable_libtool_lock
924 enable_hosted_libstdcxx
925 enable_libstdcxx_verbose
926 enable_libstdcxx_pch
927 with_libstdcxx_lock_policy
928 enable_cstdio
929 enable_clocale
930 enable_nls
931 enable_libstdcxx_allocator
932 enable_cheaders_obsolete
933 enable_cheaders
934 enable_long_long
935 enable_wchar_t
936 enable_c99
937 enable_concept_checks
938 enable_libstdcxx_debug_flags
939 enable_libstdcxx_debug
940 enable_cxx_flags
941 enable_fully_dynamic_string
942 enable_extern_template
943 with_python_dir
944 enable_werror
945 enable_vtable_verify
946 enable_libstdcxx_time
947 enable_tls
948 enable_rpath
949 with_libiconv_prefix
950 with_libiconv_type
951 with_system_libunwind
952 enable_linux_futex
953 enable_symvers
954 enable_libstdcxx_visibility
955 enable_libstdcxx_dual_abi
956 with_default_libstdcxx_abi
957 enable_libstdcxx_threads
958 enable_libstdcxx_filesystem_ts
959 enable_libstdcxx_backtrace
960 enable_cet
961 with_gxx_include_dir
962 enable_version_specific_runtime_libs
963 with_toolexeclibdir
964 with_gcc_major_version_only
966 ac_precious_vars='build_alias
967 host_alias
968 target_alias
970 CFLAGS
971 LDFLAGS
972 LIBS
973 CPPFLAGS
975 CXXFLAGS
978 CXXCPP
979 CXXFILT'
982 # Initialize some variables set by options.
983 ac_init_help=
984 ac_init_version=false
985 ac_unrecognized_opts=
986 ac_unrecognized_sep=
987 # The variables have the same names as the options, with
988 # dashes changed to underlines.
989 cache_file=/dev/null
990 exec_prefix=NONE
991 no_create=
992 no_recursion=
993 prefix=NONE
994 program_prefix=NONE
995 program_suffix=NONE
996 program_transform_name=s,x,x,
997 silent=
998 site=
999 srcdir=
1000 verbose=
1001 x_includes=NONE
1002 x_libraries=NONE
1004 # Installation directory options.
1005 # These are left unexpanded so users can "make install exec_prefix=/foo"
1006 # and all the variables that are supposed to be based on exec_prefix
1007 # by default will actually change.
1008 # Use braces instead of parens because sh, perl, etc. also accept them.
1009 # (The list follows the same order as the GNU Coding Standards.)
1010 bindir='${exec_prefix}/bin'
1011 sbindir='${exec_prefix}/sbin'
1012 libexecdir='${exec_prefix}/libexec'
1013 datarootdir='${prefix}/share'
1014 datadir='${datarootdir}'
1015 sysconfdir='${prefix}/etc'
1016 sharedstatedir='${prefix}/com'
1017 localstatedir='${prefix}/var'
1018 includedir='${prefix}/include'
1019 oldincludedir='/usr/include'
1020 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1021 infodir='${datarootdir}/info'
1022 htmldir='${docdir}'
1023 dvidir='${docdir}'
1024 pdfdir='${docdir}'
1025 psdir='${docdir}'
1026 libdir='${exec_prefix}/lib'
1027 localedir='${datarootdir}/locale'
1028 mandir='${datarootdir}/man'
1030 ac_prev=
1031 ac_dashdash=
1032 for ac_option
1034 # If the previous option needs an argument, assign it.
1035 if test -n "$ac_prev"; then
1036 eval $ac_prev=\$ac_option
1037 ac_prev=
1038 continue
1041 case $ac_option in
1042 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1043 *=) ac_optarg= ;;
1044 *) ac_optarg=yes ;;
1045 esac
1047 # Accept the important Cygnus configure options, so we can diagnose typos.
1049 case $ac_dashdash$ac_option in
1051 ac_dashdash=yes ;;
1053 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1054 ac_prev=bindir ;;
1055 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1056 bindir=$ac_optarg ;;
1058 -build | --build | --buil | --bui | --bu)
1059 ac_prev=build_alias ;;
1060 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1061 build_alias=$ac_optarg ;;
1063 -cache-file | --cache-file | --cache-fil | --cache-fi \
1064 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1065 ac_prev=cache_file ;;
1066 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1067 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1068 cache_file=$ac_optarg ;;
1070 --config-cache | -C)
1071 cache_file=config.cache ;;
1073 -datadir | --datadir | --datadi | --datad)
1074 ac_prev=datadir ;;
1075 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1076 datadir=$ac_optarg ;;
1078 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1079 | --dataroo | --dataro | --datar)
1080 ac_prev=datarootdir ;;
1081 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1082 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1083 datarootdir=$ac_optarg ;;
1085 -disable-* | --disable-*)
1086 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1087 # Reject names that are not valid shell variable names.
1088 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1089 as_fn_error $? "invalid feature name: $ac_useropt"
1090 ac_useropt_orig=$ac_useropt
1091 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1092 case $ac_user_opts in
1094 "enable_$ac_useropt"
1095 "*) ;;
1096 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1097 ac_unrecognized_sep=', ';;
1098 esac
1099 eval enable_$ac_useropt=no ;;
1101 -docdir | --docdir | --docdi | --doc | --do)
1102 ac_prev=docdir ;;
1103 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1104 docdir=$ac_optarg ;;
1106 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1107 ac_prev=dvidir ;;
1108 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1109 dvidir=$ac_optarg ;;
1111 -enable-* | --enable-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid feature name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1120 "enable_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval enable_$ac_useropt=\$ac_optarg ;;
1127 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1128 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1129 | --exec | --exe | --ex)
1130 ac_prev=exec_prefix ;;
1131 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1132 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1133 | --exec=* | --exe=* | --ex=*)
1134 exec_prefix=$ac_optarg ;;
1136 -gas | --gas | --ga | --g)
1137 # Obsolete; use --with-gas.
1138 with_gas=yes ;;
1140 -help | --help | --hel | --he | -h)
1141 ac_init_help=long ;;
1142 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1143 ac_init_help=recursive ;;
1144 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1145 ac_init_help=short ;;
1147 -host | --host | --hos | --ho)
1148 ac_prev=host_alias ;;
1149 -host=* | --host=* | --hos=* | --ho=*)
1150 host_alias=$ac_optarg ;;
1152 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1153 ac_prev=htmldir ;;
1154 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1155 | --ht=*)
1156 htmldir=$ac_optarg ;;
1158 -includedir | --includedir | --includedi | --included | --include \
1159 | --includ | --inclu | --incl | --inc)
1160 ac_prev=includedir ;;
1161 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1162 | --includ=* | --inclu=* | --incl=* | --inc=*)
1163 includedir=$ac_optarg ;;
1165 -infodir | --infodir | --infodi | --infod | --info | --inf)
1166 ac_prev=infodir ;;
1167 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1168 infodir=$ac_optarg ;;
1170 -libdir | --libdir | --libdi | --libd)
1171 ac_prev=libdir ;;
1172 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1173 libdir=$ac_optarg ;;
1175 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1176 | --libexe | --libex | --libe)
1177 ac_prev=libexecdir ;;
1178 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1179 | --libexe=* | --libex=* | --libe=*)
1180 libexecdir=$ac_optarg ;;
1182 -localedir | --localedir | --localedi | --localed | --locale)
1183 ac_prev=localedir ;;
1184 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1185 localedir=$ac_optarg ;;
1187 -localstatedir | --localstatedir | --localstatedi | --localstated \
1188 | --localstate | --localstat | --localsta | --localst | --locals)
1189 ac_prev=localstatedir ;;
1190 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1191 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1192 localstatedir=$ac_optarg ;;
1194 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1195 ac_prev=mandir ;;
1196 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1197 mandir=$ac_optarg ;;
1199 -nfp | --nfp | --nf)
1200 # Obsolete; use --without-fp.
1201 with_fp=no ;;
1203 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1204 | --no-cr | --no-c | -n)
1205 no_create=yes ;;
1207 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1208 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1209 no_recursion=yes ;;
1211 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1212 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1213 | --oldin | --oldi | --old | --ol | --o)
1214 ac_prev=oldincludedir ;;
1215 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1216 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1217 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1218 oldincludedir=$ac_optarg ;;
1220 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1221 ac_prev=prefix ;;
1222 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1223 prefix=$ac_optarg ;;
1225 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1226 | --program-pre | --program-pr | --program-p)
1227 ac_prev=program_prefix ;;
1228 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1229 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1230 program_prefix=$ac_optarg ;;
1232 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1233 | --program-suf | --program-su | --program-s)
1234 ac_prev=program_suffix ;;
1235 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1236 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1237 program_suffix=$ac_optarg ;;
1239 -program-transform-name | --program-transform-name \
1240 | --program-transform-nam | --program-transform-na \
1241 | --program-transform-n | --program-transform- \
1242 | --program-transform | --program-transfor \
1243 | --program-transfo | --program-transf \
1244 | --program-trans | --program-tran \
1245 | --progr-tra | --program-tr | --program-t)
1246 ac_prev=program_transform_name ;;
1247 -program-transform-name=* | --program-transform-name=* \
1248 | --program-transform-nam=* | --program-transform-na=* \
1249 | --program-transform-n=* | --program-transform-=* \
1250 | --program-transform=* | --program-transfor=* \
1251 | --program-transfo=* | --program-transf=* \
1252 | --program-trans=* | --program-tran=* \
1253 | --progr-tra=* | --program-tr=* | --program-t=*)
1254 program_transform_name=$ac_optarg ;;
1256 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1257 ac_prev=pdfdir ;;
1258 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1259 pdfdir=$ac_optarg ;;
1261 -psdir | --psdir | --psdi | --psd | --ps)
1262 ac_prev=psdir ;;
1263 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1264 psdir=$ac_optarg ;;
1266 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1267 | -silent | --silent | --silen | --sile | --sil)
1268 silent=yes ;;
1270 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1271 ac_prev=sbindir ;;
1272 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1273 | --sbi=* | --sb=*)
1274 sbindir=$ac_optarg ;;
1276 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1277 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1278 | --sharedst | --shareds | --shared | --share | --shar \
1279 | --sha | --sh)
1280 ac_prev=sharedstatedir ;;
1281 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1282 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1283 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1284 | --sha=* | --sh=*)
1285 sharedstatedir=$ac_optarg ;;
1287 -site | --site | --sit)
1288 ac_prev=site ;;
1289 -site=* | --site=* | --sit=*)
1290 site=$ac_optarg ;;
1292 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1293 ac_prev=srcdir ;;
1294 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1295 srcdir=$ac_optarg ;;
1297 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1298 | --syscon | --sysco | --sysc | --sys | --sy)
1299 ac_prev=sysconfdir ;;
1300 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1301 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1302 sysconfdir=$ac_optarg ;;
1304 -target | --target | --targe | --targ | --tar | --ta | --t)
1305 ac_prev=target_alias ;;
1306 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1307 target_alias=$ac_optarg ;;
1309 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1310 verbose=yes ;;
1312 -version | --version | --versio | --versi | --vers | -V)
1313 ac_init_version=: ;;
1315 -with-* | --with-*)
1316 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1317 # Reject names that are not valid shell variable names.
1318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1319 as_fn_error $? "invalid package name: $ac_useropt"
1320 ac_useropt_orig=$ac_useropt
1321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1322 case $ac_user_opts in
1324 "with_$ac_useropt"
1325 "*) ;;
1326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1327 ac_unrecognized_sep=', ';;
1328 esac
1329 eval with_$ac_useropt=\$ac_optarg ;;
1331 -without-* | --without-*)
1332 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1333 # Reject names that are not valid shell variable names.
1334 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1335 as_fn_error $? "invalid package name: $ac_useropt"
1336 ac_useropt_orig=$ac_useropt
1337 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1338 case $ac_user_opts in
1340 "with_$ac_useropt"
1341 "*) ;;
1342 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1343 ac_unrecognized_sep=', ';;
1344 esac
1345 eval with_$ac_useropt=no ;;
1347 --x)
1348 # Obsolete; use --with-x.
1349 with_x=yes ;;
1351 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1352 | --x-incl | --x-inc | --x-in | --x-i)
1353 ac_prev=x_includes ;;
1354 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1355 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1356 x_includes=$ac_optarg ;;
1358 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1359 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1360 ac_prev=x_libraries ;;
1361 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1362 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1363 x_libraries=$ac_optarg ;;
1365 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1366 Try \`$0 --help' for more information"
1369 *=*)
1370 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1371 # Reject names that are not valid shell variable names.
1372 case $ac_envvar in #(
1373 '' | [0-9]* | *[!_$as_cr_alnum]* )
1374 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1375 esac
1376 eval $ac_envvar=\$ac_optarg
1377 export $ac_envvar ;;
1380 # FIXME: should be removed in autoconf 3.0.
1381 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1382 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1384 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1387 esac
1388 done
1390 if test -n "$ac_prev"; then
1391 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1392 as_fn_error $? "missing argument to $ac_option"
1395 if test -n "$ac_unrecognized_opts"; then
1396 case $enable_option_checking in
1397 no) ;;
1398 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1399 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1400 esac
1403 # Check all directory arguments for consistency.
1404 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405 datadir sysconfdir sharedstatedir localstatedir includedir \
1406 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407 libdir localedir mandir
1409 eval ac_val=\$$ac_var
1410 # Remove trailing slashes.
1411 case $ac_val in
1412 */ )
1413 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414 eval $ac_var=\$ac_val;;
1415 esac
1416 # Be sure to have absolute directory names.
1417 case $ac_val in
1418 [\\/$]* | ?:[\\/]* ) continue;;
1419 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1420 esac
1421 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1422 done
1424 # There might be people who depend on the old broken behavior: `$host'
1425 # used to hold the argument of --host etc.
1426 # FIXME: To remove some day.
1427 build=$build_alias
1428 host=$host_alias
1429 target=$target_alias
1431 # FIXME: To remove some day.
1432 if test "x$host_alias" != x; then
1433 if test "x$build_alias" = x; then
1434 cross_compiling=maybe
1435 elif test "x$build_alias" != "x$host_alias"; then
1436 cross_compiling=yes
1440 ac_tool_prefix=
1441 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1443 test "$silent" = yes && exec 6>/dev/null
1446 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1447 ac_ls_di=`ls -di .` &&
1448 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1449 as_fn_error $? "working directory cannot be determined"
1450 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1451 as_fn_error $? "pwd does not report name of working directory"
1454 # Find the source files, if location was not specified.
1455 if test -z "$srcdir"; then
1456 ac_srcdir_defaulted=yes
1457 # Try the directory containing this script, then the parent directory.
1458 ac_confdir=`$as_dirname -- "$as_myself" ||
1459 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1460 X"$as_myself" : 'X\(//\)[^/]' \| \
1461 X"$as_myself" : 'X\(//\)$' \| \
1462 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1463 $as_echo X"$as_myself" |
1464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1465 s//\1/
1468 /^X\(\/\/\)[^/].*/{
1469 s//\1/
1472 /^X\(\/\/\)$/{
1473 s//\1/
1476 /^X\(\/\).*/{
1477 s//\1/
1480 s/.*/./; q'`
1481 srcdir=$ac_confdir
1482 if test ! -r "$srcdir/$ac_unique_file"; then
1483 srcdir=..
1485 else
1486 ac_srcdir_defaulted=no
1488 if test ! -r "$srcdir/$ac_unique_file"; then
1489 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1490 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1492 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1493 ac_abs_confdir=`(
1494 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1495 pwd)`
1496 # When building in place, set srcdir=.
1497 if test "$ac_abs_confdir" = "$ac_pwd"; then
1498 srcdir=.
1500 # Remove unnecessary trailing slashes from srcdir.
1501 # Double slashes in file names in object file debugging info
1502 # mess up M-x gdb in Emacs.
1503 case $srcdir in
1504 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1505 esac
1506 for ac_var in $ac_precious_vars; do
1507 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1508 eval ac_env_${ac_var}_value=\$${ac_var}
1509 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1510 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1511 done
1514 # Report the --help message.
1516 if test "$ac_init_help" = "long"; then
1517 # Omit some internal or obsolete options to make the list less imposing.
1518 # This message is too long to be a string in the A/UX 3.1 sh.
1519 cat <<_ACEOF
1520 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1522 Usage: $0 [OPTION]... [VAR=VALUE]...
1524 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1525 VAR=VALUE. See below for descriptions of some of the useful variables.
1527 Defaults for the options are specified in brackets.
1529 Configuration:
1530 -h, --help display this help and exit
1531 --help=short display options specific to this package
1532 --help=recursive display the short help of all the included packages
1533 -V, --version display version information and exit
1534 -q, --quiet, --silent do not print \`checking ...' messages
1535 --cache-file=FILE cache test results in FILE [disabled]
1536 -C, --config-cache alias for \`--cache-file=config.cache'
1537 -n, --no-create do not create output files
1538 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1540 Installation directories:
1541 --prefix=PREFIX install architecture-independent files in PREFIX
1542 [$ac_default_prefix]
1543 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1544 [PREFIX]
1546 By default, \`make install' will install all the files in
1547 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1548 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1549 for instance \`--prefix=\$HOME'.
1551 For better control, use the options below.
1553 Fine tuning of the installation directories:
1554 --bindir=DIR user executables [EPREFIX/bin]
1555 --sbindir=DIR system admin executables [EPREFIX/sbin]
1556 --libexecdir=DIR program executables [EPREFIX/libexec]
1557 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1558 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1559 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1560 --libdir=DIR object code libraries [EPREFIX/lib]
1561 --includedir=DIR C header files [PREFIX/include]
1562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1565 --infodir=DIR info documentation [DATAROOTDIR/info]
1566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1567 --mandir=DIR man documentation [DATAROOTDIR/man]
1568 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1569 --htmldir=DIR html documentation [DOCDIR]
1570 --dvidir=DIR dvi documentation [DOCDIR]
1571 --pdfdir=DIR pdf documentation [DOCDIR]
1572 --psdir=DIR ps documentation [DOCDIR]
1573 _ACEOF
1575 cat <<\_ACEOF
1577 Program names:
1578 --program-prefix=PREFIX prepend PREFIX to installed program names
1579 --program-suffix=SUFFIX append SUFFIX to installed program names
1580 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1582 System types:
1583 --build=BUILD configure for building on BUILD [guessed]
1584 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1585 --target=TARGET configure for building compilers for TARGET [HOST]
1586 _ACEOF
1589 if test -n "$ac_init_help"; then
1590 case $ac_init_help in
1591 short | recursive ) echo "Configuration of package-unused version-unused:";;
1592 esac
1593 cat <<\_ACEOF
1595 Optional Features:
1596 --disable-option-checking ignore unrecognized --enable/--with options
1597 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1598 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1599 --enable-multilib build many library versions (default)
1600 --enable-silent-rules less verbose build output (undo: "make V=1")
1601 --disable-silent-rules verbose build output (undo: "make V=0")
1602 --disable-largefile omit support for large files
1603 --enable-maintainer-mode
1604 enable make rules and dependencies not useful (and
1605 sometimes confusing) to the casual installer
1606 --enable-shared[=PKGS] build shared libraries [default=yes]
1607 --enable-static[=PKGS] build static libraries [default=yes]
1608 --enable-fast-install[=PKGS]
1609 optimize for fast installation [default=yes]
1610 --disable-libtool-lock avoid locking (might break parallel builds)
1611 --disable-hosted-libstdcxx
1612 only build freestanding C++ runtime support
1613 --disable-libstdcxx-verbose
1614 disable termination messages to standard error
1615 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1616 [default=$is_hosted]
1617 --enable-cstdio[=PACKAGE]
1618 use target-specific I/O package [default=stdio]
1619 --enable-clocale[=MODEL]
1620 use MODEL for target locale package [default=auto]
1621 --enable-nls use Native Language Support (default)
1622 --enable-libstdcxx-allocator[=KIND]
1623 use KIND for target std::allocator base
1624 [default=auto]
1625 --enable-cheaders-obsolete
1626 allow use of obsolete "C" headers for g++
1627 [default=no]
1628 --enable-cheaders[=KIND]
1629 construct "C" headers for g++ [default=$c_model]
1630 --enable-long-long enable template specializations for 'long long'
1631 [default=yes]
1632 --enable-wchar_t enable template specializations for 'wchar_t'
1633 [default=yes]
1634 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1635 --enable-concept-checks use Boost-derived template checks [default=no]
1636 --enable-libstdcxx-debug-flags=FLAGS
1637 pass compiler FLAGS when building debug library
1638 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1639 --enable-libstdcxx-debug
1640 build extra debug library [default=no]
1641 --enable-cxx-flags=FLAGS
1642 pass compiler FLAGS when building library [default=]
1643 --enable-fully-dynamic-string
1644 do not put empty strings in per-process static
1645 memory [default=no]
1646 --enable-extern-template
1647 enable extern template [default=yes]
1648 --enable-werror turns on -Werror [default=no]
1649 --enable-vtable-verify enable vtable verify [default=no]
1650 --enable-libstdcxx-time[=KIND]
1651 use KIND for check type [default=auto]
1652 --enable-tls Use thread-local storage [default=yes]
1653 --disable-rpath do not hardcode runtime library paths
1654 --enable-linux-futex use the Linux futex system call [default=default]
1655 --enable-symvers[=STYLE]
1656 enables symbol versioning of the shared library
1657 [default=yes]
1658 --enable-libstdcxx-visibility
1659 enables visibility safe usage [default=yes]
1660 --enable-libstdcxx-dual-abi
1661 support two versions of std::string [default=yes]
1662 --enable-libstdcxx-threads
1663 enable C++11 threads support [default=auto]
1664 --enable-libstdcxx-filesystem-ts
1665 turns on ISO/IEC TS 18822 support [default=auto]
1666 --enable-libstdcxx-backtrace
1667 turns on libbacktrace support [default=auto]
1668 --enable-cet enable Intel CET in target libraries [default=auto]
1669 --enable-version-specific-runtime-libs
1670 Specify that runtime libraries should be installed
1671 in a compiler-specific directory
1673 Optional Packages:
1674 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1675 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1676 --with-target-subdir=SUBDIR
1677 configuring in a subdirectory
1678 --with-cross-host=HOST configuring with a cross compiler
1679 --with-newlib assume newlib as a system C library
1680 --with-pic try to use only PIC/non-PIC objects [default=use
1681 both]
1682 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1683 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1684 synchronization policy for shared_ptr reference
1685 counting [default=auto]
1686 --with-python-dir the location to install Python modules. This path is
1687 relative starting from the prefix.
1688 --with-gnu-ld assume the C compiler uses GNU ld default=no
1689 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1690 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1691 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1692 --with-system-libunwind use installed libunwind
1693 --with-default-libstdcxx-abi
1694 set the std::string ABI to use by default
1695 --with-gxx-include-dir=DIR
1696 installation directory for include files
1697 --with-toolexeclibdir=DIR
1698 install libraries built with a cross compiler within
1700 --with-gcc-major-version-only
1701 use only GCC major number in filesystem paths
1703 Some influential environment variables:
1704 CC C compiler command
1705 CFLAGS C compiler flags
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir>
1711 CXX C++ compiler command
1712 CXXFLAGS C++ compiler flags
1713 CPP C preprocessor
1714 CXXCPP C++ preprocessor
1715 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1716 `c++filt', `gc++filt' on PATH.
1718 Use these variables to override the choices made by `configure' or to help
1719 it to find libraries and programs with nonstandard names/locations.
1721 Report bugs to the package provider.
1722 _ACEOF
1723 ac_status=$?
1726 if test "$ac_init_help" = "recursive"; then
1727 # If there are subdirs, report their specific --help.
1728 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1729 test -d "$ac_dir" ||
1730 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1731 continue
1732 ac_builddir=.
1734 case "$ac_dir" in
1735 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1737 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1738 # A ".." for each directory in $ac_dir_suffix.
1739 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1740 case $ac_top_builddir_sub in
1741 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1742 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743 esac ;;
1744 esac
1745 ac_abs_top_builddir=$ac_pwd
1746 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1747 # for backward compatibility:
1748 ac_top_builddir=$ac_top_build_prefix
1750 case $srcdir in
1751 .) # We are building in place.
1752 ac_srcdir=.
1753 ac_top_srcdir=$ac_top_builddir_sub
1754 ac_abs_top_srcdir=$ac_pwd ;;
1755 [\\/]* | ?:[\\/]* ) # Absolute name.
1756 ac_srcdir=$srcdir$ac_dir_suffix;
1757 ac_top_srcdir=$srcdir
1758 ac_abs_top_srcdir=$srcdir ;;
1759 *) # Relative name.
1760 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1761 ac_top_srcdir=$ac_top_build_prefix$srcdir
1762 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1763 esac
1764 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1766 cd "$ac_dir" || { ac_status=$?; continue; }
1767 # Check for guested configure.
1768 if test -f "$ac_srcdir/configure.gnu"; then
1769 echo &&
1770 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1771 elif test -f "$ac_srcdir/configure"; then
1772 echo &&
1773 $SHELL "$ac_srcdir/configure" --help=recursive
1774 else
1775 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1776 fi || ac_status=$?
1777 cd "$ac_pwd" || { ac_status=$?; break; }
1778 done
1781 test -n "$ac_init_help" && exit $ac_status
1782 if $ac_init_version; then
1783 cat <<\_ACEOF
1784 package-unused configure version-unused
1785 generated by GNU Autoconf 2.69
1787 Copyright (C) 2012 Free Software Foundation, Inc.
1788 This configure script is free software; the Free Software Foundation
1789 gives unlimited permission to copy, distribute and modify it.
1790 _ACEOF
1791 exit
1794 ## ------------------------ ##
1795 ## Autoconf initialization. ##
1796 ## ------------------------ ##
1798 # ac_fn_c_try_compile LINENO
1799 # --------------------------
1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1801 ac_fn_c_try_compile ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 rm -f conftest.$ac_objext
1805 if { { ac_try="$ac_compile"
1806 case "(($ac_try" in
1807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1808 *) ac_try_echo=$ac_try;;
1809 esac
1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_compile") 2>conftest.err
1813 ac_status=$?
1814 if test -s conftest.err; then
1815 grep -v '^ *+' conftest.err >conftest.er1
1816 cat conftest.er1 >&5
1817 mv -f conftest.er1 conftest.err
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; } && {
1821 test -z "$ac_c_werror_flag" ||
1822 test ! -s conftest.err
1823 } && test -s conftest.$ac_objext; then :
1824 ac_retval=0
1825 else
1826 $as_echo "$as_me: failed program was:" >&5
1827 sed 's/^/| /' conftest.$ac_ext >&5
1829 ac_retval=1
1831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1832 as_fn_set_status $ac_retval
1834 } # ac_fn_c_try_compile
1836 # ac_fn_cxx_try_compile LINENO
1837 # ----------------------------
1838 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1839 ac_fn_cxx_try_compile ()
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext
1843 if { { ac_try="$ac_compile"
1844 case "(($ac_try" in
1845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1846 *) ac_try_echo=$ac_try;;
1847 esac
1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_compile") 2>conftest.err
1851 ac_status=$?
1852 if test -s conftest.err; then
1853 grep -v '^ *+' conftest.err >conftest.er1
1854 cat conftest.er1 >&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_cxx_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest.$ac_objext; then :
1862 ac_retval=0
1863 else
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1867 ac_retval=1
1869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870 as_fn_set_status $ac_retval
1872 } # ac_fn_cxx_try_compile
1874 # ac_fn_c_try_cpp LINENO
1875 # ----------------------
1876 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1877 ac_fn_c_try_cpp ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 if { { ac_try="$ac_cpp conftest.$ac_ext"
1881 case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1884 esac
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1888 ac_status=$?
1889 if test -s conftest.err; then
1890 grep -v '^ *+' conftest.err >conftest.er1
1891 cat conftest.er1 >&5
1892 mv -f conftest.er1 conftest.err
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } > conftest.i && {
1896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1897 test ! -s conftest.err
1898 }; then :
1899 ac_retval=0
1900 else
1901 $as_echo "$as_me: failed program was:" >&5
1902 sed 's/^/| /' conftest.$ac_ext >&5
1904 ac_retval=1
1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1907 as_fn_set_status $ac_retval
1909 } # ac_fn_c_try_cpp
1911 # ac_fn_c_try_link LINENO
1912 # -----------------------
1913 # Try to link conftest.$ac_ext, and return whether this succeeded.
1914 ac_fn_c_try_link ()
1916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1917 rm -f conftest.$ac_objext conftest$ac_exeext
1918 if { { ac_try="$ac_link"
1919 case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1922 esac
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_link") 2>conftest.err
1926 ac_status=$?
1927 if test -s conftest.err; then
1928 grep -v '^ *+' conftest.err >conftest.er1
1929 cat conftest.er1 >&5
1930 mv -f conftest.er1 conftest.err
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; } && {
1934 test -z "$ac_c_werror_flag" ||
1935 test ! -s conftest.err
1936 } && test -s conftest$ac_exeext && {
1937 test "$cross_compiling" = yes ||
1938 test -x conftest$ac_exeext
1939 }; then :
1940 ac_retval=0
1941 else
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.$ac_ext >&5
1945 ac_retval=1
1947 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1948 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1949 # interfere with the next link command; also delete a directory that is
1950 # left behind by Apple's compiler. We do this before executing the actions.
1951 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1955 } # ac_fn_c_try_link
1957 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1958 # -------------------------------------------------------
1959 # Tests whether HEADER exists and can be compiled using the include files in
1960 # INCLUDES, setting the cache variable VAR accordingly.
1961 ac_fn_c_check_header_compile ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1972 #include <$2>
1973 _ACEOF
1974 if ac_fn_c_try_compile "$LINENO"; then :
1975 eval "$3=yes"
1976 else
1977 eval "$3=no"
1979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1981 eval ac_res=\$$3
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1983 $as_echo "$ac_res" >&6; }
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1986 } # ac_fn_c_check_header_compile
1988 # ac_fn_c_try_run LINENO
1989 # ----------------------
1990 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1991 # that executables *can* be run.
1992 ac_fn_c_try_run ()
1994 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1995 if { { ac_try="$ac_link"
1996 case "(($ac_try" in
1997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1998 *) ac_try_echo=$ac_try;;
1999 esac
2000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2001 $as_echo "$ac_try_echo"; } >&5
2002 (eval "$ac_link") 2>&5
2003 ac_status=$?
2004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2005 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2006 { { case "(($ac_try" in
2007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2008 *) ac_try_echo=$ac_try;;
2009 esac
2010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2011 $as_echo "$ac_try_echo"; } >&5
2012 (eval "$ac_try") 2>&5
2013 ac_status=$?
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; }; }; then :
2016 ac_retval=0
2017 else
2018 $as_echo "$as_me: program exited with status $ac_status" >&5
2019 $as_echo "$as_me: failed program was:" >&5
2020 sed 's/^/| /' conftest.$ac_ext >&5
2022 ac_retval=$ac_status
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status $ac_retval
2028 } # ac_fn_c_try_run
2030 # ac_fn_c_check_func LINENO FUNC VAR
2031 # ----------------------------------
2032 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2033 ac_fn_c_check_func ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2037 $as_echo_n "checking for $2... " >&6; }
2038 if eval \${$3+:} false; then :
2039 $as_echo_n "(cached) " >&6
2040 else
2041 if test x$gcc_no_link = xyes; then
2042 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2045 /* end confdefs.h. */
2046 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2048 #define $2 innocuous_$2
2050 /* System header to define __stub macros and hopefully few prototypes,
2051 which can conflict with char $2 (); below.
2052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2053 <limits.h> exists even on freestanding compilers. */
2055 #ifdef __STDC__
2056 # include <limits.h>
2057 #else
2058 # include <assert.h>
2059 #endif
2061 #undef $2
2063 /* Override any GCC internal prototype to avoid an error.
2064 Use char because int might match the return type of a GCC
2065 builtin and then its argument prototype would still apply. */
2066 #ifdef __cplusplus
2067 extern "C"
2068 #endif
2069 char $2 ();
2070 /* The GNU C library defines this for functions which it implements
2071 to always fail with ENOSYS. Some functions are actually named
2072 something starting with __ and the normal name is an alias. */
2073 #if defined __stub_$2 || defined __stub___$2
2074 choke me
2075 #endif
2078 main ()
2080 return $2 ();
2082 return 0;
2084 _ACEOF
2085 if ac_fn_c_try_link "$LINENO"; then :
2086 eval "$3=yes"
2087 else
2088 eval "$3=no"
2090 rm -f core conftest.err conftest.$ac_objext \
2091 conftest$ac_exeext conftest.$ac_ext
2093 eval ac_res=\$$3
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2098 } # ac_fn_c_check_func
2100 # ac_fn_cxx_try_cpp LINENO
2101 # ------------------------
2102 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2103 ac_fn_cxx_try_cpp ()
2105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2106 if { { ac_try="$ac_cpp conftest.$ac_ext"
2107 case "(($ac_try" in
2108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2109 *) ac_try_echo=$ac_try;;
2110 esac
2111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2112 $as_echo "$ac_try_echo"; } >&5
2113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2114 ac_status=$?
2115 if test -s conftest.err; then
2116 grep -v '^ *+' conftest.err >conftest.er1
2117 cat conftest.er1 >&5
2118 mv -f conftest.er1 conftest.err
2120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121 test $ac_status = 0; } > conftest.i && {
2122 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2123 test ! -s conftest.err
2124 }; then :
2125 ac_retval=0
2126 else
2127 $as_echo "$as_me: failed program was:" >&5
2128 sed 's/^/| /' conftest.$ac_ext >&5
2130 ac_retval=1
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2135 } # ac_fn_cxx_try_cpp
2137 # ac_fn_cxx_try_link LINENO
2138 # -------------------------
2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
2140 ac_fn_cxx_try_link ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 rm -f conftest.$ac_objext conftest$ac_exeext
2144 if { { ac_try="$ac_link"
2145 case "(($ac_try" in
2146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2148 esac
2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2150 $as_echo "$ac_try_echo"; } >&5
2151 (eval "$ac_link") 2>conftest.err
2152 ac_status=$?
2153 if test -s conftest.err; then
2154 grep -v '^ *+' conftest.err >conftest.er1
2155 cat conftest.er1 >&5
2156 mv -f conftest.er1 conftest.err
2158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2159 test $ac_status = 0; } && {
2160 test -z "$ac_cxx_werror_flag" ||
2161 test ! -s conftest.err
2162 } && test -s conftest$ac_exeext && {
2163 test "$cross_compiling" = yes ||
2164 test -x conftest$ac_exeext
2165 }; then :
2166 ac_retval=0
2167 else
2168 $as_echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.$ac_ext >&5
2171 ac_retval=1
2173 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2174 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2175 # interfere with the next link command; also delete a directory that is
2176 # left behind by Apple's compiler. We do this before executing the actions.
2177 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2178 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2179 as_fn_set_status $ac_retval
2181 } # ac_fn_cxx_try_link
2183 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2184 # -------------------------------------------------------
2185 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2186 # the include files in INCLUDES and setting the cache variable VAR
2187 # accordingly.
2188 ac_fn_c_check_header_mongrel ()
2190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2191 if eval \${$3+:} false; then :
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2193 $as_echo_n "checking for $2... " >&6; }
2194 if eval \${$3+:} false; then :
2195 $as_echo_n "(cached) " >&6
2197 eval ac_res=\$$3
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 else
2201 # Is the header compilable?
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2203 $as_echo_n "checking $2 usability... " >&6; }
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2207 #include <$2>
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210 ac_header_compiler=yes
2211 else
2212 ac_header_compiler=no
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2216 $as_echo "$ac_header_compiler" >&6; }
2218 # Is the header present?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2220 $as_echo_n "checking $2 presence... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2223 #include <$2>
2224 _ACEOF
2225 if ac_fn_c_try_cpp "$LINENO"; then :
2226 ac_header_preproc=yes
2227 else
2228 ac_header_preproc=no
2230 rm -f conftest.err conftest.i conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2232 $as_echo "$ac_header_preproc" >&6; }
2234 # So? What about this header?
2235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2236 yes:no: )
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2238 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2240 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 no:yes:* )
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2244 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2246 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2248 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2250 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 esac
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2256 $as_echo_n "checking for $2... " >&6; }
2257 if eval \${$3+:} false; then :
2258 $as_echo_n "(cached) " >&6
2259 else
2260 eval "$3=\$ac_header_compiler"
2262 eval ac_res=\$$3
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2264 $as_echo "$ac_res" >&6; }
2266 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2268 } # ac_fn_c_check_header_mongrel
2270 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2271 # ---------------------------------------------------------
2272 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2273 # the include files in INCLUDES and setting the cache variable VAR
2274 # accordingly.
2275 ac_fn_cxx_check_header_mongrel ()
2277 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2278 if eval \${$3+:} false; then :
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2280 $as_echo_n "checking for $2... " >&6; }
2281 if eval \${$3+:} false; then :
2282 $as_echo_n "(cached) " >&6
2284 eval ac_res=\$$3
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286 $as_echo "$ac_res" >&6; }
2287 else
2288 # Is the header compilable?
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2290 $as_echo_n "checking $2 usability... " >&6; }
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2294 #include <$2>
2295 _ACEOF
2296 if ac_fn_cxx_try_compile "$LINENO"; then :
2297 ac_header_compiler=yes
2298 else
2299 ac_header_compiler=no
2301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2303 $as_echo "$ac_header_compiler" >&6; }
2305 # Is the header present?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2307 $as_echo_n "checking $2 presence... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2310 #include <$2>
2311 _ACEOF
2312 if ac_fn_cxx_try_cpp "$LINENO"; then :
2313 ac_header_preproc=yes
2314 else
2315 ac_header_preproc=no
2317 rm -f conftest.err conftest.i conftest.$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2319 $as_echo "$ac_header_preproc" >&6; }
2321 # So? What about this header?
2322 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2323 yes:no: )
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2325 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2327 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2329 no:yes:* )
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2331 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2333 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2335 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2337 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2339 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2341 esac
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2343 $as_echo_n "checking for $2... " >&6; }
2344 if eval \${$3+:} false; then :
2345 $as_echo_n "(cached) " >&6
2346 else
2347 eval "$3=\$ac_header_compiler"
2349 eval ac_res=\$$3
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2351 $as_echo "$ac_res" >&6; }
2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2355 } # ac_fn_cxx_check_header_mongrel
2357 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2358 # --------------------------------------------
2359 # Tries to find the compile-time value of EXPR in a program that includes
2360 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2361 # computed
2362 ac_fn_c_compute_int ()
2364 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2365 if test "$cross_compiling" = yes; then
2366 # Depending upon the size, compute the lo and hi bounds.
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2371 main ()
2373 static int test_array [1 - 2 * !(($2) >= 0)];
2374 test_array [0] = 0;
2375 return test_array [0];
2378 return 0;
2380 _ACEOF
2381 if ac_fn_c_try_compile "$LINENO"; then :
2382 ac_lo=0 ac_mid=0
2383 while :; do
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_hi=$ac_mid; break
2400 else
2401 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2402 if test $ac_lo -le $ac_mid; then
2403 ac_lo= ac_hi=
2404 break
2406 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2409 done
2410 else
2411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2412 /* end confdefs.h. */
2415 main ()
2417 static int test_array [1 - 2 * !(($2) < 0)];
2418 test_array [0] = 0;
2419 return test_array [0];
2422 return 0;
2424 _ACEOF
2425 if ac_fn_c_try_compile "$LINENO"; then :
2426 ac_hi=-1 ac_mid=-1
2427 while :; do
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_lo=$ac_mid; break
2444 else
2445 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2446 if test $ac_mid -le $ac_hi; then
2447 ac_lo= ac_hi=
2448 break
2450 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 else
2455 ac_lo= ac_hi=
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2460 # Binary search between lo and hi bounds.
2461 while test "x$ac_lo" != "x$ac_hi"; do
2462 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2464 /* end confdefs.h. */
2467 main ()
2469 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2470 test_array [0] = 0;
2471 return test_array [0];
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 ac_hi=$ac_mid
2479 else
2480 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 done
2484 case $ac_lo in #((
2485 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2486 '') ac_retval=1 ;;
2487 esac
2488 else
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2492 static long int longval () { return $2; }
2493 static unsigned long int ulongval () { return $2; }
2494 #include <stdio.h>
2495 #include <stdlib.h>
2497 main ()
2500 FILE *f = fopen ("conftest.val", "w");
2501 if (! f)
2502 return 1;
2503 if (($2) < 0)
2505 long int i = longval ();
2506 if (i != ($2))
2507 return 1;
2508 fprintf (f, "%ld", i);
2510 else
2512 unsigned long int i = ulongval ();
2513 if (i != ($2))
2514 return 1;
2515 fprintf (f, "%lu", i);
2517 /* Do not output a trailing newline, as this causes \r\n confusion
2518 on some platforms. */
2519 return ferror (f) || fclose (f) != 0;
2522 return 0;
2524 _ACEOF
2525 if ac_fn_c_try_run "$LINENO"; then :
2526 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2527 else
2528 ac_retval=1
2530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2531 conftest.$ac_objext conftest.beam conftest.$ac_ext
2532 rm -f conftest.val
2535 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2536 as_fn_set_status $ac_retval
2538 } # ac_fn_c_compute_int
2540 # ac_fn_cxx_check_func LINENO FUNC VAR
2541 # ------------------------------------
2542 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2543 ac_fn_cxx_check_func ()
2545 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2547 $as_echo_n "checking for $2... " >&6; }
2548 if eval \${$3+:} false; then :
2549 $as_echo_n "(cached) " >&6
2550 else
2551 if test x$gcc_no_link = xyes; then
2552 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2555 /* end confdefs.h. */
2556 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2558 #define $2 innocuous_$2
2560 /* System header to define __stub macros and hopefully few prototypes,
2561 which can conflict with char $2 (); below.
2562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2563 <limits.h> exists even on freestanding compilers. */
2565 #ifdef __STDC__
2566 # include <limits.h>
2567 #else
2568 # include <assert.h>
2569 #endif
2571 #undef $2
2573 /* Override any GCC internal prototype to avoid an error.
2574 Use char because int might match the return type of a GCC
2575 builtin and then its argument prototype would still apply. */
2576 #ifdef __cplusplus
2577 extern "C"
2578 #endif
2579 char $2 ();
2580 /* The GNU C library defines this for functions which it implements
2581 to always fail with ENOSYS. Some functions are actually named
2582 something starting with __ and the normal name is an alias. */
2583 #if defined __stub_$2 || defined __stub___$2
2584 choke me
2585 #endif
2588 main ()
2590 return $2 ();
2592 return 0;
2594 _ACEOF
2595 if ac_fn_cxx_try_link "$LINENO"; then :
2596 eval "$3=yes"
2597 else
2598 eval "$3=no"
2600 rm -f core conftest.err conftest.$ac_objext \
2601 conftest$ac_exeext conftest.$ac_ext
2603 eval ac_res=\$$3
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2605 $as_echo "$ac_res" >&6; }
2606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2608 } # ac_fn_cxx_check_func
2610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2611 # -------------------------------------------
2612 # Tests whether TYPE exists after having included INCLUDES, setting cache
2613 # variable VAR accordingly.
2614 ac_fn_c_check_type ()
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2618 $as_echo_n "checking for $2... " >&6; }
2619 if eval \${$3+:} false; then :
2620 $as_echo_n "(cached) " >&6
2621 else
2622 eval "$3=no"
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2627 main ()
2629 if (sizeof ($2))
2630 return 0;
2632 return 0;
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637 /* end confdefs.h. */
2640 main ()
2642 if (sizeof (($2)))
2643 return 0;
2645 return 0;
2647 _ACEOF
2648 if ac_fn_c_try_compile "$LINENO"; then :
2650 else
2651 eval "$3=yes"
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2657 eval ac_res=\$$3
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2659 $as_echo "$ac_res" >&6; }
2660 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2662 } # ac_fn_c_check_type
2664 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2665 # ---------------------------------------------
2666 # Tests whether TYPE exists after having included INCLUDES, setting cache
2667 # variable VAR accordingly.
2668 ac_fn_cxx_check_type ()
2670 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2672 $as_echo_n "checking for $2... " >&6; }
2673 if eval \${$3+:} false; then :
2674 $as_echo_n "(cached) " >&6
2675 else
2676 eval "$3=no"
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2681 main ()
2683 if (sizeof ($2))
2684 return 0;
2686 return 0;
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2694 main ()
2696 if (sizeof (($2)))
2697 return 0;
2699 return 0;
2701 _ACEOF
2702 if ac_fn_cxx_try_compile "$LINENO"; then :
2704 else
2705 eval "$3=yes"
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2711 eval ac_res=\$$3
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2713 $as_echo "$ac_res" >&6; }
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2716 } # ac_fn_cxx_check_type
2718 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2719 # ---------------------------------------------
2720 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2721 # accordingly.
2722 ac_fn_c_check_decl ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 as_decl_name=`echo $2|sed 's/ *(.*//'`
2726 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2728 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2729 if eval \${$3+:} false; then :
2730 $as_echo_n "(cached) " >&6
2731 else
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2736 main ()
2738 #ifndef $as_decl_name
2739 #ifdef __cplusplus
2740 (void) $as_decl_use;
2741 #else
2742 (void) $as_decl_name;
2743 #endif
2744 #endif
2747 return 0;
2749 _ACEOF
2750 if ac_fn_c_try_compile "$LINENO"; then :
2751 eval "$3=yes"
2752 else
2753 eval "$3=no"
2755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2762 } # ac_fn_c_check_decl
2763 cat >config.log <<_ACEOF
2764 This file contains any messages produced by compilers while
2765 running configure, to aid debugging if configure makes a mistake.
2767 It was created by package-unused $as_me version-unused, which was
2768 generated by GNU Autoconf 2.69. Invocation command line was
2770 $ $0 $@
2772 _ACEOF
2773 exec 5>>config.log
2775 cat <<_ASUNAME
2776 ## --------- ##
2777 ## Platform. ##
2778 ## --------- ##
2780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2797 _ASUNAME
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2802 IFS=$as_save_IFS
2803 test -z "$as_dir" && as_dir=.
2804 $as_echo "PATH: $as_dir"
2805 done
2806 IFS=$as_save_IFS
2808 } >&5
2810 cat >&5 <<_ACEOF
2813 ## ----------- ##
2814 ## Core tests. ##
2815 ## ----------- ##
2817 _ACEOF
2820 # Keep a trace of the command line.
2821 # Strip out --no-create and --no-recursion so they do not pile up.
2822 # Strip out --silent because we don't want to record it for future runs.
2823 # Also quote any args containing shell meta-characters.
2824 # Make two passes to allow for proper duplicate-argument suppression.
2825 ac_configure_args=
2826 ac_configure_args0=
2827 ac_configure_args1=
2828 ac_must_keep_next=false
2829 for ac_pass in 1 2
2831 for ac_arg
2833 case $ac_arg in
2834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2836 | -silent | --silent | --silen | --sile | --sil)
2837 continue ;;
2838 *\'*)
2839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2840 esac
2841 case $ac_pass in
2842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2844 as_fn_append ac_configure_args1 " '$ac_arg'"
2845 if test $ac_must_keep_next = true; then
2846 ac_must_keep_next=false # Got value, back to normal.
2847 else
2848 case $ac_arg in
2849 *=* | --config-cache | -C | -disable-* | --disable-* \
2850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2852 | -with-* | --with-* | -without-* | --without-* | --x)
2853 case "$ac_configure_args0 " in
2854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2855 esac
2857 -* ) ac_must_keep_next=true ;;
2858 esac
2860 as_fn_append ac_configure_args " '$ac_arg'"
2862 esac
2863 done
2864 done
2865 { ac_configure_args0=; unset ac_configure_args0;}
2866 { ac_configure_args1=; unset ac_configure_args1;}
2868 # When interrupted or exit'd, cleanup temporary files, and complete
2869 # config.log. We remove comments because anyway the quotes in there
2870 # would cause problems or look ugly.
2871 # WARNING: Use '\'' to represent an apostrophe within the trap.
2872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2873 trap 'exit_status=$?
2874 # Save into config.log some information that might help in debugging.
2876 echo
2878 $as_echo "## ---------------- ##
2879 ## Cache variables. ##
2880 ## ---------------- ##"
2881 echo
2882 # The following way of writing the cache mishandles newlines in values,
2884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2885 eval ac_val=\$$ac_var
2886 case $ac_val in #(
2887 *${as_nl}*)
2888 case $ac_var in #(
2889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2891 esac
2892 case $ac_var in #(
2893 _ | IFS | as_nl) ;; #(
2894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2895 *) { eval $ac_var=; unset $ac_var;} ;;
2896 esac ;;
2897 esac
2898 done
2899 (set) 2>&1 |
2900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2901 *${as_nl}ac_space=\ *)
2902 sed -n \
2903 "s/'\''/'\''\\\\'\'''\''/g;
2904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2905 ;; #(
2907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2909 esac |
2910 sort
2912 echo
2914 $as_echo "## ----------------- ##
2915 ## Output variables. ##
2916 ## ----------------- ##"
2917 echo
2918 for ac_var in $ac_subst_vars
2920 eval ac_val=\$$ac_var
2921 case $ac_val in
2922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2923 esac
2924 $as_echo "$ac_var='\''$ac_val'\''"
2925 done | sort
2926 echo
2928 if test -n "$ac_subst_files"; then
2929 $as_echo "## ------------------- ##
2930 ## File substitutions. ##
2931 ## ------------------- ##"
2932 echo
2933 for ac_var in $ac_subst_files
2935 eval ac_val=\$$ac_var
2936 case $ac_val in
2937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2938 esac
2939 $as_echo "$ac_var='\''$ac_val'\''"
2940 done | sort
2941 echo
2944 if test -s confdefs.h; then
2945 $as_echo "## ----------- ##
2946 ## confdefs.h. ##
2947 ## ----------- ##"
2948 echo
2949 cat confdefs.h
2950 echo
2952 test "$ac_signal" != 0 &&
2953 $as_echo "$as_me: caught signal $ac_signal"
2954 $as_echo "$as_me: exit $exit_status"
2955 } >&5
2956 rm -f core *.core core.conftest.* &&
2957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2958 exit $exit_status
2960 for ac_signal in 1 2 13 15; do
2961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2962 done
2963 ac_signal=0
2965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2966 rm -f -r conftest* confdefs.h
2968 $as_echo "/* confdefs.h */" > confdefs.h
2970 # Predefined preprocessor variables.
2972 cat >>confdefs.h <<_ACEOF
2973 #define PACKAGE_NAME "$PACKAGE_NAME"
2974 _ACEOF
2976 cat >>confdefs.h <<_ACEOF
2977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2978 _ACEOF
2980 cat >>confdefs.h <<_ACEOF
2981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2982 _ACEOF
2984 cat >>confdefs.h <<_ACEOF
2985 #define PACKAGE_STRING "$PACKAGE_STRING"
2986 _ACEOF
2988 cat >>confdefs.h <<_ACEOF
2989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2990 _ACEOF
2992 cat >>confdefs.h <<_ACEOF
2993 #define PACKAGE_URL "$PACKAGE_URL"
2994 _ACEOF
2997 # Let the site file select an alternate cache file if it wants to.
2998 # Prefer an explicitly selected file to automatically selected ones.
2999 ac_site_file1=NONE
3000 ac_site_file2=NONE
3001 if test -n "$CONFIG_SITE"; then
3002 # We do not want a PATH search for config.site.
3003 case $CONFIG_SITE in #((
3004 -*) ac_site_file1=./$CONFIG_SITE;;
3005 */*) ac_site_file1=$CONFIG_SITE;;
3006 *) ac_site_file1=./$CONFIG_SITE;;
3007 esac
3008 elif test "x$prefix" != xNONE; then
3009 ac_site_file1=$prefix/share/config.site
3010 ac_site_file2=$prefix/etc/config.site
3011 else
3012 ac_site_file1=$ac_default_prefix/share/config.site
3013 ac_site_file2=$ac_default_prefix/etc/config.site
3015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3017 test "x$ac_site_file" = xNONE && continue
3018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3021 sed 's/^/| /' "$ac_site_file" >&5
3022 . "$ac_site_file" \
3023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3025 as_fn_error $? "failed to load site script $ac_site_file
3026 See \`config.log' for more details" "$LINENO" 5; }
3028 done
3030 if test -r "$cache_file"; then
3031 # Some versions of bash will fail to source /dev/null (special files
3032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3035 $as_echo "$as_me: loading cache $cache_file" >&6;}
3036 case $cache_file in
3037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3038 *) . "./$cache_file";;
3039 esac
3041 else
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3043 $as_echo "$as_me: creating cache $cache_file" >&6;}
3044 >$cache_file
3047 # Check that the precious variables saved in the cache have kept the same
3048 # value.
3049 ac_cache_corrupted=false
3050 for ac_var in $ac_precious_vars; do
3051 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3052 eval ac_new_set=\$ac_env_${ac_var}_set
3053 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3054 eval ac_new_val=\$ac_env_${ac_var}_value
3055 case $ac_old_set,$ac_new_set in
3056 set,)
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3058 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3059 ac_cache_corrupted=: ;;
3060 ,set)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3062 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3063 ac_cache_corrupted=: ;;
3064 ,);;
3066 if test "x$ac_old_val" != "x$ac_new_val"; then
3067 # differences in whitespace do not lead to failure.
3068 ac_old_val_w=`echo x $ac_old_val`
3069 ac_new_val_w=`echo x $ac_new_val`
3070 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3072 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3073 ac_cache_corrupted=:
3074 else
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3076 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3077 eval $ac_var=\$ac_old_val
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3080 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3082 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3083 fi;;
3084 esac
3085 # Pass precious variables to config.status.
3086 if test "$ac_new_set" = set; then
3087 case $ac_new_val in
3088 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3089 *) ac_arg=$ac_var=$ac_new_val ;;
3090 esac
3091 case " $ac_configure_args " in
3092 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3093 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3094 esac
3096 done
3097 if $ac_cache_corrupted; then
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3101 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3102 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3104 ## -------------------- ##
3105 ## Main body of script. ##
3106 ## -------------------- ##
3108 ac_ext=c
3109 ac_cpp='$CPP $CPPFLAGS'
3110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3119 ac_config_headers="$ac_config_headers config.h"
3122 # This works around the fact that libtool configuration may change LD
3123 # for this particular configuration, but some shells, instead of
3124 # keeping the changes in LD private, export them just because LD is
3125 # exported. Only used at the end of this file.
3126 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3128 # Find the rest of the source tree framework.
3129 # Default to --enable-multilib
3130 # Check whether --enable-multilib was given.
3131 if test "${enable_multilib+set}" = set; then :
3132 enableval=$enable_multilib; case "$enableval" in
3133 yes) multilib=yes ;;
3134 no) multilib=no ;;
3135 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3136 esac
3137 else
3138 multilib=yes
3142 # We may get other options which we leave undocumented:
3143 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3144 # See config-ml.in if you want the gory details.
3146 if test "$srcdir" = "."; then
3147 if test "$with_target_subdir" != "."; then
3148 multi_basedir="$srcdir/$with_multisrctop../.."
3149 else
3150 multi_basedir="$srcdir/$with_multisrctop.."
3152 else
3153 multi_basedir="$srcdir/.."
3157 # Even if the default multilib is not a cross compilation,
3158 # it may be that some of the other multilibs are.
3159 if test $cross_compiling = no && test $multilib = yes \
3160 && test "x${with_multisubdir}" != x ; then
3161 cross_compiling=maybe
3164 ac_config_commands="$ac_config_commands default-1"
3167 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3169 # You will slowly go insane if you do not grok the following fact: when
3170 # building v3 as part of the compiler, the top-level /target/ becomes the
3171 # library's /host/. configure then causes --target to default to --host,
3172 # exactly like any other package using autoconf. Therefore, 'target' and
3173 # 'host' will always be the same. This makes sense both for native and
3174 # cross compilers, just think about it for a little while. :-)
3176 # Also, if v3 is being configured as part of a cross compiler, the top-level
3177 # configure script will pass the "real" host as $with_cross_host.
3179 # Do not delete or change the following two lines. For why, see
3180 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3181 ac_aux_dir=
3182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3183 if test -f "$ac_dir/install-sh"; then
3184 ac_aux_dir=$ac_dir
3185 ac_install_sh="$ac_aux_dir/install-sh -c"
3186 break
3187 elif test -f "$ac_dir/install.sh"; then
3188 ac_aux_dir=$ac_dir
3189 ac_install_sh="$ac_aux_dir/install.sh -c"
3190 break
3191 elif test -f "$ac_dir/shtool"; then
3192 ac_aux_dir=$ac_dir
3193 ac_install_sh="$ac_aux_dir/shtool install -c"
3194 break
3196 done
3197 if test -z "$ac_aux_dir"; then
3198 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3201 # These three variables are undocumented and unsupported,
3202 # and are intended to be withdrawn in a future Autoconf release.
3203 # They can cause serious problems if a builder's source tree is in a directory
3204 # whose full name contains unusual characters.
3205 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3206 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3207 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3210 # Make sure we can run config.sub.
3211 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3212 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3215 $as_echo_n "checking build system type... " >&6; }
3216 if ${ac_cv_build+:} false; then :
3217 $as_echo_n "(cached) " >&6
3218 else
3219 ac_build_alias=$build_alias
3220 test "x$ac_build_alias" = x &&
3221 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3222 test "x$ac_build_alias" = x &&
3223 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3224 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3225 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3229 $as_echo "$ac_cv_build" >&6; }
3230 case $ac_cv_build in
3231 *-*-*) ;;
3232 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3233 esac
3234 build=$ac_cv_build
3235 ac_save_IFS=$IFS; IFS='-'
3236 set x $ac_cv_build
3237 shift
3238 build_cpu=$1
3239 build_vendor=$2
3240 shift; shift
3241 # Remember, the first character of IFS is used to create $*,
3242 # except with old shells:
3243 build_os=$*
3244 IFS=$ac_save_IFS
3245 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3249 $as_echo_n "checking host system type... " >&6; }
3250 if ${ac_cv_host+:} false; then :
3251 $as_echo_n "(cached) " >&6
3252 else
3253 if test "x$host_alias" = x; then
3254 ac_cv_host=$ac_cv_build
3255 else
3256 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3257 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3262 $as_echo "$ac_cv_host" >&6; }
3263 case $ac_cv_host in
3264 *-*-*) ;;
3265 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3266 esac
3267 host=$ac_cv_host
3268 ac_save_IFS=$IFS; IFS='-'
3269 set x $ac_cv_host
3270 shift
3271 host_cpu=$1
3272 host_vendor=$2
3273 shift; shift
3274 # Remember, the first character of IFS is used to create $*,
3275 # except with old shells:
3276 host_os=$*
3277 IFS=$ac_save_IFS
3278 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3282 $as_echo_n "checking target system type... " >&6; }
3283 if ${ac_cv_target+:} false; then :
3284 $as_echo_n "(cached) " >&6
3285 else
3286 if test "x$target_alias" = x; then
3287 ac_cv_target=$ac_cv_host
3288 else
3289 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3290 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3295 $as_echo "$ac_cv_target" >&6; }
3296 case $ac_cv_target in
3297 *-*-*) ;;
3298 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3299 esac
3300 target=$ac_cv_target
3301 ac_save_IFS=$IFS; IFS='-'
3302 set x $ac_cv_target
3303 shift
3304 target_cpu=$1
3305 target_vendor=$2
3306 shift; shift
3307 # Remember, the first character of IFS is used to create $*,
3308 # except with old shells:
3309 target_os=$*
3310 IFS=$ac_save_IFS
3311 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3314 # The aliases save the names the user supplied, while $host etc.
3315 # will get canonicalized.
3316 test -n "$target_alias" &&
3317 test "$program_prefix$program_suffix$program_transform_name" = \
3318 NONENONEs,x,x, &&
3319 program_prefix=${target_alias}-
3321 target_alias=${target_alias-$host_alias}
3323 # Handy for debugging:
3324 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3326 if test "$build" != "$host"; then
3327 # We are being configured with some form of cross compiler.
3328 GLIBCXX_IS_NATIVE=false
3329 case "$host","$target" in
3330 # Darwin crosses can use the host system's libraries and headers,
3331 # because of the fat library support. Of course, it must be the
3332 # same version of Darwin on both sides. Allow the user to
3333 # just say --target=foo-darwin without a version number to mean
3334 # "the version on this system".
3335 *-*-darwin*,*-*-darwin*)
3336 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3337 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3338 if test $hostos = $targetos -o $targetos = darwin ; then
3339 GLIBCXX_IS_NATIVE=true
3346 esac
3347 else
3348 GLIBCXX_IS_NATIVE=true
3351 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3352 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3353 # 1.x: minimum required version
3354 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3355 # of other PACKAGE_* variables will, however, and there's nothing
3356 # we can do about that; they come from AC_INIT).
3357 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3358 # file in the top srcdir, etc, etc), so stop complaining.
3359 # no-dependencies: turns off auto dependency generation (just for now)
3360 # no-dist: we don't want 'dist' and related rules.
3361 # -Wall: turns on all automake warnings...
3362 # -Wno-portability: ...except this one, since GNU make is now required.
3363 am__api_version='1.15'
3365 # Find a good install program. We prefer a C program (faster),
3366 # so one script is as good as another. But avoid the broken or
3367 # incompatible versions:
3368 # SysV /etc/install, /usr/sbin/install
3369 # SunOS /usr/etc/install
3370 # IRIX /sbin/install
3371 # AIX /bin/install
3372 # AmigaOS /C/install, which installs bootblocks on floppy discs
3373 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3374 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3375 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3376 # OS/2's system install, which has a completely different semantic
3377 # ./install, which can be erroneously created by make from ./install.sh.
3378 # Reject install programs that cannot install multiple files.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3380 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3381 if test -z "$INSTALL"; then
3382 if ${ac_cv_path_install+:} false; then :
3383 $as_echo_n "(cached) " >&6
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3388 IFS=$as_save_IFS
3389 test -z "$as_dir" && as_dir=.
3390 # Account for people who put trailing slashes in PATH elements.
3391 case $as_dir/ in #((
3392 ./ | .// | /[cC]/* | \
3393 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3394 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3395 /usr/ucb/* ) ;;
3397 # OSF1 and SCO ODT 3.0 have their own names for install.
3398 # Don't use installbsd from OSF since it installs stuff as root
3399 # by default.
3400 for ac_prog in ginstall scoinst install; do
3401 for ac_exec_ext in '' $ac_executable_extensions; do
3402 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3403 if test $ac_prog = install &&
3404 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3405 # AIX install. It has an incompatible calling convention.
3407 elif test $ac_prog = install &&
3408 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3409 # program-specific install script used by HP pwplus--don't use.
3411 else
3412 rm -rf conftest.one conftest.two conftest.dir
3413 echo one > conftest.one
3414 echo two > conftest.two
3415 mkdir conftest.dir
3416 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3417 test -s conftest.one && test -s conftest.two &&
3418 test -s conftest.dir/conftest.one &&
3419 test -s conftest.dir/conftest.two
3420 then
3421 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3422 break 3
3426 done
3427 done
3429 esac
3431 done
3432 IFS=$as_save_IFS
3434 rm -rf conftest.one conftest.two conftest.dir
3437 if test "${ac_cv_path_install+set}" = set; then
3438 INSTALL=$ac_cv_path_install
3439 else
3440 # As a last resort, use the slow shell script. Don't cache a
3441 # value for INSTALL within a source directory, because that will
3442 # break other packages using the cache if that directory is
3443 # removed, or if the value is a relative name.
3444 INSTALL=$ac_install_sh
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3448 $as_echo "$INSTALL" >&6; }
3450 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3451 # It thinks the first close brace ends the variable substitution.
3452 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3454 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3456 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3459 $as_echo_n "checking whether build environment is sane... " >&6; }
3460 # Reject unsafe characters in $srcdir or the absolute working directory
3461 # name. Accept space and tab only in the latter.
3462 am_lf='
3464 case `pwd` in
3465 *[\\\"\#\$\&\'\`$am_lf]*)
3466 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3467 esac
3468 case $srcdir in
3469 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3470 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3471 esac
3473 # Do 'set' in a subshell so we don't clobber the current shell's
3474 # arguments. Must try -L first in case configure is actually a
3475 # symlink; some systems play weird games with the mod time of symlinks
3476 # (eg FreeBSD returns the mod time of the symlink's containing
3477 # directory).
3478 if (
3479 am_has_slept=no
3480 for am_try in 1 2; do
3481 echo "timestamp, slept: $am_has_slept" > conftest.file
3482 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3483 if test "$*" = "X"; then
3484 # -L didn't work.
3485 set X `ls -t "$srcdir/configure" conftest.file`
3487 if test "$*" != "X $srcdir/configure conftest.file" \
3488 && test "$*" != "X conftest.file $srcdir/configure"; then
3490 # If neither matched, then we have a broken ls. This can happen
3491 # if, for instance, CONFIG_SHELL is bash and it inherits a
3492 # broken ls alias from the environment. This has actually
3493 # happened. Such a system could not be considered "sane".
3494 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3495 alias in your environment" "$LINENO" 5
3497 if test "$2" = conftest.file || test $am_try -eq 2; then
3498 break
3500 # Just in case.
3501 sleep 1
3502 am_has_slept=yes
3503 done
3504 test "$2" = conftest.file
3506 then
3507 # Ok.
3509 else
3510 as_fn_error $? "newly created file is older than distributed files!
3511 Check your system clock" "$LINENO" 5
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3515 # If we didn't sleep, we still need to ensure time stamps of config.status and
3516 # generated files are strictly newer.
3517 am_sleep_pid=
3518 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3519 ( sleep 1 ) &
3520 am_sleep_pid=$!
3523 rm -f conftest.file
3525 test "$program_prefix" != NONE &&
3526 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3527 # Use a double $ so make ignores it.
3528 test "$program_suffix" != NONE &&
3529 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3530 # Double any \ or $.
3531 # By default was `s,x,x', remove it if useless.
3532 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3533 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3535 # Expand $ac_aux_dir to an absolute path.
3536 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3538 if test x"${MISSING+set}" != xset; then
3539 case $am_aux_dir in
3540 *\ * | *\ *)
3541 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3543 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3544 esac
3546 # Use eval to expand $SHELL
3547 if eval "$MISSING --is-lightweight"; then
3548 am_missing_run="$MISSING "
3549 else
3550 am_missing_run=
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3552 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3555 if test x"${install_sh+set}" != xset; then
3556 case $am_aux_dir in
3557 *\ * | *\ *)
3558 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3560 install_sh="\${SHELL} $am_aux_dir/install-sh"
3561 esac
3564 # Installed binaries are usually stripped using 'strip' when the user
3565 # run "make install-strip". However 'strip' might not be the right
3566 # tool to use in cross-compilation environments, therefore Automake
3567 # will honor the 'STRIP' environment variable to overrule this program.
3568 if test "$cross_compiling" != no; then
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3571 set dummy ${ac_tool_prefix}strip; ac_word=$2
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if ${ac_cv_prog_STRIP+:} false; then :
3575 $as_echo_n "(cached) " >&6
3576 else
3577 if test -n "$STRIP"; then
3578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3579 else
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3583 IFS=$as_save_IFS
3584 test -z "$as_dir" && as_dir=.
3585 for ac_exec_ext in '' $ac_executable_extensions; do
3586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589 break 2
3591 done
3592 done
3593 IFS=$as_save_IFS
3597 STRIP=$ac_cv_prog_STRIP
3598 if test -n "$STRIP"; then
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3600 $as_echo "$STRIP" >&6; }
3601 else
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_STRIP"; then
3609 ac_ct_STRIP=$STRIP
3610 # Extract the first word of "strip", so it can be a program name with args.
3611 set dummy strip; ac_word=$2
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3615 $as_echo_n "(cached) " >&6
3616 else
3617 if test -n "$ac_ct_STRIP"; then
3618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3619 else
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3621 for as_dir in $PATH
3623 IFS=$as_save_IFS
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_STRIP="strip"
3628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 break 2
3631 done
3632 done
3633 IFS=$as_save_IFS
3637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3638 if test -n "$ac_ct_STRIP"; then
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3640 $as_echo "$ac_ct_STRIP" >&6; }
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_STRIP" = x; then
3647 STRIP=":"
3648 else
3649 case $cross_compiling:$ac_tool_warned in
3650 yes:)
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned=yes ;;
3654 esac
3655 STRIP=$ac_ct_STRIP
3657 else
3658 STRIP="$ac_cv_prog_STRIP"
3662 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3666 if test -z "$MKDIR_P"; then
3667 if ${ac_cv_path_mkdir+:} false; then :
3668 $as_echo_n "(cached) " >&6
3669 else
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3673 IFS=$as_save_IFS
3674 test -z "$as_dir" && as_dir=.
3675 for ac_prog in mkdir gmkdir; do
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3679 'mkdir (GNU coreutils) '* | \
3680 'mkdir (coreutils) '* | \
3681 'mkdir (fileutils) '4.1*)
3682 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3683 break 3;;
3684 esac
3685 done
3686 done
3687 done
3688 IFS=$as_save_IFS
3692 test -d ./--version && rmdir ./--version
3693 if test "${ac_cv_path_mkdir+set}" = set; then
3694 MKDIR_P="$ac_cv_path_mkdir -p"
3695 else
3696 # As a last resort, use the slow shell script. Don't cache a
3697 # value for MKDIR_P within a source directory, because that will
3698 # break other packages using the cache if that directory is
3699 # removed, or if the value is a relative name.
3700 MKDIR_P="$ac_install_sh -d"
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3704 $as_echo "$MKDIR_P" >&6; }
3706 for ac_prog in gawk mawk nawk awk
3708 # Extract the first word of "$ac_prog", so it can be a program name with args.
3709 set dummy $ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_AWK+:} false; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$AWK"; then
3716 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_AWK="$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 AWK=$ac_cv_prog_AWK
3736 if test -n "$AWK"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3738 $as_echo "$AWK" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$AWK" && break
3746 done
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3749 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3750 set x ${MAKE-make}
3751 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3752 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3753 $as_echo_n "(cached) " >&6
3754 else
3755 cat >conftest.make <<\_ACEOF
3756 SHELL = /bin/sh
3757 all:
3758 @echo '@@@%%%=$(MAKE)=@@@%%%'
3759 _ACEOF
3760 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3761 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3762 *@@@%%%=?*=@@@%%%*)
3763 eval ac_cv_prog_make_${ac_make}_set=yes;;
3765 eval ac_cv_prog_make_${ac_make}_set=no;;
3766 esac
3767 rm -f conftest.make
3769 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3771 $as_echo "yes" >&6; }
3772 SET_MAKE=
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 SET_MAKE="MAKE=${MAKE-make}"
3779 rm -rf .tst 2>/dev/null
3780 mkdir .tst 2>/dev/null
3781 if test -d .tst; then
3782 am__leading_dot=.
3783 else
3784 am__leading_dot=_
3786 rmdir .tst 2>/dev/null
3788 # Check whether --enable-silent-rules was given.
3789 if test "${enable_silent_rules+set}" = set; then :
3790 enableval=$enable_silent_rules;
3793 case $enable_silent_rules in # (((
3794 yes) AM_DEFAULT_VERBOSITY=0;;
3795 no) AM_DEFAULT_VERBOSITY=1;;
3796 *) AM_DEFAULT_VERBOSITY=1;;
3797 esac
3798 am_make=${MAKE-make}
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3800 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3801 if ${am_cv_make_support_nested_variables+:} false; then :
3802 $as_echo_n "(cached) " >&6
3803 else
3804 if $as_echo 'TRUE=$(BAR$(V))
3805 BAR0=false
3806 BAR1=true
3808 am__doit:
3809 @$(TRUE)
3810 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3811 am_cv_make_support_nested_variables=yes
3812 else
3813 am_cv_make_support_nested_variables=no
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3817 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3818 if test $am_cv_make_support_nested_variables = yes; then
3819 AM_V='$(V)'
3820 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3821 else
3822 AM_V=$AM_DEFAULT_VERBOSITY
3823 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3825 AM_BACKSLASH='\'
3827 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3828 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3829 # is not polluted with repeated "-I."
3830 am__isrc=' -I$(srcdir)'
3831 # test to see if srcdir already configured
3832 if test -f $srcdir/config.status; then
3833 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3837 # test whether we have cygpath
3838 if test -z "$CYGPATH_W"; then
3839 if (cygpath --version) >/dev/null 2>/dev/null; then
3840 CYGPATH_W='cygpath -w'
3841 else
3842 CYGPATH_W=echo
3847 # Define the identity of the package.
3848 PACKAGE='libstdc++'
3849 VERSION='version-unused'
3852 # Some tools Automake needs.
3854 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3857 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3860 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3863 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3866 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3868 # For better backward compatibility. To be removed once Automake 1.9.x
3869 # dies out for good. For more background, see:
3870 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3871 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3872 mkdir_p='$(MKDIR_P)'
3874 # We need awk for the "check" target (and possibly the TAP driver). The
3875 # system "awk" is bad on some platforms.
3876 # Always define AMTAR for backward compatibility. Yes, it's still used
3877 # in the wild :-( We should find a proper way to deprecate it ...
3878 AMTAR='$${TAR-tar}'
3881 # We'll loop over all known methods to create a tar archive until one works.
3882 _am_tools='gnutar pax cpio none'
3884 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3891 # POSIX will say in a future version that running "rm -f" with no argument
3892 # is OK; and we want to be able to make that assumption in our Makefile
3893 # recipes. So use an aggressive probe to check that the usage we want is
3894 # actually supported "in the wild" to an acceptable degree.
3895 # See automake bug#10828.
3896 # To make any issue more visible, cause the running configure to be aborted
3897 # by default if the 'rm' program in use doesn't match our expectations; the
3898 # user can still override this though.
3899 if rm -f && rm -fr && rm -rf; then : OK; else
3900 cat >&2 <<'END'
3901 Oops!
3903 Your 'rm' program seems unable to run without file operands specified
3904 on the command line, even when the '-f' option is present. This is contrary
3905 to the behaviour of most rm programs out there, and not conforming with
3906 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3908 Please tell bug-automake@gnu.org about your system, including the value
3909 of your $PATH and any error possibly output before this message. This
3910 can help us improve future automake versions.
3913 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3914 echo 'Configuration will proceed anyway, since you have set the' >&2
3915 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3916 echo >&2
3917 else
3918 cat >&2 <<'END'
3919 Aborting the configuration process, to ensure you take notice of the issue.
3921 You can download and install GNU coreutils to get an 'rm' implementation
3922 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3924 If you want to complete the configuration process using your problematic
3925 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3926 to "yes", and re-run configure.
3929 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3936 # -fno-builtin must be present here so that a non-conflicting form of
3937 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3939 save_CXXFLAGS="$CXXFLAGS"
3940 CXXFLAGS="$CXXFLAGS -fno-builtin"
3941 ac_ext=c
3942 ac_cpp='$CPP $CPPFLAGS'
3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3946 if test -n "$ac_tool_prefix"; then
3947 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3948 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_prog_CC+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test -n "$CC"; then
3955 ac_cv_prog_CC="$CC" # Let the user override the test.
3956 else
3957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3958 for as_dir in $PATH
3960 IFS=$as_save_IFS
3961 test -z "$as_dir" && as_dir=.
3962 for ac_exec_ext in '' $ac_executable_extensions; do
3963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3964 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 break 2
3968 done
3969 done
3970 IFS=$as_save_IFS
3974 CC=$ac_cv_prog_CC
3975 if test -n "$CC"; then
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3977 $as_echo "$CC" >&6; }
3978 else
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3980 $as_echo "no" >&6; }
3985 if test -z "$ac_cv_prog_CC"; then
3986 ac_ct_CC=$CC
3987 # Extract the first word of "gcc", so it can be a program name with args.
3988 set dummy gcc; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3992 $as_echo_n "(cached) " >&6
3993 else
3994 if test -n "$ac_ct_CC"; then
3995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3996 else
3997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998 for as_dir in $PATH
4000 IFS=$as_save_IFS
4001 test -z "$as_dir" && as_dir=.
4002 for ac_exec_ext in '' $ac_executable_extensions; do
4003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_ac_ct_CC="gcc"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 break 2
4008 done
4009 done
4010 IFS=$as_save_IFS
4014 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4015 if test -n "$ac_ct_CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4017 $as_echo "$ac_ct_CC" >&6; }
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4023 if test "x$ac_ct_CC" = x; then
4024 CC=""
4025 else
4026 case $cross_compiling:$ac_tool_warned in
4027 yes:)
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4030 ac_tool_warned=yes ;;
4031 esac
4032 CC=$ac_ct_CC
4034 else
4035 CC="$ac_cv_prog_CC"
4038 if test -z "$CC"; then
4039 if test -n "$ac_tool_prefix"; then
4040 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4041 set dummy ${ac_tool_prefix}cc; ac_word=$2
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4043 $as_echo_n "checking for $ac_word... " >&6; }
4044 if ${ac_cv_prog_CC+:} false; then :
4045 $as_echo_n "(cached) " >&6
4046 else
4047 if test -n "$CC"; then
4048 ac_cv_prog_CC="$CC" # Let the user override the test.
4049 else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051 for as_dir in $PATH
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 for ac_exec_ext in '' $ac_executable_extensions; do
4056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4057 ac_cv_prog_CC="${ac_tool_prefix}cc"
4058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 break 2
4061 done
4062 done
4063 IFS=$as_save_IFS
4067 CC=$ac_cv_prog_CC
4068 if test -n "$CC"; then
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4070 $as_echo "$CC" >&6; }
4071 else
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4073 $as_echo "no" >&6; }
4079 if test -z "$CC"; then
4080 # Extract the first word of "cc", so it can be a program name with args.
4081 set dummy cc; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 ac_prog_rejected=no
4091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4092 for as_dir in $PATH
4094 IFS=$as_save_IFS
4095 test -z "$as_dir" && as_dir=.
4096 for ac_exec_ext in '' $ac_executable_extensions; do
4097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4098 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4099 ac_prog_rejected=yes
4100 continue
4102 ac_cv_prog_CC="cc"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 break 2
4106 done
4107 done
4108 IFS=$as_save_IFS
4110 if test $ac_prog_rejected = yes; then
4111 # We found a bogon in the path, so make sure we never use it.
4112 set dummy $ac_cv_prog_CC
4113 shift
4114 if test $# != 0; then
4115 # We chose a different compiler from the bogus one.
4116 # However, it has the same basename, so the bogon will be chosen
4117 # first if we set CC to just the basename; use the full file name.
4118 shift
4119 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4124 CC=$ac_cv_prog_CC
4125 if test -n "$CC"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4127 $as_echo "$CC" >&6; }
4128 else
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4135 if test -z "$CC"; then
4136 if test -n "$ac_tool_prefix"; then
4137 for ac_prog in cl.exe
4139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if ${ac_cv_prog_CC+:} false; then :
4144 $as_echo_n "(cached) " >&6
4145 else
4146 if test -n "$CC"; then
4147 ac_cv_prog_CC="$CC" # Let the user override the test.
4148 else
4149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4150 for as_dir in $PATH
4152 IFS=$as_save_IFS
4153 test -z "$as_dir" && as_dir=.
4154 for ac_exec_ext in '' $ac_executable_extensions; do
4155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4156 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 break 2
4160 done
4161 done
4162 IFS=$as_save_IFS
4166 CC=$ac_cv_prog_CC
4167 if test -n "$CC"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4169 $as_echo "$CC" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4176 test -n "$CC" && break
4177 done
4179 if test -z "$CC"; then
4180 ac_ct_CC=$CC
4181 for ac_prog in cl.exe
4183 # Extract the first word of "$ac_prog", so it can be a program name with args.
4184 set dummy $ac_prog; ac_word=$2
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4186 $as_echo_n "checking for $ac_word... " >&6; }
4187 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4188 $as_echo_n "(cached) " >&6
4189 else
4190 if test -n "$ac_ct_CC"; then
4191 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4192 else
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4194 for as_dir in $PATH
4196 IFS=$as_save_IFS
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_CC="$ac_prog"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4202 break 2
4204 done
4205 done
4206 IFS=$as_save_IFS
4210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4211 if test -n "$ac_ct_CC"; then
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4213 $as_echo "$ac_ct_CC" >&6; }
4214 else
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4216 $as_echo "no" >&6; }
4220 test -n "$ac_ct_CC" && break
4221 done
4223 if test "x$ac_ct_CC" = x; then
4224 CC=""
4225 else
4226 case $cross_compiling:$ac_tool_warned in
4227 yes:)
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4230 ac_tool_warned=yes ;;
4231 esac
4232 CC=$ac_ct_CC
4239 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4240 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4241 as_fn_error $? "no acceptable C compiler found in \$PATH
4242 See \`config.log' for more details" "$LINENO" 5; }
4244 # Provide some information about the compiler.
4245 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4246 set X $ac_compile
4247 ac_compiler=$2
4248 for ac_option in --version -v -V -qversion; do
4249 { { ac_try="$ac_compiler $ac_option >&5"
4250 case "(($ac_try" in
4251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4252 *) ac_try_echo=$ac_try;;
4253 esac
4254 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4257 ac_status=$?
4258 if test -s conftest.err; then
4259 sed '10a\
4260 ... rest of stderr output deleted ...
4261 10q' conftest.err >conftest.er1
4262 cat conftest.er1 >&5
4264 rm -f conftest.er1 conftest.err
4265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4266 test $ac_status = 0; }
4267 done
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271 #include <stdio.h>
4273 main ()
4275 printf ("hello world\n");
4277 return 0;
4279 _ACEOF
4280 # FIXME: Cleanup?
4281 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4282 (eval $ac_link) 2>&5
4283 ac_status=$?
4284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4285 test $ac_status = 0; }; then :
4286 gcc_no_link=no
4287 else
4288 gcc_no_link=yes
4290 if test x$gcc_no_link = xyes; then
4291 # Setting cross_compile will disable run tests; it will
4292 # also disable AC_CHECK_FILE but that's generally
4293 # correct if we can't link.
4294 cross_compiling=yes
4295 EXEEXT=
4296 else
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 main ()
4305 return 0;
4307 _ACEOF
4308 ac_clean_files_save=$ac_clean_files
4309 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4310 # Try to create an executable without -o first, disregard a.out.
4311 # It will help us diagnose broken compilers, and finding out an intuition
4312 # of exeext.
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4314 $as_echo_n "checking whether the C compiler works... " >&6; }
4315 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4317 # The possible output files:
4318 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4320 ac_rmfiles=
4321 for ac_file in $ac_files
4323 case $ac_file in
4324 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4325 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4326 esac
4327 done
4328 rm -f $ac_rmfiles
4330 if { { ac_try="$ac_link_default"
4331 case "(($ac_try" in
4332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4333 *) ac_try_echo=$ac_try;;
4334 esac
4335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4336 $as_echo "$ac_try_echo"; } >&5
4337 (eval "$ac_link_default") 2>&5
4338 ac_status=$?
4339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4340 test $ac_status = 0; }; then :
4341 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4342 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4343 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4344 # so that the user can short-circuit this test for compilers unknown to
4345 # Autoconf.
4346 for ac_file in $ac_files ''
4348 test -f "$ac_file" || continue
4349 case $ac_file in
4350 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4352 [ab].out )
4353 # We found the default executable, but exeext='' is most
4354 # certainly right.
4355 break;;
4356 *.* )
4357 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4358 then :; else
4359 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 # We set ac_cv_exeext here because the later test for it is not
4362 # safe: cross compilers may not add the suffix if given an `-o'
4363 # argument, so we may need to know it at that point already.
4364 # Even if this section looks crufty: it has the advantage of
4365 # actually working.
4366 break;;
4368 break;;
4369 esac
4370 done
4371 test "$ac_cv_exeext" = no && ac_cv_exeext=
4373 else
4374 ac_file=''
4376 if test -z "$ac_file"; then :
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4379 $as_echo "$as_me: failed program was:" >&5
4380 sed 's/^/| /' conftest.$ac_ext >&5
4382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4384 as_fn_error 77 "C compiler cannot create executables
4385 See \`config.log' for more details" "$LINENO" 5; }
4386 else
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4391 $as_echo_n "checking for C compiler default output file name... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4393 $as_echo "$ac_file" >&6; }
4394 ac_exeext=$ac_cv_exeext
4396 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4397 ac_clean_files=$ac_clean_files_save
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4399 $as_echo_n "checking for suffix of executables... " >&6; }
4400 if { { ac_try="$ac_link"
4401 case "(($ac_try" in
4402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4403 *) ac_try_echo=$ac_try;;
4404 esac
4405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4406 $as_echo "$ac_try_echo"; } >&5
4407 (eval "$ac_link") 2>&5
4408 ac_status=$?
4409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4410 test $ac_status = 0; }; then :
4411 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4412 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4413 # work properly (i.e., refer to `conftest.exe'), while it won't with
4414 # `rm'.
4415 for ac_file in conftest.exe conftest conftest.*; do
4416 test -f "$ac_file" || continue
4417 case $ac_file in
4418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4419 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 break;;
4421 * ) break;;
4422 esac
4423 done
4424 else
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4428 See \`config.log' for more details" "$LINENO" 5; }
4430 rm -f conftest conftest$ac_cv_exeext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4432 $as_echo "$ac_cv_exeext" >&6; }
4434 rm -f conftest.$ac_ext
4435 EXEEXT=$ac_cv_exeext
4436 ac_exeext=$EXEEXT
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdio.h>
4441 main ()
4443 FILE *f = fopen ("conftest.out", "w");
4444 return ferror (f) || fclose (f) != 0;
4447 return 0;
4449 _ACEOF
4450 ac_clean_files="$ac_clean_files conftest.out"
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4454 $as_echo_n "checking whether we are cross compiling... " >&6; }
4455 if test "$cross_compiling" != yes; then
4456 { { ac_try="$ac_link"
4457 case "(($ac_try" in
4458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4459 *) ac_try_echo=$ac_try;;
4460 esac
4461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4462 $as_echo "$ac_try_echo"; } >&5
4463 (eval "$ac_link") 2>&5
4464 ac_status=$?
4465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4466 test $ac_status = 0; }
4467 if { ac_try='./conftest$ac_cv_exeext'
4468 { { case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_try") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; }; then
4478 cross_compiling=no
4479 else
4480 if test "$cross_compiling" = maybe; then
4481 cross_compiling=yes
4482 else
4483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4485 as_fn_error $? "cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details" "$LINENO" 5; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4492 $as_echo "$cross_compiling" >&6; }
4494 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4495 ac_clean_files=$ac_clean_files_save
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4498 $as_echo_n "checking for suffix of object files... " >&6; }
4499 if ${ac_cv_objext+:} false; then :
4500 $as_echo_n "(cached) " >&6
4501 else
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4503 /* end confdefs.h. */
4506 main ()
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.o conftest.obj
4514 if { { ac_try="$ac_compile"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4520 $as_echo "$ac_try_echo"; } >&5
4521 (eval "$ac_compile") 2>&5
4522 ac_status=$?
4523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4524 test $ac_status = 0; }; then :
4525 for ac_file in conftest.o conftest.obj conftest.*; do
4526 test -f "$ac_file" || continue;
4527 case $ac_file in
4528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4530 break;;
4531 esac
4532 done
4533 else
4534 $as_echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.$ac_ext >&5
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot compute suffix of object files: cannot compile
4540 See \`config.log' for more details" "$LINENO" 5; }
4542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4545 $as_echo "$ac_cv_objext" >&6; }
4546 OBJEXT=$ac_cv_objext
4547 ac_objext=$OBJEXT
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4549 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4550 if ${ac_cv_c_compiler_gnu+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 main ()
4559 #ifndef __GNUC__
4560 choke me
4561 #endif
4564 return 0;
4566 _ACEOF
4567 if ac_fn_c_try_compile "$LINENO"; then :
4568 ac_compiler_gnu=yes
4569 else
4570 ac_compiler_gnu=no
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4577 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4578 if test $ac_compiler_gnu = yes; then
4579 GCC=yes
4580 else
4581 GCC=
4583 ac_test_CFLAGS=${CFLAGS+set}
4584 ac_save_CFLAGS=$CFLAGS
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4586 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4587 if ${ac_cv_prog_cc_g+:} false; then :
4588 $as_echo_n "(cached) " >&6
4589 else
4590 ac_save_c_werror_flag=$ac_c_werror_flag
4591 ac_c_werror_flag=yes
4592 ac_cv_prog_cc_g=no
4593 CFLAGS="-g"
4594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4595 /* end confdefs.h. */
4598 main ()
4602 return 0;
4604 _ACEOF
4605 if ac_fn_c_try_compile "$LINENO"; then :
4606 ac_cv_prog_cc_g=yes
4607 else
4608 CFLAGS=""
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4622 else
4623 ac_c_werror_flag=$ac_save_c_werror_flag
4624 CFLAGS="-g"
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4629 main ()
4633 return 0;
4635 _ACEOF
4636 if ac_fn_c_try_compile "$LINENO"; then :
4637 ac_cv_prog_cc_g=yes
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4644 ac_c_werror_flag=$ac_save_c_werror_flag
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4647 $as_echo "$ac_cv_prog_cc_g" >&6; }
4648 if test "$ac_test_CFLAGS" = set; then
4649 CFLAGS=$ac_save_CFLAGS
4650 elif test $ac_cv_prog_cc_g = yes; then
4651 if test "$GCC" = yes; then
4652 CFLAGS="-g -O2"
4653 else
4654 CFLAGS="-g"
4656 else
4657 if test "$GCC" = yes; then
4658 CFLAGS="-O2"
4659 else
4660 CFLAGS=
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4664 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4665 if ${ac_cv_prog_cc_c89+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 ac_cv_prog_cc_c89=no
4669 ac_save_CC=$CC
4670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4671 /* end confdefs.h. */
4672 #include <stdarg.h>
4673 #include <stdio.h>
4674 struct stat;
4675 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4676 struct buf { int x; };
4677 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4678 static char *e (p, i)
4679 char **p;
4680 int i;
4682 return p[i];
4684 static char *f (char * (*g) (char **, int), char **p, ...)
4686 char *s;
4687 va_list v;
4688 va_start (v,p);
4689 s = g (p, va_arg (v,int));
4690 va_end (v);
4691 return s;
4694 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4695 function prototypes and stuff, but not '\xHH' hex character constants.
4696 These don't provoke an error unfortunately, instead are silently treated
4697 as 'x'. The following induces an error, until -std is added to get
4698 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4699 array size at least. It's necessary to write '\x00'==0 to get something
4700 that's true only with -std. */
4701 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4703 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4704 inside strings and character constants. */
4705 #define FOO(x) 'x'
4706 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4708 int test (int i, double x);
4709 struct s1 {int (*f) (int a);};
4710 struct s2 {int (*f) (double a);};
4711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4712 int argc;
4713 char **argv;
4715 main ()
4717 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4719 return 0;
4721 _ACEOF
4722 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4723 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4725 CC="$ac_save_CC $ac_arg"
4726 if ac_fn_c_try_compile "$LINENO"; then :
4727 ac_cv_prog_cc_c89=$ac_arg
4729 rm -f core conftest.err conftest.$ac_objext
4730 test "x$ac_cv_prog_cc_c89" != "xno" && break
4731 done
4732 rm -f conftest.$ac_ext
4733 CC=$ac_save_CC
4736 # AC_CACHE_VAL
4737 case "x$ac_cv_prog_cc_c89" in
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4740 $as_echo "none needed" >&6; } ;;
4741 xno)
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4743 $as_echo "unsupported" >&6; } ;;
4745 CC="$CC $ac_cv_prog_cc_c89"
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4747 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4748 esac
4749 if test "x$ac_cv_prog_cc_c89" != xno; then :
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 ac_ext=c
4760 ac_cpp='$CPP $CPPFLAGS'
4761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4765 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4766 if ${am_cv_prog_cc_c_o+:} false; then :
4767 $as_echo_n "(cached) " >&6
4768 else
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4773 main ()
4777 return 0;
4779 _ACEOF
4780 # Make sure it works both with $CC and with simple cc.
4781 # Following AC_PROG_CC_C_O, we do the test twice because some
4782 # compilers refuse to overwrite an existing .o file with -o,
4783 # though they will create one.
4784 am_cv_prog_cc_c_o=yes
4785 for am_i in 1 2; do
4786 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4787 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } \
4791 && test -f conftest2.$ac_objext; then
4792 : OK
4793 else
4794 am_cv_prog_cc_c_o=no
4795 break
4797 done
4798 rm -f core conftest*
4799 unset am_i
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4802 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4803 if test "$am_cv_prog_cc_c_o" != yes; then
4804 # Losing compiler, so override with the script.
4805 # FIXME: It is wrong to rewrite CC.
4806 # But if we don't then we get into trouble of one sort or another.
4807 # A longer-term fix would be to have automake use am__CC in this case,
4808 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4809 CC="$am_aux_dir/compile $CC"
4811 ac_ext=c
4812 ac_cpp='$CPP $CPPFLAGS'
4813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818 ac_ext=cpp
4819 ac_cpp='$CXXCPP $CPPFLAGS'
4820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4823 if test -z "$CXX"; then
4824 if test -n "$CCC"; then
4825 CXX=$CCC
4826 else
4827 if test -n "$ac_tool_prefix"; then
4828 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4830 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4831 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4833 $as_echo_n "checking for $ac_word... " >&6; }
4834 if ${ac_cv_prog_CXX+:} false; then :
4835 $as_echo_n "(cached) " >&6
4836 else
4837 if test -n "$CXX"; then
4838 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 test -z "$as_dir" && as_dir=.
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4849 break 2
4851 done
4852 done
4853 IFS=$as_save_IFS
4857 CXX=$ac_cv_prog_CXX
4858 if test -n "$CXX"; then
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4860 $as_echo "$CXX" >&6; }
4861 else
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4863 $as_echo "no" >&6; }
4867 test -n "$CXX" && break
4868 done
4870 if test -z "$CXX"; then
4871 ac_ct_CXX=$CXX
4872 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4874 # Extract the first word of "$ac_prog", so it can be a program name with args.
4875 set dummy $ac_prog; ac_word=$2
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4879 $as_echo_n "(cached) " >&6
4880 else
4881 if test -n "$ac_ct_CXX"; then
4882 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4883 else
4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 for as_dir in $PATH
4887 IFS=$as_save_IFS
4888 test -z "$as_dir" && as_dir=.
4889 for ac_exec_ext in '' $ac_executable_extensions; do
4890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_ac_ct_CXX="$ac_prog"
4892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 break 2
4895 done
4896 done
4897 IFS=$as_save_IFS
4901 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4902 if test -n "$ac_ct_CXX"; then
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4904 $as_echo "$ac_ct_CXX" >&6; }
4905 else
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4907 $as_echo "no" >&6; }
4911 test -n "$ac_ct_CXX" && break
4912 done
4914 if test "x$ac_ct_CXX" = x; then
4915 CXX="g++"
4916 else
4917 case $cross_compiling:$ac_tool_warned in
4918 yes:)
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4920 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4921 ac_tool_warned=yes ;;
4922 esac
4923 CXX=$ac_ct_CXX
4929 # Provide some information about the compiler.
4930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4931 set X $ac_compile
4932 ac_compiler=$2
4933 for ac_option in --version -v -V -qversion; do
4934 { { ac_try="$ac_compiler $ac_option >&5"
4935 case "(($ac_try" in
4936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4937 *) ac_try_echo=$ac_try;;
4938 esac
4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4940 $as_echo "$ac_try_echo"; } >&5
4941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4942 ac_status=$?
4943 if test -s conftest.err; then
4944 sed '10a\
4945 ... rest of stderr output deleted ...
4946 10q' conftest.err >conftest.er1
4947 cat conftest.er1 >&5
4949 rm -f conftest.er1 conftest.err
4950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4951 test $ac_status = 0; }
4952 done
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4955 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4956 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4957 $as_echo_n "(cached) " >&6
4958 else
4959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4960 /* end confdefs.h. */
4963 main ()
4965 #ifndef __GNUC__
4966 choke me
4967 #endif
4970 return 0;
4972 _ACEOF
4973 if ac_fn_cxx_try_compile "$LINENO"; then :
4974 ac_compiler_gnu=yes
4975 else
4976 ac_compiler_gnu=no
4978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4979 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4983 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4984 if test $ac_compiler_gnu = yes; then
4985 GXX=yes
4986 else
4987 GXX=
4989 ac_test_CXXFLAGS=${CXXFLAGS+set}
4990 ac_save_CXXFLAGS=$CXXFLAGS
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4992 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4993 if ${ac_cv_prog_cxx_g+:} false; then :
4994 $as_echo_n "(cached) " >&6
4995 else
4996 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4997 ac_cxx_werror_flag=yes
4998 ac_cv_prog_cxx_g=no
4999 CXXFLAGS="-g"
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5004 main ()
5008 return 0;
5010 _ACEOF
5011 if ac_fn_cxx_try_compile "$LINENO"; then :
5012 ac_cv_prog_cxx_g=yes
5013 else
5014 CXXFLAGS=""
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5019 main ()
5023 return 0;
5025 _ACEOF
5026 if ac_fn_cxx_try_compile "$LINENO"; then :
5028 else
5029 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 CXXFLAGS="-g"
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5039 return 0;
5041 _ACEOF
5042 if ac_fn_cxx_try_compile "$LINENO"; then :
5043 ac_cv_prog_cxx_g=yes
5045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5053 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5054 if test "$ac_test_CXXFLAGS" = set; then
5055 CXXFLAGS=$ac_save_CXXFLAGS
5056 elif test $ac_cv_prog_cxx_g = yes; then
5057 if test "$GXX" = yes; then
5058 CXXFLAGS="-g -O2"
5059 else
5060 CXXFLAGS="-g"
5062 else
5063 if test "$GXX" = yes; then
5064 CXXFLAGS="-O2"
5065 else
5066 CXXFLAGS=
5069 ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5075 CXXFLAGS="$save_CXXFLAGS"
5078 # Check whether --enable-largefile was given.
5079 if test "${enable_largefile+set}" = set; then :
5080 enableval=$enable_largefile;
5083 if test "$enable_largefile" != no; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5086 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5087 if ${ac_cv_sys_largefile_CC+:} false; then :
5088 $as_echo_n "(cached) " >&6
5089 else
5090 ac_cv_sys_largefile_CC=no
5091 if test "$GCC" != yes; then
5092 ac_save_CC=$CC
5093 while :; do
5094 # IRIX 6.2 and later do not support large files by default,
5095 # so use the C compiler's -n32 option if that helps.
5096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5097 /* end confdefs.h. */
5098 #include <sys/types.h>
5099 /* Check that off_t can represent 2**63 - 1 correctly.
5100 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5101 since some C++ compilers masquerading as C compilers
5102 incorrectly reject 9223372036854775807. */
5103 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5104 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5105 && LARGE_OFF_T % 2147483647 == 1)
5106 ? 1 : -1];
5108 main ()
5112 return 0;
5114 _ACEOF
5115 if ac_fn_c_try_compile "$LINENO"; then :
5116 break
5118 rm -f core conftest.err conftest.$ac_objext
5119 CC="$CC -n32"
5120 if ac_fn_c_try_compile "$LINENO"; then :
5121 ac_cv_sys_largefile_CC=' -n32'; break
5123 rm -f core conftest.err conftest.$ac_objext
5124 break
5125 done
5126 CC=$ac_save_CC
5127 rm -f conftest.$ac_ext
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5131 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5132 if test "$ac_cv_sys_largefile_CC" != no; then
5133 CC=$CC$ac_cv_sys_largefile_CC
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5137 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5138 if ${ac_cv_sys_file_offset_bits+:} false; then :
5139 $as_echo_n "(cached) " >&6
5140 else
5141 while :; do
5142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5143 /* end confdefs.h. */
5144 #include <sys/types.h>
5145 /* Check that off_t can represent 2**63 - 1 correctly.
5146 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5147 since some C++ compilers masquerading as C compilers
5148 incorrectly reject 9223372036854775807. */
5149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5150 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5151 && LARGE_OFF_T % 2147483647 == 1)
5152 ? 1 : -1];
5154 main ()
5158 return 0;
5160 _ACEOF
5161 if ac_fn_c_try_compile "$LINENO"; then :
5162 ac_cv_sys_file_offset_bits=no; break
5164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5166 /* end confdefs.h. */
5167 #define _FILE_OFFSET_BITS 64
5168 #include <sys/types.h>
5169 /* Check that off_t can represent 2**63 - 1 correctly.
5170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5171 since some C++ compilers masquerading as C compilers
5172 incorrectly reject 9223372036854775807. */
5173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5175 && LARGE_OFF_T % 2147483647 == 1)
5176 ? 1 : -1];
5178 main ()
5182 return 0;
5184 _ACEOF
5185 if ac_fn_c_try_compile "$LINENO"; then :
5186 ac_cv_sys_file_offset_bits=64; break
5188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5189 ac_cv_sys_file_offset_bits=unknown
5190 break
5191 done
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5194 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5195 case $ac_cv_sys_file_offset_bits in #(
5196 no | unknown) ;;
5198 cat >>confdefs.h <<_ACEOF
5199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5200 _ACEOF
5202 esac
5203 rm -rf conftest*
5204 if test $ac_cv_sys_file_offset_bits = unknown; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5206 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5207 if ${ac_cv_sys_large_files+:} false; then :
5208 $as_echo_n "(cached) " >&6
5209 else
5210 while :; do
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #include <sys/types.h>
5214 /* Check that off_t can represent 2**63 - 1 correctly.
5215 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5216 since some C++ compilers masquerading as C compilers
5217 incorrectly reject 9223372036854775807. */
5218 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5219 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5220 && LARGE_OFF_T % 2147483647 == 1)
5221 ? 1 : -1];
5223 main ()
5227 return 0;
5229 _ACEOF
5230 if ac_fn_c_try_compile "$LINENO"; then :
5231 ac_cv_sys_large_files=no; break
5233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5236 #define _LARGE_FILES 1
5237 #include <sys/types.h>
5238 /* Check that off_t can represent 2**63 - 1 correctly.
5239 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5240 since some C++ compilers masquerading as C compilers
5241 incorrectly reject 9223372036854775807. */
5242 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5243 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5244 && LARGE_OFF_T % 2147483647 == 1)
5245 ? 1 : -1];
5247 main ()
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_compile "$LINENO"; then :
5255 ac_cv_sys_large_files=1; break
5257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5258 ac_cv_sys_large_files=unknown
5259 break
5260 done
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5263 $as_echo "$ac_cv_sys_large_files" >&6; }
5264 case $ac_cv_sys_large_files in #(
5265 no | unknown) ;;
5267 cat >>confdefs.h <<_ACEOF
5268 #define _LARGE_FILES $ac_cv_sys_large_files
5269 _ACEOF
5271 esac
5272 rm -rf conftest*
5279 # Runs configure.host, and assorted other critical bits. Sets
5280 # up critical shell variables.
5281 ac_ext=c
5282 ac_cpp='$CPP $CPPFLAGS'
5283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5287 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5288 # On Suns, sometimes $CPP names a directory.
5289 if test -n "$CPP" && test -d "$CPP"; then
5290 CPP=
5292 if test -z "$CPP"; then
5293 if ${ac_cv_prog_CPP+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 # Double quotes because CPP needs to be expanded
5297 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5319 else
5320 # Broken: fails on valid input.
5321 continue
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5345 break
5348 done
5349 ac_cv_prog_CPP=$CPP
5352 CPP=$ac_cv_prog_CPP
5353 else
5354 ac_cv_prog_CPP=$CPP
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5357 $as_echo "$CPP" >&6; }
5358 ac_preproc_ok=false
5359 for ac_c_preproc_warn_flag in '' yes
5361 # Use a header file that comes with gcc, so configuring glibc
5362 # with a fresh cross-compiler works.
5363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5364 # <limits.h> exists even on freestanding compilers.
5365 # On the NeXT, cc -E runs the code through the compiler's parser,
5366 # not just through cpp. "Syntax error" is here to catch this case.
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5369 #ifdef __STDC__
5370 # include <limits.h>
5371 #else
5372 # include <assert.h>
5373 #endif
5374 Syntax error
5375 _ACEOF
5376 if ac_fn_c_try_cpp "$LINENO"; then :
5378 else
5379 # Broken: fails on valid input.
5380 continue
5382 rm -f conftest.err conftest.i conftest.$ac_ext
5384 # OK, works on sane cases. Now check whether nonexistent headers
5385 # can be detected and how.
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5388 #include <ac_nonexistent.h>
5389 _ACEOF
5390 if ac_fn_c_try_cpp "$LINENO"; then :
5391 # Broken: success on invalid input.
5392 continue
5393 else
5394 # Passes both tests.
5395 ac_preproc_ok=:
5396 break
5398 rm -f conftest.err conftest.i conftest.$ac_ext
5400 done
5401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5402 rm -f conftest.i conftest.err conftest.$ac_ext
5403 if $ac_preproc_ok; then :
5405 else
5406 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5407 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5408 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5409 See \`config.log' for more details" "$LINENO" 5; }
5412 ac_ext=c
5413 ac_cpp='$CPP $CPPFLAGS'
5414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5420 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5421 if ${ac_cv_path_GREP+:} false; then :
5422 $as_echo_n "(cached) " >&6
5423 else
5424 if test -z "$GREP"; then
5425 ac_path_GREP_found=false
5426 # Loop through the user's path and test for each of PROGNAME-LIST
5427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5430 IFS=$as_save_IFS
5431 test -z "$as_dir" && as_dir=.
5432 for ac_prog in grep ggrep; do
5433 for ac_exec_ext in '' $ac_executable_extensions; do
5434 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5435 as_fn_executable_p "$ac_path_GREP" || continue
5436 # Check for GNU ac_path_GREP and select it if it is found.
5437 # Check for GNU $ac_path_GREP
5438 case `"$ac_path_GREP" --version 2>&1` in
5439 *GNU*)
5440 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5442 ac_count=0
5443 $as_echo_n 0123456789 >"conftest.in"
5444 while :
5446 cat "conftest.in" "conftest.in" >"conftest.tmp"
5447 mv "conftest.tmp" "conftest.in"
5448 cp "conftest.in" "conftest.nl"
5449 $as_echo 'GREP' >> "conftest.nl"
5450 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5451 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5452 as_fn_arith $ac_count + 1 && ac_count=$as_val
5453 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5454 # Best one so far, save it but keep looking for a better one
5455 ac_cv_path_GREP="$ac_path_GREP"
5456 ac_path_GREP_max=$ac_count
5458 # 10*(2^10) chars as input seems more than enough
5459 test $ac_count -gt 10 && break
5460 done
5461 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 esac
5464 $ac_path_GREP_found && break 3
5465 done
5466 done
5467 done
5468 IFS=$as_save_IFS
5469 if test -z "$ac_cv_path_GREP"; then
5470 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5472 else
5473 ac_cv_path_GREP=$GREP
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5478 $as_echo "$ac_cv_path_GREP" >&6; }
5479 GREP="$ac_cv_path_GREP"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5483 $as_echo_n "checking for egrep... " >&6; }
5484 if ${ac_cv_path_EGREP+:} false; then :
5485 $as_echo_n "(cached) " >&6
5486 else
5487 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5488 then ac_cv_path_EGREP="$GREP -E"
5489 else
5490 if test -z "$EGREP"; then
5491 ac_path_EGREP_found=false
5492 # Loop through the user's path and test for each of PROGNAME-LIST
5493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5494 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5496 IFS=$as_save_IFS
5497 test -z "$as_dir" && as_dir=.
5498 for ac_prog in egrep; do
5499 for ac_exec_ext in '' $ac_executable_extensions; do
5500 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5501 as_fn_executable_p "$ac_path_EGREP" || continue
5502 # Check for GNU ac_path_EGREP and select it if it is found.
5503 # Check for GNU $ac_path_EGREP
5504 case `"$ac_path_EGREP" --version 2>&1` in
5505 *GNU*)
5506 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5508 ac_count=0
5509 $as_echo_n 0123456789 >"conftest.in"
5510 while :
5512 cat "conftest.in" "conftest.in" >"conftest.tmp"
5513 mv "conftest.tmp" "conftest.in"
5514 cp "conftest.in" "conftest.nl"
5515 $as_echo 'EGREP' >> "conftest.nl"
5516 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5517 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5518 as_fn_arith $ac_count + 1 && ac_count=$as_val
5519 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5520 # Best one so far, save it but keep looking for a better one
5521 ac_cv_path_EGREP="$ac_path_EGREP"
5522 ac_path_EGREP_max=$ac_count
5524 # 10*(2^10) chars as input seems more than enough
5525 test $ac_count -gt 10 && break
5526 done
5527 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 esac
5530 $ac_path_EGREP_found && break 3
5531 done
5532 done
5533 done
5534 IFS=$as_save_IFS
5535 if test -z "$ac_cv_path_EGREP"; then
5536 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5538 else
5539 ac_cv_path_EGREP=$EGREP
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5545 $as_echo "$ac_cv_path_EGREP" >&6; }
5546 EGREP="$ac_cv_path_EGREP"
5550 # Keep these sync'd with the list in Makefile.am. The first provides an
5551 # expandable list at autoconf time; the second provides an expandable list
5552 # (i.e., shell variable) at configure time.
5554 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5556 # These need to be absolute paths, yet at the same time need to
5557 # canonicalize only relative paths, because then amd will not unmount
5558 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5559 glibcxx_builddir=`${PWDCMD-pwd}`
5560 case $srcdir in
5561 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5562 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5563 esac
5564 toplevel_builddir=${glibcxx_builddir}/..
5565 toplevel_srcdir=${glibcxx_srcdir}/..
5571 # We use these options to decide which functions to include. They are
5572 # set from the top level.
5574 # Check whether --with-target-subdir was given.
5575 if test "${with_target_subdir+set}" = set; then :
5576 withval=$with_target_subdir;
5581 # Check whether --with-cross-host was given.
5582 if test "${with_cross_host+set}" = set; then :
5583 withval=$with_cross_host;
5588 # Check whether --with-newlib was given.
5589 if test "${with_newlib+set}" = set; then :
5590 withval=$with_newlib;
5594 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5595 # available). Uncomment the next line to force a particular method.
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5597 $as_echo_n "checking whether ln -s works... " >&6; }
5598 LN_S=$as_ln_s
5599 if test "$LN_S" = "ln -s"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5604 $as_echo "no, using $LN_S" >&6; }
5607 #LN_S='cp -p'
5609 if test -n "$ac_tool_prefix"; then
5610 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5611 set dummy ${ac_tool_prefix}as; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_AS+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$AS"; then
5618 ac_cv_prog_AS="$AS" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_AS="${ac_tool_prefix}as"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 AS=$ac_cv_prog_AS
5638 if test -n "$AS"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5640 $as_echo "$AS" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5648 if test -z "$ac_cv_prog_AS"; then
5649 ac_ct_AS=$AS
5650 # Extract the first word of "as", so it can be a program name with args.
5651 set dummy as; ac_word=$2
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5653 $as_echo_n "checking for $ac_word... " >&6; }
5654 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 if test -n "$ac_ct_AS"; then
5658 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5659 else
5660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5661 for as_dir in $PATH
5663 IFS=$as_save_IFS
5664 test -z "$as_dir" && as_dir=.
5665 for ac_exec_ext in '' $ac_executable_extensions; do
5666 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5667 ac_cv_prog_ac_ct_AS="as"
5668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 break 2
5671 done
5672 done
5673 IFS=$as_save_IFS
5677 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5678 if test -n "$ac_ct_AS"; then
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5680 $as_echo "$ac_ct_AS" >&6; }
5681 else
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5683 $as_echo "no" >&6; }
5686 if test "x$ac_ct_AS" = x; then
5687 AS=""
5688 else
5689 case $cross_compiling:$ac_tool_warned in
5690 yes:)
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5693 ac_tool_warned=yes ;;
5694 esac
5695 AS=$ac_ct_AS
5697 else
5698 AS="$ac_cv_prog_AS"
5701 if test -n "$ac_tool_prefix"; then
5702 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5703 set dummy ${ac_tool_prefix}ar; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_AR+:} false; then :
5707 $as_echo_n "(cached) " >&6
5708 else
5709 if test -n "$AR"; then
5710 ac_cv_prog_AR="$AR" # Let the user override the test.
5711 else
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 for as_dir in $PATH
5715 IFS=$as_save_IFS
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5719 ac_cv_prog_AR="${ac_tool_prefix}ar"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 break 2
5723 done
5724 done
5725 IFS=$as_save_IFS
5729 AR=$ac_cv_prog_AR
5730 if test -n "$AR"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5732 $as_echo "$AR" >&6; }
5733 else
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5740 if test -z "$ac_cv_prog_AR"; then
5741 ac_ct_AR=$AR
5742 # Extract the first word of "ar", so it can be a program name with args.
5743 set dummy ar; ac_word=$2
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5745 $as_echo_n "checking for $ac_word... " >&6; }
5746 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5747 $as_echo_n "(cached) " >&6
5748 else
5749 if test -n "$ac_ct_AR"; then
5750 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5751 else
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH
5755 IFS=$as_save_IFS
5756 test -z "$as_dir" && as_dir=.
5757 for ac_exec_ext in '' $ac_executable_extensions; do
5758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5759 ac_cv_prog_ac_ct_AR="ar"
5760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5761 break 2
5763 done
5764 done
5765 IFS=$as_save_IFS
5769 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5770 if test -n "$ac_ct_AR"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5772 $as_echo "$ac_ct_AR" >&6; }
5773 else
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5778 if test "x$ac_ct_AR" = x; then
5779 AR=""
5780 else
5781 case $cross_compiling:$ac_tool_warned in
5782 yes:)
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 AR=$ac_ct_AR
5789 else
5790 AR="$ac_cv_prog_AR"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if ${ac_cv_prog_RANLIB+:} false; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$RANLIB"; then
5802 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5811 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5839 $as_echo_n "(cached) " >&6
5840 else
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5865 else
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5870 if test "x$ac_ct_RANLIB" = x; then
5871 RANLIB="ranlib-not-found-in-path-error"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5878 esac
5879 RANLIB=$ac_ct_RANLIB
5881 else
5882 RANLIB="$ac_cv_prog_RANLIB"
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5888 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5889 # Check whether --enable-maintainer-mode was given.
5890 if test "${enable_maintainer_mode+set}" = set; then :
5891 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5892 else
5893 USE_MAINTAINER_MODE=no
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5897 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5898 if test $USE_MAINTAINER_MODE = yes; then
5899 MAINTAINER_MODE_TRUE=
5900 MAINTAINER_MODE_FALSE='#'
5901 else
5902 MAINTAINER_MODE_TRUE='#'
5903 MAINTAINER_MODE_FALSE=
5906 MAINT=$MAINTAINER_MODE_TRUE
5910 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5911 # which are themselves conditionally expanded.
5912 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5913 ## other macros from doing the same. This should be automated.) -pme
5915 # Check for C library flavor since GNU/Linux platforms use different
5916 # configuration directories depending on the C library in use.
5917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5920 #include <stdio.h>
5921 #if __UCLIBC__
5922 _using_uclibc
5923 #endif
5925 _ACEOF
5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5927 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5928 uclibc=yes
5929 else
5930 uclibc=no
5932 rm -f conftest*
5935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5936 /* end confdefs.h. */
5938 #include <stdio.h>
5939 #if __BIONIC__
5940 _using_bionic
5941 #endif
5943 _ACEOF
5944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5945 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5946 bionic=yes
5947 else
5948 bionic=no
5950 rm -f conftest*
5953 # Find platform-specific directories containing configuration info.
5954 # Also possibly modify flags used elsewhere, as needed by the platform.
5956 . $glibcxx_srcdir/configure.host
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5958 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5960 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5964 # Libtool setup.
5965 if test "x${with_newlib}" != "xyes" &&
5966 test "x${with_avrlibc}" != "xyes" &&
5967 test "x$with_headers" != "xno"; then
5968 enable_dlopen=yes
5973 case `pwd` in
5974 *\ * | *\ *)
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5976 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5977 esac
5981 macro_version='2.2.7a'
5982 macro_revision='1.3134'
5996 ltmain="$ac_aux_dir/ltmain.sh"
5998 # Backslashify metacharacters that are still active within
5999 # double-quoted strings.
6000 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6002 # Same as above, but do not quote variable references.
6003 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6005 # Sed substitution to delay expansion of an escaped shell variable in a
6006 # double_quote_subst'ed string.
6007 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6009 # Sed substitution to delay expansion of an escaped single quote.
6010 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6012 # Sed substitution to avoid accidental globbing in evaled expressions
6013 no_glob_subst='s/\*/\\\*/g'
6015 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6016 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6017 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6020 $as_echo_n "checking how to print strings... " >&6; }
6021 # Test print first, because it will be a builtin if present.
6022 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6023 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6024 ECHO='print -r --'
6025 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6026 ECHO='printf %s\n'
6027 else
6028 # Use this function as a fallback that always works.
6029 func_fallback_echo ()
6031 eval 'cat <<_LTECHO_EOF
6033 _LTECHO_EOF'
6035 ECHO='func_fallback_echo'
6038 # func_echo_all arg...
6039 # Invoke $ECHO with all args, space-separated.
6040 func_echo_all ()
6042 $ECHO ""
6045 case "$ECHO" in
6046 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6047 $as_echo "printf" >&6; } ;;
6048 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6049 $as_echo "print -r" >&6; } ;;
6050 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6051 $as_echo "cat" >&6; } ;;
6052 esac
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6068 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6069 if ${ac_cv_path_SED+:} false; then :
6070 $as_echo_n "(cached) " >&6
6071 else
6072 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6073 for ac_i in 1 2 3 4 5 6 7; do
6074 ac_script="$ac_script$as_nl$ac_script"
6075 done
6076 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6077 { ac_script=; unset ac_script;}
6078 if test -z "$SED"; then
6079 ac_path_SED_found=false
6080 # Loop through the user's path and test for each of PROGNAME-LIST
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082 for as_dir in $PATH
6084 IFS=$as_save_IFS
6085 test -z "$as_dir" && as_dir=.
6086 for ac_prog in sed gsed; do
6087 for ac_exec_ext in '' $ac_executable_extensions; do
6088 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6089 as_fn_executable_p "$ac_path_SED" || continue
6090 # Check for GNU ac_path_SED and select it if it is found.
6091 # Check for GNU $ac_path_SED
6092 case `"$ac_path_SED" --version 2>&1` in
6093 *GNU*)
6094 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6096 ac_count=0
6097 $as_echo_n 0123456789 >"conftest.in"
6098 while :
6100 cat "conftest.in" "conftest.in" >"conftest.tmp"
6101 mv "conftest.tmp" "conftest.in"
6102 cp "conftest.in" "conftest.nl"
6103 $as_echo '' >> "conftest.nl"
6104 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6105 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6106 as_fn_arith $ac_count + 1 && ac_count=$as_val
6107 if test $ac_count -gt ${ac_path_SED_max-0}; then
6108 # Best one so far, save it but keep looking for a better one
6109 ac_cv_path_SED="$ac_path_SED"
6110 ac_path_SED_max=$ac_count
6112 # 10*(2^10) chars as input seems more than enough
6113 test $ac_count -gt 10 && break
6114 done
6115 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6116 esac
6118 $ac_path_SED_found && break 3
6119 done
6120 done
6121 done
6122 IFS=$as_save_IFS
6123 if test -z "$ac_cv_path_SED"; then
6124 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6126 else
6127 ac_cv_path_SED=$SED
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6132 $as_echo "$ac_cv_path_SED" >&6; }
6133 SED="$ac_cv_path_SED"
6134 rm -f conftest.sed
6136 test -z "$SED" && SED=sed
6137 Xsed="$SED -e 1s/^X//"
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6150 $as_echo_n "checking for fgrep... " >&6; }
6151 if ${ac_cv_path_FGREP+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6155 then ac_cv_path_FGREP="$GREP -F"
6156 else
6157 if test -z "$FGREP"; then
6158 ac_path_FGREP_found=false
6159 # Loop through the user's path and test for each of PROGNAME-LIST
6160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6163 IFS=$as_save_IFS
6164 test -z "$as_dir" && as_dir=.
6165 for ac_prog in fgrep; do
6166 for ac_exec_ext in '' $ac_executable_extensions; do
6167 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6168 as_fn_executable_p "$ac_path_FGREP" || continue
6169 # Check for GNU ac_path_FGREP and select it if it is found.
6170 # Check for GNU $ac_path_FGREP
6171 case `"$ac_path_FGREP" --version 2>&1` in
6172 *GNU*)
6173 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6175 ac_count=0
6176 $as_echo_n 0123456789 >"conftest.in"
6177 while :
6179 cat "conftest.in" "conftest.in" >"conftest.tmp"
6180 mv "conftest.tmp" "conftest.in"
6181 cp "conftest.in" "conftest.nl"
6182 $as_echo 'FGREP' >> "conftest.nl"
6183 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6185 as_fn_arith $ac_count + 1 && ac_count=$as_val
6186 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6187 # Best one so far, save it but keep looking for a better one
6188 ac_cv_path_FGREP="$ac_path_FGREP"
6189 ac_path_FGREP_max=$ac_count
6191 # 10*(2^10) chars as input seems more than enough
6192 test $ac_count -gt 10 && break
6193 done
6194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6195 esac
6197 $ac_path_FGREP_found && break 3
6198 done
6199 done
6200 done
6201 IFS=$as_save_IFS
6202 if test -z "$ac_cv_path_FGREP"; then
6203 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6205 else
6206 ac_cv_path_FGREP=$FGREP
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6212 $as_echo "$ac_cv_path_FGREP" >&6; }
6213 FGREP="$ac_cv_path_FGREP"
6216 test -z "$GREP" && GREP=grep
6236 # Check whether --with-gnu-ld was given.
6237 if test "${with_gnu_ld+set}" = set; then :
6238 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6239 else
6240 with_gnu_ld=no
6243 ac_prog=ld
6244 if test "$GCC" = yes; then
6245 # Check if gcc -print-prog-name=ld gives a path.
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6247 $as_echo_n "checking for ld used by $CC... " >&6; }
6248 case $host in
6249 *-*-mingw*)
6250 # gcc leaves a trailing carriage return which upsets mingw
6251 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6253 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6254 esac
6255 case $ac_prog in
6256 # Accept absolute paths.
6257 [\\/]* | ?:[\\/]*)
6258 re_direlt='/[^/][^/]*/\.\./'
6259 # Canonicalize the pathname of ld
6260 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6261 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6262 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6263 done
6264 test -z "$LD" && LD="$ac_prog"
6267 # If it fails, then pretend we aren't using GCC.
6268 ac_prog=ld
6271 # If it is relative, then search for the first ld in PATH.
6272 with_gnu_ld=unknown
6274 esac
6275 elif test "$with_gnu_ld" = yes; then
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6277 $as_echo_n "checking for GNU ld... " >&6; }
6278 else
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6280 $as_echo_n "checking for non-GNU ld... " >&6; }
6282 if ${lt_cv_path_LD+:} false; then :
6283 $as_echo_n "(cached) " >&6
6284 else
6285 if test -z "$LD"; then
6286 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6287 for ac_dir in $PATH; do
6288 IFS="$lt_save_ifs"
6289 test -z "$ac_dir" && ac_dir=.
6290 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6291 lt_cv_path_LD="$ac_dir/$ac_prog"
6292 # Check to see if the program is GNU ld. I'd rather use --version,
6293 # but apparently some variants of GNU ld only accept -v.
6294 # Break only if it was the GNU/non-GNU ld that we prefer.
6295 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6296 *GNU* | *'with BFD'*)
6297 test "$with_gnu_ld" != no && break
6300 test "$with_gnu_ld" != yes && break
6302 esac
6304 done
6305 IFS="$lt_save_ifs"
6306 else
6307 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6311 LD="$lt_cv_path_LD"
6312 if test -n "$LD"; then
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6314 $as_echo "$LD" >&6; }
6315 else
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6317 $as_echo "no" >&6; }
6319 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6321 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6322 if ${lt_cv_prog_gnu_ld+:} false; then :
6323 $as_echo_n "(cached) " >&6
6324 else
6325 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6326 case `$LD -v 2>&1 </dev/null` in
6327 *GNU* | *'with BFD'*)
6328 lt_cv_prog_gnu_ld=yes
6331 lt_cv_prog_gnu_ld=no
6333 esac
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6336 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6337 with_gnu_ld=$lt_cv_prog_gnu_ld
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6348 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6349 if ${lt_cv_path_NM+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 if test -n "$NM"; then
6353 # Let the user override the test.
6354 lt_cv_path_NM="$NM"
6355 else
6356 lt_nm_to_check="${ac_tool_prefix}nm"
6357 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6358 lt_nm_to_check="$lt_nm_to_check nm"
6360 for lt_tmp_nm in $lt_nm_to_check; do
6361 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6362 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6363 IFS="$lt_save_ifs"
6364 test -z "$ac_dir" && ac_dir=.
6365 tmp_nm="$ac_dir/$lt_tmp_nm"
6366 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6367 # Check to see if the nm accepts a BSD-compat flag.
6368 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6369 # nm: unknown option "B" ignored
6370 # Tru64's nm complains that /dev/null is an invalid object file
6371 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6372 */dev/null* | *'Invalid file or object type'*)
6373 lt_cv_path_NM="$tmp_nm -B"
6374 break
6377 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6378 */dev/null*)
6379 lt_cv_path_NM="$tmp_nm -p"
6380 break
6383 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6384 continue # so that we can try to find one that supports BSD flags
6386 esac
6388 esac
6390 done
6391 IFS="$lt_save_ifs"
6392 done
6393 : ${lt_cv_path_NM=no}
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6397 $as_echo "$lt_cv_path_NM" >&6; }
6398 if test "$lt_cv_path_NM" != "no"; then
6399 NM="$lt_cv_path_NM"
6400 else
6401 # Didn't find any BSD compatible name lister, look for dumpbin.
6402 if test -n "$DUMPBIN"; then :
6403 # Let the user override the test.
6404 else
6405 if test -n "$ac_tool_prefix"; then
6406 for ac_prog in dumpbin "link -dump"
6408 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if ${ac_cv_prog_DUMPBIN+:} false; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$DUMPBIN"; then
6416 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6425 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6429 done
6430 done
6431 IFS=$as_save_IFS
6435 DUMPBIN=$ac_cv_prog_DUMPBIN
6436 if test -n "$DUMPBIN"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6438 $as_echo "$DUMPBIN" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6445 test -n "$DUMPBIN" && break
6446 done
6448 if test -z "$DUMPBIN"; then
6449 ac_ct_DUMPBIN=$DUMPBIN
6450 for ac_prog in dumpbin "link -dump"
6452 # Extract the first word of "$ac_prog", so it can be a program name with args.
6453 set dummy $ac_prog; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6457 $as_echo_n "(cached) " >&6
6458 else
6459 if test -n "$ac_ct_DUMPBIN"; then
6460 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6461 else
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6463 for as_dir in $PATH
6465 IFS=$as_save_IFS
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6469 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 break 2
6473 done
6474 done
6475 IFS=$as_save_IFS
6479 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6480 if test -n "$ac_ct_DUMPBIN"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6482 $as_echo "$ac_ct_DUMPBIN" >&6; }
6483 else
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6489 test -n "$ac_ct_DUMPBIN" && break
6490 done
6492 if test "x$ac_ct_DUMPBIN" = x; then
6493 DUMPBIN=":"
6494 else
6495 case $cross_compiling:$ac_tool_warned in
6496 yes:)
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499 ac_tool_warned=yes ;;
6500 esac
6501 DUMPBIN=$ac_ct_DUMPBIN
6505 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6506 *COFF*)
6507 DUMPBIN="$DUMPBIN -symbols"
6510 DUMPBIN=:
6512 esac
6515 if test "$DUMPBIN" != ":"; then
6516 NM="$DUMPBIN"
6519 test -z "$NM" && NM=nm
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6527 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6528 if ${lt_cv_nm_interface+:} false; then :
6529 $as_echo_n "(cached) " >&6
6530 else
6531 lt_cv_nm_interface="BSD nm"
6532 echo "int some_variable = 0;" > conftest.$ac_ext
6533 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6534 (eval "$ac_compile" 2>conftest.err)
6535 cat conftest.err >&5
6536 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6537 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6538 cat conftest.err >&5
6539 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6540 cat conftest.out >&5
6541 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6542 lt_cv_nm_interface="MS dumpbin"
6544 rm -f conftest*
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6547 $as_echo "$lt_cv_nm_interface" >&6; }
6549 # find the maximum length of command line arguments
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6551 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6552 if ${lt_cv_sys_max_cmd_len+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6556 teststring="ABCD"
6558 case $build_os in
6559 msdosdjgpp*)
6560 # On DJGPP, this test can blow up pretty badly due to problems in libc
6561 # (any single argument exceeding 2000 bytes causes a buffer overrun
6562 # during glob expansion). Even if it were fixed, the result of this
6563 # check would be larger than it should be.
6564 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6567 gnu*)
6568 # Under GNU Hurd, this test is not required because there is
6569 # no limit to the length of command line arguments.
6570 # Libtool will interpret -1 as no limit whatsoever
6571 lt_cv_sys_max_cmd_len=-1;
6574 cygwin* | mingw* | cegcc*)
6575 # On Win9x/ME, this test blows up -- it succeeds, but takes
6576 # about 5 minutes as the teststring grows exponentially.
6577 # Worse, since 9x/ME are not pre-emptively multitasking,
6578 # you end up with a "frozen" computer, even though with patience
6579 # the test eventually succeeds (with a max line length of 256k).
6580 # Instead, let's just punt: use the minimum linelength reported by
6581 # all of the supported platforms: 8192 (on NT/2K/XP).
6582 lt_cv_sys_max_cmd_len=8192;
6585 mint*)
6586 # On MiNT this can take a long time and run out of memory.
6587 lt_cv_sys_max_cmd_len=8192;
6590 amigaos*)
6591 # On AmigaOS with pdksh, this test takes hours, literally.
6592 # So we just punt and use a minimum line length of 8192.
6593 lt_cv_sys_max_cmd_len=8192;
6596 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6597 # This has been around since 386BSD, at least. Likely further.
6598 if test -x /sbin/sysctl; then
6599 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6600 elif test -x /usr/sbin/sysctl; then
6601 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6602 else
6603 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6605 # And add a safety zone
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6607 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6610 interix*)
6611 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6612 lt_cv_sys_max_cmd_len=196608
6615 osf*)
6616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6618 # nice to cause kernel panics so lets avoid the loop below.
6619 # First set a reasonable default.
6620 lt_cv_sys_max_cmd_len=16384
6622 if test -x /sbin/sysconfig; then
6623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6625 esac
6628 sco3.2v5*)
6629 lt_cv_sys_max_cmd_len=102400
6631 sysv5* | sco5v6* | sysv4.2uw2*)
6632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6633 if test -n "$kargmax"; then
6634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6635 else
6636 lt_cv_sys_max_cmd_len=32768
6640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6641 if test -n "$lt_cv_sys_max_cmd_len"; then
6642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6644 else
6645 # Make teststring a little bigger before we do anything with it.
6646 # a 1K string should be a reasonable start.
6647 for i in 1 2 3 4 5 6 7 8 ; do
6648 teststring=$teststring$teststring
6649 done
6650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6651 # If test is not a shell built-in, we'll probably end up computing a
6652 # maximum length that is only half of the actual maximum length, but
6653 # we can't tell.
6654 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6655 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6656 test $i != 17 # 1/2 MB should be enough
6658 i=`expr $i + 1`
6659 teststring=$teststring$teststring
6660 done
6661 # Only check the string length outside the loop.
6662 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6663 teststring=
6664 # Add a significant safety factor because C++ compilers can tack on
6665 # massive amounts of additional arguments before passing them to the
6666 # linker. It appears as though 1/2 is a usable value.
6667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6670 esac
6674 if test -n $lt_cv_sys_max_cmd_len ; then
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6677 else
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6679 $as_echo "none" >&6; }
6681 max_cmd_len=$lt_cv_sys_max_cmd_len
6688 : ${CP="cp -f"}
6689 : ${MV="mv -f"}
6690 : ${RM="rm -f"}
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6693 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6694 # Try some XSI features
6695 xsi_shell=no
6696 ( _lt_dummy="a/b/c"
6697 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6698 = c,a/b,, \
6699 && eval 'test $(( 1 + 1 )) -eq 2 \
6700 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6701 && xsi_shell=yes
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6703 $as_echo "$xsi_shell" >&6; }
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6708 lt_shell_append=no
6709 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6710 >/dev/null 2>&1 \
6711 && lt_shell_append=yes
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6713 $as_echo "$lt_shell_append" >&6; }
6716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6717 lt_unset=unset
6718 else
6719 lt_unset=false
6726 # test EBCDIC or ASCII
6727 case `echo X|tr X '\101'` in
6728 A) # ASCII based system
6729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6730 lt_SP2NL='tr \040 \012'
6731 lt_NL2SP='tr \015\012 \040\040'
6733 *) # EBCDIC based system
6734 lt_SP2NL='tr \100 \n'
6735 lt_NL2SP='tr \r\n \100\100'
6737 esac
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6748 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6749 if ${lt_cv_ld_reload_flag+:} false; then :
6750 $as_echo_n "(cached) " >&6
6751 else
6752 lt_cv_ld_reload_flag='-r'
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6755 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6756 reload_flag=$lt_cv_ld_reload_flag
6757 case $reload_flag in
6758 "" | " "*) ;;
6759 *) reload_flag=" $reload_flag" ;;
6760 esac
6761 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6762 case $host_os in
6763 darwin*)
6764 if test "$GCC" = yes; then
6765 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6766 else
6767 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6770 esac
6780 if test -n "$ac_tool_prefix"; then
6781 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6782 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6784 $as_echo_n "checking for $ac_word... " >&6; }
6785 if ${ac_cv_prog_OBJDUMP+:} false; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788 if test -n "$OBJDUMP"; then
6789 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 test -z "$as_dir" && as_dir=.
6796 for ac_exec_ext in '' $ac_executable_extensions; do
6797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6798 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6800 break 2
6802 done
6803 done
6804 IFS=$as_save_IFS
6808 OBJDUMP=$ac_cv_prog_OBJDUMP
6809 if test -n "$OBJDUMP"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6811 $as_echo "$OBJDUMP" >&6; }
6812 else
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6819 if test -z "$ac_cv_prog_OBJDUMP"; then
6820 ac_ct_OBJDUMP=$OBJDUMP
6821 # Extract the first word of "objdump", so it can be a program name with args.
6822 set dummy objdump; ac_word=$2
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6824 $as_echo_n "checking for $ac_word... " >&6; }
6825 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6826 $as_echo_n "(cached) " >&6
6827 else
6828 if test -n "$ac_ct_OBJDUMP"; then
6829 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6830 else
6831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832 for as_dir in $PATH
6834 IFS=$as_save_IFS
6835 test -z "$as_dir" && as_dir=.
6836 for ac_exec_ext in '' $ac_executable_extensions; do
6837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6838 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6840 break 2
6842 done
6843 done
6844 IFS=$as_save_IFS
6848 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6849 if test -n "$ac_ct_OBJDUMP"; then
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6851 $as_echo "$ac_ct_OBJDUMP" >&6; }
6852 else
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6854 $as_echo "no" >&6; }
6857 if test "x$ac_ct_OBJDUMP" = x; then
6858 OBJDUMP="false"
6859 else
6860 case $cross_compiling:$ac_tool_warned in
6861 yes:)
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6864 ac_tool_warned=yes ;;
6865 esac
6866 OBJDUMP=$ac_ct_OBJDUMP
6868 else
6869 OBJDUMP="$ac_cv_prog_OBJDUMP"
6872 test -z "$OBJDUMP" && OBJDUMP=objdump
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6883 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6884 if ${lt_cv_deplibs_check_method+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 lt_cv_file_magic_cmd='$MAGIC_CMD'
6888 lt_cv_file_magic_test_file=
6889 lt_cv_deplibs_check_method='unknown'
6890 # Need to set the preceding variable on all platforms that support
6891 # interlibrary dependencies.
6892 # 'none' -- dependencies not supported.
6893 # `unknown' -- same as none, but documents that we really don't know.
6894 # 'pass_all' -- all dependencies passed with no checks.
6895 # 'test_compile' -- check by making test program.
6896 # 'file_magic [[regex]]' -- check by looking for files in library path
6897 # which responds to the $file_magic_cmd with a given extended regex.
6898 # If you have `file' or equivalent on your system and you're not sure
6899 # whether `pass_all' will *always* work, you probably want this one.
6901 case $host_os in
6902 aix[4-9]*)
6903 lt_cv_deplibs_check_method=pass_all
6906 beos*)
6907 lt_cv_deplibs_check_method=pass_all
6910 bsdi[45]*)
6911 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6912 lt_cv_file_magic_cmd='/usr/bin/file -L'
6913 lt_cv_file_magic_test_file=/shlib/libc.so
6916 cygwin*)
6917 # func_win32_libid is a shell function defined in ltmain.sh
6918 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6919 lt_cv_file_magic_cmd='func_win32_libid'
6922 mingw* | pw32*)
6923 # Base MSYS/MinGW do not provide the 'file' command needed by
6924 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6925 # unless we find 'file', for example because we are cross-compiling.
6926 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6927 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6928 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6929 lt_cv_file_magic_cmd='func_win32_libid'
6930 else
6931 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6932 lt_cv_file_magic_cmd='$OBJDUMP -f'
6936 cegcc*)
6937 # use the weaker test based on 'objdump'. See mingw*.
6938 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6939 lt_cv_file_magic_cmd='$OBJDUMP -f'
6942 darwin* | rhapsody*)
6943 lt_cv_deplibs_check_method=pass_all
6946 freebsd* | dragonfly*)
6947 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6948 case $host_cpu in
6949 i*86 )
6950 # Not sure whether the presence of OpenBSD here was a mistake.
6951 # Let's accept both of them until this is cleared up.
6952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6953 lt_cv_file_magic_cmd=/usr/bin/file
6954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6956 esac
6957 else
6958 lt_cv_deplibs_check_method=pass_all
6962 gnu*)
6963 lt_cv_deplibs_check_method=pass_all
6966 haiku*)
6967 lt_cv_deplibs_check_method=pass_all
6970 hpux10.20* | hpux11*)
6971 lt_cv_file_magic_cmd=/usr/bin/file
6972 case $host_cpu in
6973 ia64*)
6974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6977 hppa*64*)
6978 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6985 esac
6988 interix[3-9]*)
6989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6993 irix5* | irix6* | nonstopux*)
6994 case $LD in
6995 *-32|*"-32 ") libmagic=32-bit;;
6996 *-n32|*"-n32 ") libmagic=N32;;
6997 *-64|*"-64 ") libmagic=64-bit;;
6998 *) libmagic=never-match;;
6999 esac
7000 lt_cv_deplibs_check_method=pass_all
7003 # This must be Linux ELF.
7004 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7005 lt_cv_deplibs_check_method=pass_all
7008 netbsd*)
7009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7011 else
7012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7016 newos6*)
7017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7018 lt_cv_file_magic_cmd=/usr/bin/file
7019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7022 *nto* | *qnx*)
7023 lt_cv_deplibs_check_method=pass_all
7026 openbsd*)
7027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7029 else
7030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7034 osf3* | osf4* | osf5*)
7035 lt_cv_deplibs_check_method=pass_all
7038 rdos*)
7039 lt_cv_deplibs_check_method=pass_all
7042 solaris*)
7043 lt_cv_deplibs_check_method=pass_all
7046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7047 lt_cv_deplibs_check_method=pass_all
7050 sysv4 | sysv4.3*)
7051 case $host_vendor in
7052 motorola)
7053 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7056 ncr)
7057 lt_cv_deplibs_check_method=pass_all
7059 sequent)
7060 lt_cv_file_magic_cmd='/bin/file'
7061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7063 sni)
7064 lt_cv_file_magic_cmd='/bin/file'
7065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7066 lt_cv_file_magic_test_file=/lib/libc.so
7068 siemens)
7069 lt_cv_deplibs_check_method=pass_all
7072 lt_cv_deplibs_check_method=pass_all
7074 esac
7077 tpf*)
7078 lt_cv_deplibs_check_method=pass_all
7080 esac
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7084 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7085 file_magic_cmd=$lt_cv_file_magic_cmd
7086 deplibs_check_method=$lt_cv_deplibs_check_method
7087 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7100 if test -n "$ac_tool_prefix"; then
7101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7102 set dummy ${ac_tool_prefix}ar; ac_word=$2
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104 $as_echo_n "checking for $ac_word... " >&6; }
7105 if ${ac_cv_prog_AR+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 if test -n "$AR"; then
7109 ac_cv_prog_AR="$AR" # Let the user override the test.
7110 else
7111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112 for as_dir in $PATH
7114 IFS=$as_save_IFS
7115 test -z "$as_dir" && as_dir=.
7116 for ac_exec_ext in '' $ac_executable_extensions; do
7117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118 ac_cv_prog_AR="${ac_tool_prefix}ar"
7119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120 break 2
7122 done
7123 done
7124 IFS=$as_save_IFS
7128 AR=$ac_cv_prog_AR
7129 if test -n "$AR"; then
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7131 $as_echo "$AR" >&6; }
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134 $as_echo "no" >&6; }
7139 if test -z "$ac_cv_prog_AR"; then
7140 ac_ct_AR=$AR
7141 # Extract the first word of "ar", so it can be a program name with args.
7142 set dummy ar; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144 $as_echo_n "checking for $ac_word... " >&6; }
7145 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7146 $as_echo_n "(cached) " >&6
7147 else
7148 if test -n "$ac_ct_AR"; then
7149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7150 else
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152 for as_dir in $PATH
7154 IFS=$as_save_IFS
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_ac_ct_AR="ar"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 break 2
7162 done
7163 done
7164 IFS=$as_save_IFS
7168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7169 if test -n "$ac_ct_AR"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7171 $as_echo "$ac_ct_AR" >&6; }
7172 else
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174 $as_echo "no" >&6; }
7177 if test "x$ac_ct_AR" = x; then
7178 AR="false"
7179 else
7180 case $cross_compiling:$ac_tool_warned in
7181 yes:)
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184 ac_tool_warned=yes ;;
7185 esac
7186 AR=$ac_ct_AR
7188 else
7189 AR="$ac_cv_prog_AR"
7192 test -z "$AR" && AR=ar
7193 test -z "$AR_FLAGS" && AR_FLAGS=cru
7205 if test -n "$ac_tool_prefix"; then
7206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7207 set dummy ${ac_tool_prefix}strip; ac_word=$2
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7209 $as_echo_n "checking for $ac_word... " >&6; }
7210 if ${ac_cv_prog_STRIP+:} false; then :
7211 $as_echo_n "(cached) " >&6
7212 else
7213 if test -n "$STRIP"; then
7214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7215 else
7216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 for as_dir in $PATH
7219 IFS=$as_save_IFS
7220 test -z "$as_dir" && as_dir=.
7221 for ac_exec_ext in '' $ac_executable_extensions; do
7222 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7225 break 2
7227 done
7228 done
7229 IFS=$as_save_IFS
7233 STRIP=$ac_cv_prog_STRIP
7234 if test -n "$STRIP"; then
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7236 $as_echo "$STRIP" >&6; }
7237 else
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7239 $as_echo "no" >&6; }
7244 if test -z "$ac_cv_prog_STRIP"; then
7245 ac_ct_STRIP=$STRIP
7246 # Extract the first word of "strip", so it can be a program name with args.
7247 set dummy strip; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7251 $as_echo_n "(cached) " >&6
7252 else
7253 if test -n "$ac_ct_STRIP"; then
7254 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7259 IFS=$as_save_IFS
7260 test -z "$as_dir" && as_dir=.
7261 for ac_exec_ext in '' $ac_executable_extensions; do
7262 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7263 ac_cv_prog_ac_ct_STRIP="strip"
7264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265 break 2
7267 done
7268 done
7269 IFS=$as_save_IFS
7273 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7274 if test -n "$ac_ct_STRIP"; then
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7276 $as_echo "$ac_ct_STRIP" >&6; }
7277 else
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7282 if test "x$ac_ct_STRIP" = x; then
7283 STRIP=":"
7284 else
7285 case $cross_compiling:$ac_tool_warned in
7286 yes:)
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7289 ac_tool_warned=yes ;;
7290 esac
7291 STRIP=$ac_ct_STRIP
7293 else
7294 STRIP="$ac_cv_prog_STRIP"
7297 test -z "$STRIP" && STRIP=:
7304 if test -n "$ac_tool_prefix"; then
7305 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7306 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7308 $as_echo_n "checking for $ac_word... " >&6; }
7309 if ${ac_cv_prog_RANLIB+:} false; then :
7310 $as_echo_n "(cached) " >&6
7311 else
7312 if test -n "$RANLIB"; then
7313 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7314 else
7315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316 for as_dir in $PATH
7318 IFS=$as_save_IFS
7319 test -z "$as_dir" && as_dir=.
7320 for ac_exec_ext in '' $ac_executable_extensions; do
7321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7322 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7324 break 2
7326 done
7327 done
7328 IFS=$as_save_IFS
7332 RANLIB=$ac_cv_prog_RANLIB
7333 if test -n "$RANLIB"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7335 $as_echo "$RANLIB" >&6; }
7336 else
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_prog_RANLIB"; then
7344 ac_ct_RANLIB=$RANLIB
7345 # Extract the first word of "ranlib", so it can be a program name with args.
7346 set dummy ranlib; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7350 $as_echo_n "(cached) " >&6
7351 else
7352 if test -n "$ac_ct_RANLIB"; then
7353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7354 else
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356 for as_dir in $PATH
7358 IFS=$as_save_IFS
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7362 ac_cv_prog_ac_ct_RANLIB="ranlib"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7364 break 2
7366 done
7367 done
7368 IFS=$as_save_IFS
7372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7373 if test -n "$ac_ct_RANLIB"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7375 $as_echo "$ac_ct_RANLIB" >&6; }
7376 else
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7378 $as_echo "no" >&6; }
7381 if test "x$ac_ct_RANLIB" = x; then
7382 RANLIB=":"
7383 else
7384 case $cross_compiling:$ac_tool_warned in
7385 yes:)
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7388 ac_tool_warned=yes ;;
7389 esac
7390 RANLIB=$ac_ct_RANLIB
7392 else
7393 RANLIB="$ac_cv_prog_RANLIB"
7396 test -z "$RANLIB" && RANLIB=:
7403 # Determine commands to create old-style static archives.
7404 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7405 old_postinstall_cmds='chmod 644 $oldlib'
7406 old_postuninstall_cmds=
7408 if test -n "$RANLIB"; then
7409 case $host_os in
7410 openbsd*)
7411 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7414 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7416 esac
7417 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7420 case $host_os in
7421 darwin*)
7422 lock_old_archive_extraction=yes ;;
7424 lock_old_archive_extraction=no ;;
7425 esac
7465 # If no C compiler was specified, use CC.
7466 LTCC=${LTCC-"$CC"}
7468 # If no C compiler flags were specified, use CFLAGS.
7469 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7471 # Allow CC to be a program name with arguments.
7472 compiler=$CC
7475 # Check for command to grab the raw symbol name followed by C symbol from nm.
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7477 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7478 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7479 $as_echo_n "(cached) " >&6
7480 else
7482 # These are sane defaults that work on at least a few old systems.
7483 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7485 # Character class describing NM global symbol codes.
7486 symcode='[BCDEGRST]'
7488 # Regexp to match symbols that can be accessed directly from C.
7489 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7491 # Define system-specific variables.
7492 case $host_os in
7493 aix*)
7494 symcode='[BCDT]'
7496 cygwin* | mingw* | pw32* | cegcc*)
7497 symcode='[ABCDGISTW]'
7499 hpux*)
7500 if test "$host_cpu" = ia64; then
7501 symcode='[ABCDEGRST]'
7504 irix* | nonstopux*)
7505 symcode='[BCDEGRST]'
7507 osf*)
7508 symcode='[BCDEGQRST]'
7510 solaris*)
7511 symcode='[BDRT]'
7513 sco3.2v5*)
7514 symcode='[DT]'
7516 sysv4.2uw2*)
7517 symcode='[DT]'
7519 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7520 symcode='[ABDT]'
7522 sysv4)
7523 symcode='[DFNSTU]'
7525 esac
7527 # If we're using GNU nm, then use its standard symbol codes.
7528 case `$NM -V 2>&1` in
7529 *GNU* | *'with BFD'*)
7530 symcode='[ABCDGIRSTW]' ;;
7531 esac
7533 # Transform an extracted symbol line into a proper C declaration.
7534 # Some systems (esp. on ia64) link data and code symbols differently,
7535 # so use this general approach.
7536 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7538 # Transform an extracted symbol line into symbol name and symbol address
7539 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7540 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7542 # Handle CRLF in mingw tool chain
7543 opt_cr=
7544 case $build_os in
7545 mingw*)
7546 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7548 esac
7550 # Try without a prefix underscore, then with it.
7551 for ac_symprfx in "" "_"; do
7553 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7554 symxfrm="\\1 $ac_symprfx\\2 \\2"
7556 # Write the raw and C identifiers.
7557 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7558 # Fake it for dumpbin and say T for any non-static function
7559 # and D for any global variable.
7560 # Also find C++ and __fastcall symbols from MSVC++,
7561 # which start with @ or ?.
7562 lt_cv_sys_global_symbol_pipe="$AWK '"\
7563 " {last_section=section; section=\$ 3};"\
7564 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7565 " \$ 0!~/External *\|/{next};"\
7566 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7567 " {if(hide[section]) next};"\
7568 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7569 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7570 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7571 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7572 " ' prfx=^$ac_symprfx"
7573 else
7574 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7577 # Check to see that the pipe works correctly.
7578 pipe_works=no
7580 rm -f conftest*
7581 cat > conftest.$ac_ext <<_LT_EOF
7582 #ifdef __cplusplus
7583 extern "C" {
7584 #endif
7585 char nm_test_var;
7586 void nm_test_func(void);
7587 void nm_test_func(void){}
7588 #ifdef __cplusplus
7590 #endif
7591 int main(){nm_test_var='a';nm_test_func();return(0);}
7592 _LT_EOF
7594 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7595 (eval $ac_compile) 2>&5
7596 ac_status=$?
7597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7598 test $ac_status = 0; }; then
7599 # Now try to grab the symbols.
7600 nlist=conftest.nm
7601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7602 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7603 ac_status=$?
7604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7605 test $ac_status = 0; } && test -s "$nlist"; then
7606 # Try sorting and uniquifying the output.
7607 if sort "$nlist" | uniq > "$nlist"T; then
7608 mv -f "$nlist"T "$nlist"
7609 else
7610 rm -f "$nlist"T
7613 # Make sure that we snagged all the symbols we need.
7614 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7615 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7616 cat <<_LT_EOF > conftest.$ac_ext
7617 #ifdef __cplusplus
7618 extern "C" {
7619 #endif
7621 _LT_EOF
7622 # Now generate the symbol file.
7623 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7625 cat <<_LT_EOF >> conftest.$ac_ext
7627 /* The mapping between symbol names and symbols. */
7628 const struct {
7629 const char *name;
7630 void *address;
7632 lt__PROGRAM__LTX_preloaded_symbols[] =
7634 { "@PROGRAM@", (void *) 0 },
7635 _LT_EOF
7636 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7637 cat <<\_LT_EOF >> conftest.$ac_ext
7638 {0, (void *) 0}
7641 /* This works around a problem in FreeBSD linker */
7642 #ifdef FREEBSD_WORKAROUND
7643 static const void *lt_preloaded_setup() {
7644 return lt__PROGRAM__LTX_preloaded_symbols;
7646 #endif
7648 #ifdef __cplusplus
7650 #endif
7651 _LT_EOF
7652 # Now try linking the two files.
7653 mv conftest.$ac_objext conftstm.$ac_objext
7654 lt_save_LIBS="$LIBS"
7655 lt_save_CFLAGS="$CFLAGS"
7656 LIBS="conftstm.$ac_objext"
7657 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7659 (eval $ac_link) 2>&5
7660 ac_status=$?
7661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7662 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7663 pipe_works=yes
7665 LIBS="$lt_save_LIBS"
7666 CFLAGS="$lt_save_CFLAGS"
7667 else
7668 echo "cannot find nm_test_func in $nlist" >&5
7670 else
7671 echo "cannot find nm_test_var in $nlist" >&5
7673 else
7674 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7676 else
7677 echo "$progname: failed program was:" >&5
7678 cat conftest.$ac_ext >&5
7680 rm -rf conftest* conftst*
7682 # Do not use the global_symbol_pipe unless it works.
7683 if test "$pipe_works" = yes; then
7684 break
7685 else
7686 lt_cv_sys_global_symbol_pipe=
7688 done
7692 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7693 lt_cv_sys_global_symbol_to_cdecl=
7695 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7697 $as_echo "failed" >&6; }
7698 else
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7700 $as_echo "ok" >&6; }
7724 # Check whether --enable-libtool-lock was given.
7725 if test "${enable_libtool_lock+set}" = set; then :
7726 enableval=$enable_libtool_lock;
7729 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7731 # Some flags need to be propagated to the compiler or linker for good
7732 # libtool support.
7733 case $host in
7734 ia64-*-hpux*)
7735 # Find out which ABI we are using.
7736 echo 'int i;' > conftest.$ac_ext
7737 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7738 (eval $ac_compile) 2>&5
7739 ac_status=$?
7740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7741 test $ac_status = 0; }; then
7742 case `/usr/bin/file conftest.$ac_objext` in
7743 *ELF-32*)
7744 HPUX_IA64_MODE="32"
7746 *ELF-64*)
7747 HPUX_IA64_MODE="64"
7749 esac
7751 rm -rf conftest*
7753 *-*-irix6*)
7754 # Find out which ABI we are using.
7755 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7756 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7757 (eval $ac_compile) 2>&5
7758 ac_status=$?
7759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7760 test $ac_status = 0; }; then
7761 if test "$lt_cv_prog_gnu_ld" = yes; then
7762 case `/usr/bin/file conftest.$ac_objext` in
7763 *32-bit*)
7764 LD="${LD-ld} -melf32bsmip"
7766 *N32*)
7767 LD="${LD-ld} -melf32bmipn32"
7769 *64-bit*)
7770 LD="${LD-ld} -melf64bmip"
7772 esac
7773 else
7774 case `/usr/bin/file conftest.$ac_objext` in
7775 *32-bit*)
7776 LD="${LD-ld} -32"
7778 *N32*)
7779 LD="${LD-ld} -n32"
7781 *64-bit*)
7782 LD="${LD-ld} -64"
7784 esac
7787 rm -rf conftest*
7790 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7791 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7792 # Find out which ABI we are using.
7793 echo 'int i;' > conftest.$ac_ext
7794 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7795 (eval $ac_compile) 2>&5
7796 ac_status=$?
7797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7798 test $ac_status = 0; }; then
7799 case `/usr/bin/file conftest.o` in
7800 *32-bit*)
7801 case $host in
7802 x86_64-*kfreebsd*-gnu)
7803 LD="${LD-ld} -m elf_i386_fbsd"
7805 x86_64-*linux*)
7806 case `/usr/bin/file conftest.o` in
7807 *x86-64*)
7808 LD="${LD-ld} -m elf32_x86_64"
7811 LD="${LD-ld} -m elf_i386"
7813 esac
7815 powerpc64le-*linux*)
7816 LD="${LD-ld} -m elf32lppclinux"
7818 powerpc64-*linux*)
7819 LD="${LD-ld} -m elf32ppclinux"
7821 s390x-*linux*)
7822 LD="${LD-ld} -m elf_s390"
7824 sparc64-*linux*)
7825 LD="${LD-ld} -m elf32_sparc"
7827 esac
7829 *64-bit*)
7830 case $host in
7831 x86_64-*kfreebsd*-gnu)
7832 LD="${LD-ld} -m elf_x86_64_fbsd"
7834 x86_64-*linux*)
7835 LD="${LD-ld} -m elf_x86_64"
7837 powerpcle-*linux*)
7838 LD="${LD-ld} -m elf64lppc"
7840 powerpc-*linux*)
7841 LD="${LD-ld} -m elf64ppc"
7843 s390*-*linux*|s390*-*tpf*)
7844 LD="${LD-ld} -m elf64_s390"
7846 sparc*-*linux*)
7847 LD="${LD-ld} -m elf64_sparc"
7849 esac
7851 esac
7853 rm -rf conftest*
7856 *-*-sco3.2v5*)
7857 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7858 SAVE_CFLAGS="$CFLAGS"
7859 CFLAGS="$CFLAGS -belf"
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7861 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7862 if ${lt_cv_cc_needs_belf+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 ac_ext=c
7866 ac_cpp='$CPP $CPPFLAGS'
7867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7871 if test x$gcc_no_link = xyes; then
7872 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7878 main ()
7882 return 0;
7884 _ACEOF
7885 if ac_fn_c_try_link "$LINENO"; then :
7886 lt_cv_cc_needs_belf=yes
7887 else
7888 lt_cv_cc_needs_belf=no
7890 rm -f core conftest.err conftest.$ac_objext \
7891 conftest$ac_exeext conftest.$ac_ext
7892 ac_ext=c
7893 ac_cpp='$CPP $CPPFLAGS'
7894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7900 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7901 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7902 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7903 CFLAGS="$SAVE_CFLAGS"
7906 sparc*-*solaris*)
7907 # Find out which ABI we are using.
7908 echo 'int i;' > conftest.$ac_ext
7909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7910 (eval $ac_compile) 2>&5
7911 ac_status=$?
7912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7913 test $ac_status = 0; }; then
7914 case `/usr/bin/file conftest.o` in
7915 *64-bit*)
7916 case $lt_cv_prog_gnu_ld in
7917 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7919 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7920 LD="${LD-ld} -64"
7923 esac
7925 esac
7927 rm -rf conftest*
7929 esac
7931 need_locks="$enable_libtool_lock"
7934 case $host_os in
7935 rhapsody* | darwin*)
7936 if test -n "$ac_tool_prefix"; then
7937 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7942 $as_echo_n "(cached) " >&6
7943 else
7944 if test -n "$DSYMUTIL"; then
7945 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7950 IFS=$as_save_IFS
7951 test -z "$as_dir" && as_dir=.
7952 for ac_exec_ext in '' $ac_executable_extensions; do
7953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 break 2
7958 done
7959 done
7960 IFS=$as_save_IFS
7964 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7965 if test -n "$DSYMUTIL"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7967 $as_echo "$DSYMUTIL" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7975 if test -z "$ac_cv_prog_DSYMUTIL"; then
7976 ac_ct_DSYMUTIL=$DSYMUTIL
7977 # Extract the first word of "dsymutil", so it can be a program name with args.
7978 set dummy dsymutil; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7982 $as_echo_n "(cached) " >&6
7983 else
7984 if test -n "$ac_ct_DSYMUTIL"; then
7985 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7990 IFS=$as_save_IFS
7991 test -z "$as_dir" && as_dir=.
7992 for ac_exec_ext in '' $ac_executable_extensions; do
7993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996 break 2
7998 done
7999 done
8000 IFS=$as_save_IFS
8004 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8007 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8008 else
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8013 if test "x$ac_ct_DSYMUTIL" = x; then
8014 DSYMUTIL=":"
8015 else
8016 case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022 DSYMUTIL=$ac_ct_DSYMUTIL
8024 else
8025 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8028 if test -n "$ac_tool_prefix"; then
8029 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8030 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8032 $as_echo_n "checking for $ac_word... " >&6; }
8033 if ${ac_cv_prog_NMEDIT+:} false; then :
8034 $as_echo_n "(cached) " >&6
8035 else
8036 if test -n "$NMEDIT"; then
8037 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8038 else
8039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 for as_dir in $PATH
8042 IFS=$as_save_IFS
8043 test -z "$as_dir" && as_dir=.
8044 for ac_exec_ext in '' $ac_executable_extensions; do
8045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8046 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 break 2
8050 done
8051 done
8052 IFS=$as_save_IFS
8056 NMEDIT=$ac_cv_prog_NMEDIT
8057 if test -n "$NMEDIT"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8059 $as_echo "$NMEDIT" >&6; }
8060 else
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8067 if test -z "$ac_cv_prog_NMEDIT"; then
8068 ac_ct_NMEDIT=$NMEDIT
8069 # Extract the first word of "nmedit", so it can be a program name with args.
8070 set dummy nmedit; ac_word=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8074 $as_echo_n "(cached) " >&6
8075 else
8076 if test -n "$ac_ct_NMEDIT"; then
8077 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8078 else
8079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 for as_dir in $PATH
8082 IFS=$as_save_IFS
8083 test -z "$as_dir" && as_dir=.
8084 for ac_exec_ext in '' $ac_executable_extensions; do
8085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8086 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8088 break 2
8090 done
8091 done
8092 IFS=$as_save_IFS
8096 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8097 if test -n "$ac_ct_NMEDIT"; then
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8099 $as_echo "$ac_ct_NMEDIT" >&6; }
8100 else
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8102 $as_echo "no" >&6; }
8105 if test "x$ac_ct_NMEDIT" = x; then
8106 NMEDIT=":"
8107 else
8108 case $cross_compiling:$ac_tool_warned in
8109 yes:)
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8112 ac_tool_warned=yes ;;
8113 esac
8114 NMEDIT=$ac_ct_NMEDIT
8116 else
8117 NMEDIT="$ac_cv_prog_NMEDIT"
8120 if test -n "$ac_tool_prefix"; then
8121 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8122 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_LIPO+:} false; then :
8126 $as_echo_n "(cached) " >&6
8127 else
8128 if test -n "$LIPO"; then
8129 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8134 IFS=$as_save_IFS
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 break 2
8142 done
8143 done
8144 IFS=$as_save_IFS
8148 LIPO=$ac_cv_prog_LIPO
8149 if test -n "$LIPO"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8151 $as_echo "$LIPO" >&6; }
8152 else
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test -z "$ac_cv_prog_LIPO"; then
8160 ac_ct_LIPO=$LIPO
8161 # Extract the first word of "lipo", so it can be a program name with args.
8162 set dummy lipo; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 if test -n "$ac_ct_LIPO"; then
8169 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8170 else
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8172 for as_dir in $PATH
8174 IFS=$as_save_IFS
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8178 ac_cv_prog_ac_ct_LIPO="lipo"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8180 break 2
8182 done
8183 done
8184 IFS=$as_save_IFS
8188 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8189 if test -n "$ac_ct_LIPO"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8191 $as_echo "$ac_ct_LIPO" >&6; }
8192 else
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8194 $as_echo "no" >&6; }
8197 if test "x$ac_ct_LIPO" = x; then
8198 LIPO=":"
8199 else
8200 case $cross_compiling:$ac_tool_warned in
8201 yes:)
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8204 ac_tool_warned=yes ;;
8205 esac
8206 LIPO=$ac_ct_LIPO
8208 else
8209 LIPO="$ac_cv_prog_LIPO"
8212 if test -n "$ac_tool_prefix"; then
8213 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8214 set dummy ${ac_tool_prefix}otool; ac_word=$2
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8216 $as_echo_n "checking for $ac_word... " >&6; }
8217 if ${ac_cv_prog_OTOOL+:} false; then :
8218 $as_echo_n "(cached) " >&6
8219 else
8220 if test -n "$OTOOL"; then
8221 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8222 else
8223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8224 for as_dir in $PATH
8226 IFS=$as_save_IFS
8227 test -z "$as_dir" && as_dir=.
8228 for ac_exec_ext in '' $ac_executable_extensions; do
8229 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8230 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 break 2
8234 done
8235 done
8236 IFS=$as_save_IFS
8240 OTOOL=$ac_cv_prog_OTOOL
8241 if test -n "$OTOOL"; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8243 $as_echo "$OTOOL" >&6; }
8244 else
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8251 if test -z "$ac_cv_prog_OTOOL"; then
8252 ac_ct_OTOOL=$OTOOL
8253 # Extract the first word of "otool", so it can be a program name with args.
8254 set dummy otool; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8256 $as_echo_n "checking for $ac_word... " >&6; }
8257 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8258 $as_echo_n "(cached) " >&6
8259 else
8260 if test -n "$ac_ct_OTOOL"; then
8261 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8262 else
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 for as_dir in $PATH
8266 IFS=$as_save_IFS
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8270 ac_cv_prog_ac_ct_OTOOL="otool"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8272 break 2
8274 done
8275 done
8276 IFS=$as_save_IFS
8280 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8281 if test -n "$ac_ct_OTOOL"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8283 $as_echo "$ac_ct_OTOOL" >&6; }
8284 else
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8286 $as_echo "no" >&6; }
8289 if test "x$ac_ct_OTOOL" = x; then
8290 OTOOL=":"
8291 else
8292 case $cross_compiling:$ac_tool_warned in
8293 yes:)
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8296 ac_tool_warned=yes ;;
8297 esac
8298 OTOOL=$ac_ct_OTOOL
8300 else
8301 OTOOL="$ac_cv_prog_OTOOL"
8304 if test -n "$ac_tool_prefix"; then
8305 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8306 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8308 $as_echo_n "checking for $ac_word... " >&6; }
8309 if ${ac_cv_prog_OTOOL64+:} false; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 if test -n "$OTOOL64"; then
8313 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8314 else
8315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 for as_dir in $PATH
8318 IFS=$as_save_IFS
8319 test -z "$as_dir" && as_dir=.
8320 for ac_exec_ext in '' $ac_executable_extensions; do
8321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8322 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8324 break 2
8326 done
8327 done
8328 IFS=$as_save_IFS
8332 OTOOL64=$ac_cv_prog_OTOOL64
8333 if test -n "$OTOOL64"; then
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8335 $as_echo "$OTOOL64" >&6; }
8336 else
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8338 $as_echo "no" >&6; }
8343 if test -z "$ac_cv_prog_OTOOL64"; then
8344 ac_ct_OTOOL64=$OTOOL64
8345 # Extract the first word of "otool64", so it can be a program name with args.
8346 set dummy otool64; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$ac_ct_OTOOL64"; then
8353 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_ac_ct_OTOOL64="otool64"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8373 if test -n "$ac_ct_OTOOL64"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8375 $as_echo "$ac_ct_OTOOL64" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8381 if test "x$ac_ct_OTOOL64" = x; then
8382 OTOOL64=":"
8383 else
8384 case $cross_compiling:$ac_tool_warned in
8385 yes:)
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8388 ac_tool_warned=yes ;;
8389 esac
8390 OTOOL64=$ac_ct_OTOOL64
8392 else
8393 OTOOL64="$ac_cv_prog_OTOOL64"
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8423 $as_echo_n "checking for -single_module linker flag... " >&6; }
8424 if ${lt_cv_apple_cc_single_mod+:} false; then :
8425 $as_echo_n "(cached) " >&6
8426 else
8427 lt_cv_apple_cc_single_mod=no
8428 if test -z "${LT_MULTI_MODULE}"; then
8429 # By default we will add the -single_module flag. You can override
8430 # by either setting the environment variable LT_MULTI_MODULE
8431 # non-empty at configure time, or by adding -multi_module to the
8432 # link flags.
8433 rm -rf libconftest.dylib*
8434 echo "int foo(void){return 1;}" > conftest.c
8435 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8436 -dynamiclib -Wl,-single_module conftest.c" >&5
8437 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8438 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8439 _lt_result=$?
8440 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8441 lt_cv_apple_cc_single_mod=yes
8442 else
8443 cat conftest.err >&5
8445 rm -rf libconftest.dylib*
8446 rm -f conftest.*
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8450 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8452 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8453 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8454 $as_echo_n "(cached) " >&6
8455 else
8456 lt_cv_ld_exported_symbols_list=no
8457 save_LDFLAGS=$LDFLAGS
8458 echo "_main" > conftest.sym
8459 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8460 if test x$gcc_no_link = xyes; then
8461 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8467 main ()
8471 return 0;
8473 _ACEOF
8474 if ac_fn_c_try_link "$LINENO"; then :
8475 lt_cv_ld_exported_symbols_list=yes
8476 else
8477 lt_cv_ld_exported_symbols_list=no
8479 rm -f core conftest.err conftest.$ac_objext \
8480 conftest$ac_exeext conftest.$ac_ext
8481 LDFLAGS="$save_LDFLAGS"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8485 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8487 $as_echo_n "checking for -force_load linker flag... " >&6; }
8488 if ${lt_cv_ld_force_load+:} false; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_ld_force_load=no
8492 cat > conftest.c << _LT_EOF
8493 int forced_loaded() { return 2;}
8494 _LT_EOF
8495 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8496 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8497 echo "$AR cru libconftest.a conftest.o" >&5
8498 $AR cru libconftest.a conftest.o 2>&5
8499 cat > conftest.c << _LT_EOF
8500 int main() { return 0;}
8501 _LT_EOF
8502 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8503 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8504 _lt_result=$?
8505 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8506 lt_cv_ld_force_load=yes
8507 else
8508 cat conftest.err >&5
8510 rm -f conftest.err libconftest.a conftest conftest.c
8511 rm -rf conftest.dSYM
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8515 $as_echo "$lt_cv_ld_force_load" >&6; }
8516 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8517 # build without first building modern cctools / linker.
8518 case $host_cpu-$host_os in
8519 *-rhapsody* | *-darwin1.[012])
8520 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8521 *-darwin1.*)
8522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8523 *-darwin*)
8524 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8525 # deployment target is forced to an earlier version.
8526 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8527 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8529 10.[012][,.]*)
8530 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8534 esac
8536 esac
8537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8538 _lt_dar_single_mod='$single_module'
8540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8541 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8542 else
8543 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8545 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8546 _lt_dsymutil='~$DSYMUTIL $lib || :'
8547 else
8548 _lt_dsymutil=
8551 esac
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8554 $as_echo_n "checking for ANSI C header files... " >&6; }
8555 if ${ac_cv_header_stdc+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <stdlib.h>
8561 #include <stdarg.h>
8562 #include <string.h>
8563 #include <float.h>
8566 main ()
8570 return 0;
8572 _ACEOF
8573 if ac_fn_c_try_compile "$LINENO"; then :
8574 ac_cv_header_stdc=yes
8575 else
8576 ac_cv_header_stdc=no
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 if test $ac_cv_header_stdc = yes; then
8581 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8583 /* end confdefs.h. */
8584 #include <string.h>
8586 _ACEOF
8587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8588 $EGREP "memchr" >/dev/null 2>&1; then :
8590 else
8591 ac_cv_header_stdc=no
8593 rm -f conftest*
8597 if test $ac_cv_header_stdc = yes; then
8598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8600 /* end confdefs.h. */
8601 #include <stdlib.h>
8603 _ACEOF
8604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8605 $EGREP "free" >/dev/null 2>&1; then :
8607 else
8608 ac_cv_header_stdc=no
8610 rm -f conftest*
8614 if test $ac_cv_header_stdc = yes; then
8615 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8616 if test "$cross_compiling" = yes; then :
8618 else
8619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8620 /* end confdefs.h. */
8621 #include <ctype.h>
8622 #include <stdlib.h>
8623 #if ((' ' & 0x0FF) == 0x020)
8624 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8625 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8626 #else
8627 # define ISLOWER(c) \
8628 (('a' <= (c) && (c) <= 'i') \
8629 || ('j' <= (c) && (c) <= 'r') \
8630 || ('s' <= (c) && (c) <= 'z'))
8631 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8632 #endif
8634 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8636 main ()
8638 int i;
8639 for (i = 0; i < 256; i++)
8640 if (XOR (islower (i), ISLOWER (i))
8641 || toupper (i) != TOUPPER (i))
8642 return 2;
8643 return 0;
8645 _ACEOF
8646 if ac_fn_c_try_run "$LINENO"; then :
8648 else
8649 ac_cv_header_stdc=no
8651 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8652 conftest.$ac_objext conftest.beam conftest.$ac_ext
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8658 $as_echo "$ac_cv_header_stdc" >&6; }
8659 if test $ac_cv_header_stdc = yes; then
8661 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8665 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8666 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8667 inttypes.h stdint.h unistd.h
8668 do :
8669 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8670 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8672 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8673 cat >>confdefs.h <<_ACEOF
8674 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 _ACEOF
8679 done
8682 for ac_header in dlfcn.h
8683 do :
8684 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8686 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8687 cat >>confdefs.h <<_ACEOF
8688 #define HAVE_DLFCN_H 1
8689 _ACEOF
8693 done
8700 # Set options
8705 enable_win32_dll=no
8708 # Check whether --enable-shared was given.
8709 if test "${enable_shared+set}" = set; then :
8710 enableval=$enable_shared; p=${PACKAGE-default}
8711 case $enableval in
8712 yes) enable_shared=yes ;;
8713 no) enable_shared=no ;;
8715 enable_shared=no
8716 # Look at the argument we got. We use all the common list separators.
8717 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8718 for pkg in $enableval; do
8719 IFS="$lt_save_ifs"
8720 if test "X$pkg" = "X$p"; then
8721 enable_shared=yes
8723 done
8724 IFS="$lt_save_ifs"
8726 esac
8727 else
8728 enable_shared=yes
8739 # Check whether --enable-static was given.
8740 if test "${enable_static+set}" = set; then :
8741 enableval=$enable_static; p=${PACKAGE-default}
8742 case $enableval in
8743 yes) enable_static=yes ;;
8744 no) enable_static=no ;;
8746 enable_static=no
8747 # Look at the argument we got. We use all the common list separators.
8748 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8749 for pkg in $enableval; do
8750 IFS="$lt_save_ifs"
8751 if test "X$pkg" = "X$p"; then
8752 enable_static=yes
8754 done
8755 IFS="$lt_save_ifs"
8757 esac
8758 else
8759 enable_static=yes
8771 # Check whether --with-pic was given.
8772 if test "${with_pic+set}" = set; then :
8773 withval=$with_pic; pic_mode="$withval"
8774 else
8775 pic_mode=default
8779 test -z "$pic_mode" && pic_mode=default
8787 # Check whether --enable-fast-install was given.
8788 if test "${enable_fast_install+set}" = set; then :
8789 enableval=$enable_fast_install; p=${PACKAGE-default}
8790 case $enableval in
8791 yes) enable_fast_install=yes ;;
8792 no) enable_fast_install=no ;;
8794 enable_fast_install=no
8795 # Look at the argument we got. We use all the common list separators.
8796 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8797 for pkg in $enableval; do
8798 IFS="$lt_save_ifs"
8799 if test "X$pkg" = "X$p"; then
8800 enable_fast_install=yes
8802 done
8803 IFS="$lt_save_ifs"
8805 esac
8806 else
8807 enable_fast_install=yes
8820 # This can be used to rebuild libtool when needed
8821 LIBTOOL_DEPS="$ltmain"
8823 # Always use our own libtool.
8824 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8851 test -z "$LN_S" && LN_S="ln -s"
8866 if test -n "${ZSH_VERSION+set}" ; then
8867 setopt NO_GLOB_SUBST
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8871 $as_echo_n "checking for objdir... " >&6; }
8872 if ${lt_cv_objdir+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 rm -f .libs 2>/dev/null
8876 mkdir .libs 2>/dev/null
8877 if test -d .libs; then
8878 lt_cv_objdir=.libs
8879 else
8880 # MS-DOS does not allow filenames that begin with a dot.
8881 lt_cv_objdir=_libs
8883 rmdir .libs 2>/dev/null
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8886 $as_echo "$lt_cv_objdir" >&6; }
8887 objdir=$lt_cv_objdir
8893 cat >>confdefs.h <<_ACEOF
8894 #define LT_OBJDIR "$lt_cv_objdir/"
8895 _ACEOF
8900 case $host_os in
8901 aix3*)
8902 # AIX sometimes has problems with the GCC collect2 program. For some
8903 # reason, if we set the COLLECT_NAMES environment variable, the problems
8904 # vanish in a puff of smoke.
8905 if test "X${COLLECT_NAMES+set}" != Xset; then
8906 COLLECT_NAMES=
8907 export COLLECT_NAMES
8910 esac
8912 # Global variables:
8913 ofile=libtool
8914 can_build_shared=yes
8916 # All known linkers require a `.a' archive for static linking (except MSVC,
8917 # which needs '.lib').
8918 libext=a
8920 with_gnu_ld="$lt_cv_prog_gnu_ld"
8922 old_CC="$CC"
8923 old_CFLAGS="$CFLAGS"
8925 # Set sane defaults for various variables
8926 test -z "$CC" && CC=cc
8927 test -z "$LTCC" && LTCC=$CC
8928 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8929 test -z "$LD" && LD=ld
8930 test -z "$ac_objext" && ac_objext=o
8932 for cc_temp in $compiler""; do
8933 case $cc_temp in
8934 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8935 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8936 \-*) ;;
8937 *) break;;
8938 esac
8939 done
8940 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8943 # Only perform the check for file, if the check method requires it
8944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8945 case $deplibs_check_method in
8946 file_magic*)
8947 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8949 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8950 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8951 $as_echo_n "(cached) " >&6
8952 else
8953 case $MAGIC_CMD in
8954 [\\/*] | ?:[\\/]*)
8955 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8958 lt_save_MAGIC_CMD="$MAGIC_CMD"
8959 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8960 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8961 for ac_dir in $ac_dummy; do
8962 IFS="$lt_save_ifs"
8963 test -z "$ac_dir" && ac_dir=.
8964 if test -f $ac_dir/${ac_tool_prefix}file; then
8965 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8966 if test -n "$file_magic_test_file"; then
8967 case $deplibs_check_method in
8968 "file_magic "*)
8969 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8970 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8971 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8972 $EGREP "$file_magic_regex" > /dev/null; then
8974 else
8975 cat <<_LT_EOF 1>&2
8977 *** Warning: the command libtool uses to detect shared libraries,
8978 *** $file_magic_cmd, produces output that libtool cannot recognize.
8979 *** The result is that libtool may fail to recognize shared libraries
8980 *** as such. This will affect the creation of libtool libraries that
8981 *** depend on shared libraries, but programs linked with such libtool
8982 *** libraries will work regardless of this problem. Nevertheless, you
8983 *** may want to report the problem to your system manager and/or to
8984 *** bug-libtool@gnu.org
8986 _LT_EOF
8987 fi ;;
8988 esac
8990 break
8992 done
8993 IFS="$lt_save_ifs"
8994 MAGIC_CMD="$lt_save_MAGIC_CMD"
8996 esac
8999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9000 if test -n "$MAGIC_CMD"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9002 $as_echo "$MAGIC_CMD" >&6; }
9003 else
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9012 if test -z "$lt_cv_path_MAGIC_CMD"; then
9013 if test -n "$ac_tool_prefix"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9015 $as_echo_n "checking for file... " >&6; }
9016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9017 $as_echo_n "(cached) " >&6
9018 else
9019 case $MAGIC_CMD in
9020 [\\/*] | ?:[\\/]*)
9021 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9024 lt_save_MAGIC_CMD="$MAGIC_CMD"
9025 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9026 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9027 for ac_dir in $ac_dummy; do
9028 IFS="$lt_save_ifs"
9029 test -z "$ac_dir" && ac_dir=.
9030 if test -f $ac_dir/file; then
9031 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9032 if test -n "$file_magic_test_file"; then
9033 case $deplibs_check_method in
9034 "file_magic "*)
9035 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9036 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9037 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9038 $EGREP "$file_magic_regex" > /dev/null; then
9040 else
9041 cat <<_LT_EOF 1>&2
9043 *** Warning: the command libtool uses to detect shared libraries,
9044 *** $file_magic_cmd, produces output that libtool cannot recognize.
9045 *** The result is that libtool may fail to recognize shared libraries
9046 *** as such. This will affect the creation of libtool libraries that
9047 *** depend on shared libraries, but programs linked with such libtool
9048 *** libraries will work regardless of this problem. Nevertheless, you
9049 *** may want to report the problem to your system manager and/or to
9050 *** bug-libtool@gnu.org
9052 _LT_EOF
9053 fi ;;
9054 esac
9056 break
9058 done
9059 IFS="$lt_save_ifs"
9060 MAGIC_CMD="$lt_save_MAGIC_CMD"
9062 esac
9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9066 if test -n "$MAGIC_CMD"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9068 $as_echo "$MAGIC_CMD" >&6; }
9069 else
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9071 $as_echo "no" >&6; }
9075 else
9076 MAGIC_CMD=:
9082 esac
9084 # Use C for the default configuration in the libtool script
9086 lt_save_CC="$CC"
9087 ac_ext=c
9088 ac_cpp='$CPP $CPPFLAGS'
9089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9094 # Source file extension for C test sources.
9095 ac_ext=c
9097 # Object file extension for compiled C test sources.
9098 objext=o
9099 objext=$objext
9101 # Code to be used in simple compile tests
9102 lt_simple_compile_test_code="int some_variable = 0;"
9104 # Code to be used in simple link tests
9105 lt_simple_link_test_code='int main(){return(0);}'
9113 # If no C compiler was specified, use CC.
9114 LTCC=${LTCC-"$CC"}
9116 # If no C compiler flags were specified, use CFLAGS.
9117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9119 # Allow CC to be a program name with arguments.
9120 compiler=$CC
9122 # Save the default compiler, since it gets overwritten when the other
9123 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9124 compiler_DEFAULT=$CC
9126 # save warnings/boilerplate of simple test code
9127 ac_outfile=conftest.$ac_objext
9128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9130 _lt_compiler_boilerplate=`cat conftest.err`
9131 $RM conftest*
9133 ac_outfile=conftest.$ac_objext
9134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9136 _lt_linker_boilerplate=`cat conftest.err`
9137 $RM -r conftest*
9140 ## CAVEAT EMPTOR:
9141 ## There is no encapsulation within the following macros, do not change
9142 ## the running order or otherwise move them around unless you know exactly
9143 ## what you are doing...
9144 if test -n "$compiler"; then
9146 lt_prog_compiler_no_builtin_flag=
9148 if test "$GCC" = yes; then
9149 case $cc_basename in
9150 nvcc*)
9151 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9153 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9154 esac
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9157 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9158 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 lt_cv_prog_compiler_rtti_exceptions=no
9162 ac_outfile=conftest.$ac_objext
9163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9164 lt_compiler_flag="-fno-rtti -fno-exceptions"
9165 # Insert the option either (1) after the last *FLAGS variable, or
9166 # (2) before a word containing "conftest.", or (3) at the end.
9167 # Note that $ac_compile itself does not contain backslashes and begins
9168 # with a dollar sign (not a hyphen), so the echo should work correctly.
9169 # The option is referenced via a variable to avoid confusing sed.
9170 lt_compile=`echo "$ac_compile" | $SED \
9171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9173 -e 's:$: $lt_compiler_flag:'`
9174 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9175 (eval "$lt_compile" 2>conftest.err)
9176 ac_status=$?
9177 cat conftest.err >&5
9178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179 if (exit $ac_status) && test -s "$ac_outfile"; then
9180 # The compiler can only warn and ignore the option if not recognized
9181 # So say no if there are warnings other than the usual output.
9182 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9185 lt_cv_prog_compiler_rtti_exceptions=yes
9188 $RM conftest*
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9192 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9194 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9195 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9196 else
9207 lt_prog_compiler_wl=
9208 lt_prog_compiler_pic=
9209 lt_prog_compiler_static=
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9212 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9214 if test "$GCC" = yes; then
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_static='-static'
9218 case $host_os in
9219 aix*)
9220 # All AIX code is PIC.
9221 if test "$host_cpu" = ia64; then
9222 # AIX 5 now supports IA64 processor
9223 lt_prog_compiler_static='-Bstatic'
9225 lt_prog_compiler_pic='-fPIC'
9228 amigaos*)
9229 case $host_cpu in
9230 powerpc)
9231 # see comment about AmigaOS4 .so support
9232 lt_prog_compiler_pic='-fPIC'
9234 m68k)
9235 # FIXME: we need at least 68020 code to build shared libraries, but
9236 # adding the `-m68020' flag to GCC prevents building anything better,
9237 # like `-m68040'.
9238 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9240 esac
9243 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9244 # PIC is the default for these OSes.
9247 mingw* | cygwin* | pw32* | os2* | cegcc*)
9248 # This hack is so that the source file can tell whether it is being
9249 # built for inclusion in a dll (and should export symbols for example).
9250 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9251 # (--disable-auto-import) libraries
9252 lt_prog_compiler_pic='-DDLL_EXPORT'
9255 darwin* | rhapsody*)
9256 # PIC is the default on this platform
9257 # Common symbols not allowed in MH_DYLIB files
9258 lt_prog_compiler_pic='-fno-common'
9261 haiku*)
9262 # PIC is the default for Haiku.
9263 # The "-static" flag exists, but is broken.
9264 lt_prog_compiler_static=
9267 hpux*)
9268 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9269 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9270 # sets the default TLS model and affects inlining.
9271 case $host_cpu in
9272 hppa*64*)
9273 # +Z the default
9276 lt_prog_compiler_pic='-fPIC'
9278 esac
9281 interix[3-9]*)
9282 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9283 # Instead, we relocate shared libraries at runtime.
9286 msdosdjgpp*)
9287 # Just because we use GCC doesn't mean we suddenly get shared libraries
9288 # on systems that don't support them.
9289 lt_prog_compiler_can_build_shared=no
9290 enable_shared=no
9293 *nto* | *qnx*)
9294 # QNX uses GNU C++, but need to define -shared option too, otherwise
9295 # it will coredump.
9296 lt_prog_compiler_pic='-fPIC -shared'
9299 sysv4*MP*)
9300 if test -d /usr/nec; then
9301 lt_prog_compiler_pic=-Kconform_pic
9306 lt_prog_compiler_pic='-fPIC'
9308 esac
9310 case $cc_basename in
9311 nvcc*) # Cuda Compiler Driver 2.2
9312 lt_prog_compiler_wl='-Xlinker '
9313 lt_prog_compiler_pic='-Xcompiler -fPIC'
9315 esac
9316 else
9317 # PORTME Check for flag to pass linker flags through the system compiler.
9318 case $host_os in
9319 aix*)
9320 lt_prog_compiler_wl='-Wl,'
9321 if test "$host_cpu" = ia64; then
9322 # AIX 5 now supports IA64 processor
9323 lt_prog_compiler_static='-Bstatic'
9324 else
9325 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9329 mingw* | cygwin* | pw32* | os2* | cegcc*)
9330 # This hack is so that the source file can tell whether it is being
9331 # built for inclusion in a dll (and should export symbols for example).
9332 lt_prog_compiler_pic='-DDLL_EXPORT'
9335 hpux9* | hpux10* | hpux11*)
9336 lt_prog_compiler_wl='-Wl,'
9337 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9338 # not for PA HP-UX.
9339 case $host_cpu in
9340 hppa*64*|ia64*)
9341 # +Z the default
9344 lt_prog_compiler_pic='+Z'
9346 esac
9347 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9348 lt_prog_compiler_static='${wl}-a ${wl}archive'
9351 irix5* | irix6* | nonstopux*)
9352 lt_prog_compiler_wl='-Wl,'
9353 # PIC (with -KPIC) is the default.
9354 lt_prog_compiler_static='-non_shared'
9357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9358 case $cc_basename in
9359 # old Intel for x86_64 which still supported -KPIC.
9360 ecc*)
9361 lt_prog_compiler_wl='-Wl,'
9362 lt_prog_compiler_pic='-KPIC'
9363 lt_prog_compiler_static='-static'
9365 # icc used to be incompatible with GCC.
9366 # ICC 10 doesn't accept -KPIC any more.
9367 icc* | ifort*)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fPIC'
9370 lt_prog_compiler_static='-static'
9372 # Lahey Fortran 8.1.
9373 lf95*)
9374 lt_prog_compiler_wl='-Wl,'
9375 lt_prog_compiler_pic='--shared'
9376 lt_prog_compiler_static='--static'
9378 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9379 # Portland Group compilers (*not* the Pentium gcc compiler,
9380 # which looks to be a dead project)
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-fpic'
9383 lt_prog_compiler_static='-Bstatic'
9385 ccc*)
9386 lt_prog_compiler_wl='-Wl,'
9387 # All Alpha code is PIC.
9388 lt_prog_compiler_static='-non_shared'
9390 xl* | bgxl* | bgf* | mpixl*)
9391 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9392 lt_prog_compiler_wl='-Wl,'
9393 lt_prog_compiler_pic='-qpic'
9394 lt_prog_compiler_static='-qstaticlink'
9397 case `$CC -V 2>&1 | sed 5q` in
9398 *Sun\ F* | *Sun*Fortran*)
9399 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9400 lt_prog_compiler_pic='-KPIC'
9401 lt_prog_compiler_static='-Bstatic'
9402 lt_prog_compiler_wl=''
9404 *Sun\ C*)
9405 # Sun C 5.9
9406 lt_prog_compiler_pic='-KPIC'
9407 lt_prog_compiler_static='-Bstatic'
9408 lt_prog_compiler_wl='-Wl,'
9410 esac
9412 esac
9415 newsos6)
9416 lt_prog_compiler_pic='-KPIC'
9417 lt_prog_compiler_static='-Bstatic'
9420 *nto* | *qnx*)
9421 # QNX uses GNU C++, but need to define -shared option too, otherwise
9422 # it will coredump.
9423 lt_prog_compiler_pic='-fPIC -shared'
9426 osf3* | osf4* | osf5*)
9427 lt_prog_compiler_wl='-Wl,'
9428 # All OSF/1 code is PIC.
9429 lt_prog_compiler_static='-non_shared'
9432 rdos*)
9433 lt_prog_compiler_static='-non_shared'
9436 solaris*)
9437 lt_prog_compiler_pic='-KPIC'
9438 lt_prog_compiler_static='-Bstatic'
9439 case $cc_basename in
9440 f77* | f90* | f95*)
9441 lt_prog_compiler_wl='-Qoption ld ';;
9443 lt_prog_compiler_wl='-Wl,';;
9444 esac
9447 sunos4*)
9448 lt_prog_compiler_wl='-Qoption ld '
9449 lt_prog_compiler_pic='-PIC'
9450 lt_prog_compiler_static='-Bstatic'
9453 sysv4 | sysv4.2uw2* | sysv4.3*)
9454 lt_prog_compiler_wl='-Wl,'
9455 lt_prog_compiler_pic='-KPIC'
9456 lt_prog_compiler_static='-Bstatic'
9459 sysv4*MP*)
9460 if test -d /usr/nec ;then
9461 lt_prog_compiler_pic='-Kconform_pic'
9462 lt_prog_compiler_static='-Bstatic'
9466 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9467 lt_prog_compiler_wl='-Wl,'
9468 lt_prog_compiler_pic='-KPIC'
9469 lt_prog_compiler_static='-Bstatic'
9472 unicos*)
9473 lt_prog_compiler_wl='-Wl,'
9474 lt_prog_compiler_can_build_shared=no
9477 uts4*)
9478 lt_prog_compiler_pic='-pic'
9479 lt_prog_compiler_static='-Bstatic'
9483 lt_prog_compiler_can_build_shared=no
9485 esac
9488 case $host_os in
9489 # For platforms which do not support PIC, -DPIC is meaningless:
9490 *djgpp*)
9491 lt_prog_compiler_pic=
9494 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9496 esac
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9498 $as_echo "$lt_prog_compiler_pic" >&6; }
9506 # Check to make sure the PIC flag actually works.
9508 if test -n "$lt_prog_compiler_pic"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9510 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9511 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 lt_cv_prog_compiler_pic_works=no
9515 ac_outfile=conftest.$ac_objext
9516 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9517 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9518 # Insert the option either (1) after the last *FLAGS variable, or
9519 # (2) before a word containing "conftest.", or (3) at the end.
9520 # Note that $ac_compile itself does not contain backslashes and begins
9521 # with a dollar sign (not a hyphen), so the echo should work correctly.
9522 # The option is referenced via a variable to avoid confusing sed.
9523 lt_compile=`echo "$ac_compile" | $SED \
9524 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9525 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9526 -e 's:$: $lt_compiler_flag:'`
9527 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9528 (eval "$lt_compile" 2>conftest.err)
9529 ac_status=$?
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 if (exit $ac_status) && test -s "$ac_outfile"; then
9533 # The compiler can only warn and ignore the option if not recognized
9534 # So say no if there are warnings other than the usual output.
9535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9536 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9537 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9538 lt_cv_prog_compiler_pic_works=yes
9541 $RM conftest*
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9545 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9547 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9548 case $lt_prog_compiler_pic in
9549 "" | " "*) ;;
9550 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9551 esac
9552 else
9553 lt_prog_compiler_pic=
9554 lt_prog_compiler_can_build_shared=no
9565 # Check to make sure the static flag actually works.
9567 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9569 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9570 if ${lt_cv_prog_compiler_static_works+:} false; then :
9571 $as_echo_n "(cached) " >&6
9572 else
9573 lt_cv_prog_compiler_static_works=no
9574 save_LDFLAGS="$LDFLAGS"
9575 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9578 # The linker can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 if test -s conftest.err; then
9581 # Append any errors to the config.log.
9582 cat conftest.err 1>&5
9583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9585 if diff conftest.exp conftest.er2 >/dev/null; then
9586 lt_cv_prog_compiler_static_works=yes
9588 else
9589 lt_cv_prog_compiler_static_works=yes
9592 $RM -r conftest*
9593 LDFLAGS="$save_LDFLAGS"
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9597 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9599 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9601 else
9602 lt_prog_compiler_static=
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9612 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9613 if ${lt_cv_prog_compiler_c_o+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 lt_cv_prog_compiler_c_o=no
9617 $RM -r conftest 2>/dev/null
9618 mkdir conftest
9619 cd conftest
9620 mkdir out
9621 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9623 lt_compiler_flag="-o out/conftest2.$ac_objext"
9624 # Insert the option either (1) after the last *FLAGS variable, or
9625 # (2) before a word containing "conftest.", or (3) at the end.
9626 # Note that $ac_compile itself does not contain backslashes and begins
9627 # with a dollar sign (not a hyphen), so the echo should work correctly.
9628 lt_compile=`echo "$ac_compile" | $SED \
9629 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9630 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9631 -e 's:$: $lt_compiler_flag:'`
9632 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>out/conftest.err)
9634 ac_status=$?
9635 cat out/conftest.err >&5
9636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9637 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9638 then
9639 # The compiler can only warn and ignore the option if not recognized
9640 # So say no if there are warnings
9641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9642 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9643 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9644 lt_cv_prog_compiler_c_o=yes
9647 chmod u+w . 2>&5
9648 $RM conftest*
9649 # SGI C++ compiler will create directory out/ii_files/ for
9650 # template instantiation
9651 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9652 $RM out/* && rmdir out
9653 cd ..
9654 $RM -r conftest
9655 $RM conftest*
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9659 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9668 if ${lt_cv_prog_compiler_c_o+:} false; then :
9669 $as_echo_n "(cached) " >&6
9670 else
9671 lt_cv_prog_compiler_c_o=no
9672 $RM -r conftest 2>/dev/null
9673 mkdir conftest
9674 cd conftest
9675 mkdir out
9676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9678 lt_compiler_flag="-o out/conftest2.$ac_objext"
9679 # Insert the option either (1) after the last *FLAGS variable, or
9680 # (2) before a word containing "conftest.", or (3) at the end.
9681 # Note that $ac_compile itself does not contain backslashes and begins
9682 # with a dollar sign (not a hyphen), so the echo should work correctly.
9683 lt_compile=`echo "$ac_compile" | $SED \
9684 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9685 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9686 -e 's:$: $lt_compiler_flag:'`
9687 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9688 (eval "$lt_compile" 2>out/conftest.err)
9689 ac_status=$?
9690 cat out/conftest.err >&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9693 then
9694 # The compiler can only warn and ignore the option if not recognized
9695 # So say no if there are warnings
9696 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9697 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9698 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9699 lt_cv_prog_compiler_c_o=yes
9702 chmod u+w . 2>&5
9703 $RM conftest*
9704 # SGI C++ compiler will create directory out/ii_files/ for
9705 # template instantiation
9706 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9707 $RM out/* && rmdir out
9708 cd ..
9709 $RM -r conftest
9710 $RM conftest*
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9719 hard_links="nottested"
9720 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9721 # do not overwrite the value of need_locks provided by the user
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9723 $as_echo_n "checking if we can lock with hard links... " >&6; }
9724 hard_links=yes
9725 $RM conftest*
9726 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9727 touch conftest.a
9728 ln conftest.a conftest.b 2>&5 || hard_links=no
9729 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9731 $as_echo "$hard_links" >&6; }
9732 if test "$hard_links" = no; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9734 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9735 need_locks=warn
9737 else
9738 need_locks=no
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9747 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9749 runpath_var=
9750 allow_undefined_flag=
9751 always_export_symbols=no
9752 archive_cmds=
9753 archive_expsym_cmds=
9754 compiler_needs_object=no
9755 enable_shared_with_static_runtimes=no
9756 export_dynamic_flag_spec=
9757 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9758 hardcode_automatic=no
9759 hardcode_direct=no
9760 hardcode_direct_absolute=no
9761 hardcode_libdir_flag_spec=
9762 hardcode_libdir_flag_spec_ld=
9763 hardcode_libdir_separator=
9764 hardcode_minus_L=no
9765 hardcode_shlibpath_var=unsupported
9766 inherit_rpath=no
9767 link_all_deplibs=unknown
9768 module_cmds=
9769 module_expsym_cmds=
9770 old_archive_from_new_cmds=
9771 old_archive_from_expsyms_cmds=
9772 thread_safe_flag_spec=
9773 whole_archive_flag_spec=
9774 # include_expsyms should be a list of space-separated symbols to be *always*
9775 # included in the symbol list
9776 include_expsyms=
9777 # exclude_expsyms can be an extended regexp of symbols to exclude
9778 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9779 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9780 # as well as any symbol that contains `d'.
9781 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9782 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9783 # platforms (ab)use it in PIC code, but their linkers get confused if
9784 # the symbol is explicitly referenced. Since portable code cannot
9785 # rely on this symbol name, it's probably fine to never include it in
9786 # preloaded symbol tables.
9787 # Exclude shared library initialization/finalization symbols.
9788 extract_expsyms_cmds=
9790 case $host_os in
9791 cygwin* | mingw* | pw32* | cegcc*)
9792 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9793 # When not using gcc, we currently assume that we are using
9794 # Microsoft Visual C++.
9795 if test "$GCC" != yes; then
9796 with_gnu_ld=no
9799 interix*)
9800 # we just hope/assume this is gcc and not c89 (= MSVC++)
9801 with_gnu_ld=yes
9803 openbsd*)
9804 with_gnu_ld=no
9806 esac
9808 ld_shlibs=yes
9810 # On some targets, GNU ld is compatible enough with the native linker
9811 # that we're better off using the native interface for both.
9812 lt_use_gnu_ld_interface=no
9813 if test "$with_gnu_ld" = yes; then
9814 case $host_os in
9815 aix*)
9816 # The AIX port of GNU ld has always aspired to compatibility
9817 # with the native linker. However, as the warning in the GNU ld
9818 # block says, versions before 2.19.5* couldn't really create working
9819 # shared libraries, regardless of the interface used.
9820 case `$LD -v 2>&1` in
9821 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9822 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9823 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9825 lt_use_gnu_ld_interface=yes
9827 esac
9830 lt_use_gnu_ld_interface=yes
9832 esac
9835 if test "$lt_use_gnu_ld_interface" = yes; then
9836 # If archive_cmds runs LD, not CC, wlarc should be empty
9837 wlarc='${wl}'
9839 # Set some defaults for GNU ld with shared library support. These
9840 # are reset later if shared libraries are not supported. Putting them
9841 # here allows them to be overridden if necessary.
9842 runpath_var=LD_RUN_PATH
9843 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9844 export_dynamic_flag_spec='${wl}--export-dynamic'
9845 # ancient GNU ld didn't support --whole-archive et. al.
9846 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9847 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9848 else
9849 whole_archive_flag_spec=
9851 supports_anon_versioning=no
9852 case `$LD -v 2>&1` in
9853 *GNU\ gold*) supports_anon_versioning=yes ;;
9854 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9855 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9856 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9857 *\ 2.11.*) ;; # other 2.11 versions
9858 *) supports_anon_versioning=yes ;;
9859 esac
9861 # See if GNU ld supports shared libraries.
9862 case $host_os in
9863 aix[3-9]*)
9864 # On AIX/PPC, the GNU linker is very broken
9865 if test "$host_cpu" != ia64; then
9866 ld_shlibs=no
9867 cat <<_LT_EOF 1>&2
9869 *** Warning: the GNU linker, at least up to release 2.19, is reported
9870 *** to be unable to reliably create shared libraries on AIX.
9871 *** Therefore, libtool is disabling shared libraries support. If you
9872 *** really care for shared libraries, you may want to install binutils
9873 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9874 *** You will then need to restart the configuration process.
9876 _LT_EOF
9880 amigaos*)
9881 case $host_cpu in
9882 powerpc)
9883 # see comment about AmigaOS4 .so support
9884 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9885 archive_expsym_cmds=''
9887 m68k)
9888 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9889 hardcode_libdir_flag_spec='-L$libdir'
9890 hardcode_minus_L=yes
9892 esac
9895 beos*)
9896 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9897 allow_undefined_flag=unsupported
9898 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9899 # support --undefined. This deserves some investigation. FIXME
9900 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9901 else
9902 ld_shlibs=no
9906 cygwin* | mingw* | pw32* | cegcc*)
9907 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9908 # as there is no search path for DLLs.
9909 hardcode_libdir_flag_spec='-L$libdir'
9910 export_dynamic_flag_spec='${wl}--export-all-symbols'
9911 allow_undefined_flag=unsupported
9912 always_export_symbols=no
9913 enable_shared_with_static_runtimes=yes
9914 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9916 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9917 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9918 # If the export-symbols file already is a .def file (1st line
9919 # is EXPORTS), use it as is; otherwise, prepend...
9920 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9921 cp $export_symbols $output_objdir/$soname.def;
9922 else
9923 echo EXPORTS > $output_objdir/$soname.def;
9924 cat $export_symbols >> $output_objdir/$soname.def;
9926 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9927 else
9928 ld_shlibs=no
9932 haiku*)
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9934 link_all_deplibs=yes
9937 interix[3-9]*)
9938 hardcode_direct=no
9939 hardcode_shlibpath_var=no
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 export_dynamic_flag_spec='${wl}-E'
9942 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9943 # Instead, shared libraries are loaded at an image base (0x10000000 by
9944 # default) and relocated if they conflict, which is a slow very memory
9945 # consuming and fragmenting process. To avoid this, we pick a random,
9946 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9947 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9948 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9949 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9952 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9953 tmp_diet=no
9954 if test "$host_os" = linux-dietlibc; then
9955 case $cc_basename in
9956 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9957 esac
9959 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9960 && test "$tmp_diet" = no
9961 then
9962 tmp_addflag=' $pic_flag'
9963 tmp_sharedflag='-shared'
9964 case $cc_basename,$host_cpu in
9965 pgcc*) # Portland Group C compiler
9966 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9967 tmp_addflag=' $pic_flag'
9969 pgf77* | pgf90* | pgf95* | pgfortran*)
9970 # Portland Group f77 and f90 compilers
9971 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9972 tmp_addflag=' $pic_flag -Mnomain' ;;
9973 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9974 tmp_addflag=' -i_dynamic' ;;
9975 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9976 tmp_addflag=' -i_dynamic -nofor_main' ;;
9977 ifc* | ifort*) # Intel Fortran compiler
9978 tmp_addflag=' -nofor_main' ;;
9979 lf95*) # Lahey Fortran 8.1
9980 whole_archive_flag_spec=
9981 tmp_sharedflag='--shared' ;;
9982 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9983 tmp_sharedflag='-qmkshrobj'
9984 tmp_addflag= ;;
9985 nvcc*) # Cuda Compiler Driver 2.2
9986 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9987 compiler_needs_object=yes
9989 esac
9990 case `$CC -V 2>&1 | sed 5q` in
9991 *Sun\ C*) # Sun C 5.9
9992 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9993 compiler_needs_object=yes
9994 tmp_sharedflag='-G' ;;
9995 *Sun\ F*) # Sun Fortran 8.3
9996 tmp_sharedflag='-G' ;;
9997 esac
9998 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10000 if test "x$supports_anon_versioning" = xyes; then
10001 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10002 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10003 echo "local: *; };" >> $output_objdir/$libname.ver~
10004 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10007 case $cc_basename in
10008 xlf* | bgf* | bgxlf* | mpixlf*)
10009 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10010 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10011 hardcode_libdir_flag_spec=
10012 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10013 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10021 esac
10022 else
10023 ld_shlibs=no
10027 netbsd*)
10028 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10029 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10030 wlarc=
10031 else
10032 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10033 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10037 solaris*)
10038 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10039 ld_shlibs=no
10040 cat <<_LT_EOF 1>&2
10042 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10043 *** create shared libraries on Solaris systems. Therefore, libtool
10044 *** is disabling shared libraries support. We urge you to upgrade GNU
10045 *** binutils to release 2.9.1 or newer. Another option is to modify
10046 *** your PATH or compiler configuration so that the native linker is
10047 *** used, and then restart.
10049 _LT_EOF
10050 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10052 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 else
10054 ld_shlibs=no
10058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10059 case `$LD -v 2>&1` in
10060 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10061 ld_shlibs=no
10062 cat <<_LT_EOF 1>&2
10064 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10065 *** reliably create shared libraries on SCO systems. Therefore, libtool
10066 *** is disabling shared libraries support. We urge you to upgrade GNU
10067 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10068 *** your PATH or compiler configuration so that the native linker is
10069 *** used, and then restart.
10071 _LT_EOF
10074 # For security reasons, it is highly recommended that you always
10075 # use absolute paths for naming shared libraries, and exclude the
10076 # DT_RUNPATH tag from executables and libraries. But doing so
10077 # requires that you compile everything twice, which is a pain.
10078 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10079 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10080 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10082 else
10083 ld_shlibs=no
10086 esac
10089 sunos4*)
10090 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10091 wlarc=
10092 hardcode_direct=yes
10093 hardcode_shlibpath_var=no
10097 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10099 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10100 else
10101 ld_shlibs=no
10104 esac
10106 if test "$ld_shlibs" = no; then
10107 runpath_var=
10108 hardcode_libdir_flag_spec=
10109 export_dynamic_flag_spec=
10110 whole_archive_flag_spec=
10112 else
10113 # PORTME fill in a description of your system's linker (not GNU ld)
10114 case $host_os in
10115 aix3*)
10116 allow_undefined_flag=unsupported
10117 always_export_symbols=yes
10118 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
10119 # Note: this linker hardcodes the directories in LIBPATH if there
10120 # are no directories specified by -L.
10121 hardcode_minus_L=yes
10122 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10123 # Neither direct hardcoding nor static linking is supported with a
10124 # broken collect2.
10125 hardcode_direct=unsupported
10129 aix[4-9]*)
10130 if test "$host_cpu" = ia64; then
10131 # On IA64, the linker does run time linking by default, so we don't
10132 # have to do anything special.
10133 aix_use_runtimelinking=no
10134 exp_sym_flag='-Bexport'
10135 no_entry_flag=""
10136 else
10137 # If we're using GNU nm, then we don't want the "-C" option.
10138 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10139 # Also, AIX nm treats weak defined symbols like other global
10140 # defined symbols, whereas GNU nm marks them as "W".
10141 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10142 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10143 else
10144 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10146 aix_use_runtimelinking=no
10148 # Test if we are trying to use run time linking or normal
10149 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10150 # need to do runtime linking.
10151 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10152 for ld_flag in $LDFLAGS; do
10153 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10154 aix_use_runtimelinking=yes
10155 break
10157 done
10159 esac
10161 exp_sym_flag='-bexport'
10162 no_entry_flag='-bnoentry'
10165 # When large executables or shared objects are built, AIX ld can
10166 # have problems creating the table of contents. If linking a library
10167 # or program results in "error TOC overflow" add -mminimal-toc to
10168 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10169 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10171 archive_cmds=''
10172 hardcode_direct=yes
10173 hardcode_direct_absolute=yes
10174 hardcode_libdir_separator=':'
10175 link_all_deplibs=yes
10176 file_list_spec='${wl}-f,'
10178 if test "$GCC" = yes; then
10179 case $host_os in aix4.[012]|aix4.[012].*)
10180 # We only want to do this on AIX 4.2 and lower, the check
10181 # below for broken collect2 doesn't work under 4.3+
10182 collect2name=`${CC} -print-prog-name=collect2`
10183 if test -f "$collect2name" &&
10184 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10185 then
10186 # We have reworked collect2
10188 else
10189 # We have old collect2
10190 hardcode_direct=unsupported
10191 # It fails to find uninstalled libraries when the uninstalled
10192 # path is not listed in the libpath. Setting hardcode_minus_L
10193 # to unsupported forces relinking
10194 hardcode_minus_L=yes
10195 hardcode_libdir_flag_spec='-L$libdir'
10196 hardcode_libdir_separator=
10199 esac
10200 shared_flag='-shared'
10201 if test "$aix_use_runtimelinking" = yes; then
10202 shared_flag="$shared_flag "'${wl}-G'
10204 else
10205 # not using gcc
10206 if test "$host_cpu" = ia64; then
10207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10208 # chokes on -Wl,-G. The following line is correct:
10209 shared_flag='-G'
10210 else
10211 if test "$aix_use_runtimelinking" = yes; then
10212 shared_flag='${wl}-G'
10213 else
10214 shared_flag='${wl}-bM:SRE'
10219 export_dynamic_flag_spec='${wl}-bexpall'
10220 # It seems that -bexpall does not export symbols beginning with
10221 # underscore (_), so it is better to generate a list of symbols to export.
10222 always_export_symbols=yes
10223 if test "$aix_use_runtimelinking" = yes; then
10224 # Warning - without using the other runtime loading flags (-brtl),
10225 # -berok will link without error, but may produce a broken library.
10226 allow_undefined_flag='-berok'
10227 # Determine the default libpath from the value encoded in an
10228 # empty executable.
10229 if test x$gcc_no_link = xyes; then
10230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10233 /* end confdefs.h. */
10236 main ()
10240 return 0;
10242 _ACEOF
10243 if ac_fn_c_try_link "$LINENO"; then :
10245 lt_aix_libpath_sed='
10246 /Import File Strings/,/^$/ {
10247 /^0/ {
10248 s/^0 *\(.*\)$/\1/
10252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10253 # Check for a 64-bit object if we didn't find anything.
10254 if test -z "$aix_libpath"; then
10255 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10263 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10264 else
10265 if test "$host_cpu" = ia64; then
10266 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10267 allow_undefined_flag="-z nodefs"
10268 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
10269 else
10270 # Determine the default libpath from the value encoded in an
10271 # empty executable.
10272 if test x$gcc_no_link = xyes; then
10273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10279 main ()
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10288 lt_aix_libpath_sed='
10289 /Import File Strings/,/^$/ {
10290 /^0/ {
10291 s/^0 *\(.*\)$/\1/
10295 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10296 # Check for a 64-bit object if we didn't find anything.
10297 if test -z "$aix_libpath"; then
10298 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10305 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10306 # Warning - without using the other run time loading flags,
10307 # -berok will link without error, but may produce a broken library.
10308 no_undefined_flag=' ${wl}-bernotok'
10309 allow_undefined_flag=' ${wl}-berok'
10310 if test "$with_gnu_ld" = yes; then
10311 # We only use this code for GNU lds that support --whole-archive.
10312 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10313 else
10314 # Exported symbols can be pulled into shared objects from archives
10315 whole_archive_flag_spec='$convenience'
10317 archive_cmds_need_lc=yes
10318 # This is similar to how AIX traditionally builds its shared libraries.
10319 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10324 amigaos*)
10325 case $host_cpu in
10326 powerpc)
10327 # see comment about AmigaOS4 .so support
10328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10329 archive_expsym_cmds=''
10331 m68k)
10332 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10333 hardcode_libdir_flag_spec='-L$libdir'
10334 hardcode_minus_L=yes
10336 esac
10339 bsdi[45]*)
10340 export_dynamic_flag_spec=-rdynamic
10343 cygwin* | mingw* | pw32* | cegcc*)
10344 # When not using gcc, we currently assume that we are using
10345 # Microsoft Visual C++.
10346 # hardcode_libdir_flag_spec is actually meaningless, as there is
10347 # no search path for DLLs.
10348 hardcode_libdir_flag_spec=' '
10349 allow_undefined_flag=unsupported
10350 # Tell ltmain to make .lib files, not .a files.
10351 libext=lib
10352 # Tell ltmain to make .dll files, not .so files.
10353 shrext_cmds=".dll"
10354 # FIXME: Setting linknames here is a bad hack.
10355 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10356 # The linker will automatically build a .lib file if we build a DLL.
10357 old_archive_from_new_cmds='true'
10358 # FIXME: Should let the user specify the lib program.
10359 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10360 fix_srcfile_path='`cygpath -w "$srcfile"`'
10361 enable_shared_with_static_runtimes=yes
10364 darwin* | rhapsody*)
10367 archive_cmds_need_lc=no
10368 hardcode_direct=no
10369 hardcode_automatic=yes
10370 hardcode_shlibpath_var=unsupported
10371 if test "$lt_cv_ld_force_load" = "yes"; then
10372 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10373 else
10374 whole_archive_flag_spec=''
10376 link_all_deplibs=yes
10377 allow_undefined_flag="$_lt_dar_allow_undefined"
10378 case $cc_basename in
10379 ifort*) _lt_dar_can_shared=yes ;;
10380 *) _lt_dar_can_shared=$GCC ;;
10381 esac
10382 if test "$_lt_dar_can_shared" = "yes"; then
10383 output_verbose_link_cmd=func_echo_all
10384 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10385 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10386 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10387 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10389 else
10390 ld_shlibs=no
10395 dgux*)
10396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10397 hardcode_libdir_flag_spec='-L$libdir'
10398 hardcode_shlibpath_var=no
10401 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10402 # support. Future versions do this automatically, but an explicit c++rt0.o
10403 # does not break anything, and helps significantly (at the cost of a little
10404 # extra space).
10405 freebsd2.2*)
10406 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10407 hardcode_libdir_flag_spec='-R$libdir'
10408 hardcode_direct=yes
10409 hardcode_shlibpath_var=no
10412 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10413 freebsd2.*)
10414 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10415 hardcode_direct=yes
10416 hardcode_minus_L=yes
10417 hardcode_shlibpath_var=no
10420 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10421 freebsd* | dragonfly*)
10422 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10423 hardcode_libdir_flag_spec='-R$libdir'
10424 hardcode_direct=yes
10425 hardcode_shlibpath_var=no
10428 hpux9*)
10429 if test "$GCC" = yes; then
10430 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10431 else
10432 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10434 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10435 hardcode_libdir_separator=:
10436 hardcode_direct=yes
10438 # hardcode_minus_L: Not really in the search PATH,
10439 # but as the default location of the library.
10440 hardcode_minus_L=yes
10441 export_dynamic_flag_spec='${wl}-E'
10444 hpux10*)
10445 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10446 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10447 else
10448 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10450 if test "$with_gnu_ld" = no; then
10451 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10452 hardcode_libdir_flag_spec_ld='+b $libdir'
10453 hardcode_libdir_separator=:
10454 hardcode_direct=yes
10455 hardcode_direct_absolute=yes
10456 export_dynamic_flag_spec='${wl}-E'
10457 # hardcode_minus_L: Not really in the search PATH,
10458 # but as the default location of the library.
10459 hardcode_minus_L=yes
10463 hpux11*)
10464 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10465 case $host_cpu in
10466 hppa*64*)
10467 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10469 ia64*)
10470 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10473 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10475 esac
10476 else
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 ia64*)
10482 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10486 # Older versions of the 11.00 compiler do not understand -b yet
10487 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10489 $as_echo_n "checking if $CC understands -b... " >&6; }
10490 if ${lt_cv_prog_compiler__b+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 lt_cv_prog_compiler__b=no
10494 save_LDFLAGS="$LDFLAGS"
10495 LDFLAGS="$LDFLAGS -b"
10496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10498 # The linker can only warn and ignore the option if not recognized
10499 # So say no if there are warnings
10500 if test -s conftest.err; then
10501 # Append any errors to the config.log.
10502 cat conftest.err 1>&5
10503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10505 if diff conftest.exp conftest.er2 >/dev/null; then
10506 lt_cv_prog_compiler__b=yes
10508 else
10509 lt_cv_prog_compiler__b=yes
10512 $RM -r conftest*
10513 LDFLAGS="$save_LDFLAGS"
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10517 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10519 if test x"$lt_cv_prog_compiler__b" = xyes; then
10520 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10521 else
10522 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10526 esac
10528 if test "$with_gnu_ld" = no; then
10529 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10530 hardcode_libdir_separator=:
10532 case $host_cpu in
10533 hppa*64*|ia64*)
10534 hardcode_direct=no
10535 hardcode_shlibpath_var=no
10538 hardcode_direct=yes
10539 hardcode_direct_absolute=yes
10540 export_dynamic_flag_spec='${wl}-E'
10542 # hardcode_minus_L: Not really in the search PATH,
10543 # but as the default location of the library.
10544 hardcode_minus_L=yes
10546 esac
10550 irix5* | irix6* | nonstopux*)
10551 if test "$GCC" = yes; then
10552 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10553 # Try to use the -exported_symbol ld option, if it does not
10554 # work, assume that -exports_file does not work either and
10555 # implicitly export all symbols.
10556 save_LDFLAGS="$LDFLAGS"
10557 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10558 if test x$gcc_no_link = xyes; then
10559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10563 int foo(void) {}
10564 _ACEOF
10565 if ac_fn_c_try_link "$LINENO"; then :
10566 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10569 rm -f core conftest.err conftest.$ac_objext \
10570 conftest$ac_exeext conftest.$ac_ext
10571 LDFLAGS="$save_LDFLAGS"
10572 else
10573 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10574 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10576 archive_cmds_need_lc='no'
10577 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10578 hardcode_libdir_separator=:
10579 inherit_rpath=yes
10580 link_all_deplibs=yes
10583 netbsd*)
10584 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10585 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10586 else
10587 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10589 hardcode_libdir_flag_spec='-R$libdir'
10590 hardcode_direct=yes
10591 hardcode_shlibpath_var=no
10594 newsos6)
10595 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct=yes
10597 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10598 hardcode_libdir_separator=:
10599 hardcode_shlibpath_var=no
10602 *nto* | *qnx*)
10605 openbsd*)
10606 if test -f /usr/libexec/ld.so; then
10607 hardcode_direct=yes
10608 hardcode_shlibpath_var=no
10609 hardcode_direct_absolute=yes
10610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10611 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10612 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10613 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10614 export_dynamic_flag_spec='${wl}-E'
10615 else
10616 case $host_os in
10617 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10618 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10619 hardcode_libdir_flag_spec='-R$libdir'
10622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10623 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10625 esac
10627 else
10628 ld_shlibs=no
10632 os2*)
10633 hardcode_libdir_flag_spec='-L$libdir'
10634 hardcode_minus_L=yes
10635 allow_undefined_flag=unsupported
10636 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10637 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10640 osf3*)
10641 if test "$GCC" = yes; then
10642 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10643 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10644 else
10645 allow_undefined_flag=' -expect_unresolved \*'
10646 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10648 archive_cmds_need_lc='no'
10649 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10650 hardcode_libdir_separator=:
10653 osf4* | osf5*) # as osf3* with the addition of -msym flag
10654 if test "$GCC" = yes; then
10655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10656 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10657 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10658 else
10659 allow_undefined_flag=' -expect_unresolved \*'
10660 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10661 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10662 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10664 # Both c and cxx compiler support -rpath directly
10665 hardcode_libdir_flag_spec='-rpath $libdir'
10667 archive_cmds_need_lc='no'
10668 hardcode_libdir_separator=:
10671 solaris*)
10672 no_undefined_flag=' -z defs'
10673 if test "$GCC" = yes; then
10674 wlarc='${wl}'
10675 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10677 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10678 else
10679 case `$CC -V 2>&1` in
10680 *"Compilers 5.0"*)
10681 wlarc=''
10682 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10683 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10684 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10687 wlarc='${wl}'
10688 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10690 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10692 esac
10694 hardcode_libdir_flag_spec='-R$libdir'
10695 hardcode_shlibpath_var=no
10696 case $host_os in
10697 solaris2.[0-5] | solaris2.[0-5].*) ;;
10699 # The compiler driver will combine and reorder linker options,
10700 # but understands `-z linker_flag'. GCC discards it without `$wl',
10701 # but is careful enough not to reorder.
10702 # Supported since Solaris 2.6 (maybe 2.5.1?)
10703 if test "$GCC" = yes; then
10704 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10705 else
10706 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10709 esac
10710 link_all_deplibs=yes
10713 sunos4*)
10714 if test "x$host_vendor" = xsequent; then
10715 # Use $CC to link under sequent, because it throws in some extra .o
10716 # files that make .init and .fini sections work.
10717 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10718 else
10719 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_direct=yes
10723 hardcode_minus_L=yes
10724 hardcode_shlibpath_var=no
10727 sysv4)
10728 case $host_vendor in
10729 sni)
10730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_direct=yes # is this really true???
10733 siemens)
10734 ## LD is ld it makes a PLAMLIB
10735 ## CC just makes a GrossModule.
10736 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10737 reload_cmds='$CC -r -o $output$reload_objs'
10738 hardcode_direct=no
10740 motorola)
10741 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10742 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10744 esac
10745 runpath_var='LD_RUN_PATH'
10746 hardcode_shlibpath_var=no
10749 sysv4.3*)
10750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_shlibpath_var=no
10752 export_dynamic_flag_spec='-Bexport'
10755 sysv4*MP*)
10756 if test -d /usr/nec; then
10757 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10758 hardcode_shlibpath_var=no
10759 runpath_var=LD_RUN_PATH
10760 hardcode_runpath_var=yes
10761 ld_shlibs=yes
10765 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10766 no_undefined_flag='${wl}-z,text'
10767 archive_cmds_need_lc=no
10768 hardcode_shlibpath_var=no
10769 runpath_var='LD_RUN_PATH'
10771 if test "$GCC" = yes; then
10772 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10773 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10774 else
10775 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10780 sysv5* | sco3.2v5* | sco5v6*)
10781 # Note: We can NOT use -z defs as we might desire, because we do not
10782 # link with -lc, and that would cause any symbols used from libc to
10783 # always be unresolved, which means just about no library would
10784 # ever link correctly. If we're not using GNU ld we use -z text
10785 # though, which does catch some bad symbols but isn't as heavy-handed
10786 # as -z defs.
10787 no_undefined_flag='${wl}-z,text'
10788 allow_undefined_flag='${wl}-z,nodefs'
10789 archive_cmds_need_lc=no
10790 hardcode_shlibpath_var=no
10791 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10792 hardcode_libdir_separator=':'
10793 link_all_deplibs=yes
10794 export_dynamic_flag_spec='${wl}-Bexport'
10795 runpath_var='LD_RUN_PATH'
10797 if test "$GCC" = yes; then
10798 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10799 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10800 else
10801 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10802 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10806 uts4*)
10807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10808 hardcode_libdir_flag_spec='-L$libdir'
10809 hardcode_shlibpath_var=no
10813 ld_shlibs=no
10815 esac
10817 if test x$host_vendor = xsni; then
10818 case $host in
10819 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10820 export_dynamic_flag_spec='${wl}-Blargedynsym'
10822 esac
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10827 $as_echo "$ld_shlibs" >&6; }
10828 test "$ld_shlibs" = no && can_build_shared=no
10830 with_gnu_ld=$with_gnu_ld
10847 # Do we need to explicitly link libc?
10849 case "x$archive_cmds_need_lc" in
10850 x|xyes)
10851 # Assume -lc should be added
10852 archive_cmds_need_lc=yes
10854 if test "$enable_shared" = yes && test "$GCC" = yes; then
10855 case $archive_cmds in
10856 *'~'*)
10857 # FIXME: we may have to deal with multi-command sequences.
10859 '$CC '*)
10860 # Test whether the compiler implicitly links with -lc since on some
10861 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10862 # to ld, don't add -lc before -lgcc.
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10864 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10865 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10866 $as_echo_n "(cached) " >&6
10867 else
10868 $RM conftest*
10869 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10872 (eval $ac_compile) 2>&5
10873 ac_status=$?
10874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10875 test $ac_status = 0; } 2>conftest.err; then
10876 soname=conftest
10877 lib=conftest
10878 libobjs=conftest.$ac_objext
10879 deplibs=
10880 wl=$lt_prog_compiler_wl
10881 pic_flag=$lt_prog_compiler_pic
10882 compiler_flags=-v
10883 linker_flags=-v
10884 verstring=
10885 output_objdir=.
10886 libname=conftest
10887 lt_save_allow_undefined_flag=$allow_undefined_flag
10888 allow_undefined_flag=
10889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10890 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10891 ac_status=$?
10892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10893 test $ac_status = 0; }
10894 then
10895 lt_cv_archive_cmds_need_lc=no
10896 else
10897 lt_cv_archive_cmds_need_lc=yes
10899 allow_undefined_flag=$lt_save_allow_undefined_flag
10900 else
10901 cat conftest.err 1>&5
10903 $RM conftest*
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10907 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10908 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10910 esac
10913 esac
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11072 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11074 if test "$GCC" = yes; then
11075 case $host_os in
11076 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11077 *) lt_awk_arg="/^libraries:/" ;;
11078 esac
11079 case $host_os in
11080 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11081 *) lt_sed_strip_eq="s,=/,/,g" ;;
11082 esac
11083 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11084 case $lt_search_path_spec in
11085 *\;*)
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11093 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11095 esac
11096 # Ok, now we have the path, separated by spaces, we can step through it
11097 # and add multilib dir if necessary.
11098 lt_tmp_lt_search_path_spec=
11099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11100 for lt_sys_path in $lt_search_path_spec; do
11101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11103 else
11104 test -d "$lt_sys_path" && \
11105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11107 done
11108 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11109 BEGIN {RS=" "; FS="/|\n";} {
11110 lt_foo="";
11111 lt_count=0;
11112 for (lt_i = NF; lt_i > 0; lt_i--) {
11113 if ($lt_i != "" && $lt_i != ".") {
11114 if ($lt_i == "..") {
11115 lt_count++;
11116 } else {
11117 if (lt_count == 0) {
11118 lt_foo="/" $lt_i lt_foo;
11119 } else {
11120 lt_count--;
11125 if (lt_foo != "") { lt_freq[lt_foo]++; }
11126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11128 # AWK program above erroneously prepends '/' to C:/dos/paths
11129 # for these hosts.
11130 case $host_os in
11131 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11132 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11133 esac
11134 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11135 else
11136 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11138 library_names_spec=
11139 libname_spec='lib$name'
11140 soname_spec=
11141 shrext_cmds=".so"
11142 postinstall_cmds=
11143 postuninstall_cmds=
11144 finish_cmds=
11145 finish_eval=
11146 shlibpath_var=
11147 shlibpath_overrides_runpath=unknown
11148 version_type=none
11149 dynamic_linker="$host_os ld.so"
11150 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11151 need_lib_prefix=unknown
11152 hardcode_into_libs=no
11154 # when you set need_version to no, make sure it does not cause -set_version
11155 # flags to be left without arguments
11156 need_version=unknown
11158 case $host_os in
11159 aix3*)
11160 version_type=linux
11161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11162 shlibpath_var=LIBPATH
11164 # AIX 3 has no versioning support, so we append a major version to the name.
11165 soname_spec='${libname}${release}${shared_ext}$major'
11168 aix[4-9]*)
11169 version_type=linux
11170 need_lib_prefix=no
11171 need_version=no
11172 hardcode_into_libs=yes
11173 if test "$host_cpu" = ia64; then
11174 # AIX 5 supports IA64
11175 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 else
11178 # With GCC up to 2.95.x, collect2 would create an import file
11179 # for dependence libraries. The import file would start with
11180 # the line `#! .'. This would cause the generated library to
11181 # depend on `.', always an invalid library. This was fixed in
11182 # development snapshots of GCC prior to 3.0.
11183 case $host_os in
11184 aix4 | aix4.[01] | aix4.[01].*)
11185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11186 echo ' yes '
11187 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11189 else
11190 can_build_shared=no
11193 esac
11194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11195 # soname into executable. Probably we can add versioning support to
11196 # collect2, so additional links can be useful in future.
11197 if test "$aix_use_runtimelinking" = yes; then
11198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11199 # instead of lib<name>.a to let people know that these are not
11200 # typical AIX shared libraries.
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11202 else
11203 # We preserve .a as extension for shared libraries through AIX4.2
11204 # and later when we are not doing run time linking.
11205 library_names_spec='${libname}${release}.a $libname.a'
11206 soname_spec='${libname}${release}${shared_ext}$major'
11208 shlibpath_var=LIBPATH
11212 amigaos*)
11213 case $host_cpu in
11214 powerpc)
11215 # Since July 2007 AmigaOS4 officially supports .so libraries.
11216 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11219 m68k)
11220 library_names_spec='$libname.ixlibrary $libname.a'
11221 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11222 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11224 esac
11227 beos*)
11228 library_names_spec='${libname}${shared_ext}'
11229 dynamic_linker="$host_os ld.so"
11230 shlibpath_var=LIBRARY_PATH
11233 bsdi[45]*)
11234 version_type=linux
11235 need_version=no
11236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237 soname_spec='${libname}${release}${shared_ext}$major'
11238 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11241 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11242 # the default ld.so.conf also contains /usr/contrib/lib and
11243 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11244 # libtool to hard-code these into programs
11247 cygwin* | mingw* | pw32* | cegcc*)
11248 version_type=windows
11249 shrext_cmds=".dll"
11250 need_version=no
11251 need_lib_prefix=no
11253 case $GCC,$host_os in
11254 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11255 library_names_spec='$libname.dll.a'
11256 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11257 postinstall_cmds='base_file=`basename \${file}`~
11258 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11259 dldir=$destdir/`dirname \$dlpath`~
11260 test -d \$dldir || mkdir -p \$dldir~
11261 $install_prog $dir/$dlname \$dldir/$dlname~
11262 chmod a+x \$dldir/$dlname~
11263 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11264 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11266 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11267 dlpath=$dir/\$dldll~
11268 $RM \$dlpath'
11269 shlibpath_overrides_runpath=yes
11271 case $host_os in
11272 cygwin*)
11273 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11274 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11276 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11278 mingw* | cegcc*)
11279 # MinGW DLLs use traditional 'lib' prefix
11280 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11282 pw32*)
11283 # pw32 DLLs use 'pw' prefix rather than 'lib'
11284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11286 esac
11290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11292 esac
11293 dynamic_linker='Win32 ld.exe'
11294 # FIXME: first we should search . and the directory the executable is in
11295 shlibpath_var=PATH
11298 darwin* | rhapsody*)
11299 dynamic_linker="$host_os dyld"
11300 version_type=darwin
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11304 soname_spec='${libname}${release}${major}$shared_ext'
11305 shlibpath_overrides_runpath=yes
11306 shlibpath_var=DYLD_LIBRARY_PATH
11307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11313 dgux*)
11314 version_type=linux
11315 need_lib_prefix=no
11316 need_version=no
11317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11318 soname_spec='${libname}${release}${shared_ext}$major'
11319 shlibpath_var=LD_LIBRARY_PATH
11322 freebsd* | dragonfly*)
11323 # DragonFly does not have aout. When/if they implement a new
11324 # versioning mechanism, adjust this.
11325 if test -x /usr/bin/objformat; then
11326 objformat=`/usr/bin/objformat`
11327 else
11328 case $host_os in
11329 freebsd[23].*) objformat=aout ;;
11330 *) objformat=elf ;;
11331 esac
11333 version_type=freebsd-$objformat
11334 case $version_type in
11335 freebsd-elf*)
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11337 need_version=no
11338 need_lib_prefix=no
11340 freebsd-*)
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11342 need_version=yes
11344 esac
11345 shlibpath_var=LD_LIBRARY_PATH
11346 case $host_os in
11347 freebsd2.*)
11348 shlibpath_overrides_runpath=yes
11350 freebsd3.[01]* | freebsdelf3.[01]*)
11351 shlibpath_overrides_runpath=yes
11352 hardcode_into_libs=yes
11354 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11355 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11356 shlibpath_overrides_runpath=no
11357 hardcode_into_libs=yes
11359 *) # from 4.6 on, and DragonFly
11360 shlibpath_overrides_runpath=yes
11361 hardcode_into_libs=yes
11363 esac
11366 haiku*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 dynamic_linker="$host_os runtime_loader"
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11372 soname_spec='${libname}${release}${shared_ext}$major'
11373 shlibpath_var=LIBRARY_PATH
11374 shlibpath_overrides_runpath=yes
11375 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11376 hardcode_into_libs=yes
11379 hpux9* | hpux10* | hpux11*)
11380 # Give a soname corresponding to the major version so that dld.sl refuses to
11381 # link against other versions.
11382 version_type=sunos
11383 need_lib_prefix=no
11384 need_version=no
11385 case $host_cpu in
11386 ia64*)
11387 shrext_cmds='.so'
11388 hardcode_into_libs=yes
11389 dynamic_linker="$host_os dld.so"
11390 shlibpath_var=LD_LIBRARY_PATH
11391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 if test "X$HPUX_IA64_MODE" = X32; then
11395 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11396 else
11397 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11399 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11401 hppa*64*)
11402 shrext_cmds='.sl'
11403 hardcode_into_libs=yes
11404 dynamic_linker="$host_os dld.sl"
11405 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11406 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11408 soname_spec='${libname}${release}${shared_ext}$major'
11409 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11413 shrext_cmds='.sl'
11414 dynamic_linker="$host_os dld.sl"
11415 shlibpath_var=SHLIB_PATH
11416 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11418 soname_spec='${libname}${release}${shared_ext}$major'
11420 esac
11421 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11422 postinstall_cmds='chmod 555 $lib'
11423 # or fails outright, so override atomically:
11424 install_override_mode=555
11427 interix[3-9]*)
11428 version_type=linux
11429 need_lib_prefix=no
11430 need_version=no
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11432 soname_spec='${libname}${release}${shared_ext}$major'
11433 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11434 shlibpath_var=LD_LIBRARY_PATH
11435 shlibpath_overrides_runpath=no
11436 hardcode_into_libs=yes
11439 irix5* | irix6* | nonstopux*)
11440 case $host_os in
11441 nonstopux*) version_type=nonstopux ;;
11443 if test "$lt_cv_prog_gnu_ld" = yes; then
11444 version_type=linux
11445 else
11446 version_type=irix
11447 fi ;;
11448 esac
11449 need_lib_prefix=no
11450 need_version=no
11451 soname_spec='${libname}${release}${shared_ext}$major'
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 case $host_os in
11454 irix5* | nonstopux*)
11455 libsuff= shlibsuff=
11458 case $LD in # libtool.m4 will add one of these switches to LD
11459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11460 libsuff= shlibsuff= libmagic=32-bit;;
11461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11462 libsuff=32 shlibsuff=N32 libmagic=N32;;
11463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11465 *) libsuff= shlibsuff= libmagic=never-match;;
11466 esac
11468 esac
11469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11470 shlibpath_overrides_runpath=no
11471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11473 hardcode_into_libs=yes
11476 # No shared lib support for Linux oldld, aout, or coff.
11477 linux*oldld* | linux*aout* | linux*coff*)
11478 dynamic_linker=no
11481 # This must be Linux ELF.
11483 # uclinux* changes (here and below) have been submitted to the libtool
11484 # project, but have not yet been accepted: they are GCC-local changes
11485 # for the time being. (See
11486 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11487 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11488 version_type=linux
11489 need_lib_prefix=no
11490 need_version=no
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 shlibpath_overrides_runpath=no
11497 # Some binutils ld are patched to set DT_RUNPATH
11498 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 lt_cv_shlibpath_overrides_runpath=no
11502 save_LDFLAGS=$LDFLAGS
11503 save_libdir=$libdir
11504 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11505 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11506 if test x$gcc_no_link = xyes; then
11507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11513 main ()
11517 return 0;
11519 _ACEOF
11520 if ac_fn_c_try_link "$LINENO"; then :
11521 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11522 lt_cv_shlibpath_overrides_runpath=yes
11525 rm -f core conftest.err conftest.$ac_objext \
11526 conftest$ac_exeext conftest.$ac_ext
11527 LDFLAGS=$save_LDFLAGS
11528 libdir=$save_libdir
11532 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11534 # This implies no fast_install, which is unacceptable.
11535 # Some rework will be needed to allow for fast_install
11536 # before this can be enabled.
11537 hardcode_into_libs=yes
11539 # Append ld.so.conf contents to the search path
11540 if test -f /etc/ld.so.conf; then
11541 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11542 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11545 # We used to test for /lib/ld.so.1 and disable shared libraries on
11546 # powerpc, because MkLinux only supported shared libraries with the
11547 # GNU dynamic linker. Since this was broken with cross compilers,
11548 # most powerpc-linux boxes support dynamic linking these days and
11549 # people can always --disable-shared, the test was removed, and we
11550 # assume the GNU/Linux dynamic linker is in use.
11551 dynamic_linker='GNU/Linux ld.so'
11554 netbsd*)
11555 version_type=sunos
11556 need_lib_prefix=no
11557 need_version=no
11558 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11560 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11561 dynamic_linker='NetBSD (a.out) ld.so'
11562 else
11563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11564 soname_spec='${libname}${release}${shared_ext}$major'
11565 dynamic_linker='NetBSD ld.elf_so'
11567 shlibpath_var=LD_LIBRARY_PATH
11568 shlibpath_overrides_runpath=yes
11569 hardcode_into_libs=yes
11572 newsos6)
11573 version_type=linux
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 shlibpath_overrides_runpath=yes
11579 *nto* | *qnx*)
11580 version_type=qnx
11581 need_lib_prefix=no
11582 need_version=no
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 soname_spec='${libname}${release}${shared_ext}$major'
11585 shlibpath_var=LD_LIBRARY_PATH
11586 shlibpath_overrides_runpath=no
11587 hardcode_into_libs=yes
11588 dynamic_linker='ldqnx.so'
11591 openbsd*)
11592 version_type=sunos
11593 sys_lib_dlsearch_path_spec="/usr/lib"
11594 need_lib_prefix=no
11595 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11596 case $host_os in
11597 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11598 *) need_version=no ;;
11599 esac
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11601 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11602 shlibpath_var=LD_LIBRARY_PATH
11603 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11604 case $host_os in
11605 openbsd2.[89] | openbsd2.[89].*)
11606 shlibpath_overrides_runpath=no
11609 shlibpath_overrides_runpath=yes
11611 esac
11612 else
11613 shlibpath_overrides_runpath=yes
11617 os2*)
11618 libname_spec='$name'
11619 shrext_cmds=".dll"
11620 need_lib_prefix=no
11621 library_names_spec='$libname${shared_ext} $libname.a'
11622 dynamic_linker='OS/2 ld.exe'
11623 shlibpath_var=LIBPATH
11626 osf3* | osf4* | osf5*)
11627 version_type=osf
11628 need_lib_prefix=no
11629 need_version=no
11630 soname_spec='${libname}${release}${shared_ext}$major'
11631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11632 shlibpath_var=LD_LIBRARY_PATH
11633 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11634 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11637 rdos*)
11638 dynamic_linker=no
11641 solaris*)
11642 version_type=linux
11643 need_lib_prefix=no
11644 need_version=no
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 shlibpath_overrides_runpath=yes
11649 hardcode_into_libs=yes
11650 # ldd complains unless libraries are executable
11651 postinstall_cmds='chmod +x $lib'
11654 sunos4*)
11655 version_type=sunos
11656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11657 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11658 shlibpath_var=LD_LIBRARY_PATH
11659 shlibpath_overrides_runpath=yes
11660 if test "$with_gnu_ld" = yes; then
11661 need_lib_prefix=no
11663 need_version=yes
11666 sysv4 | sysv4.3*)
11667 version_type=linux
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11669 soname_spec='${libname}${release}${shared_ext}$major'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 case $host_vendor in
11672 sni)
11673 shlibpath_overrides_runpath=no
11674 need_lib_prefix=no
11675 runpath_var=LD_RUN_PATH
11677 siemens)
11678 need_lib_prefix=no
11680 motorola)
11681 need_lib_prefix=no
11682 need_version=no
11683 shlibpath_overrides_runpath=no
11684 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11686 esac
11689 sysv4*MP*)
11690 if test -d /usr/nec ;then
11691 version_type=linux
11692 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11693 soname_spec='$libname${shared_ext}.$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11698 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11699 version_type=freebsd-elf
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11703 soname_spec='${libname}${release}${shared_ext}$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath=yes
11706 hardcode_into_libs=yes
11707 if test "$with_gnu_ld" = yes; then
11708 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11709 else
11710 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11711 case $host_os in
11712 sco3.2v5*)
11713 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11715 esac
11717 sys_lib_dlsearch_path_spec='/usr/lib'
11720 tpf*)
11721 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11722 version_type=linux
11723 need_lib_prefix=no
11724 need_version=no
11725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11726 shlibpath_var=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath=no
11728 hardcode_into_libs=yes
11731 uts4*)
11732 version_type=linux
11733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 soname_spec='${libname}${release}${shared_ext}$major'
11735 shlibpath_var=LD_LIBRARY_PATH
11739 dynamic_linker=no
11741 esac
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11743 $as_echo "$dynamic_linker" >&6; }
11744 test "$dynamic_linker" = no && can_build_shared=no
11746 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11747 if test "$GCC" = yes; then
11748 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11751 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11752 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11754 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11755 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11850 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11851 hardcode_action=
11852 if test -n "$hardcode_libdir_flag_spec" ||
11853 test -n "$runpath_var" ||
11854 test "X$hardcode_automatic" = "Xyes" ; then
11856 # We can hardcode non-existent directories.
11857 if test "$hardcode_direct" != no &&
11858 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11859 # have to relink, otherwise we might link with an installed library
11860 # when we should be linking with a yet-to-be-installed one
11861 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11862 test "$hardcode_minus_L" != no; then
11863 # Linking always hardcodes the temporary library directory.
11864 hardcode_action=relink
11865 else
11866 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11867 hardcode_action=immediate
11869 else
11870 # We cannot hardcode anything, or else we can only hardcode existing
11871 # directories.
11872 hardcode_action=unsupported
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11875 $as_echo "$hardcode_action" >&6; }
11877 if test "$hardcode_action" = relink ||
11878 test "$inherit_rpath" = yes; then
11879 # Fast installation is not supported
11880 enable_fast_install=no
11881 elif test "$shlibpath_overrides_runpath" = yes ||
11882 test "$enable_shared" = no; then
11883 # Fast installation is not necessary
11884 enable_fast_install=needless
11892 if test "x$enable_dlopen" != xyes; then
11893 enable_dlopen=unknown
11894 enable_dlopen_self=unknown
11895 enable_dlopen_self_static=unknown
11896 else
11897 lt_cv_dlopen=no
11898 lt_cv_dlopen_libs=
11900 case $host_os in
11901 beos*)
11902 lt_cv_dlopen="load_add_on"
11903 lt_cv_dlopen_libs=
11904 lt_cv_dlopen_self=yes
11907 mingw* | pw32* | cegcc*)
11908 lt_cv_dlopen="LoadLibrary"
11909 lt_cv_dlopen_libs=
11912 cygwin*)
11913 lt_cv_dlopen="dlopen"
11914 lt_cv_dlopen_libs=
11917 darwin*)
11918 # if libdl is installed we need to link against it
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11920 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11921 if ${ac_cv_lib_dl_dlopen+:} false; then :
11922 $as_echo_n "(cached) " >&6
11923 else
11924 ac_check_lib_save_LIBS=$LIBS
11925 LIBS="-ldl $LIBS"
11926 if test x$gcc_no_link = xyes; then
11927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11932 /* Override any GCC internal prototype to avoid an error.
11933 Use char because int might match the return type of a GCC
11934 builtin and then its argument prototype would still apply. */
11935 #ifdef __cplusplus
11936 extern "C"
11937 #endif
11938 char dlopen ();
11940 main ()
11942 return dlopen ();
11944 return 0;
11946 _ACEOF
11947 if ac_fn_c_try_link "$LINENO"; then :
11948 ac_cv_lib_dl_dlopen=yes
11949 else
11950 ac_cv_lib_dl_dlopen=no
11952 rm -f core conftest.err conftest.$ac_objext \
11953 conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11957 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11958 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11959 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11960 else
11962 lt_cv_dlopen="dyld"
11963 lt_cv_dlopen_libs=
11964 lt_cv_dlopen_self=yes
11971 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11972 if test "x$ac_cv_func_shl_load" = xyes; then :
11973 lt_cv_dlopen="shl_load"
11974 else
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11976 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11977 if ${ac_cv_lib_dld_shl_load+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_lib_save_LIBS=$LIBS
11981 LIBS="-ldld $LIBS"
11982 if test x$gcc_no_link = xyes; then
11983 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char shl_load ();
11996 main ()
11998 return shl_load ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 ac_cv_lib_dld_shl_load=yes
12005 else
12006 ac_cv_lib_dld_shl_load=no
12008 rm -f core conftest.err conftest.$ac_objext \
12009 conftest$ac_exeext conftest.$ac_ext
12010 LIBS=$ac_check_lib_save_LIBS
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12013 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12014 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12015 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12016 else
12017 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12018 if test "x$ac_cv_func_dlopen" = xyes; then :
12019 lt_cv_dlopen="dlopen"
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12022 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12023 if ${ac_cv_lib_dl_dlopen+:} false; then :
12024 $as_echo_n "(cached) " >&6
12025 else
12026 ac_check_lib_save_LIBS=$LIBS
12027 LIBS="-ldl $LIBS"
12028 if test x$gcc_no_link = xyes; then
12029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 #ifdef __cplusplus
12038 extern "C"
12039 #endif
12040 char dlopen ();
12042 main ()
12044 return dlopen ();
12046 return 0;
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050 ac_cv_lib_dl_dlopen=yes
12051 else
12052 ac_cv_lib_dl_dlopen=no
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_lib_save_LIBS
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12059 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12060 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12061 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12064 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12065 if ${ac_cv_lib_svld_dlopen+:} false; then :
12066 $as_echo_n "(cached) " >&6
12067 else
12068 ac_check_lib_save_LIBS=$LIBS
12069 LIBS="-lsvld $LIBS"
12070 if test x$gcc_no_link = xyes; then
12071 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12074 /* end confdefs.h. */
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 #endif
12082 char dlopen ();
12084 main ()
12086 return dlopen ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"; then :
12092 ac_cv_lib_svld_dlopen=yes
12093 else
12094 ac_cv_lib_svld_dlopen=no
12096 rm -f core conftest.err conftest.$ac_objext \
12097 conftest$ac_exeext conftest.$ac_ext
12098 LIBS=$ac_check_lib_save_LIBS
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12101 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12102 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12103 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12104 else
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12106 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12107 if ${ac_cv_lib_dld_dld_link+:} false; then :
12108 $as_echo_n "(cached) " >&6
12109 else
12110 ac_check_lib_save_LIBS=$LIBS
12111 LIBS="-ldld $LIBS"
12112 if test x$gcc_no_link = xyes; then
12113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12116 /* end confdefs.h. */
12118 /* Override any GCC internal prototype to avoid an error.
12119 Use char because int might match the return type of a GCC
12120 builtin and then its argument prototype would still apply. */
12121 #ifdef __cplusplus
12122 extern "C"
12123 #endif
12124 char dld_link ();
12126 main ()
12128 return dld_link ();
12130 return 0;
12132 _ACEOF
12133 if ac_fn_c_try_link "$LINENO"; then :
12134 ac_cv_lib_dld_dld_link=yes
12135 else
12136 ac_cv_lib_dld_dld_link=no
12138 rm -f core conftest.err conftest.$ac_objext \
12139 conftest$ac_exeext conftest.$ac_ext
12140 LIBS=$ac_check_lib_save_LIBS
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12143 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12144 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12145 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12164 esac
12166 if test "x$lt_cv_dlopen" != xno; then
12167 enable_dlopen=yes
12168 else
12169 enable_dlopen=no
12172 case $lt_cv_dlopen in
12173 dlopen)
12174 save_CPPFLAGS="$CPPFLAGS"
12175 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12177 save_LDFLAGS="$LDFLAGS"
12178 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12180 save_LIBS="$LIBS"
12181 LIBS="$lt_cv_dlopen_libs $LIBS"
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12184 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12185 if ${lt_cv_dlopen_self+:} false; then :
12186 $as_echo_n "(cached) " >&6
12187 else
12188 if test "$cross_compiling" = yes; then :
12189 lt_cv_dlopen_self=cross
12190 else
12191 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12192 lt_status=$lt_dlunknown
12193 cat > conftest.$ac_ext <<_LT_EOF
12194 #line 12194 "configure"
12195 #include "confdefs.h"
12197 #if HAVE_DLFCN_H
12198 #include <dlfcn.h>
12199 #endif
12201 #include <stdio.h>
12203 #ifdef RTLD_GLOBAL
12204 # define LT_DLGLOBAL RTLD_GLOBAL
12205 #else
12206 # ifdef DL_GLOBAL
12207 # define LT_DLGLOBAL DL_GLOBAL
12208 # else
12209 # define LT_DLGLOBAL 0
12210 # endif
12211 #endif
12213 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12214 find out it does not work in some platform. */
12215 #ifndef LT_DLLAZY_OR_NOW
12216 # ifdef RTLD_LAZY
12217 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12218 # else
12219 # ifdef DL_LAZY
12220 # define LT_DLLAZY_OR_NOW DL_LAZY
12221 # else
12222 # ifdef RTLD_NOW
12223 # define LT_DLLAZY_OR_NOW RTLD_NOW
12224 # else
12225 # ifdef DL_NOW
12226 # define LT_DLLAZY_OR_NOW DL_NOW
12227 # else
12228 # define LT_DLLAZY_OR_NOW 0
12229 # endif
12230 # endif
12231 # endif
12232 # endif
12233 #endif
12235 /* When -fvisbility=hidden is used, assume the code has been annotated
12236 correspondingly for the symbols needed. */
12237 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12238 void fnord () __attribute__((visibility("default")));
12239 #endif
12241 void fnord () { int i=42; }
12242 int main ()
12244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245 int status = $lt_dlunknown;
12247 if (self)
12249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12250 else
12252 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12253 else puts (dlerror ());
12255 /* dlclose (self); */
12257 else
12258 puts (dlerror ());
12260 return status;
12262 _LT_EOF
12263 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12264 (eval $ac_link) 2>&5
12265 ac_status=$?
12266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12267 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12268 (./conftest; exit; ) >&5 2>/dev/null
12269 lt_status=$?
12270 case x$lt_status in
12271 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12272 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12273 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12274 esac
12275 else :
12276 # compilation failed
12277 lt_cv_dlopen_self=no
12280 rm -fr conftest*
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12285 $as_echo "$lt_cv_dlopen_self" >&6; }
12287 if test "x$lt_cv_dlopen_self" = xyes; then
12288 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12290 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12291 if ${lt_cv_dlopen_self_static+:} false; then :
12292 $as_echo_n "(cached) " >&6
12293 else
12294 if test "$cross_compiling" = yes; then :
12295 lt_cv_dlopen_self_static=cross
12296 else
12297 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12298 lt_status=$lt_dlunknown
12299 cat > conftest.$ac_ext <<_LT_EOF
12300 #line 12300 "configure"
12301 #include "confdefs.h"
12303 #if HAVE_DLFCN_H
12304 #include <dlfcn.h>
12305 #endif
12307 #include <stdio.h>
12309 #ifdef RTLD_GLOBAL
12310 # define LT_DLGLOBAL RTLD_GLOBAL
12311 #else
12312 # ifdef DL_GLOBAL
12313 # define LT_DLGLOBAL DL_GLOBAL
12314 # else
12315 # define LT_DLGLOBAL 0
12316 # endif
12317 #endif
12319 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12320 find out it does not work in some platform. */
12321 #ifndef LT_DLLAZY_OR_NOW
12322 # ifdef RTLD_LAZY
12323 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12324 # else
12325 # ifdef DL_LAZY
12326 # define LT_DLLAZY_OR_NOW DL_LAZY
12327 # else
12328 # ifdef RTLD_NOW
12329 # define LT_DLLAZY_OR_NOW RTLD_NOW
12330 # else
12331 # ifdef DL_NOW
12332 # define LT_DLLAZY_OR_NOW DL_NOW
12333 # else
12334 # define LT_DLLAZY_OR_NOW 0
12335 # endif
12336 # endif
12337 # endif
12338 # endif
12339 #endif
12341 /* When -fvisbility=hidden is used, assume the code has been annotated
12342 correspondingly for the symbols needed. */
12343 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12344 void fnord () __attribute__((visibility("default")));
12345 #endif
12347 void fnord () { int i=42; }
12348 int main ()
12350 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12351 int status = $lt_dlunknown;
12353 if (self)
12355 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12356 else
12358 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12359 else puts (dlerror ());
12361 /* dlclose (self); */
12363 else
12364 puts (dlerror ());
12366 return status;
12368 _LT_EOF
12369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12370 (eval $ac_link) 2>&5
12371 ac_status=$?
12372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12373 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12374 (./conftest; exit; ) >&5 2>/dev/null
12375 lt_status=$?
12376 case x$lt_status in
12377 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12378 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12379 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12380 esac
12381 else :
12382 # compilation failed
12383 lt_cv_dlopen_self_static=no
12386 rm -fr conftest*
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12391 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12394 CPPFLAGS="$save_CPPFLAGS"
12395 LDFLAGS="$save_LDFLAGS"
12396 LIBS="$save_LIBS"
12398 esac
12400 case $lt_cv_dlopen_self in
12401 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12402 *) enable_dlopen_self=unknown ;;
12403 esac
12405 case $lt_cv_dlopen_self_static in
12406 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12407 *) enable_dlopen_self_static=unknown ;;
12408 esac
12427 striplib=
12428 old_striplib=
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12430 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12431 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12432 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12433 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12435 $as_echo "yes" >&6; }
12436 else
12437 # FIXME - insert some real tests, host_os isn't really good enough
12438 case $host_os in
12439 darwin*)
12440 if test -n "$STRIP" ; then
12441 striplib="$STRIP -x"
12442 old_striplib="$STRIP -S"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12444 $as_echo "yes" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12447 $as_echo "no" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12452 $as_echo "no" >&6; }
12454 esac
12468 # Report which library types will actually be built
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12470 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12472 $as_echo "$can_build_shared" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12475 $as_echo_n "checking whether to build shared libraries... " >&6; }
12476 test "$can_build_shared" = "no" && enable_shared=no
12478 # On AIX, shared libraries and static libraries use the same namespace, and
12479 # are all built from PIC.
12480 case $host_os in
12481 aix3*)
12482 test "$enable_shared" = yes && enable_static=no
12483 if test -n "$RANLIB"; then
12484 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12485 postinstall_cmds='$RANLIB $lib'
12489 aix[4-9]*)
12490 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12491 test "$enable_shared" = yes && enable_static=no
12494 esac
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12496 $as_echo "$enable_shared" >&6; }
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12499 $as_echo_n "checking whether to build static libraries... " >&6; }
12500 # Make sure either enable_shared or enable_static is yes.
12501 test "$enable_shared" = yes || enable_static=yes
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12503 $as_echo "$enable_static" >&6; }
12509 ac_ext=c
12510 ac_cpp='$CPP $CPPFLAGS'
12511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12515 CC="$lt_save_CC"
12517 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12518 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12519 (test "X$CXX" != "Xg++"))) ; then
12520 ac_ext=cpp
12521 ac_cpp='$CXXCPP $CPPFLAGS'
12522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12526 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12527 if test -z "$CXXCPP"; then
12528 if ${ac_cv_prog_CXXCPP+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 # Double quotes because CXXCPP needs to be expanded
12532 for CXXCPP in "$CXX -E" "/lib/cpp"
12534 ac_preproc_ok=false
12535 for ac_cxx_preproc_warn_flag in '' yes
12537 # Use a header file that comes with gcc, so configuring glibc
12538 # with a fresh cross-compiler works.
12539 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12540 # <limits.h> exists even on freestanding compilers.
12541 # On the NeXT, cc -E runs the code through the compiler's parser,
12542 # not just through cpp. "Syntax error" is here to catch this case.
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 #ifdef __STDC__
12546 # include <limits.h>
12547 #else
12548 # include <assert.h>
12549 #endif
12550 Syntax error
12551 _ACEOF
12552 if ac_fn_cxx_try_cpp "$LINENO"; then :
12554 else
12555 # Broken: fails on valid input.
12556 continue
12558 rm -f conftest.err conftest.i conftest.$ac_ext
12560 # OK, works on sane cases. Now check whether nonexistent headers
12561 # can be detected and how.
12562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12563 /* end confdefs.h. */
12564 #include <ac_nonexistent.h>
12565 _ACEOF
12566 if ac_fn_cxx_try_cpp "$LINENO"; then :
12567 # Broken: success on invalid input.
12568 continue
12569 else
12570 # Passes both tests.
12571 ac_preproc_ok=:
12572 break
12574 rm -f conftest.err conftest.i conftest.$ac_ext
12576 done
12577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12578 rm -f conftest.i conftest.err conftest.$ac_ext
12579 if $ac_preproc_ok; then :
12580 break
12583 done
12584 ac_cv_prog_CXXCPP=$CXXCPP
12587 CXXCPP=$ac_cv_prog_CXXCPP
12588 else
12589 ac_cv_prog_CXXCPP=$CXXCPP
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12592 $as_echo "$CXXCPP" >&6; }
12593 ac_preproc_ok=false
12594 for ac_cxx_preproc_warn_flag in '' yes
12596 # Use a header file that comes with gcc, so configuring glibc
12597 # with a fresh cross-compiler works.
12598 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599 # <limits.h> exists even on freestanding compilers.
12600 # On the NeXT, cc -E runs the code through the compiler's parser,
12601 # not just through cpp. "Syntax error" is here to catch this case.
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12609 Syntax error
12610 _ACEOF
12611 if ac_fn_cxx_try_cpp "$LINENO"; then :
12613 else
12614 # Broken: fails on valid input.
12615 continue
12617 rm -f conftest.err conftest.i conftest.$ac_ext
12619 # OK, works on sane cases. Now check whether nonexistent headers
12620 # can be detected and how.
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 #include <ac_nonexistent.h>
12624 _ACEOF
12625 if ac_fn_cxx_try_cpp "$LINENO"; then :
12626 # Broken: success on invalid input.
12627 continue
12628 else
12629 # Passes both tests.
12630 ac_preproc_ok=:
12631 break
12633 rm -f conftest.err conftest.i conftest.$ac_ext
12635 done
12636 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12637 rm -f conftest.i conftest.err conftest.$ac_ext
12638 if $ac_preproc_ok; then :
12640 else
12641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12643 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12644 See \`config.log' for more details" "$LINENO" 5; }
12647 ac_ext=c
12648 ac_cpp='$CPP $CPPFLAGS'
12649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12653 else
12654 _lt_caught_CXX_error=yes
12657 ac_ext=cpp
12658 ac_cpp='$CXXCPP $CPPFLAGS'
12659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12663 archive_cmds_need_lc_CXX=no
12664 allow_undefined_flag_CXX=
12665 always_export_symbols_CXX=no
12666 archive_expsym_cmds_CXX=
12667 compiler_needs_object_CXX=no
12668 export_dynamic_flag_spec_CXX=
12669 hardcode_direct_CXX=no
12670 hardcode_direct_absolute_CXX=no
12671 hardcode_libdir_flag_spec_CXX=
12672 hardcode_libdir_flag_spec_ld_CXX=
12673 hardcode_libdir_separator_CXX=
12674 hardcode_minus_L_CXX=no
12675 hardcode_shlibpath_var_CXX=unsupported
12676 hardcode_automatic_CXX=no
12677 inherit_rpath_CXX=no
12678 module_cmds_CXX=
12679 module_expsym_cmds_CXX=
12680 link_all_deplibs_CXX=unknown
12681 old_archive_cmds_CXX=$old_archive_cmds
12682 reload_flag_CXX=$reload_flag
12683 reload_cmds_CXX=$reload_cmds
12684 no_undefined_flag_CXX=
12685 whole_archive_flag_spec_CXX=
12686 enable_shared_with_static_runtimes_CXX=no
12688 # Source file extension for C++ test sources.
12689 ac_ext=cpp
12691 # Object file extension for compiled C++ test sources.
12692 objext=o
12693 objext_CXX=$objext
12695 # No sense in running all these tests if we already determined that
12696 # the CXX compiler isn't working. Some variables (like enable_shared)
12697 # are currently assumed to apply to all compilers on this platform,
12698 # and will be corrupted by setting them based on a non-working compiler.
12699 if test "$_lt_caught_CXX_error" != yes; then
12700 # Code to be used in simple compile tests
12701 lt_simple_compile_test_code="int some_variable = 0;"
12703 # Code to be used in simple link tests
12704 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12706 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12713 # If no C compiler was specified, use CC.
12714 LTCC=${LTCC-"$CC"}
12716 # If no C compiler flags were specified, use CFLAGS.
12717 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12719 # Allow CC to be a program name with arguments.
12720 compiler=$CC
12723 # save warnings/boilerplate of simple test code
12724 ac_outfile=conftest.$ac_objext
12725 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12726 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12727 _lt_compiler_boilerplate=`cat conftest.err`
12728 $RM conftest*
12730 ac_outfile=conftest.$ac_objext
12731 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12732 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12733 _lt_linker_boilerplate=`cat conftest.err`
12734 $RM -r conftest*
12737 # Allow CC to be a program name with arguments.
12738 lt_save_CC=$CC
12739 lt_save_LD=$LD
12740 lt_save_GCC=$GCC
12741 GCC=$GXX
12742 lt_save_with_gnu_ld=$with_gnu_ld
12743 lt_save_path_LD=$lt_cv_path_LD
12744 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12745 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12746 else
12747 $as_unset lt_cv_prog_gnu_ld
12749 if test -n "${lt_cv_path_LDCXX+set}"; then
12750 lt_cv_path_LD=$lt_cv_path_LDCXX
12751 else
12752 $as_unset lt_cv_path_LD
12754 test -z "${LDCXX+set}" || LD=$LDCXX
12755 CC=${CXX-"c++"}
12756 compiler=$CC
12757 compiler_CXX=$CC
12758 for cc_temp in $compiler""; do
12759 case $cc_temp in
12760 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12761 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12762 \-*) ;;
12763 *) break;;
12764 esac
12765 done
12766 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12769 if test -n "$compiler"; then
12770 # We don't want -fno-exception when compiling C++ code, so set the
12771 # no_builtin_flag separately
12772 if test "$GXX" = yes; then
12773 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12774 else
12775 lt_prog_compiler_no_builtin_flag_CXX=
12778 if test "$GXX" = yes; then
12779 # Set up default GNU C++ configuration
12783 # Check whether --with-gnu-ld was given.
12784 if test "${with_gnu_ld+set}" = set; then :
12785 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12786 else
12787 with_gnu_ld=no
12790 ac_prog=ld
12791 if test "$GCC" = yes; then
12792 # Check if gcc -print-prog-name=ld gives a path.
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12794 $as_echo_n "checking for ld used by $CC... " >&6; }
12795 case $host in
12796 *-*-mingw*)
12797 # gcc leaves a trailing carriage return which upsets mingw
12798 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12800 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12801 esac
12802 case $ac_prog in
12803 # Accept absolute paths.
12804 [\\/]* | ?:[\\/]*)
12805 re_direlt='/[^/][^/]*/\.\./'
12806 # Canonicalize the pathname of ld
12807 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12808 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12809 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12810 done
12811 test -z "$LD" && LD="$ac_prog"
12814 # If it fails, then pretend we aren't using GCC.
12815 ac_prog=ld
12818 # If it is relative, then search for the first ld in PATH.
12819 with_gnu_ld=unknown
12821 esac
12822 elif test "$with_gnu_ld" = yes; then
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12824 $as_echo_n "checking for GNU ld... " >&6; }
12825 else
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12827 $as_echo_n "checking for non-GNU ld... " >&6; }
12829 if ${lt_cv_path_LD+:} false; then :
12830 $as_echo_n "(cached) " >&6
12831 else
12832 if test -z "$LD"; then
12833 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12834 for ac_dir in $PATH; do
12835 IFS="$lt_save_ifs"
12836 test -z "$ac_dir" && ac_dir=.
12837 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12838 lt_cv_path_LD="$ac_dir/$ac_prog"
12839 # Check to see if the program is GNU ld. I'd rather use --version,
12840 # but apparently some variants of GNU ld only accept -v.
12841 # Break only if it was the GNU/non-GNU ld that we prefer.
12842 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12843 *GNU* | *'with BFD'*)
12844 test "$with_gnu_ld" != no && break
12847 test "$with_gnu_ld" != yes && break
12849 esac
12851 done
12852 IFS="$lt_save_ifs"
12853 else
12854 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12858 LD="$lt_cv_path_LD"
12859 if test -n "$LD"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12861 $as_echo "$LD" >&6; }
12862 else
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12864 $as_echo "no" >&6; }
12866 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12868 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12869 if ${lt_cv_prog_gnu_ld+:} false; then :
12870 $as_echo_n "(cached) " >&6
12871 else
12872 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12873 case `$LD -v 2>&1 </dev/null` in
12874 *GNU* | *'with BFD'*)
12875 lt_cv_prog_gnu_ld=yes
12878 lt_cv_prog_gnu_ld=no
12880 esac
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12883 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12884 with_gnu_ld=$lt_cv_prog_gnu_ld
12892 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12893 # archiving commands below assume that GNU ld is being used.
12894 if test "$with_gnu_ld" = yes; then
12895 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12901 # If archive_cmds runs LD, not CC, wlarc should be empty
12902 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12903 # investigate it a little bit more. (MM)
12904 wlarc='${wl}'
12906 # ancient GNU ld didn't support --whole-archive et. al.
12907 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12908 $GREP 'no-whole-archive' > /dev/null; then
12909 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12910 else
12911 whole_archive_flag_spec_CXX=
12913 else
12914 with_gnu_ld=no
12915 wlarc=
12917 # A generic and very simple default shared library creation
12918 # command for GNU C++ for the case where it uses the native
12919 # linker, instead of GNU ld. If possible, this setting should
12920 # overridden to take advantage of the native linker features on
12921 # the platform it is being used on.
12922 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12925 # Commands to make compiler produce verbose output that lists
12926 # what "hidden" libraries, object files and flags are used when
12927 # linking a shared library.
12928 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12930 else
12931 GXX=no
12932 with_gnu_ld=no
12933 wlarc=
12936 # PORTME: fill in a description of your system's C++ link characteristics
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12938 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12939 ld_shlibs_CXX=yes
12940 case $host_os in
12941 aix3*)
12942 # FIXME: insert proper C++ library support
12943 ld_shlibs_CXX=no
12945 aix[4-9]*)
12946 if test "$host_cpu" = ia64; then
12947 # On IA64, the linker does run time linking by default, so we don't
12948 # have to do anything special.
12949 aix_use_runtimelinking=no
12950 exp_sym_flag='-Bexport'
12951 no_entry_flag=""
12952 else
12953 aix_use_runtimelinking=no
12955 # Test if we are trying to use run time linking or normal
12956 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12957 # need to do runtime linking.
12958 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12959 for ld_flag in $LDFLAGS; do
12960 case $ld_flag in
12961 *-brtl*)
12962 aix_use_runtimelinking=yes
12963 break
12965 esac
12966 done
12968 esac
12970 exp_sym_flag='-bexport'
12971 no_entry_flag='-bnoentry'
12974 # When large executables or shared objects are built, AIX ld can
12975 # have problems creating the table of contents. If linking a library
12976 # or program results in "error TOC overflow" add -mminimal-toc to
12977 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12978 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12980 archive_cmds_CXX=''
12981 hardcode_direct_CXX=yes
12982 hardcode_direct_absolute_CXX=yes
12983 hardcode_libdir_separator_CXX=':'
12984 link_all_deplibs_CXX=yes
12985 file_list_spec_CXX='${wl}-f,'
12987 if test "$GXX" = yes; then
12988 case $host_os in aix4.[012]|aix4.[012].*)
12989 # We only want to do this on AIX 4.2 and lower, the check
12990 # below for broken collect2 doesn't work under 4.3+
12991 collect2name=`${CC} -print-prog-name=collect2`
12992 if test -f "$collect2name" &&
12993 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12994 then
12995 # We have reworked collect2
12997 else
12998 # We have old collect2
12999 hardcode_direct_CXX=unsupported
13000 # It fails to find uninstalled libraries when the uninstalled
13001 # path is not listed in the libpath. Setting hardcode_minus_L
13002 # to unsupported forces relinking
13003 hardcode_minus_L_CXX=yes
13004 hardcode_libdir_flag_spec_CXX='-L$libdir'
13005 hardcode_libdir_separator_CXX=
13007 esac
13008 shared_flag='-shared'
13009 if test "$aix_use_runtimelinking" = yes; then
13010 shared_flag="$shared_flag "'${wl}-G'
13012 else
13013 # not using gcc
13014 if test "$host_cpu" = ia64; then
13015 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13016 # chokes on -Wl,-G. The following line is correct:
13017 shared_flag='-G'
13018 else
13019 if test "$aix_use_runtimelinking" = yes; then
13020 shared_flag='${wl}-G'
13021 else
13022 shared_flag='${wl}-bM:SRE'
13027 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13028 # It seems that -bexpall does not export symbols beginning with
13029 # underscore (_), so it is better to generate a list of symbols to
13030 # export.
13031 always_export_symbols_CXX=yes
13032 if test "$aix_use_runtimelinking" = yes; then
13033 # Warning - without using the other runtime loading flags (-brtl),
13034 # -berok will link without error, but may produce a broken library.
13035 allow_undefined_flag_CXX='-berok'
13036 # Determine the default libpath from the value encoded in an empty
13037 # executable.
13038 if test x$gcc_no_link = xyes; then
13039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13045 main ()
13049 return 0;
13051 _ACEOF
13052 if ac_fn_cxx_try_link "$LINENO"; then :
13054 lt_aix_libpath_sed='
13055 /Import File Strings/,/^$/ {
13056 /^0/ {
13057 s/^0 *\(.*\)$/\1/
13061 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13062 # Check for a 64-bit object if we didn't find anything.
13063 if test -z "$aix_libpath"; then
13064 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13067 rm -f core conftest.err conftest.$ac_objext \
13068 conftest$ac_exeext conftest.$ac_ext
13069 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13071 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13073 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13074 else
13075 if test "$host_cpu" = ia64; then
13076 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13077 allow_undefined_flag_CXX="-z nodefs"
13078 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
13079 else
13080 # Determine the default libpath from the value encoded in an
13081 # empty executable.
13082 if test x$gcc_no_link = xyes; then
13083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13089 main ()
13093 return 0;
13095 _ACEOF
13096 if ac_fn_cxx_try_link "$LINENO"; then :
13098 lt_aix_libpath_sed='
13099 /Import File Strings/,/^$/ {
13100 /^0/ {
13101 s/^0 *\(.*\)$/\1/
13105 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13106 # Check for a 64-bit object if we didn't find anything.
13107 if test -z "$aix_libpath"; then
13108 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13111 rm -f core conftest.err conftest.$ac_objext \
13112 conftest$ac_exeext conftest.$ac_ext
13113 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13115 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13116 # Warning - without using the other run time loading flags,
13117 # -berok will link without error, but may produce a broken library.
13118 no_undefined_flag_CXX=' ${wl}-bernotok'
13119 allow_undefined_flag_CXX=' ${wl}-berok'
13120 if test "$with_gnu_ld" = yes; then
13121 # We only use this code for GNU lds that support --whole-archive.
13122 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13123 else
13124 # Exported symbols can be pulled into shared objects from archives
13125 whole_archive_flag_spec_CXX='$convenience'
13127 archive_cmds_need_lc_CXX=yes
13128 # This is similar to how AIX traditionally builds its shared
13129 # libraries.
13130 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13135 beos*)
13136 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13137 allow_undefined_flag_CXX=unsupported
13138 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13139 # support --undefined. This deserves some investigation. FIXME
13140 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13141 else
13142 ld_shlibs_CXX=no
13146 chorus*)
13147 case $cc_basename in
13149 # FIXME: insert proper C++ library support
13150 ld_shlibs_CXX=no
13152 esac
13155 cygwin* | mingw* | pw32* | cegcc*)
13156 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13157 # as there is no search path for DLLs.
13158 hardcode_libdir_flag_spec_CXX='-L$libdir'
13159 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13160 allow_undefined_flag_CXX=unsupported
13161 always_export_symbols_CXX=no
13162 enable_shared_with_static_runtimes_CXX=yes
13164 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13165 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13166 # If the export-symbols file already is a .def file (1st line
13167 # is EXPORTS), use it as is; otherwise, prepend...
13168 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13169 cp $export_symbols $output_objdir/$soname.def;
13170 else
13171 echo EXPORTS > $output_objdir/$soname.def;
13172 cat $export_symbols >> $output_objdir/$soname.def;
13174 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13175 else
13176 ld_shlibs_CXX=no
13179 darwin* | rhapsody*)
13182 archive_cmds_need_lc_CXX=no
13183 hardcode_direct_CXX=no
13184 hardcode_automatic_CXX=yes
13185 hardcode_shlibpath_var_CXX=unsupported
13186 if test "$lt_cv_ld_force_load" = "yes"; then
13187 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13188 else
13189 whole_archive_flag_spec_CXX=''
13191 link_all_deplibs_CXX=yes
13192 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13193 case $cc_basename in
13194 ifort*) _lt_dar_can_shared=yes ;;
13195 *) _lt_dar_can_shared=$GCC ;;
13196 esac
13197 if test "$_lt_dar_can_shared" = "yes"; then
13198 output_verbose_link_cmd=func_echo_all
13199 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13200 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13201 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
13202 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
13203 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13204 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13205 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13208 else
13209 ld_shlibs_CXX=no
13214 dgux*)
13215 case $cc_basename in
13216 ec++*)
13217 # FIXME: insert proper C++ library support
13218 ld_shlibs_CXX=no
13220 ghcx*)
13221 # Green Hills C++ Compiler
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13226 # FIXME: insert proper C++ library support
13227 ld_shlibs_CXX=no
13229 esac
13232 freebsd2.*)
13233 # C++ shared libraries reported to be fairly broken before
13234 # switch to ELF
13235 ld_shlibs_CXX=no
13238 freebsd-elf*)
13239 archive_cmds_need_lc_CXX=no
13242 freebsd* | dragonfly*)
13243 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13244 # conventions
13245 ld_shlibs_CXX=yes
13248 gnu*)
13251 haiku*)
13252 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253 link_all_deplibs_CXX=yes
13256 hpux9*)
13257 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13258 hardcode_libdir_separator_CXX=:
13259 export_dynamic_flag_spec_CXX='${wl}-E'
13260 hardcode_direct_CXX=yes
13261 hardcode_minus_L_CXX=yes # Not in the search PATH,
13262 # but as the default
13263 # location of the library.
13265 case $cc_basename in
13266 CC*)
13267 # FIXME: insert proper C++ library support
13268 ld_shlibs_CXX=no
13270 aCC*)
13271 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13272 # Commands to make compiler produce verbose output that lists
13273 # what "hidden" libraries, object files and flags are used when
13274 # linking a shared library.
13276 # There doesn't appear to be a way to prevent this compiler from
13277 # explicitly linking system object files so we need to strip them
13278 # from the output so that they don't get included in the library
13279 # dependencies.
13280 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13283 if test "$GXX" = yes; then
13284 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13285 else
13286 # FIXME: insert proper C++ library support
13287 ld_shlibs_CXX=no
13290 esac
13293 hpux10*|hpux11*)
13294 if test $with_gnu_ld = no; then
13295 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13296 hardcode_libdir_separator_CXX=:
13298 case $host_cpu in
13299 hppa*64*|ia64*)
13302 export_dynamic_flag_spec_CXX='${wl}-E'
13304 esac
13306 case $host_cpu in
13307 hppa*64*|ia64*)
13308 hardcode_direct_CXX=no
13309 hardcode_shlibpath_var_CXX=no
13312 hardcode_direct_CXX=yes
13313 hardcode_direct_absolute_CXX=yes
13314 hardcode_minus_L_CXX=yes # Not in the search PATH,
13315 # but as the default
13316 # location of the library.
13318 esac
13320 case $cc_basename in
13321 CC*)
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13325 aCC*)
13326 case $host_cpu in
13327 hppa*64*)
13328 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 ia64*)
13331 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13334 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13336 esac
13337 # Commands to make compiler produce verbose output that lists
13338 # what "hidden" libraries, object files and flags are used when
13339 # linking a shared library.
13341 # There doesn't appear to be a way to prevent this compiler from
13342 # explicitly linking system object files so we need to strip them
13343 # from the output so that they don't get included in the library
13344 # dependencies.
13345 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13348 if test "$GXX" = yes; then
13349 if test $with_gnu_ld = no; then
13350 case $host_cpu in
13351 hppa*64*)
13352 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 ia64*)
13355 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13358 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13360 esac
13362 else
13363 # FIXME: insert proper C++ library support
13364 ld_shlibs_CXX=no
13367 esac
13370 interix[3-9]*)
13371 hardcode_direct_CXX=no
13372 hardcode_shlibpath_var_CXX=no
13373 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13374 export_dynamic_flag_spec_CXX='${wl}-E'
13375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13376 # Instead, shared libraries are loaded at an image base (0x10000000 by
13377 # default) and relocated if they conflict, which is a slow very memory
13378 # consuming and fragmenting process. To avoid this, we pick a random,
13379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13381 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13382 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13384 irix5* | irix6*)
13385 case $cc_basename in
13386 CC*)
13387 # SGI C++
13388 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13390 # Archives containing C++ object files must be created using
13391 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13392 # necessary to make sure instantiated templates are included
13393 # in the archive.
13394 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13397 if test "$GXX" = yes; then
13398 if test "$with_gnu_ld" = no; then
13399 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13400 else
13401 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13404 link_all_deplibs_CXX=yes
13406 esac
13407 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13408 hardcode_libdir_separator_CXX=:
13409 inherit_rpath_CXX=yes
13412 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13413 case $cc_basename in
13414 KCC*)
13415 # Kuck and Associates, Inc. (KAI) C++ Compiler
13417 # KCC will only create a shared library if the output file
13418 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13419 # to its proper name (with version) after linking.
13420 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13421 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13422 # Commands to make compiler produce verbose output that lists
13423 # what "hidden" libraries, object files and flags are used when
13424 # linking a shared library.
13426 # There doesn't appear to be a way to prevent this compiler from
13427 # explicitly linking system object files so we need to strip them
13428 # from the output so that they don't get included in the library
13429 # dependencies.
13430 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13432 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13433 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13435 # Archives containing C++ object files must be created using
13436 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13437 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13439 icpc* | ecpc* )
13440 # Intel C++
13441 with_gnu_ld=yes
13442 # version 8.0 and above of icpc choke on multiply defined symbols
13443 # if we add $predep_objects and $postdep_objects, however 7.1 and
13444 # earlier do not add the objects themselves.
13445 case `$CC -V 2>&1` in
13446 *"Version 7."*)
13447 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13448 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13450 *) # Version 8.0 or newer
13451 tmp_idyn=
13452 case $host_cpu in
13453 ia64*) tmp_idyn=' -i_dynamic';;
13454 esac
13455 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13456 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13458 esac
13459 archive_cmds_need_lc_CXX=no
13460 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13461 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13464 pgCC* | pgcpp*)
13465 # Portland Group C++ compiler
13466 case `$CC -V` in
13467 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13468 prelink_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13471 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13472 old_archive_cmds_CXX='tpldir=Template.dir~
13473 rm -rf $tpldir~
13474 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13475 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13476 $RANLIB $oldlib'
13477 archive_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13481 archive_expsym_cmds_CXX='tpldir=Template.dir~
13482 rm -rf $tpldir~
13483 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13484 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13486 *) # Version 6 and above use weak symbols
13487 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13488 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13490 esac
13492 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13493 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13494 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13496 cxx*)
13497 # Compaq C++
13498 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13499 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13501 runpath_var=LD_RUN_PATH
13502 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13503 hardcode_libdir_separator_CXX=:
13505 # Commands to make compiler produce verbose output that lists
13506 # what "hidden" libraries, object files and flags are used when
13507 # linking a shared library.
13509 # There doesn't appear to be a way to prevent this compiler from
13510 # explicitly linking system object files so we need to strip them
13511 # from the output so that they don't get included in the library
13512 # dependencies.
13513 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13515 xl* | mpixl* | bgxl*)
13516 # IBM XL 8.0 on PPC, with GNU ld
13517 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13518 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13519 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13520 if test "x$supports_anon_versioning" = xyes; then
13521 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13522 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13523 echo "local: *; };" >> $output_objdir/$libname.ver~
13524 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13528 case `$CC -V 2>&1 | sed 5q` in
13529 *Sun\ C*)
13530 # Sun C++ 5.9
13531 no_undefined_flag_CXX=' -zdefs'
13532 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13534 hardcode_libdir_flag_spec_CXX='-R$libdir'
13535 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13536 compiler_needs_object_CXX=yes
13538 # Not sure whether something based on
13539 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13540 # would be better.
13541 output_verbose_link_cmd='func_echo_all'
13543 # Archives containing C++ object files must be created using
13544 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13545 # necessary to make sure instantiated templates are included
13546 # in the archive.
13547 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13549 esac
13551 esac
13554 lynxos*)
13555 # FIXME: insert proper C++ library support
13556 ld_shlibs_CXX=no
13559 m88k*)
13560 # FIXME: insert proper C++ library support
13561 ld_shlibs_CXX=no
13564 mvs*)
13565 case $cc_basename in
13566 cxx*)
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13571 # FIXME: insert proper C++ library support
13572 ld_shlibs_CXX=no
13574 esac
13577 netbsd*)
13578 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13579 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13580 wlarc=
13581 hardcode_libdir_flag_spec_CXX='-R$libdir'
13582 hardcode_direct_CXX=yes
13583 hardcode_shlibpath_var_CXX=no
13585 # Workaround some broken pre-1.5 toolchains
13586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13589 *nto* | *qnx*)
13590 ld_shlibs_CXX=yes
13593 openbsd2*)
13594 # C++ shared libraries are fairly broken
13595 ld_shlibs_CXX=no
13598 openbsd*)
13599 if test -f /usr/libexec/ld.so; then
13600 hardcode_direct_CXX=yes
13601 hardcode_shlibpath_var_CXX=no
13602 hardcode_direct_absolute_CXX=yes
13603 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13604 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13605 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13606 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13607 export_dynamic_flag_spec_CXX='${wl}-E'
13608 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13610 output_verbose_link_cmd=func_echo_all
13611 else
13612 ld_shlibs_CXX=no
13616 osf3* | osf4* | osf5*)
13617 case $cc_basename in
13618 KCC*)
13619 # Kuck and Associates, Inc. (KAI) C++ Compiler
13621 # KCC will only create a shared library if the output file
13622 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13623 # to its proper name (with version) after linking.
13624 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13626 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13627 hardcode_libdir_separator_CXX=:
13629 # Archives containing C++ object files must be created using
13630 # the KAI C++ compiler.
13631 case $host in
13632 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13633 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13634 esac
13636 RCC*)
13637 # Rational C++ 2.4.1
13638 # FIXME: insert proper C++ library support
13639 ld_shlibs_CXX=no
13641 cxx*)
13642 case $host in
13643 osf3*)
13644 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13645 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13646 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13649 allow_undefined_flag_CXX=' -expect_unresolved \*'
13650 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13651 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13652 echo "-hidden">> $lib.exp~
13653 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13654 $RM $lib.exp'
13655 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13657 esac
13659 hardcode_libdir_separator_CXX=:
13661 # Commands to make compiler produce verbose output that lists
13662 # what "hidden" libraries, object files and flags are used when
13663 # linking a shared library.
13665 # There doesn't appear to be a way to prevent this compiler from
13666 # explicitly linking system object files so we need to strip them
13667 # from the output so that they don't get included in the library
13668 # dependencies.
13669 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13672 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13673 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13674 case $host in
13675 osf3*)
13676 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13679 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13681 esac
13683 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13684 hardcode_libdir_separator_CXX=:
13686 # Commands to make compiler produce verbose output that lists
13687 # what "hidden" libraries, object files and flags are used when
13688 # linking a shared library.
13689 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13691 else
13692 # FIXME: insert proper C++ library support
13693 ld_shlibs_CXX=no
13696 esac
13699 psos*)
13700 # FIXME: insert proper C++ library support
13701 ld_shlibs_CXX=no
13704 sunos4*)
13705 case $cc_basename in
13706 CC*)
13707 # Sun C++ 4.x
13708 # FIXME: insert proper C++ library support
13709 ld_shlibs_CXX=no
13711 lcc*)
13712 # Lucid
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13717 # FIXME: insert proper C++ library support
13718 ld_shlibs_CXX=no
13720 esac
13723 solaris*)
13724 case $cc_basename in
13725 CC*)
13726 # Sun C++ 4.2, 5.x and Centerline C++
13727 archive_cmds_need_lc_CXX=yes
13728 no_undefined_flag_CXX=' -zdefs'
13729 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13730 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13731 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13733 hardcode_libdir_flag_spec_CXX='-R$libdir'
13734 hardcode_shlibpath_var_CXX=no
13735 case $host_os in
13736 solaris2.[0-5] | solaris2.[0-5].*) ;;
13738 # The compiler driver will combine and reorder linker options,
13739 # but understands `-z linker_flag'.
13740 # Supported since Solaris 2.6 (maybe 2.5.1?)
13741 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13743 esac
13744 link_all_deplibs_CXX=yes
13746 output_verbose_link_cmd='func_echo_all'
13748 # Archives containing C++ object files must be created using
13749 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13750 # necessary to make sure instantiated templates are included
13751 # in the archive.
13752 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13754 gcx*)
13755 # Green Hills C++ Compiler
13756 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13758 # The C++ compiler must be used to create the archive.
13759 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13762 # GNU C++ compiler with Solaris linker
13763 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13764 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13765 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13766 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13767 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13768 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13770 # Commands to make compiler produce verbose output that lists
13771 # what "hidden" libraries, object files and flags are used when
13772 # linking a shared library.
13773 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13774 else
13775 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13776 # platform.
13777 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13778 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13779 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13781 # Commands to make compiler produce verbose output that lists
13782 # what "hidden" libraries, object files and flags are used when
13783 # linking a shared library.
13784 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13787 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13788 case $host_os in
13789 solaris2.[0-5] | solaris2.[0-5].*) ;;
13791 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13793 esac
13796 esac
13799 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13800 no_undefined_flag_CXX='${wl}-z,text'
13801 archive_cmds_need_lc_CXX=no
13802 hardcode_shlibpath_var_CXX=no
13803 runpath_var='LD_RUN_PATH'
13805 case $cc_basename in
13806 CC*)
13807 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13811 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13812 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13814 esac
13817 sysv5* | sco3.2v5* | sco5v6*)
13818 # Note: We can NOT use -z defs as we might desire, because we do not
13819 # link with -lc, and that would cause any symbols used from libc to
13820 # always be unresolved, which means just about no library would
13821 # ever link correctly. If we're not using GNU ld we use -z text
13822 # though, which does catch some bad symbols but isn't as heavy-handed
13823 # as -z defs.
13824 no_undefined_flag_CXX='${wl}-z,text'
13825 allow_undefined_flag_CXX='${wl}-z,nodefs'
13826 archive_cmds_need_lc_CXX=no
13827 hardcode_shlibpath_var_CXX=no
13828 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13829 hardcode_libdir_separator_CXX=':'
13830 link_all_deplibs_CXX=yes
13831 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13832 runpath_var='LD_RUN_PATH'
13834 case $cc_basename in
13835 CC*)
13836 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13837 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13838 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13839 '"$old_archive_cmds_CXX"
13840 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13841 '"$reload_cmds_CXX"
13844 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13845 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13847 esac
13850 tandem*)
13851 case $cc_basename in
13852 NCC*)
13853 # NonStop-UX NCC 3.20
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13858 # FIXME: insert proper C++ library support
13859 ld_shlibs_CXX=no
13861 esac
13864 vxworks*)
13865 # FIXME: insert proper C++ library support
13866 ld_shlibs_CXX=no
13870 # FIXME: insert proper C++ library support
13871 ld_shlibs_CXX=no
13873 esac
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13876 $as_echo "$ld_shlibs_CXX" >&6; }
13877 test "$ld_shlibs_CXX" = no && can_build_shared=no
13879 GCC_CXX="$GXX"
13880 LD_CXX="$LD"
13882 ## CAVEAT EMPTOR:
13883 ## There is no encapsulation within the following macros, do not change
13884 ## the running order or otherwise move them around unless you know exactly
13885 ## what you are doing...
13886 # Dependencies to place before and after the object being linked:
13887 predep_objects_CXX=
13888 postdep_objects_CXX=
13889 predeps_CXX=
13890 postdeps_CXX=
13891 compiler_lib_search_path_CXX=
13893 cat > conftest.$ac_ext <<_LT_EOF
13894 class Foo
13896 public:
13897 Foo (void) { a = 0; }
13898 private:
13899 int a;
13901 _LT_EOF
13903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13904 (eval $ac_compile) 2>&5
13905 ac_status=$?
13906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13907 test $ac_status = 0; }; then
13908 # Parse the compiler output and extract the necessary
13909 # objects, libraries and library flags.
13911 # Sentinel used to keep track of whether or not we are before
13912 # the conftest object file.
13913 pre_test_object_deps_done=no
13915 for p in `eval "$output_verbose_link_cmd"`; do
13916 case $p in
13918 -L* | -R* | -l*)
13919 # Some compilers place space between "-{L,R}" and the path.
13920 # Remove the space.
13921 if test $p = "-L" ||
13922 test $p = "-R"; then
13923 prev=$p
13924 continue
13925 else
13926 prev=
13929 if test "$pre_test_object_deps_done" = no; then
13930 case $p in
13931 -L* | -R*)
13932 # Internal compiler library paths should come after those
13933 # provided the user. The postdeps already come after the
13934 # user supplied libs so there is no need to process them.
13935 if test -z "$compiler_lib_search_path_CXX"; then
13936 compiler_lib_search_path_CXX="${prev}${p}"
13937 else
13938 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13941 # The "-l" case would never come before the object being
13942 # linked, so don't bother handling this case.
13943 esac
13944 else
13945 if test -z "$postdeps_CXX"; then
13946 postdeps_CXX="${prev}${p}"
13947 else
13948 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13953 *.$objext)
13954 # This assumes that the test object file only shows up
13955 # once in the compiler output.
13956 if test "$p" = "conftest.$objext"; then
13957 pre_test_object_deps_done=yes
13958 continue
13961 if test "$pre_test_object_deps_done" = no; then
13962 if test -z "$predep_objects_CXX"; then
13963 predep_objects_CXX="$p"
13964 else
13965 predep_objects_CXX="$predep_objects_CXX $p"
13967 else
13968 if test -z "$postdep_objects_CXX"; then
13969 postdep_objects_CXX="$p"
13970 else
13971 postdep_objects_CXX="$postdep_objects_CXX $p"
13976 *) ;; # Ignore the rest.
13978 esac
13979 done
13981 # Clean up.
13982 rm -f a.out a.exe
13983 else
13984 echo "libtool.m4: error: problem compiling CXX test program"
13987 $RM -f confest.$objext
13989 # PORTME: override above test on systems where it is broken
13990 case $host_os in
13991 interix[3-9]*)
13992 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13993 # hack all around it, let's just trust "g++" to DTRT.
13994 predep_objects_CXX=
13995 postdep_objects_CXX=
13996 postdeps_CXX=
13999 linux*)
14000 case `$CC -V 2>&1 | sed 5q` in
14001 *Sun\ C*)
14002 # Sun C++ 5.9
14004 # The more standards-conforming stlport4 library is
14005 # incompatible with the Cstd library. Avoid specifying
14006 # it if it's in CXXFLAGS. Ignore libCrun as
14007 # -library=stlport4 depends on it.
14008 case " $CXX $CXXFLAGS " in
14009 *" -library=stlport4 "*)
14010 solaris_use_stlport4=yes
14012 esac
14014 if test "$solaris_use_stlport4" != yes; then
14015 postdeps_CXX='-library=Cstd -library=Crun'
14018 esac
14021 solaris*)
14022 case $cc_basename in
14023 CC*)
14024 # The more standards-conforming stlport4 library is
14025 # incompatible with the Cstd library. Avoid specifying
14026 # it if it's in CXXFLAGS. Ignore libCrun as
14027 # -library=stlport4 depends on it.
14028 case " $CXX $CXXFLAGS " in
14029 *" -library=stlport4 "*)
14030 solaris_use_stlport4=yes
14032 esac
14034 # Adding this requires a known-good setup of shared libraries for
14035 # Sun compiler versions before 5.6, else PIC objects from an old
14036 # archive will be linked into the output, leading to subtle bugs.
14037 if test "$solaris_use_stlport4" != yes; then
14038 postdeps_CXX='-library=Cstd -library=Crun'
14041 esac
14043 esac
14046 case " $postdeps_CXX " in
14047 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14048 esac
14049 compiler_lib_search_dirs_CXX=
14050 if test -n "${compiler_lib_search_path_CXX}"; then
14051 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14084 lt_prog_compiler_wl_CXX=
14085 lt_prog_compiler_pic_CXX=
14086 lt_prog_compiler_static_CXX=
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14089 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14091 # C++ specific cases for pic, static, wl, etc.
14092 if test "$GXX" = yes; then
14093 lt_prog_compiler_wl_CXX='-Wl,'
14094 lt_prog_compiler_static_CXX='-static'
14096 case $host_os in
14097 aix*)
14098 # All AIX code is PIC.
14099 if test "$host_cpu" = ia64; then
14100 # AIX 5 now supports IA64 processor
14101 lt_prog_compiler_static_CXX='-Bstatic'
14103 lt_prog_compiler_pic_CXX='-fPIC'
14106 amigaos*)
14107 case $host_cpu in
14108 powerpc)
14109 # see comment about AmigaOS4 .so support
14110 lt_prog_compiler_pic_CXX='-fPIC'
14112 m68k)
14113 # FIXME: we need at least 68020 code to build shared libraries, but
14114 # adding the `-m68020' flag to GCC prevents building anything better,
14115 # like `-m68040'.
14116 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14118 esac
14121 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14122 # PIC is the default for these OSes.
14124 mingw* | cygwin* | os2* | pw32* | cegcc*)
14125 # This hack is so that the source file can tell whether it is being
14126 # built for inclusion in a dll (and should export symbols for example).
14127 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14128 # (--disable-auto-import) libraries
14129 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14131 darwin* | rhapsody*)
14132 # PIC is the default on this platform
14133 # Common symbols not allowed in MH_DYLIB files
14134 lt_prog_compiler_pic_CXX='-fno-common'
14136 *djgpp*)
14137 # DJGPP does not support shared libraries at all
14138 lt_prog_compiler_pic_CXX=
14140 haiku*)
14141 # PIC is the default for Haiku.
14142 # The "-static" flag exists, but is broken.
14143 lt_prog_compiler_static_CXX=
14145 interix[3-9]*)
14146 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14147 # Instead, we relocate shared libraries at runtime.
14149 sysv4*MP*)
14150 if test -d /usr/nec; then
14151 lt_prog_compiler_pic_CXX=-Kconform_pic
14154 hpux*)
14155 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14156 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14157 # sets the default TLS model and affects inlining.
14158 case $host_cpu in
14159 hppa*64*)
14162 lt_prog_compiler_pic_CXX='-fPIC'
14164 esac
14166 *qnx* | *nto*)
14167 # QNX uses GNU C++, but need to define -shared option too, otherwise
14168 # it will coredump.
14169 lt_prog_compiler_pic_CXX='-fPIC -shared'
14172 lt_prog_compiler_pic_CXX='-fPIC'
14174 esac
14175 else
14176 case $host_os in
14177 aix[4-9]*)
14178 # All AIX code is PIC.
14179 if test "$host_cpu" = ia64; then
14180 # AIX 5 now supports IA64 processor
14181 lt_prog_compiler_static_CXX='-Bstatic'
14182 else
14183 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14186 chorus*)
14187 case $cc_basename in
14188 cxch68*)
14189 # Green Hills C++ Compiler
14190 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14192 esac
14194 dgux*)
14195 case $cc_basename in
14196 ec++*)
14197 lt_prog_compiler_pic_CXX='-KPIC'
14199 ghcx*)
14200 # Green Hills C++ Compiler
14201 lt_prog_compiler_pic_CXX='-pic'
14205 esac
14207 freebsd* | dragonfly*)
14208 # FreeBSD uses GNU C++
14210 hpux9* | hpux10* | hpux11*)
14211 case $cc_basename in
14212 CC*)
14213 lt_prog_compiler_wl_CXX='-Wl,'
14214 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14215 if test "$host_cpu" != ia64; then
14216 lt_prog_compiler_pic_CXX='+Z'
14219 aCC*)
14220 lt_prog_compiler_wl_CXX='-Wl,'
14221 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14222 case $host_cpu in
14223 hppa*64*|ia64*)
14224 # +Z the default
14227 lt_prog_compiler_pic_CXX='+Z'
14229 esac
14233 esac
14235 interix*)
14236 # This is c89, which is MS Visual C++ (no shared libs)
14237 # Anyone wants to do a port?
14239 irix5* | irix6* | nonstopux*)
14240 case $cc_basename in
14241 CC*)
14242 lt_prog_compiler_wl_CXX='-Wl,'
14243 lt_prog_compiler_static_CXX='-non_shared'
14244 # CC pic flag -KPIC is the default.
14248 esac
14250 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14251 case $cc_basename in
14252 KCC*)
14253 # KAI C++ Compiler
14254 lt_prog_compiler_wl_CXX='--backend -Wl,'
14255 lt_prog_compiler_pic_CXX='-fPIC'
14257 ecpc* )
14258 # old Intel C++ for x86_64 which still supported -KPIC.
14259 lt_prog_compiler_wl_CXX='-Wl,'
14260 lt_prog_compiler_pic_CXX='-KPIC'
14261 lt_prog_compiler_static_CXX='-static'
14263 icpc* )
14264 # Intel C++, used to be incompatible with GCC.
14265 # ICC 10 doesn't accept -KPIC any more.
14266 lt_prog_compiler_wl_CXX='-Wl,'
14267 lt_prog_compiler_pic_CXX='-fPIC'
14268 lt_prog_compiler_static_CXX='-static'
14270 pgCC* | pgcpp*)
14271 # Portland Group C++ compiler
14272 lt_prog_compiler_wl_CXX='-Wl,'
14273 lt_prog_compiler_pic_CXX='-fpic'
14274 lt_prog_compiler_static_CXX='-Bstatic'
14276 cxx*)
14277 # Compaq C++
14278 # Make sure the PIC flag is empty. It appears that all Alpha
14279 # Linux and Compaq Tru64 Unix objects are PIC.
14280 lt_prog_compiler_pic_CXX=
14281 lt_prog_compiler_static_CXX='-non_shared'
14283 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14284 # IBM XL 8.0, 9.0 on PPC and BlueGene
14285 lt_prog_compiler_wl_CXX='-Wl,'
14286 lt_prog_compiler_pic_CXX='-qpic'
14287 lt_prog_compiler_static_CXX='-qstaticlink'
14290 case `$CC -V 2>&1 | sed 5q` in
14291 *Sun\ C*)
14292 # Sun C++ 5.9
14293 lt_prog_compiler_pic_CXX='-KPIC'
14294 lt_prog_compiler_static_CXX='-Bstatic'
14295 lt_prog_compiler_wl_CXX='-Qoption ld '
14297 esac
14299 esac
14301 lynxos*)
14303 m88k*)
14305 mvs*)
14306 case $cc_basename in
14307 cxx*)
14308 lt_prog_compiler_pic_CXX='-W c,exportall'
14312 esac
14314 netbsd*)
14316 *qnx* | *nto*)
14317 # QNX uses GNU C++, but need to define -shared option too, otherwise
14318 # it will coredump.
14319 lt_prog_compiler_pic_CXX='-fPIC -shared'
14321 osf3* | osf4* | osf5*)
14322 case $cc_basename in
14323 KCC*)
14324 lt_prog_compiler_wl_CXX='--backend -Wl,'
14326 RCC*)
14327 # Rational C++ 2.4.1
14328 lt_prog_compiler_pic_CXX='-pic'
14330 cxx*)
14331 # Digital/Compaq C++
14332 lt_prog_compiler_wl_CXX='-Wl,'
14333 # Make sure the PIC flag is empty. It appears that all Alpha
14334 # Linux and Compaq Tru64 Unix objects are PIC.
14335 lt_prog_compiler_pic_CXX=
14336 lt_prog_compiler_static_CXX='-non_shared'
14340 esac
14342 psos*)
14344 solaris*)
14345 case $cc_basename in
14346 CC*)
14347 # Sun C++ 4.2, 5.x and Centerline C++
14348 lt_prog_compiler_pic_CXX='-KPIC'
14349 lt_prog_compiler_static_CXX='-Bstatic'
14350 lt_prog_compiler_wl_CXX='-Qoption ld '
14352 gcx*)
14353 # Green Hills C++ Compiler
14354 lt_prog_compiler_pic_CXX='-PIC'
14358 esac
14360 sunos4*)
14361 case $cc_basename in
14362 CC*)
14363 # Sun C++ 4.x
14364 lt_prog_compiler_pic_CXX='-pic'
14365 lt_prog_compiler_static_CXX='-Bstatic'
14367 lcc*)
14368 # Lucid
14369 lt_prog_compiler_pic_CXX='-pic'
14373 esac
14375 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14376 case $cc_basename in
14377 CC*)
14378 lt_prog_compiler_wl_CXX='-Wl,'
14379 lt_prog_compiler_pic_CXX='-KPIC'
14380 lt_prog_compiler_static_CXX='-Bstatic'
14382 esac
14384 tandem*)
14385 case $cc_basename in
14386 NCC*)
14387 # NonStop-UX NCC 3.20
14388 lt_prog_compiler_pic_CXX='-KPIC'
14392 esac
14394 vxworks*)
14397 lt_prog_compiler_can_build_shared_CXX=no
14399 esac
14402 case $host_os in
14403 # For platforms which do not support PIC, -DPIC is meaningless:
14404 *djgpp*)
14405 lt_prog_compiler_pic_CXX=
14408 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14410 esac
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14412 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14417 # Check to make sure the PIC flag actually works.
14419 if test -n "$lt_prog_compiler_pic_CXX"; then
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14422 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14423 $as_echo_n "(cached) " >&6
14424 else
14425 lt_cv_prog_compiler_pic_works_CXX=no
14426 ac_outfile=conftest.$ac_objext
14427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14428 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14429 # Insert the option either (1) after the last *FLAGS variable, or
14430 # (2) before a word containing "conftest.", or (3) at the end.
14431 # Note that $ac_compile itself does not contain backslashes and begins
14432 # with a dollar sign (not a hyphen), so the echo should work correctly.
14433 # The option is referenced via a variable to avoid confusing sed.
14434 lt_compile=`echo "$ac_compile" | $SED \
14435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14437 -e 's:$: $lt_compiler_flag:'`
14438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14439 (eval "$lt_compile" 2>conftest.err)
14440 ac_status=$?
14441 cat conftest.err >&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 if (exit $ac_status) && test -s "$ac_outfile"; then
14444 # The compiler can only warn and ignore the option if not recognized
14445 # So say no if there are warnings other than the usual output.
14446 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14447 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14448 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14449 lt_cv_prog_compiler_pic_works_CXX=yes
14452 $RM conftest*
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14456 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14458 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14459 case $lt_prog_compiler_pic_CXX in
14460 "" | " "*) ;;
14461 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14462 esac
14463 else
14464 lt_prog_compiler_pic_CXX=
14465 lt_prog_compiler_can_build_shared_CXX=no
14473 # Check to make sure the static flag actually works.
14475 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14477 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14478 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_prog_compiler_static_works_CXX=no
14482 save_LDFLAGS="$LDFLAGS"
14483 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14484 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14485 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14486 # The linker can only warn and ignore the option if not recognized
14487 # So say no if there are warnings
14488 if test -s conftest.err; then
14489 # Append any errors to the config.log.
14490 cat conftest.err 1>&5
14491 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14493 if diff conftest.exp conftest.er2 >/dev/null; then
14494 lt_cv_prog_compiler_static_works_CXX=yes
14496 else
14497 lt_cv_prog_compiler_static_works_CXX=yes
14500 $RM -r conftest*
14501 LDFLAGS="$save_LDFLAGS"
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14505 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14507 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14509 else
14510 lt_prog_compiler_static_CXX=
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14517 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14518 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 lt_cv_prog_compiler_c_o_CXX=no
14522 $RM -r conftest 2>/dev/null
14523 mkdir conftest
14524 cd conftest
14525 mkdir out
14526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14528 lt_compiler_flag="-o out/conftest2.$ac_objext"
14529 # Insert the option either (1) after the last *FLAGS variable, or
14530 # (2) before a word containing "conftest.", or (3) at the end.
14531 # Note that $ac_compile itself does not contain backslashes and begins
14532 # with a dollar sign (not a hyphen), so the echo should work correctly.
14533 lt_compile=`echo "$ac_compile" | $SED \
14534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14536 -e 's:$: $lt_compiler_flag:'`
14537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14538 (eval "$lt_compile" 2>out/conftest.err)
14539 ac_status=$?
14540 cat out/conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14543 then
14544 # The compiler can only warn and ignore the option if not recognized
14545 # So say no if there are warnings
14546 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14547 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14548 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14549 lt_cv_prog_compiler_c_o_CXX=yes
14552 chmod u+w . 2>&5
14553 $RM conftest*
14554 # SGI C++ compiler will create directory out/ii_files/ for
14555 # template instantiation
14556 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14557 $RM out/* && rmdir out
14558 cd ..
14559 $RM -r conftest
14560 $RM conftest*
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14564 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14570 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14571 $as_echo_n "(cached) " >&6
14572 else
14573 lt_cv_prog_compiler_c_o_CXX=no
14574 $RM -r conftest 2>/dev/null
14575 mkdir conftest
14576 cd conftest
14577 mkdir out
14578 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14580 lt_compiler_flag="-o out/conftest2.$ac_objext"
14581 # Insert the option either (1) after the last *FLAGS variable, or
14582 # (2) before a word containing "conftest.", or (3) at the end.
14583 # Note that $ac_compile itself does not contain backslashes and begins
14584 # with a dollar sign (not a hyphen), so the echo should work correctly.
14585 lt_compile=`echo "$ac_compile" | $SED \
14586 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588 -e 's:$: $lt_compiler_flag:'`
14589 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14590 (eval "$lt_compile" 2>out/conftest.err)
14591 ac_status=$?
14592 cat out/conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14595 then
14596 # The compiler can only warn and ignore the option if not recognized
14597 # So say no if there are warnings
14598 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14599 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601 lt_cv_prog_compiler_c_o_CXX=yes
14604 chmod u+w . 2>&5
14605 $RM conftest*
14606 # SGI C++ compiler will create directory out/ii_files/ for
14607 # template instantiation
14608 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609 $RM out/* && rmdir out
14610 cd ..
14611 $RM -r conftest
14612 $RM conftest*
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14621 hard_links="nottested"
14622 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14623 # do not overwrite the value of need_locks provided by the user
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14625 $as_echo_n "checking if we can lock with hard links... " >&6; }
14626 hard_links=yes
14627 $RM conftest*
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 touch conftest.a
14630 ln conftest.a conftest.b 2>&5 || hard_links=no
14631 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14633 $as_echo "$hard_links" >&6; }
14634 if test "$hard_links" = no; then
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14636 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14637 need_locks=warn
14639 else
14640 need_locks=no
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14648 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14649 case $host_os in
14650 aix[4-9]*)
14651 # If we're using GNU nm, then we don't want the "-C" option.
14652 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14653 # Also, AIX nm treats weak defined symbols like other global defined
14654 # symbols, whereas GNU nm marks them as "W".
14655 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14656 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14657 else
14658 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14661 pw32*)
14662 export_symbols_cmds_CXX="$ltdll_cmds"
14664 cygwin* | mingw* | cegcc*)
14665 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14668 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14670 esac
14671 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14674 $as_echo "$ld_shlibs_CXX" >&6; }
14675 test "$ld_shlibs_CXX" = no && can_build_shared=no
14677 with_gnu_ld_CXX=$with_gnu_ld
14685 # Do we need to explicitly link libc?
14687 case "x$archive_cmds_need_lc_CXX" in
14688 x|xyes)
14689 # Assume -lc should be added
14690 archive_cmds_need_lc_CXX=yes
14692 if test "$enable_shared" = yes && test "$GCC" = yes; then
14693 case $archive_cmds_CXX in
14694 *'~'*)
14695 # FIXME: we may have to deal with multi-command sequences.
14697 '$CC '*)
14698 # Test whether the compiler implicitly links with -lc since on some
14699 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14700 # to ld, don't add -lc before -lgcc.
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14702 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14703 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 $RM conftest*
14707 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14710 (eval $ac_compile) 2>&5
14711 ac_status=$?
14712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14713 test $ac_status = 0; } 2>conftest.err; then
14714 soname=conftest
14715 lib=conftest
14716 libobjs=conftest.$ac_objext
14717 deplibs=
14718 wl=$lt_prog_compiler_wl_CXX
14719 pic_flag=$lt_prog_compiler_pic_CXX
14720 compiler_flags=-v
14721 linker_flags=-v
14722 verstring=
14723 output_objdir=.
14724 libname=conftest
14725 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14726 allow_undefined_flag_CXX=
14727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14728 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14729 ac_status=$?
14730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14731 test $ac_status = 0; }
14732 then
14733 lt_cv_archive_cmds_need_lc_CXX=no
14734 else
14735 lt_cv_archive_cmds_need_lc_CXX=yes
14737 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14738 else
14739 cat conftest.err 1>&5
14741 $RM conftest*
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14745 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14746 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14748 esac
14751 esac
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14819 library_names_spec=
14820 libname_spec='lib$name'
14821 soname_spec=
14822 shrext_cmds=".so"
14823 postinstall_cmds=
14824 postuninstall_cmds=
14825 finish_cmds=
14826 finish_eval=
14827 shlibpath_var=
14828 shlibpath_overrides_runpath=unknown
14829 version_type=none
14830 dynamic_linker="$host_os ld.so"
14831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14832 need_lib_prefix=unknown
14833 hardcode_into_libs=no
14835 # when you set need_version to no, make sure it does not cause -set_version
14836 # flags to be left without arguments
14837 need_version=unknown
14839 case $host_os in
14840 aix3*)
14841 version_type=linux
14842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14843 shlibpath_var=LIBPATH
14845 # AIX 3 has no versioning support, so we append a major version to the name.
14846 soname_spec='${libname}${release}${shared_ext}$major'
14849 aix[4-9]*)
14850 version_type=linux
14851 need_lib_prefix=no
14852 need_version=no
14853 hardcode_into_libs=yes
14854 if test "$host_cpu" = ia64; then
14855 # AIX 5 supports IA64
14856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14857 shlibpath_var=LD_LIBRARY_PATH
14858 else
14859 # With GCC up to 2.95.x, collect2 would create an import file
14860 # for dependence libraries. The import file would start with
14861 # the line `#! .'. This would cause the generated library to
14862 # depend on `.', always an invalid library. This was fixed in
14863 # development snapshots of GCC prior to 3.0.
14864 case $host_os in
14865 aix4 | aix4.[01] | aix4.[01].*)
14866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14867 echo ' yes '
14868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14870 else
14871 can_build_shared=no
14874 esac
14875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14876 # soname into executable. Probably we can add versioning support to
14877 # collect2, so additional links can be useful in future.
14878 if test "$aix_use_runtimelinking" = yes; then
14879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14880 # instead of lib<name>.a to let people know that these are not
14881 # typical AIX shared libraries.
14882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14883 else
14884 # We preserve .a as extension for shared libraries through AIX4.2
14885 # and later when we are not doing run time linking.
14886 library_names_spec='${libname}${release}.a $libname.a'
14887 soname_spec='${libname}${release}${shared_ext}$major'
14889 shlibpath_var=LIBPATH
14893 amigaos*)
14894 case $host_cpu in
14895 powerpc)
14896 # Since July 2007 AmigaOS4 officially supports .so libraries.
14897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14900 m68k)
14901 library_names_spec='$libname.ixlibrary $libname.a'
14902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14903 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14905 esac
14908 beos*)
14909 library_names_spec='${libname}${shared_ext}'
14910 dynamic_linker="$host_os ld.so"
14911 shlibpath_var=LIBRARY_PATH
14914 bsdi[45]*)
14915 version_type=linux
14916 need_version=no
14917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14918 soname_spec='${libname}${release}${shared_ext}$major'
14919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14920 shlibpath_var=LD_LIBRARY_PATH
14921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14923 # the default ld.so.conf also contains /usr/contrib/lib and
14924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14925 # libtool to hard-code these into programs
14928 cygwin* | mingw* | pw32* | cegcc*)
14929 version_type=windows
14930 shrext_cmds=".dll"
14931 need_version=no
14932 need_lib_prefix=no
14934 case $GCC,$host_os in
14935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14936 library_names_spec='$libname.dll.a'
14937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14938 postinstall_cmds='base_file=`basename \${file}`~
14939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14940 dldir=$destdir/`dirname \$dlpath`~
14941 test -d \$dldir || mkdir -p \$dldir~
14942 $install_prog $dir/$dlname \$dldir/$dlname~
14943 chmod a+x \$dldir/$dlname~
14944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14948 dlpath=$dir/\$dldll~
14949 $RM \$dlpath'
14950 shlibpath_overrides_runpath=yes
14952 case $host_os in
14953 cygwin*)
14954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14958 mingw* | cegcc*)
14959 # MinGW DLLs use traditional 'lib' prefix
14960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14962 pw32*)
14963 # pw32 DLLs use 'pw' prefix rather than 'lib'
14964 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14966 esac
14970 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14972 esac
14973 dynamic_linker='Win32 ld.exe'
14974 # FIXME: first we should search . and the directory the executable is in
14975 shlibpath_var=PATH
14978 darwin* | rhapsody*)
14979 dynamic_linker="$host_os dyld"
14980 version_type=darwin
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14984 soname_spec='${libname}${release}${major}$shared_ext'
14985 shlibpath_overrides_runpath=yes
14986 shlibpath_var=DYLD_LIBRARY_PATH
14987 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14989 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14992 dgux*)
14993 version_type=linux
14994 need_lib_prefix=no
14995 need_version=no
14996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14997 soname_spec='${libname}${release}${shared_ext}$major'
14998 shlibpath_var=LD_LIBRARY_PATH
15001 freebsd* | dragonfly*)
15002 # DragonFly does not have aout. When/if they implement a new
15003 # versioning mechanism, adjust this.
15004 if test -x /usr/bin/objformat; then
15005 objformat=`/usr/bin/objformat`
15006 else
15007 case $host_os in
15008 freebsd[23].*) objformat=aout ;;
15009 *) objformat=elf ;;
15010 esac
15012 version_type=freebsd-$objformat
15013 case $version_type in
15014 freebsd-elf*)
15015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15016 need_version=no
15017 need_lib_prefix=no
15019 freebsd-*)
15020 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15021 need_version=yes
15023 esac
15024 shlibpath_var=LD_LIBRARY_PATH
15025 case $host_os in
15026 freebsd2.*)
15027 shlibpath_overrides_runpath=yes
15029 freebsd3.[01]* | freebsdelf3.[01]*)
15030 shlibpath_overrides_runpath=yes
15031 hardcode_into_libs=yes
15033 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15034 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15035 shlibpath_overrides_runpath=no
15036 hardcode_into_libs=yes
15038 *) # from 4.6 on, and DragonFly
15039 shlibpath_overrides_runpath=yes
15040 hardcode_into_libs=yes
15042 esac
15045 haiku*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 dynamic_linker="$host_os runtime_loader"
15050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15051 soname_spec='${libname}${release}${shared_ext}$major'
15052 shlibpath_var=LIBRARY_PATH
15053 shlibpath_overrides_runpath=yes
15054 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15055 hardcode_into_libs=yes
15058 hpux9* | hpux10* | hpux11*)
15059 # Give a soname corresponding to the major version so that dld.sl refuses to
15060 # link against other versions.
15061 version_type=sunos
15062 need_lib_prefix=no
15063 need_version=no
15064 case $host_cpu in
15065 ia64*)
15066 shrext_cmds='.so'
15067 hardcode_into_libs=yes
15068 dynamic_linker="$host_os dld.so"
15069 shlibpath_var=LD_LIBRARY_PATH
15070 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 if test "X$HPUX_IA64_MODE" = X32; then
15074 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15075 else
15076 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15078 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15080 hppa*64*)
15081 shrext_cmds='.sl'
15082 hardcode_into_libs=yes
15083 dynamic_linker="$host_os dld.sl"
15084 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15085 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15086 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15087 soname_spec='${libname}${release}${shared_ext}$major'
15088 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15089 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15092 shrext_cmds='.sl'
15093 dynamic_linker="$host_os dld.sl"
15094 shlibpath_var=SHLIB_PATH
15095 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15097 soname_spec='${libname}${release}${shared_ext}$major'
15099 esac
15100 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15101 postinstall_cmds='chmod 555 $lib'
15102 # or fails outright, so override atomically:
15103 install_override_mode=555
15106 interix[3-9]*)
15107 version_type=linux
15108 need_lib_prefix=no
15109 need_version=no
15110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15111 soname_spec='${libname}${release}${shared_ext}$major'
15112 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15113 shlibpath_var=LD_LIBRARY_PATH
15114 shlibpath_overrides_runpath=no
15115 hardcode_into_libs=yes
15118 irix5* | irix6* | nonstopux*)
15119 case $host_os in
15120 nonstopux*) version_type=nonstopux ;;
15122 if test "$lt_cv_prog_gnu_ld" = yes; then
15123 version_type=linux
15124 else
15125 version_type=irix
15126 fi ;;
15127 esac
15128 need_lib_prefix=no
15129 need_version=no
15130 soname_spec='${libname}${release}${shared_ext}$major'
15131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15132 case $host_os in
15133 irix5* | nonstopux*)
15134 libsuff= shlibsuff=
15137 case $LD in # libtool.m4 will add one of these switches to LD
15138 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15139 libsuff= shlibsuff= libmagic=32-bit;;
15140 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15141 libsuff=32 shlibsuff=N32 libmagic=N32;;
15142 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15143 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15144 *) libsuff= shlibsuff= libmagic=never-match;;
15145 esac
15147 esac
15148 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15149 shlibpath_overrides_runpath=no
15150 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15151 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15152 hardcode_into_libs=yes
15155 # No shared lib support for Linux oldld, aout, or coff.
15156 linux*oldld* | linux*aout* | linux*coff*)
15157 dynamic_linker=no
15160 # This must be Linux ELF.
15162 # uclinux* changes (here and below) have been submitted to the libtool
15163 # project, but have not yet been accepted: they are GCC-local changes
15164 # for the time being. (See
15165 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15166 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15167 version_type=linux
15168 need_lib_prefix=no
15169 need_version=no
15170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15171 soname_spec='${libname}${release}${shared_ext}$major'
15172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15173 shlibpath_var=LD_LIBRARY_PATH
15174 shlibpath_overrides_runpath=no
15176 # Some binutils ld are patched to set DT_RUNPATH
15177 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 lt_cv_shlibpath_overrides_runpath=no
15181 save_LDFLAGS=$LDFLAGS
15182 save_libdir=$libdir
15183 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15184 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15185 if test x$gcc_no_link = xyes; then
15186 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15192 main ()
15196 return 0;
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15201 lt_cv_shlibpath_overrides_runpath=yes
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LDFLAGS=$save_LDFLAGS
15207 libdir=$save_libdir
15211 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15213 # This implies no fast_install, which is unacceptable.
15214 # Some rework will be needed to allow for fast_install
15215 # before this can be enabled.
15216 hardcode_into_libs=yes
15218 # Append ld.so.conf contents to the search path
15219 if test -f /etc/ld.so.conf; then
15220 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
15221 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15224 # We used to test for /lib/ld.so.1 and disable shared libraries on
15225 # powerpc, because MkLinux only supported shared libraries with the
15226 # GNU dynamic linker. Since this was broken with cross compilers,
15227 # most powerpc-linux boxes support dynamic linking these days and
15228 # people can always --disable-shared, the test was removed, and we
15229 # assume the GNU/Linux dynamic linker is in use.
15230 dynamic_linker='GNU/Linux ld.so'
15233 netbsd*)
15234 version_type=sunos
15235 need_lib_prefix=no
15236 need_version=no
15237 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15239 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15240 dynamic_linker='NetBSD (a.out) ld.so'
15241 else
15242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15243 soname_spec='${libname}${release}${shared_ext}$major'
15244 dynamic_linker='NetBSD ld.elf_so'
15246 shlibpath_var=LD_LIBRARY_PATH
15247 shlibpath_overrides_runpath=yes
15248 hardcode_into_libs=yes
15251 newsos6)
15252 version_type=linux
15253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15254 shlibpath_var=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath=yes
15258 *nto* | *qnx*)
15259 version_type=qnx
15260 need_lib_prefix=no
15261 need_version=no
15262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15263 soname_spec='${libname}${release}${shared_ext}$major'
15264 shlibpath_var=LD_LIBRARY_PATH
15265 shlibpath_overrides_runpath=no
15266 hardcode_into_libs=yes
15267 dynamic_linker='ldqnx.so'
15270 openbsd*)
15271 version_type=sunos
15272 sys_lib_dlsearch_path_spec="/usr/lib"
15273 need_lib_prefix=no
15274 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15275 case $host_os in
15276 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15277 *) need_version=no ;;
15278 esac
15279 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15280 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15281 shlibpath_var=LD_LIBRARY_PATH
15282 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15283 case $host_os in
15284 openbsd2.[89] | openbsd2.[89].*)
15285 shlibpath_overrides_runpath=no
15288 shlibpath_overrides_runpath=yes
15290 esac
15291 else
15292 shlibpath_overrides_runpath=yes
15296 os2*)
15297 libname_spec='$name'
15298 shrext_cmds=".dll"
15299 need_lib_prefix=no
15300 library_names_spec='$libname${shared_ext} $libname.a'
15301 dynamic_linker='OS/2 ld.exe'
15302 shlibpath_var=LIBPATH
15305 osf3* | osf4* | osf5*)
15306 version_type=osf
15307 need_lib_prefix=no
15308 need_version=no
15309 soname_spec='${libname}${release}${shared_ext}$major'
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15311 shlibpath_var=LD_LIBRARY_PATH
15312 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15313 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15316 rdos*)
15317 dynamic_linker=no
15320 solaris*)
15321 version_type=linux
15322 need_lib_prefix=no
15323 need_version=no
15324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325 soname_spec='${libname}${release}${shared_ext}$major'
15326 shlibpath_var=LD_LIBRARY_PATH
15327 shlibpath_overrides_runpath=yes
15328 hardcode_into_libs=yes
15329 # ldd complains unless libraries are executable
15330 postinstall_cmds='chmod +x $lib'
15333 sunos4*)
15334 version_type=sunos
15335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15336 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15337 shlibpath_var=LD_LIBRARY_PATH
15338 shlibpath_overrides_runpath=yes
15339 if test "$with_gnu_ld" = yes; then
15340 need_lib_prefix=no
15342 need_version=yes
15345 sysv4 | sysv4.3*)
15346 version_type=linux
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15348 soname_spec='${libname}${release}${shared_ext}$major'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 case $host_vendor in
15351 sni)
15352 shlibpath_overrides_runpath=no
15353 need_lib_prefix=no
15354 runpath_var=LD_RUN_PATH
15356 siemens)
15357 need_lib_prefix=no
15359 motorola)
15360 need_lib_prefix=no
15361 need_version=no
15362 shlibpath_overrides_runpath=no
15363 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15365 esac
15368 sysv4*MP*)
15369 if test -d /usr/nec ;then
15370 version_type=linux
15371 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15372 soname_spec='$libname${shared_ext}.$major'
15373 shlibpath_var=LD_LIBRARY_PATH
15377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15378 version_type=freebsd-elf
15379 need_lib_prefix=no
15380 need_version=no
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 shlibpath_var=LD_LIBRARY_PATH
15384 shlibpath_overrides_runpath=yes
15385 hardcode_into_libs=yes
15386 if test "$with_gnu_ld" = yes; then
15387 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15388 else
15389 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15390 case $host_os in
15391 sco3.2v5*)
15392 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15394 esac
15396 sys_lib_dlsearch_path_spec='/usr/lib'
15399 tpf*)
15400 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15401 version_type=linux
15402 need_lib_prefix=no
15403 need_version=no
15404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15405 shlibpath_var=LD_LIBRARY_PATH
15406 shlibpath_overrides_runpath=no
15407 hardcode_into_libs=yes
15410 uts4*)
15411 version_type=linux
15412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 soname_spec='${libname}${release}${shared_ext}$major'
15414 shlibpath_var=LD_LIBRARY_PATH
15418 dynamic_linker=no
15420 esac
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15422 $as_echo "$dynamic_linker" >&6; }
15423 test "$dynamic_linker" = no && can_build_shared=no
15425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15426 if test "$GCC" = yes; then
15427 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15430 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15431 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15433 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15434 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15475 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15476 hardcode_action_CXX=
15477 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15478 test -n "$runpath_var_CXX" ||
15479 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15481 # We can hardcode non-existent directories.
15482 if test "$hardcode_direct_CXX" != no &&
15483 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15484 # have to relink, otherwise we might link with an installed library
15485 # when we should be linking with a yet-to-be-installed one
15486 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15487 test "$hardcode_minus_L_CXX" != no; then
15488 # Linking always hardcodes the temporary library directory.
15489 hardcode_action_CXX=relink
15490 else
15491 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15492 hardcode_action_CXX=immediate
15494 else
15495 # We cannot hardcode anything, or else we can only hardcode existing
15496 # directories.
15497 hardcode_action_CXX=unsupported
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15500 $as_echo "$hardcode_action_CXX" >&6; }
15502 if test "$hardcode_action_CXX" = relink ||
15503 test "$inherit_rpath_CXX" = yes; then
15504 # Fast installation is not supported
15505 enable_fast_install=no
15506 elif test "$shlibpath_overrides_runpath" = yes ||
15507 test "$enable_shared" = no; then
15508 # Fast installation is not necessary
15509 enable_fast_install=needless
15518 fi # test -n "$compiler"
15520 CC=$lt_save_CC
15521 LDCXX=$LD
15522 LD=$lt_save_LD
15523 GCC=$lt_save_GCC
15524 with_gnu_ld=$lt_save_with_gnu_ld
15525 lt_cv_path_LDCXX=$lt_cv_path_LD
15526 lt_cv_path_LD=$lt_save_path_LD
15527 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15528 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15529 fi # test "$_lt_caught_CXX_error" != yes
15531 ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15549 ac_config_commands="$ac_config_commands libtool"
15554 # Only expand once:
15560 case $host in
15561 *-cygwin* | *-mingw*)
15562 # 'host' will be top-level target in the case of a target lib,
15563 # we must compare to with_cross_host to decide if this is a native
15564 # or cross-compiler and select where to install dlls appropriately.
15565 if test -n "$with_cross_host" &&
15566 test x"$with_cross_host" != x"no"; then
15567 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15568 else
15569 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15573 lt_host_flags=
15575 esac
15582 if test "$enable_vtable_verify" = yes; then
15583 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15584 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15588 # libtool variables for C++ shared and position-independent compiles.
15590 # Use glibcxx_lt_pic_flag to designate the automake variable
15591 # used to encapsulate the default libtool approach to creating objects
15592 # with position-independent code. Default: -prefer-pic.
15594 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15595 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15597 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15598 # creating position-independent objects. This varies with the target
15599 # hardware and operating system, but is often: -DPIC -fPIC.
15600 if test "$enable_shared" = yes; then
15601 glibcxx_lt_pic_flag="-prefer-pic"
15602 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15603 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15605 else
15606 glibcxx_lt_pic_flag=
15607 glibcxx_compiler_pic_flag=
15608 glibcxx_compiler_shared_flag=
15614 # Override the libtool's pic_flag and pic_mode.
15615 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15616 # NB: this impacts --with-pic and --without-pic.
15617 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15618 pic_mode='default'
15620 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15621 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15623 # Possibly disable most of the library.
15624 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15625 ## than just ignoring the results. Faster /and/ more correct, win win.
15627 # Check whether --enable-hosted-libstdcxx was given.
15628 if test "${enable_hosted_libstdcxx+set}" = set; then :
15629 enableval=$enable_hosted_libstdcxx;
15630 else
15631 case "$host" in
15632 arm*-*-symbianelf*)
15633 enable_hosted_libstdcxx=no
15636 enable_hosted_libstdcxx=yes
15638 esac
15641 freestanding_flags=
15642 if test "$enable_hosted_libstdcxx" = no; then
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15644 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15645 is_hosted=no
15646 hosted_define=0
15647 enable_abi_check=no
15648 enable_libstdcxx_pch=no
15649 if test "x$with_headers" = xno; then
15650 freestanding_flags="-ffreestanding"
15652 else
15653 is_hosted=yes
15654 hosted_define=1
15658 cat >>confdefs.h <<_ACEOF
15659 #define _GLIBCXX_HOSTED $hosted_define
15660 _ACEOF
15662 FREESTANDING_FLAGS="$freestanding_flags"
15666 # Enable descriptive messages to standard output on termination.
15668 # Check whether --enable-libstdcxx-verbose was given.
15669 if test "${enable_libstdcxx_verbose+set}" = set; then :
15670 enableval=$enable_libstdcxx_verbose;
15671 else
15672 enable_libstdcxx_verbose=yes
15675 if test x"$enable_libstdcxx_verbose" = xyes; then
15676 verbose_define=1
15677 else
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15679 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15680 verbose_define=0
15683 cat >>confdefs.h <<_ACEOF
15684 #define _GLIBCXX_VERBOSE $verbose_define
15685 _ACEOF
15689 # Enable compiler support that doesn't require linking.
15691 # Check whether --enable-libstdcxx-pch was given.
15692 if test "${enable_libstdcxx_pch+set}" = set; then :
15693 enableval=$enable_libstdcxx_pch;
15694 case "$enableval" in
15695 yes|no) ;;
15696 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15697 esac
15699 else
15700 enable_libstdcxx_pch=$is_hosted
15704 if test $enable_libstdcxx_pch = yes; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15706 $as_echo_n "checking for compiler with PCH support... " >&6; }
15707 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15708 $as_echo_n "(cached) " >&6
15709 else
15710 ac_save_CXXFLAGS="$CXXFLAGS"
15711 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15713 ac_ext=cpp
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15719 echo '#include <math.h>' > conftest.h
15720 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15721 -o conftest.h.gch 1>&5 2>&1 &&
15722 echo '#error "pch failed"' > conftest.h &&
15723 echo '#include "conftest.h"' > conftest.cc &&
15724 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15725 then
15726 glibcxx_cv_prog_CXX_pch=yes
15727 else
15728 glibcxx_cv_prog_CXX_pch=no
15730 rm -f conftest*
15731 CXXFLAGS=$ac_save_CXXFLAGS
15732 ac_ext=c
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15741 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15742 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15746 $as_echo_n "checking for enabled PCH... " >&6; }
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15748 $as_echo "$enable_libstdcxx_pch" >&6; }
15751 if test $enable_libstdcxx_pch = yes; then
15752 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15753 else
15754 glibcxx_PCHFLAGS=""
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15760 $as_echo_n "checking for thread model used by GCC... " >&6; }
15761 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15763 $as_echo "$target_thread_file" >&6; }
15765 case $target_thread_file in
15766 aix) thread_header=config/rs6000/gthr-aix.h ;;
15767 dce) thread_header=config/pa/gthr-dce.h ;;
15768 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15769 lynx) thread_header=config/gthr-lynx.h ;;
15770 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15771 posix) thread_header=gthr-posix.h ;;
15772 rtems) thread_header=config/gthr-rtems.h ;;
15773 single) thread_header=gthr-single.h ;;
15774 tpf) thread_header=config/s390/gthr-tpf.h ;;
15775 vxworks) thread_header=config/gthr-vxworks.h ;;
15776 win32) thread_header=config/i386/gthr-win32.h ;;
15777 esac
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15789 old_CXXFLAGS="$CXXFLAGS"
15791 # Do link tests if possible, instead asm tests, limited to some platforms
15792 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15793 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15794 atomic_builtins_link_tests=no
15795 if test x$gcc_no_link != xyes; then
15796 # Can do link tests. Limit to some tested platforms
15797 case "$host" in
15798 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15799 atomic_builtins_link_tests=yes
15801 esac
15804 if test x$atomic_builtins_link_tests = xyes; then
15806 # Do link tests.
15808 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15811 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15812 if ${glibcxx_cv_atomic_bool+:} false; then :
15813 $as_echo_n "(cached) " >&6
15814 else
15816 if test x$gcc_no_link = xyes; then
15817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15823 main ()
15825 typedef bool atomic_type;
15826 atomic_type c1;
15827 atomic_type c2;
15828 atomic_type c3(0);
15829 // N.B. __atomic_fetch_add is not supported for bool.
15830 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15831 __ATOMIC_RELAXED);
15832 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15833 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15836 return 0;
15838 _ACEOF
15839 if ac_fn_cxx_try_link "$LINENO"; then :
15840 glibcxx_cv_atomic_bool=yes
15841 else
15842 glibcxx_cv_atomic_bool=no
15844 rm -f core conftest.err conftest.$ac_objext \
15845 conftest$ac_exeext conftest.$ac_ext
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15849 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15852 $as_echo_n "checking for atomic builtins for short... " >&6; }
15853 if ${glibcxx_cv_atomic_short+:} false; then :
15854 $as_echo_n "(cached) " >&6
15855 else
15857 if test x$gcc_no_link = xyes; then
15858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15864 main ()
15866 typedef short atomic_type;
15867 atomic_type c1;
15868 atomic_type c2;
15869 atomic_type c3(0);
15870 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15871 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15872 __ATOMIC_RELAXED);
15873 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15874 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15877 return 0;
15879 _ACEOF
15880 if ac_fn_cxx_try_link "$LINENO"; then :
15881 glibcxx_cv_atomic_short=yes
15882 else
15883 glibcxx_cv_atomic_short=no
15885 rm -f core conftest.err conftest.$ac_objext \
15886 conftest$ac_exeext conftest.$ac_ext
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15890 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15893 $as_echo_n "checking for atomic builtins for int... " >&6; }
15894 if ${glibcxx_cv_atomic_int+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15898 if test x$gcc_no_link = xyes; then
15899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15905 main ()
15907 typedef int atomic_type;
15908 atomic_type c1;
15909 atomic_type c2;
15910 atomic_type c3(0);
15911 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15912 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15913 __ATOMIC_RELAXED);
15914 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15915 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_cxx_try_link "$LINENO"; then :
15922 glibcxx_cv_atomic_int=yes
15923 else
15924 glibcxx_cv_atomic_int=no
15926 rm -f core conftest.err conftest.$ac_objext \
15927 conftest$ac_exeext conftest.$ac_ext
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15931 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15934 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15935 if ${glibcxx_cv_atomic_long_long+:} false; then :
15936 $as_echo_n "(cached) " >&6
15937 else
15939 if test x$gcc_no_link = xyes; then
15940 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15943 /* end confdefs.h. */
15946 main ()
15948 typedef long long atomic_type;
15949 atomic_type c1;
15950 atomic_type c2;
15951 atomic_type c3(0);
15952 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15953 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15954 __ATOMIC_RELAXED);
15955 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15956 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15959 return 0;
15961 _ACEOF
15962 if ac_fn_cxx_try_link "$LINENO"; then :
15963 glibcxx_cv_atomic_long_long=yes
15964 else
15965 glibcxx_cv_atomic_long_long=no
15967 rm -f core conftest.err conftest.$ac_objext \
15968 conftest$ac_exeext conftest.$ac_ext
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15972 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15974 else
15976 # Do asm tests.
15978 # Compile unoptimized.
15979 CXXFLAGS='-O0 -S'
15981 # Fake what AC_TRY_COMPILE does.
15983 cat > conftest.$ac_ext << EOF
15984 #line 15984 "configure"
15985 int main()
15987 typedef bool atomic_type;
15988 atomic_type c1;
15989 atomic_type c2;
15990 atomic_type c3(0);
15991 // N.B. __atomic_fetch_add is not supported for bool.
15992 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15993 __ATOMIC_RELAXED);
15994 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15995 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15997 return 0;
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16002 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16004 (eval $ac_compile) 2>&5
16005 ac_status=$?
16006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16007 test $ac_status = 0; }; then
16008 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16009 glibcxx_cv_atomic_bool=no
16010 else
16011 glibcxx_cv_atomic_bool=yes
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16015 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16016 rm -f conftest*
16018 cat > conftest.$ac_ext << EOF
16019 #line 16019 "configure"
16020 int main()
16022 typedef short atomic_type;
16023 atomic_type c1;
16024 atomic_type c2;
16025 atomic_type c3(0);
16026 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16027 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16028 __ATOMIC_RELAXED);
16029 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16030 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16032 return 0;
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16037 $as_echo_n "checking for atomic builtins for short... " >&6; }
16038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16039 (eval $ac_compile) 2>&5
16040 ac_status=$?
16041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16042 test $ac_status = 0; }; then
16043 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16044 glibcxx_cv_atomic_short=no
16045 else
16046 glibcxx_cv_atomic_short=yes
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16050 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16051 rm -f conftest*
16053 cat > conftest.$ac_ext << EOF
16054 #line 16054 "configure"
16055 int main()
16057 // NB: _Atomic_word not necessarily int.
16058 typedef int atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16073 $as_echo_n "checking for atomic builtins for int... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_int=no
16081 else
16082 glibcxx_cv_atomic_int=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16086 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 typedef long long atomic_type;
16094 atomic_type c1;
16095 atomic_type c2;
16096 atomic_type c3(0);
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16099 __ATOMIC_RELAXED);
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16103 return 0;
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16108 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16110 (eval $ac_compile) 2>&5
16111 ac_status=$?
16112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16113 test $ac_status = 0; }; then
16114 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16115 glibcxx_cv_atomic_long_long=no
16116 else
16117 glibcxx_cv_atomic_long_long=yes
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16121 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16122 rm -f conftest*
16126 CXXFLAGS="$old_CXXFLAGS"
16127 ac_ext=c
16128 ac_cpp='$CPP $CPPFLAGS'
16129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16134 # Set atomicity_dir to builtins if all but the long long test above passes,
16135 # or if the builtins were already chosen (e.g. by configure.host).
16136 if { test "$glibcxx_cv_atomic_bool" = yes \
16137 && test "$glibcxx_cv_atomic_short" = yes \
16138 && test "$glibcxx_cv_atomic_int" = yes; } \
16139 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16141 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16143 atomicity_dir=cpu/generic/atomicity_builtins
16146 # If still generic, set to mutex.
16147 if test $atomicity_dir = "cpu/generic" ; then
16148 atomicity_dir=cpu/generic/atomicity_mutex
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16150 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16151 if test "x$target_thread_file" = xsingle; then
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16153 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16155 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16156 else
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16158 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16160 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16168 # Check whether --with-libstdcxx-lock-policy was given.
16169 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16170 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16171 else
16172 libstdcxx_atomic_lock_policy=auto
16176 case "$libstdcxx_atomic_lock_policy" in
16177 atomic|mutex|auto) ;;
16178 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16179 esac
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16181 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16183 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16185 ac_ext=cpp
16186 ac_cpp='$CXXCPP $CPPFLAGS'
16187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16191 ac_save_CXXFLAGS="$CXXFLAGS"
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16196 #if defined __riscv
16197 # error "Defaulting to mutex-based locks for ABI compatibility"
16198 #endif
16199 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16200 # error "No 2-byte compare-and-swap"
16201 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16202 # error "No 4-byte compare-and-swap"
16203 #endif
16206 main ()
16210 return 0;
16212 _ACEOF
16213 if ac_fn_cxx_try_compile "$LINENO"; then :
16214 libstdcxx_atomic_lock_policy=atomic
16215 else
16216 libstdcxx_atomic_lock_policy=mutex
16218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16219 ac_ext=c
16220 ac_cpp='$CPP $CPPFLAGS'
16221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225 CXXFLAGS="$ac_save_CXXFLAGS"
16228 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16230 $as_echo "atomic" >&6; }
16232 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16234 else
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16236 $as_echo "mutex" >&6; }
16242 # Fake what AC_TRY_COMPILE does, without linking as this is
16243 # unnecessary for this test.
16245 cat > conftest.$ac_ext << EOF
16246 #line 16246 "configure"
16247 int main()
16249 _Decimal32 d1;
16250 _Decimal64 d2;
16251 _Decimal128 d3;
16252 return 0;
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16257 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16258 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16259 (eval $ac_compile) 2>&5
16260 ac_status=$?
16261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262 test $ac_status = 0; }; then
16264 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16266 enable_dfp=yes
16267 else
16268 enable_dfp=no
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16271 $as_echo "$enable_dfp" >&6; }
16272 rm -f conftest*
16277 ac_ext=cpp
16278 ac_cpp='$CXXCPP $CPPFLAGS'
16279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16284 # Fake what AC_TRY_COMPILE does, without linking as this is
16285 # unnecessary for this test.
16287 cat > conftest.$ac_ext << EOF
16288 #line 16288 "configure"
16289 template<typename T1, typename T2>
16290 struct same
16291 { typedef T2 type; };
16293 template<typename T>
16294 struct same<T, T>;
16296 int main()
16298 typename same<double, __float128>::type f1;
16299 typename same<long double, __float128>::type f2;
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16304 $as_echo_n "checking for __float128... " >&6; }
16305 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16306 (eval $ac_compile) 2>&5
16307 ac_status=$?
16308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309 test $ac_status = 0; }; then
16310 enable_float128=yes
16311 else
16312 enable_float128=no
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16315 $as_echo "$enable_float128" >&6; }
16317 rm -f conftest*
16319 ac_ext=c
16320 ac_cpp='$CPP $CPPFLAGS'
16321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16326 if test "$enable_float128" = yes; then
16327 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16330 # Checks for compiler support that doesn't require linking.
16332 # All these tests are for C++; save the language and the compiler flags.
16333 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16334 # found in GLIBCXX_CONFIGURE.
16336 ac_ext=cpp
16337 ac_cpp='$CXXCPP $CPPFLAGS'
16338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16343 ac_save_CXXFLAGS="$CXXFLAGS"
16345 # Check for -ffunction-sections -fdata-sections
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16347 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16348 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16350 /* end confdefs.h. */
16351 int foo; void bar() { };
16353 main ()
16357 return 0;
16359 _ACEOF
16360 if ac_fn_cxx_try_compile "$LINENO"; then :
16361 ac_fdsections=yes
16362 else
16363 ac_fdsections=no
16365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16366 if test "$ac_test_CXXFLAGS" = set; then
16367 CXXFLAGS="$ac_save_CXXFLAGS"
16368 else
16369 # this is the suspicious part
16370 CXXFLAGS=''
16372 if test x"$ac_fdsections" = x"yes"; then
16373 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16376 $as_echo "$ac_fdsections" >&6; }
16378 ac_ext=c
16379 ac_cpp='$CPP $CPPFLAGS'
16380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16387 # Enable all the variable C++ runtime options that don't require linking.
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16390 $as_echo_n "checking for underlying I/O to use... " >&6; }
16391 # Check whether --enable-cstdio was given.
16392 if test "${enable_cstdio+set}" = set; then :
16393 enableval=$enable_cstdio;
16394 case "$enableval" in
16395 stdio|stdio_posix|stdio_pure) ;;
16396 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16397 esac
16399 else
16400 enable_cstdio=stdio
16405 # The only available I/O model is based on stdio, via basic_file_stdio.
16406 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16407 # to get a file descriptor and then uses read(3) and write(3) with it.
16408 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16409 case ${enable_cstdio} in
16410 stdio*)
16411 CSTDIO_H=config/io/c_io_stdio.h
16412 BASIC_FILE_H=config/io/basic_file_stdio.h
16413 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16415 if test "x$enable_cstdio" = "xstdio_pure" ; then
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16417 $as_echo "stdio (without POSIX read/write)" >&6; }
16419 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16421 else
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16423 $as_echo "stdio (with POSIX read/write)" >&6; }
16426 esac
16433 # Check whether --enable-clocale was given.
16434 if test "${enable_clocale+set}" = set; then :
16435 enableval=$enable_clocale;
16436 case "$enableval" in
16437 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16438 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16439 esac
16441 else
16442 enable_clocale=auto
16447 # Deal with gettext issues. Default to not using it (=no) until we detect
16448 # support for it later. Let the user turn it off via --e/d, but let that
16449 # default to on for easier handling.
16450 USE_NLS=no
16451 # Check whether --enable-nls was given.
16452 if test "${enable_nls+set}" = set; then :
16453 enableval=$enable_nls;
16454 else
16455 enable_nls=yes
16459 # Either a known package, or "auto"
16460 if test $enable_clocale = no || test $enable_clocale = yes; then
16461 enable_clocale=auto
16463 enable_clocale_flag=$enable_clocale
16465 # Probe for locale model to use if none specified.
16466 # Default to "generic".
16467 if test $enable_clocale_flag = auto; then
16468 case ${target_os} in
16469 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16470 enable_clocale_flag=gnu
16472 darwin*)
16473 enable_clocale_flag=darwin
16475 vxworks*)
16476 enable_clocale_flag=vxworks
16478 dragonfly* | freebsd*)
16479 enable_clocale_flag=dragonfly
16481 openbsd*)
16482 enable_clocale_flag=newlib
16485 if test x"$with_newlib" = x"yes"; then
16486 enable_clocale_flag=newlib
16487 else
16488 enable_clocale_flag=generic
16491 esac
16494 # Sanity check model, and test for special functionality.
16495 if test $enable_clocale_flag = gnu; then
16496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16497 /* end confdefs.h. */
16499 #include <features.h>
16500 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16501 _GLIBCXX_ok
16502 #endif
16504 _ACEOF
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16507 enable_clocale_flag=gnu
16508 else
16509 enable_clocale_flag=generic
16511 rm -f conftest*
16514 # Set it to scream when it hurts.
16515 ac_save_CFLAGS="$CFLAGS"
16516 CFLAGS="-Wimplicit-function-declaration -Werror"
16518 # Use strxfrm_l if available.
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #define _GNU_SOURCE 1
16522 #include <string.h>
16523 #include <locale.h>
16525 main ()
16527 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16529 return 0;
16531 _ACEOF
16532 if ac_fn_c_try_compile "$LINENO"; then :
16534 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16539 # Use strerror_l if available.
16540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16541 /* end confdefs.h. */
16542 #define _GNU_SOURCE 1
16543 #include <string.h>
16544 #include <locale.h>
16546 main ()
16548 __locale_t loc; strerror_l(5, loc);
16550 return 0;
16552 _ACEOF
16553 if ac_fn_c_try_compile "$LINENO"; then :
16555 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 CFLAGS="$ac_save_CFLAGS"
16563 # Perhaps use strerror_r if available, and strerror_l isn't.
16564 ac_save_CFLAGS="$CFLAGS"
16565 CFLAGS="-Wimplicit-function-declaration -Werror"
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16568 #define _GNU_SOURCE 1
16569 #include <string.h>
16570 #include <locale.h>
16572 main ()
16574 char s[128]; strerror_r(5, s, 128);
16576 return 0;
16578 _ACEOF
16579 if ac_fn_c_try_compile "$LINENO"; then :
16581 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16585 CFLAGS="$ac_save_CFLAGS"
16587 # Set configure bits for specified locale package
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16589 $as_echo_n "checking for C locale to use... " >&6; }
16590 case ${enable_clocale_flag} in
16591 generic)
16592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16593 $as_echo "generic" >&6; }
16595 CLOCALE_H=config/locale/generic/c_locale.h
16596 CLOCALE_CC=config/locale/generic/c_locale.cc
16597 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16598 CCOLLATE_CC=config/locale/generic/collate_members.cc
16599 CCTYPE_CC=config/locale/generic/ctype_members.cc
16600 CMESSAGES_H=config/locale/generic/messages_members.h
16601 CMESSAGES_CC=config/locale/generic/messages_members.cc
16602 CMONEY_CC=config/locale/generic/monetary_members.cc
16603 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16604 CTIME_H=config/locale/generic/time_members.h
16605 CTIME_CC=config/locale/generic/time_members.cc
16606 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16608 darwin)
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16610 $as_echo "darwin" >&6; }
16612 CLOCALE_H=config/locale/generic/c_locale.h
16613 CLOCALE_CC=config/locale/generic/c_locale.cc
16614 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16615 CCOLLATE_CC=config/locale/generic/collate_members.cc
16616 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16617 CMESSAGES_H=config/locale/generic/messages_members.h
16618 CMESSAGES_CC=config/locale/generic/messages_members.cc
16619 CMONEY_CC=config/locale/generic/monetary_members.cc
16620 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16621 CTIME_H=config/locale/generic/time_members.h
16622 CTIME_CC=config/locale/generic/time_members.cc
16623 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16625 vxworks)
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16627 $as_echo "vxworks" >&6; }
16629 CLOCALE_H=config/locale/generic/c_locale.h
16630 CLOCALE_CC=config/locale/generic/c_locale.cc
16631 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16632 CCOLLATE_CC=config/locale/generic/collate_members.cc
16633 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16634 CMESSAGES_H=config/locale/generic/messages_members.h
16635 CMESSAGES_CC=config/locale/generic/messages_members.cc
16636 CMONEY_CC=config/locale/generic/monetary_members.cc
16637 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16638 CTIME_H=config/locale/generic/time_members.h
16639 CTIME_CC=config/locale/generic/time_members.cc
16640 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16642 dragonfly)
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16644 $as_echo "dragonfly or freebsd" >&6; }
16646 CLOCALE_H=config/locale/dragonfly/c_locale.h
16647 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16648 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16649 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16650 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16651 CMESSAGES_H=config/locale/generic/messages_members.h
16652 CMESSAGES_CC=config/locale/generic/messages_members.cc
16653 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16654 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16655 CTIME_H=config/locale/dragonfly/time_members.h
16656 CTIME_CC=config/locale/dragonfly/time_members.cc
16657 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16660 gnu)
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16662 $as_echo "gnu" >&6; }
16664 # Declare intention to use gettext, and add support for specific
16665 # languages.
16666 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16667 ALL_LINGUAS="de fr"
16669 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16670 # Extract the first word of "msgfmt", so it can be a program name with args.
16671 set dummy msgfmt; ac_word=$2
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16673 $as_echo_n "checking for $ac_word... " >&6; }
16674 if ${ac_cv_prog_check_msgfmt+:} false; then :
16675 $as_echo_n "(cached) " >&6
16676 else
16677 if test -n "$check_msgfmt"; then
16678 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16679 else
16680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16681 for as_dir in $PATH
16683 IFS=$as_save_IFS
16684 test -z "$as_dir" && as_dir=.
16685 for ac_exec_ext in '' $ac_executable_extensions; do
16686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16687 ac_cv_prog_check_msgfmt="yes"
16688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16689 break 2
16691 done
16692 done
16693 IFS=$as_save_IFS
16695 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16698 check_msgfmt=$ac_cv_prog_check_msgfmt
16699 if test -n "$check_msgfmt"; then
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16701 $as_echo "$check_msgfmt" >&6; }
16702 else
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16704 $as_echo "no" >&6; }
16708 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16709 USE_NLS=yes
16711 # Export the build objects.
16712 for ling in $ALL_LINGUAS; do \
16713 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16714 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16715 done
16719 CLOCALE_H=config/locale/gnu/c_locale.h
16720 CLOCALE_CC=config/locale/gnu/c_locale.cc
16721 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16722 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16723 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16724 CMESSAGES_H=config/locale/gnu/messages_members.h
16725 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16726 CMONEY_CC=config/locale/gnu/monetary_members.cc
16727 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16728 CTIME_H=config/locale/gnu/time_members.h
16729 CTIME_CC=config/locale/gnu/time_members.cc
16730 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16732 ieee_1003.1-2001)
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16734 $as_echo "IEEE 1003.1" >&6; }
16736 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16737 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16738 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16739 CCOLLATE_CC=config/locale/generic/collate_members.cc
16740 CCTYPE_CC=config/locale/generic/ctype_members.cc
16741 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16742 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16743 CMONEY_CC=config/locale/generic/monetary_members.cc
16744 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16745 CTIME_H=config/locale/generic/time_members.h
16746 CTIME_CC=config/locale/generic/time_members.cc
16747 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16749 newlib)
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16751 $as_echo "newlib" >&6; }
16753 CLOCALE_H=config/locale/generic/c_locale.h
16754 CLOCALE_CC=config/locale/generic/c_locale.cc
16755 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16756 CCOLLATE_CC=config/locale/generic/collate_members.cc
16757 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16758 CMESSAGES_H=config/locale/generic/messages_members.h
16759 CMESSAGES_CC=config/locale/generic/messages_members.cc
16760 CMONEY_CC=config/locale/generic/monetary_members.cc
16761 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16762 CTIME_H=config/locale/generic/time_members.h
16763 CTIME_CC=config/locale/generic/time_members.cc
16764 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16766 esac
16768 # This is where the testsuite looks for locale catalogs, using the
16769 # -DLOCALEDIR define during testsuite compilation.
16770 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16773 # A standalone libintl (e.g., GNU libintl) may be in use.
16774 if test $USE_NLS = yes; then
16775 for ac_header in libintl.h
16776 do :
16777 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16778 if test "x$ac_cv_header_libintl_h" = xyes; then :
16779 cat >>confdefs.h <<_ACEOF
16780 #define HAVE_LIBINTL_H 1
16781 _ACEOF
16783 else
16784 USE_NLS=no
16787 done
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16790 $as_echo_n "checking for library containing gettext... " >&6; }
16791 if ${ac_cv_search_gettext+:} false; then :
16792 $as_echo_n "(cached) " >&6
16793 else
16794 ac_func_search_save_LIBS=$LIBS
16795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16796 /* end confdefs.h. */
16798 /* Override any GCC internal prototype to avoid an error.
16799 Use char because int might match the return type of a GCC
16800 builtin and then its argument prototype would still apply. */
16801 #ifdef __cplusplus
16802 extern "C"
16803 #endif
16804 char gettext ();
16806 main ()
16808 return gettext ();
16810 return 0;
16812 _ACEOF
16813 for ac_lib in '' intl; do
16814 if test -z "$ac_lib"; then
16815 ac_res="none required"
16816 else
16817 ac_res=-l$ac_lib
16818 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16820 if test x$gcc_no_link = xyes; then
16821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16823 if ac_fn_c_try_link "$LINENO"; then :
16824 ac_cv_search_gettext=$ac_res
16826 rm -f core conftest.err conftest.$ac_objext \
16827 conftest$ac_exeext
16828 if ${ac_cv_search_gettext+:} false; then :
16829 break
16831 done
16832 if ${ac_cv_search_gettext+:} false; then :
16834 else
16835 ac_cv_search_gettext=no
16837 rm conftest.$ac_ext
16838 LIBS=$ac_func_search_save_LIBS
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16841 $as_echo "$ac_cv_search_gettext" >&6; }
16842 ac_res=$ac_cv_search_gettext
16843 if test "$ac_res" != no; then :
16844 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16846 else
16847 USE_NLS=no
16851 if test $USE_NLS = yes; then
16853 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16873 $as_echo_n "checking for std::allocator base class... " >&6; }
16874 # Check whether --enable-libstdcxx-allocator was given.
16875 if test "${enable_libstdcxx_allocator+set}" = set; then :
16876 enableval=$enable_libstdcxx_allocator;
16877 case "$enableval" in
16878 new|malloc|yes|no|auto) ;;
16879 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16880 esac
16882 else
16883 enable_libstdcxx_allocator=auto
16888 # If they didn't use this option switch, or if they specified --enable
16889 # with no specific model, we'll have to look for one. If they
16890 # specified --disable (???), do likewise.
16891 if test $enable_libstdcxx_allocator = no ||
16892 test $enable_libstdcxx_allocator = yes;
16893 then
16894 enable_libstdcxx_allocator=auto
16897 # Either a known package, or "auto". Auto implies the default choice
16898 # for a particular platform.
16899 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16901 # Probe for host-specific support if no specific model is specified.
16902 # Default to "new".
16903 if test $enable_libstdcxx_allocator_flag = auto; then
16904 case ${target_os} in
16905 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16906 enable_libstdcxx_allocator_flag=new
16909 enable_libstdcxx_allocator_flag=new
16911 esac
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16914 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16917 # Set configure bits for specified locale package
16918 case ${enable_libstdcxx_allocator_flag} in
16919 malloc)
16920 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16921 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16923 new)
16924 ALLOCATOR_H=config/allocator/new_allocator_base.h
16925 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16927 esac
16934 # Check whether --enable-cheaders-obsolete was given.
16935 if test "${enable_cheaders_obsolete+set}" = set; then :
16936 enableval=$enable_cheaders_obsolete;
16937 case "$enableval" in
16938 yes|no) ;;
16939 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16940 esac
16942 else
16943 enable_cheaders_obsolete=no
16947 # Check whether --enable-cheaders was given.
16948 if test "${enable_cheaders+set}" = set; then :
16949 enableval=$enable_cheaders;
16950 case "$enableval" in
16951 c|c_global|c_std) ;;
16952 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16953 esac
16955 else
16956 enable_cheaders=$c_model
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16961 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16962 if test $enable_cheaders = c_std ; then
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16964 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
16966 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16967 if test $enable_cheaders_obsolete != yes ; then
16968 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16972 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16974 # Allow overrides to configure.host here.
16975 if test $enable_cheaders = c_global; then
16976 c_compatibility=yes
16985 # Check whether --enable-long-long was given.
16986 if test "${enable_long_long+set}" = set; then :
16987 enableval=$enable_long_long;
16988 case "$enableval" in
16989 yes|no) ;;
16990 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16991 esac
16993 else
16994 enable_long_long=yes
16998 if test $enable_long_long = yes; then
17000 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17004 $as_echo_n "checking for enabled long long specializations... " >&6; }
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17006 $as_echo "$enable_long_long" >&6; }
17009 # Check whether --enable-wchar_t was given.
17010 if test "${enable_wchar_t+set}" = set; then :
17011 enableval=$enable_wchar_t;
17012 case "$enableval" in
17013 yes|no) ;;
17014 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17015 esac
17017 else
17018 enable_wchar_t=yes
17023 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17024 for ac_header in wchar.h
17025 do :
17026 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17027 if test "x$ac_cv_header_wchar_h" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_WCHAR_H 1
17030 _ACEOF
17031 ac_has_wchar_h=yes
17032 else
17033 ac_has_wchar_h=no
17036 done
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17039 $as_echo_n "checking for mbstate_t... " >&6; }
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <wchar.h>
17044 main ()
17046 mbstate_t teststate;
17048 return 0;
17050 _ACEOF
17051 if ac_fn_c_try_compile "$LINENO"; then :
17052 have_mbstate_t=yes
17053 else
17054 have_mbstate_t=no
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17058 $as_echo "$have_mbstate_t" >&6; }
17059 if test x"$have_mbstate_t" = xyes; then
17061 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17065 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17066 # ac_has_wchar_h.
17067 for ac_header in wctype.h
17068 do :
17069 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17070 if test "x$ac_cv_header_wctype_h" = xyes; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_WCTYPE_H 1
17073 _ACEOF
17074 ac_has_wctype_h=yes
17075 else
17076 ac_has_wctype_h=no
17079 done
17082 if test x"$enable_wchar_t" = x"yes"; then
17085 ac_ext=cpp
17086 ac_cpp='$CXXCPP $CPPFLAGS'
17087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17092 if test x"$ac_has_wchar_h" = xyes &&
17093 test x"$ac_has_wctype_h" = xyes; then
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 #include <stddef.h>
17098 wint_t i;
17099 long l = WEOF;
17100 long j = WCHAR_MIN;
17101 long k = WCHAR_MAX;
17102 namespace test
17104 using ::btowc;
17105 using ::fgetwc;
17106 using ::fgetws;
17107 using ::fputwc;
17108 using ::fputws;
17109 using ::fwide;
17110 using ::fwprintf;
17111 using ::fwscanf;
17112 using ::getwc;
17113 using ::getwchar;
17114 using ::mbrlen;
17115 using ::mbrtowc;
17116 using ::mbsinit;
17117 using ::mbsrtowcs;
17118 using ::putwc;
17119 using ::putwchar;
17120 using ::swprintf;
17121 using ::swscanf;
17122 using ::ungetwc;
17123 using ::vfwprintf;
17124 using ::vswprintf;
17125 using ::vwprintf;
17126 using ::wcrtomb;
17127 using ::wcscat;
17128 using ::wcschr;
17129 using ::wcscmp;
17130 using ::wcscoll;
17131 using ::wcscpy;
17132 using ::wcscspn;
17133 using ::wcsftime;
17134 using ::wcslen;
17135 using ::wcsncat;
17136 using ::wcsncmp;
17137 using ::wcsncpy;
17138 using ::wcspbrk;
17139 using ::wcsrchr;
17140 using ::wcsrtombs;
17141 using ::wcsspn;
17142 using ::wcsstr;
17143 using ::wcstod;
17144 using ::wcstok;
17145 using ::wcstol;
17146 using ::wcstoul;
17147 using ::wcsxfrm;
17148 using ::wctob;
17149 using ::wmemchr;
17150 using ::wmemcmp;
17151 using ::wmemcpy;
17152 using ::wmemmove;
17153 using ::wmemset;
17154 using ::wprintf;
17155 using ::wscanf;
17159 main ()
17163 return 0;
17165 _ACEOF
17166 if ac_fn_cxx_try_compile "$LINENO"; then :
17168 else
17169 enable_wchar_t=no
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17172 else
17173 enable_wchar_t=no
17176 ac_ext=c
17177 ac_cpp='$CPP $CPPFLAGS'
17178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184 if test x"$enable_wchar_t" = x"yes"; then
17186 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17191 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17193 $as_echo "$enable_wchar_t" >&6; }
17197 # Check whether --enable-c99 was given.
17198 if test "${enable_c99+set}" = set; then :
17199 enableval=$enable_c99;
17200 case "$enableval" in
17201 yes|no) ;;
17202 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17203 esac
17205 else
17206 enable_c99=yes
17211 if test x"$enable_c99" = x"yes"; then
17213 ac_ext=cpp
17214 ac_cpp='$CXXCPP $CPPFLAGS'
17215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17220 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17221 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17222 # to be spuriously enabled.
17223 ac_save_CXXFLAGS="$CXXFLAGS"
17224 CXXFLAGS="$CXXFLAGS -std=c++98"
17225 ac_save_LIBS="$LIBS"
17226 ac_save_gcc_no_link="$gcc_no_link"
17228 if test x$gcc_no_link != xyes; then
17229 # Use -fno-exceptions to that the C driver can link these tests without
17230 # hitting undefined references to personality routines.
17231 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17233 $as_echo_n "checking for sin in -lm... " >&6; }
17234 if ${ac_cv_lib_m_sin+:} false; then :
17235 $as_echo_n "(cached) " >&6
17236 else
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lm $LIBS"
17239 if test x$gcc_no_link = xyes; then
17240 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17243 /* end confdefs.h. */
17245 /* Override any GCC internal prototype to avoid an error.
17246 Use char because int might match the return type of a GCC
17247 builtin and then its argument prototype would still apply. */
17248 #ifdef __cplusplus
17249 extern "C"
17250 #endif
17251 char sin ();
17253 main ()
17255 return sin ();
17257 return 0;
17259 _ACEOF
17260 if ac_fn_cxx_try_link "$LINENO"; then :
17261 ac_cv_lib_m_sin=yes
17262 else
17263 ac_cv_lib_m_sin=no
17265 rm -f core conftest.err conftest.$ac_objext \
17266 conftest$ac_exeext conftest.$ac_ext
17267 LIBS=$ac_check_lib_save_LIBS
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17270 $as_echo "$ac_cv_lib_m_sin" >&6; }
17271 if test "x$ac_cv_lib_m_sin" = xyes; then :
17272 LIBS="$LIBS -lm"
17273 else
17275 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17276 gcc_no_link=yes
17282 # Check for the existence of <math.h> functions used if C99 is enabled.
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17284 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17285 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17289 if test x$gcc_no_link = xyes; then
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 #include <math.h>
17293 volatile double d1, d2;
17294 volatile int i;
17296 main ()
17298 i = fpclassify(d1);
17299 i = isfinite(d1);
17300 i = isinf(d1);
17301 i = isnan(d1);
17302 i = isnormal(d1);
17303 i = signbit(d1);
17304 i = isgreater(d1, d2);
17305 i = isgreaterequal(d1, d2);
17306 i = isless(d1, d2);
17307 i = islessequal(d1, d2);
17308 i = islessgreater(d1, d2);
17309 i = islessgreater(d1, d2);
17310 i = isunordered(d1, d2);
17313 return 0;
17315 _ACEOF
17316 if ac_fn_cxx_try_compile "$LINENO"; then :
17317 glibcxx_cv_c99_math_cxx98=yes
17318 else
17319 glibcxx_cv_c99_math_cxx98=no
17321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 else
17323 if test x$gcc_no_link = xyes; then
17324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17332 main ()
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_link "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17357 rm -f core conftest.err conftest.$ac_objext \
17358 conftest$ac_exeext conftest.$ac_ext
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17363 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17364 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17366 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17370 # Check for the existence of <complex.h> complex math functions.
17371 # This is necessary even though libstdc++ uses the builtin versions
17372 # of these functions, because if the builtin cannot be used, a reference
17373 # to the library function is emitted.
17374 for ac_header in tgmath.h
17375 do :
17376 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17377 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17378 cat >>confdefs.h <<_ACEOF
17379 #define HAVE_TGMATH_H 1
17380 _ACEOF
17381 ac_has_tgmath_h=yes
17382 else
17383 ac_has_tgmath_h=no
17386 done
17388 for ac_header in complex.h
17389 do :
17390 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17391 if test "x$ac_cv_header_complex_h" = xyes; then :
17392 cat >>confdefs.h <<_ACEOF
17393 #define HAVE_COMPLEX_H 1
17394 _ACEOF
17395 ac_has_complex_h=yes
17396 else
17397 ac_has_complex_h=no
17400 done
17402 if test x"$ac_has_complex_h" = x"yes"; then
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17404 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17405 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17409 if test x$gcc_no_link = xyes; then
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 #include <complex.h>
17413 typedef __complex__ float float_type;
17414 typedef __complex__ double double_type;
17415 typedef __complex__ long double ld_type;
17416 volatile float_type tmpf;
17417 volatile double_type tmpd;
17418 volatile ld_type tmpld;
17419 volatile float f;
17420 volatile double d;
17421 volatile long double ld;
17423 main ()
17425 f = cabsf(tmpf);
17426 f = cargf(tmpf);
17427 tmpf = ccosf(tmpf);
17428 tmpf = ccoshf(tmpf);
17429 tmpf = cexpf(tmpf);
17430 tmpf = clogf(tmpf);
17431 tmpf = csinf(tmpf);
17432 tmpf = csinhf(tmpf);
17433 tmpf = csqrtf(tmpf);
17434 tmpf = ctanf(tmpf);
17435 tmpf = ctanhf(tmpf);
17436 tmpf = cpowf(tmpf, tmpf);
17437 tmpf = cprojf(tmpf);
17438 d = cabs(tmpd);
17439 d = carg(tmpd);
17440 tmpd = ccos(tmpd);
17441 tmpd = ccosh(tmpd);
17442 tmpd = cexp(tmpd);
17443 tmpd = clog(tmpd);
17444 tmpd = csin(tmpd);
17445 tmpd = csinh(tmpd);
17446 tmpd = csqrt(tmpd);
17447 tmpd = ctan(tmpd);
17448 tmpd = ctanh(tmpd);
17449 tmpd = cpow(tmpd, tmpd);
17450 tmpd = cproj(tmpd);
17451 ld = cabsl(tmpld);
17452 ld = cargl(tmpld);
17453 tmpld = ccosl(tmpld);
17454 tmpld = ccoshl(tmpld);
17455 tmpld = cexpl(tmpld);
17456 tmpld = clogl(tmpld);
17457 tmpld = csinl(tmpld);
17458 tmpld = csinhl(tmpld);
17459 tmpld = csqrtl(tmpld);
17460 tmpld = ctanl(tmpld);
17461 tmpld = ctanhl(tmpld);
17462 tmpld = cpowl(tmpld, tmpld);
17463 tmpld = cprojl(tmpld);
17466 return 0;
17468 _ACEOF
17469 if ac_fn_cxx_try_compile "$LINENO"; then :
17470 glibcxx_cv_c99_complex_cxx98=yes
17471 else
17472 glibcxx_cv_c99_complex_cxx98=no
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 else
17476 if test x$gcc_no_link = xyes; then
17477 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <complex.h>
17482 typedef __complex__ float float_type;
17483 typedef __complex__ double double_type;
17484 typedef __complex__ long double ld_type;
17485 volatile float_type tmpf;
17486 volatile double_type tmpd;
17487 volatile ld_type tmpld;
17488 volatile float f;
17489 volatile double d;
17490 volatile long double ld;
17492 main ()
17494 f = cabsf(tmpf);
17495 f = cargf(tmpf);
17496 tmpf = ccosf(tmpf);
17497 tmpf = ccoshf(tmpf);
17498 tmpf = cexpf(tmpf);
17499 tmpf = clogf(tmpf);
17500 tmpf = csinf(tmpf);
17501 tmpf = csinhf(tmpf);
17502 tmpf = csqrtf(tmpf);
17503 tmpf = ctanf(tmpf);
17504 tmpf = ctanhf(tmpf);
17505 tmpf = cpowf(tmpf, tmpf);
17506 tmpf = cprojf(tmpf);
17507 d = cabs(tmpd);
17508 d = carg(tmpd);
17509 tmpd = ccos(tmpd);
17510 tmpd = ccosh(tmpd);
17511 tmpd = cexp(tmpd);
17512 tmpd = clog(tmpd);
17513 tmpd = csin(tmpd);
17514 tmpd = csinh(tmpd);
17515 tmpd = csqrt(tmpd);
17516 tmpd = ctan(tmpd);
17517 tmpd = ctanh(tmpd);
17518 tmpd = cpow(tmpd, tmpd);
17519 tmpd = cproj(tmpd);
17520 ld = cabsl(tmpld);
17521 ld = cargl(tmpld);
17522 tmpld = ccosl(tmpld);
17523 tmpld = ccoshl(tmpld);
17524 tmpld = cexpl(tmpld);
17525 tmpld = clogl(tmpld);
17526 tmpld = csinl(tmpld);
17527 tmpld = csinhl(tmpld);
17528 tmpld = csqrtl(tmpld);
17529 tmpld = ctanl(tmpld);
17530 tmpld = ctanhl(tmpld);
17531 tmpld = cpowl(tmpld, tmpld);
17532 tmpld = cprojl(tmpld);
17535 return 0;
17537 _ACEOF
17538 if ac_fn_cxx_try_link "$LINENO"; then :
17539 glibcxx_cv_c99_complex_cxx98=yes
17540 else
17541 glibcxx_cv_c99_complex_cxx98=no
17543 rm -f core conftest.err conftest.$ac_objext \
17544 conftest$ac_exeext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17549 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17551 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17553 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17557 # Check for the existence in <stdio.h> of vscanf, et. al.
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17559 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17560 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 if test x$gcc_no_link = xyes; then
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <stdio.h>
17568 #include <stdarg.h>
17569 void foo(char* fmt, ...)
17571 va_list args; va_start(args, fmt);
17572 vfscanf(stderr, "%i", args);
17573 vscanf("%i", args);
17574 vsnprintf(fmt, 0, "%i", args);
17575 vsscanf(fmt, "%i", args);
17576 snprintf(fmt, 0, "%i");
17579 main ()
17583 return 0;
17585 _ACEOF
17586 if ac_fn_cxx_try_compile "$LINENO"; then :
17587 glibcxx_cv_c99_stdio_cxx98=yes
17588 else
17589 glibcxx_cv_c99_stdio_cxx98=no
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 else
17593 if test x$gcc_no_link = xyes; then
17594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <stdio.h>
17599 #include <stdarg.h>
17600 void foo(char* fmt, ...)
17602 va_list args; va_start(args, fmt);
17603 vfscanf(stderr, "%i", args);
17604 vscanf("%i", args);
17605 vsnprintf(fmt, 0, "%i", args);
17606 vsscanf(fmt, "%i", args);
17607 snprintf(fmt, 0, "%i");
17610 main ()
17614 return 0;
17616 _ACEOF
17617 if ac_fn_cxx_try_link "$LINENO"; then :
17618 glibcxx_cv_c99_stdio_cxx98=yes
17619 else
17620 glibcxx_cv_c99_stdio_cxx98=no
17622 rm -f core conftest.err conftest.$ac_objext \
17623 conftest$ac_exeext conftest.$ac_ext
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17628 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17629 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17631 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17635 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17637 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17638 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17639 $as_echo_n "(cached) " >&6
17640 else
17642 if test x$gcc_no_link = xyes; then
17643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17644 /* end confdefs.h. */
17645 #include <stdlib.h>
17646 volatile float f;
17647 volatile long double ld;
17648 volatile unsigned long long ll;
17649 lldiv_t mydivt;
17651 main ()
17653 char* tmp;
17654 f = strtof("gnu", &tmp);
17655 ld = strtold("gnu", &tmp);
17656 ll = strtoll("gnu", &tmp, 10);
17657 ll = strtoull("gnu", &tmp, 10);
17658 ll = llabs(10);
17659 mydivt = lldiv(10,1);
17660 ll = mydivt.quot;
17661 ll = mydivt.rem;
17662 ll = atoll("10");
17663 _Exit(0);
17666 return 0;
17668 _ACEOF
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_c99_stdlib_cxx98=yes
17671 else
17672 glibcxx_cv_c99_stdlib_cxx98=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17687 main ()
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_link "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17710 rm -f core conftest.err conftest.$ac_objext \
17711 conftest$ac_exeext conftest.$ac_ext
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17716 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17717 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17719 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17723 # Check for the existence in <wchar.h> of wcstold, etc.
17724 if test x"$ac_has_wchar_h" = xyes &&
17725 test x"$ac_has_wctype_h" = xyes; then
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17727 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17728 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17729 $as_echo_n "(cached) " >&6
17730 else
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734 #include <wchar.h>
17735 namespace test
17737 using ::wcstold;
17738 using ::wcstoll;
17739 using ::wcstoull;
17743 main ()
17747 return 0;
17749 _ACEOF
17750 if ac_fn_cxx_try_compile "$LINENO"; then :
17751 glibcxx_cv_c99_wchar_cxx98=yes
17752 else
17753 glibcxx_cv_c99_wchar_cxx98=no
17755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17759 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17761 # Checks for wide character functions that may not be present.
17762 # Injection of these is wrapped with guard macros.
17763 # NB: only put functions here, instead of immediately above, if
17764 # absolutely necessary.
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17767 #include <wchar.h>
17768 namespace test { using ::vfwscanf; }
17770 main ()
17774 return 0;
17776 _ACEOF
17777 if ac_fn_cxx_try_compile "$LINENO"; then :
17779 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17785 /* end confdefs.h. */
17786 #include <wchar.h>
17787 namespace test { using ::vswscanf; }
17789 main ()
17793 return 0;
17795 _ACEOF
17796 if ac_fn_cxx_try_compile "$LINENO"; then :
17798 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <wchar.h>
17806 namespace test { using ::vwscanf; }
17808 main ()
17812 return 0;
17814 _ACEOF
17815 if ac_fn_cxx_try_compile "$LINENO"; then :
17817 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 #include <wchar.h>
17825 namespace test { using ::wcstof; }
17827 main ()
17831 return 0;
17833 _ACEOF
17834 if ac_fn_cxx_try_compile "$LINENO"; then :
17836 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 #include <wctype.h>
17845 main ()
17847 wint_t t; int i = iswblank(t);
17849 return 0;
17851 _ACEOF
17852 if ac_fn_cxx_try_compile "$LINENO"; then :
17854 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17859 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17861 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17866 # Option parsed, now set things appropriately.
17867 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17868 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17869 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17870 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17871 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17872 enable_c99=no;
17873 else
17875 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17879 gcc_no_link="$ac_save_gcc_no_link"
17880 LIBS="$ac_save_LIBS"
17881 CXXFLAGS="$ac_save_CXXFLAGS"
17882 ac_ext=c
17883 ac_cpp='$CPP $CPPFLAGS'
17884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17890 ac_ext=cpp
17891 ac_cpp='$CXXCPP $CPPFLAGS'
17892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17897 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17898 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17899 ac_save_CXXFLAGS="$CXXFLAGS"
17900 CXXFLAGS="$CXXFLAGS -std=c++11"
17901 ac_save_LIBS="$LIBS"
17902 ac_save_gcc_no_link="$gcc_no_link"
17904 if test x$gcc_no_link != xyes; then
17905 # Use -fno-exceptions to that the C driver can link these tests without
17906 # hitting undefined references to personality routines.
17907 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17909 $as_echo_n "checking for sin in -lm... " >&6; }
17910 if ${ac_cv_lib_m_sin+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 ac_check_lib_save_LIBS=$LIBS
17914 LIBS="-lm $LIBS"
17915 if test x$gcc_no_link = xyes; then
17916 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 #ifdef __cplusplus
17925 extern "C"
17926 #endif
17927 char sin ();
17929 main ()
17931 return sin ();
17933 return 0;
17935 _ACEOF
17936 if ac_fn_cxx_try_link "$LINENO"; then :
17937 ac_cv_lib_m_sin=yes
17938 else
17939 ac_cv_lib_m_sin=no
17941 rm -f core conftest.err conftest.$ac_objext \
17942 conftest$ac_exeext conftest.$ac_ext
17943 LIBS=$ac_check_lib_save_LIBS
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17946 $as_echo "$ac_cv_lib_m_sin" >&6; }
17947 if test "x$ac_cv_lib_m_sin" = xyes; then :
17948 LIBS="$LIBS -lm"
17949 else
17951 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17952 gcc_no_link=yes
17958 # Check for the existence of <math.h> functions used if C99 is enabled.
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17960 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17961 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17962 $as_echo_n "(cached) " >&6
17963 else
17965 if test x$gcc_no_link = xyes; then
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17968 #include <math.h>
17969 volatile double d1, d2;
17970 volatile int i;
17972 main ()
17974 i = fpclassify(d1);
17975 i = isfinite(d1);
17976 i = isinf(d1);
17977 i = isnan(d1);
17978 i = isnormal(d1);
17979 i = signbit(d1);
17980 i = isgreater(d1, d2);
17981 i = isgreaterequal(d1, d2);
17982 i = isless(d1, d2);
17983 i = islessequal(d1, d2);
17984 i = islessgreater(d1, d2);
17985 i = islessgreater(d1, d2);
17986 i = isunordered(d1, d2);
17989 return 0;
17991 _ACEOF
17992 if ac_fn_cxx_try_compile "$LINENO"; then :
17993 glibcxx_cv_c99_math_cxx11=yes
17994 else
17995 glibcxx_cv_c99_math_cxx11=no
17997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17998 else
17999 if test x$gcc_no_link = xyes; then
18000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <math.h>
18005 volatile double d1, d2;
18006 volatile int i;
18008 main ()
18010 i = fpclassify(d1);
18011 i = isfinite(d1);
18012 i = isinf(d1);
18013 i = isnan(d1);
18014 i = isnormal(d1);
18015 i = signbit(d1);
18016 i = isgreater(d1, d2);
18017 i = isgreaterequal(d1, d2);
18018 i = isless(d1, d2);
18019 i = islessequal(d1, d2);
18020 i = islessgreater(d1, d2);
18021 i = islessgreater(d1, d2);
18022 i = isunordered(d1, d2);
18025 return 0;
18027 _ACEOF
18028 if ac_fn_cxx_try_link "$LINENO"; then :
18029 glibcxx_cv_c99_math_cxx11=yes
18030 else
18031 glibcxx_cv_c99_math_cxx11=no
18033 rm -f core conftest.err conftest.$ac_objext \
18034 conftest$ac_exeext conftest.$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18039 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18040 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18042 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18046 # Check for the existence of <complex.h> complex math functions.
18047 # This is necessary even though libstdc++ uses the builtin versions
18048 # of these functions, because if the builtin cannot be used, a reference
18049 # to the library function is emitted.
18050 for ac_header in tgmath.h
18051 do :
18052 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18053 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18054 cat >>confdefs.h <<_ACEOF
18055 #define HAVE_TGMATH_H 1
18056 _ACEOF
18057 ac_has_tgmath_h=yes
18058 else
18059 ac_has_tgmath_h=no
18062 done
18064 for ac_header in complex.h
18065 do :
18066 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18067 if test "x$ac_cv_header_complex_h" = xyes; then :
18068 cat >>confdefs.h <<_ACEOF
18069 #define HAVE_COMPLEX_H 1
18070 _ACEOF
18071 ac_has_complex_h=yes
18072 else
18073 ac_has_complex_h=no
18076 done
18078 if test x"$ac_has_complex_h" = x"yes"; then
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18080 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18081 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18082 $as_echo_n "(cached) " >&6
18083 else
18085 if test x$gcc_no_link = xyes; then
18086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18087 /* end confdefs.h. */
18088 #include <complex.h>
18089 typedef __complex__ float float_type;
18090 typedef __complex__ double double_type;
18091 typedef __complex__ long double ld_type;
18092 volatile float_type tmpf;
18093 volatile double_type tmpd;
18094 volatile ld_type tmpld;
18095 volatile float f;
18096 volatile double d;
18097 volatile long double ld;
18099 main ()
18101 f = cabsf(tmpf);
18102 f = cargf(tmpf);
18103 tmpf = ccosf(tmpf);
18104 tmpf = ccoshf(tmpf);
18105 tmpf = cexpf(tmpf);
18106 tmpf = clogf(tmpf);
18107 tmpf = csinf(tmpf);
18108 tmpf = csinhf(tmpf);
18109 tmpf = csqrtf(tmpf);
18110 tmpf = ctanf(tmpf);
18111 tmpf = ctanhf(tmpf);
18112 tmpf = cpowf(tmpf, tmpf);
18113 tmpf = cprojf(tmpf);
18114 d = cabs(tmpd);
18115 d = carg(tmpd);
18116 tmpd = ccos(tmpd);
18117 tmpd = ccosh(tmpd);
18118 tmpd = cexp(tmpd);
18119 tmpd = clog(tmpd);
18120 tmpd = csin(tmpd);
18121 tmpd = csinh(tmpd);
18122 tmpd = csqrt(tmpd);
18123 tmpd = ctan(tmpd);
18124 tmpd = ctanh(tmpd);
18125 tmpd = cpow(tmpd, tmpd);
18126 tmpd = cproj(tmpd);
18127 ld = cabsl(tmpld);
18128 ld = cargl(tmpld);
18129 tmpld = ccosl(tmpld);
18130 tmpld = ccoshl(tmpld);
18131 tmpld = cexpl(tmpld);
18132 tmpld = clogl(tmpld);
18133 tmpld = csinl(tmpld);
18134 tmpld = csinhl(tmpld);
18135 tmpld = csqrtl(tmpld);
18136 tmpld = ctanl(tmpld);
18137 tmpld = ctanhl(tmpld);
18138 tmpld = cpowl(tmpld, tmpld);
18139 tmpld = cprojl(tmpld);
18142 return 0;
18144 _ACEOF
18145 if ac_fn_cxx_try_compile "$LINENO"; then :
18146 glibcxx_cv_c99_complex_cxx11=yes
18147 else
18148 glibcxx_cv_c99_complex_cxx11=no
18150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18151 else
18152 if test x$gcc_no_link = xyes; then
18153 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <complex.h>
18158 typedef __complex__ float float_type;
18159 typedef __complex__ double double_type;
18160 typedef __complex__ long double ld_type;
18161 volatile float_type tmpf;
18162 volatile double_type tmpd;
18163 volatile ld_type tmpld;
18164 volatile float f;
18165 volatile double d;
18166 volatile long double ld;
18168 main ()
18170 f = cabsf(tmpf);
18171 f = cargf(tmpf);
18172 tmpf = ccosf(tmpf);
18173 tmpf = ccoshf(tmpf);
18174 tmpf = cexpf(tmpf);
18175 tmpf = clogf(tmpf);
18176 tmpf = csinf(tmpf);
18177 tmpf = csinhf(tmpf);
18178 tmpf = csqrtf(tmpf);
18179 tmpf = ctanf(tmpf);
18180 tmpf = ctanhf(tmpf);
18181 tmpf = cpowf(tmpf, tmpf);
18182 tmpf = cprojf(tmpf);
18183 d = cabs(tmpd);
18184 d = carg(tmpd);
18185 tmpd = ccos(tmpd);
18186 tmpd = ccosh(tmpd);
18187 tmpd = cexp(tmpd);
18188 tmpd = clog(tmpd);
18189 tmpd = csin(tmpd);
18190 tmpd = csinh(tmpd);
18191 tmpd = csqrt(tmpd);
18192 tmpd = ctan(tmpd);
18193 tmpd = ctanh(tmpd);
18194 tmpd = cpow(tmpd, tmpd);
18195 tmpd = cproj(tmpd);
18196 ld = cabsl(tmpld);
18197 ld = cargl(tmpld);
18198 tmpld = ccosl(tmpld);
18199 tmpld = ccoshl(tmpld);
18200 tmpld = cexpl(tmpld);
18201 tmpld = clogl(tmpld);
18202 tmpld = csinl(tmpld);
18203 tmpld = csinhl(tmpld);
18204 tmpld = csqrtl(tmpld);
18205 tmpld = ctanl(tmpld);
18206 tmpld = ctanhl(tmpld);
18207 tmpld = cpowl(tmpld, tmpld);
18208 tmpld = cprojl(tmpld);
18211 return 0;
18213 _ACEOF
18214 if ac_fn_cxx_try_link "$LINENO"; then :
18215 glibcxx_cv_c99_complex_cxx11=yes
18216 else
18217 glibcxx_cv_c99_complex_cxx11=no
18219 rm -f core conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext conftest.$ac_ext
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18225 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18227 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18229 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18233 # Check for the existence in <stdio.h> of vscanf, et. al.
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18235 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18236 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18237 $as_echo_n "(cached) " >&6
18238 else
18240 if test x$gcc_no_link = xyes; then
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <stdio.h>
18244 #include <stdarg.h>
18245 void foo(char* fmt, ...)
18247 va_list args; va_start(args, fmt);
18248 vfscanf(stderr, "%i", args);
18249 vscanf("%i", args);
18250 vsnprintf(fmt, 0, "%i", args);
18251 vsscanf(fmt, "%i", args);
18252 snprintf(fmt, 0, "%i");
18255 main ()
18259 return 0;
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_c99_stdio_cxx11=yes
18264 else
18265 glibcxx_cv_c99_stdio_cxx11=no
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268 else
18269 if test x$gcc_no_link = xyes; then
18270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274 #include <stdio.h>
18275 #include <stdarg.h>
18276 void foo(char* fmt, ...)
18278 va_list args; va_start(args, fmt);
18279 vfscanf(stderr, "%i", args);
18280 vscanf("%i", args);
18281 vsnprintf(fmt, 0, "%i", args);
18282 vsscanf(fmt, "%i", args);
18283 snprintf(fmt, 0, "%i");
18286 main ()
18290 return 0;
18292 _ACEOF
18293 if ac_fn_cxx_try_link "$LINENO"; then :
18294 glibcxx_cv_c99_stdio_cxx11=yes
18295 else
18296 glibcxx_cv_c99_stdio_cxx11=no
18298 rm -f core conftest.err conftest.$ac_objext \
18299 conftest$ac_exeext conftest.$ac_ext
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18304 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18305 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18307 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18311 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18313 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18314 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18315 $as_echo_n "(cached) " >&6
18316 else
18318 if test x$gcc_no_link = xyes; then
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18321 #include <stdlib.h>
18322 volatile float f;
18323 volatile long double ld;
18324 volatile unsigned long long ll;
18325 lldiv_t mydivt;
18327 main ()
18329 char* tmp;
18330 f = strtof("gnu", &tmp);
18331 ld = strtold("gnu", &tmp);
18332 ll = strtoll("gnu", &tmp, 10);
18333 ll = strtoull("gnu", &tmp, 10);
18334 ll = llabs(10);
18335 mydivt = lldiv(10,1);
18336 ll = mydivt.quot;
18337 ll = mydivt.rem;
18338 ll = atoll("10");
18339 _Exit(0);
18342 return 0;
18344 _ACEOF
18345 if ac_fn_cxx_try_compile "$LINENO"; then :
18346 glibcxx_cv_c99_stdlib_cxx11=yes
18347 else
18348 glibcxx_cv_c99_stdlib_cxx11=no
18350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18351 else
18352 if test x$gcc_no_link = xyes; then
18353 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356 /* end confdefs.h. */
18357 #include <stdlib.h>
18358 volatile float f;
18359 volatile long double ld;
18360 volatile unsigned long long ll;
18361 lldiv_t mydivt;
18363 main ()
18365 char* tmp;
18366 f = strtof("gnu", &tmp);
18367 ld = strtold("gnu", &tmp);
18368 ll = strtoll("gnu", &tmp, 10);
18369 ll = strtoull("gnu", &tmp, 10);
18370 ll = llabs(10);
18371 mydivt = lldiv(10,1);
18372 ll = mydivt.quot;
18373 ll = mydivt.rem;
18374 ll = atoll("10");
18375 _Exit(0);
18378 return 0;
18380 _ACEOF
18381 if ac_fn_cxx_try_link "$LINENO"; then :
18382 glibcxx_cv_c99_stdlib_cxx11=yes
18383 else
18384 glibcxx_cv_c99_stdlib_cxx11=no
18386 rm -f core conftest.err conftest.$ac_objext \
18387 conftest$ac_exeext conftest.$ac_ext
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18392 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18393 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18395 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18399 # Check for the existence in <wchar.h> of wcstold, etc.
18400 if test x"$ac_has_wchar_h" = xyes &&
18401 test x"$ac_has_wctype_h" = xyes; then
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18403 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18404 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18409 /* end confdefs.h. */
18410 #include <wchar.h>
18411 namespace test
18413 using ::wcstold;
18414 using ::wcstoll;
18415 using ::wcstoull;
18419 main ()
18423 return 0;
18425 _ACEOF
18426 if ac_fn_cxx_try_compile "$LINENO"; then :
18427 glibcxx_cv_c99_wchar_cxx11=yes
18428 else
18429 glibcxx_cv_c99_wchar_cxx11=no
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18435 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18437 # Checks for wide character functions that may not be present.
18438 # Injection of these is wrapped with guard macros.
18439 # NB: only put functions here, instead of immediately above, if
18440 # absolutely necessary.
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <wchar.h>
18444 namespace test { using ::vfwscanf; }
18446 main ()
18450 return 0;
18452 _ACEOF
18453 if ac_fn_cxx_try_compile "$LINENO"; then :
18455 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h. */
18462 #include <wchar.h>
18463 namespace test { using ::vswscanf; }
18465 main ()
18469 return 0;
18471 _ACEOF
18472 if ac_fn_cxx_try_compile "$LINENO"; then :
18474 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <wchar.h>
18482 namespace test { using ::vwscanf; }
18484 main ()
18488 return 0;
18490 _ACEOF
18491 if ac_fn_cxx_try_compile "$LINENO"; then :
18493 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18500 #include <wchar.h>
18501 namespace test { using ::wcstof; }
18503 main ()
18507 return 0;
18509 _ACEOF
18510 if ac_fn_cxx_try_compile "$LINENO"; then :
18512 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18518 /* end confdefs.h. */
18519 #include <wctype.h>
18521 main ()
18523 wint_t t; int i = iswblank(t);
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18530 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18537 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18542 gcc_no_link="$ac_save_gcc_no_link"
18543 LIBS="$ac_save_LIBS"
18544 CXXFLAGS="$ac_save_CXXFLAGS"
18545 ac_ext=c
18546 ac_cpp='$CPP $CPPFLAGS'
18547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18554 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18556 $as_echo "$enable_c99" >&6; }
18559 # Check whether --enable-concept-checks was given.
18560 if test "${enable_concept_checks+set}" = set; then :
18561 enableval=$enable_concept_checks;
18562 case "$enableval" in
18563 yes|no) ;;
18564 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18565 esac
18567 else
18568 enable_concept_checks=no
18572 if test $enable_concept_checks = yes; then
18574 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18579 # Check whether --enable-libstdcxx-debug-flags was given.
18580 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18581 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18582 xno | x) enable_libstdcxx_debug_flags= ;;
18583 x-*) ;;
18584 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18585 esac
18586 else
18587 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18592 # Option parsed, now set things appropriately
18593 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18596 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18597 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18601 $as_echo_n "checking for additional debug build... " >&6; }
18602 skip_debug_build=
18603 # Check whether --enable-libstdcxx-debug was given.
18604 if test "${enable_libstdcxx_debug+set}" = set; then :
18605 enableval=$enable_libstdcxx_debug;
18606 case "$enableval" in
18607 yes|no) ;;
18608 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18609 esac
18611 else
18612 enable_libstdcxx_debug=no
18616 if test x$enable_libstdcxx_debug = xyes; then
18617 if test -f $toplevel_builddir/../stage_final \
18618 && test -f $toplevel_builddir/../stage_current; then
18619 stage_final=`cat $toplevel_builddir/../stage_final`
18620 stage_current=`cat $toplevel_builddir/../stage_current`
18621 if test x$stage_current != x$stage_final ; then
18622 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18623 enable_libstdcxx_debug=no
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18628 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18633 enable_parallel=no;
18635 # See if configured libgomp/omp.h exists. (libgomp may be in
18636 # noconfigdirs but not explicitly disabled.)
18637 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18638 enable_parallel=yes;
18639 else
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18641 $as_echo "$as_me: target-libgomp not built" >&6;}
18644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18645 $as_echo_n "checking for parallel mode support... " >&6; }
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18647 $as_echo "$enable_parallel" >&6; }
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18650 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18651 # Check whether --enable-cxx-flags was given.
18652 if test "${enable_cxx_flags+set}" = set; then :
18653 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18654 xno | x) enable_cxx_flags= ;;
18655 x-*) ;;
18656 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18657 esac
18658 else
18659 enable_cxx_flags=
18664 # Run through flags (either default or command-line) and set anything
18665 # extra (e.g., #defines) that must accompany particular g++ options.
18666 if test -n "$enable_cxx_flags"; then
18667 for f in $enable_cxx_flags; do
18668 case "$f" in
18669 -fhonor-std) ;;
18670 -*) ;;
18671 *) # and we're trying to pass /what/ exactly?
18672 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18673 esac
18674 done
18677 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18679 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18683 # Check whether --enable-fully-dynamic-string was given.
18684 if test "${enable_fully_dynamic_string+set}" = set; then :
18685 enableval=$enable_fully_dynamic_string;
18686 case "$enableval" in
18687 yes|no) ;;
18688 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18689 esac
18691 else
18692 enable_fully_dynamic_string=no
18696 if test $enable_fully_dynamic_string = yes; then
18697 enable_fully_dynamic_string_def=1
18698 else
18699 enable_fully_dynamic_string_def=0
18702 cat >>confdefs.h <<_ACEOF
18703 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18704 _ACEOF
18709 # Check whether --enable-extern-template was given.
18710 if test "${enable_extern_template+set}" = set; then :
18711 enableval=$enable_extern_template;
18712 case "$enableval" in
18713 yes|no) ;;
18714 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18715 esac
18717 else
18718 enable_extern_template=yes
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18724 $as_echo_n "checking for extern template support... " >&6; }
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18726 $as_echo "$enable_extern_template" >&6; }
18732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18733 $as_echo_n "checking for custom python install directory... " >&6; }
18735 # Check whether --with-python-dir was given.
18736 if test "${with_python_dir+set}" = set; then :
18737 withval=$with_python_dir; with_python_dir=$withval
18738 else
18739 with_python_dir="no"
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18743 $as_echo "${with_python_dir}" >&6; }
18745 # Needed for installing Python modules during make install.
18746 python_mod_dir="${with_python_dir}"
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18752 $as_echo_n "checking for -Werror... " >&6; }
18753 # Check whether --enable-werror was given.
18754 if test "${enable_werror+set}" = set; then :
18755 enableval=$enable_werror;
18756 case "$enableval" in
18757 yes|no) ;;
18758 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18759 esac
18761 else
18762 enable_werror=no
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18767 $as_echo "$enable_werror" >&6; }
18772 # Check whether --enable-vtable-verify was given.
18773 if test "${enable_vtable_verify+set}" = set; then :
18774 enableval=$enable_vtable_verify;
18775 case "$enableval" in
18776 yes|no) ;;
18777 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18778 esac
18780 else
18781 enable_vtable_verify=no
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18787 $as_echo_n "checking for vtable verify support... " >&6; }
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18789 $as_echo "$enable_vtable_verify" >&6; }
18791 vtv_cygmin=no
18792 if test $enable_vtable_verify = yes; then
18793 case ${target_os} in
18794 cygwin*|mingw32*)
18795 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18796 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18797 vtv_cygmin=yes
18799 darwin*)
18800 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18801 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18803 solaris2*)
18804 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18805 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18808 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18809 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18811 esac
18812 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18813 else
18814 VTV_CXXFLAGS=
18815 VTV_PCH_CXXFLAGS=
18816 VTV_CXXLINKFLAGS=
18822 if test x$vtv_cygmin = xyes; then
18823 VTV_CYGMIN_TRUE=
18824 VTV_CYGMIN_FALSE='#'
18825 else
18826 VTV_CYGMIN_TRUE='#'
18827 VTV_CYGMIN_FALSE=
18833 # Checks for operating systems support that doesn't require linking.
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18843 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18844 # and we don't need a declaration for C++14 anyway.
18845 ac_save_CXXFLAGS="$CXXFLAGS"
18846 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18849 $as_echo_n "checking for gets declaration... " >&6; }
18850 if ${glibcxx_cv_gets+:} false; then :
18851 $as_echo_n "(cached) " >&6
18852 else
18854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18855 /* end confdefs.h. */
18856 #include <stdio.h>
18857 namespace test
18859 using ::gets;
18862 _ACEOF
18863 if ac_fn_cxx_try_compile "$LINENO"; then :
18864 glibcxx_cv_gets=yes
18865 else
18866 glibcxx_cv_gets=no
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18872 $as_echo "$glibcxx_cv_gets" >&6; }
18874 if test $glibcxx_cv_gets = yes; then
18876 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18880 CXXFLAGS="$ac_save_CXXFLAGS"
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18891 ac_ext=cpp
18892 ac_cpp='$CXXCPP $CPPFLAGS'
18893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18897 ac_save_CXXFLAGS="$CXXFLAGS"
18898 CXXFLAGS="$CXXFLAGS -std=c++11"
18900 case "$host" in
18901 *-*-solaris2.*)
18902 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18903 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18905 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18906 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #include <math.h>
18913 #undef isfinite
18914 namespace std {
18915 inline bool isfinite(float __x)
18916 { return __builtin_isfinite(__x); }
18919 _ACEOF
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 glibcxx_cv_math11_fp_overload=no
18922 else
18923 glibcxx_cv_math11_fp_overload=yes
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18929 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18931 # autoheader cannot handle indented templates.
18934 if test $glibcxx_cv_math11_fp_overload = yes; then
18935 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18939 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18940 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18942 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18943 if ${glibcxx_cv_math11_int_overload+:} false; then :
18944 $as_echo_n "(cached) " >&6
18945 else
18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18948 /* end confdefs.h. */
18949 #include <math.h>
18950 namespace std {
18951 template<typename _Tp>
18952 struct __is_integer;
18953 template<>
18954 struct __is_integer<int>
18956 enum { __value = 1 };
18959 namespace __gnu_cxx {
18960 template<bool, typename>
18961 struct __enable_if;
18962 template<typename _Tp>
18963 struct __enable_if<true, _Tp>
18964 { typedef _Tp __type; };
18966 namespace std {
18967 template<typename _Tp>
18968 constexpr typename __gnu_cxx::__enable_if
18969 <__is_integer<_Tp>::__value, double>::__type
18970 log2(_Tp __x)
18971 { return __builtin_log2(__x); }
18974 main (void)
18976 int i = 1000;
18977 return std::log2(i);
18980 _ACEOF
18981 if ac_fn_cxx_try_compile "$LINENO"; then :
18982 glibcxx_cv_math11_int_overload=no
18983 else
18984 glibcxx_cv_math11_int_overload=yes
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18990 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18992 # autoheader cannot handle indented templates.
18995 if test $glibcxx_cv_math11_int_overload = yes; then
18996 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19001 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19002 # functions (instead of or as well as the C99 generic macros) then we
19003 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19004 # and must use the ones from <math.h> instead.
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19006 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19007 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19008 $as_echo_n "(cached) " >&6
19009 else
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19014 #include <math.h>
19015 #undef isinf
19016 namespace std {
19017 using ::isinf;
19018 bool isinf(float);
19019 bool isinf(long double);
19021 using std::isinf;
19022 bool b = isinf(0.0);
19024 _ACEOF
19025 if ac_fn_cxx_try_compile "$LINENO"; then :
19026 glibcxx_cv_obsolete_isinf=yes
19027 else
19028 glibcxx_cv_obsolete_isinf=no
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19034 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19035 if test $glibcxx_cv_obsolete_isinf = yes; then
19037 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19042 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19043 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19044 $as_echo_n "(cached) " >&6
19045 else
19047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19048 /* end confdefs.h. */
19049 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19050 #include <math.h>
19051 #undef isnan
19052 namespace std {
19053 using ::isnan;
19054 bool isnan(float);
19055 bool isnan(long double);
19057 using std::isnan;
19058 bool b = isnan(0.0);
19060 _ACEOF
19061 if ac_fn_cxx_try_compile "$LINENO"; then :
19062 glibcxx_cv_obsolete_isnan=yes
19063 else
19064 glibcxx_cv_obsolete_isnan=no
19067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19070 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19071 if test $glibcxx_cv_obsolete_isnan = yes; then
19073 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19077 esac
19079 CXXFLAGS="$ac_save_CXXFLAGS"
19080 ac_ext=c
19081 ac_cpp='$CPP $CPPFLAGS'
19082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19089 # Test uchar.h.
19090 for ac_header in uchar.h
19091 do :
19092 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19093 if test "x$ac_cv_header_uchar_h" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_UCHAR_H 1
19096 _ACEOF
19097 ac_has_uchar_h=yes
19098 else
19099 ac_has_uchar_h=no
19102 done
19106 ac_ext=cpp
19107 ac_cpp='$CXXCPP $CPPFLAGS'
19108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19112 ac_save_CXXFLAGS="$CXXFLAGS"
19113 CXXFLAGS="$CXXFLAGS -std=c++11"
19115 if test x"$ac_has_uchar_h" = x"yes"; then
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19117 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #include <uchar.h>
19121 #ifdef __STDC_UTF_16__
19122 long i = __STDC_UTF_16__;
19123 #endif
19124 #ifdef __STDC_UTF_32__
19125 long j = __STDC_UTF_32__;
19126 #endif
19127 namespace test
19129 using ::c16rtomb;
19130 using ::c32rtomb;
19131 using ::mbrtoc16;
19132 using ::mbrtoc32;
19136 main ()
19140 return 0;
19142 _ACEOF
19143 if ac_fn_cxx_try_compile "$LINENO"; then :
19144 ac_c11_uchar_cxx11=yes
19145 else
19146 ac_c11_uchar_cxx11=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19150 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19151 else
19152 ac_c11_uchar_cxx11=no
19154 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19156 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19160 CXXFLAGS="$CXXFLAGS -fchar8_t"
19161 if test x"$ac_has_uchar_h" = x"yes"; then
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19163 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19166 #include <uchar.h>
19167 namespace test
19169 using ::c8rtomb;
19170 using ::mbrtoc8;
19174 main ()
19178 return 0;
19180 _ACEOF
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19183 else
19184 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19187 else
19188 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19191 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19192 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19194 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19198 CXXFLAGS="$CXXFLAGS -std=c++20"
19199 if test x"$ac_has_uchar_h" = x"yes"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19201 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19203 /* end confdefs.h. */
19204 #include <uchar.h>
19205 namespace test
19207 using ::c8rtomb;
19208 using ::mbrtoc8;
19212 main ()
19216 return 0;
19218 _ACEOF
19219 if ac_fn_cxx_try_compile "$LINENO"; then :
19220 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19221 else
19222 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 else
19226 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19229 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19230 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19232 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19236 CXXFLAGS="$ac_save_CXXFLAGS"
19237 ac_ext=c
19238 ac_cpp='$CPP $CPPFLAGS'
19239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19245 # For LFS support.
19248 ac_ext=cpp
19249 ac_cpp='$CXXCPP $CPPFLAGS'
19250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19254 ac_save_CXXFLAGS="$CXXFLAGS"
19255 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19257 $as_echo_n "checking for LFS support... " >&6; }
19258 if ${glibcxx_cv_LFS+:} false; then :
19259 $as_echo_n "(cached) " >&6
19260 else
19262 if test x$gcc_no_link = xyes; then
19263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19264 /* end confdefs.h. */
19265 #include <unistd.h>
19266 #include <stdio.h>
19267 #include <sys/stat.h>
19270 main ()
19272 FILE* fp;
19273 fopen64("t", "w");
19274 fseeko64(fp, 0, SEEK_CUR);
19275 ftello64(fp);
19276 lseek64(1, 0, SEEK_CUR);
19277 struct stat64 buf;
19278 fstat64(1, &buf);
19280 return 0;
19282 _ACEOF
19283 if ac_fn_cxx_try_compile "$LINENO"; then :
19284 glibcxx_cv_LFS=yes
19285 else
19286 glibcxx_cv_LFS=no
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 else
19290 if test x$gcc_no_link = xyes; then
19291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <unistd.h>
19296 #include <stdio.h>
19297 #include <sys/stat.h>
19300 main ()
19302 FILE* fp;
19303 fopen64("t", "w");
19304 fseeko64(fp, 0, SEEK_CUR);
19305 ftello64(fp);
19306 lseek64(1, 0, SEEK_CUR);
19307 struct stat64 buf;
19308 fstat64(1, &buf);
19310 return 0;
19312 _ACEOF
19313 if ac_fn_cxx_try_link "$LINENO"; then :
19314 glibcxx_cv_LFS=yes
19315 else
19316 glibcxx_cv_LFS=no
19318 rm -f core conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19324 $as_echo "$glibcxx_cv_LFS" >&6; }
19325 if test $glibcxx_cv_LFS = yes; then
19327 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19330 CXXFLAGS="$ac_save_CXXFLAGS"
19331 ac_ext=c
19332 ac_cpp='$CPP $CPPFLAGS'
19333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19339 # For showmanyc_helper().
19340 for ac_header in sys/ioctl.h sys/filio.h
19341 do :
19342 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19344 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19347 _ACEOF
19351 done
19356 ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19362 ac_save_CXXFLAGS="$CXXFLAGS"
19363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19366 $as_echo_n "checking for poll... " >&6; }
19367 if ${glibcxx_cv_POLL+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19371 if test x$gcc_no_link = xyes; then
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374 #include <poll.h>
19376 main ()
19378 struct pollfd pfd[1];
19379 pfd[0].events = POLLIN;
19380 poll(pfd, 1, 0);
19382 return 0;
19384 _ACEOF
19385 if ac_fn_cxx_try_compile "$LINENO"; then :
19386 glibcxx_cv_POLL=yes
19387 else
19388 glibcxx_cv_POLL=no
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19391 else
19392 if test x$gcc_no_link = xyes; then
19393 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19396 /* end confdefs.h. */
19397 #include <poll.h>
19399 main ()
19401 struct pollfd pfd[1];
19402 pfd[0].events = POLLIN;
19403 poll(pfd, 1, 0);
19405 return 0;
19407 _ACEOF
19408 if ac_fn_cxx_try_link "$LINENO"; then :
19409 glibcxx_cv_POLL=yes
19410 else
19411 glibcxx_cv_POLL=no
19413 rm -f core conftest.err conftest.$ac_objext \
19414 conftest$ac_exeext conftest.$ac_ext
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19419 $as_echo "$glibcxx_cv_POLL" >&6; }
19420 if test $glibcxx_cv_POLL = yes; then
19422 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19426 CXXFLAGS="$ac_save_CXXFLAGS"
19427 ac_ext=c
19428 ac_cpp='$CPP $CPPFLAGS'
19429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19437 ac_ext=cpp
19438 ac_cpp='$CXXCPP $CPPFLAGS'
19439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19443 ac_save_CXXFLAGS="$CXXFLAGS"
19444 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19447 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19448 if ${glibcxx_cv_S_ISREG+:} false; then :
19449 $as_echo_n "(cached) " >&6
19450 else
19452 if test x$gcc_no_link = xyes; then
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #include <sys/stat.h>
19457 main ()
19459 struct stat buffer;
19460 fstat(0, &buffer);
19461 S_ISREG(buffer.st_mode);
19463 return 0;
19465 _ACEOF
19466 if ac_fn_cxx_try_compile "$LINENO"; then :
19467 glibcxx_cv_S_ISREG=yes
19468 else
19469 glibcxx_cv_S_ISREG=no
19471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19472 else
19473 if test x$gcc_no_link = xyes; then
19474 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19478 #include <sys/stat.h>
19480 main ()
19482 struct stat buffer;
19483 fstat(0, &buffer);
19484 S_ISREG(buffer.st_mode);
19486 return 0;
19488 _ACEOF
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 glibcxx_cv_S_ISREG=yes
19491 else
19492 glibcxx_cv_S_ISREG=no
19494 rm -f core conftest.err conftest.$ac_objext \
19495 conftest$ac_exeext conftest.$ac_ext
19500 if ${glibcxx_cv_S_IFREG+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19504 if test x$gcc_no_link = xyes; then
19505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506 /* end confdefs.h. */
19507 #include <sys/stat.h>
19509 main ()
19511 struct stat buffer;
19512 fstat(0, &buffer);
19513 S_IFREG & buffer.st_mode;
19515 return 0;
19517 _ACEOF
19518 if ac_fn_cxx_try_compile "$LINENO"; then :
19519 glibcxx_cv_S_IFREG=yes
19520 else
19521 glibcxx_cv_S_IFREG=no
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 else
19525 if test x$gcc_no_link = xyes; then
19526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19530 #include <sys/stat.h>
19532 main ()
19534 struct stat buffer;
19535 fstat(0, &buffer);
19536 S_IFREG & buffer.st_mode;
19538 return 0;
19540 _ACEOF
19541 if ac_fn_cxx_try_link "$LINENO"; then :
19542 glibcxx_cv_S_IFREG=yes
19543 else
19544 glibcxx_cv_S_IFREG=no
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19552 res=no
19553 if test $glibcxx_cv_S_ISREG = yes; then
19555 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19557 res=S_ISREG
19558 elif test $glibcxx_cv_S_IFREG = yes; then
19560 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19562 res=S_IFREG
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19565 $as_echo "$res" >&6; }
19567 CXXFLAGS="$ac_save_CXXFLAGS"
19568 ac_ext=c
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19576 # For xsputn_2().
19577 for ac_header in sys/uio.h
19578 do :
19579 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19580 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19581 cat >>confdefs.h <<_ACEOF
19582 #define HAVE_SYS_UIO_H 1
19583 _ACEOF
19587 done
19592 ac_ext=cpp
19593 ac_cpp='$CXXCPP $CPPFLAGS'
19594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19598 ac_save_CXXFLAGS="$CXXFLAGS"
19599 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19602 $as_echo_n "checking for writev... " >&6; }
19603 if ${glibcxx_cv_WRITEV+:} false; then :
19604 $as_echo_n "(cached) " >&6
19605 else
19607 if test x$gcc_no_link = xyes; then
19608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19609 /* end confdefs.h. */
19610 #include <sys/uio.h>
19612 main ()
19614 struct iovec iov[2];
19615 writev(0, iov, 0);
19617 return 0;
19619 _ACEOF
19620 if ac_fn_cxx_try_compile "$LINENO"; then :
19621 glibcxx_cv_WRITEV=yes
19622 else
19623 glibcxx_cv_WRITEV=no
19625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19626 else
19627 if test x$gcc_no_link = xyes; then
19628 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19631 /* end confdefs.h. */
19632 #include <sys/uio.h>
19634 main ()
19636 struct iovec iov[2];
19637 writev(0, iov, 0);
19639 return 0;
19641 _ACEOF
19642 if ac_fn_cxx_try_link "$LINENO"; then :
19643 glibcxx_cv_WRITEV=yes
19644 else
19645 glibcxx_cv_WRITEV=no
19647 rm -f core conftest.err conftest.$ac_objext \
19648 conftest$ac_exeext conftest.$ac_ext
19652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19653 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19654 if test $glibcxx_cv_WRITEV = yes; then
19656 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19660 CXXFLAGS="$ac_save_CXXFLAGS"
19661 ac_ext=c
19662 ac_cpp='$CPP $CPPFLAGS'
19663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19669 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19670 # so that the check is done with the C compiler (not C++).
19671 # Checking with C++ can break a canadian cross build if either
19672 # file does not exist in C but does in C++.
19673 for ac_header in fenv.h complex.h
19674 do :
19675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19676 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19678 cat >>confdefs.h <<_ACEOF
19679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19680 _ACEOF
19684 done
19687 # For C99 support to TR1.
19691 ac_ext=cpp
19692 ac_cpp='$CXXCPP $CPPFLAGS'
19693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19698 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19699 # undefined and fake C99 facilities may be spuriously enabled.
19700 ac_save_CXXFLAGS="$CXXFLAGS"
19701 CXXFLAGS="$CXXFLAGS -std=c++98"
19703 # Check for the existence of <complex.h> complex math functions used
19704 # by tr1/complex.
19705 for ac_header in complex.h
19706 do :
19707 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19708 if test "x$ac_cv_header_complex_h" = xyes; then :
19709 cat >>confdefs.h <<_ACEOF
19710 #define HAVE_COMPLEX_H 1
19711 _ACEOF
19712 ac_has_complex_h=yes
19713 else
19714 ac_has_complex_h=no
19717 done
19719 ac_c99_complex_tr1=no;
19720 if test x"$ac_has_complex_h" = x"yes"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19722 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 #include <complex.h>
19727 main ()
19729 typedef __complex__ float float_type; float_type tmpf;
19730 cacosf(tmpf);
19731 casinf(tmpf);
19732 catanf(tmpf);
19733 cacoshf(tmpf);
19734 casinhf(tmpf);
19735 catanhf(tmpf);
19736 typedef __complex__ double double_type; double_type tmpd;
19737 cacos(tmpd);
19738 casin(tmpd);
19739 catan(tmpd);
19740 cacosh(tmpd);
19741 casinh(tmpd);
19742 catanh(tmpd);
19743 typedef __complex__ long double ld_type; ld_type tmpld;
19744 cacosl(tmpld);
19745 casinl(tmpld);
19746 catanl(tmpld);
19747 cacoshl(tmpld);
19748 casinhl(tmpld);
19749 catanhl(tmpld);
19752 return 0;
19754 _ACEOF
19755 if ac_fn_cxx_try_compile "$LINENO"; then :
19756 ac_c99_complex_tr1=yes
19757 else
19758 ac_c99_complex_tr1=no
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19763 $as_echo "$ac_c99_complex_tr1" >&6; }
19764 if test x"$ac_c99_complex_tr1" = x"yes"; then
19766 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19770 # Check for the existence of <ctype.h> functions.
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19772 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19773 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <ctype.h>
19781 main ()
19783 int ch;
19784 int ret;
19785 ret = isblank(ch);
19788 return 0;
19790 _ACEOF
19791 if ac_fn_cxx_try_compile "$LINENO"; then :
19792 glibcxx_cv_c99_ctype_tr1=yes
19793 else
19794 glibcxx_cv_c99_ctype_tr1=no
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19800 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19801 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19803 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19807 # Check for the existence of <fenv.h> functions.
19808 for ac_header in fenv.h
19809 do :
19810 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19811 if test "x$ac_cv_header_fenv_h" = xyes; then :
19812 cat >>confdefs.h <<_ACEOF
19813 #define HAVE_FENV_H 1
19814 _ACEOF
19815 ac_has_fenv_h=yes
19816 else
19817 ac_has_fenv_h=no
19820 done
19822 ac_c99_fenv_tr1=no;
19823 if test x"$ac_has_fenv_h" = x"yes"; then
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19825 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19828 #include <fenv.h>
19830 main ()
19832 int except, mode;
19833 fexcept_t* pflag;
19834 fenv_t* penv;
19835 int ret;
19836 ret = feclearexcept(except);
19837 ret = fegetexceptflag(pflag, except);
19838 ret = feraiseexcept(except);
19839 ret = fesetexceptflag(pflag, except);
19840 ret = fetestexcept(except);
19841 ret = fegetround();
19842 ret = fesetround(mode);
19843 ret = fegetenv(penv);
19844 ret = feholdexcept(penv);
19845 ret = fesetenv(penv);
19846 ret = feupdateenv(penv);
19849 return 0;
19851 _ACEOF
19852 if ac_fn_cxx_try_compile "$LINENO"; then :
19853 ac_c99_fenv_tr1=yes
19854 else
19855 ac_c99_fenv_tr1=no
19857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19859 $as_echo "$ac_c99_fenv_tr1" >&6; }
19861 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19863 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19867 # Check for the existence of <stdint.h> types.
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19869 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19870 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19875 /* end confdefs.h. */
19876 #define __STDC_LIMIT_MACROS
19877 #define __STDC_CONSTANT_MACROS
19878 #include <stdint.h>
19880 main ()
19882 typedef int8_t my_int8_t;
19883 my_int8_t i8 = INT8_MIN;
19884 i8 = INT8_MAX;
19885 typedef int16_t my_int16_t;
19886 my_int16_t i16 = INT16_MIN;
19887 i16 = INT16_MAX;
19888 typedef int32_t my_int32_t;
19889 my_int32_t i32 = INT32_MIN;
19890 i32 = INT32_MAX;
19891 typedef int64_t my_int64_t;
19892 my_int64_t i64 = INT64_MIN;
19893 i64 = INT64_MAX;
19894 typedef int_fast8_t my_int_fast8_t;
19895 my_int_fast8_t if8 = INT_FAST8_MIN;
19896 if8 = INT_FAST8_MAX;
19897 typedef int_fast16_t my_int_fast16_t;
19898 my_int_fast16_t if16 = INT_FAST16_MIN;
19899 if16 = INT_FAST16_MAX;
19900 typedef int_fast32_t my_int_fast32_t;
19901 my_int_fast32_t if32 = INT_FAST32_MIN;
19902 if32 = INT_FAST32_MAX;
19903 typedef int_fast64_t my_int_fast64_t;
19904 my_int_fast64_t if64 = INT_FAST64_MIN;
19905 if64 = INT_FAST64_MAX;
19906 typedef int_least8_t my_int_least8_t;
19907 my_int_least8_t il8 = INT_LEAST8_MIN;
19908 il8 = INT_LEAST8_MAX;
19909 typedef int_least16_t my_int_least16_t;
19910 my_int_least16_t il16 = INT_LEAST16_MIN;
19911 il16 = INT_LEAST16_MAX;
19912 typedef int_least32_t my_int_least32_t;
19913 my_int_least32_t il32 = INT_LEAST32_MIN;
19914 il32 = INT_LEAST32_MAX;
19915 typedef int_least64_t my_int_least64_t;
19916 my_int_least64_t il64 = INT_LEAST64_MIN;
19917 il64 = INT_LEAST64_MAX;
19918 typedef intmax_t my_intmax_t;
19919 my_intmax_t im = INTMAX_MAX;
19920 im = INTMAX_MIN;
19921 typedef intptr_t my_intptr_t;
19922 my_intptr_t ip = INTPTR_MAX;
19923 ip = INTPTR_MIN;
19924 typedef uint8_t my_uint8_t;
19925 my_uint8_t ui8 = UINT8_MAX;
19926 ui8 = UINT8_MAX;
19927 typedef uint16_t my_uint16_t;
19928 my_uint16_t ui16 = UINT16_MAX;
19929 ui16 = UINT16_MAX;
19930 typedef uint32_t my_uint32_t;
19931 my_uint32_t ui32 = UINT32_MAX;
19932 ui32 = UINT32_MAX;
19933 typedef uint64_t my_uint64_t;
19934 my_uint64_t ui64 = UINT64_MAX;
19935 ui64 = UINT64_MAX;
19936 typedef uint_fast8_t my_uint_fast8_t;
19937 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19938 uif8 = UINT_FAST8_MAX;
19939 typedef uint_fast16_t my_uint_fast16_t;
19940 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19941 uif16 = UINT_FAST16_MAX;
19942 typedef uint_fast32_t my_uint_fast32_t;
19943 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19944 uif32 = UINT_FAST32_MAX;
19945 typedef uint_fast64_t my_uint_fast64_t;
19946 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19947 uif64 = UINT_FAST64_MAX;
19948 typedef uint_least8_t my_uint_least8_t;
19949 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19950 uil8 = UINT_LEAST8_MAX;
19951 typedef uint_least16_t my_uint_least16_t;
19952 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19953 uil16 = UINT_LEAST16_MAX;
19954 typedef uint_least32_t my_uint_least32_t;
19955 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19956 uil32 = UINT_LEAST32_MAX;
19957 typedef uint_least64_t my_uint_least64_t;
19958 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19959 uil64 = UINT_LEAST64_MAX;
19960 typedef uintmax_t my_uintmax_t;
19961 my_uintmax_t uim = UINTMAX_MAX;
19962 uim = UINTMAX_MAX;
19963 typedef uintptr_t my_uintptr_t;
19964 my_uintptr_t uip = UINTPTR_MAX;
19965 uip = UINTPTR_MAX;
19968 return 0;
19970 _ACEOF
19971 if ac_fn_cxx_try_compile "$LINENO"; then :
19972 glibcxx_cv_c99_stdint_tr1=yes
19973 else
19974 glibcxx_cv_c99_stdint_tr1=no
19976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19980 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19981 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19983 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19987 # Check for the existence of <math.h> functions.
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19989 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19990 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19991 $as_echo_n "(cached) " >&6
19992 else
19994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19995 /* end confdefs.h. */
19996 #include <math.h>
19998 main ()
20000 typedef double_t my_double_t;
20001 typedef float_t my_float_t;
20002 acosh(0.0);
20003 acoshf(0.0f);
20004 acoshl(0.0l);
20005 asinh(0.0);
20006 asinhf(0.0f);
20007 asinhl(0.0l);
20008 atanh(0.0);
20009 atanhf(0.0f);
20010 atanhl(0.0l);
20011 cbrt(0.0);
20012 cbrtf(0.0f);
20013 cbrtl(0.0l);
20014 copysign(0.0, 0.0);
20015 copysignf(0.0f, 0.0f);
20016 copysignl(0.0l, 0.0l);
20017 erf(0.0);
20018 erff(0.0f);
20019 erfl(0.0l);
20020 erfc(0.0);
20021 erfcf(0.0f);
20022 erfcl(0.0l);
20023 exp2(0.0);
20024 exp2f(0.0f);
20025 exp2l(0.0l);
20026 expm1(0.0);
20027 expm1f(0.0f);
20028 expm1l(0.0l);
20029 fdim(0.0, 0.0);
20030 fdimf(0.0f, 0.0f);
20031 fdiml(0.0l, 0.0l);
20032 fma(0.0, 0.0, 0.0);
20033 fmaf(0.0f, 0.0f, 0.0f);
20034 fmal(0.0l, 0.0l, 0.0l);
20035 fmax(0.0, 0.0);
20036 fmaxf(0.0f, 0.0f);
20037 fmaxl(0.0l, 0.0l);
20038 fmin(0.0, 0.0);
20039 fminf(0.0f, 0.0f);
20040 fminl(0.0l, 0.0l);
20041 hypot(0.0, 0.0);
20042 hypotf(0.0f, 0.0f);
20043 hypotl(0.0l, 0.0l);
20044 ilogb(0.0);
20045 ilogbf(0.0f);
20046 ilogbl(0.0l);
20047 lgamma(0.0);
20048 lgammaf(0.0f);
20049 lgammal(0.0l);
20050 #ifndef __APPLE__ /* see below */
20051 llrint(0.0);
20052 llrintf(0.0f);
20053 llrintl(0.0l);
20054 llround(0.0);
20055 llroundf(0.0f);
20056 llroundl(0.0l);
20057 #endif
20058 log1p(0.0);
20059 log1pf(0.0f);
20060 log1pl(0.0l);
20061 log2(0.0);
20062 log2f(0.0f);
20063 log2l(0.0l);
20064 logb(0.0);
20065 logbf(0.0f);
20066 logbl(0.0l);
20067 lrint(0.0);
20068 lrintf(0.0f);
20069 lrintl(0.0l);
20070 lround(0.0);
20071 lroundf(0.0f);
20072 lroundl(0.0l);
20073 nan(0);
20074 nanf(0);
20075 nanl(0);
20076 nearbyint(0.0);
20077 nearbyintf(0.0f);
20078 nearbyintl(0.0l);
20079 nextafter(0.0, 0.0);
20080 nextafterf(0.0f, 0.0f);
20081 nextafterl(0.0l, 0.0l);
20082 nexttoward(0.0, 0.0);
20083 nexttowardf(0.0f, 0.0f);
20084 nexttowardl(0.0l, 0.0l);
20085 remainder(0.0, 0.0);
20086 remainderf(0.0f, 0.0f);
20087 remainderl(0.0l, 0.0l);
20088 remquo(0.0, 0.0, 0);
20089 remquof(0.0f, 0.0f, 0);
20090 remquol(0.0l, 0.0l, 0);
20091 rint(0.0);
20092 rintf(0.0f);
20093 rintl(0.0l);
20094 round(0.0);
20095 roundf(0.0f);
20096 roundl(0.0l);
20097 scalbln(0.0, 0l);
20098 scalblnf(0.0f, 0l);
20099 scalblnl(0.0l, 0l);
20100 scalbn(0.0, 0);
20101 scalbnf(0.0f, 0);
20102 scalbnl(0.0l, 0);
20103 tgamma(0.0);
20104 tgammaf(0.0f);
20105 tgammal(0.0l);
20106 trunc(0.0);
20107 truncf(0.0f);
20108 truncl(0.0l);
20111 return 0;
20113 _ACEOF
20114 if ac_fn_cxx_try_compile "$LINENO"; then :
20115 glibcxx_cv_c99_math_tr1=yes
20116 else
20117 glibcxx_cv_c99_math_tr1=no
20119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20123 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20124 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20126 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20129 case "${target_os}" in
20130 darwin*)
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20132 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20133 if ${glibcxx_cv_c99_math_llround+:} false; then :
20134 $as_echo_n "(cached) " >&6
20135 else
20137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20138 /* end confdefs.h. */
20139 #include <math.h>
20141 main ()
20143 llrint(0.0);
20144 llrintf(0.0f);
20145 llrintl(0.0l);
20146 llround(0.0);
20147 llroundf(0.0f);
20148 llroundl(0.0l);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 glibcxx_cv_c99_math_llround=yes
20156 else
20157 glibcxx_cv_c99_math_llround=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20163 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20165 esac
20166 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20168 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20173 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20174 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20175 ac_c99_inttypes_tr1=no;
20176 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20178 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <inttypes.h>
20183 main ()
20185 intmax_t i, numer, denom, base;
20186 const char* s;
20187 char** endptr;
20188 intmax_t ret = imaxabs(i);
20189 imaxdiv_t dret = imaxdiv(numer, denom);
20190 ret = strtoimax(s, endptr, base);
20191 uintmax_t uret = strtoumax(s, endptr, base);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_cxx_try_compile "$LINENO"; then :
20198 ac_c99_inttypes_tr1=yes
20199 else
20200 ac_c99_inttypes_tr1=no
20202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20204 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20206 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20208 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20212 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20213 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20214 ac_c99_inttypes_wchar_t_tr1=no;
20215 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20217 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20219 /* end confdefs.h. */
20220 #include <inttypes.h>
20222 main ()
20224 intmax_t base;
20225 const wchar_t* s;
20226 wchar_t** endptr;
20227 intmax_t ret = wcstoimax(s, endptr, base);
20228 uintmax_t uret = wcstoumax(s, endptr, base);
20231 return 0;
20233 _ACEOF
20234 if ac_fn_cxx_try_compile "$LINENO"; then :
20235 ac_c99_inttypes_wchar_t_tr1=yes
20236 else
20237 ac_c99_inttypes_wchar_t_tr1=no
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20241 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20243 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20245 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20249 # Check for the existence of the <stdbool.h> header.
20250 for ac_header in stdbool.h
20251 do :
20252 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20253 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20254 cat >>confdefs.h <<_ACEOF
20255 #define HAVE_STDBOOL_H 1
20256 _ACEOF
20260 done
20263 # Check for the existence of the <stdalign.h> header.
20264 for ac_header in stdalign.h
20265 do :
20266 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_STDALIGN_H 1
20270 _ACEOF
20274 done
20277 CXXFLAGS="$ac_save_CXXFLAGS"
20278 ac_ext=c
20279 ac_cpp='$CPP $CPPFLAGS'
20280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20286 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20289 if test "$is_hosted" = yes; then
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20291 $as_echo_n "checking for the value of EOF... " >&6; }
20292 if ${glibcxx_cv_stdio_eof+:} false; then :
20293 $as_echo_n "(cached) " >&6
20294 else
20296 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20298 else
20299 as_fn_error $? "computing EOF failed" "$LINENO" 5
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20305 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20307 cat >>confdefs.h <<_ACEOF
20308 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20309 _ACEOF
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20313 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20314 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20315 $as_echo_n "(cached) " >&6
20316 else
20318 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20320 else
20321 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20327 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20329 cat >>confdefs.h <<_ACEOF
20330 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20331 _ACEOF
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20335 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20336 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20337 $as_echo_n "(cached) " >&6
20338 else
20340 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20342 else
20343 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20349 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20351 cat >>confdefs.h <<_ACEOF
20352 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20353 _ACEOF
20358 # For gettimeofday support.
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20362 $as_echo_n "checking for gettimeofday... " >&6; }
20365 ac_ext=cpp
20366 ac_cpp='$CXXCPP $CPPFLAGS'
20367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20371 ac_save_CXXFLAGS="$CXXFLAGS"
20372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20374 ac_has_gettimeofday=no;
20375 for ac_header in sys/time.h
20376 do :
20377 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20378 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20379 cat >>confdefs.h <<_ACEOF
20380 #define HAVE_SYS_TIME_H 1
20381 _ACEOF
20382 ac_has_sys_time_h=yes
20383 else
20384 ac_has_sys_time_h=no
20387 done
20389 if test x"$ac_has_sys_time_h" = x"yes"; then
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20391 $as_echo_n "checking for gettimeofday... " >&6; }
20392 if test x$gcc_no_link = xyes; then
20393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20394 /* end confdefs.h. */
20395 #include <sys/time.h>
20397 main ()
20399 timeval tv; gettimeofday(&tv, 0);
20401 return 0;
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 ac_has_gettimeofday=yes
20406 else
20407 ac_has_gettimeofday=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 else
20411 if test x$gcc_no_link = xyes; then
20412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20415 /* end confdefs.h. */
20416 #include <sys/time.h>
20418 main ()
20420 timeval tv; gettimeofday(&tv, 0);
20422 return 0;
20424 _ACEOF
20425 if ac_fn_cxx_try_link "$LINENO"; then :
20426 ac_has_gettimeofday=yes
20427 else
20428 ac_has_gettimeofday=no
20430 rm -f core conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20435 $as_echo "$ac_has_gettimeofday" >&6; }
20438 if test x"$ac_has_gettimeofday" = x"yes"; then
20440 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20444 CXXFLAGS="$ac_save_CXXFLAGS"
20445 ac_ext=c
20446 ac_cpp='$CPP $CPPFLAGS'
20447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20453 # For clock_gettime, nanosleep and sched_yield support.
20456 # Check whether --enable-libstdcxx-time was given.
20457 if test "${enable_libstdcxx_time+set}" = set; then :
20458 enableval=$enable_libstdcxx_time;
20459 case "$enableval" in
20460 yes|no|rt) ;;
20461 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20462 esac
20464 else
20465 enable_libstdcxx_time=auto
20471 ac_ext=cpp
20472 ac_cpp='$CXXCPP $CPPFLAGS'
20473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20477 ac_save_CXXFLAGS="$CXXFLAGS"
20478 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20479 ac_save_LIBS="$LIBS"
20481 ac_has_clock_monotonic=no
20482 ac_has_clock_realtime=no
20483 ac_has_nanosleep=no
20484 ac_has_sched_yield=no
20486 if test x"$enable_libstdcxx_time" = x"auto"; then
20488 case "${target_os}" in
20489 cygwin*)
20490 ac_has_nanosleep=yes
20492 darwin*)
20493 ac_has_nanosleep=yes
20494 ac_has_sched_yield=yes
20496 # VxWorks has nanosleep as soon as the kernel is configured with
20497 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20498 vxworks*)
20499 ac_has_nanosleep=yes
20501 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20502 # Don't use link test for freestanding library, in case gcc_no_link=yes
20503 if test x"$is_hosted" = xyes; then
20504 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20506 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20507 if ${ac_cv_search_clock_gettime+:} false; then :
20508 $as_echo_n "(cached) " >&6
20509 else
20510 ac_func_search_save_LIBS=$LIBS
20511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20512 /* end confdefs.h. */
20514 /* Override any GCC internal prototype to avoid an error.
20515 Use char because int might match the return type of a GCC
20516 builtin and then its argument prototype would still apply. */
20517 #ifdef __cplusplus
20518 extern "C"
20519 #endif
20520 char clock_gettime ();
20522 main ()
20524 return clock_gettime ();
20526 return 0;
20528 _ACEOF
20529 for ac_lib in '' rt; do
20530 if test -z "$ac_lib"; then
20531 ac_res="none required"
20532 else
20533 ac_res=-l$ac_lib
20534 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20536 if test x$gcc_no_link = xyes; then
20537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20539 if ac_fn_cxx_try_link "$LINENO"; then :
20540 ac_cv_search_clock_gettime=$ac_res
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext
20544 if ${ac_cv_search_clock_gettime+:} false; then :
20545 break
20547 done
20548 if ${ac_cv_search_clock_gettime+:} false; then :
20550 else
20551 ac_cv_search_clock_gettime=no
20553 rm conftest.$ac_ext
20554 LIBS=$ac_func_search_save_LIBS
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20557 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20558 ac_res=$ac_cv_search_clock_gettime
20559 if test "$ac_res" != no; then :
20560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20564 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20565 ac_has_clock_monotonic=yes
20566 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 freebsd*|netbsd*|dragonfly*|rtems*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20576 ac_has_sched_yield=yes
20578 openbsd*)
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20583 solaris*)
20584 ac_has_clock_monotonic=yes
20585 ac_has_clock_realtime=yes
20586 ac_has_nanosleep=yes
20587 ac_has_sched_yield=yes
20589 uclinux*)
20590 ac_has_nanosleep=yes
20591 ac_has_sched_yield=yes
20592 esac
20594 elif test x"$enable_libstdcxx_time" != x"no"; then
20596 if test x"$enable_libstdcxx_time" = x"rt"; then
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20598 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20599 if ${ac_cv_search_clock_gettime+:} false; then :
20600 $as_echo_n "(cached) " >&6
20601 else
20602 ac_func_search_save_LIBS=$LIBS
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 /* Override any GCC internal prototype to avoid an error.
20607 Use char because int might match the return type of a GCC
20608 builtin and then its argument prototype would still apply. */
20609 #ifdef __cplusplus
20610 extern "C"
20611 #endif
20612 char clock_gettime ();
20614 main ()
20616 return clock_gettime ();
20618 return 0;
20620 _ACEOF
20621 for ac_lib in '' rt; do
20622 if test -z "$ac_lib"; then
20623 ac_res="none required"
20624 else
20625 ac_res=-l$ac_lib
20626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20631 if ac_fn_cxx_try_link "$LINENO"; then :
20632 ac_cv_search_clock_gettime=$ac_res
20634 rm -f core conftest.err conftest.$ac_objext \
20635 conftest$ac_exeext
20636 if ${ac_cv_search_clock_gettime+:} false; then :
20637 break
20639 done
20640 if ${ac_cv_search_clock_gettime+:} false; then :
20642 else
20643 ac_cv_search_clock_gettime=no
20645 rm conftest.$ac_ext
20646 LIBS=$ac_func_search_save_LIBS
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20649 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20650 ac_res=$ac_cv_search_clock_gettime
20651 if test "$ac_res" != no; then :
20652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20657 $as_echo_n "checking for library containing nanosleep... " >&6; }
20658 if ${ac_cv_search_nanosleep+:} false; then :
20659 $as_echo_n "(cached) " >&6
20660 else
20661 ac_func_search_save_LIBS=$LIBS
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20665 /* Override any GCC internal prototype to avoid an error.
20666 Use char because int might match the return type of a GCC
20667 builtin and then its argument prototype would still apply. */
20668 #ifdef __cplusplus
20669 extern "C"
20670 #endif
20671 char nanosleep ();
20673 main ()
20675 return nanosleep ();
20677 return 0;
20679 _ACEOF
20680 for ac_lib in '' rt; do
20681 if test -z "$ac_lib"; then
20682 ac_res="none required"
20683 else
20684 ac_res=-l$ac_lib
20685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20687 if test x$gcc_no_link = xyes; then
20688 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20690 if ac_fn_cxx_try_link "$LINENO"; then :
20691 ac_cv_search_nanosleep=$ac_res
20693 rm -f core conftest.err conftest.$ac_objext \
20694 conftest$ac_exeext
20695 if ${ac_cv_search_nanosleep+:} false; then :
20696 break
20698 done
20699 if ${ac_cv_search_nanosleep+:} false; then :
20701 else
20702 ac_cv_search_nanosleep=no
20704 rm conftest.$ac_ext
20705 LIBS=$ac_func_search_save_LIBS
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20708 $as_echo "$ac_cv_search_nanosleep" >&6; }
20709 ac_res=$ac_cv_search_nanosleep
20710 if test "$ac_res" != no; then :
20711 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20715 else
20716 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20717 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20721 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20722 if test "x$ac_cv_func_nanosleep" = xyes; then :
20728 case "$ac_cv_search_clock_gettime" in
20729 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20731 esac
20732 case "$ac_cv_search_nanosleep" in
20733 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20735 esac
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20738 $as_echo_n "checking for library containing sched_yield... " >&6; }
20739 if ${ac_cv_search_sched_yield+:} false; then :
20740 $as_echo_n "(cached) " >&6
20741 else
20742 ac_func_search_save_LIBS=$LIBS
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20746 /* Override any GCC internal prototype to avoid an error.
20747 Use char because int might match the return type of a GCC
20748 builtin and then its argument prototype would still apply. */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char sched_yield ();
20754 main ()
20756 return sched_yield ();
20758 return 0;
20760 _ACEOF
20761 for ac_lib in '' rt; do
20762 if test -z "$ac_lib"; then
20763 ac_res="none required"
20764 else
20765 ac_res=-l$ac_lib
20766 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20768 if test x$gcc_no_link = xyes; then
20769 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20771 if ac_fn_cxx_try_link "$LINENO"; then :
20772 ac_cv_search_sched_yield=$ac_res
20774 rm -f core conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext
20776 if ${ac_cv_search_sched_yield+:} false; then :
20777 break
20779 done
20780 if ${ac_cv_search_sched_yield+:} false; then :
20782 else
20783 ac_cv_search_sched_yield=no
20785 rm conftest.$ac_ext
20786 LIBS=$ac_func_search_save_LIBS
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20789 $as_echo "$ac_cv_search_sched_yield" >&6; }
20790 ac_res=$ac_cv_search_sched_yield
20791 if test "$ac_res" != no; then :
20792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20797 case "$ac_cv_search_sched_yield" in
20798 -lrt*)
20799 if test x"$enable_libstdcxx_time" = x"rt"; then
20800 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20801 ac_has_sched_yield=yes
20805 ac_has_sched_yield=yes
20807 esac
20809 for ac_header in unistd.h
20810 do :
20811 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20812 if test "x$ac_cv_header_unistd_h" = xyes; then :
20813 cat >>confdefs.h <<_ACEOF
20814 #define HAVE_UNISTD_H 1
20815 _ACEOF
20816 ac_has_unistd_h=yes
20817 else
20818 ac_has_unistd_h=no
20821 done
20824 if test x"$ac_has_unistd_h" = x"yes"; then
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20826 $as_echo_n "checking for monotonic clock... " >&6; }
20827 if test x$gcc_no_link = xyes; then
20828 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #include <unistd.h>
20833 #include <time.h>
20836 main ()
20838 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20839 timespec tp;
20840 #endif
20841 clock_gettime(CLOCK_MONOTONIC, &tp);
20844 return 0;
20846 _ACEOF
20847 if ac_fn_cxx_try_link "$LINENO"; then :
20848 ac_has_clock_monotonic=yes
20849 else
20850 ac_has_clock_monotonic=no
20852 rm -f core conftest.err conftest.$ac_objext \
20853 conftest$ac_exeext conftest.$ac_ext
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20856 $as_echo "$ac_has_clock_monotonic" >&6; }
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20859 $as_echo_n "checking for realtime clock... " >&6; }
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #include <unistd.h>
20866 #include <time.h>
20869 main ()
20871 #if _POSIX_TIMERS > 0
20872 timespec tp;
20873 #endif
20874 clock_gettime(CLOCK_REALTIME, &tp);
20877 return 0;
20879 _ACEOF
20880 if ac_fn_cxx_try_link "$LINENO"; then :
20881 ac_has_clock_realtime=yes
20882 else
20883 ac_has_clock_realtime=no
20885 rm -f core conftest.err conftest.$ac_objext \
20886 conftest$ac_exeext conftest.$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20889 $as_echo "$ac_has_clock_realtime" >&6; }
20891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20892 $as_echo_n "checking for nanosleep... " >&6; }
20893 if test x$gcc_no_link = xyes; then
20894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #include <unistd.h>
20899 #include <time.h>
20902 main ()
20904 #if _POSIX_TIMERS > 0
20905 timespec tp;
20906 #endif
20907 nanosleep(&tp, 0);
20910 return 0;
20912 _ACEOF
20913 if ac_fn_cxx_try_link "$LINENO"; then :
20914 ac_has_nanosleep=yes
20915 else
20916 ac_has_nanosleep=no
20918 rm -f core conftest.err conftest.$ac_objext \
20919 conftest$ac_exeext conftest.$ac_ext
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20922 $as_echo "$ac_has_nanosleep" >&6; }
20926 if test x"$ac_has_clock_monotonic" != x"yes"; then
20927 case ${target_os} in
20928 linux* | uclinux*)
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20930 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20932 /* end confdefs.h. */
20933 #include <unistd.h>
20934 #include <time.h>
20935 #include <sys/syscall.h>
20938 main ()
20940 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20941 timespec tp;
20942 #endif
20943 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20944 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20947 return 0;
20949 _ACEOF
20950 if ac_fn_cxx_try_compile "$LINENO"; then :
20951 ac_has_clock_gettime_syscall=yes
20952 else
20953 ac_has_clock_gettime_syscall=no
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20957 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20958 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20960 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20962 ac_has_clock_monotonic=yes
20963 ac_has_clock_realtime=yes
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20965 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20968 #include <time.h>
20969 #include <sys/syscall.h>
20972 main ()
20974 #ifdef SYS_clock_gettime64
20975 #if SYS_clock_gettime64 != SYS_clock_gettime
20976 // We need to use SYS_clock_gettime and libc appears to
20977 // also know about the SYS_clock_gettime64 syscall.
20978 // Check that userspace doesn't use time64 version of timespec.
20979 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20980 "struct timespec must be compatible with SYS_clock_gettime");
20981 #endif
20982 #endif
20985 return 0;
20987 _ACEOF
20988 if ac_fn_cxx_try_compile "$LINENO"; then :
20989 ac_timespec_matches_syscall=yes
20990 else
20991 ac_timespec_matches_syscall=no
20993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20995 $as_echo "$ac_timespec_matches_syscall" >&6; }
20996 if test x"$ac_timespec_matches_syscall" = no; then
20997 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20999 fi;;
21000 esac
21003 if test x"$ac_has_clock_monotonic" = x"yes"; then
21005 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21009 if test x"$ac_has_clock_realtime" = x"yes"; then
21011 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21015 if test x"$ac_has_sched_yield" = x"yes"; then
21017 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21021 if test x"$ac_has_nanosleep" = x"yes"; then
21023 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21025 else
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21027 $as_echo_n "checking for sleep... " >&6; }
21028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21030 #include <unistd.h>
21032 main ()
21034 sleep(1)
21036 return 0;
21038 _ACEOF
21039 if ac_fn_cxx_try_compile "$LINENO"; then :
21040 ac_has_sleep=yes
21041 else
21042 ac_has_sleep=no
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 if test x"$ac_has_sleep" = x"yes"; then
21047 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21051 $as_echo "$ac_has_sleep" >&6; }
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21053 $as_echo_n "checking for usleep... " >&6; }
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21056 #include <unistd.h>
21058 main ()
21060 sleep(1);
21061 usleep(100);
21063 return 0;
21065 _ACEOF
21066 if ac_fn_cxx_try_compile "$LINENO"; then :
21067 ac_has_usleep=yes
21068 else
21069 ac_has_usleep=no
21071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21072 if test x"$ac_has_usleep" = x"yes"; then
21074 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21078 $as_echo "$ac_has_usleep" >&6; }
21081 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21082 ac_no_sleep=yes
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21084 $as_echo_n "checking for Sleep... " >&6; }
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21087 #include <windows.h>
21089 main ()
21091 Sleep(1)
21093 return 0;
21095 _ACEOF
21096 if ac_fn_cxx_try_compile "$LINENO"; then :
21097 ac_has_win32_sleep=yes
21098 else
21099 ac_has_win32_sleep=no
21101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21102 if test x"$ac_has_win32_sleep" = x"yes"; then
21104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21106 ac_no_sleep=no
21108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21109 $as_echo "$ac_has_win32_sleep" >&6; }
21112 if test x"$ac_no_sleep" = x"yes"; then
21114 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21120 CXXFLAGS="$ac_save_CXXFLAGS"
21121 LIBS="$ac_save_LIBS"
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 # Check for tmpnam which is obsolescent in POSIX.1-2008
21132 ac_ext=cpp
21133 ac_cpp='$CXXCPP $CPPFLAGS'
21134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21138 ac_save_CXXFLAGS="$CXXFLAGS"
21139 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21141 $as_echo_n "checking for tmpnam... " >&6; }
21142 if ${glibcxx_cv_TMPNAM+:} false; then :
21143 $as_echo_n "(cached) " >&6
21144 else
21145 if test x$gcc_no_link = xyes; then
21146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21147 /* end confdefs.h. */
21148 #include <stdio.h>
21150 main ()
21152 char *tmp = tmpnam(NULL);
21154 return 0;
21156 _ACEOF
21157 if ac_fn_cxx_try_compile "$LINENO"; then :
21158 glibcxx_cv_TMPNAM=yes
21159 else
21160 glibcxx_cv_TMPNAM=no
21162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21163 else
21164 if test x$gcc_no_link = xyes; then
21165 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #include <stdio.h>
21171 main ()
21173 char *tmp = tmpnam(NULL);
21175 return 0;
21177 _ACEOF
21178 if ac_fn_cxx_try_link "$LINENO"; then :
21179 glibcxx_cv_TMPNAM=yes
21180 else
21181 glibcxx_cv_TMPNAM=no
21183 rm -f core conftest.err conftest.$ac_objext \
21184 conftest$ac_exeext conftest.$ac_ext
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21189 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21190 if test $glibcxx_cv_TMPNAM = yes; then
21192 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21195 CXXFLAGS="$ac_save_CXXFLAGS"
21196 ac_ext=c
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21204 # For pthread_cond_clockwait
21208 ac_ext=cpp
21209 ac_cpp='$CXXCPP $CPPFLAGS'
21210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21214 ac_save_CXXFLAGS="$CXXFLAGS"
21215 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21216 ac_save_LIBS="$LIBS"
21217 LIBS="$LIBS -lpthread"
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21220 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21221 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21225 if test x$gcc_no_link = xyes; then
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <pthread.h>
21230 main ()
21232 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21234 return 0;
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21239 else
21240 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 else
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <pthread.h>
21251 main ()
21253 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21255 return 0;
21257 _ACEOF
21258 if ac_fn_cxx_try_link "$LINENO"; then :
21259 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21260 else
21261 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21263 rm -f core conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21269 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21270 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21272 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21276 CXXFLAGS="$ac_save_CXXFLAGS"
21277 LIBS="$ac_save_LIBS"
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21286 # For pthread_mutex_clocklock
21290 ac_ext=cpp
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21296 ac_save_CXXFLAGS="$CXXFLAGS"
21297 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21298 ac_save_LIBS="$LIBS"
21299 LIBS="$LIBS -lpthread"
21301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21302 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21303 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21304 $as_echo_n "(cached) " >&6
21305 else
21307 if test x$gcc_no_link = xyes; then
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <pthread.h>
21312 main ()
21314 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21316 return 0;
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21321 else
21322 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 else
21326 if test x$gcc_no_link = xyes; then
21327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21330 /* end confdefs.h. */
21331 #include <pthread.h>
21333 main ()
21335 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21337 return 0;
21339 _ACEOF
21340 if ac_fn_cxx_try_link "$LINENO"; then :
21341 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21342 else
21343 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21345 rm -f core conftest.err conftest.$ac_objext \
21346 conftest$ac_exeext conftest.$ac_ext
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21351 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21352 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21354 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21358 CXXFLAGS="$ac_save_CXXFLAGS"
21359 LIBS="$ac_save_LIBS"
21360 ac_ext=c
21361 ac_cpp='$CPP $CPPFLAGS'
21362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21368 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21372 ac_ext=cpp
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 ac_save_CXXFLAGS="$CXXFLAGS"
21379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21380 ac_save_LIBS="$LIBS"
21381 LIBS="$LIBS -lpthread"
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21384 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21385 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21389 if test x$gcc_no_link = xyes; then
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391 /* end confdefs.h. */
21392 #include <pthread.h>
21394 main ()
21396 pthread_rwlock_t rwl; struct timespec ts;
21397 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21398 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21400 return 0;
21402 _ACEOF
21403 if ac_fn_cxx_try_compile "$LINENO"; then :
21404 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21405 else
21406 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21409 else
21410 if test x$gcc_no_link = xyes; then
21411 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h. */
21415 #include <pthread.h>
21417 main ()
21419 pthread_rwlock_t rwl; struct timespec ts;
21420 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21421 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_link "$LINENO"; then :
21427 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21428 else
21429 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21431 rm -f core conftest.err conftest.$ac_objext \
21432 conftest$ac_exeext conftest.$ac_ext
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21437 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21438 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21440 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21444 CXXFLAGS="$ac_save_CXXFLAGS"
21445 LIBS="$ac_save_LIBS"
21446 ac_ext=c
21447 ac_cpp='$CPP $CPPFLAGS'
21448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21455 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21456 if test "x$ac_cv_header_locale_h" = xyes; then :
21458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21459 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21460 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21461 $as_echo_n "(cached) " >&6
21462 else
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21465 #include <locale.h>
21467 main ()
21469 return LC_MESSAGES
21471 return 0;
21473 _ACEOF
21474 if ac_fn_c_try_compile "$LINENO"; then :
21475 ac_cv_val_LC_MESSAGES=yes
21476 else
21477 ac_cv_val_LC_MESSAGES=no
21479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21482 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21483 if test $ac_cv_val_LC_MESSAGES = yes; then
21485 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21494 # For hardware_concurrency
21495 for ac_header in sys/sysinfo.h
21496 do :
21497 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21498 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21499 cat >>confdefs.h <<_ACEOF
21500 #define HAVE_SYS_SYSINFO_H 1
21501 _ACEOF
21505 done
21510 ac_ext=cpp
21511 ac_cpp='$CXXCPP $CPPFLAGS'
21512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21516 ac_save_CXXFLAGS="$CXXFLAGS"
21517 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21520 $as_echo_n "checking for get_nprocs... " >&6; }
21521 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21525 if test x$gcc_no_link = xyes; then
21526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21527 /* end confdefs.h. */
21528 #include <sys/sysinfo.h>
21530 main ()
21532 int n = get_nprocs();
21534 return 0;
21536 _ACEOF
21537 if ac_fn_cxx_try_compile "$LINENO"; then :
21538 glibcxx_cv_GET_NPROCS=yes
21539 else
21540 glibcxx_cv_GET_NPROCS=no
21542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21543 else
21544 if test x$gcc_no_link = xyes; then
21545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21548 /* end confdefs.h. */
21549 #include <sys/sysinfo.h>
21551 main ()
21553 int n = get_nprocs();
21555 return 0;
21557 _ACEOF
21558 if ac_fn_cxx_try_link "$LINENO"; then :
21559 glibcxx_cv_GET_NPROCS=yes
21560 else
21561 glibcxx_cv_GET_NPROCS=no
21563 rm -f core conftest.err conftest.$ac_objext \
21564 conftest$ac_exeext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21569 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21570 if test $glibcxx_cv_GET_NPROCS = yes; then
21572 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21576 CXXFLAGS="$ac_save_CXXFLAGS"
21577 ac_ext=c
21578 ac_cpp='$CPP $CPPFLAGS'
21579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21584 for ac_header in unistd.h
21585 do :
21586 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21587 if test "x$ac_cv_header_unistd_h" = xyes; then :
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE_UNISTD_H 1
21590 _ACEOF
21594 done
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21605 ac_save_CXXFLAGS="$CXXFLAGS"
21606 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21609 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21610 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21611 $as_echo_n "(cached) " >&6
21612 else
21614 if test x$gcc_no_link = xyes; then
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h. */
21617 #include <unistd.h>
21619 main ()
21621 int n = sysconf(_SC_NPROCESSORS_ONLN);
21623 return 0;
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21628 else
21629 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 else
21633 if test x$gcc_no_link = xyes; then
21634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21637 /* end confdefs.h. */
21638 #include <unistd.h>
21640 main ()
21642 int n = sysconf(_SC_NPROCESSORS_ONLN);
21644 return 0;
21646 _ACEOF
21647 if ac_fn_cxx_try_link "$LINENO"; then :
21648 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21649 else
21650 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21652 rm -f core conftest.err conftest.$ac_objext \
21653 conftest$ac_exeext conftest.$ac_ext
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21658 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21659 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21661 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21665 CXXFLAGS="$ac_save_CXXFLAGS"
21666 ac_ext=c
21667 ac_cpp='$CPP $CPPFLAGS'
21668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21676 ac_ext=cpp
21677 ac_cpp='$CXXCPP $CPPFLAGS'
21678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21682 ac_save_CXXFLAGS="$CXXFLAGS"
21683 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21686 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21687 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21688 $as_echo_n "(cached) " >&6
21689 else
21691 if test x$gcc_no_link = xyes; then
21692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21693 /* end confdefs.h. */
21694 #include <unistd.h>
21696 main ()
21698 int n = sysconf(_SC_NPROC_ONLN);
21700 return 0;
21702 _ACEOF
21703 if ac_fn_cxx_try_compile "$LINENO"; then :
21704 glibcxx_cv_SC_NPROC_ONLN=yes
21705 else
21706 glibcxx_cv_SC_NPROC_ONLN=no
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 else
21710 if test x$gcc_no_link = xyes; then
21711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <unistd.h>
21717 main ()
21719 int n = sysconf(_SC_NPROC_ONLN);
21721 return 0;
21723 _ACEOF
21724 if ac_fn_cxx_try_link "$LINENO"; then :
21725 glibcxx_cv_SC_NPROC_ONLN=yes
21726 else
21727 glibcxx_cv_SC_NPROC_ONLN=no
21729 rm -f core conftest.err conftest.$ac_objext \
21730 conftest$ac_exeext conftest.$ac_ext
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21735 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21736 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21738 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21742 CXXFLAGS="$ac_save_CXXFLAGS"
21743 ac_ext=c
21744 ac_cpp='$CPP $CPPFLAGS'
21745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759 ac_save_CXXFLAGS="$CXXFLAGS"
21760 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21763 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21764 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21768 if test x$gcc_no_link = xyes; then
21769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21770 /* end confdefs.h. */
21771 #include <pthread.h>
21773 main ()
21775 int n = pthread_num_processors_np();
21777 return 0;
21779 _ACEOF
21780 if ac_fn_cxx_try_compile "$LINENO"; then :
21781 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21782 else
21783 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 else
21787 if test x$gcc_no_link = xyes; then
21788 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <pthread.h>
21794 main ()
21796 int n = pthread_num_processors_np();
21798 return 0;
21800 _ACEOF
21801 if ac_fn_cxx_try_link "$LINENO"; then :
21802 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21803 else
21804 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21806 rm -f core conftest.err conftest.$ac_objext \
21807 conftest$ac_exeext conftest.$ac_ext
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21812 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21813 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21815 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21819 CXXFLAGS="$ac_save_CXXFLAGS"
21820 ac_ext=c
21821 ac_cpp='$CPP $CPPFLAGS'
21822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21830 ac_ext=cpp
21831 ac_cpp='$CXXCPP $CPPFLAGS'
21832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21836 ac_save_CXXFLAGS="$CXXFLAGS"
21837 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21840 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21841 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21842 $as_echo_n "(cached) " >&6
21843 else
21845 if test x$gcc_no_link = xyes; then
21846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21847 /* end confdefs.h. */
21849 #include <stddef.h>
21850 #include <sys/sysctl.h>
21853 main ()
21856 int count;
21857 size_t size = sizeof(count);
21858 int mib[] = { CTL_HW, HW_NCPU };
21859 sysctl(mib, 2, &count, &size, NULL, 0);
21862 return 0;
21864 _ACEOF
21865 if ac_fn_cxx_try_compile "$LINENO"; then :
21866 glibcxx_cv_SYSCTL_HW_NCPU=yes
21867 else
21868 glibcxx_cv_SYSCTL_HW_NCPU=no
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 else
21872 if test x$gcc_no_link = xyes; then
21873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21878 #include <stddef.h>
21879 #include <sys/sysctl.h>
21882 main ()
21885 int count;
21886 size_t size = sizeof(count);
21887 int mib[] = { CTL_HW, HW_NCPU };
21888 sysctl(mib, 2, &count, &size, NULL, 0);
21891 return 0;
21893 _ACEOF
21894 if ac_fn_cxx_try_link "$LINENO"; then :
21895 glibcxx_cv_SYSCTL_HW_NCPU=yes
21896 else
21897 glibcxx_cv_SYSCTL_HW_NCPU=no
21899 rm -f core conftest.err conftest.$ac_objext \
21900 conftest$ac_exeext conftest.$ac_ext
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21905 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21906 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21908 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21912 CXXFLAGS="$ac_save_CXXFLAGS"
21913 ac_ext=c
21914 ac_cpp='$CPP $CPPFLAGS'
21915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 # Note that this test has to be run with the C language.
21922 # Otherwise, sdt.h will try to include some headers from
21923 # libstdc++ itself.
21925 ac_ext=c
21926 ac_cpp='$CPP $CPPFLAGS'
21927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21932 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21933 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21934 $as_echo_n "(cached) " >&6
21935 else
21937 # Because we have to run the test in C, we use grep rather
21938 # than the compiler to check for the bug. The bug is that
21939 # were strings without trailing whitespace, causing g++
21940 # to look for operator"". The pattern searches for the fixed
21941 # output.
21942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21945 #include <sys/sdt.h>
21946 int f() { STAP_PROBE(hi, bob); }
21948 _ACEOF
21949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21950 $EGREP " \",\" " >/dev/null 2>&1; then :
21951 glibcxx_cv_sys_sdt_h=yes
21952 else
21953 glibcxx_cv_sys_sdt_h=no
21955 rm -f conftest*
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21960 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21967 if test $glibcxx_cv_sys_sdt_h = yes; then
21969 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21974 # Check for available headers.
21975 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21976 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21977 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21978 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21979 wchar.h wctype.h linux/types.h
21980 do :
21981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21982 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21983 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21984 cat >>confdefs.h <<_ACEOF
21985 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21986 _ACEOF
21990 done
21993 for ac_header in linux/random.h
21994 do :
21995 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21996 # include <linux/types.h>
21997 #endif
22000 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22001 cat >>confdefs.h <<_ACEOF
22002 #define HAVE_LINUX_RANDOM_H 1
22003 _ACEOF
22007 done
22010 for ac_header in xlocale.h
22011 do :
22012 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22013 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define HAVE_XLOCALE_H 1
22016 _ACEOF
22020 done
22023 # Only do link tests if native. Else, hardcode.
22024 if $GLIBCXX_IS_NATIVE; then
22026 # We can do more elaborate tests that assume a working linker.
22027 CANADIAN=no
22031 # Check whether --with-gnu-ld was given.
22032 if test "${with_gnu_ld+set}" = set; then :
22033 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22034 else
22035 with_gnu_ld=no
22038 ac_prog=ld
22039 if test "$GCC" = yes; then
22040 # Check if gcc -print-prog-name=ld gives a path.
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22042 $as_echo_n "checking for ld used by $CC... " >&6; }
22043 case $host in
22044 *-*-mingw*)
22045 # gcc leaves a trailing carriage return which upsets mingw
22046 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22048 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22049 esac
22050 case $ac_prog in
22051 # Accept absolute paths.
22052 [\\/]* | ?:[\\/]*)
22053 re_direlt='/[^/][^/]*/\.\./'
22054 # Canonicalize the pathname of ld
22055 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22056 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22057 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22058 done
22059 test -z "$LD" && LD="$ac_prog"
22062 # If it fails, then pretend we aren't using GCC.
22063 ac_prog=ld
22066 # If it is relative, then search for the first ld in PATH.
22067 with_gnu_ld=unknown
22069 esac
22070 elif test "$with_gnu_ld" = yes; then
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22072 $as_echo_n "checking for GNU ld... " >&6; }
22073 else
22074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22075 $as_echo_n "checking for non-GNU ld... " >&6; }
22077 if ${lt_cv_path_LD+:} false; then :
22078 $as_echo_n "(cached) " >&6
22079 else
22080 if test -z "$LD"; then
22081 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22082 for ac_dir in $PATH; do
22083 IFS="$lt_save_ifs"
22084 test -z "$ac_dir" && ac_dir=.
22085 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22086 lt_cv_path_LD="$ac_dir/$ac_prog"
22087 # Check to see if the program is GNU ld. I'd rather use --version,
22088 # but apparently some variants of GNU ld only accept -v.
22089 # Break only if it was the GNU/non-GNU ld that we prefer.
22090 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22091 *GNU* | *'with BFD'*)
22092 test "$with_gnu_ld" != no && break
22095 test "$with_gnu_ld" != yes && break
22097 esac
22099 done
22100 IFS="$lt_save_ifs"
22101 else
22102 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22106 LD="$lt_cv_path_LD"
22107 if test -n "$LD"; then
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22109 $as_echo "$LD" >&6; }
22110 else
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22112 $as_echo "no" >&6; }
22114 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22116 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22117 if ${lt_cv_prog_gnu_ld+:} false; then :
22118 $as_echo_n "(cached) " >&6
22119 else
22120 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22121 case `$LD -v 2>&1 </dev/null` in
22122 *GNU* | *'with BFD'*)
22123 lt_cv_prog_gnu_ld=yes
22126 lt_cv_prog_gnu_ld=no
22128 esac
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22131 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22132 with_gnu_ld=$lt_cv_prog_gnu_ld
22140 # If we're not using GNU ld, then there's no point in even trying these
22141 # tests. Check for that first. We should have already tested for gld
22142 # by now (in libtool), but require it now just to be safe...
22143 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22144 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22148 # The name set by libtool depends on the version of libtool. Shame on us
22149 # for depending on an impl detail, but c'est la vie. Older versions used
22150 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22151 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22152 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22153 # set (hence we're using an older libtool), then set it.
22154 if test x${with_gnu_ld+set} != xset; then
22155 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22156 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22157 with_gnu_ld=no
22158 else
22159 with_gnu_ld=$ac_cv_prog_gnu_ld
22163 # Start by getting the version number. I think the libtool test already
22164 # does some of this, but throws away the result.
22165 glibcxx_ld_is_gold=no
22166 glibcxx_ld_is_mold=no
22167 if test x"$with_gnu_ld" = x"yes"; then
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22169 $as_echo_n "checking for ld version... " >&6; }
22171 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22172 glibcxx_ld_is_gold=yes
22173 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22174 glibcxx_ld_is_mold=yes
22176 ldver=`$LD --version 2>/dev/null |
22177 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22179 glibcxx_gnu_ld_version=`echo $ldver | \
22180 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22182 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22185 # Set --gc-sections.
22186 glibcxx_have_gc_sections=no
22187 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22188 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22189 glibcxx_have_gc_sections=yes
22191 else
22192 glibcxx_gcsections_min_ld=21602
22193 if test x"$with_gnu_ld" = x"yes" &&
22194 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22195 glibcxx_have_gc_sections=yes
22198 if test "$glibcxx_have_gc_sections" = "yes"; then
22199 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22200 # NB: This flag only works reliably after 2.16.1. Configure tests
22201 # for this are difficult, so hard wire a value that should work.
22203 ac_test_CFLAGS="${CFLAGS+set}"
22204 ac_save_CFLAGS="$CFLAGS"
22205 CFLAGS='-Wl,--gc-sections'
22207 # Check for -Wl,--gc-sections
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22209 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22210 if test x$gcc_no_link = xyes; then
22211 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 int one(void) { return 1; }
22216 int two(void) { return 2; }
22219 main ()
22221 two();
22223 return 0;
22225 _ACEOF
22226 if ac_fn_c_try_link "$LINENO"; then :
22227 ac_gcsections=yes
22228 else
22229 ac_gcsections=no
22231 rm -f core conftest.err conftest.$ac_objext \
22232 conftest$ac_exeext conftest.$ac_ext
22233 if test "$ac_gcsections" = "yes"; then
22234 rm -f conftest.c
22235 touch conftest.c
22236 if $CC -c conftest.c; then
22237 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22238 grep "Warning: gc-sections option ignored" > /dev/null; then
22239 ac_gcsections=no
22242 rm -f conftest.c conftest.o conftest
22244 if test "$ac_gcsections" = "yes"; then
22245 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22248 $as_echo "$ac_gcsections" >&6; }
22250 if test "$ac_test_CFLAGS" = set; then
22251 CFLAGS="$ac_save_CFLAGS"
22252 else
22253 # this is the suspicious part
22254 CFLAGS=''
22258 # Set -z,relro.
22259 # Note this is only for shared objects.
22260 ac_ld_relro=no
22261 if test x"$with_gnu_ld" = x"yes"; then
22262 # cygwin and mingw uses PE, which has no ELF relro support,
22263 # multi target ld may confuse configure machinery
22264 case "$host" in
22265 *-*-cygwin*)
22267 *-*-mingw*)
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22271 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22273 if test -n "$cxx_z_relo"; then
22274 OPT_LDFLAGS="-Wl,-z,relro"
22275 ac_ld_relro=yes
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22278 $as_echo "$ac_ld_relro" >&6; }
22279 esac
22282 # Set linker optimization flags.
22283 if test x"$with_gnu_ld" = x"yes"; then
22284 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22291 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22292 ac_save_CXXFLAGS="$CXXFLAGS"
22293 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22296 $as_echo_n "checking for sin in -lm... " >&6; }
22297 if ${ac_cv_lib_m_sin+:} false; then :
22298 $as_echo_n "(cached) " >&6
22299 else
22300 ac_check_lib_save_LIBS=$LIBS
22301 LIBS="-lm $LIBS"
22302 if test x$gcc_no_link = xyes; then
22303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22308 /* Override any GCC internal prototype to avoid an error.
22309 Use char because int might match the return type of a GCC
22310 builtin and then its argument prototype would still apply. */
22311 #ifdef __cplusplus
22312 extern "C"
22313 #endif
22314 char sin ();
22316 main ()
22318 return sin ();
22320 return 0;
22322 _ACEOF
22323 if ac_fn_c_try_link "$LINENO"; then :
22324 ac_cv_lib_m_sin=yes
22325 else
22326 ac_cv_lib_m_sin=no
22328 rm -f core conftest.err conftest.$ac_objext \
22329 conftest$ac_exeext conftest.$ac_ext
22330 LIBS=$ac_check_lib_save_LIBS
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22333 $as_echo "$ac_cv_lib_m_sin" >&6; }
22334 if test "x$ac_cv_lib_m_sin" = xyes; then :
22335 libm="-lm"
22338 ac_save_LIBS="$LIBS"
22339 LIBS="$LIBS $libm"
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22344 $as_echo_n "checking for isinf declaration... " >&6; }
22345 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22346 if ${glibcxx_cv_func_isinf_use+:} false; then :
22347 $as_echo_n "(cached) " >&6
22348 else
22351 ac_ext=cpp
22352 ac_cpp='$CXXCPP $CPPFLAGS'
22353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22358 /* end confdefs.h. */
22359 #include <math.h>
22360 #ifdef HAVE_IEEEFP_H
22361 #include <ieeefp.h>
22362 #endif
22365 main ()
22367 isinf(0);
22369 return 0;
22371 _ACEOF
22372 if ac_fn_cxx_try_compile "$LINENO"; then :
22373 glibcxx_cv_func_isinf_use=yes
22374 else
22375 glibcxx_cv_func_isinf_use=no
22377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 ac_ext=c
22379 ac_cpp='$CPP $CPPFLAGS'
22380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22389 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22391 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22392 for ac_func in isinf
22393 do :
22394 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22395 if test "x$ac_cv_func_isinf" = xyes; then :
22396 cat >>confdefs.h <<_ACEOF
22397 #define HAVE_ISINF 1
22398 _ACEOF
22401 done
22403 else
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22406 $as_echo_n "checking for _isinf declaration... " >&6; }
22407 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22408 if ${glibcxx_cv_func__isinf_use+:} false; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22413 ac_ext=cpp
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22420 /* end confdefs.h. */
22421 #include <math.h>
22422 #ifdef HAVE_IEEEFP_H
22423 #include <ieeefp.h>
22424 #endif
22427 main ()
22429 _isinf(0);
22431 return 0;
22433 _ACEOF
22434 if ac_fn_cxx_try_compile "$LINENO"; then :
22435 glibcxx_cv_func__isinf_use=yes
22436 else
22437 glibcxx_cv_func__isinf_use=no
22439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22440 ac_ext=c
22441 ac_cpp='$CPP $CPPFLAGS'
22442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22451 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22453 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22454 for ac_func in _isinf
22455 do :
22456 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22457 if test "x$ac_cv_func__isinf" = xyes; then :
22458 cat >>confdefs.h <<_ACEOF
22459 #define HAVE__ISINF 1
22460 _ACEOF
22463 done
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22473 $as_echo_n "checking for isnan declaration... " >&6; }
22474 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22475 if ${glibcxx_cv_func_isnan_use+:} false; then :
22476 $as_echo_n "(cached) " >&6
22477 else
22480 ac_ext=cpp
22481 ac_cpp='$CXXCPP $CPPFLAGS'
22482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488 #include <math.h>
22489 #ifdef HAVE_IEEEFP_H
22490 #include <ieeefp.h>
22491 #endif
22494 main ()
22496 isnan(0);
22498 return 0;
22500 _ACEOF
22501 if ac_fn_cxx_try_compile "$LINENO"; then :
22502 glibcxx_cv_func_isnan_use=yes
22503 else
22504 glibcxx_cv_func_isnan_use=no
22506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 ac_ext=c
22508 ac_cpp='$CPP $CPPFLAGS'
22509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22518 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22520 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22521 for ac_func in isnan
22522 do :
22523 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22524 if test "x$ac_cv_func_isnan" = xyes; then :
22525 cat >>confdefs.h <<_ACEOF
22526 #define HAVE_ISNAN 1
22527 _ACEOF
22530 done
22532 else
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22535 $as_echo_n "checking for _isnan declaration... " >&6; }
22536 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22537 if ${glibcxx_cv_func__isnan_use+:} false; then :
22538 $as_echo_n "(cached) " >&6
22539 else
22542 ac_ext=cpp
22543 ac_cpp='$CXXCPP $CPPFLAGS'
22544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22549 /* end confdefs.h. */
22550 #include <math.h>
22551 #ifdef HAVE_IEEEFP_H
22552 #include <ieeefp.h>
22553 #endif
22556 main ()
22558 _isnan(0);
22560 return 0;
22562 _ACEOF
22563 if ac_fn_cxx_try_compile "$LINENO"; then :
22564 glibcxx_cv_func__isnan_use=yes
22565 else
22566 glibcxx_cv_func__isnan_use=no
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 ac_ext=c
22570 ac_cpp='$CPP $CPPFLAGS'
22571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22580 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22582 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22583 for ac_func in _isnan
22584 do :
22585 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22586 if test "x$ac_cv_func__isnan" = xyes; then :
22587 cat >>confdefs.h <<_ACEOF
22588 #define HAVE__ISNAN 1
22589 _ACEOF
22592 done
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22602 $as_echo_n "checking for finite declaration... " >&6; }
22603 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22604 if ${glibcxx_cv_func_finite_use+:} false; then :
22605 $as_echo_n "(cached) " >&6
22606 else
22609 ac_ext=cpp
22610 ac_cpp='$CXXCPP $CPPFLAGS'
22611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22616 /* end confdefs.h. */
22617 #include <math.h>
22618 #ifdef HAVE_IEEEFP_H
22619 #include <ieeefp.h>
22620 #endif
22623 main ()
22625 finite(0);
22627 return 0;
22629 _ACEOF
22630 if ac_fn_cxx_try_compile "$LINENO"; then :
22631 glibcxx_cv_func_finite_use=yes
22632 else
22633 glibcxx_cv_func_finite_use=no
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 ac_ext=c
22637 ac_cpp='$CPP $CPPFLAGS'
22638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22647 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22650 for ac_func in finite
22651 do :
22652 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22653 if test "x$ac_cv_func_finite" = xyes; then :
22654 cat >>confdefs.h <<_ACEOF
22655 #define HAVE_FINITE 1
22656 _ACEOF
22659 done
22661 else
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22664 $as_echo_n "checking for _finite declaration... " >&6; }
22665 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22666 if ${glibcxx_cv_func__finite_use+:} false; then :
22667 $as_echo_n "(cached) " >&6
22668 else
22671 ac_ext=cpp
22672 ac_cpp='$CXXCPP $CPPFLAGS'
22673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22678 /* end confdefs.h. */
22679 #include <math.h>
22680 #ifdef HAVE_IEEEFP_H
22681 #include <ieeefp.h>
22682 #endif
22685 main ()
22687 _finite(0);
22689 return 0;
22691 _ACEOF
22692 if ac_fn_cxx_try_compile "$LINENO"; then :
22693 glibcxx_cv_func__finite_use=yes
22694 else
22695 glibcxx_cv_func__finite_use=no
22697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22698 ac_ext=c
22699 ac_cpp='$CPP $CPPFLAGS'
22700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22709 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22711 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22712 for ac_func in _finite
22713 do :
22714 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22715 if test "x$ac_cv_func__finite" = xyes; then :
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE__FINITE 1
22718 _ACEOF
22721 done
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22731 $as_echo_n "checking for sincos declaration... " >&6; }
22732 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22733 if ${glibcxx_cv_func_sincos_use+:} false; then :
22734 $as_echo_n "(cached) " >&6
22735 else
22738 ac_ext=cpp
22739 ac_cpp='$CXXCPP $CPPFLAGS'
22740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22746 #include <math.h>
22748 main ()
22750 sincos(0, 0, 0);
22752 return 0;
22754 _ACEOF
22755 if ac_fn_cxx_try_compile "$LINENO"; then :
22756 glibcxx_cv_func_sincos_use=yes
22757 else
22758 glibcxx_cv_func_sincos_use=no
22760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 ac_ext=c
22762 ac_cpp='$CPP $CPPFLAGS'
22763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22772 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22774 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22775 for ac_func in sincos
22776 do :
22777 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22778 if test "x$ac_cv_func_sincos" = xyes; then :
22779 cat >>confdefs.h <<_ACEOF
22780 #define HAVE_SINCOS 1
22781 _ACEOF
22784 done
22786 else
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22789 $as_echo_n "checking for _sincos declaration... " >&6; }
22790 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22791 if ${glibcxx_cv_func__sincos_use+:} false; then :
22792 $as_echo_n "(cached) " >&6
22793 else
22796 ac_ext=cpp
22797 ac_cpp='$CXXCPP $CPPFLAGS'
22798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22803 /* end confdefs.h. */
22804 #include <math.h>
22806 main ()
22808 _sincos(0, 0, 0);
22810 return 0;
22812 _ACEOF
22813 if ac_fn_cxx_try_compile "$LINENO"; then :
22814 glibcxx_cv_func__sincos_use=yes
22815 else
22816 glibcxx_cv_func__sincos_use=no
22818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22819 ac_ext=c
22820 ac_cpp='$CPP $CPPFLAGS'
22821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22830 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22832 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22833 for ac_func in _sincos
22834 do :
22835 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22836 if test "x$ac_cv_func__sincos" = xyes; then :
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE__SINCOS 1
22839 _ACEOF
22842 done
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22852 $as_echo_n "checking for fpclass declaration... " >&6; }
22853 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22854 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22855 $as_echo_n "(cached) " >&6
22856 else
22859 ac_ext=cpp
22860 ac_cpp='$CXXCPP $CPPFLAGS'
22861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22866 /* end confdefs.h. */
22867 #include <math.h>
22868 #ifdef HAVE_IEEEFP_H
22869 #include <ieeefp.h>
22870 #endif
22873 main ()
22875 fpclass(0);
22877 return 0;
22879 _ACEOF
22880 if ac_fn_cxx_try_compile "$LINENO"; then :
22881 glibcxx_cv_func_fpclass_use=yes
22882 else
22883 glibcxx_cv_func_fpclass_use=no
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 ac_ext=c
22887 ac_cpp='$CPP $CPPFLAGS'
22888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22897 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22899 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22900 for ac_func in fpclass
22901 do :
22902 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22903 if test "x$ac_cv_func_fpclass" = xyes; then :
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE_FPCLASS 1
22906 _ACEOF
22909 done
22911 else
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22914 $as_echo_n "checking for _fpclass declaration... " >&6; }
22915 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22916 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22921 ac_ext=cpp
22922 ac_cpp='$CXXCPP $CPPFLAGS'
22923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22929 #include <math.h>
22930 #ifdef HAVE_IEEEFP_H
22931 #include <ieeefp.h>
22932 #endif
22935 main ()
22937 _fpclass(0);
22939 return 0;
22941 _ACEOF
22942 if ac_fn_cxx_try_compile "$LINENO"; then :
22943 glibcxx_cv_func__fpclass_use=yes
22944 else
22945 glibcxx_cv_func__fpclass_use=no
22947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22948 ac_ext=c
22949 ac_cpp='$CPP $CPPFLAGS'
22950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22959 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22961 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22962 for ac_func in _fpclass
22963 do :
22964 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22965 if test "x$ac_cv_func__fpclass" = xyes; then :
22966 cat >>confdefs.h <<_ACEOF
22967 #define HAVE__FPCLASS 1
22968 _ACEOF
22971 done
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22981 $as_echo_n "checking for qfpclass declaration... " >&6; }
22982 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22983 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22984 $as_echo_n "(cached) " >&6
22985 else
22988 ac_ext=cpp
22989 ac_cpp='$CXXCPP $CPPFLAGS'
22990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22995 /* end confdefs.h. */
22996 #include <math.h>
22997 #ifdef HAVE_IEEEFP_H
22998 #include <ieeefp.h>
22999 #endif
23002 main ()
23004 qfpclass(0);
23006 return 0;
23008 _ACEOF
23009 if ac_fn_cxx_try_compile "$LINENO"; then :
23010 glibcxx_cv_func_qfpclass_use=yes
23011 else
23012 glibcxx_cv_func_qfpclass_use=no
23014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23015 ac_ext=c
23016 ac_cpp='$CPP $CPPFLAGS'
23017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23026 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23028 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23029 for ac_func in qfpclass
23030 do :
23031 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23032 if test "x$ac_cv_func_qfpclass" = xyes; then :
23033 cat >>confdefs.h <<_ACEOF
23034 #define HAVE_QFPCLASS 1
23035 _ACEOF
23038 done
23040 else
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23043 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23044 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23045 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23046 $as_echo_n "(cached) " >&6
23047 else
23050 ac_ext=cpp
23051 ac_cpp='$CXXCPP $CPPFLAGS'
23052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h. */
23058 #include <math.h>
23059 #ifdef HAVE_IEEEFP_H
23060 #include <ieeefp.h>
23061 #endif
23064 main ()
23066 _qfpclass(0);
23068 return 0;
23070 _ACEOF
23071 if ac_fn_cxx_try_compile "$LINENO"; then :
23072 glibcxx_cv_func__qfpclass_use=yes
23073 else
23074 glibcxx_cv_func__qfpclass_use=no
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 ac_ext=c
23078 ac_cpp='$CPP $CPPFLAGS'
23079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23088 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23090 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23091 for ac_func in _qfpclass
23092 do :
23093 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23094 if test "x$ac_cv_func__qfpclass" = xyes; then :
23095 cat >>confdefs.h <<_ACEOF
23096 #define HAVE__QFPCLASS 1
23097 _ACEOF
23100 done
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23110 $as_echo_n "checking for hypot declaration... " >&6; }
23111 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23112 if ${glibcxx_cv_func_hypot_use+:} false; then :
23113 $as_echo_n "(cached) " >&6
23114 else
23117 ac_ext=cpp
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h. */
23125 #include <math.h>
23127 main ()
23129 hypot(0, 0);
23131 return 0;
23133 _ACEOF
23134 if ac_fn_cxx_try_compile "$LINENO"; then :
23135 glibcxx_cv_func_hypot_use=yes
23136 else
23137 glibcxx_cv_func_hypot_use=no
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23140 ac_ext=c
23141 ac_cpp='$CPP $CPPFLAGS'
23142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23151 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23153 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23154 for ac_func in hypot
23155 do :
23156 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23157 if test "x$ac_cv_func_hypot" = xyes; then :
23158 cat >>confdefs.h <<_ACEOF
23159 #define HAVE_HYPOT 1
23160 _ACEOF
23163 done
23165 else
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23168 $as_echo_n "checking for _hypot declaration... " >&6; }
23169 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23170 if ${glibcxx_cv_func__hypot_use+:} false; then :
23171 $as_echo_n "(cached) " >&6
23172 else
23175 ac_ext=cpp
23176 ac_cpp='$CXXCPP $CPPFLAGS'
23177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23182 /* end confdefs.h. */
23183 #include <math.h>
23185 main ()
23187 _hypot(0, 0);
23189 return 0;
23191 _ACEOF
23192 if ac_fn_cxx_try_compile "$LINENO"; then :
23193 glibcxx_cv_func__hypot_use=yes
23194 else
23195 glibcxx_cv_func__hypot_use=no
23197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23198 ac_ext=c
23199 ac_cpp='$CPP $CPPFLAGS'
23200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23209 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23211 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23212 for ac_func in _hypot
23213 do :
23214 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23215 if test "x$ac_cv_func__hypot" = xyes; then :
23216 cat >>confdefs.h <<_ACEOF
23217 #define HAVE__HYPOT 1
23218 _ACEOF
23221 done
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23231 $as_echo_n "checking for float trig functions... " >&6; }
23232 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23247 main ()
23249 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23251 return 0;
23253 _ACEOF
23254 if ac_fn_cxx_try_compile "$LINENO"; then :
23255 glibcxx_cv_func_float_trig_use=yes
23256 else
23257 glibcxx_cv_func_float_trig_use=no
23259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23260 ac_ext=c
23261 ac_cpp='$CPP $CPPFLAGS'
23262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23269 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23270 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23271 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23272 do :
23273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23276 cat >>confdefs.h <<_ACEOF
23277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23278 _ACEOF
23281 done
23283 else
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23285 $as_echo_n "checking for _float trig functions... " >&6; }
23286 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23287 $as_echo_n "(cached) " >&6
23288 else
23291 ac_ext=cpp
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23298 /* end confdefs.h. */
23299 #include <math.h>
23301 main ()
23303 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23305 return 0;
23307 _ACEOF
23308 if ac_fn_cxx_try_compile "$LINENO"; then :
23309 glibcxx_cv_func__float_trig_use=yes
23310 else
23311 glibcxx_cv_func__float_trig_use=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23314 ac_ext=c
23315 ac_cpp='$CPP $CPPFLAGS'
23316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23323 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23324 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23325 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23326 do :
23327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23332 _ACEOF
23335 done
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23345 $as_echo_n "checking for float round functions... " >&6; }
23346 if ${glibcxx_cv_func_float_round_use+:} false; then :
23347 $as_echo_n "(cached) " >&6
23348 else
23351 ac_ext=cpp
23352 ac_cpp='$CXXCPP $CPPFLAGS'
23353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23359 #include <math.h>
23361 main ()
23363 ceilf (0); floorf (0);
23365 return 0;
23367 _ACEOF
23368 if ac_fn_cxx_try_compile "$LINENO"; then :
23369 glibcxx_cv_func_float_round_use=yes
23370 else
23371 glibcxx_cv_func_float_round_use=no
23373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23374 ac_ext=c
23375 ac_cpp='$CPP $CPPFLAGS'
23376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23383 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23384 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23385 for ac_func in ceilf floorf
23386 do :
23387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23390 cat >>confdefs.h <<_ACEOF
23391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23392 _ACEOF
23395 done
23397 else
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23399 $as_echo_n "checking for _float round functions... " >&6; }
23400 if ${glibcxx_cv_func__float_round_use+:} false; then :
23401 $as_echo_n "(cached) " >&6
23402 else
23405 ac_ext=cpp
23406 ac_cpp='$CXXCPP $CPPFLAGS'
23407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23412 /* end confdefs.h. */
23413 #include <math.h>
23415 main ()
23417 _ceilf (0); _floorf (0);
23419 return 0;
23421 _ACEOF
23422 if ac_fn_cxx_try_compile "$LINENO"; then :
23423 glibcxx_cv_func__float_round_use=yes
23424 else
23425 glibcxx_cv_func__float_round_use=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 ac_ext=c
23429 ac_cpp='$CPP $CPPFLAGS'
23430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23437 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23438 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23439 for ac_func in _ceilf _floorf
23440 do :
23441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23443 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23444 cat >>confdefs.h <<_ACEOF
23445 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23446 _ACEOF
23449 done
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23460 $as_echo_n "checking for expf declaration... " >&6; }
23461 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23462 if ${glibcxx_cv_func_expf_use+:} false; then :
23463 $as_echo_n "(cached) " >&6
23464 else
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23475 #include <math.h>
23476 #ifdef HAVE_IEEEFP_H
23477 #include <ieeefp.h>
23478 #endif
23481 main ()
23483 expf(0);
23485 return 0;
23487 _ACEOF
23488 if ac_fn_cxx_try_compile "$LINENO"; then :
23489 glibcxx_cv_func_expf_use=yes
23490 else
23491 glibcxx_cv_func_expf_use=no
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23505 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23507 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23508 for ac_func in expf
23509 do :
23510 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23511 if test "x$ac_cv_func_expf" = xyes; then :
23512 cat >>confdefs.h <<_ACEOF
23513 #define HAVE_EXPF 1
23514 _ACEOF
23517 done
23519 else
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23522 $as_echo_n "checking for _expf declaration... " >&6; }
23523 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23524 if ${glibcxx_cv_func__expf_use+:} false; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23543 main ()
23545 _expf(0);
23547 return 0;
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func__expf_use=yes
23552 else
23553 glibcxx_cv_func__expf_use=no
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23567 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23569 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23570 for ac_func in _expf
23571 do :
23572 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23573 if test "x$ac_cv_func__expf" = xyes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE__EXPF 1
23576 _ACEOF
23579 done
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23589 $as_echo_n "checking for isnanf declaration... " >&6; }
23590 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23591 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 #ifdef HAVE_IEEEFP_H
23606 #include <ieeefp.h>
23607 #endif
23610 main ()
23612 isnanf(0);
23614 return 0;
23616 _ACEOF
23617 if ac_fn_cxx_try_compile "$LINENO"; then :
23618 glibcxx_cv_func_isnanf_use=yes
23619 else
23620 glibcxx_cv_func_isnanf_use=no
23622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ac_ext=c
23624 ac_cpp='$CPP $CPPFLAGS'
23625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23634 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23636 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23637 for ac_func in isnanf
23638 do :
23639 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23640 if test "x$ac_cv_func_isnanf" = xyes; then :
23641 cat >>confdefs.h <<_ACEOF
23642 #define HAVE_ISNANF 1
23643 _ACEOF
23646 done
23648 else
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23651 $as_echo_n "checking for _isnanf declaration... " >&6; }
23652 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23653 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23654 $as_echo_n "(cached) " >&6
23655 else
23658 ac_ext=cpp
23659 ac_cpp='$CXXCPP $CPPFLAGS'
23660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23666 #include <math.h>
23667 #ifdef HAVE_IEEEFP_H
23668 #include <ieeefp.h>
23669 #endif
23672 main ()
23674 _isnanf(0);
23676 return 0;
23678 _ACEOF
23679 if ac_fn_cxx_try_compile "$LINENO"; then :
23680 glibcxx_cv_func__isnanf_use=yes
23681 else
23682 glibcxx_cv_func__isnanf_use=no
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 ac_ext=c
23686 ac_cpp='$CPP $CPPFLAGS'
23687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23696 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23698 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23699 for ac_func in _isnanf
23700 do :
23701 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23702 if test "x$ac_cv_func__isnanf" = xyes; then :
23703 cat >>confdefs.h <<_ACEOF
23704 #define HAVE__ISNANF 1
23705 _ACEOF
23708 done
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23718 $as_echo_n "checking for isinff declaration... " >&6; }
23719 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23720 if ${glibcxx_cv_func_isinff_use+:} false; then :
23721 $as_echo_n "(cached) " >&6
23722 else
23725 ac_ext=cpp
23726 ac_cpp='$CXXCPP $CPPFLAGS'
23727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23732 /* end confdefs.h. */
23733 #include <math.h>
23734 #ifdef HAVE_IEEEFP_H
23735 #include <ieeefp.h>
23736 #endif
23739 main ()
23741 isinff(0);
23743 return 0;
23745 _ACEOF
23746 if ac_fn_cxx_try_compile "$LINENO"; then :
23747 glibcxx_cv_func_isinff_use=yes
23748 else
23749 glibcxx_cv_func_isinff_use=no
23751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23752 ac_ext=c
23753 ac_cpp='$CPP $CPPFLAGS'
23754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23763 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23765 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23766 for ac_func in isinff
23767 do :
23768 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23769 if test "x$ac_cv_func_isinff" = xyes; then :
23770 cat >>confdefs.h <<_ACEOF
23771 #define HAVE_ISINFF 1
23772 _ACEOF
23775 done
23777 else
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23780 $as_echo_n "checking for _isinff declaration... " >&6; }
23781 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23782 if ${glibcxx_cv_func__isinff_use+:} false; then :
23783 $as_echo_n "(cached) " >&6
23784 else
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23794 /* end confdefs.h. */
23795 #include <math.h>
23796 #ifdef HAVE_IEEEFP_H
23797 #include <ieeefp.h>
23798 #endif
23801 main ()
23803 _isinff(0);
23805 return 0;
23807 _ACEOF
23808 if ac_fn_cxx_try_compile "$LINENO"; then :
23809 glibcxx_cv_func__isinff_use=yes
23810 else
23811 glibcxx_cv_func__isinff_use=no
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814 ac_ext=c
23815 ac_cpp='$CPP $CPPFLAGS'
23816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23825 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23827 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23828 for ac_func in _isinff
23829 do :
23830 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23831 if test "x$ac_cv_func__isinff" = xyes; then :
23832 cat >>confdefs.h <<_ACEOF
23833 #define HAVE__ISINFF 1
23834 _ACEOF
23837 done
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23847 $as_echo_n "checking for atan2f declaration... " >&6; }
23848 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23849 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23850 $as_echo_n "(cached) " >&6
23851 else
23854 ac_ext=cpp
23855 ac_cpp='$CXXCPP $CPPFLAGS'
23856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23862 #include <math.h>
23864 main ()
23866 atan2f(0, 0);
23868 return 0;
23870 _ACEOF
23871 if ac_fn_cxx_try_compile "$LINENO"; then :
23872 glibcxx_cv_func_atan2f_use=yes
23873 else
23874 glibcxx_cv_func_atan2f_use=no
23876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23877 ac_ext=c
23878 ac_cpp='$CPP $CPPFLAGS'
23879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23890 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23891 for ac_func in atan2f
23892 do :
23893 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23894 if test "x$ac_cv_func_atan2f" = xyes; then :
23895 cat >>confdefs.h <<_ACEOF
23896 #define HAVE_ATAN2F 1
23897 _ACEOF
23900 done
23902 else
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23905 $as_echo_n "checking for _atan2f declaration... " >&6; }
23906 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23907 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23908 $as_echo_n "(cached) " >&6
23909 else
23912 ac_ext=cpp
23913 ac_cpp='$CXXCPP $CPPFLAGS'
23914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23920 #include <math.h>
23922 main ()
23924 _atan2f(0, 0);
23926 return 0;
23928 _ACEOF
23929 if ac_fn_cxx_try_compile "$LINENO"; then :
23930 glibcxx_cv_func__atan2f_use=yes
23931 else
23932 glibcxx_cv_func__atan2f_use=no
23934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ac_ext=c
23936 ac_cpp='$CPP $CPPFLAGS'
23937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23946 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23948 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23949 for ac_func in _atan2f
23950 do :
23951 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23952 if test "x$ac_cv_func__atan2f" = xyes; then :
23953 cat >>confdefs.h <<_ACEOF
23954 #define HAVE__ATAN2F 1
23955 _ACEOF
23958 done
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23968 $as_echo_n "checking for fabsf declaration... " >&6; }
23969 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23970 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23975 ac_ext=cpp
23976 ac_cpp='$CXXCPP $CPPFLAGS'
23977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23983 #include <math.h>
23984 #ifdef HAVE_IEEEFP_H
23985 #include <ieeefp.h>
23986 #endif
23989 main ()
23991 fabsf(0);
23993 return 0;
23995 _ACEOF
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
23997 glibcxx_cv_func_fabsf_use=yes
23998 else
23999 glibcxx_cv_func_fabsf_use=no
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 ac_ext=c
24003 ac_cpp='$CPP $CPPFLAGS'
24004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24013 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24015 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24016 for ac_func in fabsf
24017 do :
24018 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24019 if test "x$ac_cv_func_fabsf" = xyes; then :
24020 cat >>confdefs.h <<_ACEOF
24021 #define HAVE_FABSF 1
24022 _ACEOF
24025 done
24027 else
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24030 $as_echo_n "checking for _fabsf declaration... " >&6; }
24031 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24032 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24033 $as_echo_n "(cached) " >&6
24034 else
24037 ac_ext=cpp
24038 ac_cpp='$CXXCPP $CPPFLAGS'
24039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24044 /* end confdefs.h. */
24045 #include <math.h>
24046 #ifdef HAVE_IEEEFP_H
24047 #include <ieeefp.h>
24048 #endif
24051 main ()
24053 _fabsf(0);
24055 return 0;
24057 _ACEOF
24058 if ac_fn_cxx_try_compile "$LINENO"; then :
24059 glibcxx_cv_func__fabsf_use=yes
24060 else
24061 glibcxx_cv_func__fabsf_use=no
24063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24064 ac_ext=c
24065 ac_cpp='$CPP $CPPFLAGS'
24066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24075 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24077 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24078 for ac_func in _fabsf
24079 do :
24080 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24081 if test "x$ac_cv_func__fabsf" = xyes; then :
24082 cat >>confdefs.h <<_ACEOF
24083 #define HAVE__FABSF 1
24084 _ACEOF
24087 done
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24097 $as_echo_n "checking for fmodf declaration... " >&6; }
24098 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24099 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24100 $as_echo_n "(cached) " >&6
24101 else
24104 ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112 #include <math.h>
24114 main ()
24116 fmodf(0, 0);
24118 return 0;
24120 _ACEOF
24121 if ac_fn_cxx_try_compile "$LINENO"; then :
24122 glibcxx_cv_func_fmodf_use=yes
24123 else
24124 glibcxx_cv_func_fmodf_use=no
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_ext=c
24128 ac_cpp='$CPP $CPPFLAGS'
24129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24138 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24140 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24141 for ac_func in fmodf
24142 do :
24143 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24144 if test "x$ac_cv_func_fmodf" = xyes; then :
24145 cat >>confdefs.h <<_ACEOF
24146 #define HAVE_FMODF 1
24147 _ACEOF
24150 done
24152 else
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24155 $as_echo_n "checking for _fmodf declaration... " >&6; }
24156 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24157 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24172 main ()
24174 _fmodf(0, 0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func__fmodf_use=yes
24181 else
24182 glibcxx_cv_func__fmodf_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24196 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24198 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24199 for ac_func in _fmodf
24200 do :
24201 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24202 if test "x$ac_cv_func__fmodf" = xyes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE__FMODF 1
24205 _ACEOF
24208 done
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24218 $as_echo_n "checking for frexpf declaration... " >&6; }
24219 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24220 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24221 $as_echo_n "(cached) " >&6
24222 else
24225 ac_ext=cpp
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24233 #include <math.h>
24235 main ()
24237 frexpf(0, 0);
24239 return 0;
24241 _ACEOF
24242 if ac_fn_cxx_try_compile "$LINENO"; then :
24243 glibcxx_cv_func_frexpf_use=yes
24244 else
24245 glibcxx_cv_func_frexpf_use=no
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24259 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24261 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24262 for ac_func in frexpf
24263 do :
24264 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24265 if test "x$ac_cv_func_frexpf" = xyes; then :
24266 cat >>confdefs.h <<_ACEOF
24267 #define HAVE_FREXPF 1
24268 _ACEOF
24271 done
24273 else
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24276 $as_echo_n "checking for _frexpf declaration... " >&6; }
24277 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24278 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24279 $as_echo_n "(cached) " >&6
24280 else
24283 ac_ext=cpp
24284 ac_cpp='$CXXCPP $CPPFLAGS'
24285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24291 #include <math.h>
24293 main ()
24295 _frexpf(0, 0);
24297 return 0;
24299 _ACEOF
24300 if ac_fn_cxx_try_compile "$LINENO"; then :
24301 glibcxx_cv_func__frexpf_use=yes
24302 else
24303 glibcxx_cv_func__frexpf_use=no
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 ac_ext=c
24307 ac_cpp='$CPP $CPPFLAGS'
24308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24317 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24319 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24320 for ac_func in _frexpf
24321 do :
24322 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24323 if test "x$ac_cv_func__frexpf" = xyes; then :
24324 cat >>confdefs.h <<_ACEOF
24325 #define HAVE__FREXPF 1
24326 _ACEOF
24329 done
24338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24339 $as_echo_n "checking for hypotf declaration... " >&6; }
24340 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24341 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24342 $as_echo_n "(cached) " >&6
24343 else
24346 ac_ext=cpp
24347 ac_cpp='$CXXCPP $CPPFLAGS'
24348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24353 /* end confdefs.h. */
24354 #include <math.h>
24356 main ()
24358 hypotf(0, 0);
24360 return 0;
24362 _ACEOF
24363 if ac_fn_cxx_try_compile "$LINENO"; then :
24364 glibcxx_cv_func_hypotf_use=yes
24365 else
24366 glibcxx_cv_func_hypotf_use=no
24368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24369 ac_ext=c
24370 ac_cpp='$CPP $CPPFLAGS'
24371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24380 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24382 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24383 for ac_func in hypotf
24384 do :
24385 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24386 if test "x$ac_cv_func_hypotf" = xyes; then :
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE_HYPOTF 1
24389 _ACEOF
24392 done
24394 else
24396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24397 $as_echo_n "checking for _hypotf declaration... " >&6; }
24398 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24399 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24400 $as_echo_n "(cached) " >&6
24401 else
24404 ac_ext=cpp
24405 ac_cpp='$CXXCPP $CPPFLAGS'
24406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24411 /* end confdefs.h. */
24412 #include <math.h>
24414 main ()
24416 _hypotf(0, 0);
24418 return 0;
24420 _ACEOF
24421 if ac_fn_cxx_try_compile "$LINENO"; then :
24422 glibcxx_cv_func__hypotf_use=yes
24423 else
24424 glibcxx_cv_func__hypotf_use=no
24426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24427 ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24438 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24440 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24441 for ac_func in _hypotf
24442 do :
24443 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24444 if test "x$ac_cv_func__hypotf" = xyes; then :
24445 cat >>confdefs.h <<_ACEOF
24446 #define HAVE__HYPOTF 1
24447 _ACEOF
24450 done
24459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24460 $as_echo_n "checking for ldexpf declaration... " >&6; }
24461 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24462 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24463 $as_echo_n "(cached) " >&6
24464 else
24467 ac_ext=cpp
24468 ac_cpp='$CXXCPP $CPPFLAGS'
24469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24474 /* end confdefs.h. */
24475 #include <math.h>
24477 main ()
24479 ldexpf(0, 0);
24481 return 0;
24483 _ACEOF
24484 if ac_fn_cxx_try_compile "$LINENO"; then :
24485 glibcxx_cv_func_ldexpf_use=yes
24486 else
24487 glibcxx_cv_func_ldexpf_use=no
24489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24490 ac_ext=c
24491 ac_cpp='$CPP $CPPFLAGS'
24492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24501 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24503 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24504 for ac_func in ldexpf
24505 do :
24506 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24507 if test "x$ac_cv_func_ldexpf" = xyes; then :
24508 cat >>confdefs.h <<_ACEOF
24509 #define HAVE_LDEXPF 1
24510 _ACEOF
24513 done
24515 else
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24518 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24519 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24520 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24521 $as_echo_n "(cached) " >&6
24522 else
24525 ac_ext=cpp
24526 ac_cpp='$CXXCPP $CPPFLAGS'
24527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24532 /* end confdefs.h. */
24533 #include <math.h>
24535 main ()
24537 _ldexpf(0, 0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func__ldexpf_use=yes
24544 else
24545 glibcxx_cv_func__ldexpf_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24559 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24561 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24562 for ac_func in _ldexpf
24563 do :
24564 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24565 if test "x$ac_cv_func__ldexpf" = xyes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE__LDEXPF 1
24568 _ACEOF
24571 done
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24581 $as_echo_n "checking for logf declaration... " >&6; }
24582 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24583 if ${glibcxx_cv_func_logf_use+:} false; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24597 #ifdef HAVE_IEEEFP_H
24598 #include <ieeefp.h>
24599 #endif
24602 main ()
24604 logf(0);
24606 return 0;
24608 _ACEOF
24609 if ac_fn_cxx_try_compile "$LINENO"; then :
24610 glibcxx_cv_func_logf_use=yes
24611 else
24612 glibcxx_cv_func_logf_use=no
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615 ac_ext=c
24616 ac_cpp='$CPP $CPPFLAGS'
24617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24626 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24628 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24629 for ac_func in logf
24630 do :
24631 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24632 if test "x$ac_cv_func_logf" = xyes; then :
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_LOGF 1
24635 _ACEOF
24638 done
24640 else
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24643 $as_echo_n "checking for _logf declaration... " >&6; }
24644 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24645 if ${glibcxx_cv_func__logf_use+:} false; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24659 #ifdef HAVE_IEEEFP_H
24660 #include <ieeefp.h>
24661 #endif
24664 main ()
24666 _logf(0);
24668 return 0;
24670 _ACEOF
24671 if ac_fn_cxx_try_compile "$LINENO"; then :
24672 glibcxx_cv_func__logf_use=yes
24673 else
24674 glibcxx_cv_func__logf_use=no
24676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_ext=c
24678 ac_cpp='$CPP $CPPFLAGS'
24679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24688 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24690 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24691 for ac_func in _logf
24692 do :
24693 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24694 if test "x$ac_cv_func__logf" = xyes; then :
24695 cat >>confdefs.h <<_ACEOF
24696 #define HAVE__LOGF 1
24697 _ACEOF
24700 done
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24710 $as_echo_n "checking for log10f declaration... " >&6; }
24711 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24712 if ${glibcxx_cv_func_log10f_use+:} false; then :
24713 $as_echo_n "(cached) " >&6
24714 else
24717 ac_ext=cpp
24718 ac_cpp='$CXXCPP $CPPFLAGS'
24719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24724 /* end confdefs.h. */
24725 #include <math.h>
24726 #ifdef HAVE_IEEEFP_H
24727 #include <ieeefp.h>
24728 #endif
24731 main ()
24733 log10f(0);
24735 return 0;
24737 _ACEOF
24738 if ac_fn_cxx_try_compile "$LINENO"; then :
24739 glibcxx_cv_func_log10f_use=yes
24740 else
24741 glibcxx_cv_func_log10f_use=no
24743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24744 ac_ext=c
24745 ac_cpp='$CPP $CPPFLAGS'
24746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24755 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24757 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24758 for ac_func in log10f
24759 do :
24760 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24761 if test "x$ac_cv_func_log10f" = xyes; then :
24762 cat >>confdefs.h <<_ACEOF
24763 #define HAVE_LOG10F 1
24764 _ACEOF
24767 done
24769 else
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24772 $as_echo_n "checking for _log10f declaration... " >&6; }
24773 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24774 if ${glibcxx_cv_func__log10f_use+:} false; then :
24775 $as_echo_n "(cached) " >&6
24776 else
24779 ac_ext=cpp
24780 ac_cpp='$CXXCPP $CPPFLAGS'
24781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h. */
24787 #include <math.h>
24788 #ifdef HAVE_IEEEFP_H
24789 #include <ieeefp.h>
24790 #endif
24793 main ()
24795 _log10f(0);
24797 return 0;
24799 _ACEOF
24800 if ac_fn_cxx_try_compile "$LINENO"; then :
24801 glibcxx_cv_func__log10f_use=yes
24802 else
24803 glibcxx_cv_func__log10f_use=no
24805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24806 ac_ext=c
24807 ac_cpp='$CPP $CPPFLAGS'
24808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24817 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24819 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24820 for ac_func in _log10f
24821 do :
24822 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24823 if test "x$ac_cv_func__log10f" = xyes; then :
24824 cat >>confdefs.h <<_ACEOF
24825 #define HAVE__LOG10F 1
24826 _ACEOF
24829 done
24838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24839 $as_echo_n "checking for modff declaration... " >&6; }
24840 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24841 if ${glibcxx_cv_func_modff_use+:} false; then :
24842 $as_echo_n "(cached) " >&6
24843 else
24846 ac_ext=cpp
24847 ac_cpp='$CXXCPP $CPPFLAGS'
24848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24853 /* end confdefs.h. */
24854 #include <math.h>
24856 main ()
24858 modff(0, 0);
24860 return 0;
24862 _ACEOF
24863 if ac_fn_cxx_try_compile "$LINENO"; then :
24864 glibcxx_cv_func_modff_use=yes
24865 else
24866 glibcxx_cv_func_modff_use=no
24868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24869 ac_ext=c
24870 ac_cpp='$CPP $CPPFLAGS'
24871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24880 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24882 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24883 for ac_func in modff
24884 do :
24885 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24886 if test "x$ac_cv_func_modff" = xyes; then :
24887 cat >>confdefs.h <<_ACEOF
24888 #define HAVE_MODFF 1
24889 _ACEOF
24892 done
24894 else
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24897 $as_echo_n "checking for _modff declaration... " >&6; }
24898 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24899 if ${glibcxx_cv_func__modff_use+:} false; then :
24900 $as_echo_n "(cached) " >&6
24901 else
24904 ac_ext=cpp
24905 ac_cpp='$CXXCPP $CPPFLAGS'
24906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24911 /* end confdefs.h. */
24912 #include <math.h>
24914 main ()
24916 _modff(0, 0);
24918 return 0;
24920 _ACEOF
24921 if ac_fn_cxx_try_compile "$LINENO"; then :
24922 glibcxx_cv_func__modff_use=yes
24923 else
24924 glibcxx_cv_func__modff_use=no
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 ac_ext=c
24928 ac_cpp='$CPP $CPPFLAGS'
24929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24938 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24940 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24941 for ac_func in _modff
24942 do :
24943 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24944 if test "x$ac_cv_func__modff" = xyes; then :
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE__MODFF 1
24947 _ACEOF
24950 done
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24960 $as_echo_n "checking for modf declaration... " >&6; }
24961 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24962 if ${glibcxx_cv_func_modf_use+:} false; then :
24963 $as_echo_n "(cached) " >&6
24964 else
24967 ac_ext=cpp
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24975 #include <math.h>
24977 main ()
24979 modf(0, 0);
24981 return 0;
24983 _ACEOF
24984 if ac_fn_cxx_try_compile "$LINENO"; then :
24985 glibcxx_cv_func_modf_use=yes
24986 else
24987 glibcxx_cv_func_modf_use=no
24989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 ac_ext=c
24991 ac_cpp='$CPP $CPPFLAGS'
24992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25001 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25003 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25004 for ac_func in modf
25005 do :
25006 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25007 if test "x$ac_cv_func_modf" = xyes; then :
25008 cat >>confdefs.h <<_ACEOF
25009 #define HAVE_MODF 1
25010 _ACEOF
25013 done
25015 else
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25018 $as_echo_n "checking for _modf declaration... " >&6; }
25019 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25020 if ${glibcxx_cv_func__modf_use+:} false; then :
25021 $as_echo_n "(cached) " >&6
25022 else
25025 ac_ext=cpp
25026 ac_cpp='$CXXCPP $CPPFLAGS'
25027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25032 /* end confdefs.h. */
25033 #include <math.h>
25035 main ()
25037 _modf(0, 0);
25039 return 0;
25041 _ACEOF
25042 if ac_fn_cxx_try_compile "$LINENO"; then :
25043 glibcxx_cv_func__modf_use=yes
25044 else
25045 glibcxx_cv_func__modf_use=no
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25059 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25061 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25062 for ac_func in _modf
25063 do :
25064 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25065 if test "x$ac_cv_func__modf" = xyes; then :
25066 cat >>confdefs.h <<_ACEOF
25067 #define HAVE__MODF 1
25068 _ACEOF
25071 done
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25081 $as_echo_n "checking for powf declaration... " >&6; }
25082 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25083 if ${glibcxx_cv_func_powf_use+:} false; then :
25084 $as_echo_n "(cached) " >&6
25085 else
25088 ac_ext=cpp
25089 ac_cpp='$CXXCPP $CPPFLAGS'
25090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25095 /* end confdefs.h. */
25096 #include <math.h>
25098 main ()
25100 powf(0, 0);
25102 return 0;
25104 _ACEOF
25105 if ac_fn_cxx_try_compile "$LINENO"; then :
25106 glibcxx_cv_func_powf_use=yes
25107 else
25108 glibcxx_cv_func_powf_use=no
25110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25111 ac_ext=c
25112 ac_cpp='$CPP $CPPFLAGS'
25113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25122 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25125 for ac_func in powf
25126 do :
25127 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25128 if test "x$ac_cv_func_powf" = xyes; then :
25129 cat >>confdefs.h <<_ACEOF
25130 #define HAVE_POWF 1
25131 _ACEOF
25134 done
25136 else
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25139 $as_echo_n "checking for _powf declaration... " >&6; }
25140 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25141 if ${glibcxx_cv_func__powf_use+:} false; then :
25142 $as_echo_n "(cached) " >&6
25143 else
25146 ac_ext=cpp
25147 ac_cpp='$CXXCPP $CPPFLAGS'
25148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25153 /* end confdefs.h. */
25154 #include <math.h>
25156 main ()
25158 _powf(0, 0);
25160 return 0;
25162 _ACEOF
25163 if ac_fn_cxx_try_compile "$LINENO"; then :
25164 glibcxx_cv_func__powf_use=yes
25165 else
25166 glibcxx_cv_func__powf_use=no
25168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25169 ac_ext=c
25170 ac_cpp='$CPP $CPPFLAGS'
25171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25180 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25182 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25183 for ac_func in _powf
25184 do :
25185 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25186 if test "x$ac_cv_func__powf" = xyes; then :
25187 cat >>confdefs.h <<_ACEOF
25188 #define HAVE__POWF 1
25189 _ACEOF
25192 done
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25202 $as_echo_n "checking for sqrtf declaration... " >&6; }
25203 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25204 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25205 $as_echo_n "(cached) " >&6
25206 else
25209 ac_ext=cpp
25210 ac_cpp='$CXXCPP $CPPFLAGS'
25211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25216 /* end confdefs.h. */
25217 #include <math.h>
25218 #ifdef HAVE_IEEEFP_H
25219 #include <ieeefp.h>
25220 #endif
25223 main ()
25225 sqrtf(0);
25227 return 0;
25229 _ACEOF
25230 if ac_fn_cxx_try_compile "$LINENO"; then :
25231 glibcxx_cv_func_sqrtf_use=yes
25232 else
25233 glibcxx_cv_func_sqrtf_use=no
25235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25236 ac_ext=c
25237 ac_cpp='$CPP $CPPFLAGS'
25238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25247 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25249 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25250 for ac_func in sqrtf
25251 do :
25252 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25253 if test "x$ac_cv_func_sqrtf" = xyes; then :
25254 cat >>confdefs.h <<_ACEOF
25255 #define HAVE_SQRTF 1
25256 _ACEOF
25259 done
25261 else
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25264 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25265 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25266 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25267 $as_echo_n "(cached) " >&6
25268 else
25271 ac_ext=cpp
25272 ac_cpp='$CXXCPP $CPPFLAGS'
25273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25278 /* end confdefs.h. */
25279 #include <math.h>
25280 #ifdef HAVE_IEEEFP_H
25281 #include <ieeefp.h>
25282 #endif
25285 main ()
25287 _sqrtf(0);
25289 return 0;
25291 _ACEOF
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func__sqrtf_use=yes
25294 else
25295 glibcxx_cv_func__sqrtf_use=no
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 ac_ext=c
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25309 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25311 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25312 for ac_func in _sqrtf
25313 do :
25314 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25315 if test "x$ac_cv_func__sqrtf" = xyes; then :
25316 cat >>confdefs.h <<_ACEOF
25317 #define HAVE__SQRTF 1
25318 _ACEOF
25321 done
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25331 $as_echo_n "checking for sincosf declaration... " >&6; }
25332 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25333 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25334 $as_echo_n "(cached) " >&6
25335 else
25338 ac_ext=cpp
25339 ac_cpp='$CXXCPP $CPPFLAGS'
25340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 sincosf(0, 0, 0);
25352 return 0;
25354 _ACEOF
25355 if ac_fn_cxx_try_compile "$LINENO"; then :
25356 glibcxx_cv_func_sincosf_use=yes
25357 else
25358 glibcxx_cv_func_sincosf_use=no
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25372 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25374 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25375 for ac_func in sincosf
25376 do :
25377 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25378 if test "x$ac_cv_func_sincosf" = xyes; then :
25379 cat >>confdefs.h <<_ACEOF
25380 #define HAVE_SINCOSF 1
25381 _ACEOF
25384 done
25386 else
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25389 $as_echo_n "checking for _sincosf declaration... " >&6; }
25390 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25391 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25392 $as_echo_n "(cached) " >&6
25393 else
25396 ac_ext=cpp
25397 ac_cpp='$CXXCPP $CPPFLAGS'
25398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25404 #include <math.h>
25406 main ()
25408 _sincosf(0, 0, 0);
25410 return 0;
25412 _ACEOF
25413 if ac_fn_cxx_try_compile "$LINENO"; then :
25414 glibcxx_cv_func__sincosf_use=yes
25415 else
25416 glibcxx_cv_func__sincosf_use=no
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25430 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25432 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25433 for ac_func in _sincosf
25434 do :
25435 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25436 if test "x$ac_cv_func__sincosf" = xyes; then :
25437 cat >>confdefs.h <<_ACEOF
25438 #define HAVE__SINCOSF 1
25439 _ACEOF
25442 done
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25452 $as_echo_n "checking for finitef declaration... " >&6; }
25453 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25454 if ${glibcxx_cv_func_finitef_use+:} false; then :
25455 $as_echo_n "(cached) " >&6
25456 else
25459 ac_ext=cpp
25460 ac_cpp='$CXXCPP $CPPFLAGS'
25461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25466 /* end confdefs.h. */
25467 #include <math.h>
25468 #ifdef HAVE_IEEEFP_H
25469 #include <ieeefp.h>
25470 #endif
25473 main ()
25475 finitef(0);
25477 return 0;
25479 _ACEOF
25480 if ac_fn_cxx_try_compile "$LINENO"; then :
25481 glibcxx_cv_func_finitef_use=yes
25482 else
25483 glibcxx_cv_func_finitef_use=no
25485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25486 ac_ext=c
25487 ac_cpp='$CPP $CPPFLAGS'
25488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25497 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25499 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25500 for ac_func in finitef
25501 do :
25502 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25503 if test "x$ac_cv_func_finitef" = xyes; then :
25504 cat >>confdefs.h <<_ACEOF
25505 #define HAVE_FINITEF 1
25506 _ACEOF
25509 done
25511 else
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25514 $as_echo_n "checking for _finitef declaration... " >&6; }
25515 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25516 if ${glibcxx_cv_func__finitef_use+:} false; then :
25517 $as_echo_n "(cached) " >&6
25518 else
25521 ac_ext=cpp
25522 ac_cpp='$CXXCPP $CPPFLAGS'
25523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25528 /* end confdefs.h. */
25529 #include <math.h>
25530 #ifdef HAVE_IEEEFP_H
25531 #include <ieeefp.h>
25532 #endif
25535 main ()
25537 _finitef(0);
25539 return 0;
25541 _ACEOF
25542 if ac_fn_cxx_try_compile "$LINENO"; then :
25543 glibcxx_cv_func__finitef_use=yes
25544 else
25545 glibcxx_cv_func__finitef_use=no
25547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25548 ac_ext=c
25549 ac_cpp='$CPP $CPPFLAGS'
25550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25559 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25561 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25562 for ac_func in _finitef
25563 do :
25564 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25565 if test "x$ac_cv_func__finitef" = xyes; then :
25566 cat >>confdefs.h <<_ACEOF
25567 #define HAVE__FINITEF 1
25568 _ACEOF
25571 done
25580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25581 $as_echo_n "checking for long double trig functions... " >&6; }
25582 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25583 $as_echo_n "(cached) " >&6
25584 else
25587 ac_ext=cpp
25588 ac_cpp='$CXXCPP $CPPFLAGS'
25589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25594 /* end confdefs.h. */
25595 #include <math.h>
25597 main ()
25599 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25601 return 0;
25603 _ACEOF
25604 if ac_fn_cxx_try_compile "$LINENO"; then :
25605 glibcxx_cv_func_long_double_trig_use=yes
25606 else
25607 glibcxx_cv_func_long_double_trig_use=no
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610 ac_ext=c
25611 ac_cpp='$CPP $CPPFLAGS'
25612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25619 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25620 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25621 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25622 do :
25623 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25625 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25626 cat >>confdefs.h <<_ACEOF
25627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25628 _ACEOF
25631 done
25633 else
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25635 $as_echo_n "checking for _long double trig functions... " >&6; }
25636 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25637 $as_echo_n "(cached) " >&6
25638 else
25641 ac_ext=cpp
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25648 /* end confdefs.h. */
25649 #include <math.h>
25651 main ()
25653 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25655 return 0;
25657 _ACEOF
25658 if ac_fn_cxx_try_compile "$LINENO"; then :
25659 glibcxx_cv_func__long_double_trig_use=yes
25660 else
25661 glibcxx_cv_func__long_double_trig_use=no
25663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25664 ac_ext=c
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25673 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25674 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25675 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25676 do :
25677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25678 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25679 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25682 _ACEOF
25685 done
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25695 $as_echo_n "checking for long double round functions... " >&6; }
25696 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25697 $as_echo_n "(cached) " >&6
25698 else
25701 ac_ext=cpp
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25708 /* end confdefs.h. */
25709 #include <math.h>
25711 main ()
25713 ceill (0); floorl (0);
25715 return 0;
25717 _ACEOF
25718 if ac_fn_cxx_try_compile "$LINENO"; then :
25719 glibcxx_cv_func_long_double_round_use=yes
25720 else
25721 glibcxx_cv_func_long_double_round_use=no
25723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25724 ac_ext=c
25725 ac_cpp='$CPP $CPPFLAGS'
25726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25733 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25734 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25735 for ac_func in ceill floorl
25736 do :
25737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25740 cat >>confdefs.h <<_ACEOF
25741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25742 _ACEOF
25745 done
25747 else
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25749 $as_echo_n "checking for _long double round functions... " >&6; }
25750 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25751 $as_echo_n "(cached) " >&6
25752 else
25755 ac_ext=cpp
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25763 #include <math.h>
25765 main ()
25767 _ceill (0); _floorl (0);
25769 return 0;
25771 _ACEOF
25772 if ac_fn_cxx_try_compile "$LINENO"; then :
25773 glibcxx_cv_func__long_double_round_use=yes
25774 else
25775 glibcxx_cv_func__long_double_round_use=no
25777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25778 ac_ext=c
25779 ac_cpp='$CPP $CPPFLAGS'
25780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25787 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25788 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25789 for ac_func in _ceill _floorl
25790 do :
25791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25794 cat >>confdefs.h <<_ACEOF
25795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25796 _ACEOF
25799 done
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25810 $as_echo_n "checking for isnanl declaration... " >&6; }
25811 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25812 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25813 $as_echo_n "(cached) " >&6
25814 else
25817 ac_ext=cpp
25818 ac_cpp='$CXXCPP $CPPFLAGS'
25819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h. */
25825 #include <math.h>
25826 #ifdef HAVE_IEEEFP_H
25827 #include <ieeefp.h>
25828 #endif
25831 main ()
25833 isnanl(0);
25835 return 0;
25837 _ACEOF
25838 if ac_fn_cxx_try_compile "$LINENO"; then :
25839 glibcxx_cv_func_isnanl_use=yes
25840 else
25841 glibcxx_cv_func_isnanl_use=no
25843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25844 ac_ext=c
25845 ac_cpp='$CPP $CPPFLAGS'
25846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25855 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25857 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25858 for ac_func in isnanl
25859 do :
25860 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25861 if test "x$ac_cv_func_isnanl" = xyes; then :
25862 cat >>confdefs.h <<_ACEOF
25863 #define HAVE_ISNANL 1
25864 _ACEOF
25867 done
25869 else
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25872 $as_echo_n "checking for _isnanl declaration... " >&6; }
25873 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25874 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25875 $as_echo_n "(cached) " >&6
25876 else
25879 ac_ext=cpp
25880 ac_cpp='$CXXCPP $CPPFLAGS'
25881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25886 /* end confdefs.h. */
25887 #include <math.h>
25888 #ifdef HAVE_IEEEFP_H
25889 #include <ieeefp.h>
25890 #endif
25893 main ()
25895 _isnanl(0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func__isnanl_use=yes
25902 else
25903 glibcxx_cv_func__isnanl_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25917 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25919 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25920 for ac_func in _isnanl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25923 if test "x$ac_cv_func__isnanl" = xyes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE__ISNANL 1
25926 _ACEOF
25929 done
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25939 $as_echo_n "checking for isinfl declaration... " >&6; }
25940 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25941 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25942 $as_echo_n "(cached) " >&6
25943 else
25946 ac_ext=cpp
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954 #include <math.h>
25955 #ifdef HAVE_IEEEFP_H
25956 #include <ieeefp.h>
25957 #endif
25960 main ()
25962 isinfl(0);
25964 return 0;
25966 _ACEOF
25967 if ac_fn_cxx_try_compile "$LINENO"; then :
25968 glibcxx_cv_func_isinfl_use=yes
25969 else
25970 glibcxx_cv_func_isinfl_use=no
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25984 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25986 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25987 for ac_func in isinfl
25988 do :
25989 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25990 if test "x$ac_cv_func_isinfl" = xyes; then :
25991 cat >>confdefs.h <<_ACEOF
25992 #define HAVE_ISINFL 1
25993 _ACEOF
25996 done
25998 else
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26001 $as_echo_n "checking for _isinfl declaration... " >&6; }
26002 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26003 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26008 ac_ext=cpp
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26016 #include <math.h>
26017 #ifdef HAVE_IEEEFP_H
26018 #include <ieeefp.h>
26019 #endif
26022 main ()
26024 _isinfl(0);
26026 return 0;
26028 _ACEOF
26029 if ac_fn_cxx_try_compile "$LINENO"; then :
26030 glibcxx_cv_func__isinfl_use=yes
26031 else
26032 glibcxx_cv_func__isinfl_use=no
26034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 ac_ext=c
26036 ac_cpp='$CPP $CPPFLAGS'
26037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26046 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26048 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26049 for ac_func in _isinfl
26050 do :
26051 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26052 if test "x$ac_cv_func__isinfl" = xyes; then :
26053 cat >>confdefs.h <<_ACEOF
26054 #define HAVE__ISINFL 1
26055 _ACEOF
26058 done
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26068 $as_echo_n "checking for atan2l declaration... " >&6; }
26069 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26070 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26071 $as_echo_n "(cached) " >&6
26072 else
26075 ac_ext=cpp
26076 ac_cpp='$CXXCPP $CPPFLAGS'
26077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26083 #include <math.h>
26085 main ()
26087 atan2l(0, 0);
26089 return 0;
26091 _ACEOF
26092 if ac_fn_cxx_try_compile "$LINENO"; then :
26093 glibcxx_cv_func_atan2l_use=yes
26094 else
26095 glibcxx_cv_func_atan2l_use=no
26097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26098 ac_ext=c
26099 ac_cpp='$CPP $CPPFLAGS'
26100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26109 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26111 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26112 for ac_func in atan2l
26113 do :
26114 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26115 if test "x$ac_cv_func_atan2l" = xyes; then :
26116 cat >>confdefs.h <<_ACEOF
26117 #define HAVE_ATAN2L 1
26118 _ACEOF
26121 done
26123 else
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26126 $as_echo_n "checking for _atan2l declaration... " >&6; }
26127 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26128 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26143 main ()
26145 _atan2l(0, 0);
26147 return 0;
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func__atan2l_use=yes
26152 else
26153 glibcxx_cv_func__atan2l_use=no
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26167 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26169 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26170 for ac_func in _atan2l
26171 do :
26172 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26173 if test "x$ac_cv_func__atan2l" = xyes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE__ATAN2L 1
26176 _ACEOF
26179 done
26188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26189 $as_echo_n "checking for expl declaration... " >&6; }
26190 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26191 if ${glibcxx_cv_func_expl_use+:} false; then :
26192 $as_echo_n "(cached) " >&6
26193 else
26196 ac_ext=cpp
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26204 #include <math.h>
26205 #ifdef HAVE_IEEEFP_H
26206 #include <ieeefp.h>
26207 #endif
26210 main ()
26212 expl(0);
26214 return 0;
26216 _ACEOF
26217 if ac_fn_cxx_try_compile "$LINENO"; then :
26218 glibcxx_cv_func_expl_use=yes
26219 else
26220 glibcxx_cv_func_expl_use=no
26222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26223 ac_ext=c
26224 ac_cpp='$CPP $CPPFLAGS'
26225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26234 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26236 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26237 for ac_func in expl
26238 do :
26239 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26240 if test "x$ac_cv_func_expl" = xyes; then :
26241 cat >>confdefs.h <<_ACEOF
26242 #define HAVE_EXPL 1
26243 _ACEOF
26246 done
26248 else
26250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26251 $as_echo_n "checking for _expl declaration... " >&6; }
26252 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26253 if ${glibcxx_cv_func__expl_use+:} false; then :
26254 $as_echo_n "(cached) " >&6
26255 else
26258 ac_ext=cpp
26259 ac_cpp='$CXXCPP $CPPFLAGS'
26260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26265 /* end confdefs.h. */
26266 #include <math.h>
26267 #ifdef HAVE_IEEEFP_H
26268 #include <ieeefp.h>
26269 #endif
26272 main ()
26274 _expl(0);
26276 return 0;
26278 _ACEOF
26279 if ac_fn_cxx_try_compile "$LINENO"; then :
26280 glibcxx_cv_func__expl_use=yes
26281 else
26282 glibcxx_cv_func__expl_use=no
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 ac_ext=c
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26296 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26298 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26299 for ac_func in _expl
26300 do :
26301 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26302 if test "x$ac_cv_func__expl" = xyes; then :
26303 cat >>confdefs.h <<_ACEOF
26304 #define HAVE__EXPL 1
26305 _ACEOF
26308 done
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26318 $as_echo_n "checking for fabsl declaration... " >&6; }
26319 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26320 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26321 $as_echo_n "(cached) " >&6
26322 else
26325 ac_ext=cpp
26326 ac_cpp='$CXXCPP $CPPFLAGS'
26327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26332 /* end confdefs.h. */
26333 #include <math.h>
26334 #ifdef HAVE_IEEEFP_H
26335 #include <ieeefp.h>
26336 #endif
26339 main ()
26341 fabsl(0);
26343 return 0;
26345 _ACEOF
26346 if ac_fn_cxx_try_compile "$LINENO"; then :
26347 glibcxx_cv_func_fabsl_use=yes
26348 else
26349 glibcxx_cv_func_fabsl_use=no
26351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26352 ac_ext=c
26353 ac_cpp='$CPP $CPPFLAGS'
26354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26363 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26365 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26366 for ac_func in fabsl
26367 do :
26368 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26369 if test "x$ac_cv_func_fabsl" = xyes; then :
26370 cat >>confdefs.h <<_ACEOF
26371 #define HAVE_FABSL 1
26372 _ACEOF
26375 done
26377 else
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26380 $as_echo_n "checking for _fabsl declaration... " >&6; }
26381 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26382 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26383 $as_echo_n "(cached) " >&6
26384 else
26387 ac_ext=cpp
26388 ac_cpp='$CXXCPP $CPPFLAGS'
26389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26394 /* end confdefs.h. */
26395 #include <math.h>
26396 #ifdef HAVE_IEEEFP_H
26397 #include <ieeefp.h>
26398 #endif
26401 main ()
26403 _fabsl(0);
26405 return 0;
26407 _ACEOF
26408 if ac_fn_cxx_try_compile "$LINENO"; then :
26409 glibcxx_cv_func__fabsl_use=yes
26410 else
26411 glibcxx_cv_func__fabsl_use=no
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26425 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26427 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26428 for ac_func in _fabsl
26429 do :
26430 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26431 if test "x$ac_cv_func__fabsl" = xyes; then :
26432 cat >>confdefs.h <<_ACEOF
26433 #define HAVE__FABSL 1
26434 _ACEOF
26437 done
26446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26447 $as_echo_n "checking for fmodl declaration... " >&6; }
26448 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26449 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26450 $as_echo_n "(cached) " >&6
26451 else
26454 ac_ext=cpp
26455 ac_cpp='$CXXCPP $CPPFLAGS'
26456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26461 /* end confdefs.h. */
26462 #include <math.h>
26464 main ()
26466 fmodl(0, 0);
26468 return 0;
26470 _ACEOF
26471 if ac_fn_cxx_try_compile "$LINENO"; then :
26472 glibcxx_cv_func_fmodl_use=yes
26473 else
26474 glibcxx_cv_func_fmodl_use=no
26476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26477 ac_ext=c
26478 ac_cpp='$CPP $CPPFLAGS'
26479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26488 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26490 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26491 for ac_func in fmodl
26492 do :
26493 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26494 if test "x$ac_cv_func_fmodl" = xyes; then :
26495 cat >>confdefs.h <<_ACEOF
26496 #define HAVE_FMODL 1
26497 _ACEOF
26500 done
26502 else
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26505 $as_echo_n "checking for _fmodl declaration... " >&6; }
26506 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26507 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26508 $as_echo_n "(cached) " >&6
26509 else
26512 ac_ext=cpp
26513 ac_cpp='$CXXCPP $CPPFLAGS'
26514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26519 /* end confdefs.h. */
26520 #include <math.h>
26522 main ()
26524 _fmodl(0, 0);
26526 return 0;
26528 _ACEOF
26529 if ac_fn_cxx_try_compile "$LINENO"; then :
26530 glibcxx_cv_func__fmodl_use=yes
26531 else
26532 glibcxx_cv_func__fmodl_use=no
26534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26535 ac_ext=c
26536 ac_cpp='$CPP $CPPFLAGS'
26537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26546 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26548 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26549 for ac_func in _fmodl
26550 do :
26551 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26552 if test "x$ac_cv_func__fmodl" = xyes; then :
26553 cat >>confdefs.h <<_ACEOF
26554 #define HAVE__FMODL 1
26555 _ACEOF
26558 done
26567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26568 $as_echo_n "checking for frexpl declaration... " >&6; }
26569 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26570 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26571 $as_echo_n "(cached) " >&6
26572 else
26575 ac_ext=cpp
26576 ac_cpp='$CXXCPP $CPPFLAGS'
26577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26582 /* end confdefs.h. */
26583 #include <math.h>
26585 main ()
26587 frexpl(0, 0);
26589 return 0;
26591 _ACEOF
26592 if ac_fn_cxx_try_compile "$LINENO"; then :
26593 glibcxx_cv_func_frexpl_use=yes
26594 else
26595 glibcxx_cv_func_frexpl_use=no
26597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26598 ac_ext=c
26599 ac_cpp='$CPP $CPPFLAGS'
26600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26609 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26611 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26612 for ac_func in frexpl
26613 do :
26614 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26615 if test "x$ac_cv_func_frexpl" = xyes; then :
26616 cat >>confdefs.h <<_ACEOF
26617 #define HAVE_FREXPL 1
26618 _ACEOF
26621 done
26623 else
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26626 $as_echo_n "checking for _frexpl declaration... " >&6; }
26627 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26628 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26629 $as_echo_n "(cached) " >&6
26630 else
26633 ac_ext=cpp
26634 ac_cpp='$CXXCPP $CPPFLAGS'
26635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640 /* end confdefs.h. */
26641 #include <math.h>
26643 main ()
26645 _frexpl(0, 0);
26647 return 0;
26649 _ACEOF
26650 if ac_fn_cxx_try_compile "$LINENO"; then :
26651 glibcxx_cv_func__frexpl_use=yes
26652 else
26653 glibcxx_cv_func__frexpl_use=no
26655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26656 ac_ext=c
26657 ac_cpp='$CPP $CPPFLAGS'
26658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26667 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26670 for ac_func in _frexpl
26671 do :
26672 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26673 if test "x$ac_cv_func__frexpl" = xyes; then :
26674 cat >>confdefs.h <<_ACEOF
26675 #define HAVE__FREXPL 1
26676 _ACEOF
26679 done
26688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26689 $as_echo_n "checking for hypotl declaration... " >&6; }
26690 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26691 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26692 $as_echo_n "(cached) " >&6
26693 else
26696 ac_ext=cpp
26697 ac_cpp='$CXXCPP $CPPFLAGS'
26698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703 /* end confdefs.h. */
26704 #include <math.h>
26706 main ()
26708 hypotl(0, 0);
26710 return 0;
26712 _ACEOF
26713 if ac_fn_cxx_try_compile "$LINENO"; then :
26714 glibcxx_cv_func_hypotl_use=yes
26715 else
26716 glibcxx_cv_func_hypotl_use=no
26718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26719 ac_ext=c
26720 ac_cpp='$CPP $CPPFLAGS'
26721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26730 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26732 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26733 for ac_func in hypotl
26734 do :
26735 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26736 if test "x$ac_cv_func_hypotl" = xyes; then :
26737 cat >>confdefs.h <<_ACEOF
26738 #define HAVE_HYPOTL 1
26739 _ACEOF
26742 done
26744 else
26746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26747 $as_echo_n "checking for _hypotl declaration... " >&6; }
26748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26749 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26750 $as_echo_n "(cached) " >&6
26751 else
26754 ac_ext=cpp
26755 ac_cpp='$CXXCPP $CPPFLAGS'
26756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26761 /* end confdefs.h. */
26762 #include <math.h>
26764 main ()
26766 _hypotl(0, 0);
26768 return 0;
26770 _ACEOF
26771 if ac_fn_cxx_try_compile "$LINENO"; then :
26772 glibcxx_cv_func__hypotl_use=yes
26773 else
26774 glibcxx_cv_func__hypotl_use=no
26776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26777 ac_ext=c
26778 ac_cpp='$CPP $CPPFLAGS'
26779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26788 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26790 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26791 for ac_func in _hypotl
26792 do :
26793 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26794 if test "x$ac_cv_func__hypotl" = xyes; then :
26795 cat >>confdefs.h <<_ACEOF
26796 #define HAVE__HYPOTL 1
26797 _ACEOF
26800 done
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26810 $as_echo_n "checking for ldexpl declaration... " >&6; }
26811 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26812 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26813 $as_echo_n "(cached) " >&6
26814 else
26817 ac_ext=cpp
26818 ac_cpp='$CXXCPP $CPPFLAGS'
26819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26824 /* end confdefs.h. */
26825 #include <math.h>
26827 main ()
26829 ldexpl(0, 0);
26831 return 0;
26833 _ACEOF
26834 if ac_fn_cxx_try_compile "$LINENO"; then :
26835 glibcxx_cv_func_ldexpl_use=yes
26836 else
26837 glibcxx_cv_func_ldexpl_use=no
26839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26840 ac_ext=c
26841 ac_cpp='$CPP $CPPFLAGS'
26842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26851 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26853 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26854 for ac_func in ldexpl
26855 do :
26856 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26857 if test "x$ac_cv_func_ldexpl" = xyes; then :
26858 cat >>confdefs.h <<_ACEOF
26859 #define HAVE_LDEXPL 1
26860 _ACEOF
26863 done
26865 else
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26868 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26869 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26870 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26875 ac_ext=cpp
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 #include <math.h>
26885 main ()
26887 _ldexpl(0, 0);
26889 return 0;
26891 _ACEOF
26892 if ac_fn_cxx_try_compile "$LINENO"; then :
26893 glibcxx_cv_func__ldexpl_use=yes
26894 else
26895 glibcxx_cv_func__ldexpl_use=no
26897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26898 ac_ext=c
26899 ac_cpp='$CPP $CPPFLAGS'
26900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26909 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26911 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26912 for ac_func in _ldexpl
26913 do :
26914 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26915 if test "x$ac_cv_func__ldexpl" = xyes; then :
26916 cat >>confdefs.h <<_ACEOF
26917 #define HAVE__LDEXPL 1
26918 _ACEOF
26921 done
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26931 $as_echo_n "checking for logl declaration... " >&6; }
26932 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26933 if ${glibcxx_cv_func_logl_use+:} false; then :
26934 $as_echo_n "(cached) " >&6
26935 else
26938 ac_ext=cpp
26939 ac_cpp='$CXXCPP $CPPFLAGS'
26940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26945 /* end confdefs.h. */
26946 #include <math.h>
26947 #ifdef HAVE_IEEEFP_H
26948 #include <ieeefp.h>
26949 #endif
26952 main ()
26954 logl(0);
26956 return 0;
26958 _ACEOF
26959 if ac_fn_cxx_try_compile "$LINENO"; then :
26960 glibcxx_cv_func_logl_use=yes
26961 else
26962 glibcxx_cv_func_logl_use=no
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 ac_ext=c
26966 ac_cpp='$CPP $CPPFLAGS'
26967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26976 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26978 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26979 for ac_func in logl
26980 do :
26981 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26982 if test "x$ac_cv_func_logl" = xyes; then :
26983 cat >>confdefs.h <<_ACEOF
26984 #define HAVE_LOGL 1
26985 _ACEOF
26988 done
26990 else
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26993 $as_echo_n "checking for _logl declaration... " >&6; }
26994 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26995 if ${glibcxx_cv_func__logl_use+:} false; then :
26996 $as_echo_n "(cached) " >&6
26997 else
27000 ac_ext=cpp
27001 ac_cpp='$CXXCPP $CPPFLAGS'
27002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27007 /* end confdefs.h. */
27008 #include <math.h>
27009 #ifdef HAVE_IEEEFP_H
27010 #include <ieeefp.h>
27011 #endif
27014 main ()
27016 _logl(0);
27018 return 0;
27020 _ACEOF
27021 if ac_fn_cxx_try_compile "$LINENO"; then :
27022 glibcxx_cv_func__logl_use=yes
27023 else
27024 glibcxx_cv_func__logl_use=no
27026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27027 ac_ext=c
27028 ac_cpp='$CPP $CPPFLAGS'
27029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27038 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27040 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27041 for ac_func in _logl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27044 if test "x$ac_cv_func__logl" = xyes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE__LOGL 1
27047 _ACEOF
27050 done
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27060 $as_echo_n "checking for log10l declaration... " >&6; }
27061 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27062 if ${glibcxx_cv_func_log10l_use+:} false; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27067 ac_ext=cpp
27068 ac_cpp='$CXXCPP $CPPFLAGS'
27069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27074 /* end confdefs.h. */
27075 #include <math.h>
27076 #ifdef HAVE_IEEEFP_H
27077 #include <ieeefp.h>
27078 #endif
27081 main ()
27083 log10l(0);
27085 return 0;
27087 _ACEOF
27088 if ac_fn_cxx_try_compile "$LINENO"; then :
27089 glibcxx_cv_func_log10l_use=yes
27090 else
27091 glibcxx_cv_func_log10l_use=no
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27105 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27107 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27108 for ac_func in log10l
27109 do :
27110 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27111 if test "x$ac_cv_func_log10l" = xyes; then :
27112 cat >>confdefs.h <<_ACEOF
27113 #define HAVE_LOG10L 1
27114 _ACEOF
27117 done
27119 else
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27122 $as_echo_n "checking for _log10l declaration... " >&6; }
27123 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27124 if ${glibcxx_cv_func__log10l_use+:} false; then :
27125 $as_echo_n "(cached) " >&6
27126 else
27129 ac_ext=cpp
27130 ac_cpp='$CXXCPP $CPPFLAGS'
27131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27136 /* end confdefs.h. */
27137 #include <math.h>
27138 #ifdef HAVE_IEEEFP_H
27139 #include <ieeefp.h>
27140 #endif
27143 main ()
27145 _log10l(0);
27147 return 0;
27149 _ACEOF
27150 if ac_fn_cxx_try_compile "$LINENO"; then :
27151 glibcxx_cv_func__log10l_use=yes
27152 else
27153 glibcxx_cv_func__log10l_use=no
27155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27156 ac_ext=c
27157 ac_cpp='$CPP $CPPFLAGS'
27158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27167 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27169 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27170 for ac_func in _log10l
27171 do :
27172 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27173 if test "x$ac_cv_func__log10l" = xyes; then :
27174 cat >>confdefs.h <<_ACEOF
27175 #define HAVE__LOG10L 1
27176 _ACEOF
27179 done
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27189 $as_echo_n "checking for modfl declaration... " >&6; }
27190 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27191 if ${glibcxx_cv_func_modfl_use+:} false; then :
27192 $as_echo_n "(cached) " >&6
27193 else
27196 ac_ext=cpp
27197 ac_cpp='$CXXCPP $CPPFLAGS'
27198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27203 /* end confdefs.h. */
27204 #include <math.h>
27206 main ()
27208 modfl(0, 0);
27210 return 0;
27212 _ACEOF
27213 if ac_fn_cxx_try_compile "$LINENO"; then :
27214 glibcxx_cv_func_modfl_use=yes
27215 else
27216 glibcxx_cv_func_modfl_use=no
27218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27219 ac_ext=c
27220 ac_cpp='$CPP $CPPFLAGS'
27221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27230 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27232 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27233 for ac_func in modfl
27234 do :
27235 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27236 if test "x$ac_cv_func_modfl" = xyes; then :
27237 cat >>confdefs.h <<_ACEOF
27238 #define HAVE_MODFL 1
27239 _ACEOF
27242 done
27244 else
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27247 $as_echo_n "checking for _modfl declaration... " >&6; }
27248 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27249 if ${glibcxx_cv_func__modfl_use+:} false; then :
27250 $as_echo_n "(cached) " >&6
27251 else
27254 ac_ext=cpp
27255 ac_cpp='$CXXCPP $CPPFLAGS'
27256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27261 /* end confdefs.h. */
27262 #include <math.h>
27264 main ()
27266 _modfl(0, 0);
27268 return 0;
27270 _ACEOF
27271 if ac_fn_cxx_try_compile "$LINENO"; then :
27272 glibcxx_cv_func__modfl_use=yes
27273 else
27274 glibcxx_cv_func__modfl_use=no
27276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27277 ac_ext=c
27278 ac_cpp='$CPP $CPPFLAGS'
27279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27288 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27290 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27291 for ac_func in _modfl
27292 do :
27293 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27294 if test "x$ac_cv_func__modfl" = xyes; then :
27295 cat >>confdefs.h <<_ACEOF
27296 #define HAVE__MODFL 1
27297 _ACEOF
27300 done
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27310 $as_echo_n "checking for powl declaration... " >&6; }
27311 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27312 if ${glibcxx_cv_func_powl_use+:} false; then :
27313 $as_echo_n "(cached) " >&6
27314 else
27317 ac_ext=cpp
27318 ac_cpp='$CXXCPP $CPPFLAGS'
27319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27324 /* end confdefs.h. */
27325 #include <math.h>
27327 main ()
27329 powl(0, 0);
27331 return 0;
27333 _ACEOF
27334 if ac_fn_cxx_try_compile "$LINENO"; then :
27335 glibcxx_cv_func_powl_use=yes
27336 else
27337 glibcxx_cv_func_powl_use=no
27339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27340 ac_ext=c
27341 ac_cpp='$CPP $CPPFLAGS'
27342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27351 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27353 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27354 for ac_func in powl
27355 do :
27356 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27357 if test "x$ac_cv_func_powl" = xyes; then :
27358 cat >>confdefs.h <<_ACEOF
27359 #define HAVE_POWL 1
27360 _ACEOF
27363 done
27365 else
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27368 $as_echo_n "checking for _powl declaration... " >&6; }
27369 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27370 if ${glibcxx_cv_func__powl_use+:} false; then :
27371 $as_echo_n "(cached) " >&6
27372 else
27375 ac_ext=cpp
27376 ac_cpp='$CXXCPP $CPPFLAGS'
27377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27382 /* end confdefs.h. */
27383 #include <math.h>
27385 main ()
27387 _powl(0, 0);
27389 return 0;
27391 _ACEOF
27392 if ac_fn_cxx_try_compile "$LINENO"; then :
27393 glibcxx_cv_func__powl_use=yes
27394 else
27395 glibcxx_cv_func__powl_use=no
27397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27398 ac_ext=c
27399 ac_cpp='$CPP $CPPFLAGS'
27400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27409 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27411 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27412 for ac_func in _powl
27413 do :
27414 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27415 if test "x$ac_cv_func__powl" = xyes; then :
27416 cat >>confdefs.h <<_ACEOF
27417 #define HAVE__POWL 1
27418 _ACEOF
27421 done
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27431 $as_echo_n "checking for sqrtl declaration... " >&6; }
27432 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27433 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27434 $as_echo_n "(cached) " >&6
27435 else
27438 ac_ext=cpp
27439 ac_cpp='$CXXCPP $CPPFLAGS'
27440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27445 /* end confdefs.h. */
27446 #include <math.h>
27447 #ifdef HAVE_IEEEFP_H
27448 #include <ieeefp.h>
27449 #endif
27452 main ()
27454 sqrtl(0);
27456 return 0;
27458 _ACEOF
27459 if ac_fn_cxx_try_compile "$LINENO"; then :
27460 glibcxx_cv_func_sqrtl_use=yes
27461 else
27462 glibcxx_cv_func_sqrtl_use=no
27464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27465 ac_ext=c
27466 ac_cpp='$CPP $CPPFLAGS'
27467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27476 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27478 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27479 for ac_func in sqrtl
27480 do :
27481 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27482 if test "x$ac_cv_func_sqrtl" = xyes; then :
27483 cat >>confdefs.h <<_ACEOF
27484 #define HAVE_SQRTL 1
27485 _ACEOF
27488 done
27490 else
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27493 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27494 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27495 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27496 $as_echo_n "(cached) " >&6
27497 else
27500 ac_ext=cpp
27501 ac_cpp='$CXXCPP $CPPFLAGS'
27502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27507 /* end confdefs.h. */
27508 #include <math.h>
27509 #ifdef HAVE_IEEEFP_H
27510 #include <ieeefp.h>
27511 #endif
27514 main ()
27516 _sqrtl(0);
27518 return 0;
27520 _ACEOF
27521 if ac_fn_cxx_try_compile "$LINENO"; then :
27522 glibcxx_cv_func__sqrtl_use=yes
27523 else
27524 glibcxx_cv_func__sqrtl_use=no
27526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27527 ac_ext=c
27528 ac_cpp='$CPP $CPPFLAGS'
27529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27538 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27540 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27541 for ac_func in _sqrtl
27542 do :
27543 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27544 if test "x$ac_cv_func__sqrtl" = xyes; then :
27545 cat >>confdefs.h <<_ACEOF
27546 #define HAVE__SQRTL 1
27547 _ACEOF
27550 done
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27560 $as_echo_n "checking for sincosl declaration... " >&6; }
27561 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27562 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27563 $as_echo_n "(cached) " >&6
27564 else
27567 ac_ext=cpp
27568 ac_cpp='$CXXCPP $CPPFLAGS'
27569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27574 /* end confdefs.h. */
27575 #include <math.h>
27577 main ()
27579 sincosl(0, 0, 0);
27581 return 0;
27583 _ACEOF
27584 if ac_fn_cxx_try_compile "$LINENO"; then :
27585 glibcxx_cv_func_sincosl_use=yes
27586 else
27587 glibcxx_cv_func_sincosl_use=no
27589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27590 ac_ext=c
27591 ac_cpp='$CPP $CPPFLAGS'
27592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27601 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27603 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27604 for ac_func in sincosl
27605 do :
27606 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27607 if test "x$ac_cv_func_sincosl" = xyes; then :
27608 cat >>confdefs.h <<_ACEOF
27609 #define HAVE_SINCOSL 1
27610 _ACEOF
27613 done
27615 else
27617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27618 $as_echo_n "checking for _sincosl declaration... " >&6; }
27619 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27620 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27621 $as_echo_n "(cached) " >&6
27622 else
27625 ac_ext=cpp
27626 ac_cpp='$CXXCPP $CPPFLAGS'
27627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27632 /* end confdefs.h. */
27633 #include <math.h>
27635 main ()
27637 _sincosl(0, 0, 0);
27639 return 0;
27641 _ACEOF
27642 if ac_fn_cxx_try_compile "$LINENO"; then :
27643 glibcxx_cv_func__sincosl_use=yes
27644 else
27645 glibcxx_cv_func__sincosl_use=no
27647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27648 ac_ext=c
27649 ac_cpp='$CPP $CPPFLAGS'
27650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27659 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27661 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27662 for ac_func in _sincosl
27663 do :
27664 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27665 if test "x$ac_cv_func__sincosl" = xyes; then :
27666 cat >>confdefs.h <<_ACEOF
27667 #define HAVE__SINCOSL 1
27668 _ACEOF
27671 done
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27681 $as_echo_n "checking for finitel declaration... " >&6; }
27682 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27683 if ${glibcxx_cv_func_finitel_use+:} false; then :
27684 $as_echo_n "(cached) " >&6
27685 else
27688 ac_ext=cpp
27689 ac_cpp='$CXXCPP $CPPFLAGS'
27690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27695 /* end confdefs.h. */
27696 #include <math.h>
27697 #ifdef HAVE_IEEEFP_H
27698 #include <ieeefp.h>
27699 #endif
27702 main ()
27704 finitel(0);
27706 return 0;
27708 _ACEOF
27709 if ac_fn_cxx_try_compile "$LINENO"; then :
27710 glibcxx_cv_func_finitel_use=yes
27711 else
27712 glibcxx_cv_func_finitel_use=no
27714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27726 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27728 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27729 for ac_func in finitel
27730 do :
27731 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27732 if test "x$ac_cv_func_finitel" = xyes; then :
27733 cat >>confdefs.h <<_ACEOF
27734 #define HAVE_FINITEL 1
27735 _ACEOF
27738 done
27740 else
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27743 $as_echo_n "checking for _finitel declaration... " >&6; }
27744 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27745 if ${glibcxx_cv_func__finitel_use+:} false; then :
27746 $as_echo_n "(cached) " >&6
27747 else
27750 ac_ext=cpp
27751 ac_cpp='$CXXCPP $CPPFLAGS'
27752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27757 /* end confdefs.h. */
27758 #include <math.h>
27759 #ifdef HAVE_IEEEFP_H
27760 #include <ieeefp.h>
27761 #endif
27764 main ()
27766 _finitel(0);
27768 return 0;
27770 _ACEOF
27771 if ac_fn_cxx_try_compile "$LINENO"; then :
27772 glibcxx_cv_func__finitel_use=yes
27773 else
27774 glibcxx_cv_func__finitel_use=no
27776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27777 ac_ext=c
27778 ac_cpp='$CPP $CPPFLAGS'
27779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27788 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27790 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27791 for ac_func in _finitel
27792 do :
27793 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27794 if test "x$ac_cv_func__finitel" = xyes; then :
27795 cat >>confdefs.h <<_ACEOF
27796 #define HAVE__FINITEL 1
27797 _ACEOF
27800 done
27808 LIBS="$ac_save_LIBS"
27809 CXXFLAGS="$ac_save_CXXFLAGS"
27812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27813 ac_save_CXXFLAGS="$CXXFLAGS"
27814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27818 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27819 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27820 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27821 $as_echo_n "(cached) " >&6
27822 else
27825 ac_ext=cpp
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27832 /* end confdefs.h. */
27833 #include <stdlib.h>
27835 main ()
27837 at_quick_exit(0);
27839 return 0;
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func_at_quick_exit_use=yes
27844 else
27845 glibcxx_cv_func_at_quick_exit_use=no
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27859 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27860 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27861 for ac_func in at_quick_exit
27862 do :
27863 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27864 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27865 cat >>confdefs.h <<_ACEOF
27866 #define HAVE_AT_QUICK_EXIT 1
27867 _ACEOF
27870 done
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27876 $as_echo_n "checking for quick_exit declaration... " >&6; }
27877 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27878 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27879 $as_echo_n "(cached) " >&6
27880 else
27883 ac_ext=cpp
27884 ac_cpp='$CXXCPP $CPPFLAGS'
27885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27890 /* end confdefs.h. */
27891 #include <stdlib.h>
27893 main ()
27895 quick_exit(0);
27897 return 0;
27899 _ACEOF
27900 if ac_fn_cxx_try_compile "$LINENO"; then :
27901 glibcxx_cv_func_quick_exit_use=yes
27902 else
27903 glibcxx_cv_func_quick_exit_use=no
27905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27906 ac_ext=c
27907 ac_cpp='$CPP $CPPFLAGS'
27908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27917 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27918 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27919 for ac_func in quick_exit
27920 do :
27921 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27922 if test "x$ac_cv_func_quick_exit" = xyes; then :
27923 cat >>confdefs.h <<_ACEOF
27924 #define HAVE_QUICK_EXIT 1
27925 _ACEOF
27928 done
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27934 $as_echo_n "checking for strtold declaration... " >&6; }
27935 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27936 if ${glibcxx_cv_func_strtold_use+:} false; then :
27937 $as_echo_n "(cached) " >&6
27938 else
27941 ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 #include <stdlib.h>
27951 main ()
27953 strtold(0, 0);
27955 return 0;
27957 _ACEOF
27958 if ac_fn_cxx_try_compile "$LINENO"; then :
27959 glibcxx_cv_func_strtold_use=yes
27960 else
27961 glibcxx_cv_func_strtold_use=no
27963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27975 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27976 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27977 for ac_func in strtold
27978 do :
27979 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27980 if test "x$ac_cv_func_strtold" = xyes; then :
27981 cat >>confdefs.h <<_ACEOF
27982 #define HAVE_STRTOLD 1
27983 _ACEOF
27986 done
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27994 $as_echo_n "checking for strtof declaration... " >&6; }
27995 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27996 if ${glibcxx_cv_func_strtof_use+:} false; then :
27997 $as_echo_n "(cached) " >&6
27998 else
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <stdlib.h>
28011 main ()
28013 strtof(0, 0);
28015 return 0;
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func_strtof_use=yes
28020 else
28021 glibcxx_cv_func_strtof_use=no
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28035 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28036 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28037 for ac_func in strtof
28038 do :
28039 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28040 if test "x$ac_cv_func_strtof" = xyes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define HAVE_STRTOF 1
28043 _ACEOF
28046 done
28053 CXXFLAGS="$ac_save_CXXFLAGS"
28056 # For /dev/random and /dev/urandom for std::random_device.
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28060 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28061 if ${glibcxx_cv_dev_random+:} false; then :
28062 $as_echo_n "(cached) " >&6
28063 else
28065 if test -r /dev/random && test -r /dev/urandom; then
28066 ## For MSys environment the test above is detected as false-positive
28067 ## on mingw-targets. So disable it explicitly for them.
28068 case ${target_os} in
28069 *mingw*) glibcxx_cv_dev_random=no ;;
28070 *) glibcxx_cv_dev_random=yes ;;
28071 esac
28072 else
28073 glibcxx_cv_dev_random=no;
28077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28078 $as_echo "$glibcxx_cv_dev_random" >&6; }
28080 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28082 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28085 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28091 # For TLS support.
28094 # Check whether --enable-tls was given.
28095 if test "${enable_tls+set}" = set; then :
28096 enableval=$enable_tls;
28097 case "$enableval" in
28098 yes|no) ;;
28099 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28100 esac
28102 else
28103 enable_tls=yes
28107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28108 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28109 if ${gcc_cv_have_tls+:} false; then :
28110 $as_echo_n "(cached) " >&6
28111 else
28113 if test "$cross_compiling" = yes; then :
28114 if test x$gcc_no_link = xyes; then
28115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28118 /* end confdefs.h. */
28119 __thread int a; int b; int main() { return a = b; }
28120 _ACEOF
28121 if ac_fn_c_try_link "$LINENO"; then :
28122 chktls_save_LDFLAGS="$LDFLAGS"
28123 case $host in
28124 *-*-linux* | -*-uclinuxfdpic*)
28125 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28127 esac
28128 chktls_save_CFLAGS="$CFLAGS"
28129 CFLAGS="-fPIC $CFLAGS"
28130 if test x$gcc_no_link = xyes; then
28131 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28134 /* end confdefs.h. */
28135 int f() { return 0; }
28136 _ACEOF
28137 if ac_fn_c_try_link "$LINENO"; then :
28138 if test x$gcc_no_link = xyes; then
28139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 __thread int a; int b; int f() { return a = b; }
28144 _ACEOF
28145 if ac_fn_c_try_link "$LINENO"; then :
28146 gcc_cv_have_tls=yes
28147 else
28148 gcc_cv_have_tls=no
28150 rm -f core conftest.err conftest.$ac_objext \
28151 conftest$ac_exeext conftest.$ac_ext
28152 else
28153 gcc_cv_have_tls=yes
28155 rm -f core conftest.err conftest.$ac_objext \
28156 conftest$ac_exeext conftest.$ac_ext
28157 CFLAGS="$chktls_save_CFLAGS"
28158 LDFLAGS="$chktls_save_LDFLAGS"
28159 else
28160 gcc_cv_have_tls=no
28162 rm -f core conftest.err conftest.$ac_objext \
28163 conftest$ac_exeext conftest.$ac_ext
28166 else
28167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28168 /* end confdefs.h. */
28169 __thread int a; int b; int main() { return a = b; }
28170 _ACEOF
28171 if ac_fn_c_try_run "$LINENO"; then :
28172 chktls_save_LDFLAGS="$LDFLAGS"
28173 LDFLAGS="-static $LDFLAGS"
28174 if test x$gcc_no_link = xyes; then
28175 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28178 /* end confdefs.h. */
28179 int main() { return 0; }
28180 _ACEOF
28181 if ac_fn_c_try_link "$LINENO"; then :
28182 if test "$cross_compiling" = yes; then :
28183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28185 as_fn_error $? "cannot run test program while cross compiling
28186 See \`config.log' for more details" "$LINENO" 5; }
28187 else
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 __thread int a; int b; int main() { return a = b; }
28191 _ACEOF
28192 if ac_fn_c_try_run "$LINENO"; then :
28193 gcc_cv_have_tls=yes
28194 else
28195 gcc_cv_have_tls=no
28197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28198 conftest.$ac_objext conftest.beam conftest.$ac_ext
28201 else
28202 gcc_cv_have_tls=yes
28204 rm -f core conftest.err conftest.$ac_objext \
28205 conftest$ac_exeext conftest.$ac_ext
28206 LDFLAGS="$chktls_save_LDFLAGS"
28207 if test $gcc_cv_have_tls = yes; then
28208 chktls_save_CFLAGS="$CFLAGS"
28209 thread_CFLAGS=failed
28210 for flag in '' '-pthread' '-lpthread'; do
28211 CFLAGS="$flag $chktls_save_CFLAGS"
28212 if test x$gcc_no_link = xyes; then
28213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28216 /* end confdefs.h. */
28217 #include <pthread.h>
28218 void *g(void *d) { return NULL; }
28220 main ()
28222 pthread_t t; pthread_create(&t,NULL,g,NULL);
28224 return 0;
28226 _ACEOF
28227 if ac_fn_c_try_link "$LINENO"; then :
28228 thread_CFLAGS="$flag"
28230 rm -f core conftest.err conftest.$ac_objext \
28231 conftest$ac_exeext conftest.$ac_ext
28232 if test "X$thread_CFLAGS" != Xfailed; then
28233 break
28235 done
28236 CFLAGS="$chktls_save_CFLAGS"
28237 if test "X$thread_CFLAGS" != Xfailed; then
28238 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28239 if test "$cross_compiling" = yes; then :
28240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28242 as_fn_error $? "cannot run test program while cross compiling
28243 See \`config.log' for more details" "$LINENO" 5; }
28244 else
28245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28246 /* end confdefs.h. */
28247 #include <pthread.h>
28248 __thread int a;
28249 static int *volatile a_in_other_thread;
28250 static void *
28251 thread_func (void *arg)
28253 a_in_other_thread = &a;
28254 return (void *)0;
28257 main ()
28259 pthread_t thread;
28260 void *thread_retval;
28261 int *volatile a_in_main_thread;
28262 a_in_main_thread = &a;
28263 if (pthread_create (&thread, (pthread_attr_t *)0,
28264 thread_func, (void *)0))
28265 return 0;
28266 if (pthread_join (thread, &thread_retval))
28267 return 0;
28268 return (a_in_other_thread == a_in_main_thread);
28270 return 0;
28272 _ACEOF
28273 if ac_fn_c_try_run "$LINENO"; then :
28274 gcc_cv_have_tls=yes
28275 else
28276 gcc_cv_have_tls=no
28278 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28279 conftest.$ac_objext conftest.beam conftest.$ac_ext
28282 CFLAGS="$chktls_save_CFLAGS"
28285 else
28286 gcc_cv_have_tls=no
28288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28289 conftest.$ac_objext conftest.beam conftest.$ac_ext
28293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28294 $as_echo "$gcc_cv_have_tls" >&6; }
28295 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28297 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28301 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28302 do :
28303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28308 _ACEOF
28311 done
28313 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28314 do :
28315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28318 cat >>confdefs.h <<_ACEOF
28319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28320 _ACEOF
28323 done
28325 for ac_func in _wfopen
28326 do :
28327 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28328 if test "x$ac_cv_func__wfopen" = xyes; then :
28329 cat >>confdefs.h <<_ACEOF
28330 #define HAVE__WFOPEN 1
28331 _ACEOF
28334 done
28336 for ac_func in secure_getenv
28337 do :
28338 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28339 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_SECURE_GETENV 1
28342 _ACEOF
28345 done
28348 # C11 functions for C++17 library
28349 for ac_func in timespec_get
28350 do :
28351 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28352 if test "x$ac_cv_func_timespec_get" = xyes; then :
28353 cat >>confdefs.h <<_ACEOF
28354 #define HAVE_TIMESPEC_GET 1
28355 _ACEOF
28358 done
28361 # For Networking TS.
28362 for ac_func in sockatmark
28363 do :
28364 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28365 if test "x$ac_cv_func_sockatmark" = xyes; then :
28366 cat >>confdefs.h <<_ACEOF
28367 #define HAVE_SOCKATMARK 1
28368 _ACEOF
28371 done
28374 # Non-standard functions used by C++17 std::from_chars
28375 for ac_func in uselocale
28376 do :
28377 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28378 if test "x$ac_cv_func_uselocale" = xyes; then :
28379 cat >>confdefs.h <<_ACEOF
28380 #define HAVE_USELOCALE 1
28381 _ACEOF
28384 done
28387 # For iconv support.
28389 if test "X$prefix" = "XNONE"; then
28390 acl_final_prefix="$ac_default_prefix"
28391 else
28392 acl_final_prefix="$prefix"
28394 if test "X$exec_prefix" = "XNONE"; then
28395 acl_final_exec_prefix='${prefix}'
28396 else
28397 acl_final_exec_prefix="$exec_prefix"
28399 acl_save_prefix="$prefix"
28400 prefix="$acl_final_prefix"
28401 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28402 prefix="$acl_save_prefix"
28405 # Check whether --with-gnu-ld was given.
28406 if test "${with_gnu_ld+set}" = set; then :
28407 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28408 else
28409 with_gnu_ld=no
28412 # Prepare PATH_SEPARATOR.
28413 # The user is always right.
28414 if test "${PATH_SEPARATOR+set}" != set; then
28415 echo "#! /bin/sh" >conf$$.sh
28416 echo "exit 0" >>conf$$.sh
28417 chmod +x conf$$.sh
28418 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28419 PATH_SEPARATOR=';'
28420 else
28421 PATH_SEPARATOR=:
28423 rm -f conf$$.sh
28425 ac_prog=ld
28426 if test "$GCC" = yes; then
28427 # Check if gcc -print-prog-name=ld gives a path.
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28429 $as_echo_n "checking for ld used by GCC... " >&6; }
28430 case $host in
28431 *-*-mingw*)
28432 # gcc leaves a trailing carriage return which upsets mingw
28433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28435 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28436 esac
28437 case $ac_prog in
28438 # Accept absolute paths.
28439 [\\/]* | [A-Za-z]:[\\/]*)
28440 re_direlt='/[^/][^/]*/\.\./'
28441 # Canonicalize the path of ld
28442 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28443 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28444 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28445 done
28446 test -z "$LD" && LD="$ac_prog"
28449 # If it fails, then pretend we aren't using GCC.
28450 ac_prog=ld
28453 # If it is relative, then search for the first ld in PATH.
28454 with_gnu_ld=unknown
28456 esac
28457 elif test "$with_gnu_ld" = yes; then
28458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28459 $as_echo_n "checking for GNU ld... " >&6; }
28460 else
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28462 $as_echo_n "checking for non-GNU ld... " >&6; }
28464 if ${acl_cv_path_LD+:} false; then :
28465 $as_echo_n "(cached) " >&6
28466 else
28467 if test -z "$LD"; then
28468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28469 for ac_dir in $PATH; do
28470 test -z "$ac_dir" && ac_dir=.
28471 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28472 acl_cv_path_LD="$ac_dir/$ac_prog"
28473 # Check to see if the program is GNU ld. I'd rather use --version,
28474 # but apparently some GNU ld's only accept -v.
28475 # Break only if it was the GNU/non-GNU ld that we prefer.
28476 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28477 test "$with_gnu_ld" != no && break
28478 else
28479 test "$with_gnu_ld" != yes && break
28482 done
28483 IFS="$ac_save_ifs"
28484 else
28485 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28489 LD="$acl_cv_path_LD"
28490 if test -n "$LD"; then
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28492 $as_echo "$LD" >&6; }
28493 else
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28495 $as_echo "no" >&6; }
28497 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28499 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28500 if ${acl_cv_prog_gnu_ld+:} false; then :
28501 $as_echo_n "(cached) " >&6
28502 else
28503 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28504 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28505 acl_cv_prog_gnu_ld=yes
28506 else
28507 acl_cv_prog_gnu_ld=no
28510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28511 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28512 with_gnu_ld=$acl_cv_prog_gnu_ld
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28517 $as_echo_n "checking for shared library run path origin... " >&6; }
28518 if ${acl_cv_rpath+:} false; then :
28519 $as_echo_n "(cached) " >&6
28520 else
28522 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28523 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28524 . ./conftest.sh
28525 rm -f ./conftest.sh
28526 acl_cv_rpath=done
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28530 $as_echo "$acl_cv_rpath" >&6; }
28531 wl="$acl_cv_wl"
28532 libext="$acl_cv_libext"
28533 shlibext="$acl_cv_shlibext"
28534 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28535 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28536 hardcode_direct="$acl_cv_hardcode_direct"
28537 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28538 # Check whether --enable-rpath was given.
28539 if test "${enable_rpath+set}" = set; then :
28540 enableval=$enable_rpath; :
28541 else
28542 enable_rpath=yes
28552 use_additional=yes
28554 acl_save_prefix="$prefix"
28555 prefix="$acl_final_prefix"
28556 acl_save_exec_prefix="$exec_prefix"
28557 exec_prefix="$acl_final_exec_prefix"
28559 eval additional_includedir=\"$includedir\"
28560 eval additional_libdir=\"$libdir\"
28562 exec_prefix="$acl_save_exec_prefix"
28563 prefix="$acl_save_prefix"
28566 # Check whether --with-libiconv-prefix was given.
28567 if test "${with_libiconv_prefix+set}" = set; then :
28568 withval=$with_libiconv_prefix;
28569 if test "X$withval" = "Xno"; then
28570 use_additional=no
28571 else
28572 if test "X$withval" = "X"; then
28574 acl_save_prefix="$prefix"
28575 prefix="$acl_final_prefix"
28576 acl_save_exec_prefix="$exec_prefix"
28577 exec_prefix="$acl_final_exec_prefix"
28579 eval additional_includedir=\"$includedir\"
28580 eval additional_libdir=\"$libdir\"
28582 exec_prefix="$acl_save_exec_prefix"
28583 prefix="$acl_save_prefix"
28585 else
28586 additional_includedir="$withval/include"
28587 additional_libdir="$withval/lib"
28594 # Check whether --with-libiconv-type was given.
28595 if test "${with_libiconv_type+set}" = set; then :
28596 withval=$with_libiconv_type; with_libiconv_type=$withval
28597 else
28598 with_libiconv_type=auto
28601 lib_type=`eval echo \$with_libiconv_type`
28603 LIBICONV=
28604 LTLIBICONV=
28605 INCICONV=
28606 rpathdirs=
28607 ltrpathdirs=
28608 names_already_handled=
28609 names_next_round='iconv '
28610 while test -n "$names_next_round"; do
28611 names_this_round="$names_next_round"
28612 names_next_round=
28613 for name in $names_this_round; do
28614 already_handled=
28615 for n in $names_already_handled; do
28616 if test "$n" = "$name"; then
28617 already_handled=yes
28618 break
28620 done
28621 if test -z "$already_handled"; then
28622 names_already_handled="$names_already_handled $name"
28623 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28624 eval value=\"\$HAVE_LIB$uppername\"
28625 if test -n "$value"; then
28626 if test "$value" = yes; then
28627 eval value=\"\$LIB$uppername\"
28628 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28629 eval value=\"\$LTLIB$uppername\"
28630 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28631 else
28634 else
28635 found_dir=
28636 found_la=
28637 found_so=
28638 found_a=
28639 if test $use_additional = yes; then
28640 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28641 found_dir="$additional_libdir"
28642 found_so="$additional_libdir/lib$name.$shlibext"
28643 if test -f "$additional_libdir/lib$name.la"; then
28644 found_la="$additional_libdir/lib$name.la"
28646 elif test x$lib_type != xshared; then
28647 if test -f "$additional_libdir/lib$name.$libext"; then
28648 found_dir="$additional_libdir"
28649 found_a="$additional_libdir/lib$name.$libext"
28650 if test -f "$additional_libdir/lib$name.la"; then
28651 found_la="$additional_libdir/lib$name.la"
28656 if test "X$found_dir" = "X"; then
28657 for x in $LDFLAGS $LTLIBICONV; do
28659 acl_save_prefix="$prefix"
28660 prefix="$acl_final_prefix"
28661 acl_save_exec_prefix="$exec_prefix"
28662 exec_prefix="$acl_final_exec_prefix"
28663 eval x=\"$x\"
28664 exec_prefix="$acl_save_exec_prefix"
28665 prefix="$acl_save_prefix"
28667 case "$x" in
28668 -L*)
28669 dir=`echo "X$x" | sed -e 's/^X-L//'`
28670 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28671 found_dir="$dir"
28672 found_so="$dir/lib$name.$shlibext"
28673 if test -f "$dir/lib$name.la"; then
28674 found_la="$dir/lib$name.la"
28676 elif test x$lib_type != xshared; then
28677 if test -f "$dir/lib$name.$libext"; then
28678 found_dir="$dir"
28679 found_a="$dir/lib$name.$libext"
28680 if test -f "$dir/lib$name.la"; then
28681 found_la="$dir/lib$name.la"
28686 esac
28687 if test "X$found_dir" != "X"; then
28688 break
28690 done
28692 if test "X$found_dir" != "X"; then
28693 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28694 if test "X$found_so" != "X"; then
28695 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28696 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28697 else
28698 haveit=
28699 for x in $ltrpathdirs; do
28700 if test "X$x" = "X$found_dir"; then
28701 haveit=yes
28702 break
28704 done
28705 if test -z "$haveit"; then
28706 ltrpathdirs="$ltrpathdirs $found_dir"
28708 if test "$hardcode_direct" = yes; then
28709 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28710 else
28711 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28712 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28713 haveit=
28714 for x in $rpathdirs; do
28715 if test "X$x" = "X$found_dir"; then
28716 haveit=yes
28717 break
28719 done
28720 if test -z "$haveit"; then
28721 rpathdirs="$rpathdirs $found_dir"
28723 else
28724 haveit=
28725 for x in $LDFLAGS $LIBICONV; do
28727 acl_save_prefix="$prefix"
28728 prefix="$acl_final_prefix"
28729 acl_save_exec_prefix="$exec_prefix"
28730 exec_prefix="$acl_final_exec_prefix"
28731 eval x=\"$x\"
28732 exec_prefix="$acl_save_exec_prefix"
28733 prefix="$acl_save_prefix"
28735 if test "X$x" = "X-L$found_dir"; then
28736 haveit=yes
28737 break
28739 done
28740 if test -z "$haveit"; then
28741 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28743 if test "$hardcode_minus_L" != no; then
28744 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28745 else
28746 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28751 else
28752 if test "X$found_a" != "X"; then
28753 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28754 else
28755 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28758 additional_includedir=
28759 case "$found_dir" in
28760 */lib | */lib/)
28761 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28762 additional_includedir="$basedir/include"
28764 esac
28765 if test "X$additional_includedir" != "X"; then
28766 if test "X$additional_includedir" != "X/usr/include"; then
28767 haveit=
28768 if test "X$additional_includedir" = "X/usr/local/include"; then
28769 if test -n "$GCC"; then
28770 case $host_os in
28771 linux*) haveit=yes;;
28772 esac
28775 if test -z "$haveit"; then
28776 for x in $CPPFLAGS $INCICONV; do
28778 acl_save_prefix="$prefix"
28779 prefix="$acl_final_prefix"
28780 acl_save_exec_prefix="$exec_prefix"
28781 exec_prefix="$acl_final_exec_prefix"
28782 eval x=\"$x\"
28783 exec_prefix="$acl_save_exec_prefix"
28784 prefix="$acl_save_prefix"
28786 if test "X$x" = "X-I$additional_includedir"; then
28787 haveit=yes
28788 break
28790 done
28791 if test -z "$haveit"; then
28792 if test -d "$additional_includedir"; then
28793 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28799 if test -n "$found_la"; then
28800 save_libdir="$libdir"
28801 case "$found_la" in
28802 */* | *\\*) . "$found_la" ;;
28803 *) . "./$found_la" ;;
28804 esac
28805 libdir="$save_libdir"
28806 for dep in $dependency_libs; do
28807 case "$dep" in
28808 -L*)
28809 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28810 if test "X$additional_libdir" != "X/usr/lib"; then
28811 haveit=
28812 if test "X$additional_libdir" = "X/usr/local/lib"; then
28813 if test -n "$GCC"; then
28814 case $host_os in
28815 linux*) haveit=yes;;
28816 esac
28819 if test -z "$haveit"; then
28820 haveit=
28821 for x in $LDFLAGS $LIBICONV; do
28823 acl_save_prefix="$prefix"
28824 prefix="$acl_final_prefix"
28825 acl_save_exec_prefix="$exec_prefix"
28826 exec_prefix="$acl_final_exec_prefix"
28827 eval x=\"$x\"
28828 exec_prefix="$acl_save_exec_prefix"
28829 prefix="$acl_save_prefix"
28831 if test "X$x" = "X-L$additional_libdir"; then
28832 haveit=yes
28833 break
28835 done
28836 if test -z "$haveit"; then
28837 if test -d "$additional_libdir"; then
28838 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28841 haveit=
28842 for x in $LDFLAGS $LTLIBICONV; do
28844 acl_save_prefix="$prefix"
28845 prefix="$acl_final_prefix"
28846 acl_save_exec_prefix="$exec_prefix"
28847 exec_prefix="$acl_final_exec_prefix"
28848 eval x=\"$x\"
28849 exec_prefix="$acl_save_exec_prefix"
28850 prefix="$acl_save_prefix"
28852 if test "X$x" = "X-L$additional_libdir"; then
28853 haveit=yes
28854 break
28856 done
28857 if test -z "$haveit"; then
28858 if test -d "$additional_libdir"; then
28859 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28865 -R*)
28866 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28867 if test "$enable_rpath" != no; then
28868 haveit=
28869 for x in $rpathdirs; do
28870 if test "X$x" = "X$dir"; then
28871 haveit=yes
28872 break
28874 done
28875 if test -z "$haveit"; then
28876 rpathdirs="$rpathdirs $dir"
28878 haveit=
28879 for x in $ltrpathdirs; do
28880 if test "X$x" = "X$dir"; then
28881 haveit=yes
28882 break
28884 done
28885 if test -z "$haveit"; then
28886 ltrpathdirs="$ltrpathdirs $dir"
28890 -l*)
28891 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28893 *.la)
28894 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28897 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28898 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28900 esac
28901 done
28903 else
28904 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28905 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28906 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28907 else
28908 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28909 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28914 done
28915 done
28916 if test "X$rpathdirs" != "X"; then
28917 if test -n "$hardcode_libdir_separator"; then
28918 alldirs=
28919 for found_dir in $rpathdirs; do
28920 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28921 done
28922 acl_save_libdir="$libdir"
28923 libdir="$alldirs"
28924 eval flag=\"$hardcode_libdir_flag_spec\"
28925 libdir="$acl_save_libdir"
28926 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28927 else
28928 for found_dir in $rpathdirs; do
28929 acl_save_libdir="$libdir"
28930 libdir="$found_dir"
28931 eval flag=\"$hardcode_libdir_flag_spec\"
28932 libdir="$acl_save_libdir"
28933 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28934 done
28937 if test "X$ltrpathdirs" != "X"; then
28938 for found_dir in $ltrpathdirs; do
28939 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28940 done
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28950 $as_echo_n "checking for iconv... " >&6; }
28951 if ${am_cv_func_iconv+:} false; then :
28952 $as_echo_n "(cached) " >&6
28953 else
28955 am_cv_func_iconv="no, consider installing GNU libiconv"
28956 am_cv_lib_iconv=no
28957 am_save_CPPFLAGS="$CPPFLAGS"
28958 CPPFLAGS="$CPPFLAGS $INCICONV"
28959 if test x$gcc_no_link = xyes; then
28960 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28963 /* end confdefs.h. */
28964 #include <stdlib.h>
28965 #include <iconv.h>
28967 main ()
28969 iconv_t cd = iconv_open("","");
28970 iconv(cd,NULL,NULL,NULL,NULL);
28971 iconv_close(cd);
28973 return 0;
28975 _ACEOF
28976 if ac_fn_c_try_link "$LINENO"; then :
28977 am_cv_func_iconv=yes
28979 rm -f core conftest.err conftest.$ac_objext \
28980 conftest$ac_exeext conftest.$ac_ext
28981 CPPFLAGS="$am_save_CPPFLAGS"
28983 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28984 for _libs in .libs _libs; do
28985 am_save_CPPFLAGS="$CPPFLAGS"
28986 am_save_LIBS="$LIBS"
28987 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28988 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28989 if test x$gcc_no_link = xyes; then
28990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28993 /* end confdefs.h. */
28994 #include <stdlib.h>
28995 #include <iconv.h>
28997 main ()
28999 iconv_t cd = iconv_open("","");
29000 iconv(cd,NULL,NULL,NULL,NULL);
29001 iconv_close(cd);
29003 return 0;
29005 _ACEOF
29006 if ac_fn_c_try_link "$LINENO"; then :
29007 INCICONV="-I../libiconv/include"
29008 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29009 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29010 am_cv_lib_iconv=yes
29011 am_cv_func_iconv=yes
29013 rm -f core conftest.err conftest.$ac_objext \
29014 conftest$ac_exeext conftest.$ac_ext
29015 CPPFLAGS="$am_save_CPPFLAGS"
29016 LIBS="$am_save_LIBS"
29017 if test "$am_cv_func_iconv" = "yes"; then
29018 break
29020 done
29023 if test "$am_cv_func_iconv" != yes; then
29024 am_save_CPPFLAGS="$CPPFLAGS"
29025 am_save_LIBS="$LIBS"
29026 CPPFLAGS="$CPPFLAGS $INCICONV"
29027 LIBS="$LIBS $LIBICONV"
29028 if test x$gcc_no_link = xyes; then
29029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29032 /* end confdefs.h. */
29033 #include <stdlib.h>
29034 #include <iconv.h>
29036 main ()
29038 iconv_t cd = iconv_open("","");
29039 iconv(cd,NULL,NULL,NULL,NULL);
29040 iconv_close(cd);
29042 return 0;
29044 _ACEOF
29045 if ac_fn_c_try_link "$LINENO"; then :
29046 am_cv_lib_iconv=yes
29047 am_cv_func_iconv=yes
29049 rm -f core conftest.err conftest.$ac_objext \
29050 conftest$ac_exeext conftest.$ac_ext
29051 CPPFLAGS="$am_save_CPPFLAGS"
29052 LIBS="$am_save_LIBS"
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29057 $as_echo "$am_cv_func_iconv" >&6; }
29058 if test "$am_cv_func_iconv" = yes; then
29060 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29063 if test "$am_cv_lib_iconv" = yes; then
29065 for element in $INCICONV; do
29066 haveit=
29067 for x in $CPPFLAGS; do
29069 acl_save_prefix="$prefix"
29070 prefix="$acl_final_prefix"
29071 acl_save_exec_prefix="$exec_prefix"
29072 exec_prefix="$acl_final_exec_prefix"
29073 eval x=\"$x\"
29074 exec_prefix="$acl_save_exec_prefix"
29075 prefix="$acl_save_prefix"
29077 if test "X$x" = "X$element"; then
29078 haveit=yes
29079 break
29081 done
29082 if test -z "$haveit"; then
29083 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29085 done
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29088 $as_echo_n "checking how to link with libiconv... " >&6; }
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29090 $as_echo "$LIBICONV" >&6; }
29091 else
29092 LIBICONV=
29093 LTLIBICONV=
29098 if test "$am_cv_func_iconv" = yes; then
29099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29100 $as_echo_n "checking for iconv declaration... " >&6; }
29101 if ${am_cv_proto_iconv+:} false; then :
29102 $as_echo_n "(cached) " >&6
29103 else
29105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29106 /* end confdefs.h. */
29108 #include <stdlib.h>
29109 #include <iconv.h>
29110 extern
29111 #ifdef __cplusplus
29113 #endif
29114 #if defined(__STDC__) || defined(__cplusplus)
29115 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29116 #else
29117 size_t iconv();
29118 #endif
29121 main ()
29125 return 0;
29127 _ACEOF
29128 if ac_fn_c_try_compile "$LINENO"; then :
29129 am_cv_proto_iconv_arg1=""
29130 else
29131 am_cv_proto_iconv_arg1="const"
29133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29134 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
29137 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29139 }$am_cv_proto_iconv" >&5
29140 $as_echo "${ac_t:-
29141 }$am_cv_proto_iconv" >&6; }
29143 cat >>confdefs.h <<_ACEOF
29144 #define ICONV_CONST $am_cv_proto_iconv_arg1
29145 _ACEOF
29150 else
29152 # This lets us hard-code the functionality we know we'll have in the cross
29153 # target environment. "Let" is a sugar-coated word placed on an especially
29154 # dull and tedious hack, actually.
29156 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29157 # that involve linking, can't be used:
29158 # "cannot open sim-crt0.o"
29159 # "cannot open crt0.o"
29160 # etc. All this is because there currently exists no unified, consistent
29161 # way for top level CC information to be passed down to target directories:
29162 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29163 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29164 # crosses can be removed.
29166 # If Canadian cross, then don't pick up tools from the build directory.
29167 # Used only in GLIBCXX_EXPORT_INCLUDES.
29168 if test -n "$with_cross_host" &&
29169 test x"$build_alias" != x"$with_cross_host" &&
29170 test x"$build" != x"$target";
29171 then
29172 CANADIAN=yes
29173 else
29174 CANADIAN=no
29177 # Construct crosses by hand, eliminating bits that need ld...
29178 # GLIBCXX_CHECK_MATH_SUPPORT
29180 # First, test for "known" system libraries. We may be using newlib even
29181 # on a hosted environment.
29182 if test "x${with_newlib}" = "xyes"; then
29183 os_include_dir="os/newlib"
29184 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29187 # GLIBCXX_CHECK_STDLIB_SUPPORT
29188 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29191 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29193 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29195 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29197 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29199 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29201 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29203 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29205 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29207 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29209 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29211 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29213 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29215 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29217 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29219 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29221 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29223 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29225 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29227 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29229 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29231 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29233 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29236 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29238 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29241 case "${target}" in
29242 *-rtems*)
29243 case "${target}" in
29244 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29247 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29250 esac
29251 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29253 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29255 $as_echo "#define HAVE_LINK 1" >>confdefs.h
29257 $as_echo "#define HAVE_POLL 1" >>confdefs.h
29259 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29261 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29263 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29265 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29267 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29269 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29271 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29273 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29275 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29278 esac
29279 elif test "x$with_headers" != "xno"; then
29281 # Base decisions on target environment.
29282 case "${host}" in
29283 arm*-*-symbianelf*)
29284 # This is a freestanding configuration; there is nothing to do here.
29287 avr*-*-*)
29288 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29290 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29292 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29294 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29296 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29298 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29300 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29302 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29304 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29306 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29308 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29310 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29312 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29314 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29316 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29318 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29320 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29322 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29324 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29326 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29328 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29330 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29332 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29336 mips*-sde-elf*)
29337 # These definitions are for the SDE C library rather than newlib.
29338 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29341 # All these tests are for C++; save the language and the compiler flags.
29342 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29343 # found in GLIBCXX_CONFIGURE.
29345 ac_ext=cpp
29346 ac_cpp='$CXXCPP $CPPFLAGS'
29347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29351 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29352 ac_save_CXXFLAGS="$CXXFLAGS"
29354 # Check for -ffunction-sections -fdata-sections
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29356 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29357 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 int foo; void bar() { };
29362 main ()
29366 return 0;
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 ac_fdsections=yes
29371 else
29372 ac_fdsections=no
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 if test "$ac_test_CXXFLAGS" = set; then
29376 CXXFLAGS="$ac_save_CXXFLAGS"
29377 else
29378 # this is the suspicious part
29379 CXXFLAGS=''
29381 if test x"$ac_fdsections" = x"yes"; then
29382 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29385 $as_echo "$ac_fdsections" >&6; }
29387 ac_ext=c
29388 ac_cpp='$CPP $CPPFLAGS'
29389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396 # If we're not using GNU ld, then there's no point in even trying these
29397 # tests. Check for that first. We should have already tested for gld
29398 # by now (in libtool), but require it now just to be safe...
29399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29404 # The name set by libtool depends on the version of libtool. Shame on us
29405 # for depending on an impl detail, but c'est la vie. Older versions used
29406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29409 # set (hence we're using an older libtool), then set it.
29410 if test x${with_gnu_ld+set} != xset; then
29411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29413 with_gnu_ld=no
29414 else
29415 with_gnu_ld=$ac_cv_prog_gnu_ld
29419 # Start by getting the version number. I think the libtool test already
29420 # does some of this, but throws away the result.
29421 glibcxx_ld_is_gold=no
29422 glibcxx_ld_is_mold=no
29423 if test x"$with_gnu_ld" = x"yes"; then
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29425 $as_echo_n "checking for ld version... " >&6; }
29427 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29428 glibcxx_ld_is_gold=yes
29429 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29430 glibcxx_ld_is_mold=yes
29432 ldver=`$LD --version 2>/dev/null |
29433 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29435 glibcxx_gnu_ld_version=`echo $ldver | \
29436 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29438 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29441 # Set --gc-sections.
29442 glibcxx_have_gc_sections=no
29443 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29444 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29445 glibcxx_have_gc_sections=yes
29447 else
29448 glibcxx_gcsections_min_ld=21602
29449 if test x"$with_gnu_ld" = x"yes" &&
29450 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29451 glibcxx_have_gc_sections=yes
29454 if test "$glibcxx_have_gc_sections" = "yes"; then
29455 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29456 # NB: This flag only works reliably after 2.16.1. Configure tests
29457 # for this are difficult, so hard wire a value that should work.
29459 ac_test_CFLAGS="${CFLAGS+set}"
29460 ac_save_CFLAGS="$CFLAGS"
29461 CFLAGS='-Wl,--gc-sections'
29463 # Check for -Wl,--gc-sections
29464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29465 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29466 if test x$gcc_no_link = xyes; then
29467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29470 /* end confdefs.h. */
29471 int one(void) { return 1; }
29472 int two(void) { return 2; }
29475 main ()
29477 two();
29479 return 0;
29481 _ACEOF
29482 if ac_fn_c_try_link "$LINENO"; then :
29483 ac_gcsections=yes
29484 else
29485 ac_gcsections=no
29487 rm -f core conftest.err conftest.$ac_objext \
29488 conftest$ac_exeext conftest.$ac_ext
29489 if test "$ac_gcsections" = "yes"; then
29490 rm -f conftest.c
29491 touch conftest.c
29492 if $CC -c conftest.c; then
29493 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29494 grep "Warning: gc-sections option ignored" > /dev/null; then
29495 ac_gcsections=no
29498 rm -f conftest.c conftest.o conftest
29500 if test "$ac_gcsections" = "yes"; then
29501 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29504 $as_echo "$ac_gcsections" >&6; }
29506 if test "$ac_test_CFLAGS" = set; then
29507 CFLAGS="$ac_save_CFLAGS"
29508 else
29509 # this is the suspicious part
29510 CFLAGS=''
29514 # Set -z,relro.
29515 # Note this is only for shared objects.
29516 ac_ld_relro=no
29517 if test x"$with_gnu_ld" = x"yes"; then
29518 # cygwin and mingw uses PE, which has no ELF relro support,
29519 # multi target ld may confuse configure machinery
29520 case "$host" in
29521 *-*-cygwin*)
29523 *-*-mingw*)
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29527 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29528 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29529 if test -n "$cxx_z_relo"; then
29530 OPT_LDFLAGS="-Wl,-z,relro"
29531 ac_ld_relro=yes
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29534 $as_echo "$ac_ld_relro" >&6; }
29535 esac
29538 # Set linker optimization flags.
29539 if test x"$with_gnu_ld" = x"yes"; then
29540 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29547 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29548 ac_save_CXXFLAGS="$CXXFLAGS"
29549 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29552 $as_echo_n "checking for sin in -lm... " >&6; }
29553 if ${ac_cv_lib_m_sin+:} false; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29556 ac_check_lib_save_LIBS=$LIBS
29557 LIBS="-lm $LIBS"
29558 if test x$gcc_no_link = xyes; then
29559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29564 /* Override any GCC internal prototype to avoid an error.
29565 Use char because int might match the return type of a GCC
29566 builtin and then its argument prototype would still apply. */
29567 #ifdef __cplusplus
29568 extern "C"
29569 #endif
29570 char sin ();
29572 main ()
29574 return sin ();
29576 return 0;
29578 _ACEOF
29579 if ac_fn_c_try_link "$LINENO"; then :
29580 ac_cv_lib_m_sin=yes
29581 else
29582 ac_cv_lib_m_sin=no
29584 rm -f core conftest.err conftest.$ac_objext \
29585 conftest$ac_exeext conftest.$ac_ext
29586 LIBS=$ac_check_lib_save_LIBS
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29589 $as_echo "$ac_cv_lib_m_sin" >&6; }
29590 if test "x$ac_cv_lib_m_sin" = xyes; then :
29591 libm="-lm"
29594 ac_save_LIBS="$LIBS"
29595 LIBS="$LIBS $libm"
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29600 $as_echo_n "checking for isinf declaration... " >&6; }
29601 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29602 if ${glibcxx_cv_func_isinf_use+:} false; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29607 ac_ext=cpp
29608 ac_cpp='$CXXCPP $CPPFLAGS'
29609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <math.h>
29616 #ifdef HAVE_IEEEFP_H
29617 #include <ieeefp.h>
29618 #endif
29621 main ()
29623 isinf(0);
29625 return 0;
29627 _ACEOF
29628 if ac_fn_cxx_try_compile "$LINENO"; then :
29629 glibcxx_cv_func_isinf_use=yes
29630 else
29631 glibcxx_cv_func_isinf_use=no
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29634 ac_ext=c
29635 ac_cpp='$CPP $CPPFLAGS'
29636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29645 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29647 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29648 for ac_func in isinf
29649 do :
29650 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29651 if test "x$ac_cv_func_isinf" = xyes; then :
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE_ISINF 1
29654 _ACEOF
29657 done
29659 else
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29662 $as_echo_n "checking for _isinf declaration... " >&6; }
29663 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29664 if ${glibcxx_cv_func__isinf_use+:} false; then :
29665 $as_echo_n "(cached) " >&6
29666 else
29669 ac_ext=cpp
29670 ac_cpp='$CXXCPP $CPPFLAGS'
29671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29676 /* end confdefs.h. */
29677 #include <math.h>
29678 #ifdef HAVE_IEEEFP_H
29679 #include <ieeefp.h>
29680 #endif
29683 main ()
29685 _isinf(0);
29687 return 0;
29689 _ACEOF
29690 if ac_fn_cxx_try_compile "$LINENO"; then :
29691 glibcxx_cv_func__isinf_use=yes
29692 else
29693 glibcxx_cv_func__isinf_use=no
29695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 ac_ext=c
29697 ac_cpp='$CPP $CPPFLAGS'
29698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29707 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29709 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29710 for ac_func in _isinf
29711 do :
29712 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29713 if test "x$ac_cv_func__isinf" = xyes; then :
29714 cat >>confdefs.h <<_ACEOF
29715 #define HAVE__ISINF 1
29716 _ACEOF
29719 done
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29729 $as_echo_n "checking for isnan declaration... " >&6; }
29730 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29731 if ${glibcxx_cv_func_isnan_use+:} false; then :
29732 $as_echo_n "(cached) " >&6
29733 else
29736 ac_ext=cpp
29737 ac_cpp='$CXXCPP $CPPFLAGS'
29738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29743 /* end confdefs.h. */
29744 #include <math.h>
29745 #ifdef HAVE_IEEEFP_H
29746 #include <ieeefp.h>
29747 #endif
29750 main ()
29752 isnan(0);
29754 return 0;
29756 _ACEOF
29757 if ac_fn_cxx_try_compile "$LINENO"; then :
29758 glibcxx_cv_func_isnan_use=yes
29759 else
29760 glibcxx_cv_func_isnan_use=no
29762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29763 ac_ext=c
29764 ac_cpp='$CPP $CPPFLAGS'
29765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29774 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29776 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29777 for ac_func in isnan
29778 do :
29779 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29780 if test "x$ac_cv_func_isnan" = xyes; then :
29781 cat >>confdefs.h <<_ACEOF
29782 #define HAVE_ISNAN 1
29783 _ACEOF
29786 done
29788 else
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29791 $as_echo_n "checking for _isnan declaration... " >&6; }
29792 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29793 if ${glibcxx_cv_func__isnan_use+:} false; then :
29794 $as_echo_n "(cached) " >&6
29795 else
29798 ac_ext=cpp
29799 ac_cpp='$CXXCPP $CPPFLAGS'
29800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29806 #include <math.h>
29807 #ifdef HAVE_IEEEFP_H
29808 #include <ieeefp.h>
29809 #endif
29812 main ()
29814 _isnan(0);
29816 return 0;
29818 _ACEOF
29819 if ac_fn_cxx_try_compile "$LINENO"; then :
29820 glibcxx_cv_func__isnan_use=yes
29821 else
29822 glibcxx_cv_func__isnan_use=no
29824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29825 ac_ext=c
29826 ac_cpp='$CPP $CPPFLAGS'
29827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29836 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29838 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29839 for ac_func in _isnan
29840 do :
29841 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29842 if test "x$ac_cv_func__isnan" = xyes; then :
29843 cat >>confdefs.h <<_ACEOF
29844 #define HAVE__ISNAN 1
29845 _ACEOF
29848 done
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29858 $as_echo_n "checking for finite declaration... " >&6; }
29859 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29860 if ${glibcxx_cv_func_finite_use+:} false; then :
29861 $as_echo_n "(cached) " >&6
29862 else
29865 ac_ext=cpp
29866 ac_cpp='$CXXCPP $CPPFLAGS'
29867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29872 /* end confdefs.h. */
29873 #include <math.h>
29874 #ifdef HAVE_IEEEFP_H
29875 #include <ieeefp.h>
29876 #endif
29879 main ()
29881 finite(0);
29883 return 0;
29885 _ACEOF
29886 if ac_fn_cxx_try_compile "$LINENO"; then :
29887 glibcxx_cv_func_finite_use=yes
29888 else
29889 glibcxx_cv_func_finite_use=no
29891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29892 ac_ext=c
29893 ac_cpp='$CPP $CPPFLAGS'
29894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29903 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29905 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29906 for ac_func in finite
29907 do :
29908 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29909 if test "x$ac_cv_func_finite" = xyes; then :
29910 cat >>confdefs.h <<_ACEOF
29911 #define HAVE_FINITE 1
29912 _ACEOF
29915 done
29917 else
29919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29920 $as_echo_n "checking for _finite declaration... " >&6; }
29921 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29922 if ${glibcxx_cv_func__finite_use+:} false; then :
29923 $as_echo_n "(cached) " >&6
29924 else
29927 ac_ext=cpp
29928 ac_cpp='$CXXCPP $CPPFLAGS'
29929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29935 #include <math.h>
29936 #ifdef HAVE_IEEEFP_H
29937 #include <ieeefp.h>
29938 #endif
29941 main ()
29943 _finite(0);
29945 return 0;
29947 _ACEOF
29948 if ac_fn_cxx_try_compile "$LINENO"; then :
29949 glibcxx_cv_func__finite_use=yes
29950 else
29951 glibcxx_cv_func__finite_use=no
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29954 ac_ext=c
29955 ac_cpp='$CPP $CPPFLAGS'
29956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29965 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29967 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29968 for ac_func in _finite
29969 do :
29970 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29971 if test "x$ac_cv_func__finite" = xyes; then :
29972 cat >>confdefs.h <<_ACEOF
29973 #define HAVE__FINITE 1
29974 _ACEOF
29977 done
29986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29987 $as_echo_n "checking for sincos declaration... " >&6; }
29988 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29989 if ${glibcxx_cv_func_sincos_use+:} false; then :
29990 $as_echo_n "(cached) " >&6
29991 else
29994 ac_ext=cpp
29995 ac_cpp='$CXXCPP $CPPFLAGS'
29996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30001 /* end confdefs.h. */
30002 #include <math.h>
30004 main ()
30006 sincos(0, 0, 0);
30008 return 0;
30010 _ACEOF
30011 if ac_fn_cxx_try_compile "$LINENO"; then :
30012 glibcxx_cv_func_sincos_use=yes
30013 else
30014 glibcxx_cv_func_sincos_use=no
30016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30017 ac_ext=c
30018 ac_cpp='$CPP $CPPFLAGS'
30019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30028 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30030 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30031 for ac_func in sincos
30032 do :
30033 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30034 if test "x$ac_cv_func_sincos" = xyes; then :
30035 cat >>confdefs.h <<_ACEOF
30036 #define HAVE_SINCOS 1
30037 _ACEOF
30040 done
30042 else
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30045 $as_echo_n "checking for _sincos declaration... " >&6; }
30046 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30047 if ${glibcxx_cv_func__sincos_use+:} false; then :
30048 $as_echo_n "(cached) " >&6
30049 else
30052 ac_ext=cpp
30053 ac_cpp='$CXXCPP $CPPFLAGS'
30054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30059 /* end confdefs.h. */
30060 #include <math.h>
30062 main ()
30064 _sincos(0, 0, 0);
30066 return 0;
30068 _ACEOF
30069 if ac_fn_cxx_try_compile "$LINENO"; then :
30070 glibcxx_cv_func__sincos_use=yes
30071 else
30072 glibcxx_cv_func__sincos_use=no
30074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30075 ac_ext=c
30076 ac_cpp='$CPP $CPPFLAGS'
30077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30086 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30088 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30089 for ac_func in _sincos
30090 do :
30091 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30092 if test "x$ac_cv_func__sincos" = xyes; then :
30093 cat >>confdefs.h <<_ACEOF
30094 #define HAVE__SINCOS 1
30095 _ACEOF
30098 done
30107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30108 $as_echo_n "checking for fpclass declaration... " >&6; }
30109 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30110 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30111 $as_echo_n "(cached) " >&6
30112 else
30115 ac_ext=cpp
30116 ac_cpp='$CXXCPP $CPPFLAGS'
30117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30122 /* end confdefs.h. */
30123 #include <math.h>
30124 #ifdef HAVE_IEEEFP_H
30125 #include <ieeefp.h>
30126 #endif
30129 main ()
30131 fpclass(0);
30133 return 0;
30135 _ACEOF
30136 if ac_fn_cxx_try_compile "$LINENO"; then :
30137 glibcxx_cv_func_fpclass_use=yes
30138 else
30139 glibcxx_cv_func_fpclass_use=no
30141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30153 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30155 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30156 for ac_func in fpclass
30157 do :
30158 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30159 if test "x$ac_cv_func_fpclass" = xyes; then :
30160 cat >>confdefs.h <<_ACEOF
30161 #define HAVE_FPCLASS 1
30162 _ACEOF
30165 done
30167 else
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30170 $as_echo_n "checking for _fpclass declaration... " >&6; }
30171 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30172 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30173 $as_echo_n "(cached) " >&6
30174 else
30177 ac_ext=cpp
30178 ac_cpp='$CXXCPP $CPPFLAGS'
30179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30184 /* end confdefs.h. */
30185 #include <math.h>
30186 #ifdef HAVE_IEEEFP_H
30187 #include <ieeefp.h>
30188 #endif
30191 main ()
30193 _fpclass(0);
30195 return 0;
30197 _ACEOF
30198 if ac_fn_cxx_try_compile "$LINENO"; then :
30199 glibcxx_cv_func__fpclass_use=yes
30200 else
30201 glibcxx_cv_func__fpclass_use=no
30203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30204 ac_ext=c
30205 ac_cpp='$CPP $CPPFLAGS'
30206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30215 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30217 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30218 for ac_func in _fpclass
30219 do :
30220 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30221 if test "x$ac_cv_func__fpclass" = xyes; then :
30222 cat >>confdefs.h <<_ACEOF
30223 #define HAVE__FPCLASS 1
30224 _ACEOF
30227 done
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30237 $as_echo_n "checking for qfpclass declaration... " >&6; }
30238 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30239 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30240 $as_echo_n "(cached) " >&6
30241 else
30244 ac_ext=cpp
30245 ac_cpp='$CXXCPP $CPPFLAGS'
30246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30251 /* end confdefs.h. */
30252 #include <math.h>
30253 #ifdef HAVE_IEEEFP_H
30254 #include <ieeefp.h>
30255 #endif
30258 main ()
30260 qfpclass(0);
30262 return 0;
30264 _ACEOF
30265 if ac_fn_cxx_try_compile "$LINENO"; then :
30266 glibcxx_cv_func_qfpclass_use=yes
30267 else
30268 glibcxx_cv_func_qfpclass_use=no
30270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30271 ac_ext=c
30272 ac_cpp='$CPP $CPPFLAGS'
30273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30282 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30284 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30285 for ac_func in qfpclass
30286 do :
30287 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30288 if test "x$ac_cv_func_qfpclass" = xyes; then :
30289 cat >>confdefs.h <<_ACEOF
30290 #define HAVE_QFPCLASS 1
30291 _ACEOF
30294 done
30296 else
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30299 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30300 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30301 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30302 $as_echo_n "(cached) " >&6
30303 else
30306 ac_ext=cpp
30307 ac_cpp='$CXXCPP $CPPFLAGS'
30308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30313 /* end confdefs.h. */
30314 #include <math.h>
30315 #ifdef HAVE_IEEEFP_H
30316 #include <ieeefp.h>
30317 #endif
30320 main ()
30322 _qfpclass(0);
30324 return 0;
30326 _ACEOF
30327 if ac_fn_cxx_try_compile "$LINENO"; then :
30328 glibcxx_cv_func__qfpclass_use=yes
30329 else
30330 glibcxx_cv_func__qfpclass_use=no
30332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30344 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30346 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30347 for ac_func in _qfpclass
30348 do :
30349 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30350 if test "x$ac_cv_func__qfpclass" = xyes; then :
30351 cat >>confdefs.h <<_ACEOF
30352 #define HAVE__QFPCLASS 1
30353 _ACEOF
30356 done
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30366 $as_echo_n "checking for hypot declaration... " >&6; }
30367 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30368 if ${glibcxx_cv_func_hypot_use+:} false; then :
30369 $as_echo_n "(cached) " >&6
30370 else
30373 ac_ext=cpp
30374 ac_cpp='$CXXCPP $CPPFLAGS'
30375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30380 /* end confdefs.h. */
30381 #include <math.h>
30383 main ()
30385 hypot(0, 0);
30387 return 0;
30389 _ACEOF
30390 if ac_fn_cxx_try_compile "$LINENO"; then :
30391 glibcxx_cv_func_hypot_use=yes
30392 else
30393 glibcxx_cv_func_hypot_use=no
30395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30396 ac_ext=c
30397 ac_cpp='$CPP $CPPFLAGS'
30398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30407 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30409 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30410 for ac_func in hypot
30411 do :
30412 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30413 if test "x$ac_cv_func_hypot" = xyes; then :
30414 cat >>confdefs.h <<_ACEOF
30415 #define HAVE_HYPOT 1
30416 _ACEOF
30419 done
30421 else
30423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30424 $as_echo_n "checking for _hypot declaration... " >&6; }
30425 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30426 if ${glibcxx_cv_func__hypot_use+:} false; then :
30427 $as_echo_n "(cached) " >&6
30428 else
30431 ac_ext=cpp
30432 ac_cpp='$CXXCPP $CPPFLAGS'
30433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30438 /* end confdefs.h. */
30439 #include <math.h>
30441 main ()
30443 _hypot(0, 0);
30445 return 0;
30447 _ACEOF
30448 if ac_fn_cxx_try_compile "$LINENO"; then :
30449 glibcxx_cv_func__hypot_use=yes
30450 else
30451 glibcxx_cv_func__hypot_use=no
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454 ac_ext=c
30455 ac_cpp='$CPP $CPPFLAGS'
30456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30465 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30467 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30468 for ac_func in _hypot
30469 do :
30470 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30471 if test "x$ac_cv_func__hypot" = xyes; then :
30472 cat >>confdefs.h <<_ACEOF
30473 #define HAVE__HYPOT 1
30474 _ACEOF
30477 done
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30487 $as_echo_n "checking for float trig functions... " >&6; }
30488 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30489 $as_echo_n "(cached) " >&6
30490 else
30493 ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h. */
30501 #include <math.h>
30503 main ()
30505 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30507 return 0;
30509 _ACEOF
30510 if ac_fn_cxx_try_compile "$LINENO"; then :
30511 glibcxx_cv_func_float_trig_use=yes
30512 else
30513 glibcxx_cv_func_float_trig_use=no
30515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30516 ac_ext=c
30517 ac_cpp='$CPP $CPPFLAGS'
30518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30525 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30526 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30527 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30528 do :
30529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30532 cat >>confdefs.h <<_ACEOF
30533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30534 _ACEOF
30537 done
30539 else
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30541 $as_echo_n "checking for _float trig functions... " >&6; }
30542 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30543 $as_echo_n "(cached) " >&6
30544 else
30547 ac_ext=cpp
30548 ac_cpp='$CXXCPP $CPPFLAGS'
30549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555 #include <math.h>
30557 main ()
30559 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30561 return 0;
30563 _ACEOF
30564 if ac_fn_cxx_try_compile "$LINENO"; then :
30565 glibcxx_cv_func__float_trig_use=yes
30566 else
30567 glibcxx_cv_func__float_trig_use=no
30569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30570 ac_ext=c
30571 ac_cpp='$CPP $CPPFLAGS'
30572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30579 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30580 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30581 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30582 do :
30583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30586 cat >>confdefs.h <<_ACEOF
30587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30588 _ACEOF
30591 done
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30601 $as_echo_n "checking for float round functions... " >&6; }
30602 if ${glibcxx_cv_func_float_round_use+:} false; then :
30603 $as_echo_n "(cached) " >&6
30604 else
30607 ac_ext=cpp
30608 ac_cpp='$CXXCPP $CPPFLAGS'
30609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30614 /* end confdefs.h. */
30615 #include <math.h>
30617 main ()
30619 ceilf (0); floorf (0);
30621 return 0;
30623 _ACEOF
30624 if ac_fn_cxx_try_compile "$LINENO"; then :
30625 glibcxx_cv_func_float_round_use=yes
30626 else
30627 glibcxx_cv_func_float_round_use=no
30629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30630 ac_ext=c
30631 ac_cpp='$CPP $CPPFLAGS'
30632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30639 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30640 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30641 for ac_func in ceilf floorf
30642 do :
30643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30645 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30648 _ACEOF
30651 done
30653 else
30654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30655 $as_echo_n "checking for _float round functions... " >&6; }
30656 if ${glibcxx_cv_func__float_round_use+:} false; then :
30657 $as_echo_n "(cached) " >&6
30658 else
30661 ac_ext=cpp
30662 ac_cpp='$CXXCPP $CPPFLAGS'
30663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30668 /* end confdefs.h. */
30669 #include <math.h>
30671 main ()
30673 _ceilf (0); _floorf (0);
30675 return 0;
30677 _ACEOF
30678 if ac_fn_cxx_try_compile "$LINENO"; then :
30679 glibcxx_cv_func__float_round_use=yes
30680 else
30681 glibcxx_cv_func__float_round_use=no
30683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30684 ac_ext=c
30685 ac_cpp='$CPP $CPPFLAGS'
30686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30693 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30694 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30695 for ac_func in _ceilf _floorf
30696 do :
30697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30700 cat >>confdefs.h <<_ACEOF
30701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30702 _ACEOF
30705 done
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30716 $as_echo_n "checking for expf declaration... " >&6; }
30717 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30718 if ${glibcxx_cv_func_expf_use+:} false; then :
30719 $as_echo_n "(cached) " >&6
30720 else
30723 ac_ext=cpp
30724 ac_cpp='$CXXCPP $CPPFLAGS'
30725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30731 #include <math.h>
30732 #ifdef HAVE_IEEEFP_H
30733 #include <ieeefp.h>
30734 #endif
30737 main ()
30739 expf(0);
30741 return 0;
30743 _ACEOF
30744 if ac_fn_cxx_try_compile "$LINENO"; then :
30745 glibcxx_cv_func_expf_use=yes
30746 else
30747 glibcxx_cv_func_expf_use=no
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30750 ac_ext=c
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30761 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30763 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30764 for ac_func in expf
30765 do :
30766 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30767 if test "x$ac_cv_func_expf" = xyes; then :
30768 cat >>confdefs.h <<_ACEOF
30769 #define HAVE_EXPF 1
30770 _ACEOF
30773 done
30775 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30778 $as_echo_n "checking for _expf declaration... " >&6; }
30779 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30780 if ${glibcxx_cv_func__expf_use+:} false; then :
30781 $as_echo_n "(cached) " >&6
30782 else
30785 ac_ext=cpp
30786 ac_cpp='$CXXCPP $CPPFLAGS'
30787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30792 /* end confdefs.h. */
30793 #include <math.h>
30794 #ifdef HAVE_IEEEFP_H
30795 #include <ieeefp.h>
30796 #endif
30799 main ()
30801 _expf(0);
30803 return 0;
30805 _ACEOF
30806 if ac_fn_cxx_try_compile "$LINENO"; then :
30807 glibcxx_cv_func__expf_use=yes
30808 else
30809 glibcxx_cv_func__expf_use=no
30811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30812 ac_ext=c
30813 ac_cpp='$CPP $CPPFLAGS'
30814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30823 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30825 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30826 for ac_func in _expf
30827 do :
30828 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30829 if test "x$ac_cv_func__expf" = xyes; then :
30830 cat >>confdefs.h <<_ACEOF
30831 #define HAVE__EXPF 1
30832 _ACEOF
30835 done
30844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30845 $as_echo_n "checking for isnanf declaration... " >&6; }
30846 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30847 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30848 $as_echo_n "(cached) " >&6
30849 else
30852 ac_ext=cpp
30853 ac_cpp='$CXXCPP $CPPFLAGS'
30854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30859 /* end confdefs.h. */
30860 #include <math.h>
30861 #ifdef HAVE_IEEEFP_H
30862 #include <ieeefp.h>
30863 #endif
30866 main ()
30868 isnanf(0);
30870 return 0;
30872 _ACEOF
30873 if ac_fn_cxx_try_compile "$LINENO"; then :
30874 glibcxx_cv_func_isnanf_use=yes
30875 else
30876 glibcxx_cv_func_isnanf_use=no
30878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30879 ac_ext=c
30880 ac_cpp='$CPP $CPPFLAGS'
30881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30890 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30892 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30893 for ac_func in isnanf
30894 do :
30895 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30896 if test "x$ac_cv_func_isnanf" = xyes; then :
30897 cat >>confdefs.h <<_ACEOF
30898 #define HAVE_ISNANF 1
30899 _ACEOF
30902 done
30904 else
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30907 $as_echo_n "checking for _isnanf declaration... " >&6; }
30908 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30909 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30910 $as_echo_n "(cached) " >&6
30911 else
30914 ac_ext=cpp
30915 ac_cpp='$CXXCPP $CPPFLAGS'
30916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30921 /* end confdefs.h. */
30922 #include <math.h>
30923 #ifdef HAVE_IEEEFP_H
30924 #include <ieeefp.h>
30925 #endif
30928 main ()
30930 _isnanf(0);
30932 return 0;
30934 _ACEOF
30935 if ac_fn_cxx_try_compile "$LINENO"; then :
30936 glibcxx_cv_func__isnanf_use=yes
30937 else
30938 glibcxx_cv_func__isnanf_use=no
30940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30941 ac_ext=c
30942 ac_cpp='$CPP $CPPFLAGS'
30943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30952 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30954 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30955 for ac_func in _isnanf
30956 do :
30957 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30958 if test "x$ac_cv_func__isnanf" = xyes; then :
30959 cat >>confdefs.h <<_ACEOF
30960 #define HAVE__ISNANF 1
30961 _ACEOF
30964 done
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30974 $as_echo_n "checking for isinff declaration... " >&6; }
30975 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30976 if ${glibcxx_cv_func_isinff_use+:} false; then :
30977 $as_echo_n "(cached) " >&6
30978 else
30981 ac_ext=cpp
30982 ac_cpp='$CXXCPP $CPPFLAGS'
30983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30988 /* end confdefs.h. */
30989 #include <math.h>
30990 #ifdef HAVE_IEEEFP_H
30991 #include <ieeefp.h>
30992 #endif
30995 main ()
30997 isinff(0);
30999 return 0;
31001 _ACEOF
31002 if ac_fn_cxx_try_compile "$LINENO"; then :
31003 glibcxx_cv_func_isinff_use=yes
31004 else
31005 glibcxx_cv_func_isinff_use=no
31007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31008 ac_ext=c
31009 ac_cpp='$CPP $CPPFLAGS'
31010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31019 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31021 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31022 for ac_func in isinff
31023 do :
31024 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31025 if test "x$ac_cv_func_isinff" = xyes; then :
31026 cat >>confdefs.h <<_ACEOF
31027 #define HAVE_ISINFF 1
31028 _ACEOF
31031 done
31033 else
31035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31036 $as_echo_n "checking for _isinff declaration... " >&6; }
31037 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31038 if ${glibcxx_cv_func__isinff_use+:} false; then :
31039 $as_echo_n "(cached) " >&6
31040 else
31043 ac_ext=cpp
31044 ac_cpp='$CXXCPP $CPPFLAGS'
31045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31050 /* end confdefs.h. */
31051 #include <math.h>
31052 #ifdef HAVE_IEEEFP_H
31053 #include <ieeefp.h>
31054 #endif
31057 main ()
31059 _isinff(0);
31061 return 0;
31063 _ACEOF
31064 if ac_fn_cxx_try_compile "$LINENO"; then :
31065 glibcxx_cv_func__isinff_use=yes
31066 else
31067 glibcxx_cv_func__isinff_use=no
31069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070 ac_ext=c
31071 ac_cpp='$CPP $CPPFLAGS'
31072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31081 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31083 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31084 for ac_func in _isinff
31085 do :
31086 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31087 if test "x$ac_cv_func__isinff" = xyes; then :
31088 cat >>confdefs.h <<_ACEOF
31089 #define HAVE__ISINFF 1
31090 _ACEOF
31093 done
31102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31103 $as_echo_n "checking for atan2f declaration... " >&6; }
31104 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31105 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31106 $as_echo_n "(cached) " >&6
31107 else
31110 ac_ext=cpp
31111 ac_cpp='$CXXCPP $CPPFLAGS'
31112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31117 /* end confdefs.h. */
31118 #include <math.h>
31120 main ()
31122 atan2f(0, 0);
31124 return 0;
31126 _ACEOF
31127 if ac_fn_cxx_try_compile "$LINENO"; then :
31128 glibcxx_cv_func_atan2f_use=yes
31129 else
31130 glibcxx_cv_func_atan2f_use=no
31132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31133 ac_ext=c
31134 ac_cpp='$CPP $CPPFLAGS'
31135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31144 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31146 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31147 for ac_func in atan2f
31148 do :
31149 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31150 if test "x$ac_cv_func_atan2f" = xyes; then :
31151 cat >>confdefs.h <<_ACEOF
31152 #define HAVE_ATAN2F 1
31153 _ACEOF
31156 done
31158 else
31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31161 $as_echo_n "checking for _atan2f declaration... " >&6; }
31162 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31163 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31164 $as_echo_n "(cached) " >&6
31165 else
31168 ac_ext=cpp
31169 ac_cpp='$CXXCPP $CPPFLAGS'
31170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31175 /* end confdefs.h. */
31176 #include <math.h>
31178 main ()
31180 _atan2f(0, 0);
31182 return 0;
31184 _ACEOF
31185 if ac_fn_cxx_try_compile "$LINENO"; then :
31186 glibcxx_cv_func__atan2f_use=yes
31187 else
31188 glibcxx_cv_func__atan2f_use=no
31190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31191 ac_ext=c
31192 ac_cpp='$CPP $CPPFLAGS'
31193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31202 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31204 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31205 for ac_func in _atan2f
31206 do :
31207 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31208 if test "x$ac_cv_func__atan2f" = xyes; then :
31209 cat >>confdefs.h <<_ACEOF
31210 #define HAVE__ATAN2F 1
31211 _ACEOF
31214 done
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31224 $as_echo_n "checking for fabsf declaration... " >&6; }
31225 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31226 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31227 $as_echo_n "(cached) " >&6
31228 else
31231 ac_ext=cpp
31232 ac_cpp='$CXXCPP $CPPFLAGS'
31233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31238 /* end confdefs.h. */
31239 #include <math.h>
31240 #ifdef HAVE_IEEEFP_H
31241 #include <ieeefp.h>
31242 #endif
31245 main ()
31247 fabsf(0);
31249 return 0;
31251 _ACEOF
31252 if ac_fn_cxx_try_compile "$LINENO"; then :
31253 glibcxx_cv_func_fabsf_use=yes
31254 else
31255 glibcxx_cv_func_fabsf_use=no
31257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31258 ac_ext=c
31259 ac_cpp='$CPP $CPPFLAGS'
31260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31269 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31271 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31272 for ac_func in fabsf
31273 do :
31274 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31275 if test "x$ac_cv_func_fabsf" = xyes; then :
31276 cat >>confdefs.h <<_ACEOF
31277 #define HAVE_FABSF 1
31278 _ACEOF
31281 done
31283 else
31285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31286 $as_echo_n "checking for _fabsf declaration... " >&6; }
31287 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31288 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31289 $as_echo_n "(cached) " >&6
31290 else
31293 ac_ext=cpp
31294 ac_cpp='$CXXCPP $CPPFLAGS'
31295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31300 /* end confdefs.h. */
31301 #include <math.h>
31302 #ifdef HAVE_IEEEFP_H
31303 #include <ieeefp.h>
31304 #endif
31307 main ()
31309 _fabsf(0);
31311 return 0;
31313 _ACEOF
31314 if ac_fn_cxx_try_compile "$LINENO"; then :
31315 glibcxx_cv_func__fabsf_use=yes
31316 else
31317 glibcxx_cv_func__fabsf_use=no
31319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31320 ac_ext=c
31321 ac_cpp='$CPP $CPPFLAGS'
31322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31331 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31333 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31334 for ac_func in _fabsf
31335 do :
31336 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31337 if test "x$ac_cv_func__fabsf" = xyes; then :
31338 cat >>confdefs.h <<_ACEOF
31339 #define HAVE__FABSF 1
31340 _ACEOF
31343 done
31352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31353 $as_echo_n "checking for fmodf declaration... " >&6; }
31354 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31355 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31356 $as_echo_n "(cached) " >&6
31357 else
31360 ac_ext=cpp
31361 ac_cpp='$CXXCPP $CPPFLAGS'
31362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31368 #include <math.h>
31370 main ()
31372 fmodf(0, 0);
31374 return 0;
31376 _ACEOF
31377 if ac_fn_cxx_try_compile "$LINENO"; then :
31378 glibcxx_cv_func_fmodf_use=yes
31379 else
31380 glibcxx_cv_func_fmodf_use=no
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383 ac_ext=c
31384 ac_cpp='$CPP $CPPFLAGS'
31385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31394 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31396 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31397 for ac_func in fmodf
31398 do :
31399 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31400 if test "x$ac_cv_func_fmodf" = xyes; then :
31401 cat >>confdefs.h <<_ACEOF
31402 #define HAVE_FMODF 1
31403 _ACEOF
31406 done
31408 else
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31411 $as_echo_n "checking for _fmodf declaration... " >&6; }
31412 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31413 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31428 main ()
31430 _fmodf(0, 0);
31432 return 0;
31434 _ACEOF
31435 if ac_fn_cxx_try_compile "$LINENO"; then :
31436 glibcxx_cv_func__fmodf_use=yes
31437 else
31438 glibcxx_cv_func__fmodf_use=no
31440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441 ac_ext=c
31442 ac_cpp='$CPP $CPPFLAGS'
31443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31452 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31454 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31455 for ac_func in _fmodf
31456 do :
31457 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31458 if test "x$ac_cv_func__fmodf" = xyes; then :
31459 cat >>confdefs.h <<_ACEOF
31460 #define HAVE__FMODF 1
31461 _ACEOF
31464 done
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31474 $as_echo_n "checking for frexpf declaration... " >&6; }
31475 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31476 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31477 $as_echo_n "(cached) " >&6
31478 else
31481 ac_ext=cpp
31482 ac_cpp='$CXXCPP $CPPFLAGS'
31483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31488 /* end confdefs.h. */
31489 #include <math.h>
31491 main ()
31493 frexpf(0, 0);
31495 return 0;
31497 _ACEOF
31498 if ac_fn_cxx_try_compile "$LINENO"; then :
31499 glibcxx_cv_func_frexpf_use=yes
31500 else
31501 glibcxx_cv_func_frexpf_use=no
31503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31504 ac_ext=c
31505 ac_cpp='$CPP $CPPFLAGS'
31506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31515 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31517 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31518 for ac_func in frexpf
31519 do :
31520 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31521 if test "x$ac_cv_func_frexpf" = xyes; then :
31522 cat >>confdefs.h <<_ACEOF
31523 #define HAVE_FREXPF 1
31524 _ACEOF
31527 done
31529 else
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31532 $as_echo_n "checking for _frexpf declaration... " >&6; }
31533 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31534 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31535 $as_echo_n "(cached) " >&6
31536 else
31539 ac_ext=cpp
31540 ac_cpp='$CXXCPP $CPPFLAGS'
31541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31546 /* end confdefs.h. */
31547 #include <math.h>
31549 main ()
31551 _frexpf(0, 0);
31553 return 0;
31555 _ACEOF
31556 if ac_fn_cxx_try_compile "$LINENO"; then :
31557 glibcxx_cv_func__frexpf_use=yes
31558 else
31559 glibcxx_cv_func__frexpf_use=no
31561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31562 ac_ext=c
31563 ac_cpp='$CPP $CPPFLAGS'
31564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31573 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31575 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31576 for ac_func in _frexpf
31577 do :
31578 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31579 if test "x$ac_cv_func__frexpf" = xyes; then :
31580 cat >>confdefs.h <<_ACEOF
31581 #define HAVE__FREXPF 1
31582 _ACEOF
31585 done
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31595 $as_echo_n "checking for hypotf declaration... " >&6; }
31596 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31597 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31598 $as_echo_n "(cached) " >&6
31599 else
31602 ac_ext=cpp
31603 ac_cpp='$CXXCPP $CPPFLAGS'
31604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31609 /* end confdefs.h. */
31610 #include <math.h>
31612 main ()
31614 hypotf(0, 0);
31616 return 0;
31618 _ACEOF
31619 if ac_fn_cxx_try_compile "$LINENO"; then :
31620 glibcxx_cv_func_hypotf_use=yes
31621 else
31622 glibcxx_cv_func_hypotf_use=no
31624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31625 ac_ext=c
31626 ac_cpp='$CPP $CPPFLAGS'
31627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31636 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31638 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31639 for ac_func in hypotf
31640 do :
31641 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31642 if test "x$ac_cv_func_hypotf" = xyes; then :
31643 cat >>confdefs.h <<_ACEOF
31644 #define HAVE_HYPOTF 1
31645 _ACEOF
31648 done
31650 else
31652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31653 $as_echo_n "checking for _hypotf declaration... " >&6; }
31654 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31655 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31656 $as_echo_n "(cached) " >&6
31657 else
31660 ac_ext=cpp
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31667 /* end confdefs.h. */
31668 #include <math.h>
31670 main ()
31672 _hypotf(0, 0);
31674 return 0;
31676 _ACEOF
31677 if ac_fn_cxx_try_compile "$LINENO"; then :
31678 glibcxx_cv_func__hypotf_use=yes
31679 else
31680 glibcxx_cv_func__hypotf_use=no
31682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31683 ac_ext=c
31684 ac_cpp='$CPP $CPPFLAGS'
31685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31694 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31696 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31697 for ac_func in _hypotf
31698 do :
31699 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31700 if test "x$ac_cv_func__hypotf" = xyes; then :
31701 cat >>confdefs.h <<_ACEOF
31702 #define HAVE__HYPOTF 1
31703 _ACEOF
31706 done
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31716 $as_echo_n "checking for ldexpf declaration... " >&6; }
31717 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31718 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31719 $as_echo_n "(cached) " >&6
31720 else
31723 ac_ext=cpp
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31730 /* end confdefs.h. */
31731 #include <math.h>
31733 main ()
31735 ldexpf(0, 0);
31737 return 0;
31739 _ACEOF
31740 if ac_fn_cxx_try_compile "$LINENO"; then :
31741 glibcxx_cv_func_ldexpf_use=yes
31742 else
31743 glibcxx_cv_func_ldexpf_use=no
31745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31746 ac_ext=c
31747 ac_cpp='$CPP $CPPFLAGS'
31748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31757 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31759 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31760 for ac_func in ldexpf
31761 do :
31762 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31763 if test "x$ac_cv_func_ldexpf" = xyes; then :
31764 cat >>confdefs.h <<_ACEOF
31765 #define HAVE_LDEXPF 1
31766 _ACEOF
31769 done
31771 else
31773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31774 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31775 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31776 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31777 $as_echo_n "(cached) " >&6
31778 else
31781 ac_ext=cpp
31782 ac_cpp='$CXXCPP $CPPFLAGS'
31783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31788 /* end confdefs.h. */
31789 #include <math.h>
31791 main ()
31793 _ldexpf(0, 0);
31795 return 0;
31797 _ACEOF
31798 if ac_fn_cxx_try_compile "$LINENO"; then :
31799 glibcxx_cv_func__ldexpf_use=yes
31800 else
31801 glibcxx_cv_func__ldexpf_use=no
31803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31804 ac_ext=c
31805 ac_cpp='$CPP $CPPFLAGS'
31806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31815 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31817 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31818 for ac_func in _ldexpf
31819 do :
31820 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31821 if test "x$ac_cv_func__ldexpf" = xyes; then :
31822 cat >>confdefs.h <<_ACEOF
31823 #define HAVE__LDEXPF 1
31824 _ACEOF
31827 done
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31837 $as_echo_n "checking for logf declaration... " >&6; }
31838 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31839 if ${glibcxx_cv_func_logf_use+:} false; then :
31840 $as_echo_n "(cached) " >&6
31841 else
31844 ac_ext=cpp
31845 ac_cpp='$CXXCPP $CPPFLAGS'
31846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31851 /* end confdefs.h. */
31852 #include <math.h>
31853 #ifdef HAVE_IEEEFP_H
31854 #include <ieeefp.h>
31855 #endif
31858 main ()
31860 logf(0);
31862 return 0;
31864 _ACEOF
31865 if ac_fn_cxx_try_compile "$LINENO"; then :
31866 glibcxx_cv_func_logf_use=yes
31867 else
31868 glibcxx_cv_func_logf_use=no
31870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31871 ac_ext=c
31872 ac_cpp='$CPP $CPPFLAGS'
31873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31882 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31884 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31885 for ac_func in logf
31886 do :
31887 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31888 if test "x$ac_cv_func_logf" = xyes; then :
31889 cat >>confdefs.h <<_ACEOF
31890 #define HAVE_LOGF 1
31891 _ACEOF
31894 done
31896 else
31898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31899 $as_echo_n "checking for _logf declaration... " >&6; }
31900 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31901 if ${glibcxx_cv_func__logf_use+:} false; then :
31902 $as_echo_n "(cached) " >&6
31903 else
31906 ac_ext=cpp
31907 ac_cpp='$CXXCPP $CPPFLAGS'
31908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31913 /* end confdefs.h. */
31914 #include <math.h>
31915 #ifdef HAVE_IEEEFP_H
31916 #include <ieeefp.h>
31917 #endif
31920 main ()
31922 _logf(0);
31924 return 0;
31926 _ACEOF
31927 if ac_fn_cxx_try_compile "$LINENO"; then :
31928 glibcxx_cv_func__logf_use=yes
31929 else
31930 glibcxx_cv_func__logf_use=no
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31944 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31946 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31947 for ac_func in _logf
31948 do :
31949 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31950 if test "x$ac_cv_func__logf" = xyes; then :
31951 cat >>confdefs.h <<_ACEOF
31952 #define HAVE__LOGF 1
31953 _ACEOF
31956 done
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31966 $as_echo_n "checking for log10f declaration... " >&6; }
31967 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31968 if ${glibcxx_cv_func_log10f_use+:} false; then :
31969 $as_echo_n "(cached) " >&6
31970 else
31973 ac_ext=cpp
31974 ac_cpp='$CXXCPP $CPPFLAGS'
31975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980 /* end confdefs.h. */
31981 #include <math.h>
31982 #ifdef HAVE_IEEEFP_H
31983 #include <ieeefp.h>
31984 #endif
31987 main ()
31989 log10f(0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_log10f_use=yes
31996 else
31997 glibcxx_cv_func_log10f_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32011 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32013 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32014 for ac_func in log10f
32015 do :
32016 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32017 if test "x$ac_cv_func_log10f" = xyes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_LOG10F 1
32020 _ACEOF
32023 done
32025 else
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32028 $as_echo_n "checking for _log10f declaration... " >&6; }
32029 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32030 if ${glibcxx_cv_func__log10f_use+:} false; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32044 #ifdef HAVE_IEEEFP_H
32045 #include <ieeefp.h>
32046 #endif
32049 main ()
32051 _log10f(0);
32053 return 0;
32055 _ACEOF
32056 if ac_fn_cxx_try_compile "$LINENO"; then :
32057 glibcxx_cv_func__log10f_use=yes
32058 else
32059 glibcxx_cv_func__log10f_use=no
32061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32062 ac_ext=c
32063 ac_cpp='$CPP $CPPFLAGS'
32064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32073 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32075 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32076 for ac_func in _log10f
32077 do :
32078 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32079 if test "x$ac_cv_func__log10f" = xyes; then :
32080 cat >>confdefs.h <<_ACEOF
32081 #define HAVE__LOG10F 1
32082 _ACEOF
32085 done
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32095 $as_echo_n "checking for modff declaration... " >&6; }
32096 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32097 if ${glibcxx_cv_func_modff_use+:} false; then :
32098 $as_echo_n "(cached) " >&6
32099 else
32102 ac_ext=cpp
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32110 #include <math.h>
32112 main ()
32114 modff(0, 0);
32116 return 0;
32118 _ACEOF
32119 if ac_fn_cxx_try_compile "$LINENO"; then :
32120 glibcxx_cv_func_modff_use=yes
32121 else
32122 glibcxx_cv_func_modff_use=no
32124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32125 ac_ext=c
32126 ac_cpp='$CPP $CPPFLAGS'
32127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32136 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32138 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32139 for ac_func in modff
32140 do :
32141 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32142 if test "x$ac_cv_func_modff" = xyes; then :
32143 cat >>confdefs.h <<_ACEOF
32144 #define HAVE_MODFF 1
32145 _ACEOF
32148 done
32150 else
32152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32153 $as_echo_n "checking for _modff declaration... " >&6; }
32154 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32155 if ${glibcxx_cv_func__modff_use+:} false; then :
32156 $as_echo_n "(cached) " >&6
32157 else
32160 ac_ext=cpp
32161 ac_cpp='$CXXCPP $CPPFLAGS'
32162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32167 /* end confdefs.h. */
32168 #include <math.h>
32170 main ()
32172 _modff(0, 0);
32174 return 0;
32176 _ACEOF
32177 if ac_fn_cxx_try_compile "$LINENO"; then :
32178 glibcxx_cv_func__modff_use=yes
32179 else
32180 glibcxx_cv_func__modff_use=no
32182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32183 ac_ext=c
32184 ac_cpp='$CPP $CPPFLAGS'
32185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32194 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32196 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32197 for ac_func in _modff
32198 do :
32199 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32200 if test "x$ac_cv_func__modff" = xyes; then :
32201 cat >>confdefs.h <<_ACEOF
32202 #define HAVE__MODFF 1
32203 _ACEOF
32206 done
32215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32216 $as_echo_n "checking for modf declaration... " >&6; }
32217 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32218 if ${glibcxx_cv_func_modf_use+:} false; then :
32219 $as_echo_n "(cached) " >&6
32220 else
32223 ac_ext=cpp
32224 ac_cpp='$CXXCPP $CPPFLAGS'
32225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32230 /* end confdefs.h. */
32231 #include <math.h>
32233 main ()
32235 modf(0, 0);
32237 return 0;
32239 _ACEOF
32240 if ac_fn_cxx_try_compile "$LINENO"; then :
32241 glibcxx_cv_func_modf_use=yes
32242 else
32243 glibcxx_cv_func_modf_use=no
32245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32246 ac_ext=c
32247 ac_cpp='$CPP $CPPFLAGS'
32248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32257 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32259 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32260 for ac_func in modf
32261 do :
32262 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32263 if test "x$ac_cv_func_modf" = xyes; then :
32264 cat >>confdefs.h <<_ACEOF
32265 #define HAVE_MODF 1
32266 _ACEOF
32269 done
32271 else
32273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32274 $as_echo_n "checking for _modf declaration... " >&6; }
32275 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32276 if ${glibcxx_cv_func__modf_use+:} false; then :
32277 $as_echo_n "(cached) " >&6
32278 else
32281 ac_ext=cpp
32282 ac_cpp='$CXXCPP $CPPFLAGS'
32283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32288 /* end confdefs.h. */
32289 #include <math.h>
32291 main ()
32293 _modf(0, 0);
32295 return 0;
32297 _ACEOF
32298 if ac_fn_cxx_try_compile "$LINENO"; then :
32299 glibcxx_cv_func__modf_use=yes
32300 else
32301 glibcxx_cv_func__modf_use=no
32303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32315 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32317 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32318 for ac_func in _modf
32319 do :
32320 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32321 if test "x$ac_cv_func__modf" = xyes; then :
32322 cat >>confdefs.h <<_ACEOF
32323 #define HAVE__MODF 1
32324 _ACEOF
32327 done
32336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32337 $as_echo_n "checking for powf declaration... " >&6; }
32338 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32339 if ${glibcxx_cv_func_powf_use+:} false; then :
32340 $as_echo_n "(cached) " >&6
32341 else
32344 ac_ext=cpp
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32351 /* end confdefs.h. */
32352 #include <math.h>
32354 main ()
32356 powf(0, 0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func_powf_use=yes
32363 else
32364 glibcxx_cv_func_powf_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32378 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32380 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32381 for ac_func in powf
32382 do :
32383 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32384 if test "x$ac_cv_func_powf" = xyes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define HAVE_POWF 1
32387 _ACEOF
32390 done
32392 else
32394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32395 $as_echo_n "checking for _powf declaration... " >&6; }
32396 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32397 if ${glibcxx_cv_func__powf_use+:} false; then :
32398 $as_echo_n "(cached) " >&6
32399 else
32402 ac_ext=cpp
32403 ac_cpp='$CXXCPP $CPPFLAGS'
32404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32409 /* end confdefs.h. */
32410 #include <math.h>
32412 main ()
32414 _powf(0, 0);
32416 return 0;
32418 _ACEOF
32419 if ac_fn_cxx_try_compile "$LINENO"; then :
32420 glibcxx_cv_func__powf_use=yes
32421 else
32422 glibcxx_cv_func__powf_use=no
32424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32425 ac_ext=c
32426 ac_cpp='$CPP $CPPFLAGS'
32427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32436 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32438 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32439 for ac_func in _powf
32440 do :
32441 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32442 if test "x$ac_cv_func__powf" = xyes; then :
32443 cat >>confdefs.h <<_ACEOF
32444 #define HAVE__POWF 1
32445 _ACEOF
32448 done
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32458 $as_echo_n "checking for sqrtf declaration... " >&6; }
32459 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32460 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32461 $as_echo_n "(cached) " >&6
32462 else
32465 ac_ext=cpp
32466 ac_cpp='$CXXCPP $CPPFLAGS'
32467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32473 #include <math.h>
32474 #ifdef HAVE_IEEEFP_H
32475 #include <ieeefp.h>
32476 #endif
32479 main ()
32481 sqrtf(0);
32483 return 0;
32485 _ACEOF
32486 if ac_fn_cxx_try_compile "$LINENO"; then :
32487 glibcxx_cv_func_sqrtf_use=yes
32488 else
32489 glibcxx_cv_func_sqrtf_use=no
32491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32492 ac_ext=c
32493 ac_cpp='$CPP $CPPFLAGS'
32494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32503 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32505 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32506 for ac_func in sqrtf
32507 do :
32508 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32509 if test "x$ac_cv_func_sqrtf" = xyes; then :
32510 cat >>confdefs.h <<_ACEOF
32511 #define HAVE_SQRTF 1
32512 _ACEOF
32515 done
32517 else
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32520 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32521 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32522 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32523 $as_echo_n "(cached) " >&6
32524 else
32527 ac_ext=cpp
32528 ac_cpp='$CXXCPP $CPPFLAGS'
32529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32534 /* end confdefs.h. */
32535 #include <math.h>
32536 #ifdef HAVE_IEEEFP_H
32537 #include <ieeefp.h>
32538 #endif
32541 main ()
32543 _sqrtf(0);
32545 return 0;
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 glibcxx_cv_func__sqrtf_use=yes
32550 else
32551 glibcxx_cv_func__sqrtf_use=no
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 ac_ext=c
32555 ac_cpp='$CPP $CPPFLAGS'
32556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32565 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32567 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32568 for ac_func in _sqrtf
32569 do :
32570 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32571 if test "x$ac_cv_func__sqrtf" = xyes; then :
32572 cat >>confdefs.h <<_ACEOF
32573 #define HAVE__SQRTF 1
32574 _ACEOF
32577 done
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32587 $as_echo_n "checking for sincosf declaration... " >&6; }
32588 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32589 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32590 $as_echo_n "(cached) " >&6
32591 else
32594 ac_ext=cpp
32595 ac_cpp='$CXXCPP $CPPFLAGS'
32596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32601 /* end confdefs.h. */
32602 #include <math.h>
32604 main ()
32606 sincosf(0, 0, 0);
32608 return 0;
32610 _ACEOF
32611 if ac_fn_cxx_try_compile "$LINENO"; then :
32612 glibcxx_cv_func_sincosf_use=yes
32613 else
32614 glibcxx_cv_func_sincosf_use=no
32616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32628 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32630 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32631 for ac_func in sincosf
32632 do :
32633 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32634 if test "x$ac_cv_func_sincosf" = xyes; then :
32635 cat >>confdefs.h <<_ACEOF
32636 #define HAVE_SINCOSF 1
32637 _ACEOF
32640 done
32642 else
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32645 $as_echo_n "checking for _sincosf declaration... " >&6; }
32646 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32647 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32662 main ()
32664 _sincosf(0, 0, 0);
32666 return 0;
32668 _ACEOF
32669 if ac_fn_cxx_try_compile "$LINENO"; then :
32670 glibcxx_cv_func__sincosf_use=yes
32671 else
32672 glibcxx_cv_func__sincosf_use=no
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32686 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32688 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32689 for ac_func in _sincosf
32690 do :
32691 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32692 if test "x$ac_cv_func__sincosf" = xyes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define HAVE__SINCOSF 1
32695 _ACEOF
32698 done
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32708 $as_echo_n "checking for finitef declaration... " >&6; }
32709 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32710 if ${glibcxx_cv_func_finitef_use+:} false; then :
32711 $as_echo_n "(cached) " >&6
32712 else
32715 ac_ext=cpp
32716 ac_cpp='$CXXCPP $CPPFLAGS'
32717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32722 /* end confdefs.h. */
32723 #include <math.h>
32724 #ifdef HAVE_IEEEFP_H
32725 #include <ieeefp.h>
32726 #endif
32729 main ()
32731 finitef(0);
32733 return 0;
32735 _ACEOF
32736 if ac_fn_cxx_try_compile "$LINENO"; then :
32737 glibcxx_cv_func_finitef_use=yes
32738 else
32739 glibcxx_cv_func_finitef_use=no
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32753 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32755 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32756 for ac_func in finitef
32757 do :
32758 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32759 if test "x$ac_cv_func_finitef" = xyes; then :
32760 cat >>confdefs.h <<_ACEOF
32761 #define HAVE_FINITEF 1
32762 _ACEOF
32765 done
32767 else
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32770 $as_echo_n "checking for _finitef declaration... " >&6; }
32771 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32772 if ${glibcxx_cv_func__finitef_use+:} false; then :
32773 $as_echo_n "(cached) " >&6
32774 else
32777 ac_ext=cpp
32778 ac_cpp='$CXXCPP $CPPFLAGS'
32779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784 /* end confdefs.h. */
32785 #include <math.h>
32786 #ifdef HAVE_IEEEFP_H
32787 #include <ieeefp.h>
32788 #endif
32791 main ()
32793 _finitef(0);
32795 return 0;
32797 _ACEOF
32798 if ac_fn_cxx_try_compile "$LINENO"; then :
32799 glibcxx_cv_func__finitef_use=yes
32800 else
32801 glibcxx_cv_func__finitef_use=no
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32815 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32817 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32818 for ac_func in _finitef
32819 do :
32820 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32821 if test "x$ac_cv_func__finitef" = xyes; then :
32822 cat >>confdefs.h <<_ACEOF
32823 #define HAVE__FINITEF 1
32824 _ACEOF
32827 done
32836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32837 $as_echo_n "checking for long double trig functions... " >&6; }
32838 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32839 $as_echo_n "(cached) " >&6
32840 else
32843 ac_ext=cpp
32844 ac_cpp='$CXXCPP $CPPFLAGS'
32845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32850 /* end confdefs.h. */
32851 #include <math.h>
32853 main ()
32855 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32857 return 0;
32859 _ACEOF
32860 if ac_fn_cxx_try_compile "$LINENO"; then :
32861 glibcxx_cv_func_long_double_trig_use=yes
32862 else
32863 glibcxx_cv_func_long_double_trig_use=no
32865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32866 ac_ext=c
32867 ac_cpp='$CPP $CPPFLAGS'
32868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32875 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32876 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32877 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32878 do :
32879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32882 cat >>confdefs.h <<_ACEOF
32883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32884 _ACEOF
32887 done
32889 else
32890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32891 $as_echo_n "checking for _long double trig functions... " >&6; }
32892 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32893 $as_echo_n "(cached) " >&6
32894 else
32897 ac_ext=cpp
32898 ac_cpp='$CXXCPP $CPPFLAGS'
32899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32904 /* end confdefs.h. */
32905 #include <math.h>
32907 main ()
32909 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32911 return 0;
32913 _ACEOF
32914 if ac_fn_cxx_try_compile "$LINENO"; then :
32915 glibcxx_cv_func__long_double_trig_use=yes
32916 else
32917 glibcxx_cv_func__long_double_trig_use=no
32919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32920 ac_ext=c
32921 ac_cpp='$CPP $CPPFLAGS'
32922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32929 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32930 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32931 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32932 do :
32933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32936 cat >>confdefs.h <<_ACEOF
32937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32938 _ACEOF
32941 done
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32951 $as_echo_n "checking for long double round functions... " >&6; }
32952 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32953 $as_echo_n "(cached) " >&6
32954 else
32957 ac_ext=cpp
32958 ac_cpp='$CXXCPP $CPPFLAGS'
32959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32964 /* end confdefs.h. */
32965 #include <math.h>
32967 main ()
32969 ceill (0); floorl (0);
32971 return 0;
32973 _ACEOF
32974 if ac_fn_cxx_try_compile "$LINENO"; then :
32975 glibcxx_cv_func_long_double_round_use=yes
32976 else
32977 glibcxx_cv_func_long_double_round_use=no
32979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32980 ac_ext=c
32981 ac_cpp='$CPP $CPPFLAGS'
32982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32989 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32990 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32991 for ac_func in ceill floorl
32992 do :
32993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32994 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32995 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32996 cat >>confdefs.h <<_ACEOF
32997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32998 _ACEOF
33001 done
33003 else
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33005 $as_echo_n "checking for _long double round functions... " >&6; }
33006 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33007 $as_echo_n "(cached) " >&6
33008 else
33011 ac_ext=cpp
33012 ac_cpp='$CXXCPP $CPPFLAGS'
33013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33019 #include <math.h>
33021 main ()
33023 _ceill (0); _floorl (0);
33025 return 0;
33027 _ACEOF
33028 if ac_fn_cxx_try_compile "$LINENO"; then :
33029 glibcxx_cv_func__long_double_round_use=yes
33030 else
33031 glibcxx_cv_func__long_double_round_use=no
33033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33034 ac_ext=c
33035 ac_cpp='$CPP $CPPFLAGS'
33036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33043 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33044 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33045 for ac_func in _ceill _floorl
33046 do :
33047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33049 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33050 cat >>confdefs.h <<_ACEOF
33051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33052 _ACEOF
33055 done
33065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33066 $as_echo_n "checking for isnanl declaration... " >&6; }
33067 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33068 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33069 $as_echo_n "(cached) " >&6
33070 else
33073 ac_ext=cpp
33074 ac_cpp='$CXXCPP $CPPFLAGS'
33075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33080 /* end confdefs.h. */
33081 #include <math.h>
33082 #ifdef HAVE_IEEEFP_H
33083 #include <ieeefp.h>
33084 #endif
33087 main ()
33089 isnanl(0);
33091 return 0;
33093 _ACEOF
33094 if ac_fn_cxx_try_compile "$LINENO"; then :
33095 glibcxx_cv_func_isnanl_use=yes
33096 else
33097 glibcxx_cv_func_isnanl_use=no
33099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100 ac_ext=c
33101 ac_cpp='$CPP $CPPFLAGS'
33102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33111 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33113 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33114 for ac_func in isnanl
33115 do :
33116 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33117 if test "x$ac_cv_func_isnanl" = xyes; then :
33118 cat >>confdefs.h <<_ACEOF
33119 #define HAVE_ISNANL 1
33120 _ACEOF
33123 done
33125 else
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33128 $as_echo_n "checking for _isnanl declaration... " >&6; }
33129 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33130 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33131 $as_echo_n "(cached) " >&6
33132 else
33135 ac_ext=cpp
33136 ac_cpp='$CXXCPP $CPPFLAGS'
33137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33142 /* end confdefs.h. */
33143 #include <math.h>
33144 #ifdef HAVE_IEEEFP_H
33145 #include <ieeefp.h>
33146 #endif
33149 main ()
33151 _isnanl(0);
33153 return 0;
33155 _ACEOF
33156 if ac_fn_cxx_try_compile "$LINENO"; then :
33157 glibcxx_cv_func__isnanl_use=yes
33158 else
33159 glibcxx_cv_func__isnanl_use=no
33161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33162 ac_ext=c
33163 ac_cpp='$CPP $CPPFLAGS'
33164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33173 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33175 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33176 for ac_func in _isnanl
33177 do :
33178 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33179 if test "x$ac_cv_func__isnanl" = xyes; then :
33180 cat >>confdefs.h <<_ACEOF
33181 #define HAVE__ISNANL 1
33182 _ACEOF
33185 done
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33195 $as_echo_n "checking for isinfl declaration... " >&6; }
33196 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33197 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33198 $as_echo_n "(cached) " >&6
33199 else
33202 ac_ext=cpp
33203 ac_cpp='$CXXCPP $CPPFLAGS'
33204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33209 /* end confdefs.h. */
33210 #include <math.h>
33211 #ifdef HAVE_IEEEFP_H
33212 #include <ieeefp.h>
33213 #endif
33216 main ()
33218 isinfl(0);
33220 return 0;
33222 _ACEOF
33223 if ac_fn_cxx_try_compile "$LINENO"; then :
33224 glibcxx_cv_func_isinfl_use=yes
33225 else
33226 glibcxx_cv_func_isinfl_use=no
33228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33229 ac_ext=c
33230 ac_cpp='$CPP $CPPFLAGS'
33231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33240 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33242 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33243 for ac_func in isinfl
33244 do :
33245 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33246 if test "x$ac_cv_func_isinfl" = xyes; then :
33247 cat >>confdefs.h <<_ACEOF
33248 #define HAVE_ISINFL 1
33249 _ACEOF
33252 done
33254 else
33256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33257 $as_echo_n "checking for _isinfl declaration... " >&6; }
33258 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33259 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33260 $as_echo_n "(cached) " >&6
33261 else
33264 ac_ext=cpp
33265 ac_cpp='$CXXCPP $CPPFLAGS'
33266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33271 /* end confdefs.h. */
33272 #include <math.h>
33273 #ifdef HAVE_IEEEFP_H
33274 #include <ieeefp.h>
33275 #endif
33278 main ()
33280 _isinfl(0);
33282 return 0;
33284 _ACEOF
33285 if ac_fn_cxx_try_compile "$LINENO"; then :
33286 glibcxx_cv_func__isinfl_use=yes
33287 else
33288 glibcxx_cv_func__isinfl_use=no
33290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33291 ac_ext=c
33292 ac_cpp='$CPP $CPPFLAGS'
33293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33302 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33304 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33305 for ac_func in _isinfl
33306 do :
33307 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33308 if test "x$ac_cv_func__isinfl" = xyes; then :
33309 cat >>confdefs.h <<_ACEOF
33310 #define HAVE__ISINFL 1
33311 _ACEOF
33314 done
33323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33324 $as_echo_n "checking for atan2l declaration... " >&6; }
33325 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33326 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33327 $as_echo_n "(cached) " >&6
33328 else
33331 ac_ext=cpp
33332 ac_cpp='$CXXCPP $CPPFLAGS'
33333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33338 /* end confdefs.h. */
33339 #include <math.h>
33341 main ()
33343 atan2l(0, 0);
33345 return 0;
33347 _ACEOF
33348 if ac_fn_cxx_try_compile "$LINENO"; then :
33349 glibcxx_cv_func_atan2l_use=yes
33350 else
33351 glibcxx_cv_func_atan2l_use=no
33353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33354 ac_ext=c
33355 ac_cpp='$CPP $CPPFLAGS'
33356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33365 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33367 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33368 for ac_func in atan2l
33369 do :
33370 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33371 if test "x$ac_cv_func_atan2l" = xyes; then :
33372 cat >>confdefs.h <<_ACEOF
33373 #define HAVE_ATAN2L 1
33374 _ACEOF
33377 done
33379 else
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33382 $as_echo_n "checking for _atan2l declaration... " >&6; }
33383 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33384 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33385 $as_echo_n "(cached) " >&6
33386 else
33389 ac_ext=cpp
33390 ac_cpp='$CXXCPP $CPPFLAGS'
33391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33396 /* end confdefs.h. */
33397 #include <math.h>
33399 main ()
33401 _atan2l(0, 0);
33403 return 0;
33405 _ACEOF
33406 if ac_fn_cxx_try_compile "$LINENO"; then :
33407 glibcxx_cv_func__atan2l_use=yes
33408 else
33409 glibcxx_cv_func__atan2l_use=no
33411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33412 ac_ext=c
33413 ac_cpp='$CPP $CPPFLAGS'
33414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33423 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33425 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33426 for ac_func in _atan2l
33427 do :
33428 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33429 if test "x$ac_cv_func__atan2l" = xyes; then :
33430 cat >>confdefs.h <<_ACEOF
33431 #define HAVE__ATAN2L 1
33432 _ACEOF
33435 done
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33445 $as_echo_n "checking for expl declaration... " >&6; }
33446 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33447 if ${glibcxx_cv_func_expl_use+:} false; then :
33448 $as_echo_n "(cached) " >&6
33449 else
33452 ac_ext=cpp
33453 ac_cpp='$CXXCPP $CPPFLAGS'
33454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33459 /* end confdefs.h. */
33460 #include <math.h>
33461 #ifdef HAVE_IEEEFP_H
33462 #include <ieeefp.h>
33463 #endif
33466 main ()
33468 expl(0);
33470 return 0;
33472 _ACEOF
33473 if ac_fn_cxx_try_compile "$LINENO"; then :
33474 glibcxx_cv_func_expl_use=yes
33475 else
33476 glibcxx_cv_func_expl_use=no
33478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33479 ac_ext=c
33480 ac_cpp='$CPP $CPPFLAGS'
33481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33490 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33492 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33493 for ac_func in expl
33494 do :
33495 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33496 if test "x$ac_cv_func_expl" = xyes; then :
33497 cat >>confdefs.h <<_ACEOF
33498 #define HAVE_EXPL 1
33499 _ACEOF
33502 done
33504 else
33506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33507 $as_echo_n "checking for _expl declaration... " >&6; }
33508 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33509 if ${glibcxx_cv_func__expl_use+:} false; then :
33510 $as_echo_n "(cached) " >&6
33511 else
33514 ac_ext=cpp
33515 ac_cpp='$CXXCPP $CPPFLAGS'
33516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33521 /* end confdefs.h. */
33522 #include <math.h>
33523 #ifdef HAVE_IEEEFP_H
33524 #include <ieeefp.h>
33525 #endif
33528 main ()
33530 _expl(0);
33532 return 0;
33534 _ACEOF
33535 if ac_fn_cxx_try_compile "$LINENO"; then :
33536 glibcxx_cv_func__expl_use=yes
33537 else
33538 glibcxx_cv_func__expl_use=no
33540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33541 ac_ext=c
33542 ac_cpp='$CPP $CPPFLAGS'
33543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33552 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33554 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33555 for ac_func in _expl
33556 do :
33557 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33558 if test "x$ac_cv_func__expl" = xyes; then :
33559 cat >>confdefs.h <<_ACEOF
33560 #define HAVE__EXPL 1
33561 _ACEOF
33564 done
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33574 $as_echo_n "checking for fabsl declaration... " >&6; }
33575 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33576 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33577 $as_echo_n "(cached) " >&6
33578 else
33581 ac_ext=cpp
33582 ac_cpp='$CXXCPP $CPPFLAGS'
33583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33588 /* end confdefs.h. */
33589 #include <math.h>
33590 #ifdef HAVE_IEEEFP_H
33591 #include <ieeefp.h>
33592 #endif
33595 main ()
33597 fabsl(0);
33599 return 0;
33601 _ACEOF
33602 if ac_fn_cxx_try_compile "$LINENO"; then :
33603 glibcxx_cv_func_fabsl_use=yes
33604 else
33605 glibcxx_cv_func_fabsl_use=no
33607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33608 ac_ext=c
33609 ac_cpp='$CPP $CPPFLAGS'
33610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33619 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33621 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33622 for ac_func in fabsl
33623 do :
33624 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33625 if test "x$ac_cv_func_fabsl" = xyes; then :
33626 cat >>confdefs.h <<_ACEOF
33627 #define HAVE_FABSL 1
33628 _ACEOF
33631 done
33633 else
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33636 $as_echo_n "checking for _fabsl declaration... " >&6; }
33637 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33638 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33639 $as_echo_n "(cached) " >&6
33640 else
33643 ac_ext=cpp
33644 ac_cpp='$CXXCPP $CPPFLAGS'
33645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33650 /* end confdefs.h. */
33651 #include <math.h>
33652 #ifdef HAVE_IEEEFP_H
33653 #include <ieeefp.h>
33654 #endif
33657 main ()
33659 _fabsl(0);
33661 return 0;
33663 _ACEOF
33664 if ac_fn_cxx_try_compile "$LINENO"; then :
33665 glibcxx_cv_func__fabsl_use=yes
33666 else
33667 glibcxx_cv_func__fabsl_use=no
33669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33670 ac_ext=c
33671 ac_cpp='$CPP $CPPFLAGS'
33672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33681 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33683 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33684 for ac_func in _fabsl
33685 do :
33686 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33687 if test "x$ac_cv_func__fabsl" = xyes; then :
33688 cat >>confdefs.h <<_ACEOF
33689 #define HAVE__FABSL 1
33690 _ACEOF
33693 done
33702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33703 $as_echo_n "checking for fmodl declaration... " >&6; }
33704 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33705 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33706 $as_echo_n "(cached) " >&6
33707 else
33710 ac_ext=cpp
33711 ac_cpp='$CXXCPP $CPPFLAGS'
33712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33717 /* end confdefs.h. */
33718 #include <math.h>
33720 main ()
33722 fmodl(0, 0);
33724 return 0;
33726 _ACEOF
33727 if ac_fn_cxx_try_compile "$LINENO"; then :
33728 glibcxx_cv_func_fmodl_use=yes
33729 else
33730 glibcxx_cv_func_fmodl_use=no
33732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33733 ac_ext=c
33734 ac_cpp='$CPP $CPPFLAGS'
33735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33744 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33746 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33747 for ac_func in fmodl
33748 do :
33749 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33750 if test "x$ac_cv_func_fmodl" = xyes; then :
33751 cat >>confdefs.h <<_ACEOF
33752 #define HAVE_FMODL 1
33753 _ACEOF
33756 done
33758 else
33760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33761 $as_echo_n "checking for _fmodl declaration... " >&6; }
33762 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33763 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33764 $as_echo_n "(cached) " >&6
33765 else
33768 ac_ext=cpp
33769 ac_cpp='$CXXCPP $CPPFLAGS'
33770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33775 /* end confdefs.h. */
33776 #include <math.h>
33778 main ()
33780 _fmodl(0, 0);
33782 return 0;
33784 _ACEOF
33785 if ac_fn_cxx_try_compile "$LINENO"; then :
33786 glibcxx_cv_func__fmodl_use=yes
33787 else
33788 glibcxx_cv_func__fmodl_use=no
33790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33791 ac_ext=c
33792 ac_cpp='$CPP $CPPFLAGS'
33793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33802 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33804 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33805 for ac_func in _fmodl
33806 do :
33807 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33808 if test "x$ac_cv_func__fmodl" = xyes; then :
33809 cat >>confdefs.h <<_ACEOF
33810 #define HAVE__FMODL 1
33811 _ACEOF
33814 done
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33824 $as_echo_n "checking for frexpl declaration... " >&6; }
33825 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33826 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33827 $as_echo_n "(cached) " >&6
33828 else
33831 ac_ext=cpp
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33838 /* end confdefs.h. */
33839 #include <math.h>
33841 main ()
33843 frexpl(0, 0);
33845 return 0;
33847 _ACEOF
33848 if ac_fn_cxx_try_compile "$LINENO"; then :
33849 glibcxx_cv_func_frexpl_use=yes
33850 else
33851 glibcxx_cv_func_frexpl_use=no
33853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33854 ac_ext=c
33855 ac_cpp='$CPP $CPPFLAGS'
33856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33865 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33867 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33868 for ac_func in frexpl
33869 do :
33870 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33871 if test "x$ac_cv_func_frexpl" = xyes; then :
33872 cat >>confdefs.h <<_ACEOF
33873 #define HAVE_FREXPL 1
33874 _ACEOF
33877 done
33879 else
33881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33882 $as_echo_n "checking for _frexpl declaration... " >&6; }
33883 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33884 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33885 $as_echo_n "(cached) " >&6
33886 else
33889 ac_ext=cpp
33890 ac_cpp='$CXXCPP $CPPFLAGS'
33891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33896 /* end confdefs.h. */
33897 #include <math.h>
33899 main ()
33901 _frexpl(0, 0);
33903 return 0;
33905 _ACEOF
33906 if ac_fn_cxx_try_compile "$LINENO"; then :
33907 glibcxx_cv_func__frexpl_use=yes
33908 else
33909 glibcxx_cv_func__frexpl_use=no
33911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33912 ac_ext=c
33913 ac_cpp='$CPP $CPPFLAGS'
33914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33923 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33925 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33926 for ac_func in _frexpl
33927 do :
33928 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33929 if test "x$ac_cv_func__frexpl" = xyes; then :
33930 cat >>confdefs.h <<_ACEOF
33931 #define HAVE__FREXPL 1
33932 _ACEOF
33935 done
33944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33945 $as_echo_n "checking for hypotl declaration... " >&6; }
33946 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33947 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33948 $as_echo_n "(cached) " >&6
33949 else
33952 ac_ext=cpp
33953 ac_cpp='$CXXCPP $CPPFLAGS'
33954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33959 /* end confdefs.h. */
33960 #include <math.h>
33962 main ()
33964 hypotl(0, 0);
33966 return 0;
33968 _ACEOF
33969 if ac_fn_cxx_try_compile "$LINENO"; then :
33970 glibcxx_cv_func_hypotl_use=yes
33971 else
33972 glibcxx_cv_func_hypotl_use=no
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 ac_ext=c
33976 ac_cpp='$CPP $CPPFLAGS'
33977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33986 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33988 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33989 for ac_func in hypotl
33990 do :
33991 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33992 if test "x$ac_cv_func_hypotl" = xyes; then :
33993 cat >>confdefs.h <<_ACEOF
33994 #define HAVE_HYPOTL 1
33995 _ACEOF
33998 done
34000 else
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34003 $as_echo_n "checking for _hypotl declaration... " >&6; }
34004 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34005 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34006 $as_echo_n "(cached) " >&6
34007 else
34010 ac_ext=cpp
34011 ac_cpp='$CXXCPP $CPPFLAGS'
34012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34017 /* end confdefs.h. */
34018 #include <math.h>
34020 main ()
34022 _hypotl(0, 0);
34024 return 0;
34026 _ACEOF
34027 if ac_fn_cxx_try_compile "$LINENO"; then :
34028 glibcxx_cv_func__hypotl_use=yes
34029 else
34030 glibcxx_cv_func__hypotl_use=no
34032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033 ac_ext=c
34034 ac_cpp='$CPP $CPPFLAGS'
34035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34044 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34046 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34047 for ac_func in _hypotl
34048 do :
34049 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34050 if test "x$ac_cv_func__hypotl" = xyes; then :
34051 cat >>confdefs.h <<_ACEOF
34052 #define HAVE__HYPOTL 1
34053 _ACEOF
34056 done
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34066 $as_echo_n "checking for ldexpl declaration... " >&6; }
34067 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34068 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34069 $as_echo_n "(cached) " >&6
34070 else
34073 ac_ext=cpp
34074 ac_cpp='$CXXCPP $CPPFLAGS'
34075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34080 /* end confdefs.h. */
34081 #include <math.h>
34083 main ()
34085 ldexpl(0, 0);
34087 return 0;
34089 _ACEOF
34090 if ac_fn_cxx_try_compile "$LINENO"; then :
34091 glibcxx_cv_func_ldexpl_use=yes
34092 else
34093 glibcxx_cv_func_ldexpl_use=no
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34107 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34109 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34110 for ac_func in ldexpl
34111 do :
34112 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34113 if test "x$ac_cv_func_ldexpl" = xyes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define HAVE_LDEXPL 1
34116 _ACEOF
34119 done
34121 else
34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34124 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34125 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34126 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34127 $as_echo_n "(cached) " >&6
34128 else
34131 ac_ext=cpp
34132 ac_cpp='$CXXCPP $CPPFLAGS'
34133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34138 /* end confdefs.h. */
34139 #include <math.h>
34141 main ()
34143 _ldexpl(0, 0);
34145 return 0;
34147 _ACEOF
34148 if ac_fn_cxx_try_compile "$LINENO"; then :
34149 glibcxx_cv_func__ldexpl_use=yes
34150 else
34151 glibcxx_cv_func__ldexpl_use=no
34153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34154 ac_ext=c
34155 ac_cpp='$CPP $CPPFLAGS'
34156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34165 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34167 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34168 for ac_func in _ldexpl
34169 do :
34170 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34171 if test "x$ac_cv_func__ldexpl" = xyes; then :
34172 cat >>confdefs.h <<_ACEOF
34173 #define HAVE__LDEXPL 1
34174 _ACEOF
34177 done
34186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34187 $as_echo_n "checking for logl declaration... " >&6; }
34188 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34189 if ${glibcxx_cv_func_logl_use+:} false; then :
34190 $as_echo_n "(cached) " >&6
34191 else
34194 ac_ext=cpp
34195 ac_cpp='$CXXCPP $CPPFLAGS'
34196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34201 /* end confdefs.h. */
34202 #include <math.h>
34203 #ifdef HAVE_IEEEFP_H
34204 #include <ieeefp.h>
34205 #endif
34208 main ()
34210 logl(0);
34212 return 0;
34214 _ACEOF
34215 if ac_fn_cxx_try_compile "$LINENO"; then :
34216 glibcxx_cv_func_logl_use=yes
34217 else
34218 glibcxx_cv_func_logl_use=no
34220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34221 ac_ext=c
34222 ac_cpp='$CPP $CPPFLAGS'
34223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34232 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34234 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34235 for ac_func in logl
34236 do :
34237 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34238 if test "x$ac_cv_func_logl" = xyes; then :
34239 cat >>confdefs.h <<_ACEOF
34240 #define HAVE_LOGL 1
34241 _ACEOF
34244 done
34246 else
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34249 $as_echo_n "checking for _logl declaration... " >&6; }
34250 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34251 if ${glibcxx_cv_func__logl_use+:} false; then :
34252 $as_echo_n "(cached) " >&6
34253 else
34256 ac_ext=cpp
34257 ac_cpp='$CXXCPP $CPPFLAGS'
34258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34263 /* end confdefs.h. */
34264 #include <math.h>
34265 #ifdef HAVE_IEEEFP_H
34266 #include <ieeefp.h>
34267 #endif
34270 main ()
34272 _logl(0);
34274 return 0;
34276 _ACEOF
34277 if ac_fn_cxx_try_compile "$LINENO"; then :
34278 glibcxx_cv_func__logl_use=yes
34279 else
34280 glibcxx_cv_func__logl_use=no
34282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34283 ac_ext=c
34284 ac_cpp='$CPP $CPPFLAGS'
34285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34294 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34296 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34297 for ac_func in _logl
34298 do :
34299 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34300 if test "x$ac_cv_func__logl" = xyes; then :
34301 cat >>confdefs.h <<_ACEOF
34302 #define HAVE__LOGL 1
34303 _ACEOF
34306 done
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34316 $as_echo_n "checking for log10l declaration... " >&6; }
34317 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34318 if ${glibcxx_cv_func_log10l_use+:} false; then :
34319 $as_echo_n "(cached) " >&6
34320 else
34323 ac_ext=cpp
34324 ac_cpp='$CXXCPP $CPPFLAGS'
34325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34330 /* end confdefs.h. */
34331 #include <math.h>
34332 #ifdef HAVE_IEEEFP_H
34333 #include <ieeefp.h>
34334 #endif
34337 main ()
34339 log10l(0);
34341 return 0;
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func_log10l_use=yes
34346 else
34347 glibcxx_cv_func_log10l_use=no
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34361 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34363 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34364 for ac_func in log10l
34365 do :
34366 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34367 if test "x$ac_cv_func_log10l" = xyes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE_LOG10L 1
34370 _ACEOF
34373 done
34375 else
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34378 $as_echo_n "checking for _log10l declaration... " >&6; }
34379 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34380 if ${glibcxx_cv_func__log10l_use+:} false; then :
34381 $as_echo_n "(cached) " >&6
34382 else
34385 ac_ext=cpp
34386 ac_cpp='$CXXCPP $CPPFLAGS'
34387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34393 #include <math.h>
34394 #ifdef HAVE_IEEEFP_H
34395 #include <ieeefp.h>
34396 #endif
34399 main ()
34401 _log10l(0);
34403 return 0;
34405 _ACEOF
34406 if ac_fn_cxx_try_compile "$LINENO"; then :
34407 glibcxx_cv_func__log10l_use=yes
34408 else
34409 glibcxx_cv_func__log10l_use=no
34411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34412 ac_ext=c
34413 ac_cpp='$CPP $CPPFLAGS'
34414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34423 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34425 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34426 for ac_func in _log10l
34427 do :
34428 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34429 if test "x$ac_cv_func__log10l" = xyes; then :
34430 cat >>confdefs.h <<_ACEOF
34431 #define HAVE__LOG10L 1
34432 _ACEOF
34435 done
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34445 $as_echo_n "checking for modfl declaration... " >&6; }
34446 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34447 if ${glibcxx_cv_func_modfl_use+:} false; then :
34448 $as_echo_n "(cached) " >&6
34449 else
34452 ac_ext=cpp
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34459 /* end confdefs.h. */
34460 #include <math.h>
34462 main ()
34464 modfl(0, 0);
34466 return 0;
34468 _ACEOF
34469 if ac_fn_cxx_try_compile "$LINENO"; then :
34470 glibcxx_cv_func_modfl_use=yes
34471 else
34472 glibcxx_cv_func_modfl_use=no
34474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34475 ac_ext=c
34476 ac_cpp='$CPP $CPPFLAGS'
34477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34486 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34488 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34489 for ac_func in modfl
34490 do :
34491 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34492 if test "x$ac_cv_func_modfl" = xyes; then :
34493 cat >>confdefs.h <<_ACEOF
34494 #define HAVE_MODFL 1
34495 _ACEOF
34498 done
34500 else
34502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34503 $as_echo_n "checking for _modfl declaration... " >&6; }
34504 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34505 if ${glibcxx_cv_func__modfl_use+:} false; then :
34506 $as_echo_n "(cached) " >&6
34507 else
34510 ac_ext=cpp
34511 ac_cpp='$CXXCPP $CPPFLAGS'
34512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34517 /* end confdefs.h. */
34518 #include <math.h>
34520 main ()
34522 _modfl(0, 0);
34524 return 0;
34526 _ACEOF
34527 if ac_fn_cxx_try_compile "$LINENO"; then :
34528 glibcxx_cv_func__modfl_use=yes
34529 else
34530 glibcxx_cv_func__modfl_use=no
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_ext=c
34534 ac_cpp='$CPP $CPPFLAGS'
34535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34544 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34546 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34547 for ac_func in _modfl
34548 do :
34549 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34550 if test "x$ac_cv_func__modfl" = xyes; then :
34551 cat >>confdefs.h <<_ACEOF
34552 #define HAVE__MODFL 1
34553 _ACEOF
34556 done
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34566 $as_echo_n "checking for powl declaration... " >&6; }
34567 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34568 if ${glibcxx_cv_func_powl_use+:} false; then :
34569 $as_echo_n "(cached) " >&6
34570 else
34573 ac_ext=cpp
34574 ac_cpp='$CXXCPP $CPPFLAGS'
34575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34580 /* end confdefs.h. */
34581 #include <math.h>
34583 main ()
34585 powl(0, 0);
34587 return 0;
34589 _ACEOF
34590 if ac_fn_cxx_try_compile "$LINENO"; then :
34591 glibcxx_cv_func_powl_use=yes
34592 else
34593 glibcxx_cv_func_powl_use=no
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 ac_ext=c
34597 ac_cpp='$CPP $CPPFLAGS'
34598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34607 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34609 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34610 for ac_func in powl
34611 do :
34612 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34613 if test "x$ac_cv_func_powl" = xyes; then :
34614 cat >>confdefs.h <<_ACEOF
34615 #define HAVE_POWL 1
34616 _ACEOF
34619 done
34621 else
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34624 $as_echo_n "checking for _powl declaration... " >&6; }
34625 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34626 if ${glibcxx_cv_func__powl_use+:} false; then :
34627 $as_echo_n "(cached) " >&6
34628 else
34631 ac_ext=cpp
34632 ac_cpp='$CXXCPP $CPPFLAGS'
34633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34638 /* end confdefs.h. */
34639 #include <math.h>
34641 main ()
34643 _powl(0, 0);
34645 return 0;
34647 _ACEOF
34648 if ac_fn_cxx_try_compile "$LINENO"; then :
34649 glibcxx_cv_func__powl_use=yes
34650 else
34651 glibcxx_cv_func__powl_use=no
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654 ac_ext=c
34655 ac_cpp='$CPP $CPPFLAGS'
34656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34665 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34667 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34668 for ac_func in _powl
34669 do :
34670 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34671 if test "x$ac_cv_func__powl" = xyes; then :
34672 cat >>confdefs.h <<_ACEOF
34673 #define HAVE__POWL 1
34674 _ACEOF
34677 done
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34687 $as_echo_n "checking for sqrtl declaration... " >&6; }
34688 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34689 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34690 $as_echo_n "(cached) " >&6
34691 else
34694 ac_ext=cpp
34695 ac_cpp='$CXXCPP $CPPFLAGS'
34696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34701 /* end confdefs.h. */
34702 #include <math.h>
34703 #ifdef HAVE_IEEEFP_H
34704 #include <ieeefp.h>
34705 #endif
34708 main ()
34710 sqrtl(0);
34712 return 0;
34714 _ACEOF
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716 glibcxx_cv_func_sqrtl_use=yes
34717 else
34718 glibcxx_cv_func_sqrtl_use=no
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34732 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34734 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34735 for ac_func in sqrtl
34736 do :
34737 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34738 if test "x$ac_cv_func_sqrtl" = xyes; then :
34739 cat >>confdefs.h <<_ACEOF
34740 #define HAVE_SQRTL 1
34741 _ACEOF
34744 done
34746 else
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34749 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34750 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34751 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34752 $as_echo_n "(cached) " >&6
34753 else
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34764 #include <math.h>
34765 #ifdef HAVE_IEEEFP_H
34766 #include <ieeefp.h>
34767 #endif
34770 main ()
34772 _sqrtl(0);
34774 return 0;
34776 _ACEOF
34777 if ac_fn_cxx_try_compile "$LINENO"; then :
34778 glibcxx_cv_func__sqrtl_use=yes
34779 else
34780 glibcxx_cv_func__sqrtl_use=no
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 ac_ext=c
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34794 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34796 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34797 for ac_func in _sqrtl
34798 do :
34799 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34800 if test "x$ac_cv_func__sqrtl" = xyes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define HAVE__SQRTL 1
34803 _ACEOF
34806 done
34815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34816 $as_echo_n "checking for sincosl declaration... " >&6; }
34817 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34818 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34819 $as_echo_n "(cached) " >&6
34820 else
34823 ac_ext=cpp
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34830 /* end confdefs.h. */
34831 #include <math.h>
34833 main ()
34835 sincosl(0, 0, 0);
34837 return 0;
34839 _ACEOF
34840 if ac_fn_cxx_try_compile "$LINENO"; then :
34841 glibcxx_cv_func_sincosl_use=yes
34842 else
34843 glibcxx_cv_func_sincosl_use=no
34845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34846 ac_ext=c
34847 ac_cpp='$CPP $CPPFLAGS'
34848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34857 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34859 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34860 for ac_func in sincosl
34861 do :
34862 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34863 if test "x$ac_cv_func_sincosl" = xyes; then :
34864 cat >>confdefs.h <<_ACEOF
34865 #define HAVE_SINCOSL 1
34866 _ACEOF
34869 done
34871 else
34873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34874 $as_echo_n "checking for _sincosl declaration... " >&6; }
34875 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34876 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34877 $as_echo_n "(cached) " >&6
34878 else
34881 ac_ext=cpp
34882 ac_cpp='$CXXCPP $CPPFLAGS'
34883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34888 /* end confdefs.h. */
34889 #include <math.h>
34891 main ()
34893 _sincosl(0, 0, 0);
34895 return 0;
34897 _ACEOF
34898 if ac_fn_cxx_try_compile "$LINENO"; then :
34899 glibcxx_cv_func__sincosl_use=yes
34900 else
34901 glibcxx_cv_func__sincosl_use=no
34903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34904 ac_ext=c
34905 ac_cpp='$CPP $CPPFLAGS'
34906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34915 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34917 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34918 for ac_func in _sincosl
34919 do :
34920 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34921 if test "x$ac_cv_func__sincosl" = xyes; then :
34922 cat >>confdefs.h <<_ACEOF
34923 #define HAVE__SINCOSL 1
34924 _ACEOF
34927 done
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34937 $as_echo_n "checking for finitel declaration... " >&6; }
34938 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34939 if ${glibcxx_cv_func_finitel_use+:} false; then :
34940 $as_echo_n "(cached) " >&6
34941 else
34944 ac_ext=cpp
34945 ac_cpp='$CXXCPP $CPPFLAGS'
34946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34951 /* end confdefs.h. */
34952 #include <math.h>
34953 #ifdef HAVE_IEEEFP_H
34954 #include <ieeefp.h>
34955 #endif
34958 main ()
34960 finitel(0);
34962 return 0;
34964 _ACEOF
34965 if ac_fn_cxx_try_compile "$LINENO"; then :
34966 glibcxx_cv_func_finitel_use=yes
34967 else
34968 glibcxx_cv_func_finitel_use=no
34970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34971 ac_ext=c
34972 ac_cpp='$CPP $CPPFLAGS'
34973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34982 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34984 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34985 for ac_func in finitel
34986 do :
34987 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34988 if test "x$ac_cv_func_finitel" = xyes; then :
34989 cat >>confdefs.h <<_ACEOF
34990 #define HAVE_FINITEL 1
34991 _ACEOF
34994 done
34996 else
34998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34999 $as_echo_n "checking for _finitel declaration... " >&6; }
35000 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35001 if ${glibcxx_cv_func__finitel_use+:} false; then :
35002 $as_echo_n "(cached) " >&6
35003 else
35006 ac_ext=cpp
35007 ac_cpp='$CXXCPP $CPPFLAGS'
35008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35013 /* end confdefs.h. */
35014 #include <math.h>
35015 #ifdef HAVE_IEEEFP_H
35016 #include <ieeefp.h>
35017 #endif
35020 main ()
35022 _finitel(0);
35024 return 0;
35026 _ACEOF
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028 glibcxx_cv_func__finitel_use=yes
35029 else
35030 glibcxx_cv_func__finitel_use=no
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 ac_ext=c
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35044 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35046 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35047 for ac_func in _finitel
35048 do :
35049 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35050 if test "x$ac_cv_func__finitel" = xyes; then :
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE__FINITEL 1
35053 _ACEOF
35056 done
35064 LIBS="$ac_save_LIBS"
35065 CXXFLAGS="$ac_save_CXXFLAGS"
35068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35069 ac_save_CXXFLAGS="$CXXFLAGS"
35070 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35074 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35075 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35076 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35077 $as_echo_n "(cached) " >&6
35078 else
35081 ac_ext=cpp
35082 ac_cpp='$CXXCPP $CPPFLAGS'
35083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35088 /* end confdefs.h. */
35089 #include <stdlib.h>
35091 main ()
35093 at_quick_exit(0);
35095 return 0;
35097 _ACEOF
35098 if ac_fn_cxx_try_compile "$LINENO"; then :
35099 glibcxx_cv_func_at_quick_exit_use=yes
35100 else
35101 glibcxx_cv_func_at_quick_exit_use=no
35103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35104 ac_ext=c
35105 ac_cpp='$CPP $CPPFLAGS'
35106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35115 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35116 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35117 for ac_func in at_quick_exit
35118 do :
35119 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35120 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35121 cat >>confdefs.h <<_ACEOF
35122 #define HAVE_AT_QUICK_EXIT 1
35123 _ACEOF
35126 done
35131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35132 $as_echo_n "checking for quick_exit declaration... " >&6; }
35133 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35134 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35135 $as_echo_n "(cached) " >&6
35136 else
35139 ac_ext=cpp
35140 ac_cpp='$CXXCPP $CPPFLAGS'
35141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35146 /* end confdefs.h. */
35147 #include <stdlib.h>
35149 main ()
35151 quick_exit(0);
35153 return 0;
35155 _ACEOF
35156 if ac_fn_cxx_try_compile "$LINENO"; then :
35157 glibcxx_cv_func_quick_exit_use=yes
35158 else
35159 glibcxx_cv_func_quick_exit_use=no
35161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35162 ac_ext=c
35163 ac_cpp='$CPP $CPPFLAGS'
35164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35173 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35174 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35175 for ac_func in quick_exit
35176 do :
35177 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35178 if test "x$ac_cv_func_quick_exit" = xyes; then :
35179 cat >>confdefs.h <<_ACEOF
35180 #define HAVE_QUICK_EXIT 1
35181 _ACEOF
35184 done
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35190 $as_echo_n "checking for strtold declaration... " >&6; }
35191 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35192 if ${glibcxx_cv_func_strtold_use+:} false; then :
35193 $as_echo_n "(cached) " >&6
35194 else
35197 ac_ext=cpp
35198 ac_cpp='$CXXCPP $CPPFLAGS'
35199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35204 /* end confdefs.h. */
35205 #include <stdlib.h>
35207 main ()
35209 strtold(0, 0);
35211 return 0;
35213 _ACEOF
35214 if ac_fn_cxx_try_compile "$LINENO"; then :
35215 glibcxx_cv_func_strtold_use=yes
35216 else
35217 glibcxx_cv_func_strtold_use=no
35219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35220 ac_ext=c
35221 ac_cpp='$CPP $CPPFLAGS'
35222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35231 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35232 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35233 for ac_func in strtold
35234 do :
35235 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35236 if test "x$ac_cv_func_strtold" = xyes; then :
35237 cat >>confdefs.h <<_ACEOF
35238 #define HAVE_STRTOLD 1
35239 _ACEOF
35242 done
35249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35250 $as_echo_n "checking for strtof declaration... " >&6; }
35251 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35252 if ${glibcxx_cv_func_strtof_use+:} false; then :
35253 $as_echo_n "(cached) " >&6
35254 else
35257 ac_ext=cpp
35258 ac_cpp='$CXXCPP $CPPFLAGS'
35259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35264 /* end confdefs.h. */
35265 #include <stdlib.h>
35267 main ()
35269 strtof(0, 0);
35271 return 0;
35273 _ACEOF
35274 if ac_fn_cxx_try_compile "$LINENO"; then :
35275 glibcxx_cv_func_strtof_use=yes
35276 else
35277 glibcxx_cv_func_strtof_use=no
35279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35280 ac_ext=c
35281 ac_cpp='$CPP $CPPFLAGS'
35282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35291 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35292 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35293 for ac_func in strtof
35294 do :
35295 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35296 if test "x$ac_cv_func_strtof" = xyes; then :
35297 cat >>confdefs.h <<_ACEOF
35298 #define HAVE_STRTOF 1
35299 _ACEOF
35302 done
35309 CXXFLAGS="$ac_save_CXXFLAGS"
35312 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35314 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35316 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35318 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35321 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35323 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35325 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35329 *-aix*)
35331 # If we're not using GNU ld, then there's no point in even trying these
35332 # tests. Check for that first. We should have already tested for gld
35333 # by now (in libtool), but require it now just to be safe...
35334 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35335 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35339 # The name set by libtool depends on the version of libtool. Shame on us
35340 # for depending on an impl detail, but c'est la vie. Older versions used
35341 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35342 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35343 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35344 # set (hence we're using an older libtool), then set it.
35345 if test x${with_gnu_ld+set} != xset; then
35346 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35347 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35348 with_gnu_ld=no
35349 else
35350 with_gnu_ld=$ac_cv_prog_gnu_ld
35354 # Start by getting the version number. I think the libtool test already
35355 # does some of this, but throws away the result.
35356 glibcxx_ld_is_gold=no
35357 glibcxx_ld_is_mold=no
35358 if test x"$with_gnu_ld" = x"yes"; then
35359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35360 $as_echo_n "checking for ld version... " >&6; }
35362 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35363 glibcxx_ld_is_gold=yes
35364 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35365 glibcxx_ld_is_mold=yes
35367 ldver=`$LD --version 2>/dev/null |
35368 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35370 glibcxx_gnu_ld_version=`echo $ldver | \
35371 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35373 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35376 # Set --gc-sections.
35377 glibcxx_have_gc_sections=no
35378 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35379 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35380 glibcxx_have_gc_sections=yes
35382 else
35383 glibcxx_gcsections_min_ld=21602
35384 if test x"$with_gnu_ld" = x"yes" &&
35385 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35386 glibcxx_have_gc_sections=yes
35389 if test "$glibcxx_have_gc_sections" = "yes"; then
35390 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35391 # NB: This flag only works reliably after 2.16.1. Configure tests
35392 # for this are difficult, so hard wire a value that should work.
35394 ac_test_CFLAGS="${CFLAGS+set}"
35395 ac_save_CFLAGS="$CFLAGS"
35396 CFLAGS='-Wl,--gc-sections'
35398 # Check for -Wl,--gc-sections
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35400 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35401 if test x$gcc_no_link = xyes; then
35402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35405 /* end confdefs.h. */
35406 int one(void) { return 1; }
35407 int two(void) { return 2; }
35410 main ()
35412 two();
35414 return 0;
35416 _ACEOF
35417 if ac_fn_c_try_link "$LINENO"; then :
35418 ac_gcsections=yes
35419 else
35420 ac_gcsections=no
35422 rm -f core conftest.err conftest.$ac_objext \
35423 conftest$ac_exeext conftest.$ac_ext
35424 if test "$ac_gcsections" = "yes"; then
35425 rm -f conftest.c
35426 touch conftest.c
35427 if $CC -c conftest.c; then
35428 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35429 grep "Warning: gc-sections option ignored" > /dev/null; then
35430 ac_gcsections=no
35433 rm -f conftest.c conftest.o conftest
35435 if test "$ac_gcsections" = "yes"; then
35436 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35439 $as_echo "$ac_gcsections" >&6; }
35441 if test "$ac_test_CFLAGS" = set; then
35442 CFLAGS="$ac_save_CFLAGS"
35443 else
35444 # this is the suspicious part
35445 CFLAGS=''
35449 # Set -z,relro.
35450 # Note this is only for shared objects.
35451 ac_ld_relro=no
35452 if test x"$with_gnu_ld" = x"yes"; then
35453 # cygwin and mingw uses PE, which has no ELF relro support,
35454 # multi target ld may confuse configure machinery
35455 case "$host" in
35456 *-*-cygwin*)
35458 *-*-mingw*)
35461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35462 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35463 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35464 if test -n "$cxx_z_relo"; then
35465 OPT_LDFLAGS="-Wl,-z,relro"
35466 ac_ld_relro=yes
35468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35469 $as_echo "$ac_ld_relro" >&6; }
35470 esac
35473 # Set linker optimization flags.
35474 if test x"$with_gnu_ld" = x"yes"; then
35475 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35482 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35483 ac_save_CXXFLAGS="$CXXFLAGS"
35484 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35487 $as_echo_n "checking for sin in -lm... " >&6; }
35488 if ${ac_cv_lib_m_sin+:} false; then :
35489 $as_echo_n "(cached) " >&6
35490 else
35491 ac_check_lib_save_LIBS=$LIBS
35492 LIBS="-lm $LIBS"
35493 if test x$gcc_no_link = xyes; then
35494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35497 /* end confdefs.h. */
35499 /* Override any GCC internal prototype to avoid an error.
35500 Use char because int might match the return type of a GCC
35501 builtin and then its argument prototype would still apply. */
35502 #ifdef __cplusplus
35503 extern "C"
35504 #endif
35505 char sin ();
35507 main ()
35509 return sin ();
35511 return 0;
35513 _ACEOF
35514 if ac_fn_c_try_link "$LINENO"; then :
35515 ac_cv_lib_m_sin=yes
35516 else
35517 ac_cv_lib_m_sin=no
35519 rm -f core conftest.err conftest.$ac_objext \
35520 conftest$ac_exeext conftest.$ac_ext
35521 LIBS=$ac_check_lib_save_LIBS
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35524 $as_echo "$ac_cv_lib_m_sin" >&6; }
35525 if test "x$ac_cv_lib_m_sin" = xyes; then :
35526 libm="-lm"
35529 ac_save_LIBS="$LIBS"
35530 LIBS="$LIBS $libm"
35534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35535 $as_echo_n "checking for isinf declaration... " >&6; }
35536 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35537 if ${glibcxx_cv_func_isinf_use+:} false; then :
35538 $as_echo_n "(cached) " >&6
35539 else
35542 ac_ext=cpp
35543 ac_cpp='$CXXCPP $CPPFLAGS'
35544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35549 /* end confdefs.h. */
35550 #include <math.h>
35551 #ifdef HAVE_IEEEFP_H
35552 #include <ieeefp.h>
35553 #endif
35556 main ()
35558 isinf(0);
35560 return 0;
35562 _ACEOF
35563 if ac_fn_cxx_try_compile "$LINENO"; then :
35564 glibcxx_cv_func_isinf_use=yes
35565 else
35566 glibcxx_cv_func_isinf_use=no
35568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35569 ac_ext=c
35570 ac_cpp='$CPP $CPPFLAGS'
35571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35580 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35582 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35583 for ac_func in isinf
35584 do :
35585 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35586 if test "x$ac_cv_func_isinf" = xyes; then :
35587 cat >>confdefs.h <<_ACEOF
35588 #define HAVE_ISINF 1
35589 _ACEOF
35592 done
35594 else
35596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35597 $as_echo_n "checking for _isinf declaration... " >&6; }
35598 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35599 if ${glibcxx_cv_func__isinf_use+:} false; then :
35600 $as_echo_n "(cached) " >&6
35601 else
35604 ac_ext=cpp
35605 ac_cpp='$CXXCPP $CPPFLAGS'
35606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35611 /* end confdefs.h. */
35612 #include <math.h>
35613 #ifdef HAVE_IEEEFP_H
35614 #include <ieeefp.h>
35615 #endif
35618 main ()
35620 _isinf(0);
35622 return 0;
35624 _ACEOF
35625 if ac_fn_cxx_try_compile "$LINENO"; then :
35626 glibcxx_cv_func__isinf_use=yes
35627 else
35628 glibcxx_cv_func__isinf_use=no
35630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35631 ac_ext=c
35632 ac_cpp='$CPP $CPPFLAGS'
35633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35642 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35644 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35645 for ac_func in _isinf
35646 do :
35647 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35648 if test "x$ac_cv_func__isinf" = xyes; then :
35649 cat >>confdefs.h <<_ACEOF
35650 #define HAVE__ISINF 1
35651 _ACEOF
35654 done
35663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35664 $as_echo_n "checking for isnan declaration... " >&6; }
35665 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35666 if ${glibcxx_cv_func_isnan_use+:} false; then :
35667 $as_echo_n "(cached) " >&6
35668 else
35671 ac_ext=cpp
35672 ac_cpp='$CXXCPP $CPPFLAGS'
35673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35678 /* end confdefs.h. */
35679 #include <math.h>
35680 #ifdef HAVE_IEEEFP_H
35681 #include <ieeefp.h>
35682 #endif
35685 main ()
35687 isnan(0);
35689 return 0;
35691 _ACEOF
35692 if ac_fn_cxx_try_compile "$LINENO"; then :
35693 glibcxx_cv_func_isnan_use=yes
35694 else
35695 glibcxx_cv_func_isnan_use=no
35697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35698 ac_ext=c
35699 ac_cpp='$CPP $CPPFLAGS'
35700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35709 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35711 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35712 for ac_func in isnan
35713 do :
35714 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35715 if test "x$ac_cv_func_isnan" = xyes; then :
35716 cat >>confdefs.h <<_ACEOF
35717 #define HAVE_ISNAN 1
35718 _ACEOF
35721 done
35723 else
35725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35726 $as_echo_n "checking for _isnan declaration... " >&6; }
35727 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35728 if ${glibcxx_cv_func__isnan_use+:} false; then :
35729 $as_echo_n "(cached) " >&6
35730 else
35733 ac_ext=cpp
35734 ac_cpp='$CXXCPP $CPPFLAGS'
35735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35740 /* end confdefs.h. */
35741 #include <math.h>
35742 #ifdef HAVE_IEEEFP_H
35743 #include <ieeefp.h>
35744 #endif
35747 main ()
35749 _isnan(0);
35751 return 0;
35753 _ACEOF
35754 if ac_fn_cxx_try_compile "$LINENO"; then :
35755 glibcxx_cv_func__isnan_use=yes
35756 else
35757 glibcxx_cv_func__isnan_use=no
35759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35760 ac_ext=c
35761 ac_cpp='$CPP $CPPFLAGS'
35762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35771 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35773 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35774 for ac_func in _isnan
35775 do :
35776 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35777 if test "x$ac_cv_func__isnan" = xyes; then :
35778 cat >>confdefs.h <<_ACEOF
35779 #define HAVE__ISNAN 1
35780 _ACEOF
35783 done
35792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35793 $as_echo_n "checking for finite declaration... " >&6; }
35794 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35795 if ${glibcxx_cv_func_finite_use+:} false; then :
35796 $as_echo_n "(cached) " >&6
35797 else
35800 ac_ext=cpp
35801 ac_cpp='$CXXCPP $CPPFLAGS'
35802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35807 /* end confdefs.h. */
35808 #include <math.h>
35809 #ifdef HAVE_IEEEFP_H
35810 #include <ieeefp.h>
35811 #endif
35814 main ()
35816 finite(0);
35818 return 0;
35820 _ACEOF
35821 if ac_fn_cxx_try_compile "$LINENO"; then :
35822 glibcxx_cv_func_finite_use=yes
35823 else
35824 glibcxx_cv_func_finite_use=no
35826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35827 ac_ext=c
35828 ac_cpp='$CPP $CPPFLAGS'
35829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35838 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35840 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35841 for ac_func in finite
35842 do :
35843 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35844 if test "x$ac_cv_func_finite" = xyes; then :
35845 cat >>confdefs.h <<_ACEOF
35846 #define HAVE_FINITE 1
35847 _ACEOF
35850 done
35852 else
35854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35855 $as_echo_n "checking for _finite declaration... " >&6; }
35856 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35857 if ${glibcxx_cv_func__finite_use+:} false; then :
35858 $as_echo_n "(cached) " >&6
35859 else
35862 ac_ext=cpp
35863 ac_cpp='$CXXCPP $CPPFLAGS'
35864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35869 /* end confdefs.h. */
35870 #include <math.h>
35871 #ifdef HAVE_IEEEFP_H
35872 #include <ieeefp.h>
35873 #endif
35876 main ()
35878 _finite(0);
35880 return 0;
35882 _ACEOF
35883 if ac_fn_cxx_try_compile "$LINENO"; then :
35884 glibcxx_cv_func__finite_use=yes
35885 else
35886 glibcxx_cv_func__finite_use=no
35888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35889 ac_ext=c
35890 ac_cpp='$CPP $CPPFLAGS'
35891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35900 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35902 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35903 for ac_func in _finite
35904 do :
35905 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35906 if test "x$ac_cv_func__finite" = xyes; then :
35907 cat >>confdefs.h <<_ACEOF
35908 #define HAVE__FINITE 1
35909 _ACEOF
35912 done
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35922 $as_echo_n "checking for sincos declaration... " >&6; }
35923 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35924 if ${glibcxx_cv_func_sincos_use+:} false; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35939 main ()
35941 sincos(0, 0, 0);
35943 return 0;
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func_sincos_use=yes
35948 else
35949 glibcxx_cv_func_sincos_use=no
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35963 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35965 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35966 for ac_func in sincos
35967 do :
35968 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35969 if test "x$ac_cv_func_sincos" = xyes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE_SINCOS 1
35972 _ACEOF
35975 done
35977 else
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35980 $as_echo_n "checking for _sincos declaration... " >&6; }
35981 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35982 if ${glibcxx_cv_func__sincos_use+:} false; then :
35983 $as_echo_n "(cached) " >&6
35984 else
35987 ac_ext=cpp
35988 ac_cpp='$CXXCPP $CPPFLAGS'
35989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35994 /* end confdefs.h. */
35995 #include <math.h>
35997 main ()
35999 _sincos(0, 0, 0);
36001 return 0;
36003 _ACEOF
36004 if ac_fn_cxx_try_compile "$LINENO"; then :
36005 glibcxx_cv_func__sincos_use=yes
36006 else
36007 glibcxx_cv_func__sincos_use=no
36009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36010 ac_ext=c
36011 ac_cpp='$CPP $CPPFLAGS'
36012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36021 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36023 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36024 for ac_func in _sincos
36025 do :
36026 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36027 if test "x$ac_cv_func__sincos" = xyes; then :
36028 cat >>confdefs.h <<_ACEOF
36029 #define HAVE__SINCOS 1
36030 _ACEOF
36033 done
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36043 $as_echo_n "checking for fpclass declaration... " >&6; }
36044 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36045 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36059 #ifdef HAVE_IEEEFP_H
36060 #include <ieeefp.h>
36061 #endif
36064 main ()
36066 fpclass(0);
36068 return 0;
36070 _ACEOF
36071 if ac_fn_cxx_try_compile "$LINENO"; then :
36072 glibcxx_cv_func_fpclass_use=yes
36073 else
36074 glibcxx_cv_func_fpclass_use=no
36076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36077 ac_ext=c
36078 ac_cpp='$CPP $CPPFLAGS'
36079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36088 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36090 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36091 for ac_func in fpclass
36092 do :
36093 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36094 if test "x$ac_cv_func_fpclass" = xyes; then :
36095 cat >>confdefs.h <<_ACEOF
36096 #define HAVE_FPCLASS 1
36097 _ACEOF
36100 done
36102 else
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36105 $as_echo_n "checking for _fpclass declaration... " >&6; }
36106 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36107 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36108 $as_echo_n "(cached) " >&6
36109 else
36112 ac_ext=cpp
36113 ac_cpp='$CXXCPP $CPPFLAGS'
36114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36119 /* end confdefs.h. */
36120 #include <math.h>
36121 #ifdef HAVE_IEEEFP_H
36122 #include <ieeefp.h>
36123 #endif
36126 main ()
36128 _fpclass(0);
36130 return 0;
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134 glibcxx_cv_func__fpclass_use=yes
36135 else
36136 glibcxx_cv_func__fpclass_use=no
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36150 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36152 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36153 for ac_func in _fpclass
36154 do :
36155 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36156 if test "x$ac_cv_func__fpclass" = xyes; then :
36157 cat >>confdefs.h <<_ACEOF
36158 #define HAVE__FPCLASS 1
36159 _ACEOF
36162 done
36171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36172 $as_echo_n "checking for qfpclass declaration... " >&6; }
36173 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36174 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36175 $as_echo_n "(cached) " >&6
36176 else
36179 ac_ext=cpp
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36186 /* end confdefs.h. */
36187 #include <math.h>
36188 #ifdef HAVE_IEEEFP_H
36189 #include <ieeefp.h>
36190 #endif
36193 main ()
36195 qfpclass(0);
36197 return 0;
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201 glibcxx_cv_func_qfpclass_use=yes
36202 else
36203 glibcxx_cv_func_qfpclass_use=no
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206 ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36217 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36219 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36220 for ac_func in qfpclass
36221 do :
36222 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36223 if test "x$ac_cv_func_qfpclass" = xyes; then :
36224 cat >>confdefs.h <<_ACEOF
36225 #define HAVE_QFPCLASS 1
36226 _ACEOF
36229 done
36231 else
36233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36234 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36235 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36236 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36237 $as_echo_n "(cached) " >&6
36238 else
36241 ac_ext=cpp
36242 ac_cpp='$CXXCPP $CPPFLAGS'
36243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36248 /* end confdefs.h. */
36249 #include <math.h>
36250 #ifdef HAVE_IEEEFP_H
36251 #include <ieeefp.h>
36252 #endif
36255 main ()
36257 _qfpclass(0);
36259 return 0;
36261 _ACEOF
36262 if ac_fn_cxx_try_compile "$LINENO"; then :
36263 glibcxx_cv_func__qfpclass_use=yes
36264 else
36265 glibcxx_cv_func__qfpclass_use=no
36267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36268 ac_ext=c
36269 ac_cpp='$CPP $CPPFLAGS'
36270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36279 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36281 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36282 for ac_func in _qfpclass
36283 do :
36284 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36285 if test "x$ac_cv_func__qfpclass" = xyes; then :
36286 cat >>confdefs.h <<_ACEOF
36287 #define HAVE__QFPCLASS 1
36288 _ACEOF
36291 done
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36301 $as_echo_n "checking for hypot declaration... " >&6; }
36302 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36303 if ${glibcxx_cv_func_hypot_use+:} false; then :
36304 $as_echo_n "(cached) " >&6
36305 else
36308 ac_ext=cpp
36309 ac_cpp='$CXXCPP $CPPFLAGS'
36310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36315 /* end confdefs.h. */
36316 #include <math.h>
36318 main ()
36320 hypot(0, 0);
36322 return 0;
36324 _ACEOF
36325 if ac_fn_cxx_try_compile "$LINENO"; then :
36326 glibcxx_cv_func_hypot_use=yes
36327 else
36328 glibcxx_cv_func_hypot_use=no
36330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36331 ac_ext=c
36332 ac_cpp='$CPP $CPPFLAGS'
36333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36342 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36344 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36345 for ac_func in hypot
36346 do :
36347 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36348 if test "x$ac_cv_func_hypot" = xyes; then :
36349 cat >>confdefs.h <<_ACEOF
36350 #define HAVE_HYPOT 1
36351 _ACEOF
36354 done
36356 else
36358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36359 $as_echo_n "checking for _hypot declaration... " >&6; }
36360 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36361 if ${glibcxx_cv_func__hypot_use+:} false; then :
36362 $as_echo_n "(cached) " >&6
36363 else
36366 ac_ext=cpp
36367 ac_cpp='$CXXCPP $CPPFLAGS'
36368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36373 /* end confdefs.h. */
36374 #include <math.h>
36376 main ()
36378 _hypot(0, 0);
36380 return 0;
36382 _ACEOF
36383 if ac_fn_cxx_try_compile "$LINENO"; then :
36384 glibcxx_cv_func__hypot_use=yes
36385 else
36386 glibcxx_cv_func__hypot_use=no
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389 ac_ext=c
36390 ac_cpp='$CPP $CPPFLAGS'
36391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36400 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36402 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36403 for ac_func in _hypot
36404 do :
36405 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36406 if test "x$ac_cv_func__hypot" = xyes; then :
36407 cat >>confdefs.h <<_ACEOF
36408 #define HAVE__HYPOT 1
36409 _ACEOF
36412 done
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36422 $as_echo_n "checking for float trig functions... " >&6; }
36423 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36424 $as_echo_n "(cached) " >&6
36425 else
36428 ac_ext=cpp
36429 ac_cpp='$CXXCPP $CPPFLAGS'
36430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36435 /* end confdefs.h. */
36436 #include <math.h>
36438 main ()
36440 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36442 return 0;
36444 _ACEOF
36445 if ac_fn_cxx_try_compile "$LINENO"; then :
36446 glibcxx_cv_func_float_trig_use=yes
36447 else
36448 glibcxx_cv_func_float_trig_use=no
36450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36451 ac_ext=c
36452 ac_cpp='$CPP $CPPFLAGS'
36453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36460 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36461 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36462 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36463 do :
36464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36466 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36467 cat >>confdefs.h <<_ACEOF
36468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36469 _ACEOF
36472 done
36474 else
36475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36476 $as_echo_n "checking for _float trig functions... " >&6; }
36477 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36478 $as_echo_n "(cached) " >&6
36479 else
36482 ac_ext=cpp
36483 ac_cpp='$CXXCPP $CPPFLAGS'
36484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36489 /* end confdefs.h. */
36490 #include <math.h>
36492 main ()
36494 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36496 return 0;
36498 _ACEOF
36499 if ac_fn_cxx_try_compile "$LINENO"; then :
36500 glibcxx_cv_func__float_trig_use=yes
36501 else
36502 glibcxx_cv_func__float_trig_use=no
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36505 ac_ext=c
36506 ac_cpp='$CPP $CPPFLAGS'
36507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36514 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36515 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36516 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36517 do :
36518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36521 cat >>confdefs.h <<_ACEOF
36522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36523 _ACEOF
36526 done
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36536 $as_echo_n "checking for float round functions... " >&6; }
36537 if ${glibcxx_cv_func_float_round_use+:} false; then :
36538 $as_echo_n "(cached) " >&6
36539 else
36542 ac_ext=cpp
36543 ac_cpp='$CXXCPP $CPPFLAGS'
36544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36549 /* end confdefs.h. */
36550 #include <math.h>
36552 main ()
36554 ceilf (0); floorf (0);
36556 return 0;
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func_float_round_use=yes
36561 else
36562 glibcxx_cv_func_float_round_use=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36574 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36575 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36576 for ac_func in ceilf floorf
36577 do :
36578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36581 cat >>confdefs.h <<_ACEOF
36582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36583 _ACEOF
36586 done
36588 else
36589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36590 $as_echo_n "checking for _float round functions... " >&6; }
36591 if ${glibcxx_cv_func__float_round_use+:} false; then :
36592 $as_echo_n "(cached) " >&6
36593 else
36596 ac_ext=cpp
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36603 /* end confdefs.h. */
36604 #include <math.h>
36606 main ()
36608 _ceilf (0); _floorf (0);
36610 return 0;
36612 _ACEOF
36613 if ac_fn_cxx_try_compile "$LINENO"; then :
36614 glibcxx_cv_func__float_round_use=yes
36615 else
36616 glibcxx_cv_func__float_round_use=no
36618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36619 ac_ext=c
36620 ac_cpp='$CPP $CPPFLAGS'
36621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36628 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36629 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36630 for ac_func in _ceilf _floorf
36631 do :
36632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36635 cat >>confdefs.h <<_ACEOF
36636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36637 _ACEOF
36640 done
36650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36651 $as_echo_n "checking for expf declaration... " >&6; }
36652 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36653 if ${glibcxx_cv_func_expf_use+:} false; then :
36654 $as_echo_n "(cached) " >&6
36655 else
36658 ac_ext=cpp
36659 ac_cpp='$CXXCPP $CPPFLAGS'
36660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36665 /* end confdefs.h. */
36666 #include <math.h>
36667 #ifdef HAVE_IEEEFP_H
36668 #include <ieeefp.h>
36669 #endif
36672 main ()
36674 expf(0);
36676 return 0;
36678 _ACEOF
36679 if ac_fn_cxx_try_compile "$LINENO"; then :
36680 glibcxx_cv_func_expf_use=yes
36681 else
36682 glibcxx_cv_func_expf_use=no
36684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36696 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36698 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36699 for ac_func in expf
36700 do :
36701 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36702 if test "x$ac_cv_func_expf" = xyes; then :
36703 cat >>confdefs.h <<_ACEOF
36704 #define HAVE_EXPF 1
36705 _ACEOF
36708 done
36710 else
36712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36713 $as_echo_n "checking for _expf declaration... " >&6; }
36714 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36715 if ${glibcxx_cv_func__expf_use+:} false; then :
36716 $as_echo_n "(cached) " >&6
36717 else
36720 ac_ext=cpp
36721 ac_cpp='$CXXCPP $CPPFLAGS'
36722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36727 /* end confdefs.h. */
36728 #include <math.h>
36729 #ifdef HAVE_IEEEFP_H
36730 #include <ieeefp.h>
36731 #endif
36734 main ()
36736 _expf(0);
36738 return 0;
36740 _ACEOF
36741 if ac_fn_cxx_try_compile "$LINENO"; then :
36742 glibcxx_cv_func__expf_use=yes
36743 else
36744 glibcxx_cv_func__expf_use=no
36746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36747 ac_ext=c
36748 ac_cpp='$CPP $CPPFLAGS'
36749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36758 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36760 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36761 for ac_func in _expf
36762 do :
36763 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36764 if test "x$ac_cv_func__expf" = xyes; then :
36765 cat >>confdefs.h <<_ACEOF
36766 #define HAVE__EXPF 1
36767 _ACEOF
36770 done
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36780 $as_echo_n "checking for isnanf declaration... " >&6; }
36781 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36782 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36783 $as_echo_n "(cached) " >&6
36784 else
36787 ac_ext=cpp
36788 ac_cpp='$CXXCPP $CPPFLAGS'
36789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36794 /* end confdefs.h. */
36795 #include <math.h>
36796 #ifdef HAVE_IEEEFP_H
36797 #include <ieeefp.h>
36798 #endif
36801 main ()
36803 isnanf(0);
36805 return 0;
36807 _ACEOF
36808 if ac_fn_cxx_try_compile "$LINENO"; then :
36809 glibcxx_cv_func_isnanf_use=yes
36810 else
36811 glibcxx_cv_func_isnanf_use=no
36813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36814 ac_ext=c
36815 ac_cpp='$CPP $CPPFLAGS'
36816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36825 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36827 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36828 for ac_func in isnanf
36829 do :
36830 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36831 if test "x$ac_cv_func_isnanf" = xyes; then :
36832 cat >>confdefs.h <<_ACEOF
36833 #define HAVE_ISNANF 1
36834 _ACEOF
36837 done
36839 else
36841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36842 $as_echo_n "checking for _isnanf declaration... " >&6; }
36843 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36844 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36845 $as_echo_n "(cached) " >&6
36846 else
36849 ac_ext=cpp
36850 ac_cpp='$CXXCPP $CPPFLAGS'
36851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36856 /* end confdefs.h. */
36857 #include <math.h>
36858 #ifdef HAVE_IEEEFP_H
36859 #include <ieeefp.h>
36860 #endif
36863 main ()
36865 _isnanf(0);
36867 return 0;
36869 _ACEOF
36870 if ac_fn_cxx_try_compile "$LINENO"; then :
36871 glibcxx_cv_func__isnanf_use=yes
36872 else
36873 glibcxx_cv_func__isnanf_use=no
36875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36887 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36889 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36890 for ac_func in _isnanf
36891 do :
36892 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36893 if test "x$ac_cv_func__isnanf" = xyes; then :
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE__ISNANF 1
36896 _ACEOF
36899 done
36908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36909 $as_echo_n "checking for isinff declaration... " >&6; }
36910 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36911 if ${glibcxx_cv_func_isinff_use+:} false; then :
36912 $as_echo_n "(cached) " >&6
36913 else
36916 ac_ext=cpp
36917 ac_cpp='$CXXCPP $CPPFLAGS'
36918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36923 /* end confdefs.h. */
36924 #include <math.h>
36925 #ifdef HAVE_IEEEFP_H
36926 #include <ieeefp.h>
36927 #endif
36930 main ()
36932 isinff(0);
36934 return 0;
36936 _ACEOF
36937 if ac_fn_cxx_try_compile "$LINENO"; then :
36938 glibcxx_cv_func_isinff_use=yes
36939 else
36940 glibcxx_cv_func_isinff_use=no
36942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36943 ac_ext=c
36944 ac_cpp='$CPP $CPPFLAGS'
36945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36954 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36956 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36957 for ac_func in isinff
36958 do :
36959 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36960 if test "x$ac_cv_func_isinff" = xyes; then :
36961 cat >>confdefs.h <<_ACEOF
36962 #define HAVE_ISINFF 1
36963 _ACEOF
36966 done
36968 else
36970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36971 $as_echo_n "checking for _isinff declaration... " >&6; }
36972 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36973 if ${glibcxx_cv_func__isinff_use+:} false; then :
36974 $as_echo_n "(cached) " >&6
36975 else
36978 ac_ext=cpp
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 /* end confdefs.h. */
36986 #include <math.h>
36987 #ifdef HAVE_IEEEFP_H
36988 #include <ieeefp.h>
36989 #endif
36992 main ()
36994 _isinff(0);
36996 return 0;
36998 _ACEOF
36999 if ac_fn_cxx_try_compile "$LINENO"; then :
37000 glibcxx_cv_func__isinff_use=yes
37001 else
37002 glibcxx_cv_func__isinff_use=no
37004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37005 ac_ext=c
37006 ac_cpp='$CPP $CPPFLAGS'
37007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37016 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37018 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37019 for ac_func in _isinff
37020 do :
37021 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37022 if test "x$ac_cv_func__isinff" = xyes; then :
37023 cat >>confdefs.h <<_ACEOF
37024 #define HAVE__ISINFF 1
37025 _ACEOF
37028 done
37037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37038 $as_echo_n "checking for atan2f declaration... " >&6; }
37039 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37040 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37041 $as_echo_n "(cached) " >&6
37042 else
37045 ac_ext=cpp
37046 ac_cpp='$CXXCPP $CPPFLAGS'
37047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37052 /* end confdefs.h. */
37053 #include <math.h>
37055 main ()
37057 atan2f(0, 0);
37059 return 0;
37061 _ACEOF
37062 if ac_fn_cxx_try_compile "$LINENO"; then :
37063 glibcxx_cv_func_atan2f_use=yes
37064 else
37065 glibcxx_cv_func_atan2f_use=no
37067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37079 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37081 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37082 for ac_func in atan2f
37083 do :
37084 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37085 if test "x$ac_cv_func_atan2f" = xyes; then :
37086 cat >>confdefs.h <<_ACEOF
37087 #define HAVE_ATAN2F 1
37088 _ACEOF
37091 done
37093 else
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37096 $as_echo_n "checking for _atan2f declaration... " >&6; }
37097 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37098 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37113 main ()
37115 _atan2f(0, 0);
37117 return 0;
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121 glibcxx_cv_func__atan2f_use=yes
37122 else
37123 glibcxx_cv_func__atan2f_use=no
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37137 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37139 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37140 for ac_func in _atan2f
37141 do :
37142 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37143 if test "x$ac_cv_func__atan2f" = xyes; then :
37144 cat >>confdefs.h <<_ACEOF
37145 #define HAVE__ATAN2F 1
37146 _ACEOF
37149 done
37158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37159 $as_echo_n "checking for fabsf declaration... " >&6; }
37160 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37161 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37162 $as_echo_n "(cached) " >&6
37163 else
37166 ac_ext=cpp
37167 ac_cpp='$CXXCPP $CPPFLAGS'
37168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37173 /* end confdefs.h. */
37174 #include <math.h>
37175 #ifdef HAVE_IEEEFP_H
37176 #include <ieeefp.h>
37177 #endif
37180 main ()
37182 fabsf(0);
37184 return 0;
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188 glibcxx_cv_func_fabsf_use=yes
37189 else
37190 glibcxx_cv_func_fabsf_use=no
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37204 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37206 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37207 for ac_func in fabsf
37208 do :
37209 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37210 if test "x$ac_cv_func_fabsf" = xyes; then :
37211 cat >>confdefs.h <<_ACEOF
37212 #define HAVE_FABSF 1
37213 _ACEOF
37216 done
37218 else
37220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37221 $as_echo_n "checking for _fabsf declaration... " >&6; }
37222 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37223 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37224 $as_echo_n "(cached) " >&6
37225 else
37228 ac_ext=cpp
37229 ac_cpp='$CXXCPP $CPPFLAGS'
37230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37235 /* end confdefs.h. */
37236 #include <math.h>
37237 #ifdef HAVE_IEEEFP_H
37238 #include <ieeefp.h>
37239 #endif
37242 main ()
37244 _fabsf(0);
37246 return 0;
37248 _ACEOF
37249 if ac_fn_cxx_try_compile "$LINENO"; then :
37250 glibcxx_cv_func__fabsf_use=yes
37251 else
37252 glibcxx_cv_func__fabsf_use=no
37254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37255 ac_ext=c
37256 ac_cpp='$CPP $CPPFLAGS'
37257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37266 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37268 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37269 for ac_func in _fabsf
37270 do :
37271 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37272 if test "x$ac_cv_func__fabsf" = xyes; then :
37273 cat >>confdefs.h <<_ACEOF
37274 #define HAVE__FABSF 1
37275 _ACEOF
37278 done
37287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37288 $as_echo_n "checking for fmodf declaration... " >&6; }
37289 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37290 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37291 $as_echo_n "(cached) " >&6
37292 else
37295 ac_ext=cpp
37296 ac_cpp='$CXXCPP $CPPFLAGS'
37297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37302 /* end confdefs.h. */
37303 #include <math.h>
37305 main ()
37307 fmodf(0, 0);
37309 return 0;
37311 _ACEOF
37312 if ac_fn_cxx_try_compile "$LINENO"; then :
37313 glibcxx_cv_func_fmodf_use=yes
37314 else
37315 glibcxx_cv_func_fmodf_use=no
37317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37318 ac_ext=c
37319 ac_cpp='$CPP $CPPFLAGS'
37320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37329 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37331 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37332 for ac_func in fmodf
37333 do :
37334 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37335 if test "x$ac_cv_func_fmodf" = xyes; then :
37336 cat >>confdefs.h <<_ACEOF
37337 #define HAVE_FMODF 1
37338 _ACEOF
37341 done
37343 else
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37346 $as_echo_n "checking for _fmodf declaration... " >&6; }
37347 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37348 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37349 $as_echo_n "(cached) " >&6
37350 else
37353 ac_ext=cpp
37354 ac_cpp='$CXXCPP $CPPFLAGS'
37355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37360 /* end confdefs.h. */
37361 #include <math.h>
37363 main ()
37365 _fmodf(0, 0);
37367 return 0;
37369 _ACEOF
37370 if ac_fn_cxx_try_compile "$LINENO"; then :
37371 glibcxx_cv_func__fmodf_use=yes
37372 else
37373 glibcxx_cv_func__fmodf_use=no
37375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 ac_ext=c
37377 ac_cpp='$CPP $CPPFLAGS'
37378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37387 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37389 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37390 for ac_func in _fmodf
37391 do :
37392 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37393 if test "x$ac_cv_func__fmodf" = xyes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define HAVE__FMODF 1
37396 _ACEOF
37399 done
37408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37409 $as_echo_n "checking for frexpf declaration... " >&6; }
37410 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37411 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37412 $as_echo_n "(cached) " >&6
37413 else
37416 ac_ext=cpp
37417 ac_cpp='$CXXCPP $CPPFLAGS'
37418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37423 /* end confdefs.h. */
37424 #include <math.h>
37426 main ()
37428 frexpf(0, 0);
37430 return 0;
37432 _ACEOF
37433 if ac_fn_cxx_try_compile "$LINENO"; then :
37434 glibcxx_cv_func_frexpf_use=yes
37435 else
37436 glibcxx_cv_func_frexpf_use=no
37438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37439 ac_ext=c
37440 ac_cpp='$CPP $CPPFLAGS'
37441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37450 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37452 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37453 for ac_func in frexpf
37454 do :
37455 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37456 if test "x$ac_cv_func_frexpf" = xyes; then :
37457 cat >>confdefs.h <<_ACEOF
37458 #define HAVE_FREXPF 1
37459 _ACEOF
37462 done
37464 else
37466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37467 $as_echo_n "checking for _frexpf declaration... " >&6; }
37468 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37469 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37470 $as_echo_n "(cached) " >&6
37471 else
37474 ac_ext=cpp
37475 ac_cpp='$CXXCPP $CPPFLAGS'
37476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37481 /* end confdefs.h. */
37482 #include <math.h>
37484 main ()
37486 _frexpf(0, 0);
37488 return 0;
37490 _ACEOF
37491 if ac_fn_cxx_try_compile "$LINENO"; then :
37492 glibcxx_cv_func__frexpf_use=yes
37493 else
37494 glibcxx_cv_func__frexpf_use=no
37496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37497 ac_ext=c
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37508 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37510 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37511 for ac_func in _frexpf
37512 do :
37513 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37514 if test "x$ac_cv_func__frexpf" = xyes; then :
37515 cat >>confdefs.h <<_ACEOF
37516 #define HAVE__FREXPF 1
37517 _ACEOF
37520 done
37529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37530 $as_echo_n "checking for hypotf declaration... " >&6; }
37531 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37532 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37533 $as_echo_n "(cached) " >&6
37534 else
37537 ac_ext=cpp
37538 ac_cpp='$CXXCPP $CPPFLAGS'
37539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37544 /* end confdefs.h. */
37545 #include <math.h>
37547 main ()
37549 hypotf(0, 0);
37551 return 0;
37553 _ACEOF
37554 if ac_fn_cxx_try_compile "$LINENO"; then :
37555 glibcxx_cv_func_hypotf_use=yes
37556 else
37557 glibcxx_cv_func_hypotf_use=no
37559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37560 ac_ext=c
37561 ac_cpp='$CPP $CPPFLAGS'
37562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37571 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37573 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37574 for ac_func in hypotf
37575 do :
37576 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37577 if test "x$ac_cv_func_hypotf" = xyes; then :
37578 cat >>confdefs.h <<_ACEOF
37579 #define HAVE_HYPOTF 1
37580 _ACEOF
37583 done
37585 else
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37588 $as_echo_n "checking for _hypotf declaration... " >&6; }
37589 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37590 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37591 $as_echo_n "(cached) " >&6
37592 else
37595 ac_ext=cpp
37596 ac_cpp='$CXXCPP $CPPFLAGS'
37597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37602 /* end confdefs.h. */
37603 #include <math.h>
37605 main ()
37607 _hypotf(0, 0);
37609 return 0;
37611 _ACEOF
37612 if ac_fn_cxx_try_compile "$LINENO"; then :
37613 glibcxx_cv_func__hypotf_use=yes
37614 else
37615 glibcxx_cv_func__hypotf_use=no
37617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37618 ac_ext=c
37619 ac_cpp='$CPP $CPPFLAGS'
37620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37629 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37631 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37632 for ac_func in _hypotf
37633 do :
37634 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37635 if test "x$ac_cv_func__hypotf" = xyes; then :
37636 cat >>confdefs.h <<_ACEOF
37637 #define HAVE__HYPOTF 1
37638 _ACEOF
37641 done
37650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37651 $as_echo_n "checking for ldexpf declaration... " >&6; }
37652 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37653 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37654 $as_echo_n "(cached) " >&6
37655 else
37658 ac_ext=cpp
37659 ac_cpp='$CXXCPP $CPPFLAGS'
37660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37665 /* end confdefs.h. */
37666 #include <math.h>
37668 main ()
37670 ldexpf(0, 0);
37672 return 0;
37674 _ACEOF
37675 if ac_fn_cxx_try_compile "$LINENO"; then :
37676 glibcxx_cv_func_ldexpf_use=yes
37677 else
37678 glibcxx_cv_func_ldexpf_use=no
37680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37681 ac_ext=c
37682 ac_cpp='$CPP $CPPFLAGS'
37683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37692 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37694 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37695 for ac_func in ldexpf
37696 do :
37697 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37698 if test "x$ac_cv_func_ldexpf" = xyes; then :
37699 cat >>confdefs.h <<_ACEOF
37700 #define HAVE_LDEXPF 1
37701 _ACEOF
37704 done
37706 else
37708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37709 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37710 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37711 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37712 $as_echo_n "(cached) " >&6
37713 else
37716 ac_ext=cpp
37717 ac_cpp='$CXXCPP $CPPFLAGS'
37718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37723 /* end confdefs.h. */
37724 #include <math.h>
37726 main ()
37728 _ldexpf(0, 0);
37730 return 0;
37732 _ACEOF
37733 if ac_fn_cxx_try_compile "$LINENO"; then :
37734 glibcxx_cv_func__ldexpf_use=yes
37735 else
37736 glibcxx_cv_func__ldexpf_use=no
37738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37739 ac_ext=c
37740 ac_cpp='$CPP $CPPFLAGS'
37741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37750 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37752 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37753 for ac_func in _ldexpf
37754 do :
37755 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37756 if test "x$ac_cv_func__ldexpf" = xyes; then :
37757 cat >>confdefs.h <<_ACEOF
37758 #define HAVE__LDEXPF 1
37759 _ACEOF
37762 done
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37772 $as_echo_n "checking for logf declaration... " >&6; }
37773 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37774 if ${glibcxx_cv_func_logf_use+:} false; then :
37775 $as_echo_n "(cached) " >&6
37776 else
37779 ac_ext=cpp
37780 ac_cpp='$CXXCPP $CPPFLAGS'
37781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37786 /* end confdefs.h. */
37787 #include <math.h>
37788 #ifdef HAVE_IEEEFP_H
37789 #include <ieeefp.h>
37790 #endif
37793 main ()
37795 logf(0);
37797 return 0;
37799 _ACEOF
37800 if ac_fn_cxx_try_compile "$LINENO"; then :
37801 glibcxx_cv_func_logf_use=yes
37802 else
37803 glibcxx_cv_func_logf_use=no
37805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37806 ac_ext=c
37807 ac_cpp='$CPP $CPPFLAGS'
37808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37817 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37819 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37820 for ac_func in logf
37821 do :
37822 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37823 if test "x$ac_cv_func_logf" = xyes; then :
37824 cat >>confdefs.h <<_ACEOF
37825 #define HAVE_LOGF 1
37826 _ACEOF
37829 done
37831 else
37833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37834 $as_echo_n "checking for _logf declaration... " >&6; }
37835 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37836 if ${glibcxx_cv_func__logf_use+:} false; then :
37837 $as_echo_n "(cached) " >&6
37838 else
37841 ac_ext=cpp
37842 ac_cpp='$CXXCPP $CPPFLAGS'
37843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37848 /* end confdefs.h. */
37849 #include <math.h>
37850 #ifdef HAVE_IEEEFP_H
37851 #include <ieeefp.h>
37852 #endif
37855 main ()
37857 _logf(0);
37859 return 0;
37861 _ACEOF
37862 if ac_fn_cxx_try_compile "$LINENO"; then :
37863 glibcxx_cv_func__logf_use=yes
37864 else
37865 glibcxx_cv_func__logf_use=no
37867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37868 ac_ext=c
37869 ac_cpp='$CPP $CPPFLAGS'
37870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37879 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37881 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37882 for ac_func in _logf
37883 do :
37884 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37885 if test "x$ac_cv_func__logf" = xyes; then :
37886 cat >>confdefs.h <<_ACEOF
37887 #define HAVE__LOGF 1
37888 _ACEOF
37891 done
37900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37901 $as_echo_n "checking for log10f declaration... " >&6; }
37902 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37903 if ${glibcxx_cv_func_log10f_use+:} false; then :
37904 $as_echo_n "(cached) " >&6
37905 else
37908 ac_ext=cpp
37909 ac_cpp='$CXXCPP $CPPFLAGS'
37910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37915 /* end confdefs.h. */
37916 #include <math.h>
37917 #ifdef HAVE_IEEEFP_H
37918 #include <ieeefp.h>
37919 #endif
37922 main ()
37924 log10f(0);
37926 return 0;
37928 _ACEOF
37929 if ac_fn_cxx_try_compile "$LINENO"; then :
37930 glibcxx_cv_func_log10f_use=yes
37931 else
37932 glibcxx_cv_func_log10f_use=no
37934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37935 ac_ext=c
37936 ac_cpp='$CPP $CPPFLAGS'
37937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37946 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37948 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37949 for ac_func in log10f
37950 do :
37951 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37952 if test "x$ac_cv_func_log10f" = xyes; then :
37953 cat >>confdefs.h <<_ACEOF
37954 #define HAVE_LOG10F 1
37955 _ACEOF
37958 done
37960 else
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37963 $as_echo_n "checking for _log10f declaration... " >&6; }
37964 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37965 if ${glibcxx_cv_func__log10f_use+:} false; then :
37966 $as_echo_n "(cached) " >&6
37967 else
37970 ac_ext=cpp
37971 ac_cpp='$CXXCPP $CPPFLAGS'
37972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37977 /* end confdefs.h. */
37978 #include <math.h>
37979 #ifdef HAVE_IEEEFP_H
37980 #include <ieeefp.h>
37981 #endif
37984 main ()
37986 _log10f(0);
37988 return 0;
37990 _ACEOF
37991 if ac_fn_cxx_try_compile "$LINENO"; then :
37992 glibcxx_cv_func__log10f_use=yes
37993 else
37994 glibcxx_cv_func__log10f_use=no
37996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37997 ac_ext=c
37998 ac_cpp='$CPP $CPPFLAGS'
37999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38008 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38010 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38011 for ac_func in _log10f
38012 do :
38013 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38014 if test "x$ac_cv_func__log10f" = xyes; then :
38015 cat >>confdefs.h <<_ACEOF
38016 #define HAVE__LOG10F 1
38017 _ACEOF
38020 done
38029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38030 $as_echo_n "checking for modff declaration... " >&6; }
38031 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38032 if ${glibcxx_cv_func_modff_use+:} false; then :
38033 $as_echo_n "(cached) " >&6
38034 else
38037 ac_ext=cpp
38038 ac_cpp='$CXXCPP $CPPFLAGS'
38039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38044 /* end confdefs.h. */
38045 #include <math.h>
38047 main ()
38049 modff(0, 0);
38051 return 0;
38053 _ACEOF
38054 if ac_fn_cxx_try_compile "$LINENO"; then :
38055 glibcxx_cv_func_modff_use=yes
38056 else
38057 glibcxx_cv_func_modff_use=no
38059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38060 ac_ext=c
38061 ac_cpp='$CPP $CPPFLAGS'
38062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38071 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38073 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38074 for ac_func in modff
38075 do :
38076 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38077 if test "x$ac_cv_func_modff" = xyes; then :
38078 cat >>confdefs.h <<_ACEOF
38079 #define HAVE_MODFF 1
38080 _ACEOF
38083 done
38085 else
38087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38088 $as_echo_n "checking for _modff declaration... " >&6; }
38089 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38090 if ${glibcxx_cv_func__modff_use+:} false; then :
38091 $as_echo_n "(cached) " >&6
38092 else
38095 ac_ext=cpp
38096 ac_cpp='$CXXCPP $CPPFLAGS'
38097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38102 /* end confdefs.h. */
38103 #include <math.h>
38105 main ()
38107 _modff(0, 0);
38109 return 0;
38111 _ACEOF
38112 if ac_fn_cxx_try_compile "$LINENO"; then :
38113 glibcxx_cv_func__modff_use=yes
38114 else
38115 glibcxx_cv_func__modff_use=no
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38129 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38131 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38132 for ac_func in _modff
38133 do :
38134 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38135 if test "x$ac_cv_func__modff" = xyes; then :
38136 cat >>confdefs.h <<_ACEOF
38137 #define HAVE__MODFF 1
38138 _ACEOF
38141 done
38150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38151 $as_echo_n "checking for modf declaration... " >&6; }
38152 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38153 if ${glibcxx_cv_func_modf_use+:} false; then :
38154 $as_echo_n "(cached) " >&6
38155 else
38158 ac_ext=cpp
38159 ac_cpp='$CXXCPP $CPPFLAGS'
38160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38165 /* end confdefs.h. */
38166 #include <math.h>
38168 main ()
38170 modf(0, 0);
38172 return 0;
38174 _ACEOF
38175 if ac_fn_cxx_try_compile "$LINENO"; then :
38176 glibcxx_cv_func_modf_use=yes
38177 else
38178 glibcxx_cv_func_modf_use=no
38180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38181 ac_ext=c
38182 ac_cpp='$CPP $CPPFLAGS'
38183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38192 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38194 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38195 for ac_func in modf
38196 do :
38197 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38198 if test "x$ac_cv_func_modf" = xyes; then :
38199 cat >>confdefs.h <<_ACEOF
38200 #define HAVE_MODF 1
38201 _ACEOF
38204 done
38206 else
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38209 $as_echo_n "checking for _modf declaration... " >&6; }
38210 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38211 if ${glibcxx_cv_func__modf_use+:} false; then :
38212 $as_echo_n "(cached) " >&6
38213 else
38216 ac_ext=cpp
38217 ac_cpp='$CXXCPP $CPPFLAGS'
38218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38223 /* end confdefs.h. */
38224 #include <math.h>
38226 main ()
38228 _modf(0, 0);
38230 return 0;
38232 _ACEOF
38233 if ac_fn_cxx_try_compile "$LINENO"; then :
38234 glibcxx_cv_func__modf_use=yes
38235 else
38236 glibcxx_cv_func__modf_use=no
38238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38239 ac_ext=c
38240 ac_cpp='$CPP $CPPFLAGS'
38241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38250 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38252 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38253 for ac_func in _modf
38254 do :
38255 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38256 if test "x$ac_cv_func__modf" = xyes; then :
38257 cat >>confdefs.h <<_ACEOF
38258 #define HAVE__MODF 1
38259 _ACEOF
38262 done
38271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38272 $as_echo_n "checking for powf declaration... " >&6; }
38273 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38274 if ${glibcxx_cv_func_powf_use+:} false; then :
38275 $as_echo_n "(cached) " >&6
38276 else
38279 ac_ext=cpp
38280 ac_cpp='$CXXCPP $CPPFLAGS'
38281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38286 /* end confdefs.h. */
38287 #include <math.h>
38289 main ()
38291 powf(0, 0);
38293 return 0;
38295 _ACEOF
38296 if ac_fn_cxx_try_compile "$LINENO"; then :
38297 glibcxx_cv_func_powf_use=yes
38298 else
38299 glibcxx_cv_func_powf_use=no
38301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38302 ac_ext=c
38303 ac_cpp='$CPP $CPPFLAGS'
38304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38313 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38315 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38316 for ac_func in powf
38317 do :
38318 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38319 if test "x$ac_cv_func_powf" = xyes; then :
38320 cat >>confdefs.h <<_ACEOF
38321 #define HAVE_POWF 1
38322 _ACEOF
38325 done
38327 else
38329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38330 $as_echo_n "checking for _powf declaration... " >&6; }
38331 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38332 if ${glibcxx_cv_func__powf_use+:} false; then :
38333 $as_echo_n "(cached) " >&6
38334 else
38337 ac_ext=cpp
38338 ac_cpp='$CXXCPP $CPPFLAGS'
38339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38344 /* end confdefs.h. */
38345 #include <math.h>
38347 main ()
38349 _powf(0, 0);
38351 return 0;
38353 _ACEOF
38354 if ac_fn_cxx_try_compile "$LINENO"; then :
38355 glibcxx_cv_func__powf_use=yes
38356 else
38357 glibcxx_cv_func__powf_use=no
38359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38360 ac_ext=c
38361 ac_cpp='$CPP $CPPFLAGS'
38362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38371 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38373 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38374 for ac_func in _powf
38375 do :
38376 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38377 if test "x$ac_cv_func__powf" = xyes; then :
38378 cat >>confdefs.h <<_ACEOF
38379 #define HAVE__POWF 1
38380 _ACEOF
38383 done
38392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38393 $as_echo_n "checking for sqrtf declaration... " >&6; }
38394 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38395 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38396 $as_echo_n "(cached) " >&6
38397 else
38400 ac_ext=cpp
38401 ac_cpp='$CXXCPP $CPPFLAGS'
38402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38407 /* end confdefs.h. */
38408 #include <math.h>
38409 #ifdef HAVE_IEEEFP_H
38410 #include <ieeefp.h>
38411 #endif
38414 main ()
38416 sqrtf(0);
38418 return 0;
38420 _ACEOF
38421 if ac_fn_cxx_try_compile "$LINENO"; then :
38422 glibcxx_cv_func_sqrtf_use=yes
38423 else
38424 glibcxx_cv_func_sqrtf_use=no
38426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38427 ac_ext=c
38428 ac_cpp='$CPP $CPPFLAGS'
38429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38438 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38440 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38441 for ac_func in sqrtf
38442 do :
38443 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38444 if test "x$ac_cv_func_sqrtf" = xyes; then :
38445 cat >>confdefs.h <<_ACEOF
38446 #define HAVE_SQRTF 1
38447 _ACEOF
38450 done
38452 else
38454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38455 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38456 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38457 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38458 $as_echo_n "(cached) " >&6
38459 else
38462 ac_ext=cpp
38463 ac_cpp='$CXXCPP $CPPFLAGS'
38464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38469 /* end confdefs.h. */
38470 #include <math.h>
38471 #ifdef HAVE_IEEEFP_H
38472 #include <ieeefp.h>
38473 #endif
38476 main ()
38478 _sqrtf(0);
38480 return 0;
38482 _ACEOF
38483 if ac_fn_cxx_try_compile "$LINENO"; then :
38484 glibcxx_cv_func__sqrtf_use=yes
38485 else
38486 glibcxx_cv_func__sqrtf_use=no
38488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38489 ac_ext=c
38490 ac_cpp='$CPP $CPPFLAGS'
38491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38500 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38502 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38503 for ac_func in _sqrtf
38504 do :
38505 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38506 if test "x$ac_cv_func__sqrtf" = xyes; then :
38507 cat >>confdefs.h <<_ACEOF
38508 #define HAVE__SQRTF 1
38509 _ACEOF
38512 done
38521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38522 $as_echo_n "checking for sincosf declaration... " >&6; }
38523 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38524 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38525 $as_echo_n "(cached) " >&6
38526 else
38529 ac_ext=cpp
38530 ac_cpp='$CXXCPP $CPPFLAGS'
38531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38536 /* end confdefs.h. */
38537 #include <math.h>
38539 main ()
38541 sincosf(0, 0, 0);
38543 return 0;
38545 _ACEOF
38546 if ac_fn_cxx_try_compile "$LINENO"; then :
38547 glibcxx_cv_func_sincosf_use=yes
38548 else
38549 glibcxx_cv_func_sincosf_use=no
38551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38552 ac_ext=c
38553 ac_cpp='$CPP $CPPFLAGS'
38554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38563 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38565 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38566 for ac_func in sincosf
38567 do :
38568 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38569 if test "x$ac_cv_func_sincosf" = xyes; then :
38570 cat >>confdefs.h <<_ACEOF
38571 #define HAVE_SINCOSF 1
38572 _ACEOF
38575 done
38577 else
38579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38580 $as_echo_n "checking for _sincosf declaration... " >&6; }
38581 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38582 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38583 $as_echo_n "(cached) " >&6
38584 else
38587 ac_ext=cpp
38588 ac_cpp='$CXXCPP $CPPFLAGS'
38589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38594 /* end confdefs.h. */
38595 #include <math.h>
38597 main ()
38599 _sincosf(0, 0, 0);
38601 return 0;
38603 _ACEOF
38604 if ac_fn_cxx_try_compile "$LINENO"; then :
38605 glibcxx_cv_func__sincosf_use=yes
38606 else
38607 glibcxx_cv_func__sincosf_use=no
38609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38610 ac_ext=c
38611 ac_cpp='$CPP $CPPFLAGS'
38612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38621 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38623 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38624 for ac_func in _sincosf
38625 do :
38626 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38627 if test "x$ac_cv_func__sincosf" = xyes; then :
38628 cat >>confdefs.h <<_ACEOF
38629 #define HAVE__SINCOSF 1
38630 _ACEOF
38633 done
38642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38643 $as_echo_n "checking for finitef declaration... " >&6; }
38644 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38645 if ${glibcxx_cv_func_finitef_use+:} false; then :
38646 $as_echo_n "(cached) " >&6
38647 else
38650 ac_ext=cpp
38651 ac_cpp='$CXXCPP $CPPFLAGS'
38652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38657 /* end confdefs.h. */
38658 #include <math.h>
38659 #ifdef HAVE_IEEEFP_H
38660 #include <ieeefp.h>
38661 #endif
38664 main ()
38666 finitef(0);
38668 return 0;
38670 _ACEOF
38671 if ac_fn_cxx_try_compile "$LINENO"; then :
38672 glibcxx_cv_func_finitef_use=yes
38673 else
38674 glibcxx_cv_func_finitef_use=no
38676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38677 ac_ext=c
38678 ac_cpp='$CPP $CPPFLAGS'
38679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38688 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38690 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38691 for ac_func in finitef
38692 do :
38693 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38694 if test "x$ac_cv_func_finitef" = xyes; then :
38695 cat >>confdefs.h <<_ACEOF
38696 #define HAVE_FINITEF 1
38697 _ACEOF
38700 done
38702 else
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38705 $as_echo_n "checking for _finitef declaration... " >&6; }
38706 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38707 if ${glibcxx_cv_func__finitef_use+:} false; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38726 main ()
38728 _finitef(0);
38730 return 0;
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func__finitef_use=yes
38735 else
38736 glibcxx_cv_func__finitef_use=no
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38750 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38752 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38753 for ac_func in _finitef
38754 do :
38755 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38756 if test "x$ac_cv_func__finitef" = xyes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE__FINITEF 1
38759 _ACEOF
38762 done
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38772 $as_echo_n "checking for long double trig functions... " >&6; }
38773 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38774 $as_echo_n "(cached) " >&6
38775 else
38778 ac_ext=cpp
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38785 /* end confdefs.h. */
38786 #include <math.h>
38788 main ()
38790 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38792 return 0;
38794 _ACEOF
38795 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 glibcxx_cv_func_long_double_trig_use=yes
38797 else
38798 glibcxx_cv_func_long_double_trig_use=no
38800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38801 ac_ext=c
38802 ac_cpp='$CPP $CPPFLAGS'
38803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38810 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38811 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38812 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38813 do :
38814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38816 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38817 cat >>confdefs.h <<_ACEOF
38818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38819 _ACEOF
38822 done
38824 else
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38826 $as_echo_n "checking for _long double trig functions... " >&6; }
38827 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38828 $as_echo_n "(cached) " >&6
38829 else
38832 ac_ext=cpp
38833 ac_cpp='$CXXCPP $CPPFLAGS'
38834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38839 /* end confdefs.h. */
38840 #include <math.h>
38842 main ()
38844 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38846 return 0;
38848 _ACEOF
38849 if ac_fn_cxx_try_compile "$LINENO"; then :
38850 glibcxx_cv_func__long_double_trig_use=yes
38851 else
38852 glibcxx_cv_func__long_double_trig_use=no
38854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38855 ac_ext=c
38856 ac_cpp='$CPP $CPPFLAGS'
38857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38864 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38865 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38866 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38867 do :
38868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38869 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38873 _ACEOF
38876 done
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38886 $as_echo_n "checking for long double round functions... " >&6; }
38887 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38892 ac_ext=cpp
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38899 /* end confdefs.h. */
38900 #include <math.h>
38902 main ()
38904 ceill (0); floorl (0);
38906 return 0;
38908 _ACEOF
38909 if ac_fn_cxx_try_compile "$LINENO"; then :
38910 glibcxx_cv_func_long_double_round_use=yes
38911 else
38912 glibcxx_cv_func_long_double_round_use=no
38914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38915 ac_ext=c
38916 ac_cpp='$CPP $CPPFLAGS'
38917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38924 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38925 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38926 for ac_func in ceill floorl
38927 do :
38928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38930 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38931 cat >>confdefs.h <<_ACEOF
38932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38933 _ACEOF
38936 done
38938 else
38939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38940 $as_echo_n "checking for _long double round functions... " >&6; }
38941 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38942 $as_echo_n "(cached) " >&6
38943 else
38946 ac_ext=cpp
38947 ac_cpp='$CXXCPP $CPPFLAGS'
38948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38953 /* end confdefs.h. */
38954 #include <math.h>
38956 main ()
38958 _ceill (0); _floorl (0);
38960 return 0;
38962 _ACEOF
38963 if ac_fn_cxx_try_compile "$LINENO"; then :
38964 glibcxx_cv_func__long_double_round_use=yes
38965 else
38966 glibcxx_cv_func__long_double_round_use=no
38968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969 ac_ext=c
38970 ac_cpp='$CPP $CPPFLAGS'
38971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38978 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38979 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38980 for ac_func in _ceill _floorl
38981 do :
38982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38984 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38985 cat >>confdefs.h <<_ACEOF
38986 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38987 _ACEOF
38990 done
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39001 $as_echo_n "checking for isnanl declaration... " >&6; }
39002 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39003 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39004 $as_echo_n "(cached) " >&6
39005 else
39008 ac_ext=cpp
39009 ac_cpp='$CXXCPP $CPPFLAGS'
39010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h. */
39016 #include <math.h>
39017 #ifdef HAVE_IEEEFP_H
39018 #include <ieeefp.h>
39019 #endif
39022 main ()
39024 isnanl(0);
39026 return 0;
39028 _ACEOF
39029 if ac_fn_cxx_try_compile "$LINENO"; then :
39030 glibcxx_cv_func_isnanl_use=yes
39031 else
39032 glibcxx_cv_func_isnanl_use=no
39034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39035 ac_ext=c
39036 ac_cpp='$CPP $CPPFLAGS'
39037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39046 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39048 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39049 for ac_func in isnanl
39050 do :
39051 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39052 if test "x$ac_cv_func_isnanl" = xyes; then :
39053 cat >>confdefs.h <<_ACEOF
39054 #define HAVE_ISNANL 1
39055 _ACEOF
39058 done
39060 else
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39063 $as_echo_n "checking for _isnanl declaration... " >&6; }
39064 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39065 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39066 $as_echo_n "(cached) " >&6
39067 else
39070 ac_ext=cpp
39071 ac_cpp='$CXXCPP $CPPFLAGS'
39072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39077 /* end confdefs.h. */
39078 #include <math.h>
39079 #ifdef HAVE_IEEEFP_H
39080 #include <ieeefp.h>
39081 #endif
39084 main ()
39086 _isnanl(0);
39088 return 0;
39090 _ACEOF
39091 if ac_fn_cxx_try_compile "$LINENO"; then :
39092 glibcxx_cv_func__isnanl_use=yes
39093 else
39094 glibcxx_cv_func__isnanl_use=no
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097 ac_ext=c
39098 ac_cpp='$CPP $CPPFLAGS'
39099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39108 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39110 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39111 for ac_func in _isnanl
39112 do :
39113 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39114 if test "x$ac_cv_func__isnanl" = xyes; then :
39115 cat >>confdefs.h <<_ACEOF
39116 #define HAVE__ISNANL 1
39117 _ACEOF
39120 done
39129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39130 $as_echo_n "checking for isinfl declaration... " >&6; }
39131 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39132 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39133 $as_echo_n "(cached) " >&6
39134 else
39137 ac_ext=cpp
39138 ac_cpp='$CXXCPP $CPPFLAGS'
39139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39144 /* end confdefs.h. */
39145 #include <math.h>
39146 #ifdef HAVE_IEEEFP_H
39147 #include <ieeefp.h>
39148 #endif
39151 main ()
39153 isinfl(0);
39155 return 0;
39157 _ACEOF
39158 if ac_fn_cxx_try_compile "$LINENO"; then :
39159 glibcxx_cv_func_isinfl_use=yes
39160 else
39161 glibcxx_cv_func_isinfl_use=no
39163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39164 ac_ext=c
39165 ac_cpp='$CPP $CPPFLAGS'
39166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39175 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39177 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39178 for ac_func in isinfl
39179 do :
39180 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39181 if test "x$ac_cv_func_isinfl" = xyes; then :
39182 cat >>confdefs.h <<_ACEOF
39183 #define HAVE_ISINFL 1
39184 _ACEOF
39187 done
39189 else
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39192 $as_echo_n "checking for _isinfl declaration... " >&6; }
39193 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39194 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39195 $as_echo_n "(cached) " >&6
39196 else
39199 ac_ext=cpp
39200 ac_cpp='$CXXCPP $CPPFLAGS'
39201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39206 /* end confdefs.h. */
39207 #include <math.h>
39208 #ifdef HAVE_IEEEFP_H
39209 #include <ieeefp.h>
39210 #endif
39213 main ()
39215 _isinfl(0);
39217 return 0;
39219 _ACEOF
39220 if ac_fn_cxx_try_compile "$LINENO"; then :
39221 glibcxx_cv_func__isinfl_use=yes
39222 else
39223 glibcxx_cv_func__isinfl_use=no
39225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39226 ac_ext=c
39227 ac_cpp='$CPP $CPPFLAGS'
39228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39237 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39239 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39240 for ac_func in _isinfl
39241 do :
39242 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39243 if test "x$ac_cv_func__isinfl" = xyes; then :
39244 cat >>confdefs.h <<_ACEOF
39245 #define HAVE__ISINFL 1
39246 _ACEOF
39249 done
39258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39259 $as_echo_n "checking for atan2l declaration... " >&6; }
39260 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39261 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39262 $as_echo_n "(cached) " >&6
39263 else
39266 ac_ext=cpp
39267 ac_cpp='$CXXCPP $CPPFLAGS'
39268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39273 /* end confdefs.h. */
39274 #include <math.h>
39276 main ()
39278 atan2l(0, 0);
39280 return 0;
39282 _ACEOF
39283 if ac_fn_cxx_try_compile "$LINENO"; then :
39284 glibcxx_cv_func_atan2l_use=yes
39285 else
39286 glibcxx_cv_func_atan2l_use=no
39288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39289 ac_ext=c
39290 ac_cpp='$CPP $CPPFLAGS'
39291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39300 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39302 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39303 for ac_func in atan2l
39304 do :
39305 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39306 if test "x$ac_cv_func_atan2l" = xyes; then :
39307 cat >>confdefs.h <<_ACEOF
39308 #define HAVE_ATAN2L 1
39309 _ACEOF
39312 done
39314 else
39316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39317 $as_echo_n "checking for _atan2l declaration... " >&6; }
39318 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39319 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39320 $as_echo_n "(cached) " >&6
39321 else
39324 ac_ext=cpp
39325 ac_cpp='$CXXCPP $CPPFLAGS'
39326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39331 /* end confdefs.h. */
39332 #include <math.h>
39334 main ()
39336 _atan2l(0, 0);
39338 return 0;
39340 _ACEOF
39341 if ac_fn_cxx_try_compile "$LINENO"; then :
39342 glibcxx_cv_func__atan2l_use=yes
39343 else
39344 glibcxx_cv_func__atan2l_use=no
39346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39347 ac_ext=c
39348 ac_cpp='$CPP $CPPFLAGS'
39349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39358 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39360 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39361 for ac_func in _atan2l
39362 do :
39363 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39364 if test "x$ac_cv_func__atan2l" = xyes; then :
39365 cat >>confdefs.h <<_ACEOF
39366 #define HAVE__ATAN2L 1
39367 _ACEOF
39370 done
39379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39380 $as_echo_n "checking for expl declaration... " >&6; }
39381 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39382 if ${glibcxx_cv_func_expl_use+:} false; then :
39383 $as_echo_n "(cached) " >&6
39384 else
39387 ac_ext=cpp
39388 ac_cpp='$CXXCPP $CPPFLAGS'
39389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39394 /* end confdefs.h. */
39395 #include <math.h>
39396 #ifdef HAVE_IEEEFP_H
39397 #include <ieeefp.h>
39398 #endif
39401 main ()
39403 expl(0);
39405 return 0;
39407 _ACEOF
39408 if ac_fn_cxx_try_compile "$LINENO"; then :
39409 glibcxx_cv_func_expl_use=yes
39410 else
39411 glibcxx_cv_func_expl_use=no
39413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39414 ac_ext=c
39415 ac_cpp='$CPP $CPPFLAGS'
39416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39425 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39427 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39428 for ac_func in expl
39429 do :
39430 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39431 if test "x$ac_cv_func_expl" = xyes; then :
39432 cat >>confdefs.h <<_ACEOF
39433 #define HAVE_EXPL 1
39434 _ACEOF
39437 done
39439 else
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39442 $as_echo_n "checking for _expl declaration... " >&6; }
39443 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39444 if ${glibcxx_cv_func__expl_use+:} false; then :
39445 $as_echo_n "(cached) " >&6
39446 else
39449 ac_ext=cpp
39450 ac_cpp='$CXXCPP $CPPFLAGS'
39451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39456 /* end confdefs.h. */
39457 #include <math.h>
39458 #ifdef HAVE_IEEEFP_H
39459 #include <ieeefp.h>
39460 #endif
39463 main ()
39465 _expl(0);
39467 return 0;
39469 _ACEOF
39470 if ac_fn_cxx_try_compile "$LINENO"; then :
39471 glibcxx_cv_func__expl_use=yes
39472 else
39473 glibcxx_cv_func__expl_use=no
39475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39476 ac_ext=c
39477 ac_cpp='$CPP $CPPFLAGS'
39478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39487 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39489 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39490 for ac_func in _expl
39491 do :
39492 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39493 if test "x$ac_cv_func__expl" = xyes; then :
39494 cat >>confdefs.h <<_ACEOF
39495 #define HAVE__EXPL 1
39496 _ACEOF
39499 done
39508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39509 $as_echo_n "checking for fabsl declaration... " >&6; }
39510 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39511 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39512 $as_echo_n "(cached) " >&6
39513 else
39516 ac_ext=cpp
39517 ac_cpp='$CXXCPP $CPPFLAGS'
39518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39523 /* end confdefs.h. */
39524 #include <math.h>
39525 #ifdef HAVE_IEEEFP_H
39526 #include <ieeefp.h>
39527 #endif
39530 main ()
39532 fabsl(0);
39534 return 0;
39536 _ACEOF
39537 if ac_fn_cxx_try_compile "$LINENO"; then :
39538 glibcxx_cv_func_fabsl_use=yes
39539 else
39540 glibcxx_cv_func_fabsl_use=no
39542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39543 ac_ext=c
39544 ac_cpp='$CPP $CPPFLAGS'
39545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39554 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39556 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39557 for ac_func in fabsl
39558 do :
39559 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39560 if test "x$ac_cv_func_fabsl" = xyes; then :
39561 cat >>confdefs.h <<_ACEOF
39562 #define HAVE_FABSL 1
39563 _ACEOF
39566 done
39568 else
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39571 $as_echo_n "checking for _fabsl declaration... " >&6; }
39572 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39573 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39574 $as_echo_n "(cached) " >&6
39575 else
39578 ac_ext=cpp
39579 ac_cpp='$CXXCPP $CPPFLAGS'
39580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39585 /* end confdefs.h. */
39586 #include <math.h>
39587 #ifdef HAVE_IEEEFP_H
39588 #include <ieeefp.h>
39589 #endif
39592 main ()
39594 _fabsl(0);
39596 return 0;
39598 _ACEOF
39599 if ac_fn_cxx_try_compile "$LINENO"; then :
39600 glibcxx_cv_func__fabsl_use=yes
39601 else
39602 glibcxx_cv_func__fabsl_use=no
39604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39605 ac_ext=c
39606 ac_cpp='$CPP $CPPFLAGS'
39607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39616 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39618 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39619 for ac_func in _fabsl
39620 do :
39621 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39622 if test "x$ac_cv_func__fabsl" = xyes; then :
39623 cat >>confdefs.h <<_ACEOF
39624 #define HAVE__FABSL 1
39625 _ACEOF
39628 done
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39638 $as_echo_n "checking for fmodl declaration... " >&6; }
39639 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39640 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39641 $as_echo_n "(cached) " >&6
39642 else
39645 ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39652 /* end confdefs.h. */
39653 #include <math.h>
39655 main ()
39657 fmodl(0, 0);
39659 return 0;
39661 _ACEOF
39662 if ac_fn_cxx_try_compile "$LINENO"; then :
39663 glibcxx_cv_func_fmodl_use=yes
39664 else
39665 glibcxx_cv_func_fmodl_use=no
39667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39679 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39681 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39682 for ac_func in fmodl
39683 do :
39684 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39685 if test "x$ac_cv_func_fmodl" = xyes; then :
39686 cat >>confdefs.h <<_ACEOF
39687 #define HAVE_FMODL 1
39688 _ACEOF
39691 done
39693 else
39695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39696 $as_echo_n "checking for _fmodl declaration... " >&6; }
39697 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39698 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39699 $as_echo_n "(cached) " >&6
39700 else
39703 ac_ext=cpp
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39710 /* end confdefs.h. */
39711 #include <math.h>
39713 main ()
39715 _fmodl(0, 0);
39717 return 0;
39719 _ACEOF
39720 if ac_fn_cxx_try_compile "$LINENO"; then :
39721 glibcxx_cv_func__fmodl_use=yes
39722 else
39723 glibcxx_cv_func__fmodl_use=no
39725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39726 ac_ext=c
39727 ac_cpp='$CPP $CPPFLAGS'
39728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39737 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39739 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39740 for ac_func in _fmodl
39741 do :
39742 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39743 if test "x$ac_cv_func__fmodl" = xyes; then :
39744 cat >>confdefs.h <<_ACEOF
39745 #define HAVE__FMODL 1
39746 _ACEOF
39749 done
39758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39759 $as_echo_n "checking for frexpl declaration... " >&6; }
39760 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39761 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39762 $as_echo_n "(cached) " >&6
39763 else
39766 ac_ext=cpp
39767 ac_cpp='$CXXCPP $CPPFLAGS'
39768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39773 /* end confdefs.h. */
39774 #include <math.h>
39776 main ()
39778 frexpl(0, 0);
39780 return 0;
39782 _ACEOF
39783 if ac_fn_cxx_try_compile "$LINENO"; then :
39784 glibcxx_cv_func_frexpl_use=yes
39785 else
39786 glibcxx_cv_func_frexpl_use=no
39788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39789 ac_ext=c
39790 ac_cpp='$CPP $CPPFLAGS'
39791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39800 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39802 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39803 for ac_func in frexpl
39804 do :
39805 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39806 if test "x$ac_cv_func_frexpl" = xyes; then :
39807 cat >>confdefs.h <<_ACEOF
39808 #define HAVE_FREXPL 1
39809 _ACEOF
39812 done
39814 else
39816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39817 $as_echo_n "checking for _frexpl declaration... " >&6; }
39818 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39819 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39820 $as_echo_n "(cached) " >&6
39821 else
39824 ac_ext=cpp
39825 ac_cpp='$CXXCPP $CPPFLAGS'
39826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39831 /* end confdefs.h. */
39832 #include <math.h>
39834 main ()
39836 _frexpl(0, 0);
39838 return 0;
39840 _ACEOF
39841 if ac_fn_cxx_try_compile "$LINENO"; then :
39842 glibcxx_cv_func__frexpl_use=yes
39843 else
39844 glibcxx_cv_func__frexpl_use=no
39846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39847 ac_ext=c
39848 ac_cpp='$CPP $CPPFLAGS'
39849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39858 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39860 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39861 for ac_func in _frexpl
39862 do :
39863 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39864 if test "x$ac_cv_func__frexpl" = xyes; then :
39865 cat >>confdefs.h <<_ACEOF
39866 #define HAVE__FREXPL 1
39867 _ACEOF
39870 done
39879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39880 $as_echo_n "checking for hypotl declaration... " >&6; }
39881 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39882 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39883 $as_echo_n "(cached) " >&6
39884 else
39887 ac_ext=cpp
39888 ac_cpp='$CXXCPP $CPPFLAGS'
39889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39894 /* end confdefs.h. */
39895 #include <math.h>
39897 main ()
39899 hypotl(0, 0);
39901 return 0;
39903 _ACEOF
39904 if ac_fn_cxx_try_compile "$LINENO"; then :
39905 glibcxx_cv_func_hypotl_use=yes
39906 else
39907 glibcxx_cv_func_hypotl_use=no
39909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39910 ac_ext=c
39911 ac_cpp='$CPP $CPPFLAGS'
39912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39921 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39923 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39924 for ac_func in hypotl
39925 do :
39926 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39927 if test "x$ac_cv_func_hypotl" = xyes; then :
39928 cat >>confdefs.h <<_ACEOF
39929 #define HAVE_HYPOTL 1
39930 _ACEOF
39933 done
39935 else
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39938 $as_echo_n "checking for _hypotl declaration... " >&6; }
39939 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39940 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39941 $as_echo_n "(cached) " >&6
39942 else
39945 ac_ext=cpp
39946 ac_cpp='$CXXCPP $CPPFLAGS'
39947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39952 /* end confdefs.h. */
39953 #include <math.h>
39955 main ()
39957 _hypotl(0, 0);
39959 return 0;
39961 _ACEOF
39962 if ac_fn_cxx_try_compile "$LINENO"; then :
39963 glibcxx_cv_func__hypotl_use=yes
39964 else
39965 glibcxx_cv_func__hypotl_use=no
39967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39968 ac_ext=c
39969 ac_cpp='$CPP $CPPFLAGS'
39970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39979 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39981 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39982 for ac_func in _hypotl
39983 do :
39984 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39985 if test "x$ac_cv_func__hypotl" = xyes; then :
39986 cat >>confdefs.h <<_ACEOF
39987 #define HAVE__HYPOTL 1
39988 _ACEOF
39991 done
40000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40001 $as_echo_n "checking for ldexpl declaration... " >&6; }
40002 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40003 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40004 $as_echo_n "(cached) " >&6
40005 else
40008 ac_ext=cpp
40009 ac_cpp='$CXXCPP $CPPFLAGS'
40010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40015 /* end confdefs.h. */
40016 #include <math.h>
40018 main ()
40020 ldexpl(0, 0);
40022 return 0;
40024 _ACEOF
40025 if ac_fn_cxx_try_compile "$LINENO"; then :
40026 glibcxx_cv_func_ldexpl_use=yes
40027 else
40028 glibcxx_cv_func_ldexpl_use=no
40030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40031 ac_ext=c
40032 ac_cpp='$CPP $CPPFLAGS'
40033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40042 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40044 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40045 for ac_func in ldexpl
40046 do :
40047 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40048 if test "x$ac_cv_func_ldexpl" = xyes; then :
40049 cat >>confdefs.h <<_ACEOF
40050 #define HAVE_LDEXPL 1
40051 _ACEOF
40054 done
40056 else
40058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40059 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40060 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40061 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40062 $as_echo_n "(cached) " >&6
40063 else
40066 ac_ext=cpp
40067 ac_cpp='$CXXCPP $CPPFLAGS'
40068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40073 /* end confdefs.h. */
40074 #include <math.h>
40076 main ()
40078 _ldexpl(0, 0);
40080 return 0;
40082 _ACEOF
40083 if ac_fn_cxx_try_compile "$LINENO"; then :
40084 glibcxx_cv_func__ldexpl_use=yes
40085 else
40086 glibcxx_cv_func__ldexpl_use=no
40088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40089 ac_ext=c
40090 ac_cpp='$CPP $CPPFLAGS'
40091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40100 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40102 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40103 for ac_func in _ldexpl
40104 do :
40105 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40106 if test "x$ac_cv_func__ldexpl" = xyes; then :
40107 cat >>confdefs.h <<_ACEOF
40108 #define HAVE__LDEXPL 1
40109 _ACEOF
40112 done
40121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40122 $as_echo_n "checking for logl declaration... " >&6; }
40123 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40124 if ${glibcxx_cv_func_logl_use+:} false; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40138 #ifdef HAVE_IEEEFP_H
40139 #include <ieeefp.h>
40140 #endif
40143 main ()
40145 logl(0);
40147 return 0;
40149 _ACEOF
40150 if ac_fn_cxx_try_compile "$LINENO"; then :
40151 glibcxx_cv_func_logl_use=yes
40152 else
40153 glibcxx_cv_func_logl_use=no
40155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40156 ac_ext=c
40157 ac_cpp='$CPP $CPPFLAGS'
40158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40167 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40169 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40170 for ac_func in logl
40171 do :
40172 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40173 if test "x$ac_cv_func_logl" = xyes; then :
40174 cat >>confdefs.h <<_ACEOF
40175 #define HAVE_LOGL 1
40176 _ACEOF
40179 done
40181 else
40183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40184 $as_echo_n "checking for _logl declaration... " >&6; }
40185 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40186 if ${glibcxx_cv_func__logl_use+:} false; then :
40187 $as_echo_n "(cached) " >&6
40188 else
40191 ac_ext=cpp
40192 ac_cpp='$CXXCPP $CPPFLAGS'
40193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40198 /* end confdefs.h. */
40199 #include <math.h>
40200 #ifdef HAVE_IEEEFP_H
40201 #include <ieeefp.h>
40202 #endif
40205 main ()
40207 _logl(0);
40209 return 0;
40211 _ACEOF
40212 if ac_fn_cxx_try_compile "$LINENO"; then :
40213 glibcxx_cv_func__logl_use=yes
40214 else
40215 glibcxx_cv_func__logl_use=no
40217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40218 ac_ext=c
40219 ac_cpp='$CPP $CPPFLAGS'
40220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40229 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40231 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40232 for ac_func in _logl
40233 do :
40234 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40235 if test "x$ac_cv_func__logl" = xyes; then :
40236 cat >>confdefs.h <<_ACEOF
40237 #define HAVE__LOGL 1
40238 _ACEOF
40241 done
40250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40251 $as_echo_n "checking for log10l declaration... " >&6; }
40252 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40253 if ${glibcxx_cv_func_log10l_use+:} false; then :
40254 $as_echo_n "(cached) " >&6
40255 else
40258 ac_ext=cpp
40259 ac_cpp='$CXXCPP $CPPFLAGS'
40260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40265 /* end confdefs.h. */
40266 #include <math.h>
40267 #ifdef HAVE_IEEEFP_H
40268 #include <ieeefp.h>
40269 #endif
40272 main ()
40274 log10l(0);
40276 return 0;
40278 _ACEOF
40279 if ac_fn_cxx_try_compile "$LINENO"; then :
40280 glibcxx_cv_func_log10l_use=yes
40281 else
40282 glibcxx_cv_func_log10l_use=no
40284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40285 ac_ext=c
40286 ac_cpp='$CPP $CPPFLAGS'
40287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40296 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40298 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40299 for ac_func in log10l
40300 do :
40301 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40302 if test "x$ac_cv_func_log10l" = xyes; then :
40303 cat >>confdefs.h <<_ACEOF
40304 #define HAVE_LOG10L 1
40305 _ACEOF
40308 done
40310 else
40312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40313 $as_echo_n "checking for _log10l declaration... " >&6; }
40314 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40315 if ${glibcxx_cv_func__log10l_use+:} false; then :
40316 $as_echo_n "(cached) " >&6
40317 else
40320 ac_ext=cpp
40321 ac_cpp='$CXXCPP $CPPFLAGS'
40322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40327 /* end confdefs.h. */
40328 #include <math.h>
40329 #ifdef HAVE_IEEEFP_H
40330 #include <ieeefp.h>
40331 #endif
40334 main ()
40336 _log10l(0);
40338 return 0;
40340 _ACEOF
40341 if ac_fn_cxx_try_compile "$LINENO"; then :
40342 glibcxx_cv_func__log10l_use=yes
40343 else
40344 glibcxx_cv_func__log10l_use=no
40346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40347 ac_ext=c
40348 ac_cpp='$CPP $CPPFLAGS'
40349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40358 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40360 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40361 for ac_func in _log10l
40362 do :
40363 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40364 if test "x$ac_cv_func__log10l" = xyes; then :
40365 cat >>confdefs.h <<_ACEOF
40366 #define HAVE__LOG10L 1
40367 _ACEOF
40370 done
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40380 $as_echo_n "checking for modfl declaration... " >&6; }
40381 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40382 if ${glibcxx_cv_func_modfl_use+:} false; then :
40383 $as_echo_n "(cached) " >&6
40384 else
40387 ac_ext=cpp
40388 ac_cpp='$CXXCPP $CPPFLAGS'
40389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40394 /* end confdefs.h. */
40395 #include <math.h>
40397 main ()
40399 modfl(0, 0);
40401 return 0;
40403 _ACEOF
40404 if ac_fn_cxx_try_compile "$LINENO"; then :
40405 glibcxx_cv_func_modfl_use=yes
40406 else
40407 glibcxx_cv_func_modfl_use=no
40409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40410 ac_ext=c
40411 ac_cpp='$CPP $CPPFLAGS'
40412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40421 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40423 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40424 for ac_func in modfl
40425 do :
40426 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40427 if test "x$ac_cv_func_modfl" = xyes; then :
40428 cat >>confdefs.h <<_ACEOF
40429 #define HAVE_MODFL 1
40430 _ACEOF
40433 done
40435 else
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40438 $as_echo_n "checking for _modfl declaration... " >&6; }
40439 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40440 if ${glibcxx_cv_func__modfl_use+:} false; then :
40441 $as_echo_n "(cached) " >&6
40442 else
40445 ac_ext=cpp
40446 ac_cpp='$CXXCPP $CPPFLAGS'
40447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40452 /* end confdefs.h. */
40453 #include <math.h>
40455 main ()
40457 _modfl(0, 0);
40459 return 0;
40461 _ACEOF
40462 if ac_fn_cxx_try_compile "$LINENO"; then :
40463 glibcxx_cv_func__modfl_use=yes
40464 else
40465 glibcxx_cv_func__modfl_use=no
40467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40468 ac_ext=c
40469 ac_cpp='$CPP $CPPFLAGS'
40470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40479 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40481 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40482 for ac_func in _modfl
40483 do :
40484 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40485 if test "x$ac_cv_func__modfl" = xyes; then :
40486 cat >>confdefs.h <<_ACEOF
40487 #define HAVE__MODFL 1
40488 _ACEOF
40491 done
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40501 $as_echo_n "checking for powl declaration... " >&6; }
40502 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40503 if ${glibcxx_cv_func_powl_use+:} false; then :
40504 $as_echo_n "(cached) " >&6
40505 else
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40515 /* end confdefs.h. */
40516 #include <math.h>
40518 main ()
40520 powl(0, 0);
40522 return 0;
40524 _ACEOF
40525 if ac_fn_cxx_try_compile "$LINENO"; then :
40526 glibcxx_cv_func_powl_use=yes
40527 else
40528 glibcxx_cv_func_powl_use=no
40530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40531 ac_ext=c
40532 ac_cpp='$CPP $CPPFLAGS'
40533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40542 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40544 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40545 for ac_func in powl
40546 do :
40547 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40548 if test "x$ac_cv_func_powl" = xyes; then :
40549 cat >>confdefs.h <<_ACEOF
40550 #define HAVE_POWL 1
40551 _ACEOF
40554 done
40556 else
40558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40559 $as_echo_n "checking for _powl declaration... " >&6; }
40560 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40561 if ${glibcxx_cv_func__powl_use+:} false; then :
40562 $as_echo_n "(cached) " >&6
40563 else
40566 ac_ext=cpp
40567 ac_cpp='$CXXCPP $CPPFLAGS'
40568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40573 /* end confdefs.h. */
40574 #include <math.h>
40576 main ()
40578 _powl(0, 0);
40580 return 0;
40582 _ACEOF
40583 if ac_fn_cxx_try_compile "$LINENO"; then :
40584 glibcxx_cv_func__powl_use=yes
40585 else
40586 glibcxx_cv_func__powl_use=no
40588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40589 ac_ext=c
40590 ac_cpp='$CPP $CPPFLAGS'
40591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40600 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40602 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40603 for ac_func in _powl
40604 do :
40605 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40606 if test "x$ac_cv_func__powl" = xyes; then :
40607 cat >>confdefs.h <<_ACEOF
40608 #define HAVE__POWL 1
40609 _ACEOF
40612 done
40621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40622 $as_echo_n "checking for sqrtl declaration... " >&6; }
40623 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40624 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40625 $as_echo_n "(cached) " >&6
40626 else
40629 ac_ext=cpp
40630 ac_cpp='$CXXCPP $CPPFLAGS'
40631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40636 /* end confdefs.h. */
40637 #include <math.h>
40638 #ifdef HAVE_IEEEFP_H
40639 #include <ieeefp.h>
40640 #endif
40643 main ()
40645 sqrtl(0);
40647 return 0;
40649 _ACEOF
40650 if ac_fn_cxx_try_compile "$LINENO"; then :
40651 glibcxx_cv_func_sqrtl_use=yes
40652 else
40653 glibcxx_cv_func_sqrtl_use=no
40655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40656 ac_ext=c
40657 ac_cpp='$CPP $CPPFLAGS'
40658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40667 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40669 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40670 for ac_func in sqrtl
40671 do :
40672 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40673 if test "x$ac_cv_func_sqrtl" = xyes; then :
40674 cat >>confdefs.h <<_ACEOF
40675 #define HAVE_SQRTL 1
40676 _ACEOF
40679 done
40681 else
40683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40684 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40685 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40686 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40687 $as_echo_n "(cached) " >&6
40688 else
40691 ac_ext=cpp
40692 ac_cpp='$CXXCPP $CPPFLAGS'
40693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40698 /* end confdefs.h. */
40699 #include <math.h>
40700 #ifdef HAVE_IEEEFP_H
40701 #include <ieeefp.h>
40702 #endif
40705 main ()
40707 _sqrtl(0);
40709 return 0;
40711 _ACEOF
40712 if ac_fn_cxx_try_compile "$LINENO"; then :
40713 glibcxx_cv_func__sqrtl_use=yes
40714 else
40715 glibcxx_cv_func__sqrtl_use=no
40717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40718 ac_ext=c
40719 ac_cpp='$CPP $CPPFLAGS'
40720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40729 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40731 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40732 for ac_func in _sqrtl
40733 do :
40734 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40735 if test "x$ac_cv_func__sqrtl" = xyes; then :
40736 cat >>confdefs.h <<_ACEOF
40737 #define HAVE__SQRTL 1
40738 _ACEOF
40741 done
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40751 $as_echo_n "checking for sincosl declaration... " >&6; }
40752 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40753 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40758 ac_ext=cpp
40759 ac_cpp='$CXXCPP $CPPFLAGS'
40760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40765 /* end confdefs.h. */
40766 #include <math.h>
40768 main ()
40770 sincosl(0, 0, 0);
40772 return 0;
40774 _ACEOF
40775 if ac_fn_cxx_try_compile "$LINENO"; then :
40776 glibcxx_cv_func_sincosl_use=yes
40777 else
40778 glibcxx_cv_func_sincosl_use=no
40780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40781 ac_ext=c
40782 ac_cpp='$CPP $CPPFLAGS'
40783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40792 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40794 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40795 for ac_func in sincosl
40796 do :
40797 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40798 if test "x$ac_cv_func_sincosl" = xyes; then :
40799 cat >>confdefs.h <<_ACEOF
40800 #define HAVE_SINCOSL 1
40801 _ACEOF
40804 done
40806 else
40808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40809 $as_echo_n "checking for _sincosl declaration... " >&6; }
40810 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40811 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40812 $as_echo_n "(cached) " >&6
40813 else
40816 ac_ext=cpp
40817 ac_cpp='$CXXCPP $CPPFLAGS'
40818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40823 /* end confdefs.h. */
40824 #include <math.h>
40826 main ()
40828 _sincosl(0, 0, 0);
40830 return 0;
40832 _ACEOF
40833 if ac_fn_cxx_try_compile "$LINENO"; then :
40834 glibcxx_cv_func__sincosl_use=yes
40835 else
40836 glibcxx_cv_func__sincosl_use=no
40838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40839 ac_ext=c
40840 ac_cpp='$CPP $CPPFLAGS'
40841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40850 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40852 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40853 for ac_func in _sincosl
40854 do :
40855 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40856 if test "x$ac_cv_func__sincosl" = xyes; then :
40857 cat >>confdefs.h <<_ACEOF
40858 #define HAVE__SINCOSL 1
40859 _ACEOF
40862 done
40871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40872 $as_echo_n "checking for finitel declaration... " >&6; }
40873 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40874 if ${glibcxx_cv_func_finitel_use+:} false; then :
40875 $as_echo_n "(cached) " >&6
40876 else
40879 ac_ext=cpp
40880 ac_cpp='$CXXCPP $CPPFLAGS'
40881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40886 /* end confdefs.h. */
40887 #include <math.h>
40888 #ifdef HAVE_IEEEFP_H
40889 #include <ieeefp.h>
40890 #endif
40893 main ()
40895 finitel(0);
40897 return 0;
40899 _ACEOF
40900 if ac_fn_cxx_try_compile "$LINENO"; then :
40901 glibcxx_cv_func_finitel_use=yes
40902 else
40903 glibcxx_cv_func_finitel_use=no
40905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40906 ac_ext=c
40907 ac_cpp='$CPP $CPPFLAGS'
40908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40917 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40919 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40920 for ac_func in finitel
40921 do :
40922 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40923 if test "x$ac_cv_func_finitel" = xyes; then :
40924 cat >>confdefs.h <<_ACEOF
40925 #define HAVE_FINITEL 1
40926 _ACEOF
40929 done
40931 else
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40934 $as_echo_n "checking for _finitel declaration... " >&6; }
40935 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40936 if ${glibcxx_cv_func__finitel_use+:} false; then :
40937 $as_echo_n "(cached) " >&6
40938 else
40941 ac_ext=cpp
40942 ac_cpp='$CXXCPP $CPPFLAGS'
40943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40948 /* end confdefs.h. */
40949 #include <math.h>
40950 #ifdef HAVE_IEEEFP_H
40951 #include <ieeefp.h>
40952 #endif
40955 main ()
40957 _finitel(0);
40959 return 0;
40961 _ACEOF
40962 if ac_fn_cxx_try_compile "$LINENO"; then :
40963 glibcxx_cv_func__finitel_use=yes
40964 else
40965 glibcxx_cv_func__finitel_use=no
40967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40968 ac_ext=c
40969 ac_cpp='$CPP $CPPFLAGS'
40970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40979 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40981 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40982 for ac_func in _finitel
40983 do :
40984 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40985 if test "x$ac_cv_func__finitel" = xyes; then :
40986 cat >>confdefs.h <<_ACEOF
40987 #define HAVE__FINITEL 1
40988 _ACEOF
40991 done
40999 LIBS="$ac_save_LIBS"
41000 CXXFLAGS="$ac_save_CXXFLAGS"
41003 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41004 ac_save_CXXFLAGS="$CXXFLAGS"
41005 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41009 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41010 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41011 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41012 $as_echo_n "(cached) " >&6
41013 else
41016 ac_ext=cpp
41017 ac_cpp='$CXXCPP $CPPFLAGS'
41018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41023 /* end confdefs.h. */
41024 #include <stdlib.h>
41026 main ()
41028 at_quick_exit(0);
41030 return 0;
41032 _ACEOF
41033 if ac_fn_cxx_try_compile "$LINENO"; then :
41034 glibcxx_cv_func_at_quick_exit_use=yes
41035 else
41036 glibcxx_cv_func_at_quick_exit_use=no
41038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41039 ac_ext=c
41040 ac_cpp='$CPP $CPPFLAGS'
41041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41050 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41051 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41052 for ac_func in at_quick_exit
41053 do :
41054 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41055 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41056 cat >>confdefs.h <<_ACEOF
41057 #define HAVE_AT_QUICK_EXIT 1
41058 _ACEOF
41061 done
41066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41067 $as_echo_n "checking for quick_exit declaration... " >&6; }
41068 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41069 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41070 $as_echo_n "(cached) " >&6
41071 else
41074 ac_ext=cpp
41075 ac_cpp='$CXXCPP $CPPFLAGS'
41076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41081 /* end confdefs.h. */
41082 #include <stdlib.h>
41084 main ()
41086 quick_exit(0);
41088 return 0;
41090 _ACEOF
41091 if ac_fn_cxx_try_compile "$LINENO"; then :
41092 glibcxx_cv_func_quick_exit_use=yes
41093 else
41094 glibcxx_cv_func_quick_exit_use=no
41096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41108 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41109 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41110 for ac_func in quick_exit
41111 do :
41112 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41113 if test "x$ac_cv_func_quick_exit" = xyes; then :
41114 cat >>confdefs.h <<_ACEOF
41115 #define HAVE_QUICK_EXIT 1
41116 _ACEOF
41119 done
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41125 $as_echo_n "checking for strtold declaration... " >&6; }
41126 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41127 if ${glibcxx_cv_func_strtold_use+:} false; then :
41128 $as_echo_n "(cached) " >&6
41129 else
41132 ac_ext=cpp
41133 ac_cpp='$CXXCPP $CPPFLAGS'
41134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41139 /* end confdefs.h. */
41140 #include <stdlib.h>
41142 main ()
41144 strtold(0, 0);
41146 return 0;
41148 _ACEOF
41149 if ac_fn_cxx_try_compile "$LINENO"; then :
41150 glibcxx_cv_func_strtold_use=yes
41151 else
41152 glibcxx_cv_func_strtold_use=no
41154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41155 ac_ext=c
41156 ac_cpp='$CPP $CPPFLAGS'
41157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41166 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41168 for ac_func in strtold
41169 do :
41170 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41171 if test "x$ac_cv_func_strtold" = xyes; then :
41172 cat >>confdefs.h <<_ACEOF
41173 #define HAVE_STRTOLD 1
41174 _ACEOF
41177 done
41184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41185 $as_echo_n "checking for strtof declaration... " >&6; }
41186 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41187 if ${glibcxx_cv_func_strtof_use+:} false; then :
41188 $as_echo_n "(cached) " >&6
41189 else
41192 ac_ext=cpp
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41199 /* end confdefs.h. */
41200 #include <stdlib.h>
41202 main ()
41204 strtof(0, 0);
41206 return 0;
41208 _ACEOF
41209 if ac_fn_cxx_try_compile "$LINENO"; then :
41210 glibcxx_cv_func_strtof_use=yes
41211 else
41212 glibcxx_cv_func_strtof_use=no
41214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41215 ac_ext=c
41216 ac_cpp='$CPP $CPPFLAGS'
41217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41226 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41227 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41228 for ac_func in strtof
41229 do :
41230 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41231 if test "x$ac_cv_func_strtof" = xyes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define HAVE_STRTOF 1
41234 _ACEOF
41237 done
41244 CXXFLAGS="$ac_save_CXXFLAGS"
41246 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41248 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41250 # We don't yet support AIX's TLS ABI.
41251 #GCC_CHECK_TLS
41257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41258 $as_echo_n "checking for iconv... " >&6; }
41259 if ${am_cv_func_iconv+:} false; then :
41260 $as_echo_n "(cached) " >&6
41261 else
41263 am_cv_func_iconv="no, consider installing GNU libiconv"
41264 am_cv_lib_iconv=no
41265 am_save_CPPFLAGS="$CPPFLAGS"
41266 CPPFLAGS="$CPPFLAGS $INCICONV"
41267 if test x$gcc_no_link = xyes; then
41268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41271 /* end confdefs.h. */
41272 #include <stdlib.h>
41273 #include <iconv.h>
41275 main ()
41277 iconv_t cd = iconv_open("","");
41278 iconv(cd,NULL,NULL,NULL,NULL);
41279 iconv_close(cd);
41281 return 0;
41283 _ACEOF
41284 if ac_fn_c_try_link "$LINENO"; then :
41285 am_cv_func_iconv=yes
41287 rm -f core conftest.err conftest.$ac_objext \
41288 conftest$ac_exeext conftest.$ac_ext
41289 CPPFLAGS="$am_save_CPPFLAGS"
41291 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41292 for _libs in .libs _libs; do
41293 am_save_CPPFLAGS="$CPPFLAGS"
41294 am_save_LIBS="$LIBS"
41295 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41296 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41297 if test x$gcc_no_link = xyes; then
41298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41301 /* end confdefs.h. */
41302 #include <stdlib.h>
41303 #include <iconv.h>
41305 main ()
41307 iconv_t cd = iconv_open("","");
41308 iconv(cd,NULL,NULL,NULL,NULL);
41309 iconv_close(cd);
41311 return 0;
41313 _ACEOF
41314 if ac_fn_c_try_link "$LINENO"; then :
41315 INCICONV="-I../libiconv/include"
41316 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41317 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41318 am_cv_lib_iconv=yes
41319 am_cv_func_iconv=yes
41321 rm -f core conftest.err conftest.$ac_objext \
41322 conftest$ac_exeext conftest.$ac_ext
41323 CPPFLAGS="$am_save_CPPFLAGS"
41324 LIBS="$am_save_LIBS"
41325 if test "$am_cv_func_iconv" = "yes"; then
41326 break
41328 done
41331 if test "$am_cv_func_iconv" != yes; then
41332 am_save_CPPFLAGS="$CPPFLAGS"
41333 am_save_LIBS="$LIBS"
41334 CPPFLAGS="$CPPFLAGS $INCICONV"
41335 LIBS="$LIBS $LIBICONV"
41336 if test x$gcc_no_link = xyes; then
41337 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41340 /* end confdefs.h. */
41341 #include <stdlib.h>
41342 #include <iconv.h>
41344 main ()
41346 iconv_t cd = iconv_open("","");
41347 iconv(cd,NULL,NULL,NULL,NULL);
41348 iconv_close(cd);
41350 return 0;
41352 _ACEOF
41353 if ac_fn_c_try_link "$LINENO"; then :
41354 am_cv_lib_iconv=yes
41355 am_cv_func_iconv=yes
41357 rm -f core conftest.err conftest.$ac_objext \
41358 conftest$ac_exeext conftest.$ac_ext
41359 CPPFLAGS="$am_save_CPPFLAGS"
41360 LIBS="$am_save_LIBS"
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41365 $as_echo "$am_cv_func_iconv" >&6; }
41366 if test "$am_cv_func_iconv" = yes; then
41368 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41371 if test "$am_cv_lib_iconv" = yes; then
41373 for element in $INCICONV; do
41374 haveit=
41375 for x in $CPPFLAGS; do
41377 acl_save_prefix="$prefix"
41378 prefix="$acl_final_prefix"
41379 acl_save_exec_prefix="$exec_prefix"
41380 exec_prefix="$acl_final_exec_prefix"
41381 eval x=\"$x\"
41382 exec_prefix="$acl_save_exec_prefix"
41383 prefix="$acl_save_prefix"
41385 if test "X$x" = "X$element"; then
41386 haveit=yes
41387 break
41389 done
41390 if test -z "$haveit"; then
41391 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41393 done
41395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41396 $as_echo_n "checking how to link with libiconv... " >&6; }
41397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41398 $as_echo "$LIBICONV" >&6; }
41399 else
41400 LIBICONV=
41401 LTLIBICONV=
41406 if test "$am_cv_func_iconv" = yes; then
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41408 $as_echo_n "checking for iconv declaration... " >&6; }
41409 if ${am_cv_proto_iconv+:} false; then :
41410 $as_echo_n "(cached) " >&6
41411 else
41413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414 /* end confdefs.h. */
41416 #include <stdlib.h>
41417 #include <iconv.h>
41418 extern
41419 #ifdef __cplusplus
41421 #endif
41422 #if defined(__STDC__) || defined(__cplusplus)
41423 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41424 #else
41425 size_t iconv();
41426 #endif
41429 main ()
41433 return 0;
41435 _ACEOF
41436 if ac_fn_c_try_compile "$LINENO"; then :
41437 am_cv_proto_iconv_arg1=""
41438 else
41439 am_cv_proto_iconv_arg1="const"
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 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);"
41445 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41447 }$am_cv_proto_iconv" >&5
41448 $as_echo "${ac_t:-
41449 }$am_cv_proto_iconv" >&6; }
41451 cat >>confdefs.h <<_ACEOF
41452 #define ICONV_CONST $am_cv_proto_iconv_arg1
41453 _ACEOF
41458 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41462 *-darwin*)
41463 # Darwin versions vary, but the linker should work in a cross environment,
41464 # so we just check for all the features here.
41465 # Check for available headers.
41467 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41469 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41470 ac_save_CXXFLAGS="$CXXFLAGS"
41471 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41474 $as_echo_n "checking for sin in -lm... " >&6; }
41475 if ${ac_cv_lib_m_sin+:} false; then :
41476 $as_echo_n "(cached) " >&6
41477 else
41478 ac_check_lib_save_LIBS=$LIBS
41479 LIBS="-lm $LIBS"
41480 if test x$gcc_no_link = xyes; then
41481 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41484 /* end confdefs.h. */
41486 /* Override any GCC internal prototype to avoid an error.
41487 Use char because int might match the return type of a GCC
41488 builtin and then its argument prototype would still apply. */
41489 #ifdef __cplusplus
41490 extern "C"
41491 #endif
41492 char sin ();
41494 main ()
41496 return sin ();
41498 return 0;
41500 _ACEOF
41501 if ac_fn_c_try_link "$LINENO"; then :
41502 ac_cv_lib_m_sin=yes
41503 else
41504 ac_cv_lib_m_sin=no
41506 rm -f core conftest.err conftest.$ac_objext \
41507 conftest$ac_exeext conftest.$ac_ext
41508 LIBS=$ac_check_lib_save_LIBS
41510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41511 $as_echo "$ac_cv_lib_m_sin" >&6; }
41512 if test "x$ac_cv_lib_m_sin" = xyes; then :
41513 libm="-lm"
41516 ac_save_LIBS="$LIBS"
41517 LIBS="$LIBS $libm"
41521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41522 $as_echo_n "checking for isinf declaration... " >&6; }
41523 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41524 if ${glibcxx_cv_func_isinf_use+:} false; then :
41525 $as_echo_n "(cached) " >&6
41526 else
41529 ac_ext=cpp
41530 ac_cpp='$CXXCPP $CPPFLAGS'
41531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41536 /* end confdefs.h. */
41537 #include <math.h>
41538 #ifdef HAVE_IEEEFP_H
41539 #include <ieeefp.h>
41540 #endif
41543 main ()
41545 isinf(0);
41547 return 0;
41549 _ACEOF
41550 if ac_fn_cxx_try_compile "$LINENO"; then :
41551 glibcxx_cv_func_isinf_use=yes
41552 else
41553 glibcxx_cv_func_isinf_use=no
41555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41556 ac_ext=c
41557 ac_cpp='$CPP $CPPFLAGS'
41558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41567 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41569 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41570 for ac_func in isinf
41571 do :
41572 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41573 if test "x$ac_cv_func_isinf" = xyes; then :
41574 cat >>confdefs.h <<_ACEOF
41575 #define HAVE_ISINF 1
41576 _ACEOF
41579 done
41581 else
41583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41584 $as_echo_n "checking for _isinf declaration... " >&6; }
41585 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41586 if ${glibcxx_cv_func__isinf_use+:} false; then :
41587 $as_echo_n "(cached) " >&6
41588 else
41591 ac_ext=cpp
41592 ac_cpp='$CXXCPP $CPPFLAGS'
41593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41598 /* end confdefs.h. */
41599 #include <math.h>
41600 #ifdef HAVE_IEEEFP_H
41601 #include <ieeefp.h>
41602 #endif
41605 main ()
41607 _isinf(0);
41609 return 0;
41611 _ACEOF
41612 if ac_fn_cxx_try_compile "$LINENO"; then :
41613 glibcxx_cv_func__isinf_use=yes
41614 else
41615 glibcxx_cv_func__isinf_use=no
41617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41618 ac_ext=c
41619 ac_cpp='$CPP $CPPFLAGS'
41620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41629 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41631 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41632 for ac_func in _isinf
41633 do :
41634 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41635 if test "x$ac_cv_func__isinf" = xyes; then :
41636 cat >>confdefs.h <<_ACEOF
41637 #define HAVE__ISINF 1
41638 _ACEOF
41641 done
41650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41651 $as_echo_n "checking for isnan declaration... " >&6; }
41652 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41653 if ${glibcxx_cv_func_isnan_use+:} false; then :
41654 $as_echo_n "(cached) " >&6
41655 else
41658 ac_ext=cpp
41659 ac_cpp='$CXXCPP $CPPFLAGS'
41660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41665 /* end confdefs.h. */
41666 #include <math.h>
41667 #ifdef HAVE_IEEEFP_H
41668 #include <ieeefp.h>
41669 #endif
41672 main ()
41674 isnan(0);
41676 return 0;
41678 _ACEOF
41679 if ac_fn_cxx_try_compile "$LINENO"; then :
41680 glibcxx_cv_func_isnan_use=yes
41681 else
41682 glibcxx_cv_func_isnan_use=no
41684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41685 ac_ext=c
41686 ac_cpp='$CPP $CPPFLAGS'
41687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41696 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41698 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41699 for ac_func in isnan
41700 do :
41701 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41702 if test "x$ac_cv_func_isnan" = xyes; then :
41703 cat >>confdefs.h <<_ACEOF
41704 #define HAVE_ISNAN 1
41705 _ACEOF
41708 done
41710 else
41712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41713 $as_echo_n "checking for _isnan declaration... " >&6; }
41714 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41715 if ${glibcxx_cv_func__isnan_use+:} false; then :
41716 $as_echo_n "(cached) " >&6
41717 else
41720 ac_ext=cpp
41721 ac_cpp='$CXXCPP $CPPFLAGS'
41722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41727 /* end confdefs.h. */
41728 #include <math.h>
41729 #ifdef HAVE_IEEEFP_H
41730 #include <ieeefp.h>
41731 #endif
41734 main ()
41736 _isnan(0);
41738 return 0;
41740 _ACEOF
41741 if ac_fn_cxx_try_compile "$LINENO"; then :
41742 glibcxx_cv_func__isnan_use=yes
41743 else
41744 glibcxx_cv_func__isnan_use=no
41746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41747 ac_ext=c
41748 ac_cpp='$CPP $CPPFLAGS'
41749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41758 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41760 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41761 for ac_func in _isnan
41762 do :
41763 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41764 if test "x$ac_cv_func__isnan" = xyes; then :
41765 cat >>confdefs.h <<_ACEOF
41766 #define HAVE__ISNAN 1
41767 _ACEOF
41770 done
41779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41780 $as_echo_n "checking for finite declaration... " >&6; }
41781 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41782 if ${glibcxx_cv_func_finite_use+:} false; then :
41783 $as_echo_n "(cached) " >&6
41784 else
41787 ac_ext=cpp
41788 ac_cpp='$CXXCPP $CPPFLAGS'
41789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41794 /* end confdefs.h. */
41795 #include <math.h>
41796 #ifdef HAVE_IEEEFP_H
41797 #include <ieeefp.h>
41798 #endif
41801 main ()
41803 finite(0);
41805 return 0;
41807 _ACEOF
41808 if ac_fn_cxx_try_compile "$LINENO"; then :
41809 glibcxx_cv_func_finite_use=yes
41810 else
41811 glibcxx_cv_func_finite_use=no
41813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41814 ac_ext=c
41815 ac_cpp='$CPP $CPPFLAGS'
41816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41825 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41827 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41828 for ac_func in finite
41829 do :
41830 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41831 if test "x$ac_cv_func_finite" = xyes; then :
41832 cat >>confdefs.h <<_ACEOF
41833 #define HAVE_FINITE 1
41834 _ACEOF
41837 done
41839 else
41841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41842 $as_echo_n "checking for _finite declaration... " >&6; }
41843 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41844 if ${glibcxx_cv_func__finite_use+:} false; then :
41845 $as_echo_n "(cached) " >&6
41846 else
41849 ac_ext=cpp
41850 ac_cpp='$CXXCPP $CPPFLAGS'
41851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41856 /* end confdefs.h. */
41857 #include <math.h>
41858 #ifdef HAVE_IEEEFP_H
41859 #include <ieeefp.h>
41860 #endif
41863 main ()
41865 _finite(0);
41867 return 0;
41869 _ACEOF
41870 if ac_fn_cxx_try_compile "$LINENO"; then :
41871 glibcxx_cv_func__finite_use=yes
41872 else
41873 glibcxx_cv_func__finite_use=no
41875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41876 ac_ext=c
41877 ac_cpp='$CPP $CPPFLAGS'
41878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41887 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41889 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41890 for ac_func in _finite
41891 do :
41892 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41893 if test "x$ac_cv_func__finite" = xyes; then :
41894 cat >>confdefs.h <<_ACEOF
41895 #define HAVE__FINITE 1
41896 _ACEOF
41899 done
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41909 $as_echo_n "checking for sincos declaration... " >&6; }
41910 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41911 if ${glibcxx_cv_func_sincos_use+:} false; then :
41912 $as_echo_n "(cached) " >&6
41913 else
41916 ac_ext=cpp
41917 ac_cpp='$CXXCPP $CPPFLAGS'
41918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41923 /* end confdefs.h. */
41924 #include <math.h>
41926 main ()
41928 sincos(0, 0, 0);
41930 return 0;
41932 _ACEOF
41933 if ac_fn_cxx_try_compile "$LINENO"; then :
41934 glibcxx_cv_func_sincos_use=yes
41935 else
41936 glibcxx_cv_func_sincos_use=no
41938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41939 ac_ext=c
41940 ac_cpp='$CPP $CPPFLAGS'
41941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41950 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41952 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41953 for ac_func in sincos
41954 do :
41955 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41956 if test "x$ac_cv_func_sincos" = xyes; then :
41957 cat >>confdefs.h <<_ACEOF
41958 #define HAVE_SINCOS 1
41959 _ACEOF
41962 done
41964 else
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41967 $as_echo_n "checking for _sincos declaration... " >&6; }
41968 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41969 if ${glibcxx_cv_func__sincos_use+:} false; then :
41970 $as_echo_n "(cached) " >&6
41971 else
41974 ac_ext=cpp
41975 ac_cpp='$CXXCPP $CPPFLAGS'
41976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41981 /* end confdefs.h. */
41982 #include <math.h>
41984 main ()
41986 _sincos(0, 0, 0);
41988 return 0;
41990 _ACEOF
41991 if ac_fn_cxx_try_compile "$LINENO"; then :
41992 glibcxx_cv_func__sincos_use=yes
41993 else
41994 glibcxx_cv_func__sincos_use=no
41996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41997 ac_ext=c
41998 ac_cpp='$CPP $CPPFLAGS'
41999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42008 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42010 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42011 for ac_func in _sincos
42012 do :
42013 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42014 if test "x$ac_cv_func__sincos" = xyes; then :
42015 cat >>confdefs.h <<_ACEOF
42016 #define HAVE__SINCOS 1
42017 _ACEOF
42020 done
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42030 $as_echo_n "checking for fpclass declaration... " >&6; }
42031 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42032 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42033 $as_echo_n "(cached) " >&6
42034 else
42037 ac_ext=cpp
42038 ac_cpp='$CXXCPP $CPPFLAGS'
42039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42044 /* end confdefs.h. */
42045 #include <math.h>
42046 #ifdef HAVE_IEEEFP_H
42047 #include <ieeefp.h>
42048 #endif
42051 main ()
42053 fpclass(0);
42055 return 0;
42057 _ACEOF
42058 if ac_fn_cxx_try_compile "$LINENO"; then :
42059 glibcxx_cv_func_fpclass_use=yes
42060 else
42061 glibcxx_cv_func_fpclass_use=no
42063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42064 ac_ext=c
42065 ac_cpp='$CPP $CPPFLAGS'
42066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42075 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42077 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42078 for ac_func in fpclass
42079 do :
42080 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42081 if test "x$ac_cv_func_fpclass" = xyes; then :
42082 cat >>confdefs.h <<_ACEOF
42083 #define HAVE_FPCLASS 1
42084 _ACEOF
42087 done
42089 else
42091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42092 $as_echo_n "checking for _fpclass declaration... " >&6; }
42093 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42094 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42095 $as_echo_n "(cached) " >&6
42096 else
42099 ac_ext=cpp
42100 ac_cpp='$CXXCPP $CPPFLAGS'
42101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42106 /* end confdefs.h. */
42107 #include <math.h>
42108 #ifdef HAVE_IEEEFP_H
42109 #include <ieeefp.h>
42110 #endif
42113 main ()
42115 _fpclass(0);
42117 return 0;
42119 _ACEOF
42120 if ac_fn_cxx_try_compile "$LINENO"; then :
42121 glibcxx_cv_func__fpclass_use=yes
42122 else
42123 glibcxx_cv_func__fpclass_use=no
42125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42126 ac_ext=c
42127 ac_cpp='$CPP $CPPFLAGS'
42128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42137 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42139 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42140 for ac_func in _fpclass
42141 do :
42142 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42143 if test "x$ac_cv_func__fpclass" = xyes; then :
42144 cat >>confdefs.h <<_ACEOF
42145 #define HAVE__FPCLASS 1
42146 _ACEOF
42149 done
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42159 $as_echo_n "checking for qfpclass declaration... " >&6; }
42160 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42161 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42162 $as_echo_n "(cached) " >&6
42163 else
42166 ac_ext=cpp
42167 ac_cpp='$CXXCPP $CPPFLAGS'
42168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42173 /* end confdefs.h. */
42174 #include <math.h>
42175 #ifdef HAVE_IEEEFP_H
42176 #include <ieeefp.h>
42177 #endif
42180 main ()
42182 qfpclass(0);
42184 return 0;
42186 _ACEOF
42187 if ac_fn_cxx_try_compile "$LINENO"; then :
42188 glibcxx_cv_func_qfpclass_use=yes
42189 else
42190 glibcxx_cv_func_qfpclass_use=no
42192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42193 ac_ext=c
42194 ac_cpp='$CPP $CPPFLAGS'
42195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42204 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42206 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42207 for ac_func in qfpclass
42208 do :
42209 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42210 if test "x$ac_cv_func_qfpclass" = xyes; then :
42211 cat >>confdefs.h <<_ACEOF
42212 #define HAVE_QFPCLASS 1
42213 _ACEOF
42216 done
42218 else
42220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42221 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42222 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42223 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42224 $as_echo_n "(cached) " >&6
42225 else
42228 ac_ext=cpp
42229 ac_cpp='$CXXCPP $CPPFLAGS'
42230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42235 /* end confdefs.h. */
42236 #include <math.h>
42237 #ifdef HAVE_IEEEFP_H
42238 #include <ieeefp.h>
42239 #endif
42242 main ()
42244 _qfpclass(0);
42246 return 0;
42248 _ACEOF
42249 if ac_fn_cxx_try_compile "$LINENO"; then :
42250 glibcxx_cv_func__qfpclass_use=yes
42251 else
42252 glibcxx_cv_func__qfpclass_use=no
42254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42255 ac_ext=c
42256 ac_cpp='$CPP $CPPFLAGS'
42257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42266 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42268 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42269 for ac_func in _qfpclass
42270 do :
42271 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42272 if test "x$ac_cv_func__qfpclass" = xyes; then :
42273 cat >>confdefs.h <<_ACEOF
42274 #define HAVE__QFPCLASS 1
42275 _ACEOF
42278 done
42287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42288 $as_echo_n "checking for hypot declaration... " >&6; }
42289 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42290 if ${glibcxx_cv_func_hypot_use+:} false; then :
42291 $as_echo_n "(cached) " >&6
42292 else
42295 ac_ext=cpp
42296 ac_cpp='$CXXCPP $CPPFLAGS'
42297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42302 /* end confdefs.h. */
42303 #include <math.h>
42305 main ()
42307 hypot(0, 0);
42309 return 0;
42311 _ACEOF
42312 if ac_fn_cxx_try_compile "$LINENO"; then :
42313 glibcxx_cv_func_hypot_use=yes
42314 else
42315 glibcxx_cv_func_hypot_use=no
42317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42318 ac_ext=c
42319 ac_cpp='$CPP $CPPFLAGS'
42320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42329 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42331 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42332 for ac_func in hypot
42333 do :
42334 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42335 if test "x$ac_cv_func_hypot" = xyes; then :
42336 cat >>confdefs.h <<_ACEOF
42337 #define HAVE_HYPOT 1
42338 _ACEOF
42341 done
42343 else
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42346 $as_echo_n "checking for _hypot declaration... " >&6; }
42347 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42348 if ${glibcxx_cv_func__hypot_use+:} false; then :
42349 $as_echo_n "(cached) " >&6
42350 else
42353 ac_ext=cpp
42354 ac_cpp='$CXXCPP $CPPFLAGS'
42355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42360 /* end confdefs.h. */
42361 #include <math.h>
42363 main ()
42365 _hypot(0, 0);
42367 return 0;
42369 _ACEOF
42370 if ac_fn_cxx_try_compile "$LINENO"; then :
42371 glibcxx_cv_func__hypot_use=yes
42372 else
42373 glibcxx_cv_func__hypot_use=no
42375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42376 ac_ext=c
42377 ac_cpp='$CPP $CPPFLAGS'
42378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42387 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42389 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42390 for ac_func in _hypot
42391 do :
42392 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42393 if test "x$ac_cv_func__hypot" = xyes; then :
42394 cat >>confdefs.h <<_ACEOF
42395 #define HAVE__HYPOT 1
42396 _ACEOF
42399 done
42408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42409 $as_echo_n "checking for float trig functions... " >&6; }
42410 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42411 $as_echo_n "(cached) " >&6
42412 else
42415 ac_ext=cpp
42416 ac_cpp='$CXXCPP $CPPFLAGS'
42417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42422 /* end confdefs.h. */
42423 #include <math.h>
42425 main ()
42427 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42429 return 0;
42431 _ACEOF
42432 if ac_fn_cxx_try_compile "$LINENO"; then :
42433 glibcxx_cv_func_float_trig_use=yes
42434 else
42435 glibcxx_cv_func_float_trig_use=no
42437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42438 ac_ext=c
42439 ac_cpp='$CPP $CPPFLAGS'
42440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42447 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42448 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42449 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42450 do :
42451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42454 cat >>confdefs.h <<_ACEOF
42455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42456 _ACEOF
42459 done
42461 else
42462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42463 $as_echo_n "checking for _float trig functions... " >&6; }
42464 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42465 $as_echo_n "(cached) " >&6
42466 else
42469 ac_ext=cpp
42470 ac_cpp='$CXXCPP $CPPFLAGS'
42471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42476 /* end confdefs.h. */
42477 #include <math.h>
42479 main ()
42481 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42483 return 0;
42485 _ACEOF
42486 if ac_fn_cxx_try_compile "$LINENO"; then :
42487 glibcxx_cv_func__float_trig_use=yes
42488 else
42489 glibcxx_cv_func__float_trig_use=no
42491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42492 ac_ext=c
42493 ac_cpp='$CPP $CPPFLAGS'
42494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42501 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42502 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42503 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42504 do :
42505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42508 cat >>confdefs.h <<_ACEOF
42509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42510 _ACEOF
42513 done
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42523 $as_echo_n "checking for float round functions... " >&6; }
42524 if ${glibcxx_cv_func_float_round_use+:} false; then :
42525 $as_echo_n "(cached) " >&6
42526 else
42529 ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h. */
42537 #include <math.h>
42539 main ()
42541 ceilf (0); floorf (0);
42543 return 0;
42545 _ACEOF
42546 if ac_fn_cxx_try_compile "$LINENO"; then :
42547 glibcxx_cv_func_float_round_use=yes
42548 else
42549 glibcxx_cv_func_float_round_use=no
42551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42552 ac_ext=c
42553 ac_cpp='$CPP $CPPFLAGS'
42554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42561 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42562 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42563 for ac_func in ceilf floorf
42564 do :
42565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42567 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42568 cat >>confdefs.h <<_ACEOF
42569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42570 _ACEOF
42573 done
42575 else
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42577 $as_echo_n "checking for _float round functions... " >&6; }
42578 if ${glibcxx_cv_func__float_round_use+:} false; then :
42579 $as_echo_n "(cached) " >&6
42580 else
42583 ac_ext=cpp
42584 ac_cpp='$CXXCPP $CPPFLAGS'
42585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42590 /* end confdefs.h. */
42591 #include <math.h>
42593 main ()
42595 _ceilf (0); _floorf (0);
42597 return 0;
42599 _ACEOF
42600 if ac_fn_cxx_try_compile "$LINENO"; then :
42601 glibcxx_cv_func__float_round_use=yes
42602 else
42603 glibcxx_cv_func__float_round_use=no
42605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42606 ac_ext=c
42607 ac_cpp='$CPP $CPPFLAGS'
42608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42615 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42616 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42617 for ac_func in _ceilf _floorf
42618 do :
42619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42620 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42621 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42622 cat >>confdefs.h <<_ACEOF
42623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42624 _ACEOF
42627 done
42637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42638 $as_echo_n "checking for expf declaration... " >&6; }
42639 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42640 if ${glibcxx_cv_func_expf_use+:} false; then :
42641 $as_echo_n "(cached) " >&6
42642 else
42645 ac_ext=cpp
42646 ac_cpp='$CXXCPP $CPPFLAGS'
42647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42652 /* end confdefs.h. */
42653 #include <math.h>
42654 #ifdef HAVE_IEEEFP_H
42655 #include <ieeefp.h>
42656 #endif
42659 main ()
42661 expf(0);
42663 return 0;
42665 _ACEOF
42666 if ac_fn_cxx_try_compile "$LINENO"; then :
42667 glibcxx_cv_func_expf_use=yes
42668 else
42669 glibcxx_cv_func_expf_use=no
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672 ac_ext=c
42673 ac_cpp='$CPP $CPPFLAGS'
42674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42683 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42685 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42686 for ac_func in expf
42687 do :
42688 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42689 if test "x$ac_cv_func_expf" = xyes; then :
42690 cat >>confdefs.h <<_ACEOF
42691 #define HAVE_EXPF 1
42692 _ACEOF
42695 done
42697 else
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42700 $as_echo_n "checking for _expf declaration... " >&6; }
42701 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42702 if ${glibcxx_cv_func__expf_use+:} false; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42721 main ()
42723 _expf(0);
42725 return 0;
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func__expf_use=yes
42730 else
42731 glibcxx_cv_func__expf_use=no
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42745 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42747 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42748 for ac_func in _expf
42749 do :
42750 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42751 if test "x$ac_cv_func__expf" = xyes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE__EXPF 1
42754 _ACEOF
42757 done
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42767 $as_echo_n "checking for isnanf declaration... " >&6; }
42768 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42769 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42770 $as_echo_n "(cached) " >&6
42771 else
42774 ac_ext=cpp
42775 ac_cpp='$CXXCPP $CPPFLAGS'
42776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42781 /* end confdefs.h. */
42782 #include <math.h>
42783 #ifdef HAVE_IEEEFP_H
42784 #include <ieeefp.h>
42785 #endif
42788 main ()
42790 isnanf(0);
42792 return 0;
42794 _ACEOF
42795 if ac_fn_cxx_try_compile "$LINENO"; then :
42796 glibcxx_cv_func_isnanf_use=yes
42797 else
42798 glibcxx_cv_func_isnanf_use=no
42800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42801 ac_ext=c
42802 ac_cpp='$CPP $CPPFLAGS'
42803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42812 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42814 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42815 for ac_func in isnanf
42816 do :
42817 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42818 if test "x$ac_cv_func_isnanf" = xyes; then :
42819 cat >>confdefs.h <<_ACEOF
42820 #define HAVE_ISNANF 1
42821 _ACEOF
42824 done
42826 else
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42829 $as_echo_n "checking for _isnanf declaration... " >&6; }
42830 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42831 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42845 #ifdef HAVE_IEEEFP_H
42846 #include <ieeefp.h>
42847 #endif
42850 main ()
42852 _isnanf(0);
42854 return 0;
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func__isnanf_use=yes
42859 else
42860 glibcxx_cv_func__isnanf_use=no
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42874 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42876 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42877 for ac_func in _isnanf
42878 do :
42879 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42880 if test "x$ac_cv_func__isnanf" = xyes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE__ISNANF 1
42883 _ACEOF
42886 done
42895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42896 $as_echo_n "checking for isinff declaration... " >&6; }
42897 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42898 if ${glibcxx_cv_func_isinff_use+:} false; then :
42899 $as_echo_n "(cached) " >&6
42900 else
42903 ac_ext=cpp
42904 ac_cpp='$CXXCPP $CPPFLAGS'
42905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42910 /* end confdefs.h. */
42911 #include <math.h>
42912 #ifdef HAVE_IEEEFP_H
42913 #include <ieeefp.h>
42914 #endif
42917 main ()
42919 isinff(0);
42921 return 0;
42923 _ACEOF
42924 if ac_fn_cxx_try_compile "$LINENO"; then :
42925 glibcxx_cv_func_isinff_use=yes
42926 else
42927 glibcxx_cv_func_isinff_use=no
42929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42930 ac_ext=c
42931 ac_cpp='$CPP $CPPFLAGS'
42932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42941 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42943 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42944 for ac_func in isinff
42945 do :
42946 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42947 if test "x$ac_cv_func_isinff" = xyes; then :
42948 cat >>confdefs.h <<_ACEOF
42949 #define HAVE_ISINFF 1
42950 _ACEOF
42953 done
42955 else
42957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42958 $as_echo_n "checking for _isinff declaration... " >&6; }
42959 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42960 if ${glibcxx_cv_func__isinff_use+:} false; then :
42961 $as_echo_n "(cached) " >&6
42962 else
42965 ac_ext=cpp
42966 ac_cpp='$CXXCPP $CPPFLAGS'
42967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42972 /* end confdefs.h. */
42973 #include <math.h>
42974 #ifdef HAVE_IEEEFP_H
42975 #include <ieeefp.h>
42976 #endif
42979 main ()
42981 _isinff(0);
42983 return 0;
42985 _ACEOF
42986 if ac_fn_cxx_try_compile "$LINENO"; then :
42987 glibcxx_cv_func__isinff_use=yes
42988 else
42989 glibcxx_cv_func__isinff_use=no
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42992 ac_ext=c
42993 ac_cpp='$CPP $CPPFLAGS'
42994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43003 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43005 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43006 for ac_func in _isinff
43007 do :
43008 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43009 if test "x$ac_cv_func__isinff" = xyes; then :
43010 cat >>confdefs.h <<_ACEOF
43011 #define HAVE__ISINFF 1
43012 _ACEOF
43015 done
43024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43025 $as_echo_n "checking for atan2f declaration... " >&6; }
43026 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43027 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43028 $as_echo_n "(cached) " >&6
43029 else
43032 ac_ext=cpp
43033 ac_cpp='$CXXCPP $CPPFLAGS'
43034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43039 /* end confdefs.h. */
43040 #include <math.h>
43042 main ()
43044 atan2f(0, 0);
43046 return 0;
43048 _ACEOF
43049 if ac_fn_cxx_try_compile "$LINENO"; then :
43050 glibcxx_cv_func_atan2f_use=yes
43051 else
43052 glibcxx_cv_func_atan2f_use=no
43054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43055 ac_ext=c
43056 ac_cpp='$CPP $CPPFLAGS'
43057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43066 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43068 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43069 for ac_func in atan2f
43070 do :
43071 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43072 if test "x$ac_cv_func_atan2f" = xyes; then :
43073 cat >>confdefs.h <<_ACEOF
43074 #define HAVE_ATAN2F 1
43075 _ACEOF
43078 done
43080 else
43082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43083 $as_echo_n "checking for _atan2f declaration... " >&6; }
43084 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43085 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43086 $as_echo_n "(cached) " >&6
43087 else
43090 ac_ext=cpp
43091 ac_cpp='$CXXCPP $CPPFLAGS'
43092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43097 /* end confdefs.h. */
43098 #include <math.h>
43100 main ()
43102 _atan2f(0, 0);
43104 return 0;
43106 _ACEOF
43107 if ac_fn_cxx_try_compile "$LINENO"; then :
43108 glibcxx_cv_func__atan2f_use=yes
43109 else
43110 glibcxx_cv_func__atan2f_use=no
43112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43113 ac_ext=c
43114 ac_cpp='$CPP $CPPFLAGS'
43115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43124 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43126 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43127 for ac_func in _atan2f
43128 do :
43129 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43130 if test "x$ac_cv_func__atan2f" = xyes; then :
43131 cat >>confdefs.h <<_ACEOF
43132 #define HAVE__ATAN2F 1
43133 _ACEOF
43136 done
43145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43146 $as_echo_n "checking for fabsf declaration... " >&6; }
43147 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43148 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43149 $as_echo_n "(cached) " >&6
43150 else
43153 ac_ext=cpp
43154 ac_cpp='$CXXCPP $CPPFLAGS'
43155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43160 /* end confdefs.h. */
43161 #include <math.h>
43162 #ifdef HAVE_IEEEFP_H
43163 #include <ieeefp.h>
43164 #endif
43167 main ()
43169 fabsf(0);
43171 return 0;
43173 _ACEOF
43174 if ac_fn_cxx_try_compile "$LINENO"; then :
43175 glibcxx_cv_func_fabsf_use=yes
43176 else
43177 glibcxx_cv_func_fabsf_use=no
43179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43180 ac_ext=c
43181 ac_cpp='$CPP $CPPFLAGS'
43182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43191 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43193 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43194 for ac_func in fabsf
43195 do :
43196 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43197 if test "x$ac_cv_func_fabsf" = xyes; then :
43198 cat >>confdefs.h <<_ACEOF
43199 #define HAVE_FABSF 1
43200 _ACEOF
43203 done
43205 else
43207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43208 $as_echo_n "checking for _fabsf declaration... " >&6; }
43209 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43210 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43211 $as_echo_n "(cached) " >&6
43212 else
43215 ac_ext=cpp
43216 ac_cpp='$CXXCPP $CPPFLAGS'
43217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43222 /* end confdefs.h. */
43223 #include <math.h>
43224 #ifdef HAVE_IEEEFP_H
43225 #include <ieeefp.h>
43226 #endif
43229 main ()
43231 _fabsf(0);
43233 return 0;
43235 _ACEOF
43236 if ac_fn_cxx_try_compile "$LINENO"; then :
43237 glibcxx_cv_func__fabsf_use=yes
43238 else
43239 glibcxx_cv_func__fabsf_use=no
43241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43242 ac_ext=c
43243 ac_cpp='$CPP $CPPFLAGS'
43244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43253 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43255 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43256 for ac_func in _fabsf
43257 do :
43258 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43259 if test "x$ac_cv_func__fabsf" = xyes; then :
43260 cat >>confdefs.h <<_ACEOF
43261 #define HAVE__FABSF 1
43262 _ACEOF
43265 done
43274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43275 $as_echo_n "checking for fmodf declaration... " >&6; }
43276 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43277 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43278 $as_echo_n "(cached) " >&6
43279 else
43282 ac_ext=cpp
43283 ac_cpp='$CXXCPP $CPPFLAGS'
43284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43289 /* end confdefs.h. */
43290 #include <math.h>
43292 main ()
43294 fmodf(0, 0);
43296 return 0;
43298 _ACEOF
43299 if ac_fn_cxx_try_compile "$LINENO"; then :
43300 glibcxx_cv_func_fmodf_use=yes
43301 else
43302 glibcxx_cv_func_fmodf_use=no
43304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43305 ac_ext=c
43306 ac_cpp='$CPP $CPPFLAGS'
43307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43316 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43318 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43319 for ac_func in fmodf
43320 do :
43321 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43322 if test "x$ac_cv_func_fmodf" = xyes; then :
43323 cat >>confdefs.h <<_ACEOF
43324 #define HAVE_FMODF 1
43325 _ACEOF
43328 done
43330 else
43332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43333 $as_echo_n "checking for _fmodf declaration... " >&6; }
43334 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43335 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43336 $as_echo_n "(cached) " >&6
43337 else
43340 ac_ext=cpp
43341 ac_cpp='$CXXCPP $CPPFLAGS'
43342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43347 /* end confdefs.h. */
43348 #include <math.h>
43350 main ()
43352 _fmodf(0, 0);
43354 return 0;
43356 _ACEOF
43357 if ac_fn_cxx_try_compile "$LINENO"; then :
43358 glibcxx_cv_func__fmodf_use=yes
43359 else
43360 glibcxx_cv_func__fmodf_use=no
43362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43363 ac_ext=c
43364 ac_cpp='$CPP $CPPFLAGS'
43365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43374 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43376 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43377 for ac_func in _fmodf
43378 do :
43379 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43380 if test "x$ac_cv_func__fmodf" = xyes; then :
43381 cat >>confdefs.h <<_ACEOF
43382 #define HAVE__FMODF 1
43383 _ACEOF
43386 done
43395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43396 $as_echo_n "checking for frexpf declaration... " >&6; }
43397 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43398 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43399 $as_echo_n "(cached) " >&6
43400 else
43403 ac_ext=cpp
43404 ac_cpp='$CXXCPP $CPPFLAGS'
43405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43410 /* end confdefs.h. */
43411 #include <math.h>
43413 main ()
43415 frexpf(0, 0);
43417 return 0;
43419 _ACEOF
43420 if ac_fn_cxx_try_compile "$LINENO"; then :
43421 glibcxx_cv_func_frexpf_use=yes
43422 else
43423 glibcxx_cv_func_frexpf_use=no
43425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43426 ac_ext=c
43427 ac_cpp='$CPP $CPPFLAGS'
43428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43437 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43439 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43440 for ac_func in frexpf
43441 do :
43442 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43443 if test "x$ac_cv_func_frexpf" = xyes; then :
43444 cat >>confdefs.h <<_ACEOF
43445 #define HAVE_FREXPF 1
43446 _ACEOF
43449 done
43451 else
43453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43454 $as_echo_n "checking for _frexpf declaration... " >&6; }
43455 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43456 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43457 $as_echo_n "(cached) " >&6
43458 else
43461 ac_ext=cpp
43462 ac_cpp='$CXXCPP $CPPFLAGS'
43463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43468 /* end confdefs.h. */
43469 #include <math.h>
43471 main ()
43473 _frexpf(0, 0);
43475 return 0;
43477 _ACEOF
43478 if ac_fn_cxx_try_compile "$LINENO"; then :
43479 glibcxx_cv_func__frexpf_use=yes
43480 else
43481 glibcxx_cv_func__frexpf_use=no
43483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43484 ac_ext=c
43485 ac_cpp='$CPP $CPPFLAGS'
43486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43495 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43497 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43498 for ac_func in _frexpf
43499 do :
43500 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43501 if test "x$ac_cv_func__frexpf" = xyes; then :
43502 cat >>confdefs.h <<_ACEOF
43503 #define HAVE__FREXPF 1
43504 _ACEOF
43507 done
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43517 $as_echo_n "checking for hypotf declaration... " >&6; }
43518 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43519 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43520 $as_echo_n "(cached) " >&6
43521 else
43524 ac_ext=cpp
43525 ac_cpp='$CXXCPP $CPPFLAGS'
43526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43531 /* end confdefs.h. */
43532 #include <math.h>
43534 main ()
43536 hypotf(0, 0);
43538 return 0;
43540 _ACEOF
43541 if ac_fn_cxx_try_compile "$LINENO"; then :
43542 glibcxx_cv_func_hypotf_use=yes
43543 else
43544 glibcxx_cv_func_hypotf_use=no
43546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43547 ac_ext=c
43548 ac_cpp='$CPP $CPPFLAGS'
43549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43558 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43560 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43561 for ac_func in hypotf
43562 do :
43563 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43564 if test "x$ac_cv_func_hypotf" = xyes; then :
43565 cat >>confdefs.h <<_ACEOF
43566 #define HAVE_HYPOTF 1
43567 _ACEOF
43570 done
43572 else
43574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43575 $as_echo_n "checking for _hypotf declaration... " >&6; }
43576 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43577 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43578 $as_echo_n "(cached) " >&6
43579 else
43582 ac_ext=cpp
43583 ac_cpp='$CXXCPP $CPPFLAGS'
43584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43589 /* end confdefs.h. */
43590 #include <math.h>
43592 main ()
43594 _hypotf(0, 0);
43596 return 0;
43598 _ACEOF
43599 if ac_fn_cxx_try_compile "$LINENO"; then :
43600 glibcxx_cv_func__hypotf_use=yes
43601 else
43602 glibcxx_cv_func__hypotf_use=no
43604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43605 ac_ext=c
43606 ac_cpp='$CPP $CPPFLAGS'
43607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43616 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43618 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43619 for ac_func in _hypotf
43620 do :
43621 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43622 if test "x$ac_cv_func__hypotf" = xyes; then :
43623 cat >>confdefs.h <<_ACEOF
43624 #define HAVE__HYPOTF 1
43625 _ACEOF
43628 done
43637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43638 $as_echo_n "checking for ldexpf declaration... " >&6; }
43639 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43640 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43641 $as_echo_n "(cached) " >&6
43642 else
43645 ac_ext=cpp
43646 ac_cpp='$CXXCPP $CPPFLAGS'
43647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43652 /* end confdefs.h. */
43653 #include <math.h>
43655 main ()
43657 ldexpf(0, 0);
43659 return 0;
43661 _ACEOF
43662 if ac_fn_cxx_try_compile "$LINENO"; then :
43663 glibcxx_cv_func_ldexpf_use=yes
43664 else
43665 glibcxx_cv_func_ldexpf_use=no
43667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43668 ac_ext=c
43669 ac_cpp='$CPP $CPPFLAGS'
43670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43679 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43681 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43682 for ac_func in ldexpf
43683 do :
43684 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43685 if test "x$ac_cv_func_ldexpf" = xyes; then :
43686 cat >>confdefs.h <<_ACEOF
43687 #define HAVE_LDEXPF 1
43688 _ACEOF
43691 done
43693 else
43695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43696 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43697 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43698 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43699 $as_echo_n "(cached) " >&6
43700 else
43703 ac_ext=cpp
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43710 /* end confdefs.h. */
43711 #include <math.h>
43713 main ()
43715 _ldexpf(0, 0);
43717 return 0;
43719 _ACEOF
43720 if ac_fn_cxx_try_compile "$LINENO"; then :
43721 glibcxx_cv_func__ldexpf_use=yes
43722 else
43723 glibcxx_cv_func__ldexpf_use=no
43725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43726 ac_ext=c
43727 ac_cpp='$CPP $CPPFLAGS'
43728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43737 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43739 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43740 for ac_func in _ldexpf
43741 do :
43742 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43743 if test "x$ac_cv_func__ldexpf" = xyes; then :
43744 cat >>confdefs.h <<_ACEOF
43745 #define HAVE__LDEXPF 1
43746 _ACEOF
43749 done
43758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43759 $as_echo_n "checking for logf declaration... " >&6; }
43760 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43761 if ${glibcxx_cv_func_logf_use+:} false; then :
43762 $as_echo_n "(cached) " >&6
43763 else
43766 ac_ext=cpp
43767 ac_cpp='$CXXCPP $CPPFLAGS'
43768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43773 /* end confdefs.h. */
43774 #include <math.h>
43775 #ifdef HAVE_IEEEFP_H
43776 #include <ieeefp.h>
43777 #endif
43780 main ()
43782 logf(0);
43784 return 0;
43786 _ACEOF
43787 if ac_fn_cxx_try_compile "$LINENO"; then :
43788 glibcxx_cv_func_logf_use=yes
43789 else
43790 glibcxx_cv_func_logf_use=no
43792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43793 ac_ext=c
43794 ac_cpp='$CPP $CPPFLAGS'
43795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43804 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43806 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43807 for ac_func in logf
43808 do :
43809 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43810 if test "x$ac_cv_func_logf" = xyes; then :
43811 cat >>confdefs.h <<_ACEOF
43812 #define HAVE_LOGF 1
43813 _ACEOF
43816 done
43818 else
43820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43821 $as_echo_n "checking for _logf declaration... " >&6; }
43822 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43823 if ${glibcxx_cv_func__logf_use+:} false; then :
43824 $as_echo_n "(cached) " >&6
43825 else
43828 ac_ext=cpp
43829 ac_cpp='$CXXCPP $CPPFLAGS'
43830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43835 /* end confdefs.h. */
43836 #include <math.h>
43837 #ifdef HAVE_IEEEFP_H
43838 #include <ieeefp.h>
43839 #endif
43842 main ()
43844 _logf(0);
43846 return 0;
43848 _ACEOF
43849 if ac_fn_cxx_try_compile "$LINENO"; then :
43850 glibcxx_cv_func__logf_use=yes
43851 else
43852 glibcxx_cv_func__logf_use=no
43854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43855 ac_ext=c
43856 ac_cpp='$CPP $CPPFLAGS'
43857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43866 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43868 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43869 for ac_func in _logf
43870 do :
43871 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43872 if test "x$ac_cv_func__logf" = xyes; then :
43873 cat >>confdefs.h <<_ACEOF
43874 #define HAVE__LOGF 1
43875 _ACEOF
43878 done
43887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43888 $as_echo_n "checking for log10f declaration... " >&6; }
43889 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43890 if ${glibcxx_cv_func_log10f_use+:} false; then :
43891 $as_echo_n "(cached) " >&6
43892 else
43895 ac_ext=cpp
43896 ac_cpp='$CXXCPP $CPPFLAGS'
43897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43902 /* end confdefs.h. */
43903 #include <math.h>
43904 #ifdef HAVE_IEEEFP_H
43905 #include <ieeefp.h>
43906 #endif
43909 main ()
43911 log10f(0);
43913 return 0;
43915 _ACEOF
43916 if ac_fn_cxx_try_compile "$LINENO"; then :
43917 glibcxx_cv_func_log10f_use=yes
43918 else
43919 glibcxx_cv_func_log10f_use=no
43921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43922 ac_ext=c
43923 ac_cpp='$CPP $CPPFLAGS'
43924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43933 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43935 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43936 for ac_func in log10f
43937 do :
43938 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43939 if test "x$ac_cv_func_log10f" = xyes; then :
43940 cat >>confdefs.h <<_ACEOF
43941 #define HAVE_LOG10F 1
43942 _ACEOF
43945 done
43947 else
43949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43950 $as_echo_n "checking for _log10f declaration... " >&6; }
43951 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43952 if ${glibcxx_cv_func__log10f_use+:} false; then :
43953 $as_echo_n "(cached) " >&6
43954 else
43957 ac_ext=cpp
43958 ac_cpp='$CXXCPP $CPPFLAGS'
43959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43964 /* end confdefs.h. */
43965 #include <math.h>
43966 #ifdef HAVE_IEEEFP_H
43967 #include <ieeefp.h>
43968 #endif
43971 main ()
43973 _log10f(0);
43975 return 0;
43977 _ACEOF
43978 if ac_fn_cxx_try_compile "$LINENO"; then :
43979 glibcxx_cv_func__log10f_use=yes
43980 else
43981 glibcxx_cv_func__log10f_use=no
43983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43984 ac_ext=c
43985 ac_cpp='$CPP $CPPFLAGS'
43986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43995 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43997 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43998 for ac_func in _log10f
43999 do :
44000 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44001 if test "x$ac_cv_func__log10f" = xyes; then :
44002 cat >>confdefs.h <<_ACEOF
44003 #define HAVE__LOG10F 1
44004 _ACEOF
44007 done
44016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44017 $as_echo_n "checking for modff declaration... " >&6; }
44018 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44019 if ${glibcxx_cv_func_modff_use+:} false; then :
44020 $as_echo_n "(cached) " >&6
44021 else
44024 ac_ext=cpp
44025 ac_cpp='$CXXCPP $CPPFLAGS'
44026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44031 /* end confdefs.h. */
44032 #include <math.h>
44034 main ()
44036 modff(0, 0);
44038 return 0;
44040 _ACEOF
44041 if ac_fn_cxx_try_compile "$LINENO"; then :
44042 glibcxx_cv_func_modff_use=yes
44043 else
44044 glibcxx_cv_func_modff_use=no
44046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44047 ac_ext=c
44048 ac_cpp='$CPP $CPPFLAGS'
44049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44058 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44060 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44061 for ac_func in modff
44062 do :
44063 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44064 if test "x$ac_cv_func_modff" = xyes; then :
44065 cat >>confdefs.h <<_ACEOF
44066 #define HAVE_MODFF 1
44067 _ACEOF
44070 done
44072 else
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44075 $as_echo_n "checking for _modff declaration... " >&6; }
44076 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44077 if ${glibcxx_cv_func__modff_use+:} false; then :
44078 $as_echo_n "(cached) " >&6
44079 else
44082 ac_ext=cpp
44083 ac_cpp='$CXXCPP $CPPFLAGS'
44084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44089 /* end confdefs.h. */
44090 #include <math.h>
44092 main ()
44094 _modff(0, 0);
44096 return 0;
44098 _ACEOF
44099 if ac_fn_cxx_try_compile "$LINENO"; then :
44100 glibcxx_cv_func__modff_use=yes
44101 else
44102 glibcxx_cv_func__modff_use=no
44104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44105 ac_ext=c
44106 ac_cpp='$CPP $CPPFLAGS'
44107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44116 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44118 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44119 for ac_func in _modff
44120 do :
44121 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44122 if test "x$ac_cv_func__modff" = xyes; then :
44123 cat >>confdefs.h <<_ACEOF
44124 #define HAVE__MODFF 1
44125 _ACEOF
44128 done
44137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44138 $as_echo_n "checking for modf declaration... " >&6; }
44139 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44140 if ${glibcxx_cv_func_modf_use+:} false; then :
44141 $as_echo_n "(cached) " >&6
44142 else
44145 ac_ext=cpp
44146 ac_cpp='$CXXCPP $CPPFLAGS'
44147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44152 /* end confdefs.h. */
44153 #include <math.h>
44155 main ()
44157 modf(0, 0);
44159 return 0;
44161 _ACEOF
44162 if ac_fn_cxx_try_compile "$LINENO"; then :
44163 glibcxx_cv_func_modf_use=yes
44164 else
44165 glibcxx_cv_func_modf_use=no
44167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44168 ac_ext=c
44169 ac_cpp='$CPP $CPPFLAGS'
44170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44179 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44181 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44182 for ac_func in modf
44183 do :
44184 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44185 if test "x$ac_cv_func_modf" = xyes; then :
44186 cat >>confdefs.h <<_ACEOF
44187 #define HAVE_MODF 1
44188 _ACEOF
44191 done
44193 else
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44196 $as_echo_n "checking for _modf declaration... " >&6; }
44197 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44198 if ${glibcxx_cv_func__modf_use+:} false; then :
44199 $as_echo_n "(cached) " >&6
44200 else
44203 ac_ext=cpp
44204 ac_cpp='$CXXCPP $CPPFLAGS'
44205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44210 /* end confdefs.h. */
44211 #include <math.h>
44213 main ()
44215 _modf(0, 0);
44217 return 0;
44219 _ACEOF
44220 if ac_fn_cxx_try_compile "$LINENO"; then :
44221 glibcxx_cv_func__modf_use=yes
44222 else
44223 glibcxx_cv_func__modf_use=no
44225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44226 ac_ext=c
44227 ac_cpp='$CPP $CPPFLAGS'
44228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44237 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44239 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44240 for ac_func in _modf
44241 do :
44242 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44243 if test "x$ac_cv_func__modf" = xyes; then :
44244 cat >>confdefs.h <<_ACEOF
44245 #define HAVE__MODF 1
44246 _ACEOF
44249 done
44258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44259 $as_echo_n "checking for powf declaration... " >&6; }
44260 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44261 if ${glibcxx_cv_func_powf_use+:} false; then :
44262 $as_echo_n "(cached) " >&6
44263 else
44266 ac_ext=cpp
44267 ac_cpp='$CXXCPP $CPPFLAGS'
44268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44273 /* end confdefs.h. */
44274 #include <math.h>
44276 main ()
44278 powf(0, 0);
44280 return 0;
44282 _ACEOF
44283 if ac_fn_cxx_try_compile "$LINENO"; then :
44284 glibcxx_cv_func_powf_use=yes
44285 else
44286 glibcxx_cv_func_powf_use=no
44288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44289 ac_ext=c
44290 ac_cpp='$CPP $CPPFLAGS'
44291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44300 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44302 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44303 for ac_func in powf
44304 do :
44305 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44306 if test "x$ac_cv_func_powf" = xyes; then :
44307 cat >>confdefs.h <<_ACEOF
44308 #define HAVE_POWF 1
44309 _ACEOF
44312 done
44314 else
44316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44317 $as_echo_n "checking for _powf declaration... " >&6; }
44318 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44319 if ${glibcxx_cv_func__powf_use+:} false; then :
44320 $as_echo_n "(cached) " >&6
44321 else
44324 ac_ext=cpp
44325 ac_cpp='$CXXCPP $CPPFLAGS'
44326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44331 /* end confdefs.h. */
44332 #include <math.h>
44334 main ()
44336 _powf(0, 0);
44338 return 0;
44340 _ACEOF
44341 if ac_fn_cxx_try_compile "$LINENO"; then :
44342 glibcxx_cv_func__powf_use=yes
44343 else
44344 glibcxx_cv_func__powf_use=no
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44358 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44360 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44361 for ac_func in _powf
44362 do :
44363 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44364 if test "x$ac_cv_func__powf" = xyes; then :
44365 cat >>confdefs.h <<_ACEOF
44366 #define HAVE__POWF 1
44367 _ACEOF
44370 done
44379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44380 $as_echo_n "checking for sqrtf declaration... " >&6; }
44381 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44382 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44383 $as_echo_n "(cached) " >&6
44384 else
44387 ac_ext=cpp
44388 ac_cpp='$CXXCPP $CPPFLAGS'
44389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44394 /* end confdefs.h. */
44395 #include <math.h>
44396 #ifdef HAVE_IEEEFP_H
44397 #include <ieeefp.h>
44398 #endif
44401 main ()
44403 sqrtf(0);
44405 return 0;
44407 _ACEOF
44408 if ac_fn_cxx_try_compile "$LINENO"; then :
44409 glibcxx_cv_func_sqrtf_use=yes
44410 else
44411 glibcxx_cv_func_sqrtf_use=no
44413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44414 ac_ext=c
44415 ac_cpp='$CPP $CPPFLAGS'
44416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44425 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44427 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44428 for ac_func in sqrtf
44429 do :
44430 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44431 if test "x$ac_cv_func_sqrtf" = xyes; then :
44432 cat >>confdefs.h <<_ACEOF
44433 #define HAVE_SQRTF 1
44434 _ACEOF
44437 done
44439 else
44441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44442 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44443 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44444 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44445 $as_echo_n "(cached) " >&6
44446 else
44449 ac_ext=cpp
44450 ac_cpp='$CXXCPP $CPPFLAGS'
44451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44456 /* end confdefs.h. */
44457 #include <math.h>
44458 #ifdef HAVE_IEEEFP_H
44459 #include <ieeefp.h>
44460 #endif
44463 main ()
44465 _sqrtf(0);
44467 return 0;
44469 _ACEOF
44470 if ac_fn_cxx_try_compile "$LINENO"; then :
44471 glibcxx_cv_func__sqrtf_use=yes
44472 else
44473 glibcxx_cv_func__sqrtf_use=no
44475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44476 ac_ext=c
44477 ac_cpp='$CPP $CPPFLAGS'
44478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44487 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44489 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44490 for ac_func in _sqrtf
44491 do :
44492 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44493 if test "x$ac_cv_func__sqrtf" = xyes; then :
44494 cat >>confdefs.h <<_ACEOF
44495 #define HAVE__SQRTF 1
44496 _ACEOF
44499 done
44508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44509 $as_echo_n "checking for sincosf declaration... " >&6; }
44510 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44511 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44512 $as_echo_n "(cached) " >&6
44513 else
44516 ac_ext=cpp
44517 ac_cpp='$CXXCPP $CPPFLAGS'
44518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44523 /* end confdefs.h. */
44524 #include <math.h>
44526 main ()
44528 sincosf(0, 0, 0);
44530 return 0;
44532 _ACEOF
44533 if ac_fn_cxx_try_compile "$LINENO"; then :
44534 glibcxx_cv_func_sincosf_use=yes
44535 else
44536 glibcxx_cv_func_sincosf_use=no
44538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44539 ac_ext=c
44540 ac_cpp='$CPP $CPPFLAGS'
44541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44550 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44552 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44553 for ac_func in sincosf
44554 do :
44555 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44556 if test "x$ac_cv_func_sincosf" = xyes; then :
44557 cat >>confdefs.h <<_ACEOF
44558 #define HAVE_SINCOSF 1
44559 _ACEOF
44562 done
44564 else
44566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44567 $as_echo_n "checking for _sincosf declaration... " >&6; }
44568 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44569 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44570 $as_echo_n "(cached) " >&6
44571 else
44574 ac_ext=cpp
44575 ac_cpp='$CXXCPP $CPPFLAGS'
44576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44581 /* end confdefs.h. */
44582 #include <math.h>
44584 main ()
44586 _sincosf(0, 0, 0);
44588 return 0;
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func__sincosf_use=yes
44593 else
44594 glibcxx_cv_func__sincosf_use=no
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597 ac_ext=c
44598 ac_cpp='$CPP $CPPFLAGS'
44599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44608 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44610 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44611 for ac_func in _sincosf
44612 do :
44613 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44614 if test "x$ac_cv_func__sincosf" = xyes; then :
44615 cat >>confdefs.h <<_ACEOF
44616 #define HAVE__SINCOSF 1
44617 _ACEOF
44620 done
44629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44630 $as_echo_n "checking for finitef declaration... " >&6; }
44631 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44632 if ${glibcxx_cv_func_finitef_use+:} false; then :
44633 $as_echo_n "(cached) " >&6
44634 else
44637 ac_ext=cpp
44638 ac_cpp='$CXXCPP $CPPFLAGS'
44639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44644 /* end confdefs.h. */
44645 #include <math.h>
44646 #ifdef HAVE_IEEEFP_H
44647 #include <ieeefp.h>
44648 #endif
44651 main ()
44653 finitef(0);
44655 return 0;
44657 _ACEOF
44658 if ac_fn_cxx_try_compile "$LINENO"; then :
44659 glibcxx_cv_func_finitef_use=yes
44660 else
44661 glibcxx_cv_func_finitef_use=no
44663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44664 ac_ext=c
44665 ac_cpp='$CPP $CPPFLAGS'
44666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44675 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44677 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44678 for ac_func in finitef
44679 do :
44680 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44681 if test "x$ac_cv_func_finitef" = xyes; then :
44682 cat >>confdefs.h <<_ACEOF
44683 #define HAVE_FINITEF 1
44684 _ACEOF
44687 done
44689 else
44691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44692 $as_echo_n "checking for _finitef declaration... " >&6; }
44693 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44694 if ${glibcxx_cv_func__finitef_use+:} false; then :
44695 $as_echo_n "(cached) " >&6
44696 else
44699 ac_ext=cpp
44700 ac_cpp='$CXXCPP $CPPFLAGS'
44701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44706 /* end confdefs.h. */
44707 #include <math.h>
44708 #ifdef HAVE_IEEEFP_H
44709 #include <ieeefp.h>
44710 #endif
44713 main ()
44715 _finitef(0);
44717 return 0;
44719 _ACEOF
44720 if ac_fn_cxx_try_compile "$LINENO"; then :
44721 glibcxx_cv_func__finitef_use=yes
44722 else
44723 glibcxx_cv_func__finitef_use=no
44725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44726 ac_ext=c
44727 ac_cpp='$CPP $CPPFLAGS'
44728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44737 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44739 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44740 for ac_func in _finitef
44741 do :
44742 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44743 if test "x$ac_cv_func__finitef" = xyes; then :
44744 cat >>confdefs.h <<_ACEOF
44745 #define HAVE__FINITEF 1
44746 _ACEOF
44749 done
44758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44759 $as_echo_n "checking for long double trig functions... " >&6; }
44760 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44761 $as_echo_n "(cached) " >&6
44762 else
44765 ac_ext=cpp
44766 ac_cpp='$CXXCPP $CPPFLAGS'
44767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44772 /* end confdefs.h. */
44773 #include <math.h>
44775 main ()
44777 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44779 return 0;
44781 _ACEOF
44782 if ac_fn_cxx_try_compile "$LINENO"; then :
44783 glibcxx_cv_func_long_double_trig_use=yes
44784 else
44785 glibcxx_cv_func_long_double_trig_use=no
44787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788 ac_ext=c
44789 ac_cpp='$CPP $CPPFLAGS'
44790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44797 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44798 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44799 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44800 do :
44801 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44802 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44803 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44804 cat >>confdefs.h <<_ACEOF
44805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44806 _ACEOF
44809 done
44811 else
44812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44813 $as_echo_n "checking for _long double trig functions... " >&6; }
44814 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44815 $as_echo_n "(cached) " >&6
44816 else
44819 ac_ext=cpp
44820 ac_cpp='$CXXCPP $CPPFLAGS'
44821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44826 /* end confdefs.h. */
44827 #include <math.h>
44829 main ()
44831 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44833 return 0;
44835 _ACEOF
44836 if ac_fn_cxx_try_compile "$LINENO"; then :
44837 glibcxx_cv_func__long_double_trig_use=yes
44838 else
44839 glibcxx_cv_func__long_double_trig_use=no
44841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44842 ac_ext=c
44843 ac_cpp='$CPP $CPPFLAGS'
44844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44851 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44852 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44853 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44854 do :
44855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44857 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44858 cat >>confdefs.h <<_ACEOF
44859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44860 _ACEOF
44863 done
44872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44873 $as_echo_n "checking for long double round functions... " >&6; }
44874 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44875 $as_echo_n "(cached) " >&6
44876 else
44879 ac_ext=cpp
44880 ac_cpp='$CXXCPP $CPPFLAGS'
44881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44886 /* end confdefs.h. */
44887 #include <math.h>
44889 main ()
44891 ceill (0); floorl (0);
44893 return 0;
44895 _ACEOF
44896 if ac_fn_cxx_try_compile "$LINENO"; then :
44897 glibcxx_cv_func_long_double_round_use=yes
44898 else
44899 glibcxx_cv_func_long_double_round_use=no
44901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44902 ac_ext=c
44903 ac_cpp='$CPP $CPPFLAGS'
44904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44911 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44912 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44913 for ac_func in ceill floorl
44914 do :
44915 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44916 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44917 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44918 cat >>confdefs.h <<_ACEOF
44919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44920 _ACEOF
44923 done
44925 else
44926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44927 $as_echo_n "checking for _long double round functions... " >&6; }
44928 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44929 $as_echo_n "(cached) " >&6
44930 else
44933 ac_ext=cpp
44934 ac_cpp='$CXXCPP $CPPFLAGS'
44935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44940 /* end confdefs.h. */
44941 #include <math.h>
44943 main ()
44945 _ceill (0); _floorl (0);
44947 return 0;
44949 _ACEOF
44950 if ac_fn_cxx_try_compile "$LINENO"; then :
44951 glibcxx_cv_func__long_double_round_use=yes
44952 else
44953 glibcxx_cv_func__long_double_round_use=no
44955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44956 ac_ext=c
44957 ac_cpp='$CPP $CPPFLAGS'
44958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44965 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44966 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44967 for ac_func in _ceill _floorl
44968 do :
44969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44971 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44972 cat >>confdefs.h <<_ACEOF
44973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44974 _ACEOF
44977 done
44987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44988 $as_echo_n "checking for isnanl declaration... " >&6; }
44989 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44990 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44991 $as_echo_n "(cached) " >&6
44992 else
44995 ac_ext=cpp
44996 ac_cpp='$CXXCPP $CPPFLAGS'
44997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45002 /* end confdefs.h. */
45003 #include <math.h>
45004 #ifdef HAVE_IEEEFP_H
45005 #include <ieeefp.h>
45006 #endif
45009 main ()
45011 isnanl(0);
45013 return 0;
45015 _ACEOF
45016 if ac_fn_cxx_try_compile "$LINENO"; then :
45017 glibcxx_cv_func_isnanl_use=yes
45018 else
45019 glibcxx_cv_func_isnanl_use=no
45021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45022 ac_ext=c
45023 ac_cpp='$CPP $CPPFLAGS'
45024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45033 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45035 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45036 for ac_func in isnanl
45037 do :
45038 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45039 if test "x$ac_cv_func_isnanl" = xyes; then :
45040 cat >>confdefs.h <<_ACEOF
45041 #define HAVE_ISNANL 1
45042 _ACEOF
45045 done
45047 else
45049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45050 $as_echo_n "checking for _isnanl declaration... " >&6; }
45051 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45052 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45053 $as_echo_n "(cached) " >&6
45054 else
45057 ac_ext=cpp
45058 ac_cpp='$CXXCPP $CPPFLAGS'
45059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45064 /* end confdefs.h. */
45065 #include <math.h>
45066 #ifdef HAVE_IEEEFP_H
45067 #include <ieeefp.h>
45068 #endif
45071 main ()
45073 _isnanl(0);
45075 return 0;
45077 _ACEOF
45078 if ac_fn_cxx_try_compile "$LINENO"; then :
45079 glibcxx_cv_func__isnanl_use=yes
45080 else
45081 glibcxx_cv_func__isnanl_use=no
45083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45084 ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45095 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45097 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45098 for ac_func in _isnanl
45099 do :
45100 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45101 if test "x$ac_cv_func__isnanl" = xyes; then :
45102 cat >>confdefs.h <<_ACEOF
45103 #define HAVE__ISNANL 1
45104 _ACEOF
45107 done
45116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45117 $as_echo_n "checking for isinfl declaration... " >&6; }
45118 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45119 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45120 $as_echo_n "(cached) " >&6
45121 else
45124 ac_ext=cpp
45125 ac_cpp='$CXXCPP $CPPFLAGS'
45126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45131 /* end confdefs.h. */
45132 #include <math.h>
45133 #ifdef HAVE_IEEEFP_H
45134 #include <ieeefp.h>
45135 #endif
45138 main ()
45140 isinfl(0);
45142 return 0;
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146 glibcxx_cv_func_isinfl_use=yes
45147 else
45148 glibcxx_cv_func_isinfl_use=no
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151 ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45162 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45164 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45165 for ac_func in isinfl
45166 do :
45167 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45168 if test "x$ac_cv_func_isinfl" = xyes; then :
45169 cat >>confdefs.h <<_ACEOF
45170 #define HAVE_ISINFL 1
45171 _ACEOF
45174 done
45176 else
45178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45179 $as_echo_n "checking for _isinfl declaration... " >&6; }
45180 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45181 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45182 $as_echo_n "(cached) " >&6
45183 else
45186 ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 #include <math.h>
45195 #ifdef HAVE_IEEEFP_H
45196 #include <ieeefp.h>
45197 #endif
45200 main ()
45202 _isinfl(0);
45204 return 0;
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208 glibcxx_cv_func__isinfl_use=yes
45209 else
45210 glibcxx_cv_func__isinfl_use=no
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45224 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45226 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45227 for ac_func in _isinfl
45228 do :
45229 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45230 if test "x$ac_cv_func__isinfl" = xyes; then :
45231 cat >>confdefs.h <<_ACEOF
45232 #define HAVE__ISINFL 1
45233 _ACEOF
45236 done
45245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45246 $as_echo_n "checking for atan2l declaration... " >&6; }
45247 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45248 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45249 $as_echo_n "(cached) " >&6
45250 else
45253 ac_ext=cpp
45254 ac_cpp='$CXXCPP $CPPFLAGS'
45255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45260 /* end confdefs.h. */
45261 #include <math.h>
45263 main ()
45265 atan2l(0, 0);
45267 return 0;
45269 _ACEOF
45270 if ac_fn_cxx_try_compile "$LINENO"; then :
45271 glibcxx_cv_func_atan2l_use=yes
45272 else
45273 glibcxx_cv_func_atan2l_use=no
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 ac_ext=c
45277 ac_cpp='$CPP $CPPFLAGS'
45278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45287 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45289 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45290 for ac_func in atan2l
45291 do :
45292 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45293 if test "x$ac_cv_func_atan2l" = xyes; then :
45294 cat >>confdefs.h <<_ACEOF
45295 #define HAVE_ATAN2L 1
45296 _ACEOF
45299 done
45301 else
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45304 $as_echo_n "checking for _atan2l declaration... " >&6; }
45305 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45306 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45321 main ()
45323 _atan2l(0, 0);
45325 return 0;
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func__atan2l_use=yes
45330 else
45331 glibcxx_cv_func__atan2l_use=no
45333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45345 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45347 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45348 for ac_func in _atan2l
45349 do :
45350 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45351 if test "x$ac_cv_func__atan2l" = xyes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE__ATAN2L 1
45354 _ACEOF
45357 done
45366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45367 $as_echo_n "checking for expl declaration... " >&6; }
45368 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45369 if ${glibcxx_cv_func_expl_use+:} false; then :
45370 $as_echo_n "(cached) " >&6
45371 else
45374 ac_ext=cpp
45375 ac_cpp='$CXXCPP $CPPFLAGS'
45376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45381 /* end confdefs.h. */
45382 #include <math.h>
45383 #ifdef HAVE_IEEEFP_H
45384 #include <ieeefp.h>
45385 #endif
45388 main ()
45390 expl(0);
45392 return 0;
45394 _ACEOF
45395 if ac_fn_cxx_try_compile "$LINENO"; then :
45396 glibcxx_cv_func_expl_use=yes
45397 else
45398 glibcxx_cv_func_expl_use=no
45400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45401 ac_ext=c
45402 ac_cpp='$CPP $CPPFLAGS'
45403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45412 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45414 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45415 for ac_func in expl
45416 do :
45417 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45418 if test "x$ac_cv_func_expl" = xyes; then :
45419 cat >>confdefs.h <<_ACEOF
45420 #define HAVE_EXPL 1
45421 _ACEOF
45424 done
45426 else
45428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45429 $as_echo_n "checking for _expl declaration... " >&6; }
45430 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45431 if ${glibcxx_cv_func__expl_use+:} false; then :
45432 $as_echo_n "(cached) " >&6
45433 else
45436 ac_ext=cpp
45437 ac_cpp='$CXXCPP $CPPFLAGS'
45438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45443 /* end confdefs.h. */
45444 #include <math.h>
45445 #ifdef HAVE_IEEEFP_H
45446 #include <ieeefp.h>
45447 #endif
45450 main ()
45452 _expl(0);
45454 return 0;
45456 _ACEOF
45457 if ac_fn_cxx_try_compile "$LINENO"; then :
45458 glibcxx_cv_func__expl_use=yes
45459 else
45460 glibcxx_cv_func__expl_use=no
45462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45463 ac_ext=c
45464 ac_cpp='$CPP $CPPFLAGS'
45465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45474 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45476 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45477 for ac_func in _expl
45478 do :
45479 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45480 if test "x$ac_cv_func__expl" = xyes; then :
45481 cat >>confdefs.h <<_ACEOF
45482 #define HAVE__EXPL 1
45483 _ACEOF
45486 done
45495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45496 $as_echo_n "checking for fabsl declaration... " >&6; }
45497 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45498 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45499 $as_echo_n "(cached) " >&6
45500 else
45503 ac_ext=cpp
45504 ac_cpp='$CXXCPP $CPPFLAGS'
45505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 #include <math.h>
45512 #ifdef HAVE_IEEEFP_H
45513 #include <ieeefp.h>
45514 #endif
45517 main ()
45519 fabsl(0);
45521 return 0;
45523 _ACEOF
45524 if ac_fn_cxx_try_compile "$LINENO"; then :
45525 glibcxx_cv_func_fabsl_use=yes
45526 else
45527 glibcxx_cv_func_fabsl_use=no
45529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45530 ac_ext=c
45531 ac_cpp='$CPP $CPPFLAGS'
45532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45541 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45543 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45544 for ac_func in fabsl
45545 do :
45546 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45547 if test "x$ac_cv_func_fabsl" = xyes; then :
45548 cat >>confdefs.h <<_ACEOF
45549 #define HAVE_FABSL 1
45550 _ACEOF
45553 done
45555 else
45557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45558 $as_echo_n "checking for _fabsl declaration... " >&6; }
45559 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45560 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45561 $as_echo_n "(cached) " >&6
45562 else
45565 ac_ext=cpp
45566 ac_cpp='$CXXCPP $CPPFLAGS'
45567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45572 /* end confdefs.h. */
45573 #include <math.h>
45574 #ifdef HAVE_IEEEFP_H
45575 #include <ieeefp.h>
45576 #endif
45579 main ()
45581 _fabsl(0);
45583 return 0;
45585 _ACEOF
45586 if ac_fn_cxx_try_compile "$LINENO"; then :
45587 glibcxx_cv_func__fabsl_use=yes
45588 else
45589 glibcxx_cv_func__fabsl_use=no
45591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45592 ac_ext=c
45593 ac_cpp='$CPP $CPPFLAGS'
45594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45603 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45605 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45606 for ac_func in _fabsl
45607 do :
45608 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45609 if test "x$ac_cv_func__fabsl" = xyes; then :
45610 cat >>confdefs.h <<_ACEOF
45611 #define HAVE__FABSL 1
45612 _ACEOF
45615 done
45624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45625 $as_echo_n "checking for fmodl declaration... " >&6; }
45626 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45627 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45628 $as_echo_n "(cached) " >&6
45629 else
45632 ac_ext=cpp
45633 ac_cpp='$CXXCPP $CPPFLAGS'
45634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45639 /* end confdefs.h. */
45640 #include <math.h>
45642 main ()
45644 fmodl(0, 0);
45646 return 0;
45648 _ACEOF
45649 if ac_fn_cxx_try_compile "$LINENO"; then :
45650 glibcxx_cv_func_fmodl_use=yes
45651 else
45652 glibcxx_cv_func_fmodl_use=no
45654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45655 ac_ext=c
45656 ac_cpp='$CPP $CPPFLAGS'
45657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45666 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45668 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45669 for ac_func in fmodl
45670 do :
45671 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45672 if test "x$ac_cv_func_fmodl" = xyes; then :
45673 cat >>confdefs.h <<_ACEOF
45674 #define HAVE_FMODL 1
45675 _ACEOF
45678 done
45680 else
45682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45683 $as_echo_n "checking for _fmodl declaration... " >&6; }
45684 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45685 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45686 $as_echo_n "(cached) " >&6
45687 else
45690 ac_ext=cpp
45691 ac_cpp='$CXXCPP $CPPFLAGS'
45692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45697 /* end confdefs.h. */
45698 #include <math.h>
45700 main ()
45702 _fmodl(0, 0);
45704 return 0;
45706 _ACEOF
45707 if ac_fn_cxx_try_compile "$LINENO"; then :
45708 glibcxx_cv_func__fmodl_use=yes
45709 else
45710 glibcxx_cv_func__fmodl_use=no
45712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45713 ac_ext=c
45714 ac_cpp='$CPP $CPPFLAGS'
45715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45724 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45726 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45727 for ac_func in _fmodl
45728 do :
45729 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45730 if test "x$ac_cv_func__fmodl" = xyes; then :
45731 cat >>confdefs.h <<_ACEOF
45732 #define HAVE__FMODL 1
45733 _ACEOF
45736 done
45745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45746 $as_echo_n "checking for frexpl declaration... " >&6; }
45747 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45748 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45749 $as_echo_n "(cached) " >&6
45750 else
45753 ac_ext=cpp
45754 ac_cpp='$CXXCPP $CPPFLAGS'
45755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45760 /* end confdefs.h. */
45761 #include <math.h>
45763 main ()
45765 frexpl(0, 0);
45767 return 0;
45769 _ACEOF
45770 if ac_fn_cxx_try_compile "$LINENO"; then :
45771 glibcxx_cv_func_frexpl_use=yes
45772 else
45773 glibcxx_cv_func_frexpl_use=no
45775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45776 ac_ext=c
45777 ac_cpp='$CPP $CPPFLAGS'
45778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45787 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45789 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45790 for ac_func in frexpl
45791 do :
45792 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45793 if test "x$ac_cv_func_frexpl" = xyes; then :
45794 cat >>confdefs.h <<_ACEOF
45795 #define HAVE_FREXPL 1
45796 _ACEOF
45799 done
45801 else
45803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45804 $as_echo_n "checking for _frexpl declaration... " >&6; }
45805 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45806 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45807 $as_echo_n "(cached) " >&6
45808 else
45811 ac_ext=cpp
45812 ac_cpp='$CXXCPP $CPPFLAGS'
45813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45818 /* end confdefs.h. */
45819 #include <math.h>
45821 main ()
45823 _frexpl(0, 0);
45825 return 0;
45827 _ACEOF
45828 if ac_fn_cxx_try_compile "$LINENO"; then :
45829 glibcxx_cv_func__frexpl_use=yes
45830 else
45831 glibcxx_cv_func__frexpl_use=no
45833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45834 ac_ext=c
45835 ac_cpp='$CPP $CPPFLAGS'
45836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45845 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45847 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45848 for ac_func in _frexpl
45849 do :
45850 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45851 if test "x$ac_cv_func__frexpl" = xyes; then :
45852 cat >>confdefs.h <<_ACEOF
45853 #define HAVE__FREXPL 1
45854 _ACEOF
45857 done
45866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45867 $as_echo_n "checking for hypotl declaration... " >&6; }
45868 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45869 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45870 $as_echo_n "(cached) " >&6
45871 else
45874 ac_ext=cpp
45875 ac_cpp='$CXXCPP $CPPFLAGS'
45876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45881 /* end confdefs.h. */
45882 #include <math.h>
45884 main ()
45886 hypotl(0, 0);
45888 return 0;
45890 _ACEOF
45891 if ac_fn_cxx_try_compile "$LINENO"; then :
45892 glibcxx_cv_func_hypotl_use=yes
45893 else
45894 glibcxx_cv_func_hypotl_use=no
45896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45897 ac_ext=c
45898 ac_cpp='$CPP $CPPFLAGS'
45899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45908 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45910 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45911 for ac_func in hypotl
45912 do :
45913 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45914 if test "x$ac_cv_func_hypotl" = xyes; then :
45915 cat >>confdefs.h <<_ACEOF
45916 #define HAVE_HYPOTL 1
45917 _ACEOF
45920 done
45922 else
45924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45925 $as_echo_n "checking for _hypotl declaration... " >&6; }
45926 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45927 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45928 $as_echo_n "(cached) " >&6
45929 else
45932 ac_ext=cpp
45933 ac_cpp='$CXXCPP $CPPFLAGS'
45934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45939 /* end confdefs.h. */
45940 #include <math.h>
45942 main ()
45944 _hypotl(0, 0);
45946 return 0;
45948 _ACEOF
45949 if ac_fn_cxx_try_compile "$LINENO"; then :
45950 glibcxx_cv_func__hypotl_use=yes
45951 else
45952 glibcxx_cv_func__hypotl_use=no
45954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45955 ac_ext=c
45956 ac_cpp='$CPP $CPPFLAGS'
45957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45966 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45968 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45969 for ac_func in _hypotl
45970 do :
45971 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45972 if test "x$ac_cv_func__hypotl" = xyes; then :
45973 cat >>confdefs.h <<_ACEOF
45974 #define HAVE__HYPOTL 1
45975 _ACEOF
45978 done
45987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45988 $as_echo_n "checking for ldexpl declaration... " >&6; }
45989 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45990 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45991 $as_echo_n "(cached) " >&6
45992 else
45995 ac_ext=cpp
45996 ac_cpp='$CXXCPP $CPPFLAGS'
45997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46002 /* end confdefs.h. */
46003 #include <math.h>
46005 main ()
46007 ldexpl(0, 0);
46009 return 0;
46011 _ACEOF
46012 if ac_fn_cxx_try_compile "$LINENO"; then :
46013 glibcxx_cv_func_ldexpl_use=yes
46014 else
46015 glibcxx_cv_func_ldexpl_use=no
46017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46018 ac_ext=c
46019 ac_cpp='$CPP $CPPFLAGS'
46020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46029 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46031 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46032 for ac_func in ldexpl
46033 do :
46034 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46035 if test "x$ac_cv_func_ldexpl" = xyes; then :
46036 cat >>confdefs.h <<_ACEOF
46037 #define HAVE_LDEXPL 1
46038 _ACEOF
46041 done
46043 else
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46046 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46047 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46048 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46049 $as_echo_n "(cached) " >&6
46050 else
46053 ac_ext=cpp
46054 ac_cpp='$CXXCPP $CPPFLAGS'
46055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46060 /* end confdefs.h. */
46061 #include <math.h>
46063 main ()
46065 _ldexpl(0, 0);
46067 return 0;
46069 _ACEOF
46070 if ac_fn_cxx_try_compile "$LINENO"; then :
46071 glibcxx_cv_func__ldexpl_use=yes
46072 else
46073 glibcxx_cv_func__ldexpl_use=no
46075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46076 ac_ext=c
46077 ac_cpp='$CPP $CPPFLAGS'
46078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46087 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46089 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46090 for ac_func in _ldexpl
46091 do :
46092 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46093 if test "x$ac_cv_func__ldexpl" = xyes; then :
46094 cat >>confdefs.h <<_ACEOF
46095 #define HAVE__LDEXPL 1
46096 _ACEOF
46099 done
46108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46109 $as_echo_n "checking for logl declaration... " >&6; }
46110 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46111 if ${glibcxx_cv_func_logl_use+:} false; then :
46112 $as_echo_n "(cached) " >&6
46113 else
46116 ac_ext=cpp
46117 ac_cpp='$CXXCPP $CPPFLAGS'
46118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46123 /* end confdefs.h. */
46124 #include <math.h>
46125 #ifdef HAVE_IEEEFP_H
46126 #include <ieeefp.h>
46127 #endif
46130 main ()
46132 logl(0);
46134 return 0;
46136 _ACEOF
46137 if ac_fn_cxx_try_compile "$LINENO"; then :
46138 glibcxx_cv_func_logl_use=yes
46139 else
46140 glibcxx_cv_func_logl_use=no
46142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46143 ac_ext=c
46144 ac_cpp='$CPP $CPPFLAGS'
46145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46154 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46156 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46157 for ac_func in logl
46158 do :
46159 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46160 if test "x$ac_cv_func_logl" = xyes; then :
46161 cat >>confdefs.h <<_ACEOF
46162 #define HAVE_LOGL 1
46163 _ACEOF
46166 done
46168 else
46170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46171 $as_echo_n "checking for _logl declaration... " >&6; }
46172 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46173 if ${glibcxx_cv_func__logl_use+:} false; then :
46174 $as_echo_n "(cached) " >&6
46175 else
46178 ac_ext=cpp
46179 ac_cpp='$CXXCPP $CPPFLAGS'
46180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46185 /* end confdefs.h. */
46186 #include <math.h>
46187 #ifdef HAVE_IEEEFP_H
46188 #include <ieeefp.h>
46189 #endif
46192 main ()
46194 _logl(0);
46196 return 0;
46198 _ACEOF
46199 if ac_fn_cxx_try_compile "$LINENO"; then :
46200 glibcxx_cv_func__logl_use=yes
46201 else
46202 glibcxx_cv_func__logl_use=no
46204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46205 ac_ext=c
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46216 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46218 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46219 for ac_func in _logl
46220 do :
46221 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46222 if test "x$ac_cv_func__logl" = xyes; then :
46223 cat >>confdefs.h <<_ACEOF
46224 #define HAVE__LOGL 1
46225 _ACEOF
46228 done
46237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46238 $as_echo_n "checking for log10l declaration... " >&6; }
46239 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46240 if ${glibcxx_cv_func_log10l_use+:} false; then :
46241 $as_echo_n "(cached) " >&6
46242 else
46245 ac_ext=cpp
46246 ac_cpp='$CXXCPP $CPPFLAGS'
46247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46252 /* end confdefs.h. */
46253 #include <math.h>
46254 #ifdef HAVE_IEEEFP_H
46255 #include <ieeefp.h>
46256 #endif
46259 main ()
46261 log10l(0);
46263 return 0;
46265 _ACEOF
46266 if ac_fn_cxx_try_compile "$LINENO"; then :
46267 glibcxx_cv_func_log10l_use=yes
46268 else
46269 glibcxx_cv_func_log10l_use=no
46271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46272 ac_ext=c
46273 ac_cpp='$CPP $CPPFLAGS'
46274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46283 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46285 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46286 for ac_func in log10l
46287 do :
46288 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46289 if test "x$ac_cv_func_log10l" = xyes; then :
46290 cat >>confdefs.h <<_ACEOF
46291 #define HAVE_LOG10L 1
46292 _ACEOF
46295 done
46297 else
46299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46300 $as_echo_n "checking for _log10l declaration... " >&6; }
46301 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46302 if ${glibcxx_cv_func__log10l_use+:} false; then :
46303 $as_echo_n "(cached) " >&6
46304 else
46307 ac_ext=cpp
46308 ac_cpp='$CXXCPP $CPPFLAGS'
46309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46314 /* end confdefs.h. */
46315 #include <math.h>
46316 #ifdef HAVE_IEEEFP_H
46317 #include <ieeefp.h>
46318 #endif
46321 main ()
46323 _log10l(0);
46325 return 0;
46327 _ACEOF
46328 if ac_fn_cxx_try_compile "$LINENO"; then :
46329 glibcxx_cv_func__log10l_use=yes
46330 else
46331 glibcxx_cv_func__log10l_use=no
46333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46334 ac_ext=c
46335 ac_cpp='$CPP $CPPFLAGS'
46336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46345 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46347 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46348 for ac_func in _log10l
46349 do :
46350 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46351 if test "x$ac_cv_func__log10l" = xyes; then :
46352 cat >>confdefs.h <<_ACEOF
46353 #define HAVE__LOG10L 1
46354 _ACEOF
46357 done
46366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46367 $as_echo_n "checking for modfl declaration... " >&6; }
46368 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46369 if ${glibcxx_cv_func_modfl_use+:} false; then :
46370 $as_echo_n "(cached) " >&6
46371 else
46374 ac_ext=cpp
46375 ac_cpp='$CXXCPP $CPPFLAGS'
46376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46381 /* end confdefs.h. */
46382 #include <math.h>
46384 main ()
46386 modfl(0, 0);
46388 return 0;
46390 _ACEOF
46391 if ac_fn_cxx_try_compile "$LINENO"; then :
46392 glibcxx_cv_func_modfl_use=yes
46393 else
46394 glibcxx_cv_func_modfl_use=no
46396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46397 ac_ext=c
46398 ac_cpp='$CPP $CPPFLAGS'
46399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46408 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46410 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46411 for ac_func in modfl
46412 do :
46413 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46414 if test "x$ac_cv_func_modfl" = xyes; then :
46415 cat >>confdefs.h <<_ACEOF
46416 #define HAVE_MODFL 1
46417 _ACEOF
46420 done
46422 else
46424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46425 $as_echo_n "checking for _modfl declaration... " >&6; }
46426 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46427 if ${glibcxx_cv_func__modfl_use+:} false; then :
46428 $as_echo_n "(cached) " >&6
46429 else
46432 ac_ext=cpp
46433 ac_cpp='$CXXCPP $CPPFLAGS'
46434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46439 /* end confdefs.h. */
46440 #include <math.h>
46442 main ()
46444 _modfl(0, 0);
46446 return 0;
46448 _ACEOF
46449 if ac_fn_cxx_try_compile "$LINENO"; then :
46450 glibcxx_cv_func__modfl_use=yes
46451 else
46452 glibcxx_cv_func__modfl_use=no
46454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46455 ac_ext=c
46456 ac_cpp='$CPP $CPPFLAGS'
46457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46466 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46468 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46469 for ac_func in _modfl
46470 do :
46471 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46472 if test "x$ac_cv_func__modfl" = xyes; then :
46473 cat >>confdefs.h <<_ACEOF
46474 #define HAVE__MODFL 1
46475 _ACEOF
46478 done
46487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46488 $as_echo_n "checking for powl declaration... " >&6; }
46489 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46490 if ${glibcxx_cv_func_powl_use+:} false; then :
46491 $as_echo_n "(cached) " >&6
46492 else
46495 ac_ext=cpp
46496 ac_cpp='$CXXCPP $CPPFLAGS'
46497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46502 /* end confdefs.h. */
46503 #include <math.h>
46505 main ()
46507 powl(0, 0);
46509 return 0;
46511 _ACEOF
46512 if ac_fn_cxx_try_compile "$LINENO"; then :
46513 glibcxx_cv_func_powl_use=yes
46514 else
46515 glibcxx_cv_func_powl_use=no
46517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46518 ac_ext=c
46519 ac_cpp='$CPP $CPPFLAGS'
46520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46529 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46531 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46532 for ac_func in powl
46533 do :
46534 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46535 if test "x$ac_cv_func_powl" = xyes; then :
46536 cat >>confdefs.h <<_ACEOF
46537 #define HAVE_POWL 1
46538 _ACEOF
46541 done
46543 else
46545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46546 $as_echo_n "checking for _powl declaration... " >&6; }
46547 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46548 if ${glibcxx_cv_func__powl_use+:} false; then :
46549 $as_echo_n "(cached) " >&6
46550 else
46553 ac_ext=cpp
46554 ac_cpp='$CXXCPP $CPPFLAGS'
46555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46560 /* end confdefs.h. */
46561 #include <math.h>
46563 main ()
46565 _powl(0, 0);
46567 return 0;
46569 _ACEOF
46570 if ac_fn_cxx_try_compile "$LINENO"; then :
46571 glibcxx_cv_func__powl_use=yes
46572 else
46573 glibcxx_cv_func__powl_use=no
46575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46576 ac_ext=c
46577 ac_cpp='$CPP $CPPFLAGS'
46578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46587 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46589 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46590 for ac_func in _powl
46591 do :
46592 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46593 if test "x$ac_cv_func__powl" = xyes; then :
46594 cat >>confdefs.h <<_ACEOF
46595 #define HAVE__POWL 1
46596 _ACEOF
46599 done
46608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46609 $as_echo_n "checking for sqrtl declaration... " >&6; }
46610 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46611 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46612 $as_echo_n "(cached) " >&6
46613 else
46616 ac_ext=cpp
46617 ac_cpp='$CXXCPP $CPPFLAGS'
46618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46623 /* end confdefs.h. */
46624 #include <math.h>
46625 #ifdef HAVE_IEEEFP_H
46626 #include <ieeefp.h>
46627 #endif
46630 main ()
46632 sqrtl(0);
46634 return 0;
46636 _ACEOF
46637 if ac_fn_cxx_try_compile "$LINENO"; then :
46638 glibcxx_cv_func_sqrtl_use=yes
46639 else
46640 glibcxx_cv_func_sqrtl_use=no
46642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46643 ac_ext=c
46644 ac_cpp='$CPP $CPPFLAGS'
46645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46654 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46656 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46657 for ac_func in sqrtl
46658 do :
46659 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46660 if test "x$ac_cv_func_sqrtl" = xyes; then :
46661 cat >>confdefs.h <<_ACEOF
46662 #define HAVE_SQRTL 1
46663 _ACEOF
46666 done
46668 else
46670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46671 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46672 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46673 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46674 $as_echo_n "(cached) " >&6
46675 else
46678 ac_ext=cpp
46679 ac_cpp='$CXXCPP $CPPFLAGS'
46680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46685 /* end confdefs.h. */
46686 #include <math.h>
46687 #ifdef HAVE_IEEEFP_H
46688 #include <ieeefp.h>
46689 #endif
46692 main ()
46694 _sqrtl(0);
46696 return 0;
46698 _ACEOF
46699 if ac_fn_cxx_try_compile "$LINENO"; then :
46700 glibcxx_cv_func__sqrtl_use=yes
46701 else
46702 glibcxx_cv_func__sqrtl_use=no
46704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46705 ac_ext=c
46706 ac_cpp='$CPP $CPPFLAGS'
46707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46716 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46718 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46719 for ac_func in _sqrtl
46720 do :
46721 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46722 if test "x$ac_cv_func__sqrtl" = xyes; then :
46723 cat >>confdefs.h <<_ACEOF
46724 #define HAVE__SQRTL 1
46725 _ACEOF
46728 done
46737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46738 $as_echo_n "checking for sincosl declaration... " >&6; }
46739 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46740 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46741 $as_echo_n "(cached) " >&6
46742 else
46745 ac_ext=cpp
46746 ac_cpp='$CXXCPP $CPPFLAGS'
46747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46752 /* end confdefs.h. */
46753 #include <math.h>
46755 main ()
46757 sincosl(0, 0, 0);
46759 return 0;
46761 _ACEOF
46762 if ac_fn_cxx_try_compile "$LINENO"; then :
46763 glibcxx_cv_func_sincosl_use=yes
46764 else
46765 glibcxx_cv_func_sincosl_use=no
46767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46768 ac_ext=c
46769 ac_cpp='$CPP $CPPFLAGS'
46770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46779 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46781 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46782 for ac_func in sincosl
46783 do :
46784 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46785 if test "x$ac_cv_func_sincosl" = xyes; then :
46786 cat >>confdefs.h <<_ACEOF
46787 #define HAVE_SINCOSL 1
46788 _ACEOF
46791 done
46793 else
46795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46796 $as_echo_n "checking for _sincosl declaration... " >&6; }
46797 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46798 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46799 $as_echo_n "(cached) " >&6
46800 else
46803 ac_ext=cpp
46804 ac_cpp='$CXXCPP $CPPFLAGS'
46805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46810 /* end confdefs.h. */
46811 #include <math.h>
46813 main ()
46815 _sincosl(0, 0, 0);
46817 return 0;
46819 _ACEOF
46820 if ac_fn_cxx_try_compile "$LINENO"; then :
46821 glibcxx_cv_func__sincosl_use=yes
46822 else
46823 glibcxx_cv_func__sincosl_use=no
46825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46826 ac_ext=c
46827 ac_cpp='$CPP $CPPFLAGS'
46828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46837 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46839 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46840 for ac_func in _sincosl
46841 do :
46842 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46843 if test "x$ac_cv_func__sincosl" = xyes; then :
46844 cat >>confdefs.h <<_ACEOF
46845 #define HAVE__SINCOSL 1
46846 _ACEOF
46849 done
46858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46859 $as_echo_n "checking for finitel declaration... " >&6; }
46860 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46861 if ${glibcxx_cv_func_finitel_use+:} false; then :
46862 $as_echo_n "(cached) " >&6
46863 else
46866 ac_ext=cpp
46867 ac_cpp='$CXXCPP $CPPFLAGS'
46868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46873 /* end confdefs.h. */
46874 #include <math.h>
46875 #ifdef HAVE_IEEEFP_H
46876 #include <ieeefp.h>
46877 #endif
46880 main ()
46882 finitel(0);
46884 return 0;
46886 _ACEOF
46887 if ac_fn_cxx_try_compile "$LINENO"; then :
46888 glibcxx_cv_func_finitel_use=yes
46889 else
46890 glibcxx_cv_func_finitel_use=no
46892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46893 ac_ext=c
46894 ac_cpp='$CPP $CPPFLAGS'
46895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46904 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46906 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46907 for ac_func in finitel
46908 do :
46909 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46910 if test "x$ac_cv_func_finitel" = xyes; then :
46911 cat >>confdefs.h <<_ACEOF
46912 #define HAVE_FINITEL 1
46913 _ACEOF
46916 done
46918 else
46920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46921 $as_echo_n "checking for _finitel declaration... " >&6; }
46922 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46923 if ${glibcxx_cv_func__finitel_use+:} false; then :
46924 $as_echo_n "(cached) " >&6
46925 else
46928 ac_ext=cpp
46929 ac_cpp='$CXXCPP $CPPFLAGS'
46930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46935 /* end confdefs.h. */
46936 #include <math.h>
46937 #ifdef HAVE_IEEEFP_H
46938 #include <ieeefp.h>
46939 #endif
46942 main ()
46944 _finitel(0);
46946 return 0;
46948 _ACEOF
46949 if ac_fn_cxx_try_compile "$LINENO"; then :
46950 glibcxx_cv_func__finitel_use=yes
46951 else
46952 glibcxx_cv_func__finitel_use=no
46954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46955 ac_ext=c
46956 ac_cpp='$CPP $CPPFLAGS'
46957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46966 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46968 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46969 for ac_func in _finitel
46970 do :
46971 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46972 if test "x$ac_cv_func__finitel" = xyes; then :
46973 cat >>confdefs.h <<_ACEOF
46974 #define HAVE__FINITEL 1
46975 _ACEOF
46978 done
46986 LIBS="$ac_save_LIBS"
46987 CXXFLAGS="$ac_save_CXXFLAGS"
46990 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46991 ac_save_CXXFLAGS="$CXXFLAGS"
46992 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46996 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46997 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46998 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46999 $as_echo_n "(cached) " >&6
47000 else
47003 ac_ext=cpp
47004 ac_cpp='$CXXCPP $CPPFLAGS'
47005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47010 /* end confdefs.h. */
47011 #include <stdlib.h>
47013 main ()
47015 at_quick_exit(0);
47017 return 0;
47019 _ACEOF
47020 if ac_fn_cxx_try_compile "$LINENO"; then :
47021 glibcxx_cv_func_at_quick_exit_use=yes
47022 else
47023 glibcxx_cv_func_at_quick_exit_use=no
47025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47026 ac_ext=c
47027 ac_cpp='$CPP $CPPFLAGS'
47028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47037 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47038 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47039 for ac_func in at_quick_exit
47040 do :
47041 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47042 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47043 cat >>confdefs.h <<_ACEOF
47044 #define HAVE_AT_QUICK_EXIT 1
47045 _ACEOF
47048 done
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47054 $as_echo_n "checking for quick_exit declaration... " >&6; }
47055 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47056 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47057 $as_echo_n "(cached) " >&6
47058 else
47061 ac_ext=cpp
47062 ac_cpp='$CXXCPP $CPPFLAGS'
47063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47068 /* end confdefs.h. */
47069 #include <stdlib.h>
47071 main ()
47073 quick_exit(0);
47075 return 0;
47077 _ACEOF
47078 if ac_fn_cxx_try_compile "$LINENO"; then :
47079 glibcxx_cv_func_quick_exit_use=yes
47080 else
47081 glibcxx_cv_func_quick_exit_use=no
47083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47084 ac_ext=c
47085 ac_cpp='$CPP $CPPFLAGS'
47086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47095 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47096 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47097 for ac_func in quick_exit
47098 do :
47099 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47100 if test "x$ac_cv_func_quick_exit" = xyes; then :
47101 cat >>confdefs.h <<_ACEOF
47102 #define HAVE_QUICK_EXIT 1
47103 _ACEOF
47106 done
47111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47112 $as_echo_n "checking for strtold declaration... " >&6; }
47113 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47114 if ${glibcxx_cv_func_strtold_use+:} false; then :
47115 $as_echo_n "(cached) " >&6
47116 else
47119 ac_ext=cpp
47120 ac_cpp='$CXXCPP $CPPFLAGS'
47121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47126 /* end confdefs.h. */
47127 #include <stdlib.h>
47129 main ()
47131 strtold(0, 0);
47133 return 0;
47135 _ACEOF
47136 if ac_fn_cxx_try_compile "$LINENO"; then :
47137 glibcxx_cv_func_strtold_use=yes
47138 else
47139 glibcxx_cv_func_strtold_use=no
47141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47142 ac_ext=c
47143 ac_cpp='$CPP $CPPFLAGS'
47144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47153 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47154 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47155 for ac_func in strtold
47156 do :
47157 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47158 if test "x$ac_cv_func_strtold" = xyes; then :
47159 cat >>confdefs.h <<_ACEOF
47160 #define HAVE_STRTOLD 1
47161 _ACEOF
47164 done
47171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47172 $as_echo_n "checking for strtof declaration... " >&6; }
47173 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47174 if ${glibcxx_cv_func_strtof_use+:} false; then :
47175 $as_echo_n "(cached) " >&6
47176 else
47179 ac_ext=cpp
47180 ac_cpp='$CXXCPP $CPPFLAGS'
47181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47186 /* end confdefs.h. */
47187 #include <stdlib.h>
47189 main ()
47191 strtof(0, 0);
47193 return 0;
47195 _ACEOF
47196 if ac_fn_cxx_try_compile "$LINENO"; then :
47197 glibcxx_cv_func_strtof_use=yes
47198 else
47199 glibcxx_cv_func_strtof_use=no
47201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47202 ac_ext=c
47203 ac_cpp='$CPP $CPPFLAGS'
47204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47213 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47214 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47215 for ac_func in strtof
47216 do :
47217 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47218 if test "x$ac_cv_func_strtof" = xyes; then :
47219 cat >>confdefs.h <<_ACEOF
47220 #define HAVE_STRTOF 1
47221 _ACEOF
47224 done
47231 CXXFLAGS="$ac_save_CXXFLAGS"
47234 for ac_func in uselocale
47235 do :
47236 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47237 if test "x$ac_cv_func_uselocale" = xyes; then :
47238 cat >>confdefs.h <<_ACEOF
47239 #define HAVE_USELOCALE 1
47240 _ACEOF
47243 done
47247 *djgpp)
47248 # GLIBCXX_CHECK_MATH_SUPPORT
47249 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47251 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47253 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47255 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47257 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47261 *-freebsd*)
47262 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47265 # If we're not using GNU ld, then there's no point in even trying these
47266 # tests. Check for that first. We should have already tested for gld
47267 # by now (in libtool), but require it now just to be safe...
47268 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47269 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47273 # The name set by libtool depends on the version of libtool. Shame on us
47274 # for depending on an impl detail, but c'est la vie. Older versions used
47275 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47276 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47277 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47278 # set (hence we're using an older libtool), then set it.
47279 if test x${with_gnu_ld+set} != xset; then
47280 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47281 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47282 with_gnu_ld=no
47283 else
47284 with_gnu_ld=$ac_cv_prog_gnu_ld
47288 # Start by getting the version number. I think the libtool test already
47289 # does some of this, but throws away the result.
47290 glibcxx_ld_is_gold=no
47291 glibcxx_ld_is_mold=no
47292 if test x"$with_gnu_ld" = x"yes"; then
47293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47294 $as_echo_n "checking for ld version... " >&6; }
47296 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47297 glibcxx_ld_is_gold=yes
47298 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47299 glibcxx_ld_is_mold=yes
47301 ldver=`$LD --version 2>/dev/null |
47302 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47304 glibcxx_gnu_ld_version=`echo $ldver | \
47305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47307 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47310 # Set --gc-sections.
47311 glibcxx_have_gc_sections=no
47312 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47313 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47314 glibcxx_have_gc_sections=yes
47316 else
47317 glibcxx_gcsections_min_ld=21602
47318 if test x"$with_gnu_ld" = x"yes" &&
47319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47320 glibcxx_have_gc_sections=yes
47323 if test "$glibcxx_have_gc_sections" = "yes"; then
47324 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47325 # NB: This flag only works reliably after 2.16.1. Configure tests
47326 # for this are difficult, so hard wire a value that should work.
47328 ac_test_CFLAGS="${CFLAGS+set}"
47329 ac_save_CFLAGS="$CFLAGS"
47330 CFLAGS='-Wl,--gc-sections'
47332 # Check for -Wl,--gc-sections
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47334 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47335 if test x$gcc_no_link = xyes; then
47336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47339 /* end confdefs.h. */
47340 int one(void) { return 1; }
47341 int two(void) { return 2; }
47344 main ()
47346 two();
47348 return 0;
47350 _ACEOF
47351 if ac_fn_c_try_link "$LINENO"; then :
47352 ac_gcsections=yes
47353 else
47354 ac_gcsections=no
47356 rm -f core conftest.err conftest.$ac_objext \
47357 conftest$ac_exeext conftest.$ac_ext
47358 if test "$ac_gcsections" = "yes"; then
47359 rm -f conftest.c
47360 touch conftest.c
47361 if $CC -c conftest.c; then
47362 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47363 grep "Warning: gc-sections option ignored" > /dev/null; then
47364 ac_gcsections=no
47367 rm -f conftest.c conftest.o conftest
47369 if test "$ac_gcsections" = "yes"; then
47370 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47373 $as_echo "$ac_gcsections" >&6; }
47375 if test "$ac_test_CFLAGS" = set; then
47376 CFLAGS="$ac_save_CFLAGS"
47377 else
47378 # this is the suspicious part
47379 CFLAGS=''
47383 # Set -z,relro.
47384 # Note this is only for shared objects.
47385 ac_ld_relro=no
47386 if test x"$with_gnu_ld" = x"yes"; then
47387 # cygwin and mingw uses PE, which has no ELF relro support,
47388 # multi target ld may confuse configure machinery
47389 case "$host" in
47390 *-*-cygwin*)
47392 *-*-mingw*)
47395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47396 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47397 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47398 if test -n "$cxx_z_relo"; then
47399 OPT_LDFLAGS="-Wl,-z,relro"
47400 ac_ld_relro=yes
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47403 $as_echo "$ac_ld_relro" >&6; }
47404 esac
47407 # Set linker optimization flags.
47408 if test x"$with_gnu_ld" = x"yes"; then
47409 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47415 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47417 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47419 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47421 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47423 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47425 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47427 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47429 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47431 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47434 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47436 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47438 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47440 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47442 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47444 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47446 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47448 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47450 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47452 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47454 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47456 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47458 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47460 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47462 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47464 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47466 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47468 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47470 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47472 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47474 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47476 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47478 if test x"long_double_math_on_this_cpu" = x"yes"; then
47479 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47481 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47483 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47486 for ac_func in __cxa_thread_atexit
47487 do :
47488 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47489 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47490 cat >>confdefs.h <<_ACEOF
47491 #define HAVE___CXA_THREAD_ATEXIT 1
47492 _ACEOF
47495 done
47497 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47498 do :
47499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47502 cat >>confdefs.h <<_ACEOF
47503 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47504 _ACEOF
47507 done
47509 for ac_func in timespec_get
47510 do :
47511 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47512 if test "x$ac_cv_func_timespec_get" = xyes; then :
47513 cat >>confdefs.h <<_ACEOF
47514 #define HAVE_TIMESPEC_GET 1
47515 _ACEOF
47518 done
47520 for ac_func in sockatmark
47521 do :
47522 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47523 if test "x$ac_cv_func_sockatmark" = xyes; then :
47524 cat >>confdefs.h <<_ACEOF
47525 #define HAVE_SOCKATMARK 1
47526 _ACEOF
47529 done
47531 for ac_func in uselocale
47532 do :
47533 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47534 if test "x$ac_cv_func_uselocale" = xyes; then :
47535 cat >>confdefs.h <<_ACEOF
47536 #define HAVE_USELOCALE 1
47537 _ACEOF
47540 done
47544 *-fuchsia*)
47545 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47549 *-hpux*)
47550 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47553 # If we're not using GNU ld, then there's no point in even trying these
47554 # tests. Check for that first. We should have already tested for gld
47555 # by now (in libtool), but require it now just to be safe...
47556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47561 # The name set by libtool depends on the version of libtool. Shame on us
47562 # for depending on an impl detail, but c'est la vie. Older versions used
47563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47566 # set (hence we're using an older libtool), then set it.
47567 if test x${with_gnu_ld+set} != xset; then
47568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47570 with_gnu_ld=no
47571 else
47572 with_gnu_ld=$ac_cv_prog_gnu_ld
47576 # Start by getting the version number. I think the libtool test already
47577 # does some of this, but throws away the result.
47578 glibcxx_ld_is_gold=no
47579 glibcxx_ld_is_mold=no
47580 if test x"$with_gnu_ld" = x"yes"; then
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47582 $as_echo_n "checking for ld version... " >&6; }
47584 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47585 glibcxx_ld_is_gold=yes
47586 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47587 glibcxx_ld_is_mold=yes
47589 ldver=`$LD --version 2>/dev/null |
47590 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47592 glibcxx_gnu_ld_version=`echo $ldver | \
47593 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47595 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47598 # Set --gc-sections.
47599 glibcxx_have_gc_sections=no
47600 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47601 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47602 glibcxx_have_gc_sections=yes
47604 else
47605 glibcxx_gcsections_min_ld=21602
47606 if test x"$with_gnu_ld" = x"yes" &&
47607 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47608 glibcxx_have_gc_sections=yes
47611 if test "$glibcxx_have_gc_sections" = "yes"; then
47612 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47613 # NB: This flag only works reliably after 2.16.1. Configure tests
47614 # for this are difficult, so hard wire a value that should work.
47616 ac_test_CFLAGS="${CFLAGS+set}"
47617 ac_save_CFLAGS="$CFLAGS"
47618 CFLAGS='-Wl,--gc-sections'
47620 # Check for -Wl,--gc-sections
47621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47622 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47623 if test x$gcc_no_link = xyes; then
47624 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47627 /* end confdefs.h. */
47628 int one(void) { return 1; }
47629 int two(void) { return 2; }
47632 main ()
47634 two();
47636 return 0;
47638 _ACEOF
47639 if ac_fn_c_try_link "$LINENO"; then :
47640 ac_gcsections=yes
47641 else
47642 ac_gcsections=no
47644 rm -f core conftest.err conftest.$ac_objext \
47645 conftest$ac_exeext conftest.$ac_ext
47646 if test "$ac_gcsections" = "yes"; then
47647 rm -f conftest.c
47648 touch conftest.c
47649 if $CC -c conftest.c; then
47650 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47651 grep "Warning: gc-sections option ignored" > /dev/null; then
47652 ac_gcsections=no
47655 rm -f conftest.c conftest.o conftest
47657 if test "$ac_gcsections" = "yes"; then
47658 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47661 $as_echo "$ac_gcsections" >&6; }
47663 if test "$ac_test_CFLAGS" = set; then
47664 CFLAGS="$ac_save_CFLAGS"
47665 else
47666 # this is the suspicious part
47667 CFLAGS=''
47671 # Set -z,relro.
47672 # Note this is only for shared objects.
47673 ac_ld_relro=no
47674 if test x"$with_gnu_ld" = x"yes"; then
47675 # cygwin and mingw uses PE, which has no ELF relro support,
47676 # multi target ld may confuse configure machinery
47677 case "$host" in
47678 *-*-cygwin*)
47680 *-*-mingw*)
47683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47684 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47685 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47686 if test -n "$cxx_z_relo"; then
47687 OPT_LDFLAGS="-Wl,-z,relro"
47688 ac_ld_relro=yes
47690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47691 $as_echo "$ac_ld_relro" >&6; }
47692 esac
47695 # Set linker optimization flags.
47696 if test x"$with_gnu_ld" = x"yes"; then
47697 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47704 # GLIBCXX_CHECK_MATH_SUPPORT
47705 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47707 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47709 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47711 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47713 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47715 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47717 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47719 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47721 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47723 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47725 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47727 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47729 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47731 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47733 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47735 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47737 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47739 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47741 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47743 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47745 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47748 # GLIBCXX_CHECK_STDLIB_SUPPORT
47749 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47754 # Check whether --enable-tls was given.
47755 if test "${enable_tls+set}" = set; then :
47756 enableval=$enable_tls;
47757 case "$enableval" in
47758 yes|no) ;;
47759 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47760 esac
47762 else
47763 enable_tls=yes
47767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47768 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47769 if ${gcc_cv_have_tls+:} false; then :
47770 $as_echo_n "(cached) " >&6
47771 else
47773 if test "$cross_compiling" = yes; then :
47774 if test x$gcc_no_link = xyes; then
47775 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47778 /* end confdefs.h. */
47779 __thread int a; int b; int main() { return a = b; }
47780 _ACEOF
47781 if ac_fn_c_try_link "$LINENO"; then :
47782 chktls_save_LDFLAGS="$LDFLAGS"
47783 case $host in
47784 *-*-linux* | -*-uclinuxfdpic*)
47785 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47787 esac
47788 chktls_save_CFLAGS="$CFLAGS"
47789 CFLAGS="-fPIC $CFLAGS"
47790 if test x$gcc_no_link = xyes; then
47791 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47794 /* end confdefs.h. */
47795 int f() { return 0; }
47796 _ACEOF
47797 if ac_fn_c_try_link "$LINENO"; then :
47798 if test x$gcc_no_link = xyes; then
47799 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47802 /* end confdefs.h. */
47803 __thread int a; int b; int f() { return a = b; }
47804 _ACEOF
47805 if ac_fn_c_try_link "$LINENO"; then :
47806 gcc_cv_have_tls=yes
47807 else
47808 gcc_cv_have_tls=no
47810 rm -f core conftest.err conftest.$ac_objext \
47811 conftest$ac_exeext conftest.$ac_ext
47812 else
47813 gcc_cv_have_tls=yes
47815 rm -f core conftest.err conftest.$ac_objext \
47816 conftest$ac_exeext conftest.$ac_ext
47817 CFLAGS="$chktls_save_CFLAGS"
47818 LDFLAGS="$chktls_save_LDFLAGS"
47819 else
47820 gcc_cv_have_tls=no
47822 rm -f core conftest.err conftest.$ac_objext \
47823 conftest$ac_exeext conftest.$ac_ext
47826 else
47827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47828 /* end confdefs.h. */
47829 __thread int a; int b; int main() { return a = b; }
47830 _ACEOF
47831 if ac_fn_c_try_run "$LINENO"; then :
47832 chktls_save_LDFLAGS="$LDFLAGS"
47833 LDFLAGS="-static $LDFLAGS"
47834 if test x$gcc_no_link = xyes; then
47835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47838 /* end confdefs.h. */
47839 int main() { return 0; }
47840 _ACEOF
47841 if ac_fn_c_try_link "$LINENO"; then :
47842 if test "$cross_compiling" = yes; then :
47843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47845 as_fn_error $? "cannot run test program while cross compiling
47846 See \`config.log' for more details" "$LINENO" 5; }
47847 else
47848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47849 /* end confdefs.h. */
47850 __thread int a; int b; int main() { return a = b; }
47851 _ACEOF
47852 if ac_fn_c_try_run "$LINENO"; then :
47853 gcc_cv_have_tls=yes
47854 else
47855 gcc_cv_have_tls=no
47857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47858 conftest.$ac_objext conftest.beam conftest.$ac_ext
47861 else
47862 gcc_cv_have_tls=yes
47864 rm -f core conftest.err conftest.$ac_objext \
47865 conftest$ac_exeext conftest.$ac_ext
47866 LDFLAGS="$chktls_save_LDFLAGS"
47867 if test $gcc_cv_have_tls = yes; then
47868 chktls_save_CFLAGS="$CFLAGS"
47869 thread_CFLAGS=failed
47870 for flag in '' '-pthread' '-lpthread'; do
47871 CFLAGS="$flag $chktls_save_CFLAGS"
47872 if test x$gcc_no_link = xyes; then
47873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47876 /* end confdefs.h. */
47877 #include <pthread.h>
47878 void *g(void *d) { return NULL; }
47880 main ()
47882 pthread_t t; pthread_create(&t,NULL,g,NULL);
47884 return 0;
47886 _ACEOF
47887 if ac_fn_c_try_link "$LINENO"; then :
47888 thread_CFLAGS="$flag"
47890 rm -f core conftest.err conftest.$ac_objext \
47891 conftest$ac_exeext conftest.$ac_ext
47892 if test "X$thread_CFLAGS" != Xfailed; then
47893 break
47895 done
47896 CFLAGS="$chktls_save_CFLAGS"
47897 if test "X$thread_CFLAGS" != Xfailed; then
47898 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47899 if test "$cross_compiling" = yes; then :
47900 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47902 as_fn_error $? "cannot run test program while cross compiling
47903 See \`config.log' for more details" "$LINENO" 5; }
47904 else
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <pthread.h>
47908 __thread int a;
47909 static int *volatile a_in_other_thread;
47910 static void *
47911 thread_func (void *arg)
47913 a_in_other_thread = &a;
47914 return (void *)0;
47917 main ()
47919 pthread_t thread;
47920 void *thread_retval;
47921 int *volatile a_in_main_thread;
47922 a_in_main_thread = &a;
47923 if (pthread_create (&thread, (pthread_attr_t *)0,
47924 thread_func, (void *)0))
47925 return 0;
47926 if (pthread_join (thread, &thread_retval))
47927 return 0;
47928 return (a_in_other_thread == a_in_main_thread);
47930 return 0;
47932 _ACEOF
47933 if ac_fn_c_try_run "$LINENO"; then :
47934 gcc_cv_have_tls=yes
47935 else
47936 gcc_cv_have_tls=no
47938 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47939 conftest.$ac_objext conftest.beam conftest.$ac_ext
47942 CFLAGS="$chktls_save_CFLAGS"
47945 else
47946 gcc_cv_have_tls=no
47948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47949 conftest.$ac_objext conftest.beam conftest.$ac_ext
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47954 $as_echo "$gcc_cv_have_tls" >&6; }
47955 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47957 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47960 case "$target" in
47961 *-hpux10*)
47962 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47964 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47966 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47968 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47970 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47973 esac
47975 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47977 # All these tests are for C++; save the language and the compiler flags.
47978 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47979 # found in GLIBCXX_CONFIGURE.
47981 ac_ext=cpp
47982 ac_cpp='$CXXCPP $CPPFLAGS'
47983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47987 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47988 ac_save_CXXFLAGS="$CXXFLAGS"
47990 # Check for -ffunction-sections -fdata-sections
47991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47992 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47993 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47995 /* end confdefs.h. */
47996 int foo; void bar() { };
47998 main ()
48002 return 0;
48004 _ACEOF
48005 if ac_fn_cxx_try_compile "$LINENO"; then :
48006 ac_fdsections=yes
48007 else
48008 ac_fdsections=no
48010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48011 if test "$ac_test_CXXFLAGS" = set; then
48012 CXXFLAGS="$ac_save_CXXFLAGS"
48013 else
48014 # this is the suspicious part
48015 CXXFLAGS=''
48017 if test x"$ac_fdsections" = x"yes"; then
48018 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48021 $as_echo "$ac_fdsections" >&6; }
48023 ac_ext=c
48024 ac_cpp='$CPP $CPPFLAGS'
48025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48032 # If we're not using GNU ld, then there's no point in even trying these
48033 # tests. Check for that first. We should have already tested for gld
48034 # by now (in libtool), but require it now just to be safe...
48035 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48036 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48040 # The name set by libtool depends on the version of libtool. Shame on us
48041 # for depending on an impl detail, but c'est la vie. Older versions used
48042 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48043 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48044 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48045 # set (hence we're using an older libtool), then set it.
48046 if test x${with_gnu_ld+set} != xset; then
48047 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48048 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48049 with_gnu_ld=no
48050 else
48051 with_gnu_ld=$ac_cv_prog_gnu_ld
48055 # Start by getting the version number. I think the libtool test already
48056 # does some of this, but throws away the result.
48057 glibcxx_ld_is_gold=no
48058 glibcxx_ld_is_mold=no
48059 if test x"$with_gnu_ld" = x"yes"; then
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48061 $as_echo_n "checking for ld version... " >&6; }
48063 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48064 glibcxx_ld_is_gold=yes
48065 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48066 glibcxx_ld_is_mold=yes
48068 ldver=`$LD --version 2>/dev/null |
48069 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48071 glibcxx_gnu_ld_version=`echo $ldver | \
48072 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48074 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48077 # Set --gc-sections.
48078 glibcxx_have_gc_sections=no
48079 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48080 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48081 glibcxx_have_gc_sections=yes
48083 else
48084 glibcxx_gcsections_min_ld=21602
48085 if test x"$with_gnu_ld" = x"yes" &&
48086 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48087 glibcxx_have_gc_sections=yes
48090 if test "$glibcxx_have_gc_sections" = "yes"; then
48091 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48092 # NB: This flag only works reliably after 2.16.1. Configure tests
48093 # for this are difficult, so hard wire a value that should work.
48095 ac_test_CFLAGS="${CFLAGS+set}"
48096 ac_save_CFLAGS="$CFLAGS"
48097 CFLAGS='-Wl,--gc-sections'
48099 # Check for -Wl,--gc-sections
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48101 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48102 if test x$gcc_no_link = xyes; then
48103 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h. */
48107 int one(void) { return 1; }
48108 int two(void) { return 2; }
48111 main ()
48113 two();
48115 return 0;
48117 _ACEOF
48118 if ac_fn_c_try_link "$LINENO"; then :
48119 ac_gcsections=yes
48120 else
48121 ac_gcsections=no
48123 rm -f core conftest.err conftest.$ac_objext \
48124 conftest$ac_exeext conftest.$ac_ext
48125 if test "$ac_gcsections" = "yes"; then
48126 rm -f conftest.c
48127 touch conftest.c
48128 if $CC -c conftest.c; then
48129 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48130 grep "Warning: gc-sections option ignored" > /dev/null; then
48131 ac_gcsections=no
48134 rm -f conftest.c conftest.o conftest
48136 if test "$ac_gcsections" = "yes"; then
48137 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48140 $as_echo "$ac_gcsections" >&6; }
48142 if test "$ac_test_CFLAGS" = set; then
48143 CFLAGS="$ac_save_CFLAGS"
48144 else
48145 # this is the suspicious part
48146 CFLAGS=''
48150 # Set -z,relro.
48151 # Note this is only for shared objects.
48152 ac_ld_relro=no
48153 if test x"$with_gnu_ld" = x"yes"; then
48154 # cygwin and mingw uses PE, which has no ELF relro support,
48155 # multi target ld may confuse configure machinery
48156 case "$host" in
48157 *-*-cygwin*)
48159 *-*-mingw*)
48162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48163 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48164 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48165 if test -n "$cxx_z_relo"; then
48166 OPT_LDFLAGS="-Wl,-z,relro"
48167 ac_ld_relro=yes
48169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48170 $as_echo "$ac_ld_relro" >&6; }
48171 esac
48174 # Set linker optimization flags.
48175 if test x"$with_gnu_ld" = x"yes"; then
48176 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48183 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48184 ac_save_CXXFLAGS="$CXXFLAGS"
48185 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48188 $as_echo_n "checking for sin in -lm... " >&6; }
48189 if ${ac_cv_lib_m_sin+:} false; then :
48190 $as_echo_n "(cached) " >&6
48191 else
48192 ac_check_lib_save_LIBS=$LIBS
48193 LIBS="-lm $LIBS"
48194 if test x$gcc_no_link = xyes; then
48195 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48198 /* end confdefs.h. */
48200 /* Override any GCC internal prototype to avoid an error.
48201 Use char because int might match the return type of a GCC
48202 builtin and then its argument prototype would still apply. */
48203 #ifdef __cplusplus
48204 extern "C"
48205 #endif
48206 char sin ();
48208 main ()
48210 return sin ();
48212 return 0;
48214 _ACEOF
48215 if ac_fn_c_try_link "$LINENO"; then :
48216 ac_cv_lib_m_sin=yes
48217 else
48218 ac_cv_lib_m_sin=no
48220 rm -f core conftest.err conftest.$ac_objext \
48221 conftest$ac_exeext conftest.$ac_ext
48222 LIBS=$ac_check_lib_save_LIBS
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48225 $as_echo "$ac_cv_lib_m_sin" >&6; }
48226 if test "x$ac_cv_lib_m_sin" = xyes; then :
48227 libm="-lm"
48230 ac_save_LIBS="$LIBS"
48231 LIBS="$LIBS $libm"
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48236 $as_echo_n "checking for isinf declaration... " >&6; }
48237 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48238 if ${glibcxx_cv_func_isinf_use+:} false; then :
48239 $as_echo_n "(cached) " >&6
48240 else
48243 ac_ext=cpp
48244 ac_cpp='$CXXCPP $CPPFLAGS'
48245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48250 /* end confdefs.h. */
48251 #include <math.h>
48252 #ifdef HAVE_IEEEFP_H
48253 #include <ieeefp.h>
48254 #endif
48257 main ()
48259 isinf(0);
48261 return 0;
48263 _ACEOF
48264 if ac_fn_cxx_try_compile "$LINENO"; then :
48265 glibcxx_cv_func_isinf_use=yes
48266 else
48267 glibcxx_cv_func_isinf_use=no
48269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48270 ac_ext=c
48271 ac_cpp='$CPP $CPPFLAGS'
48272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48281 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48283 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48284 for ac_func in isinf
48285 do :
48286 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48287 if test "x$ac_cv_func_isinf" = xyes; then :
48288 cat >>confdefs.h <<_ACEOF
48289 #define HAVE_ISINF 1
48290 _ACEOF
48293 done
48295 else
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48298 $as_echo_n "checking for _isinf declaration... " >&6; }
48299 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48300 if ${glibcxx_cv_func__isinf_use+:} false; then :
48301 $as_echo_n "(cached) " >&6
48302 else
48305 ac_ext=cpp
48306 ac_cpp='$CXXCPP $CPPFLAGS'
48307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48312 /* end confdefs.h. */
48313 #include <math.h>
48314 #ifdef HAVE_IEEEFP_H
48315 #include <ieeefp.h>
48316 #endif
48319 main ()
48321 _isinf(0);
48323 return 0;
48325 _ACEOF
48326 if ac_fn_cxx_try_compile "$LINENO"; then :
48327 glibcxx_cv_func__isinf_use=yes
48328 else
48329 glibcxx_cv_func__isinf_use=no
48331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48332 ac_ext=c
48333 ac_cpp='$CPP $CPPFLAGS'
48334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48343 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48345 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48346 for ac_func in _isinf
48347 do :
48348 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48349 if test "x$ac_cv_func__isinf" = xyes; then :
48350 cat >>confdefs.h <<_ACEOF
48351 #define HAVE__ISINF 1
48352 _ACEOF
48355 done
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48365 $as_echo_n "checking for isnan declaration... " >&6; }
48366 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48367 if ${glibcxx_cv_func_isnan_use+:} false; then :
48368 $as_echo_n "(cached) " >&6
48369 else
48372 ac_ext=cpp
48373 ac_cpp='$CXXCPP $CPPFLAGS'
48374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48379 /* end confdefs.h. */
48380 #include <math.h>
48381 #ifdef HAVE_IEEEFP_H
48382 #include <ieeefp.h>
48383 #endif
48386 main ()
48388 isnan(0);
48390 return 0;
48392 _ACEOF
48393 if ac_fn_cxx_try_compile "$LINENO"; then :
48394 glibcxx_cv_func_isnan_use=yes
48395 else
48396 glibcxx_cv_func_isnan_use=no
48398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48399 ac_ext=c
48400 ac_cpp='$CPP $CPPFLAGS'
48401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48410 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48412 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48413 for ac_func in isnan
48414 do :
48415 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48416 if test "x$ac_cv_func_isnan" = xyes; then :
48417 cat >>confdefs.h <<_ACEOF
48418 #define HAVE_ISNAN 1
48419 _ACEOF
48422 done
48424 else
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48427 $as_echo_n "checking for _isnan declaration... " >&6; }
48428 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48429 if ${glibcxx_cv_func__isnan_use+:} false; then :
48430 $as_echo_n "(cached) " >&6
48431 else
48434 ac_ext=cpp
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48441 /* end confdefs.h. */
48442 #include <math.h>
48443 #ifdef HAVE_IEEEFP_H
48444 #include <ieeefp.h>
48445 #endif
48448 main ()
48450 _isnan(0);
48452 return 0;
48454 _ACEOF
48455 if ac_fn_cxx_try_compile "$LINENO"; then :
48456 glibcxx_cv_func__isnan_use=yes
48457 else
48458 glibcxx_cv_func__isnan_use=no
48460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48461 ac_ext=c
48462 ac_cpp='$CPP $CPPFLAGS'
48463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48472 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48474 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48475 for ac_func in _isnan
48476 do :
48477 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48478 if test "x$ac_cv_func__isnan" = xyes; then :
48479 cat >>confdefs.h <<_ACEOF
48480 #define HAVE__ISNAN 1
48481 _ACEOF
48484 done
48493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48494 $as_echo_n "checking for finite declaration... " >&6; }
48495 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48496 if ${glibcxx_cv_func_finite_use+:} false; then :
48497 $as_echo_n "(cached) " >&6
48498 else
48501 ac_ext=cpp
48502 ac_cpp='$CXXCPP $CPPFLAGS'
48503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48508 /* end confdefs.h. */
48509 #include <math.h>
48510 #ifdef HAVE_IEEEFP_H
48511 #include <ieeefp.h>
48512 #endif
48515 main ()
48517 finite(0);
48519 return 0;
48521 _ACEOF
48522 if ac_fn_cxx_try_compile "$LINENO"; then :
48523 glibcxx_cv_func_finite_use=yes
48524 else
48525 glibcxx_cv_func_finite_use=no
48527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48528 ac_ext=c
48529 ac_cpp='$CPP $CPPFLAGS'
48530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48539 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48541 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48542 for ac_func in finite
48543 do :
48544 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48545 if test "x$ac_cv_func_finite" = xyes; then :
48546 cat >>confdefs.h <<_ACEOF
48547 #define HAVE_FINITE 1
48548 _ACEOF
48551 done
48553 else
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48556 $as_echo_n "checking for _finite declaration... " >&6; }
48557 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48558 if ${glibcxx_cv_func__finite_use+:} false; then :
48559 $as_echo_n "(cached) " >&6
48560 else
48563 ac_ext=cpp
48564 ac_cpp='$CXXCPP $CPPFLAGS'
48565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48570 /* end confdefs.h. */
48571 #include <math.h>
48572 #ifdef HAVE_IEEEFP_H
48573 #include <ieeefp.h>
48574 #endif
48577 main ()
48579 _finite(0);
48581 return 0;
48583 _ACEOF
48584 if ac_fn_cxx_try_compile "$LINENO"; then :
48585 glibcxx_cv_func__finite_use=yes
48586 else
48587 glibcxx_cv_func__finite_use=no
48589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48590 ac_ext=c
48591 ac_cpp='$CPP $CPPFLAGS'
48592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48601 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48603 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48604 for ac_func in _finite
48605 do :
48606 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48607 if test "x$ac_cv_func__finite" = xyes; then :
48608 cat >>confdefs.h <<_ACEOF
48609 #define HAVE__FINITE 1
48610 _ACEOF
48613 done
48622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48623 $as_echo_n "checking for sincos declaration... " >&6; }
48624 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48625 if ${glibcxx_cv_func_sincos_use+:} false; then :
48626 $as_echo_n "(cached) " >&6
48627 else
48630 ac_ext=cpp
48631 ac_cpp='$CXXCPP $CPPFLAGS'
48632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48637 /* end confdefs.h. */
48638 #include <math.h>
48640 main ()
48642 sincos(0, 0, 0);
48644 return 0;
48646 _ACEOF
48647 if ac_fn_cxx_try_compile "$LINENO"; then :
48648 glibcxx_cv_func_sincos_use=yes
48649 else
48650 glibcxx_cv_func_sincos_use=no
48652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48653 ac_ext=c
48654 ac_cpp='$CPP $CPPFLAGS'
48655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48664 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48666 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48667 for ac_func in sincos
48668 do :
48669 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48670 if test "x$ac_cv_func_sincos" = xyes; then :
48671 cat >>confdefs.h <<_ACEOF
48672 #define HAVE_SINCOS 1
48673 _ACEOF
48676 done
48678 else
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48681 $as_echo_n "checking for _sincos declaration... " >&6; }
48682 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48683 if ${glibcxx_cv_func__sincos_use+:} false; then :
48684 $as_echo_n "(cached) " >&6
48685 else
48688 ac_ext=cpp
48689 ac_cpp='$CXXCPP $CPPFLAGS'
48690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48695 /* end confdefs.h. */
48696 #include <math.h>
48698 main ()
48700 _sincos(0, 0, 0);
48702 return 0;
48704 _ACEOF
48705 if ac_fn_cxx_try_compile "$LINENO"; then :
48706 glibcxx_cv_func__sincos_use=yes
48707 else
48708 glibcxx_cv_func__sincos_use=no
48710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48711 ac_ext=c
48712 ac_cpp='$CPP $CPPFLAGS'
48713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48722 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48724 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48725 for ac_func in _sincos
48726 do :
48727 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48728 if test "x$ac_cv_func__sincos" = xyes; then :
48729 cat >>confdefs.h <<_ACEOF
48730 #define HAVE__SINCOS 1
48731 _ACEOF
48734 done
48743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48744 $as_echo_n "checking for fpclass declaration... " >&6; }
48745 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48746 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48747 $as_echo_n "(cached) " >&6
48748 else
48751 ac_ext=cpp
48752 ac_cpp='$CXXCPP $CPPFLAGS'
48753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48758 /* end confdefs.h. */
48759 #include <math.h>
48760 #ifdef HAVE_IEEEFP_H
48761 #include <ieeefp.h>
48762 #endif
48765 main ()
48767 fpclass(0);
48769 return 0;
48771 _ACEOF
48772 if ac_fn_cxx_try_compile "$LINENO"; then :
48773 glibcxx_cv_func_fpclass_use=yes
48774 else
48775 glibcxx_cv_func_fpclass_use=no
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 ac_ext=c
48779 ac_cpp='$CPP $CPPFLAGS'
48780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48789 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48791 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48792 for ac_func in fpclass
48793 do :
48794 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48795 if test "x$ac_cv_func_fpclass" = xyes; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define HAVE_FPCLASS 1
48798 _ACEOF
48801 done
48803 else
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48806 $as_echo_n "checking for _fpclass declaration... " >&6; }
48807 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48808 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48822 #ifdef HAVE_IEEEFP_H
48823 #include <ieeefp.h>
48824 #endif
48827 main ()
48829 _fpclass(0);
48831 return 0;
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__fpclass_use=yes
48836 else
48837 glibcxx_cv_func__fpclass_use=no
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48851 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48853 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48854 for ac_func in _fpclass
48855 do :
48856 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48857 if test "x$ac_cv_func__fpclass" = xyes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE__FPCLASS 1
48860 _ACEOF
48863 done
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48873 $as_echo_n "checking for qfpclass declaration... " >&6; }
48874 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48875 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48876 $as_echo_n "(cached) " >&6
48877 else
48880 ac_ext=cpp
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48887 /* end confdefs.h. */
48888 #include <math.h>
48889 #ifdef HAVE_IEEEFP_H
48890 #include <ieeefp.h>
48891 #endif
48894 main ()
48896 qfpclass(0);
48898 return 0;
48900 _ACEOF
48901 if ac_fn_cxx_try_compile "$LINENO"; then :
48902 glibcxx_cv_func_qfpclass_use=yes
48903 else
48904 glibcxx_cv_func_qfpclass_use=no
48906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48907 ac_ext=c
48908 ac_cpp='$CPP $CPPFLAGS'
48909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48918 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48920 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48921 for ac_func in qfpclass
48922 do :
48923 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48924 if test "x$ac_cv_func_qfpclass" = xyes; then :
48925 cat >>confdefs.h <<_ACEOF
48926 #define HAVE_QFPCLASS 1
48927 _ACEOF
48930 done
48932 else
48934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48935 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48936 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48937 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48938 $as_echo_n "(cached) " >&6
48939 else
48942 ac_ext=cpp
48943 ac_cpp='$CXXCPP $CPPFLAGS'
48944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48949 /* end confdefs.h. */
48950 #include <math.h>
48951 #ifdef HAVE_IEEEFP_H
48952 #include <ieeefp.h>
48953 #endif
48956 main ()
48958 _qfpclass(0);
48960 return 0;
48962 _ACEOF
48963 if ac_fn_cxx_try_compile "$LINENO"; then :
48964 glibcxx_cv_func__qfpclass_use=yes
48965 else
48966 glibcxx_cv_func__qfpclass_use=no
48968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48969 ac_ext=c
48970 ac_cpp='$CPP $CPPFLAGS'
48971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48980 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48982 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48983 for ac_func in _qfpclass
48984 do :
48985 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48986 if test "x$ac_cv_func__qfpclass" = xyes; then :
48987 cat >>confdefs.h <<_ACEOF
48988 #define HAVE__QFPCLASS 1
48989 _ACEOF
48992 done
49001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49002 $as_echo_n "checking for hypot declaration... " >&6; }
49003 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49004 if ${glibcxx_cv_func_hypot_use+:} false; then :
49005 $as_echo_n "(cached) " >&6
49006 else
49009 ac_ext=cpp
49010 ac_cpp='$CXXCPP $CPPFLAGS'
49011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49016 /* end confdefs.h. */
49017 #include <math.h>
49019 main ()
49021 hypot(0, 0);
49023 return 0;
49025 _ACEOF
49026 if ac_fn_cxx_try_compile "$LINENO"; then :
49027 glibcxx_cv_func_hypot_use=yes
49028 else
49029 glibcxx_cv_func_hypot_use=no
49031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49032 ac_ext=c
49033 ac_cpp='$CPP $CPPFLAGS'
49034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49043 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49045 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49046 for ac_func in hypot
49047 do :
49048 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49049 if test "x$ac_cv_func_hypot" = xyes; then :
49050 cat >>confdefs.h <<_ACEOF
49051 #define HAVE_HYPOT 1
49052 _ACEOF
49055 done
49057 else
49059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49060 $as_echo_n "checking for _hypot declaration... " >&6; }
49061 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49062 if ${glibcxx_cv_func__hypot_use+:} false; then :
49063 $as_echo_n "(cached) " >&6
49064 else
49067 ac_ext=cpp
49068 ac_cpp='$CXXCPP $CPPFLAGS'
49069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49074 /* end confdefs.h. */
49075 #include <math.h>
49077 main ()
49079 _hypot(0, 0);
49081 return 0;
49083 _ACEOF
49084 if ac_fn_cxx_try_compile "$LINENO"; then :
49085 glibcxx_cv_func__hypot_use=yes
49086 else
49087 glibcxx_cv_func__hypot_use=no
49089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49090 ac_ext=c
49091 ac_cpp='$CPP $CPPFLAGS'
49092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49101 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49103 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49104 for ac_func in _hypot
49105 do :
49106 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49107 if test "x$ac_cv_func__hypot" = xyes; then :
49108 cat >>confdefs.h <<_ACEOF
49109 #define HAVE__HYPOT 1
49110 _ACEOF
49113 done
49122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49123 $as_echo_n "checking for float trig functions... " >&6; }
49124 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49125 $as_echo_n "(cached) " >&6
49126 else
49129 ac_ext=cpp
49130 ac_cpp='$CXXCPP $CPPFLAGS'
49131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49136 /* end confdefs.h. */
49137 #include <math.h>
49139 main ()
49141 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49143 return 0;
49145 _ACEOF
49146 if ac_fn_cxx_try_compile "$LINENO"; then :
49147 glibcxx_cv_func_float_trig_use=yes
49148 else
49149 glibcxx_cv_func_float_trig_use=no
49151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49152 ac_ext=c
49153 ac_cpp='$CPP $CPPFLAGS'
49154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49161 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49162 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49163 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49164 do :
49165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49167 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49170 _ACEOF
49173 done
49175 else
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49177 $as_echo_n "checking for _float trig functions... " >&6; }
49178 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49179 $as_echo_n "(cached) " >&6
49180 else
49183 ac_ext=cpp
49184 ac_cpp='$CXXCPP $CPPFLAGS'
49185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49190 /* end confdefs.h. */
49191 #include <math.h>
49193 main ()
49195 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49197 return 0;
49199 _ACEOF
49200 if ac_fn_cxx_try_compile "$LINENO"; then :
49201 glibcxx_cv_func__float_trig_use=yes
49202 else
49203 glibcxx_cv_func__float_trig_use=no
49205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49206 ac_ext=c
49207 ac_cpp='$CPP $CPPFLAGS'
49208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49215 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49216 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49217 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49218 do :
49219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49221 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49222 cat >>confdefs.h <<_ACEOF
49223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49224 _ACEOF
49227 done
49236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49237 $as_echo_n "checking for float round functions... " >&6; }
49238 if ${glibcxx_cv_func_float_round_use+:} false; then :
49239 $as_echo_n "(cached) " >&6
49240 else
49243 ac_ext=cpp
49244 ac_cpp='$CXXCPP $CPPFLAGS'
49245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49250 /* end confdefs.h. */
49251 #include <math.h>
49253 main ()
49255 ceilf (0); floorf (0);
49257 return 0;
49259 _ACEOF
49260 if ac_fn_cxx_try_compile "$LINENO"; then :
49261 glibcxx_cv_func_float_round_use=yes
49262 else
49263 glibcxx_cv_func_float_round_use=no
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49275 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49276 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49277 for ac_func in ceilf floorf
49278 do :
49279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49282 cat >>confdefs.h <<_ACEOF
49283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49284 _ACEOF
49287 done
49289 else
49290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49291 $as_echo_n "checking for _float round functions... " >&6; }
49292 if ${glibcxx_cv_func__float_round_use+:} false; then :
49293 $as_echo_n "(cached) " >&6
49294 else
49297 ac_ext=cpp
49298 ac_cpp='$CXXCPP $CPPFLAGS'
49299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49304 /* end confdefs.h. */
49305 #include <math.h>
49307 main ()
49309 _ceilf (0); _floorf (0);
49311 return 0;
49313 _ACEOF
49314 if ac_fn_cxx_try_compile "$LINENO"; then :
49315 glibcxx_cv_func__float_round_use=yes
49316 else
49317 glibcxx_cv_func__float_round_use=no
49319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49320 ac_ext=c
49321 ac_cpp='$CPP $CPPFLAGS'
49322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49329 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49330 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49331 for ac_func in _ceilf _floorf
49332 do :
49333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49336 cat >>confdefs.h <<_ACEOF
49337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49338 _ACEOF
49341 done
49351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49352 $as_echo_n "checking for expf declaration... " >&6; }
49353 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49354 if ${glibcxx_cv_func_expf_use+:} false; then :
49355 $as_echo_n "(cached) " >&6
49356 else
49359 ac_ext=cpp
49360 ac_cpp='$CXXCPP $CPPFLAGS'
49361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49366 /* end confdefs.h. */
49367 #include <math.h>
49368 #ifdef HAVE_IEEEFP_H
49369 #include <ieeefp.h>
49370 #endif
49373 main ()
49375 expf(0);
49377 return 0;
49379 _ACEOF
49380 if ac_fn_cxx_try_compile "$LINENO"; then :
49381 glibcxx_cv_func_expf_use=yes
49382 else
49383 glibcxx_cv_func_expf_use=no
49385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49386 ac_ext=c
49387 ac_cpp='$CPP $CPPFLAGS'
49388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49397 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49399 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49400 for ac_func in expf
49401 do :
49402 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49403 if test "x$ac_cv_func_expf" = xyes; then :
49404 cat >>confdefs.h <<_ACEOF
49405 #define HAVE_EXPF 1
49406 _ACEOF
49409 done
49411 else
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49414 $as_echo_n "checking for _expf declaration... " >&6; }
49415 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49416 if ${glibcxx_cv_func__expf_use+:} false; then :
49417 $as_echo_n "(cached) " >&6
49418 else
49421 ac_ext=cpp
49422 ac_cpp='$CXXCPP $CPPFLAGS'
49423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49428 /* end confdefs.h. */
49429 #include <math.h>
49430 #ifdef HAVE_IEEEFP_H
49431 #include <ieeefp.h>
49432 #endif
49435 main ()
49437 _expf(0);
49439 return 0;
49441 _ACEOF
49442 if ac_fn_cxx_try_compile "$LINENO"; then :
49443 glibcxx_cv_func__expf_use=yes
49444 else
49445 glibcxx_cv_func__expf_use=no
49447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49448 ac_ext=c
49449 ac_cpp='$CPP $CPPFLAGS'
49450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49459 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49461 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49462 for ac_func in _expf
49463 do :
49464 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49465 if test "x$ac_cv_func__expf" = xyes; then :
49466 cat >>confdefs.h <<_ACEOF
49467 #define HAVE__EXPF 1
49468 _ACEOF
49471 done
49480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49481 $as_echo_n "checking for isnanf declaration... " >&6; }
49482 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49483 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49484 $as_echo_n "(cached) " >&6
49485 else
49488 ac_ext=cpp
49489 ac_cpp='$CXXCPP $CPPFLAGS'
49490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49495 /* end confdefs.h. */
49496 #include <math.h>
49497 #ifdef HAVE_IEEEFP_H
49498 #include <ieeefp.h>
49499 #endif
49502 main ()
49504 isnanf(0);
49506 return 0;
49508 _ACEOF
49509 if ac_fn_cxx_try_compile "$LINENO"; then :
49510 glibcxx_cv_func_isnanf_use=yes
49511 else
49512 glibcxx_cv_func_isnanf_use=no
49514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49515 ac_ext=c
49516 ac_cpp='$CPP $CPPFLAGS'
49517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49526 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49528 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49529 for ac_func in isnanf
49530 do :
49531 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49532 if test "x$ac_cv_func_isnanf" = xyes; then :
49533 cat >>confdefs.h <<_ACEOF
49534 #define HAVE_ISNANF 1
49535 _ACEOF
49538 done
49540 else
49542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49543 $as_echo_n "checking for _isnanf declaration... " >&6; }
49544 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49545 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49546 $as_echo_n "(cached) " >&6
49547 else
49550 ac_ext=cpp
49551 ac_cpp='$CXXCPP $CPPFLAGS'
49552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49557 /* end confdefs.h. */
49558 #include <math.h>
49559 #ifdef HAVE_IEEEFP_H
49560 #include <ieeefp.h>
49561 #endif
49564 main ()
49566 _isnanf(0);
49568 return 0;
49570 _ACEOF
49571 if ac_fn_cxx_try_compile "$LINENO"; then :
49572 glibcxx_cv_func__isnanf_use=yes
49573 else
49574 glibcxx_cv_func__isnanf_use=no
49576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49577 ac_ext=c
49578 ac_cpp='$CPP $CPPFLAGS'
49579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49588 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49590 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49591 for ac_func in _isnanf
49592 do :
49593 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49594 if test "x$ac_cv_func__isnanf" = xyes; then :
49595 cat >>confdefs.h <<_ACEOF
49596 #define HAVE__ISNANF 1
49597 _ACEOF
49600 done
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49610 $as_echo_n "checking for isinff declaration... " >&6; }
49611 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49612 if ${glibcxx_cv_func_isinff_use+:} false; then :
49613 $as_echo_n "(cached) " >&6
49614 else
49617 ac_ext=cpp
49618 ac_cpp='$CXXCPP $CPPFLAGS'
49619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49624 /* end confdefs.h. */
49625 #include <math.h>
49626 #ifdef HAVE_IEEEFP_H
49627 #include <ieeefp.h>
49628 #endif
49631 main ()
49633 isinff(0);
49635 return 0;
49637 _ACEOF
49638 if ac_fn_cxx_try_compile "$LINENO"; then :
49639 glibcxx_cv_func_isinff_use=yes
49640 else
49641 glibcxx_cv_func_isinff_use=no
49643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49644 ac_ext=c
49645 ac_cpp='$CPP $CPPFLAGS'
49646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49655 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49657 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49658 for ac_func in isinff
49659 do :
49660 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49661 if test "x$ac_cv_func_isinff" = xyes; then :
49662 cat >>confdefs.h <<_ACEOF
49663 #define HAVE_ISINFF 1
49664 _ACEOF
49667 done
49669 else
49671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49672 $as_echo_n "checking for _isinff declaration... " >&6; }
49673 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49674 if ${glibcxx_cv_func__isinff_use+:} false; then :
49675 $as_echo_n "(cached) " >&6
49676 else
49679 ac_ext=cpp
49680 ac_cpp='$CXXCPP $CPPFLAGS'
49681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49686 /* end confdefs.h. */
49687 #include <math.h>
49688 #ifdef HAVE_IEEEFP_H
49689 #include <ieeefp.h>
49690 #endif
49693 main ()
49695 _isinff(0);
49697 return 0;
49699 _ACEOF
49700 if ac_fn_cxx_try_compile "$LINENO"; then :
49701 glibcxx_cv_func__isinff_use=yes
49702 else
49703 glibcxx_cv_func__isinff_use=no
49705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49706 ac_ext=c
49707 ac_cpp='$CPP $CPPFLAGS'
49708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49717 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49719 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49720 for ac_func in _isinff
49721 do :
49722 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49723 if test "x$ac_cv_func__isinff" = xyes; then :
49724 cat >>confdefs.h <<_ACEOF
49725 #define HAVE__ISINFF 1
49726 _ACEOF
49729 done
49738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49739 $as_echo_n "checking for atan2f declaration... " >&6; }
49740 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49741 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49742 $as_echo_n "(cached) " >&6
49743 else
49746 ac_ext=cpp
49747 ac_cpp='$CXXCPP $CPPFLAGS'
49748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49753 /* end confdefs.h. */
49754 #include <math.h>
49756 main ()
49758 atan2f(0, 0);
49760 return 0;
49762 _ACEOF
49763 if ac_fn_cxx_try_compile "$LINENO"; then :
49764 glibcxx_cv_func_atan2f_use=yes
49765 else
49766 glibcxx_cv_func_atan2f_use=no
49768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49769 ac_ext=c
49770 ac_cpp='$CPP $CPPFLAGS'
49771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49780 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49782 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49783 for ac_func in atan2f
49784 do :
49785 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49786 if test "x$ac_cv_func_atan2f" = xyes; then :
49787 cat >>confdefs.h <<_ACEOF
49788 #define HAVE_ATAN2F 1
49789 _ACEOF
49792 done
49794 else
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49797 $as_echo_n "checking for _atan2f declaration... " >&6; }
49798 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49799 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49800 $as_echo_n "(cached) " >&6
49801 else
49804 ac_ext=cpp
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49811 /* end confdefs.h. */
49812 #include <math.h>
49814 main ()
49816 _atan2f(0, 0);
49818 return 0;
49820 _ACEOF
49821 if ac_fn_cxx_try_compile "$LINENO"; then :
49822 glibcxx_cv_func__atan2f_use=yes
49823 else
49824 glibcxx_cv_func__atan2f_use=no
49826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49827 ac_ext=c
49828 ac_cpp='$CPP $CPPFLAGS'
49829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49838 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49840 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49841 for ac_func in _atan2f
49842 do :
49843 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49844 if test "x$ac_cv_func__atan2f" = xyes; then :
49845 cat >>confdefs.h <<_ACEOF
49846 #define HAVE__ATAN2F 1
49847 _ACEOF
49850 done
49859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49860 $as_echo_n "checking for fabsf declaration... " >&6; }
49861 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49862 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49863 $as_echo_n "(cached) " >&6
49864 else
49867 ac_ext=cpp
49868 ac_cpp='$CXXCPP $CPPFLAGS'
49869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49874 /* end confdefs.h. */
49875 #include <math.h>
49876 #ifdef HAVE_IEEEFP_H
49877 #include <ieeefp.h>
49878 #endif
49881 main ()
49883 fabsf(0);
49885 return 0;
49887 _ACEOF
49888 if ac_fn_cxx_try_compile "$LINENO"; then :
49889 glibcxx_cv_func_fabsf_use=yes
49890 else
49891 glibcxx_cv_func_fabsf_use=no
49893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49894 ac_ext=c
49895 ac_cpp='$CPP $CPPFLAGS'
49896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49905 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49907 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49908 for ac_func in fabsf
49909 do :
49910 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49911 if test "x$ac_cv_func_fabsf" = xyes; then :
49912 cat >>confdefs.h <<_ACEOF
49913 #define HAVE_FABSF 1
49914 _ACEOF
49917 done
49919 else
49921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49922 $as_echo_n "checking for _fabsf declaration... " >&6; }
49923 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49924 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49925 $as_echo_n "(cached) " >&6
49926 else
49929 ac_ext=cpp
49930 ac_cpp='$CXXCPP $CPPFLAGS'
49931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49936 /* end confdefs.h. */
49937 #include <math.h>
49938 #ifdef HAVE_IEEEFP_H
49939 #include <ieeefp.h>
49940 #endif
49943 main ()
49945 _fabsf(0);
49947 return 0;
49949 _ACEOF
49950 if ac_fn_cxx_try_compile "$LINENO"; then :
49951 glibcxx_cv_func__fabsf_use=yes
49952 else
49953 glibcxx_cv_func__fabsf_use=no
49955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49956 ac_ext=c
49957 ac_cpp='$CPP $CPPFLAGS'
49958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49967 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49969 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49970 for ac_func in _fabsf
49971 do :
49972 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49973 if test "x$ac_cv_func__fabsf" = xyes; then :
49974 cat >>confdefs.h <<_ACEOF
49975 #define HAVE__FABSF 1
49976 _ACEOF
49979 done
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49989 $as_echo_n "checking for fmodf declaration... " >&6; }
49990 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49991 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49992 $as_echo_n "(cached) " >&6
49993 else
49996 ac_ext=cpp
49997 ac_cpp='$CXXCPP $CPPFLAGS'
49998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50003 /* end confdefs.h. */
50004 #include <math.h>
50006 main ()
50008 fmodf(0, 0);
50010 return 0;
50012 _ACEOF
50013 if ac_fn_cxx_try_compile "$LINENO"; then :
50014 glibcxx_cv_func_fmodf_use=yes
50015 else
50016 glibcxx_cv_func_fmodf_use=no
50018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50030 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50032 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50033 for ac_func in fmodf
50034 do :
50035 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50036 if test "x$ac_cv_func_fmodf" = xyes; then :
50037 cat >>confdefs.h <<_ACEOF
50038 #define HAVE_FMODF 1
50039 _ACEOF
50042 done
50044 else
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50047 $as_echo_n "checking for _fmodf declaration... " >&6; }
50048 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50049 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50064 main ()
50066 _fmodf(0, 0);
50068 return 0;
50070 _ACEOF
50071 if ac_fn_cxx_try_compile "$LINENO"; then :
50072 glibcxx_cv_func__fmodf_use=yes
50073 else
50074 glibcxx_cv_func__fmodf_use=no
50076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50077 ac_ext=c
50078 ac_cpp='$CPP $CPPFLAGS'
50079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50088 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50090 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50091 for ac_func in _fmodf
50092 do :
50093 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50094 if test "x$ac_cv_func__fmodf" = xyes; then :
50095 cat >>confdefs.h <<_ACEOF
50096 #define HAVE__FMODF 1
50097 _ACEOF
50100 done
50109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50110 $as_echo_n "checking for frexpf declaration... " >&6; }
50111 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50112 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50113 $as_echo_n "(cached) " >&6
50114 else
50117 ac_ext=cpp
50118 ac_cpp='$CXXCPP $CPPFLAGS'
50119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50124 /* end confdefs.h. */
50125 #include <math.h>
50127 main ()
50129 frexpf(0, 0);
50131 return 0;
50133 _ACEOF
50134 if ac_fn_cxx_try_compile "$LINENO"; then :
50135 glibcxx_cv_func_frexpf_use=yes
50136 else
50137 glibcxx_cv_func_frexpf_use=no
50139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50140 ac_ext=c
50141 ac_cpp='$CPP $CPPFLAGS'
50142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50151 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50153 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50154 for ac_func in frexpf
50155 do :
50156 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50157 if test "x$ac_cv_func_frexpf" = xyes; then :
50158 cat >>confdefs.h <<_ACEOF
50159 #define HAVE_FREXPF 1
50160 _ACEOF
50163 done
50165 else
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50168 $as_echo_n "checking for _frexpf declaration... " >&6; }
50169 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50170 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50171 $as_echo_n "(cached) " >&6
50172 else
50175 ac_ext=cpp
50176 ac_cpp='$CXXCPP $CPPFLAGS'
50177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50182 /* end confdefs.h. */
50183 #include <math.h>
50185 main ()
50187 _frexpf(0, 0);
50189 return 0;
50191 _ACEOF
50192 if ac_fn_cxx_try_compile "$LINENO"; then :
50193 glibcxx_cv_func__frexpf_use=yes
50194 else
50195 glibcxx_cv_func__frexpf_use=no
50197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50198 ac_ext=c
50199 ac_cpp='$CPP $CPPFLAGS'
50200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50209 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50211 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50212 for ac_func in _frexpf
50213 do :
50214 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50215 if test "x$ac_cv_func__frexpf" = xyes; then :
50216 cat >>confdefs.h <<_ACEOF
50217 #define HAVE__FREXPF 1
50218 _ACEOF
50221 done
50230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50231 $as_echo_n "checking for hypotf declaration... " >&6; }
50232 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50233 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50234 $as_echo_n "(cached) " >&6
50235 else
50238 ac_ext=cpp
50239 ac_cpp='$CXXCPP $CPPFLAGS'
50240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50245 /* end confdefs.h. */
50246 #include <math.h>
50248 main ()
50250 hypotf(0, 0);
50252 return 0;
50254 _ACEOF
50255 if ac_fn_cxx_try_compile "$LINENO"; then :
50256 glibcxx_cv_func_hypotf_use=yes
50257 else
50258 glibcxx_cv_func_hypotf_use=no
50260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50261 ac_ext=c
50262 ac_cpp='$CPP $CPPFLAGS'
50263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50272 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50274 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50275 for ac_func in hypotf
50276 do :
50277 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50278 if test "x$ac_cv_func_hypotf" = xyes; then :
50279 cat >>confdefs.h <<_ACEOF
50280 #define HAVE_HYPOTF 1
50281 _ACEOF
50284 done
50286 else
50288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50289 $as_echo_n "checking for _hypotf declaration... " >&6; }
50290 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50291 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50292 $as_echo_n "(cached) " >&6
50293 else
50296 ac_ext=cpp
50297 ac_cpp='$CXXCPP $CPPFLAGS'
50298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50303 /* end confdefs.h. */
50304 #include <math.h>
50306 main ()
50308 _hypotf(0, 0);
50310 return 0;
50312 _ACEOF
50313 if ac_fn_cxx_try_compile "$LINENO"; then :
50314 glibcxx_cv_func__hypotf_use=yes
50315 else
50316 glibcxx_cv_func__hypotf_use=no
50318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50319 ac_ext=c
50320 ac_cpp='$CPP $CPPFLAGS'
50321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50330 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50332 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50333 for ac_func in _hypotf
50334 do :
50335 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50336 if test "x$ac_cv_func__hypotf" = xyes; then :
50337 cat >>confdefs.h <<_ACEOF
50338 #define HAVE__HYPOTF 1
50339 _ACEOF
50342 done
50351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50352 $as_echo_n "checking for ldexpf declaration... " >&6; }
50353 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50354 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50355 $as_echo_n "(cached) " >&6
50356 else
50359 ac_ext=cpp
50360 ac_cpp='$CXXCPP $CPPFLAGS'
50361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50366 /* end confdefs.h. */
50367 #include <math.h>
50369 main ()
50371 ldexpf(0, 0);
50373 return 0;
50375 _ACEOF
50376 if ac_fn_cxx_try_compile "$LINENO"; then :
50377 glibcxx_cv_func_ldexpf_use=yes
50378 else
50379 glibcxx_cv_func_ldexpf_use=no
50381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50382 ac_ext=c
50383 ac_cpp='$CPP $CPPFLAGS'
50384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50393 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50395 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50396 for ac_func in ldexpf
50397 do :
50398 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50399 if test "x$ac_cv_func_ldexpf" = xyes; then :
50400 cat >>confdefs.h <<_ACEOF
50401 #define HAVE_LDEXPF 1
50402 _ACEOF
50405 done
50407 else
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50410 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50411 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50412 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50413 $as_echo_n "(cached) " >&6
50414 else
50417 ac_ext=cpp
50418 ac_cpp='$CXXCPP $CPPFLAGS'
50419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50424 /* end confdefs.h. */
50425 #include <math.h>
50427 main ()
50429 _ldexpf(0, 0);
50431 return 0;
50433 _ACEOF
50434 if ac_fn_cxx_try_compile "$LINENO"; then :
50435 glibcxx_cv_func__ldexpf_use=yes
50436 else
50437 glibcxx_cv_func__ldexpf_use=no
50439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50440 ac_ext=c
50441 ac_cpp='$CPP $CPPFLAGS'
50442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50451 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50453 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50454 for ac_func in _ldexpf
50455 do :
50456 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50457 if test "x$ac_cv_func__ldexpf" = xyes; then :
50458 cat >>confdefs.h <<_ACEOF
50459 #define HAVE__LDEXPF 1
50460 _ACEOF
50463 done
50472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50473 $as_echo_n "checking for logf declaration... " >&6; }
50474 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50475 if ${glibcxx_cv_func_logf_use+:} false; then :
50476 $as_echo_n "(cached) " >&6
50477 else
50480 ac_ext=cpp
50481 ac_cpp='$CXXCPP $CPPFLAGS'
50482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50487 /* end confdefs.h. */
50488 #include <math.h>
50489 #ifdef HAVE_IEEEFP_H
50490 #include <ieeefp.h>
50491 #endif
50494 main ()
50496 logf(0);
50498 return 0;
50500 _ACEOF
50501 if ac_fn_cxx_try_compile "$LINENO"; then :
50502 glibcxx_cv_func_logf_use=yes
50503 else
50504 glibcxx_cv_func_logf_use=no
50506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50507 ac_ext=c
50508 ac_cpp='$CPP $CPPFLAGS'
50509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50518 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50520 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50521 for ac_func in logf
50522 do :
50523 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50524 if test "x$ac_cv_func_logf" = xyes; then :
50525 cat >>confdefs.h <<_ACEOF
50526 #define HAVE_LOGF 1
50527 _ACEOF
50530 done
50532 else
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50535 $as_echo_n "checking for _logf declaration... " >&6; }
50536 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50537 if ${glibcxx_cv_func__logf_use+:} false; then :
50538 $as_echo_n "(cached) " >&6
50539 else
50542 ac_ext=cpp
50543 ac_cpp='$CXXCPP $CPPFLAGS'
50544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50549 /* end confdefs.h. */
50550 #include <math.h>
50551 #ifdef HAVE_IEEEFP_H
50552 #include <ieeefp.h>
50553 #endif
50556 main ()
50558 _logf(0);
50560 return 0;
50562 _ACEOF
50563 if ac_fn_cxx_try_compile "$LINENO"; then :
50564 glibcxx_cv_func__logf_use=yes
50565 else
50566 glibcxx_cv_func__logf_use=no
50568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50569 ac_ext=c
50570 ac_cpp='$CPP $CPPFLAGS'
50571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50580 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50582 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50583 for ac_func in _logf
50584 do :
50585 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50586 if test "x$ac_cv_func__logf" = xyes; then :
50587 cat >>confdefs.h <<_ACEOF
50588 #define HAVE__LOGF 1
50589 _ACEOF
50592 done
50601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50602 $as_echo_n "checking for log10f declaration... " >&6; }
50603 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50604 if ${glibcxx_cv_func_log10f_use+:} false; then :
50605 $as_echo_n "(cached) " >&6
50606 else
50609 ac_ext=cpp
50610 ac_cpp='$CXXCPP $CPPFLAGS'
50611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50616 /* end confdefs.h. */
50617 #include <math.h>
50618 #ifdef HAVE_IEEEFP_H
50619 #include <ieeefp.h>
50620 #endif
50623 main ()
50625 log10f(0);
50627 return 0;
50629 _ACEOF
50630 if ac_fn_cxx_try_compile "$LINENO"; then :
50631 glibcxx_cv_func_log10f_use=yes
50632 else
50633 glibcxx_cv_func_log10f_use=no
50635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50636 ac_ext=c
50637 ac_cpp='$CPP $CPPFLAGS'
50638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50647 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50649 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50650 for ac_func in log10f
50651 do :
50652 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50653 if test "x$ac_cv_func_log10f" = xyes; then :
50654 cat >>confdefs.h <<_ACEOF
50655 #define HAVE_LOG10F 1
50656 _ACEOF
50659 done
50661 else
50663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50664 $as_echo_n "checking for _log10f declaration... " >&6; }
50665 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50666 if ${glibcxx_cv_func__log10f_use+:} false; then :
50667 $as_echo_n "(cached) " >&6
50668 else
50671 ac_ext=cpp
50672 ac_cpp='$CXXCPP $CPPFLAGS'
50673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50678 /* end confdefs.h. */
50679 #include <math.h>
50680 #ifdef HAVE_IEEEFP_H
50681 #include <ieeefp.h>
50682 #endif
50685 main ()
50687 _log10f(0);
50689 return 0;
50691 _ACEOF
50692 if ac_fn_cxx_try_compile "$LINENO"; then :
50693 glibcxx_cv_func__log10f_use=yes
50694 else
50695 glibcxx_cv_func__log10f_use=no
50697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50698 ac_ext=c
50699 ac_cpp='$CPP $CPPFLAGS'
50700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50709 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50711 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50712 for ac_func in _log10f
50713 do :
50714 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50715 if test "x$ac_cv_func__log10f" = xyes; then :
50716 cat >>confdefs.h <<_ACEOF
50717 #define HAVE__LOG10F 1
50718 _ACEOF
50721 done
50730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50731 $as_echo_n "checking for modff declaration... " >&6; }
50732 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50733 if ${glibcxx_cv_func_modff_use+:} false; then :
50734 $as_echo_n "(cached) " >&6
50735 else
50738 ac_ext=cpp
50739 ac_cpp='$CXXCPP $CPPFLAGS'
50740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50745 /* end confdefs.h. */
50746 #include <math.h>
50748 main ()
50750 modff(0, 0);
50752 return 0;
50754 _ACEOF
50755 if ac_fn_cxx_try_compile "$LINENO"; then :
50756 glibcxx_cv_func_modff_use=yes
50757 else
50758 glibcxx_cv_func_modff_use=no
50760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50761 ac_ext=c
50762 ac_cpp='$CPP $CPPFLAGS'
50763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50772 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50774 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50775 for ac_func in modff
50776 do :
50777 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50778 if test "x$ac_cv_func_modff" = xyes; then :
50779 cat >>confdefs.h <<_ACEOF
50780 #define HAVE_MODFF 1
50781 _ACEOF
50784 done
50786 else
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50789 $as_echo_n "checking for _modff declaration... " >&6; }
50790 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50791 if ${glibcxx_cv_func__modff_use+:} false; then :
50792 $as_echo_n "(cached) " >&6
50793 else
50796 ac_ext=cpp
50797 ac_cpp='$CXXCPP $CPPFLAGS'
50798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50803 /* end confdefs.h. */
50804 #include <math.h>
50806 main ()
50808 _modff(0, 0);
50810 return 0;
50812 _ACEOF
50813 if ac_fn_cxx_try_compile "$LINENO"; then :
50814 glibcxx_cv_func__modff_use=yes
50815 else
50816 glibcxx_cv_func__modff_use=no
50818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50819 ac_ext=c
50820 ac_cpp='$CPP $CPPFLAGS'
50821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50830 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50832 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50833 for ac_func in _modff
50834 do :
50835 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50836 if test "x$ac_cv_func__modff" = xyes; then :
50837 cat >>confdefs.h <<_ACEOF
50838 #define HAVE__MODFF 1
50839 _ACEOF
50842 done
50851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50852 $as_echo_n "checking for modf declaration... " >&6; }
50853 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50854 if ${glibcxx_cv_func_modf_use+:} false; then :
50855 $as_echo_n "(cached) " >&6
50856 else
50859 ac_ext=cpp
50860 ac_cpp='$CXXCPP $CPPFLAGS'
50861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50866 /* end confdefs.h. */
50867 #include <math.h>
50869 main ()
50871 modf(0, 0);
50873 return 0;
50875 _ACEOF
50876 if ac_fn_cxx_try_compile "$LINENO"; then :
50877 glibcxx_cv_func_modf_use=yes
50878 else
50879 glibcxx_cv_func_modf_use=no
50881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50882 ac_ext=c
50883 ac_cpp='$CPP $CPPFLAGS'
50884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50893 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50895 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50896 for ac_func in modf
50897 do :
50898 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50899 if test "x$ac_cv_func_modf" = xyes; then :
50900 cat >>confdefs.h <<_ACEOF
50901 #define HAVE_MODF 1
50902 _ACEOF
50905 done
50907 else
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50910 $as_echo_n "checking for _modf declaration... " >&6; }
50911 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50912 if ${glibcxx_cv_func__modf_use+:} false; then :
50913 $as_echo_n "(cached) " >&6
50914 else
50917 ac_ext=cpp
50918 ac_cpp='$CXXCPP $CPPFLAGS'
50919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50924 /* end confdefs.h. */
50925 #include <math.h>
50927 main ()
50929 _modf(0, 0);
50931 return 0;
50933 _ACEOF
50934 if ac_fn_cxx_try_compile "$LINENO"; then :
50935 glibcxx_cv_func__modf_use=yes
50936 else
50937 glibcxx_cv_func__modf_use=no
50939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50940 ac_ext=c
50941 ac_cpp='$CPP $CPPFLAGS'
50942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50951 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50953 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50954 for ac_func in _modf
50955 do :
50956 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50957 if test "x$ac_cv_func__modf" = xyes; then :
50958 cat >>confdefs.h <<_ACEOF
50959 #define HAVE__MODF 1
50960 _ACEOF
50963 done
50972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50973 $as_echo_n "checking for powf declaration... " >&6; }
50974 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50975 if ${glibcxx_cv_func_powf_use+:} false; then :
50976 $as_echo_n "(cached) " >&6
50977 else
50980 ac_ext=cpp
50981 ac_cpp='$CXXCPP $CPPFLAGS'
50982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50987 /* end confdefs.h. */
50988 #include <math.h>
50990 main ()
50992 powf(0, 0);
50994 return 0;
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func_powf_use=yes
50999 else
51000 glibcxx_cv_func_powf_use=no
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51014 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51016 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51017 for ac_func in powf
51018 do :
51019 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51020 if test "x$ac_cv_func_powf" = xyes; then :
51021 cat >>confdefs.h <<_ACEOF
51022 #define HAVE_POWF 1
51023 _ACEOF
51026 done
51028 else
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51031 $as_echo_n "checking for _powf declaration... " >&6; }
51032 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51033 if ${glibcxx_cv_func__powf_use+:} false; then :
51034 $as_echo_n "(cached) " >&6
51035 else
51038 ac_ext=cpp
51039 ac_cpp='$CXXCPP $CPPFLAGS'
51040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51045 /* end confdefs.h. */
51046 #include <math.h>
51048 main ()
51050 _powf(0, 0);
51052 return 0;
51054 _ACEOF
51055 if ac_fn_cxx_try_compile "$LINENO"; then :
51056 glibcxx_cv_func__powf_use=yes
51057 else
51058 glibcxx_cv_func__powf_use=no
51060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51061 ac_ext=c
51062 ac_cpp='$CPP $CPPFLAGS'
51063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51072 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51074 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51075 for ac_func in _powf
51076 do :
51077 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51078 if test "x$ac_cv_func__powf" = xyes; then :
51079 cat >>confdefs.h <<_ACEOF
51080 #define HAVE__POWF 1
51081 _ACEOF
51084 done
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51094 $as_echo_n "checking for sqrtf declaration... " >&6; }
51095 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51096 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51097 $as_echo_n "(cached) " >&6
51098 else
51101 ac_ext=cpp
51102 ac_cpp='$CXXCPP $CPPFLAGS'
51103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51108 /* end confdefs.h. */
51109 #include <math.h>
51110 #ifdef HAVE_IEEEFP_H
51111 #include <ieeefp.h>
51112 #endif
51115 main ()
51117 sqrtf(0);
51119 return 0;
51121 _ACEOF
51122 if ac_fn_cxx_try_compile "$LINENO"; then :
51123 glibcxx_cv_func_sqrtf_use=yes
51124 else
51125 glibcxx_cv_func_sqrtf_use=no
51127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51128 ac_ext=c
51129 ac_cpp='$CPP $CPPFLAGS'
51130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51139 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51141 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51142 for ac_func in sqrtf
51143 do :
51144 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51145 if test "x$ac_cv_func_sqrtf" = xyes; then :
51146 cat >>confdefs.h <<_ACEOF
51147 #define HAVE_SQRTF 1
51148 _ACEOF
51151 done
51153 else
51155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51156 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51157 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51158 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51159 $as_echo_n "(cached) " >&6
51160 else
51163 ac_ext=cpp
51164 ac_cpp='$CXXCPP $CPPFLAGS'
51165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51170 /* end confdefs.h. */
51171 #include <math.h>
51172 #ifdef HAVE_IEEEFP_H
51173 #include <ieeefp.h>
51174 #endif
51177 main ()
51179 _sqrtf(0);
51181 return 0;
51183 _ACEOF
51184 if ac_fn_cxx_try_compile "$LINENO"; then :
51185 glibcxx_cv_func__sqrtf_use=yes
51186 else
51187 glibcxx_cv_func__sqrtf_use=no
51189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51190 ac_ext=c
51191 ac_cpp='$CPP $CPPFLAGS'
51192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51201 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51203 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51204 for ac_func in _sqrtf
51205 do :
51206 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51207 if test "x$ac_cv_func__sqrtf" = xyes; then :
51208 cat >>confdefs.h <<_ACEOF
51209 #define HAVE__SQRTF 1
51210 _ACEOF
51213 done
51222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51223 $as_echo_n "checking for sincosf declaration... " >&6; }
51224 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51225 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51226 $as_echo_n "(cached) " >&6
51227 else
51230 ac_ext=cpp
51231 ac_cpp='$CXXCPP $CPPFLAGS'
51232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51237 /* end confdefs.h. */
51238 #include <math.h>
51240 main ()
51242 sincosf(0, 0, 0);
51244 return 0;
51246 _ACEOF
51247 if ac_fn_cxx_try_compile "$LINENO"; then :
51248 glibcxx_cv_func_sincosf_use=yes
51249 else
51250 glibcxx_cv_func_sincosf_use=no
51252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51253 ac_ext=c
51254 ac_cpp='$CPP $CPPFLAGS'
51255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51264 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51266 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51267 for ac_func in sincosf
51268 do :
51269 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51270 if test "x$ac_cv_func_sincosf" = xyes; then :
51271 cat >>confdefs.h <<_ACEOF
51272 #define HAVE_SINCOSF 1
51273 _ACEOF
51276 done
51278 else
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51281 $as_echo_n "checking for _sincosf declaration... " >&6; }
51282 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51283 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51284 $as_echo_n "(cached) " >&6
51285 else
51288 ac_ext=cpp
51289 ac_cpp='$CXXCPP $CPPFLAGS'
51290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51295 /* end confdefs.h. */
51296 #include <math.h>
51298 main ()
51300 _sincosf(0, 0, 0);
51302 return 0;
51304 _ACEOF
51305 if ac_fn_cxx_try_compile "$LINENO"; then :
51306 glibcxx_cv_func__sincosf_use=yes
51307 else
51308 glibcxx_cv_func__sincosf_use=no
51310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51311 ac_ext=c
51312 ac_cpp='$CPP $CPPFLAGS'
51313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51322 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51324 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51325 for ac_func in _sincosf
51326 do :
51327 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51328 if test "x$ac_cv_func__sincosf" = xyes; then :
51329 cat >>confdefs.h <<_ACEOF
51330 #define HAVE__SINCOSF 1
51331 _ACEOF
51334 done
51343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51344 $as_echo_n "checking for finitef declaration... " >&6; }
51345 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51346 if ${glibcxx_cv_func_finitef_use+:} false; then :
51347 $as_echo_n "(cached) " >&6
51348 else
51351 ac_ext=cpp
51352 ac_cpp='$CXXCPP $CPPFLAGS'
51353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51358 /* end confdefs.h. */
51359 #include <math.h>
51360 #ifdef HAVE_IEEEFP_H
51361 #include <ieeefp.h>
51362 #endif
51365 main ()
51367 finitef(0);
51369 return 0;
51371 _ACEOF
51372 if ac_fn_cxx_try_compile "$LINENO"; then :
51373 glibcxx_cv_func_finitef_use=yes
51374 else
51375 glibcxx_cv_func_finitef_use=no
51377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51378 ac_ext=c
51379 ac_cpp='$CPP $CPPFLAGS'
51380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51389 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51391 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51392 for ac_func in finitef
51393 do :
51394 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51395 if test "x$ac_cv_func_finitef" = xyes; then :
51396 cat >>confdefs.h <<_ACEOF
51397 #define HAVE_FINITEF 1
51398 _ACEOF
51401 done
51403 else
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51406 $as_echo_n "checking for _finitef declaration... " >&6; }
51407 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51408 if ${glibcxx_cv_func__finitef_use+:} false; then :
51409 $as_echo_n "(cached) " >&6
51410 else
51413 ac_ext=cpp
51414 ac_cpp='$CXXCPP $CPPFLAGS'
51415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51420 /* end confdefs.h. */
51421 #include <math.h>
51422 #ifdef HAVE_IEEEFP_H
51423 #include <ieeefp.h>
51424 #endif
51427 main ()
51429 _finitef(0);
51431 return 0;
51433 _ACEOF
51434 if ac_fn_cxx_try_compile "$LINENO"; then :
51435 glibcxx_cv_func__finitef_use=yes
51436 else
51437 glibcxx_cv_func__finitef_use=no
51439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51440 ac_ext=c
51441 ac_cpp='$CPP $CPPFLAGS'
51442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51451 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51453 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51454 for ac_func in _finitef
51455 do :
51456 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51457 if test "x$ac_cv_func__finitef" = xyes; then :
51458 cat >>confdefs.h <<_ACEOF
51459 #define HAVE__FINITEF 1
51460 _ACEOF
51463 done
51472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51473 $as_echo_n "checking for long double trig functions... " >&6; }
51474 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51475 $as_echo_n "(cached) " >&6
51476 else
51479 ac_ext=cpp
51480 ac_cpp='$CXXCPP $CPPFLAGS'
51481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51486 /* end confdefs.h. */
51487 #include <math.h>
51489 main ()
51491 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51493 return 0;
51495 _ACEOF
51496 if ac_fn_cxx_try_compile "$LINENO"; then :
51497 glibcxx_cv_func_long_double_trig_use=yes
51498 else
51499 glibcxx_cv_func_long_double_trig_use=no
51501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51502 ac_ext=c
51503 ac_cpp='$CPP $CPPFLAGS'
51504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51511 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51512 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51513 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51514 do :
51515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51518 cat >>confdefs.h <<_ACEOF
51519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51520 _ACEOF
51523 done
51525 else
51526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51527 $as_echo_n "checking for _long double trig functions... " >&6; }
51528 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51529 $as_echo_n "(cached) " >&6
51530 else
51533 ac_ext=cpp
51534 ac_cpp='$CXXCPP $CPPFLAGS'
51535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51540 /* end confdefs.h. */
51541 #include <math.h>
51543 main ()
51545 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51547 return 0;
51549 _ACEOF
51550 if ac_fn_cxx_try_compile "$LINENO"; then :
51551 glibcxx_cv_func__long_double_trig_use=yes
51552 else
51553 glibcxx_cv_func__long_double_trig_use=no
51555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51556 ac_ext=c
51557 ac_cpp='$CPP $CPPFLAGS'
51558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51565 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51566 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51567 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51568 do :
51569 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51570 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51572 cat >>confdefs.h <<_ACEOF
51573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51574 _ACEOF
51577 done
51586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51587 $as_echo_n "checking for long double round functions... " >&6; }
51588 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51589 $as_echo_n "(cached) " >&6
51590 else
51593 ac_ext=cpp
51594 ac_cpp='$CXXCPP $CPPFLAGS'
51595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51600 /* end confdefs.h. */
51601 #include <math.h>
51603 main ()
51605 ceill (0); floorl (0);
51607 return 0;
51609 _ACEOF
51610 if ac_fn_cxx_try_compile "$LINENO"; then :
51611 glibcxx_cv_func_long_double_round_use=yes
51612 else
51613 glibcxx_cv_func_long_double_round_use=no
51615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51616 ac_ext=c
51617 ac_cpp='$CPP $CPPFLAGS'
51618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51625 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51626 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51627 for ac_func in ceill floorl
51628 do :
51629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51632 cat >>confdefs.h <<_ACEOF
51633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51634 _ACEOF
51637 done
51639 else
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51641 $as_echo_n "checking for _long double round functions... " >&6; }
51642 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51643 $as_echo_n "(cached) " >&6
51644 else
51647 ac_ext=cpp
51648 ac_cpp='$CXXCPP $CPPFLAGS'
51649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51654 /* end confdefs.h. */
51655 #include <math.h>
51657 main ()
51659 _ceill (0); _floorl (0);
51661 return 0;
51663 _ACEOF
51664 if ac_fn_cxx_try_compile "$LINENO"; then :
51665 glibcxx_cv_func__long_double_round_use=yes
51666 else
51667 glibcxx_cv_func__long_double_round_use=no
51669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51670 ac_ext=c
51671 ac_cpp='$CPP $CPPFLAGS'
51672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51679 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51680 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51681 for ac_func in _ceill _floorl
51682 do :
51683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51685 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51686 cat >>confdefs.h <<_ACEOF
51687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51688 _ACEOF
51691 done
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51702 $as_echo_n "checking for isnanl declaration... " >&6; }
51703 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51704 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51705 $as_echo_n "(cached) " >&6
51706 else
51709 ac_ext=cpp
51710 ac_cpp='$CXXCPP $CPPFLAGS'
51711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51716 /* end confdefs.h. */
51717 #include <math.h>
51718 #ifdef HAVE_IEEEFP_H
51719 #include <ieeefp.h>
51720 #endif
51723 main ()
51725 isnanl(0);
51727 return 0;
51729 _ACEOF
51730 if ac_fn_cxx_try_compile "$LINENO"; then :
51731 glibcxx_cv_func_isnanl_use=yes
51732 else
51733 glibcxx_cv_func_isnanl_use=no
51735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51736 ac_ext=c
51737 ac_cpp='$CPP $CPPFLAGS'
51738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51747 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51749 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51750 for ac_func in isnanl
51751 do :
51752 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51753 if test "x$ac_cv_func_isnanl" = xyes; then :
51754 cat >>confdefs.h <<_ACEOF
51755 #define HAVE_ISNANL 1
51756 _ACEOF
51759 done
51761 else
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51764 $as_echo_n "checking for _isnanl declaration... " >&6; }
51765 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51766 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51767 $as_echo_n "(cached) " >&6
51768 else
51771 ac_ext=cpp
51772 ac_cpp='$CXXCPP $CPPFLAGS'
51773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51778 /* end confdefs.h. */
51779 #include <math.h>
51780 #ifdef HAVE_IEEEFP_H
51781 #include <ieeefp.h>
51782 #endif
51785 main ()
51787 _isnanl(0);
51789 return 0;
51791 _ACEOF
51792 if ac_fn_cxx_try_compile "$LINENO"; then :
51793 glibcxx_cv_func__isnanl_use=yes
51794 else
51795 glibcxx_cv_func__isnanl_use=no
51797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51798 ac_ext=c
51799 ac_cpp='$CPP $CPPFLAGS'
51800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51809 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51811 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51812 for ac_func in _isnanl
51813 do :
51814 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51815 if test "x$ac_cv_func__isnanl" = xyes; then :
51816 cat >>confdefs.h <<_ACEOF
51817 #define HAVE__ISNANL 1
51818 _ACEOF
51821 done
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51831 $as_echo_n "checking for isinfl declaration... " >&6; }
51832 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51833 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51834 $as_echo_n "(cached) " >&6
51835 else
51838 ac_ext=cpp
51839 ac_cpp='$CXXCPP $CPPFLAGS'
51840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51845 /* end confdefs.h. */
51846 #include <math.h>
51847 #ifdef HAVE_IEEEFP_H
51848 #include <ieeefp.h>
51849 #endif
51852 main ()
51854 isinfl(0);
51856 return 0;
51858 _ACEOF
51859 if ac_fn_cxx_try_compile "$LINENO"; then :
51860 glibcxx_cv_func_isinfl_use=yes
51861 else
51862 glibcxx_cv_func_isinfl_use=no
51864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51865 ac_ext=c
51866 ac_cpp='$CPP $CPPFLAGS'
51867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51876 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51878 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51879 for ac_func in isinfl
51880 do :
51881 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51882 if test "x$ac_cv_func_isinfl" = xyes; then :
51883 cat >>confdefs.h <<_ACEOF
51884 #define HAVE_ISINFL 1
51885 _ACEOF
51888 done
51890 else
51892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51893 $as_echo_n "checking for _isinfl declaration... " >&6; }
51894 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51895 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51896 $as_echo_n "(cached) " >&6
51897 else
51900 ac_ext=cpp
51901 ac_cpp='$CXXCPP $CPPFLAGS'
51902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51907 /* end confdefs.h. */
51908 #include <math.h>
51909 #ifdef HAVE_IEEEFP_H
51910 #include <ieeefp.h>
51911 #endif
51914 main ()
51916 _isinfl(0);
51918 return 0;
51920 _ACEOF
51921 if ac_fn_cxx_try_compile "$LINENO"; then :
51922 glibcxx_cv_func__isinfl_use=yes
51923 else
51924 glibcxx_cv_func__isinfl_use=no
51926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51927 ac_ext=c
51928 ac_cpp='$CPP $CPPFLAGS'
51929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51938 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51940 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51941 for ac_func in _isinfl
51942 do :
51943 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51944 if test "x$ac_cv_func__isinfl" = xyes; then :
51945 cat >>confdefs.h <<_ACEOF
51946 #define HAVE__ISINFL 1
51947 _ACEOF
51950 done
51959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51960 $as_echo_n "checking for atan2l declaration... " >&6; }
51961 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51962 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51963 $as_echo_n "(cached) " >&6
51964 else
51967 ac_ext=cpp
51968 ac_cpp='$CXXCPP $CPPFLAGS'
51969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51974 /* end confdefs.h. */
51975 #include <math.h>
51977 main ()
51979 atan2l(0, 0);
51981 return 0;
51983 _ACEOF
51984 if ac_fn_cxx_try_compile "$LINENO"; then :
51985 glibcxx_cv_func_atan2l_use=yes
51986 else
51987 glibcxx_cv_func_atan2l_use=no
51989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51990 ac_ext=c
51991 ac_cpp='$CPP $CPPFLAGS'
51992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52001 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52003 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52004 for ac_func in atan2l
52005 do :
52006 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52007 if test "x$ac_cv_func_atan2l" = xyes; then :
52008 cat >>confdefs.h <<_ACEOF
52009 #define HAVE_ATAN2L 1
52010 _ACEOF
52013 done
52015 else
52017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52018 $as_echo_n "checking for _atan2l declaration... " >&6; }
52019 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52020 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52021 $as_echo_n "(cached) " >&6
52022 else
52025 ac_ext=cpp
52026 ac_cpp='$CXXCPP $CPPFLAGS'
52027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52032 /* end confdefs.h. */
52033 #include <math.h>
52035 main ()
52037 _atan2l(0, 0);
52039 return 0;
52041 _ACEOF
52042 if ac_fn_cxx_try_compile "$LINENO"; then :
52043 glibcxx_cv_func__atan2l_use=yes
52044 else
52045 glibcxx_cv_func__atan2l_use=no
52047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52048 ac_ext=c
52049 ac_cpp='$CPP $CPPFLAGS'
52050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52059 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52061 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52062 for ac_func in _atan2l
52063 do :
52064 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52065 if test "x$ac_cv_func__atan2l" = xyes; then :
52066 cat >>confdefs.h <<_ACEOF
52067 #define HAVE__ATAN2L 1
52068 _ACEOF
52071 done
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52081 $as_echo_n "checking for expl declaration... " >&6; }
52082 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52083 if ${glibcxx_cv_func_expl_use+:} false; then :
52084 $as_echo_n "(cached) " >&6
52085 else
52088 ac_ext=cpp
52089 ac_cpp='$CXXCPP $CPPFLAGS'
52090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52095 /* end confdefs.h. */
52096 #include <math.h>
52097 #ifdef HAVE_IEEEFP_H
52098 #include <ieeefp.h>
52099 #endif
52102 main ()
52104 expl(0);
52106 return 0;
52108 _ACEOF
52109 if ac_fn_cxx_try_compile "$LINENO"; then :
52110 glibcxx_cv_func_expl_use=yes
52111 else
52112 glibcxx_cv_func_expl_use=no
52114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52115 ac_ext=c
52116 ac_cpp='$CPP $CPPFLAGS'
52117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52126 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52128 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52129 for ac_func in expl
52130 do :
52131 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52132 if test "x$ac_cv_func_expl" = xyes; then :
52133 cat >>confdefs.h <<_ACEOF
52134 #define HAVE_EXPL 1
52135 _ACEOF
52138 done
52140 else
52142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52143 $as_echo_n "checking for _expl declaration... " >&6; }
52144 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52145 if ${glibcxx_cv_func__expl_use+:} false; then :
52146 $as_echo_n "(cached) " >&6
52147 else
52150 ac_ext=cpp
52151 ac_cpp='$CXXCPP $CPPFLAGS'
52152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52157 /* end confdefs.h. */
52158 #include <math.h>
52159 #ifdef HAVE_IEEEFP_H
52160 #include <ieeefp.h>
52161 #endif
52164 main ()
52166 _expl(0);
52168 return 0;
52170 _ACEOF
52171 if ac_fn_cxx_try_compile "$LINENO"; then :
52172 glibcxx_cv_func__expl_use=yes
52173 else
52174 glibcxx_cv_func__expl_use=no
52176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52177 ac_ext=c
52178 ac_cpp='$CPP $CPPFLAGS'
52179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52188 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52190 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52191 for ac_func in _expl
52192 do :
52193 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52194 if test "x$ac_cv_func__expl" = xyes; then :
52195 cat >>confdefs.h <<_ACEOF
52196 #define HAVE__EXPL 1
52197 _ACEOF
52200 done
52209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52210 $as_echo_n "checking for fabsl declaration... " >&6; }
52211 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52212 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52213 $as_echo_n "(cached) " >&6
52214 else
52217 ac_ext=cpp
52218 ac_cpp='$CXXCPP $CPPFLAGS'
52219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52224 /* end confdefs.h. */
52225 #include <math.h>
52226 #ifdef HAVE_IEEEFP_H
52227 #include <ieeefp.h>
52228 #endif
52231 main ()
52233 fabsl(0);
52235 return 0;
52237 _ACEOF
52238 if ac_fn_cxx_try_compile "$LINENO"; then :
52239 glibcxx_cv_func_fabsl_use=yes
52240 else
52241 glibcxx_cv_func_fabsl_use=no
52243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52244 ac_ext=c
52245 ac_cpp='$CPP $CPPFLAGS'
52246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52255 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52257 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52258 for ac_func in fabsl
52259 do :
52260 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52261 if test "x$ac_cv_func_fabsl" = xyes; then :
52262 cat >>confdefs.h <<_ACEOF
52263 #define HAVE_FABSL 1
52264 _ACEOF
52267 done
52269 else
52271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52272 $as_echo_n "checking for _fabsl declaration... " >&6; }
52273 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52274 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52275 $as_echo_n "(cached) " >&6
52276 else
52279 ac_ext=cpp
52280 ac_cpp='$CXXCPP $CPPFLAGS'
52281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52286 /* end confdefs.h. */
52287 #include <math.h>
52288 #ifdef HAVE_IEEEFP_H
52289 #include <ieeefp.h>
52290 #endif
52293 main ()
52295 _fabsl(0);
52297 return 0;
52299 _ACEOF
52300 if ac_fn_cxx_try_compile "$LINENO"; then :
52301 glibcxx_cv_func__fabsl_use=yes
52302 else
52303 glibcxx_cv_func__fabsl_use=no
52305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52306 ac_ext=c
52307 ac_cpp='$CPP $CPPFLAGS'
52308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52317 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52319 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52320 for ac_func in _fabsl
52321 do :
52322 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52323 if test "x$ac_cv_func__fabsl" = xyes; then :
52324 cat >>confdefs.h <<_ACEOF
52325 #define HAVE__FABSL 1
52326 _ACEOF
52329 done
52338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52339 $as_echo_n "checking for fmodl declaration... " >&6; }
52340 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52341 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52342 $as_echo_n "(cached) " >&6
52343 else
52346 ac_ext=cpp
52347 ac_cpp='$CXXCPP $CPPFLAGS'
52348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52353 /* end confdefs.h. */
52354 #include <math.h>
52356 main ()
52358 fmodl(0, 0);
52360 return 0;
52362 _ACEOF
52363 if ac_fn_cxx_try_compile "$LINENO"; then :
52364 glibcxx_cv_func_fmodl_use=yes
52365 else
52366 glibcxx_cv_func_fmodl_use=no
52368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52369 ac_ext=c
52370 ac_cpp='$CPP $CPPFLAGS'
52371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52380 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52382 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52383 for ac_func in fmodl
52384 do :
52385 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52386 if test "x$ac_cv_func_fmodl" = xyes; then :
52387 cat >>confdefs.h <<_ACEOF
52388 #define HAVE_FMODL 1
52389 _ACEOF
52392 done
52394 else
52396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52397 $as_echo_n "checking for _fmodl declaration... " >&6; }
52398 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52399 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52400 $as_echo_n "(cached) " >&6
52401 else
52404 ac_ext=cpp
52405 ac_cpp='$CXXCPP $CPPFLAGS'
52406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52411 /* end confdefs.h. */
52412 #include <math.h>
52414 main ()
52416 _fmodl(0, 0);
52418 return 0;
52420 _ACEOF
52421 if ac_fn_cxx_try_compile "$LINENO"; then :
52422 glibcxx_cv_func__fmodl_use=yes
52423 else
52424 glibcxx_cv_func__fmodl_use=no
52426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52427 ac_ext=c
52428 ac_cpp='$CPP $CPPFLAGS'
52429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52438 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52440 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52441 for ac_func in _fmodl
52442 do :
52443 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52444 if test "x$ac_cv_func__fmodl" = xyes; then :
52445 cat >>confdefs.h <<_ACEOF
52446 #define HAVE__FMODL 1
52447 _ACEOF
52450 done
52459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52460 $as_echo_n "checking for frexpl declaration... " >&6; }
52461 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52462 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52463 $as_echo_n "(cached) " >&6
52464 else
52467 ac_ext=cpp
52468 ac_cpp='$CXXCPP $CPPFLAGS'
52469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52474 /* end confdefs.h. */
52475 #include <math.h>
52477 main ()
52479 frexpl(0, 0);
52481 return 0;
52483 _ACEOF
52484 if ac_fn_cxx_try_compile "$LINENO"; then :
52485 glibcxx_cv_func_frexpl_use=yes
52486 else
52487 glibcxx_cv_func_frexpl_use=no
52489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52490 ac_ext=c
52491 ac_cpp='$CPP $CPPFLAGS'
52492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52501 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52503 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52504 for ac_func in frexpl
52505 do :
52506 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52507 if test "x$ac_cv_func_frexpl" = xyes; then :
52508 cat >>confdefs.h <<_ACEOF
52509 #define HAVE_FREXPL 1
52510 _ACEOF
52513 done
52515 else
52517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52518 $as_echo_n "checking for _frexpl declaration... " >&6; }
52519 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52520 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52521 $as_echo_n "(cached) " >&6
52522 else
52525 ac_ext=cpp
52526 ac_cpp='$CXXCPP $CPPFLAGS'
52527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52532 /* end confdefs.h. */
52533 #include <math.h>
52535 main ()
52537 _frexpl(0, 0);
52539 return 0;
52541 _ACEOF
52542 if ac_fn_cxx_try_compile "$LINENO"; then :
52543 glibcxx_cv_func__frexpl_use=yes
52544 else
52545 glibcxx_cv_func__frexpl_use=no
52547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52548 ac_ext=c
52549 ac_cpp='$CPP $CPPFLAGS'
52550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52559 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52561 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52562 for ac_func in _frexpl
52563 do :
52564 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52565 if test "x$ac_cv_func__frexpl" = xyes; then :
52566 cat >>confdefs.h <<_ACEOF
52567 #define HAVE__FREXPL 1
52568 _ACEOF
52571 done
52580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52581 $as_echo_n "checking for hypotl declaration... " >&6; }
52582 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52583 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52584 $as_echo_n "(cached) " >&6
52585 else
52588 ac_ext=cpp
52589 ac_cpp='$CXXCPP $CPPFLAGS'
52590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52595 /* end confdefs.h. */
52596 #include <math.h>
52598 main ()
52600 hypotl(0, 0);
52602 return 0;
52604 _ACEOF
52605 if ac_fn_cxx_try_compile "$LINENO"; then :
52606 glibcxx_cv_func_hypotl_use=yes
52607 else
52608 glibcxx_cv_func_hypotl_use=no
52610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52611 ac_ext=c
52612 ac_cpp='$CPP $CPPFLAGS'
52613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52622 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52624 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52625 for ac_func in hypotl
52626 do :
52627 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52628 if test "x$ac_cv_func_hypotl" = xyes; then :
52629 cat >>confdefs.h <<_ACEOF
52630 #define HAVE_HYPOTL 1
52631 _ACEOF
52634 done
52636 else
52638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52639 $as_echo_n "checking for _hypotl declaration... " >&6; }
52640 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52641 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52642 $as_echo_n "(cached) " >&6
52643 else
52646 ac_ext=cpp
52647 ac_cpp='$CXXCPP $CPPFLAGS'
52648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52653 /* end confdefs.h. */
52654 #include <math.h>
52656 main ()
52658 _hypotl(0, 0);
52660 return 0;
52662 _ACEOF
52663 if ac_fn_cxx_try_compile "$LINENO"; then :
52664 glibcxx_cv_func__hypotl_use=yes
52665 else
52666 glibcxx_cv_func__hypotl_use=no
52668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52669 ac_ext=c
52670 ac_cpp='$CPP $CPPFLAGS'
52671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52680 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52682 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52683 for ac_func in _hypotl
52684 do :
52685 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52686 if test "x$ac_cv_func__hypotl" = xyes; then :
52687 cat >>confdefs.h <<_ACEOF
52688 #define HAVE__HYPOTL 1
52689 _ACEOF
52692 done
52701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52702 $as_echo_n "checking for ldexpl declaration... " >&6; }
52703 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52704 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52705 $as_echo_n "(cached) " >&6
52706 else
52709 ac_ext=cpp
52710 ac_cpp='$CXXCPP $CPPFLAGS'
52711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52716 /* end confdefs.h. */
52717 #include <math.h>
52719 main ()
52721 ldexpl(0, 0);
52723 return 0;
52725 _ACEOF
52726 if ac_fn_cxx_try_compile "$LINENO"; then :
52727 glibcxx_cv_func_ldexpl_use=yes
52728 else
52729 glibcxx_cv_func_ldexpl_use=no
52731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52732 ac_ext=c
52733 ac_cpp='$CPP $CPPFLAGS'
52734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52743 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52745 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52746 for ac_func in ldexpl
52747 do :
52748 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52749 if test "x$ac_cv_func_ldexpl" = xyes; then :
52750 cat >>confdefs.h <<_ACEOF
52751 #define HAVE_LDEXPL 1
52752 _ACEOF
52755 done
52757 else
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52760 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52761 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52762 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52763 $as_echo_n "(cached) " >&6
52764 else
52767 ac_ext=cpp
52768 ac_cpp='$CXXCPP $CPPFLAGS'
52769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52774 /* end confdefs.h. */
52775 #include <math.h>
52777 main ()
52779 _ldexpl(0, 0);
52781 return 0;
52783 _ACEOF
52784 if ac_fn_cxx_try_compile "$LINENO"; then :
52785 glibcxx_cv_func__ldexpl_use=yes
52786 else
52787 glibcxx_cv_func__ldexpl_use=no
52789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52790 ac_ext=c
52791 ac_cpp='$CPP $CPPFLAGS'
52792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52801 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52803 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52804 for ac_func in _ldexpl
52805 do :
52806 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52807 if test "x$ac_cv_func__ldexpl" = xyes; then :
52808 cat >>confdefs.h <<_ACEOF
52809 #define HAVE__LDEXPL 1
52810 _ACEOF
52813 done
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52823 $as_echo_n "checking for logl declaration... " >&6; }
52824 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52825 if ${glibcxx_cv_func_logl_use+:} false; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52839 #ifdef HAVE_IEEEFP_H
52840 #include <ieeefp.h>
52841 #endif
52844 main ()
52846 logl(0);
52848 return 0;
52850 _ACEOF
52851 if ac_fn_cxx_try_compile "$LINENO"; then :
52852 glibcxx_cv_func_logl_use=yes
52853 else
52854 glibcxx_cv_func_logl_use=no
52856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52857 ac_ext=c
52858 ac_cpp='$CPP $CPPFLAGS'
52859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52868 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52870 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52871 for ac_func in logl
52872 do :
52873 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52874 if test "x$ac_cv_func_logl" = xyes; then :
52875 cat >>confdefs.h <<_ACEOF
52876 #define HAVE_LOGL 1
52877 _ACEOF
52880 done
52882 else
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52885 $as_echo_n "checking for _logl declaration... " >&6; }
52886 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52887 if ${glibcxx_cv_func__logl_use+:} false; then :
52888 $as_echo_n "(cached) " >&6
52889 else
52892 ac_ext=cpp
52893 ac_cpp='$CXXCPP $CPPFLAGS'
52894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52899 /* end confdefs.h. */
52900 #include <math.h>
52901 #ifdef HAVE_IEEEFP_H
52902 #include <ieeefp.h>
52903 #endif
52906 main ()
52908 _logl(0);
52910 return 0;
52912 _ACEOF
52913 if ac_fn_cxx_try_compile "$LINENO"; then :
52914 glibcxx_cv_func__logl_use=yes
52915 else
52916 glibcxx_cv_func__logl_use=no
52918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52919 ac_ext=c
52920 ac_cpp='$CPP $CPPFLAGS'
52921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52930 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52932 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52933 for ac_func in _logl
52934 do :
52935 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52936 if test "x$ac_cv_func__logl" = xyes; then :
52937 cat >>confdefs.h <<_ACEOF
52938 #define HAVE__LOGL 1
52939 _ACEOF
52942 done
52951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52952 $as_echo_n "checking for log10l declaration... " >&6; }
52953 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52954 if ${glibcxx_cv_func_log10l_use+:} false; then :
52955 $as_echo_n "(cached) " >&6
52956 else
52959 ac_ext=cpp
52960 ac_cpp='$CXXCPP $CPPFLAGS'
52961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52966 /* end confdefs.h. */
52967 #include <math.h>
52968 #ifdef HAVE_IEEEFP_H
52969 #include <ieeefp.h>
52970 #endif
52973 main ()
52975 log10l(0);
52977 return 0;
52979 _ACEOF
52980 if ac_fn_cxx_try_compile "$LINENO"; then :
52981 glibcxx_cv_func_log10l_use=yes
52982 else
52983 glibcxx_cv_func_log10l_use=no
52985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52986 ac_ext=c
52987 ac_cpp='$CPP $CPPFLAGS'
52988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52997 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52999 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53000 for ac_func in log10l
53001 do :
53002 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53003 if test "x$ac_cv_func_log10l" = xyes; then :
53004 cat >>confdefs.h <<_ACEOF
53005 #define HAVE_LOG10L 1
53006 _ACEOF
53009 done
53011 else
53013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53014 $as_echo_n "checking for _log10l declaration... " >&6; }
53015 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53016 if ${glibcxx_cv_func__log10l_use+:} false; then :
53017 $as_echo_n "(cached) " >&6
53018 else
53021 ac_ext=cpp
53022 ac_cpp='$CXXCPP $CPPFLAGS'
53023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53028 /* end confdefs.h. */
53029 #include <math.h>
53030 #ifdef HAVE_IEEEFP_H
53031 #include <ieeefp.h>
53032 #endif
53035 main ()
53037 _log10l(0);
53039 return 0;
53041 _ACEOF
53042 if ac_fn_cxx_try_compile "$LINENO"; then :
53043 glibcxx_cv_func__log10l_use=yes
53044 else
53045 glibcxx_cv_func__log10l_use=no
53047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53048 ac_ext=c
53049 ac_cpp='$CPP $CPPFLAGS'
53050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53059 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53061 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53062 for ac_func in _log10l
53063 do :
53064 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53065 if test "x$ac_cv_func__log10l" = xyes; then :
53066 cat >>confdefs.h <<_ACEOF
53067 #define HAVE__LOG10L 1
53068 _ACEOF
53071 done
53080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53081 $as_echo_n "checking for modfl declaration... " >&6; }
53082 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53083 if ${glibcxx_cv_func_modfl_use+:} false; then :
53084 $as_echo_n "(cached) " >&6
53085 else
53088 ac_ext=cpp
53089 ac_cpp='$CXXCPP $CPPFLAGS'
53090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53095 /* end confdefs.h. */
53096 #include <math.h>
53098 main ()
53100 modfl(0, 0);
53102 return 0;
53104 _ACEOF
53105 if ac_fn_cxx_try_compile "$LINENO"; then :
53106 glibcxx_cv_func_modfl_use=yes
53107 else
53108 glibcxx_cv_func_modfl_use=no
53110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53111 ac_ext=c
53112 ac_cpp='$CPP $CPPFLAGS'
53113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53122 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53124 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53125 for ac_func in modfl
53126 do :
53127 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53128 if test "x$ac_cv_func_modfl" = xyes; then :
53129 cat >>confdefs.h <<_ACEOF
53130 #define HAVE_MODFL 1
53131 _ACEOF
53134 done
53136 else
53138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53139 $as_echo_n "checking for _modfl declaration... " >&6; }
53140 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53141 if ${glibcxx_cv_func__modfl_use+:} false; then :
53142 $as_echo_n "(cached) " >&6
53143 else
53146 ac_ext=cpp
53147 ac_cpp='$CXXCPP $CPPFLAGS'
53148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53153 /* end confdefs.h. */
53154 #include <math.h>
53156 main ()
53158 _modfl(0, 0);
53160 return 0;
53162 _ACEOF
53163 if ac_fn_cxx_try_compile "$LINENO"; then :
53164 glibcxx_cv_func__modfl_use=yes
53165 else
53166 glibcxx_cv_func__modfl_use=no
53168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53169 ac_ext=c
53170 ac_cpp='$CPP $CPPFLAGS'
53171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53180 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53182 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53183 for ac_func in _modfl
53184 do :
53185 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53186 if test "x$ac_cv_func__modfl" = xyes; then :
53187 cat >>confdefs.h <<_ACEOF
53188 #define HAVE__MODFL 1
53189 _ACEOF
53192 done
53201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53202 $as_echo_n "checking for powl declaration... " >&6; }
53203 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53204 if ${glibcxx_cv_func_powl_use+:} false; then :
53205 $as_echo_n "(cached) " >&6
53206 else
53209 ac_ext=cpp
53210 ac_cpp='$CXXCPP $CPPFLAGS'
53211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53216 /* end confdefs.h. */
53217 #include <math.h>
53219 main ()
53221 powl(0, 0);
53223 return 0;
53225 _ACEOF
53226 if ac_fn_cxx_try_compile "$LINENO"; then :
53227 glibcxx_cv_func_powl_use=yes
53228 else
53229 glibcxx_cv_func_powl_use=no
53231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53232 ac_ext=c
53233 ac_cpp='$CPP $CPPFLAGS'
53234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53243 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53245 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53246 for ac_func in powl
53247 do :
53248 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53249 if test "x$ac_cv_func_powl" = xyes; then :
53250 cat >>confdefs.h <<_ACEOF
53251 #define HAVE_POWL 1
53252 _ACEOF
53255 done
53257 else
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53260 $as_echo_n "checking for _powl declaration... " >&6; }
53261 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53262 if ${glibcxx_cv_func__powl_use+:} false; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <math.h>
53277 main ()
53279 _powl(0, 0);
53281 return 0;
53283 _ACEOF
53284 if ac_fn_cxx_try_compile "$LINENO"; then :
53285 glibcxx_cv_func__powl_use=yes
53286 else
53287 glibcxx_cv_func__powl_use=no
53289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53290 ac_ext=c
53291 ac_cpp='$CPP $CPPFLAGS'
53292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53301 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53303 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53304 for ac_func in _powl
53305 do :
53306 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53307 if test "x$ac_cv_func__powl" = xyes; then :
53308 cat >>confdefs.h <<_ACEOF
53309 #define HAVE__POWL 1
53310 _ACEOF
53313 done
53322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53323 $as_echo_n "checking for sqrtl declaration... " >&6; }
53324 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53325 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53326 $as_echo_n "(cached) " >&6
53327 else
53330 ac_ext=cpp
53331 ac_cpp='$CXXCPP $CPPFLAGS'
53332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53337 /* end confdefs.h. */
53338 #include <math.h>
53339 #ifdef HAVE_IEEEFP_H
53340 #include <ieeefp.h>
53341 #endif
53344 main ()
53346 sqrtl(0);
53348 return 0;
53350 _ACEOF
53351 if ac_fn_cxx_try_compile "$LINENO"; then :
53352 glibcxx_cv_func_sqrtl_use=yes
53353 else
53354 glibcxx_cv_func_sqrtl_use=no
53356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53357 ac_ext=c
53358 ac_cpp='$CPP $CPPFLAGS'
53359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53368 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53370 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53371 for ac_func in sqrtl
53372 do :
53373 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53374 if test "x$ac_cv_func_sqrtl" = xyes; then :
53375 cat >>confdefs.h <<_ACEOF
53376 #define HAVE_SQRTL 1
53377 _ACEOF
53380 done
53382 else
53384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53385 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53386 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53387 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53388 $as_echo_n "(cached) " >&6
53389 else
53392 ac_ext=cpp
53393 ac_cpp='$CXXCPP $CPPFLAGS'
53394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53399 /* end confdefs.h. */
53400 #include <math.h>
53401 #ifdef HAVE_IEEEFP_H
53402 #include <ieeefp.h>
53403 #endif
53406 main ()
53408 _sqrtl(0);
53410 return 0;
53412 _ACEOF
53413 if ac_fn_cxx_try_compile "$LINENO"; then :
53414 glibcxx_cv_func__sqrtl_use=yes
53415 else
53416 glibcxx_cv_func__sqrtl_use=no
53418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53419 ac_ext=c
53420 ac_cpp='$CPP $CPPFLAGS'
53421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53430 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53432 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53433 for ac_func in _sqrtl
53434 do :
53435 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53436 if test "x$ac_cv_func__sqrtl" = xyes; then :
53437 cat >>confdefs.h <<_ACEOF
53438 #define HAVE__SQRTL 1
53439 _ACEOF
53442 done
53451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53452 $as_echo_n "checking for sincosl declaration... " >&6; }
53453 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53454 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53455 $as_echo_n "(cached) " >&6
53456 else
53459 ac_ext=cpp
53460 ac_cpp='$CXXCPP $CPPFLAGS'
53461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53466 /* end confdefs.h. */
53467 #include <math.h>
53469 main ()
53471 sincosl(0, 0, 0);
53473 return 0;
53475 _ACEOF
53476 if ac_fn_cxx_try_compile "$LINENO"; then :
53477 glibcxx_cv_func_sincosl_use=yes
53478 else
53479 glibcxx_cv_func_sincosl_use=no
53481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53482 ac_ext=c
53483 ac_cpp='$CPP $CPPFLAGS'
53484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53493 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53495 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53496 for ac_func in sincosl
53497 do :
53498 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53499 if test "x$ac_cv_func_sincosl" = xyes; then :
53500 cat >>confdefs.h <<_ACEOF
53501 #define HAVE_SINCOSL 1
53502 _ACEOF
53505 done
53507 else
53509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53510 $as_echo_n "checking for _sincosl declaration... " >&6; }
53511 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53512 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53513 $as_echo_n "(cached) " >&6
53514 else
53517 ac_ext=cpp
53518 ac_cpp='$CXXCPP $CPPFLAGS'
53519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53524 /* end confdefs.h. */
53525 #include <math.h>
53527 main ()
53529 _sincosl(0, 0, 0);
53531 return 0;
53533 _ACEOF
53534 if ac_fn_cxx_try_compile "$LINENO"; then :
53535 glibcxx_cv_func__sincosl_use=yes
53536 else
53537 glibcxx_cv_func__sincosl_use=no
53539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53540 ac_ext=c
53541 ac_cpp='$CPP $CPPFLAGS'
53542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53551 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53553 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53554 for ac_func in _sincosl
53555 do :
53556 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53557 if test "x$ac_cv_func__sincosl" = xyes; then :
53558 cat >>confdefs.h <<_ACEOF
53559 #define HAVE__SINCOSL 1
53560 _ACEOF
53563 done
53572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53573 $as_echo_n "checking for finitel declaration... " >&6; }
53574 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53575 if ${glibcxx_cv_func_finitel_use+:} false; then :
53576 $as_echo_n "(cached) " >&6
53577 else
53580 ac_ext=cpp
53581 ac_cpp='$CXXCPP $CPPFLAGS'
53582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53587 /* end confdefs.h. */
53588 #include <math.h>
53589 #ifdef HAVE_IEEEFP_H
53590 #include <ieeefp.h>
53591 #endif
53594 main ()
53596 finitel(0);
53598 return 0;
53600 _ACEOF
53601 if ac_fn_cxx_try_compile "$LINENO"; then :
53602 glibcxx_cv_func_finitel_use=yes
53603 else
53604 glibcxx_cv_func_finitel_use=no
53606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53607 ac_ext=c
53608 ac_cpp='$CPP $CPPFLAGS'
53609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53618 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53620 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53621 for ac_func in finitel
53622 do :
53623 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53624 if test "x$ac_cv_func_finitel" = xyes; then :
53625 cat >>confdefs.h <<_ACEOF
53626 #define HAVE_FINITEL 1
53627 _ACEOF
53630 done
53632 else
53634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53635 $as_echo_n "checking for _finitel declaration... " >&6; }
53636 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53637 if ${glibcxx_cv_func__finitel_use+:} false; then :
53638 $as_echo_n "(cached) " >&6
53639 else
53642 ac_ext=cpp
53643 ac_cpp='$CXXCPP $CPPFLAGS'
53644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53649 /* end confdefs.h. */
53650 #include <math.h>
53651 #ifdef HAVE_IEEEFP_H
53652 #include <ieeefp.h>
53653 #endif
53656 main ()
53658 _finitel(0);
53660 return 0;
53662 _ACEOF
53663 if ac_fn_cxx_try_compile "$LINENO"; then :
53664 glibcxx_cv_func__finitel_use=yes
53665 else
53666 glibcxx_cv_func__finitel_use=no
53668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53669 ac_ext=c
53670 ac_cpp='$CPP $CPPFLAGS'
53671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53680 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53682 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53683 for ac_func in _finitel
53684 do :
53685 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53686 if test "x$ac_cv_func__finitel" = xyes; then :
53687 cat >>confdefs.h <<_ACEOF
53688 #define HAVE__FINITEL 1
53689 _ACEOF
53692 done
53700 LIBS="$ac_save_LIBS"
53701 CXXFLAGS="$ac_save_CXXFLAGS"
53704 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53705 ac_save_CXXFLAGS="$CXXFLAGS"
53706 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53710 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53711 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53712 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53713 $as_echo_n "(cached) " >&6
53714 else
53717 ac_ext=cpp
53718 ac_cpp='$CXXCPP $CPPFLAGS'
53719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53724 /* end confdefs.h. */
53725 #include <stdlib.h>
53727 main ()
53729 at_quick_exit(0);
53731 return 0;
53733 _ACEOF
53734 if ac_fn_cxx_try_compile "$LINENO"; then :
53735 glibcxx_cv_func_at_quick_exit_use=yes
53736 else
53737 glibcxx_cv_func_at_quick_exit_use=no
53739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53740 ac_ext=c
53741 ac_cpp='$CPP $CPPFLAGS'
53742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53751 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53752 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53753 for ac_func in at_quick_exit
53754 do :
53755 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53756 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53757 cat >>confdefs.h <<_ACEOF
53758 #define HAVE_AT_QUICK_EXIT 1
53759 _ACEOF
53762 done
53767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53768 $as_echo_n "checking for quick_exit declaration... " >&6; }
53769 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53770 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53771 $as_echo_n "(cached) " >&6
53772 else
53775 ac_ext=cpp
53776 ac_cpp='$CXXCPP $CPPFLAGS'
53777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53782 /* end confdefs.h. */
53783 #include <stdlib.h>
53785 main ()
53787 quick_exit(0);
53789 return 0;
53791 _ACEOF
53792 if ac_fn_cxx_try_compile "$LINENO"; then :
53793 glibcxx_cv_func_quick_exit_use=yes
53794 else
53795 glibcxx_cv_func_quick_exit_use=no
53797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53798 ac_ext=c
53799 ac_cpp='$CPP $CPPFLAGS'
53800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53809 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53810 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53811 for ac_func in quick_exit
53812 do :
53813 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53814 if test "x$ac_cv_func_quick_exit" = xyes; then :
53815 cat >>confdefs.h <<_ACEOF
53816 #define HAVE_QUICK_EXIT 1
53817 _ACEOF
53820 done
53825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53826 $as_echo_n "checking for strtold declaration... " >&6; }
53827 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53828 if ${glibcxx_cv_func_strtold_use+:} false; then :
53829 $as_echo_n "(cached) " >&6
53830 else
53833 ac_ext=cpp
53834 ac_cpp='$CXXCPP $CPPFLAGS'
53835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53840 /* end confdefs.h. */
53841 #include <stdlib.h>
53843 main ()
53845 strtold(0, 0);
53847 return 0;
53849 _ACEOF
53850 if ac_fn_cxx_try_compile "$LINENO"; then :
53851 glibcxx_cv_func_strtold_use=yes
53852 else
53853 glibcxx_cv_func_strtold_use=no
53855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53856 ac_ext=c
53857 ac_cpp='$CPP $CPPFLAGS'
53858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53867 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53868 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53869 for ac_func in strtold
53870 do :
53871 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53872 if test "x$ac_cv_func_strtold" = xyes; then :
53873 cat >>confdefs.h <<_ACEOF
53874 #define HAVE_STRTOLD 1
53875 _ACEOF
53878 done
53885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53886 $as_echo_n "checking for strtof declaration... " >&6; }
53887 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53888 if ${glibcxx_cv_func_strtof_use+:} false; then :
53889 $as_echo_n "(cached) " >&6
53890 else
53893 ac_ext=cpp
53894 ac_cpp='$CXXCPP $CPPFLAGS'
53895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53900 /* end confdefs.h. */
53901 #include <stdlib.h>
53903 main ()
53905 strtof(0, 0);
53907 return 0;
53909 _ACEOF
53910 if ac_fn_cxx_try_compile "$LINENO"; then :
53911 glibcxx_cv_func_strtof_use=yes
53912 else
53913 glibcxx_cv_func_strtof_use=no
53915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53916 ac_ext=c
53917 ac_cpp='$CPP $CPPFLAGS'
53918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53927 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53928 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53929 for ac_func in strtof
53930 do :
53931 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53932 if test "x$ac_cv_func_strtof" = xyes; then :
53933 cat >>confdefs.h <<_ACEOF
53934 #define HAVE_STRTOF 1
53935 _ACEOF
53938 done
53945 CXXFLAGS="$ac_save_CXXFLAGS"
53947 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53949 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53953 # Check whether --enable-tls was given.
53954 if test "${enable_tls+set}" = set; then :
53955 enableval=$enable_tls;
53956 case "$enableval" in
53957 yes|no) ;;
53958 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53959 esac
53961 else
53962 enable_tls=yes
53966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53967 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53968 if ${gcc_cv_have_tls+:} false; then :
53969 $as_echo_n "(cached) " >&6
53970 else
53972 if test "$cross_compiling" = yes; then :
53973 if test x$gcc_no_link = xyes; then
53974 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53977 /* end confdefs.h. */
53978 __thread int a; int b; int main() { return a = b; }
53979 _ACEOF
53980 if ac_fn_c_try_link "$LINENO"; then :
53981 chktls_save_LDFLAGS="$LDFLAGS"
53982 case $host in
53983 *-*-linux* | -*-uclinuxfdpic*)
53984 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53986 esac
53987 chktls_save_CFLAGS="$CFLAGS"
53988 CFLAGS="-fPIC $CFLAGS"
53989 if test x$gcc_no_link = xyes; then
53990 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53993 /* end confdefs.h. */
53994 int f() { return 0; }
53995 _ACEOF
53996 if ac_fn_c_try_link "$LINENO"; then :
53997 if test x$gcc_no_link = xyes; then
53998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54001 /* end confdefs.h. */
54002 __thread int a; int b; int f() { return a = b; }
54003 _ACEOF
54004 if ac_fn_c_try_link "$LINENO"; then :
54005 gcc_cv_have_tls=yes
54006 else
54007 gcc_cv_have_tls=no
54009 rm -f core conftest.err conftest.$ac_objext \
54010 conftest$ac_exeext conftest.$ac_ext
54011 else
54012 gcc_cv_have_tls=yes
54014 rm -f core conftest.err conftest.$ac_objext \
54015 conftest$ac_exeext conftest.$ac_ext
54016 CFLAGS="$chktls_save_CFLAGS"
54017 LDFLAGS="$chktls_save_LDFLAGS"
54018 else
54019 gcc_cv_have_tls=no
54021 rm -f core conftest.err conftest.$ac_objext \
54022 conftest$ac_exeext conftest.$ac_ext
54025 else
54026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54027 /* end confdefs.h. */
54028 __thread int a; int b; int main() { return a = b; }
54029 _ACEOF
54030 if ac_fn_c_try_run "$LINENO"; then :
54031 chktls_save_LDFLAGS="$LDFLAGS"
54032 LDFLAGS="-static $LDFLAGS"
54033 if test x$gcc_no_link = xyes; then
54034 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54037 /* end confdefs.h. */
54038 int main() { return 0; }
54039 _ACEOF
54040 if ac_fn_c_try_link "$LINENO"; then :
54041 if test "$cross_compiling" = yes; then :
54042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54044 as_fn_error $? "cannot run test program while cross compiling
54045 See \`config.log' for more details" "$LINENO" 5; }
54046 else
54047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54048 /* end confdefs.h. */
54049 __thread int a; int b; int main() { return a = b; }
54050 _ACEOF
54051 if ac_fn_c_try_run "$LINENO"; then :
54052 gcc_cv_have_tls=yes
54053 else
54054 gcc_cv_have_tls=no
54056 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54057 conftest.$ac_objext conftest.beam conftest.$ac_ext
54060 else
54061 gcc_cv_have_tls=yes
54063 rm -f core conftest.err conftest.$ac_objext \
54064 conftest$ac_exeext conftest.$ac_ext
54065 LDFLAGS="$chktls_save_LDFLAGS"
54066 if test $gcc_cv_have_tls = yes; then
54067 chktls_save_CFLAGS="$CFLAGS"
54068 thread_CFLAGS=failed
54069 for flag in '' '-pthread' '-lpthread'; do
54070 CFLAGS="$flag $chktls_save_CFLAGS"
54071 if test x$gcc_no_link = xyes; then
54072 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54075 /* end confdefs.h. */
54076 #include <pthread.h>
54077 void *g(void *d) { return NULL; }
54079 main ()
54081 pthread_t t; pthread_create(&t,NULL,g,NULL);
54083 return 0;
54085 _ACEOF
54086 if ac_fn_c_try_link "$LINENO"; then :
54087 thread_CFLAGS="$flag"
54089 rm -f core conftest.err conftest.$ac_objext \
54090 conftest$ac_exeext conftest.$ac_ext
54091 if test "X$thread_CFLAGS" != Xfailed; then
54092 break
54094 done
54095 CFLAGS="$chktls_save_CFLAGS"
54096 if test "X$thread_CFLAGS" != Xfailed; then
54097 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54098 if test "$cross_compiling" = yes; then :
54099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54101 as_fn_error $? "cannot run test program while cross compiling
54102 See \`config.log' for more details" "$LINENO" 5; }
54103 else
54104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54105 /* end confdefs.h. */
54106 #include <pthread.h>
54107 __thread int a;
54108 static int *volatile a_in_other_thread;
54109 static void *
54110 thread_func (void *arg)
54112 a_in_other_thread = &a;
54113 return (void *)0;
54116 main ()
54118 pthread_t thread;
54119 void *thread_retval;
54120 int *volatile a_in_main_thread;
54121 a_in_main_thread = &a;
54122 if (pthread_create (&thread, (pthread_attr_t *)0,
54123 thread_func, (void *)0))
54124 return 0;
54125 if (pthread_join (thread, &thread_retval))
54126 return 0;
54127 return (a_in_other_thread == a_in_main_thread);
54129 return 0;
54131 _ACEOF
54132 if ac_fn_c_try_run "$LINENO"; then :
54133 gcc_cv_have_tls=yes
54134 else
54135 gcc_cv_have_tls=no
54137 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54138 conftest.$ac_objext conftest.beam conftest.$ac_ext
54141 CFLAGS="$chktls_save_CFLAGS"
54144 else
54145 gcc_cv_have_tls=no
54147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54148 conftest.$ac_objext conftest.beam conftest.$ac_ext
54152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54153 $as_echo "$gcc_cv_have_tls" >&6; }
54154 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54156 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54159 for ac_func in __cxa_thread_atexit_impl
54160 do :
54161 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54162 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54163 cat >>confdefs.h <<_ACEOF
54164 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54165 _ACEOF
54168 done
54170 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54171 do :
54172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54174 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54177 _ACEOF
54180 done
54182 for ac_func in timespec_get
54183 do :
54184 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54185 if test "x$ac_cv_func_timespec_get" = xyes; then :
54186 cat >>confdefs.h <<_ACEOF
54187 #define HAVE_TIMESPEC_GET 1
54188 _ACEOF
54191 done
54193 for ac_func in sockatmark
54194 do :
54195 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54196 if test "x$ac_cv_func_sockatmark" = xyes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE_SOCKATMARK 1
54199 _ACEOF
54202 done
54204 for ac_func in uselocale
54205 do :
54206 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54207 if test "x$ac_cv_func_uselocale" = xyes; then :
54208 cat >>confdefs.h <<_ACEOF
54209 #define HAVE_USELOCALE 1
54210 _ACEOF
54213 done
54220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54221 $as_echo_n "checking for iconv... " >&6; }
54222 if ${am_cv_func_iconv+:} false; then :
54223 $as_echo_n "(cached) " >&6
54224 else
54226 am_cv_func_iconv="no, consider installing GNU libiconv"
54227 am_cv_lib_iconv=no
54228 am_save_CPPFLAGS="$CPPFLAGS"
54229 CPPFLAGS="$CPPFLAGS $INCICONV"
54230 if test x$gcc_no_link = xyes; then
54231 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54234 /* end confdefs.h. */
54235 #include <stdlib.h>
54236 #include <iconv.h>
54238 main ()
54240 iconv_t cd = iconv_open("","");
54241 iconv(cd,NULL,NULL,NULL,NULL);
54242 iconv_close(cd);
54244 return 0;
54246 _ACEOF
54247 if ac_fn_c_try_link "$LINENO"; then :
54248 am_cv_func_iconv=yes
54250 rm -f core conftest.err conftest.$ac_objext \
54251 conftest$ac_exeext conftest.$ac_ext
54252 CPPFLAGS="$am_save_CPPFLAGS"
54254 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54255 for _libs in .libs _libs; do
54256 am_save_CPPFLAGS="$CPPFLAGS"
54257 am_save_LIBS="$LIBS"
54258 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54259 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54260 if test x$gcc_no_link = xyes; then
54261 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54264 /* end confdefs.h. */
54265 #include <stdlib.h>
54266 #include <iconv.h>
54268 main ()
54270 iconv_t cd = iconv_open("","");
54271 iconv(cd,NULL,NULL,NULL,NULL);
54272 iconv_close(cd);
54274 return 0;
54276 _ACEOF
54277 if ac_fn_c_try_link "$LINENO"; then :
54278 INCICONV="-I../libiconv/include"
54279 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54280 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54281 am_cv_lib_iconv=yes
54282 am_cv_func_iconv=yes
54284 rm -f core conftest.err conftest.$ac_objext \
54285 conftest$ac_exeext conftest.$ac_ext
54286 CPPFLAGS="$am_save_CPPFLAGS"
54287 LIBS="$am_save_LIBS"
54288 if test "$am_cv_func_iconv" = "yes"; then
54289 break
54291 done
54294 if test "$am_cv_func_iconv" != yes; then
54295 am_save_CPPFLAGS="$CPPFLAGS"
54296 am_save_LIBS="$LIBS"
54297 CPPFLAGS="$CPPFLAGS $INCICONV"
54298 LIBS="$LIBS $LIBICONV"
54299 if test x$gcc_no_link = xyes; then
54300 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54303 /* end confdefs.h. */
54304 #include <stdlib.h>
54305 #include <iconv.h>
54307 main ()
54309 iconv_t cd = iconv_open("","");
54310 iconv(cd,NULL,NULL,NULL,NULL);
54311 iconv_close(cd);
54313 return 0;
54315 _ACEOF
54316 if ac_fn_c_try_link "$LINENO"; then :
54317 am_cv_lib_iconv=yes
54318 am_cv_func_iconv=yes
54320 rm -f core conftest.err conftest.$ac_objext \
54321 conftest$ac_exeext conftest.$ac_ext
54322 CPPFLAGS="$am_save_CPPFLAGS"
54323 LIBS="$am_save_LIBS"
54327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54328 $as_echo "$am_cv_func_iconv" >&6; }
54329 if test "$am_cv_func_iconv" = yes; then
54331 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54334 if test "$am_cv_lib_iconv" = yes; then
54336 for element in $INCICONV; do
54337 haveit=
54338 for x in $CPPFLAGS; do
54340 acl_save_prefix="$prefix"
54341 prefix="$acl_final_prefix"
54342 acl_save_exec_prefix="$exec_prefix"
54343 exec_prefix="$acl_final_exec_prefix"
54344 eval x=\"$x\"
54345 exec_prefix="$acl_save_exec_prefix"
54346 prefix="$acl_save_prefix"
54348 if test "X$x" = "X$element"; then
54349 haveit=yes
54350 break
54352 done
54353 if test -z "$haveit"; then
54354 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54356 done
54358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54359 $as_echo_n "checking how to link with libiconv... " >&6; }
54360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54361 $as_echo "$LIBICONV" >&6; }
54362 else
54363 LIBICONV=
54364 LTLIBICONV=
54369 if test "$am_cv_func_iconv" = yes; then
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54371 $as_echo_n "checking for iconv declaration... " >&6; }
54372 if ${am_cv_proto_iconv+:} false; then :
54373 $as_echo_n "(cached) " >&6
54374 else
54376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54377 /* end confdefs.h. */
54379 #include <stdlib.h>
54380 #include <iconv.h>
54381 extern
54382 #ifdef __cplusplus
54384 #endif
54385 #if defined(__STDC__) || defined(__cplusplus)
54386 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54387 #else
54388 size_t iconv();
54389 #endif
54392 main ()
54396 return 0;
54398 _ACEOF
54399 if ac_fn_c_try_compile "$LINENO"; then :
54400 am_cv_proto_iconv_arg1=""
54401 else
54402 am_cv_proto_iconv_arg1="const"
54404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54405 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);"
54408 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54410 }$am_cv_proto_iconv" >&5
54411 $as_echo "${ac_t:-
54412 }$am_cv_proto_iconv" >&6; }
54414 cat >>confdefs.h <<_ACEOF
54415 #define ICONV_CONST $am_cv_proto_iconv_arg1
54416 _ACEOF
54421 *-mingw32*)
54423 # If we're not using GNU ld, then there's no point in even trying these
54424 # tests. Check for that first. We should have already tested for gld
54425 # by now (in libtool), but require it now just to be safe...
54426 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54427 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54431 # The name set by libtool depends on the version of libtool. Shame on us
54432 # for depending on an impl detail, but c'est la vie. Older versions used
54433 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54434 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54435 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54436 # set (hence we're using an older libtool), then set it.
54437 if test x${with_gnu_ld+set} != xset; then
54438 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54439 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54440 with_gnu_ld=no
54441 else
54442 with_gnu_ld=$ac_cv_prog_gnu_ld
54446 # Start by getting the version number. I think the libtool test already
54447 # does some of this, but throws away the result.
54448 glibcxx_ld_is_gold=no
54449 glibcxx_ld_is_mold=no
54450 if test x"$with_gnu_ld" = x"yes"; then
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54452 $as_echo_n "checking for ld version... " >&6; }
54454 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54455 glibcxx_ld_is_gold=yes
54456 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54457 glibcxx_ld_is_mold=yes
54459 ldver=`$LD --version 2>/dev/null |
54460 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54462 glibcxx_gnu_ld_version=`echo $ldver | \
54463 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54465 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54468 # Set --gc-sections.
54469 glibcxx_have_gc_sections=no
54470 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54471 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54472 glibcxx_have_gc_sections=yes
54474 else
54475 glibcxx_gcsections_min_ld=21602
54476 if test x"$with_gnu_ld" = x"yes" &&
54477 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54478 glibcxx_have_gc_sections=yes
54481 if test "$glibcxx_have_gc_sections" = "yes"; then
54482 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54483 # NB: This flag only works reliably after 2.16.1. Configure tests
54484 # for this are difficult, so hard wire a value that should work.
54486 ac_test_CFLAGS="${CFLAGS+set}"
54487 ac_save_CFLAGS="$CFLAGS"
54488 CFLAGS='-Wl,--gc-sections'
54490 # Check for -Wl,--gc-sections
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54492 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54493 if test x$gcc_no_link = xyes; then
54494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54497 /* end confdefs.h. */
54498 int one(void) { return 1; }
54499 int two(void) { return 2; }
54502 main ()
54504 two();
54506 return 0;
54508 _ACEOF
54509 if ac_fn_c_try_link "$LINENO"; then :
54510 ac_gcsections=yes
54511 else
54512 ac_gcsections=no
54514 rm -f core conftest.err conftest.$ac_objext \
54515 conftest$ac_exeext conftest.$ac_ext
54516 if test "$ac_gcsections" = "yes"; then
54517 rm -f conftest.c
54518 touch conftest.c
54519 if $CC -c conftest.c; then
54520 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54521 grep "Warning: gc-sections option ignored" > /dev/null; then
54522 ac_gcsections=no
54525 rm -f conftest.c conftest.o conftest
54527 if test "$ac_gcsections" = "yes"; then
54528 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54531 $as_echo "$ac_gcsections" >&6; }
54533 if test "$ac_test_CFLAGS" = set; then
54534 CFLAGS="$ac_save_CFLAGS"
54535 else
54536 # this is the suspicious part
54537 CFLAGS=''
54541 # Set -z,relro.
54542 # Note this is only for shared objects.
54543 ac_ld_relro=no
54544 if test x"$with_gnu_ld" = x"yes"; then
54545 # cygwin and mingw uses PE, which has no ELF relro support,
54546 # multi target ld may confuse configure machinery
54547 case "$host" in
54548 *-*-cygwin*)
54550 *-*-mingw*)
54553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54554 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54555 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54556 if test -n "$cxx_z_relo"; then
54557 OPT_LDFLAGS="-Wl,-z,relro"
54558 ac_ld_relro=yes
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54561 $as_echo "$ac_ld_relro" >&6; }
54562 esac
54565 # Set linker optimization flags.
54566 if test x"$with_gnu_ld" = x"yes"; then
54567 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54574 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54575 ac_save_CXXFLAGS="$CXXFLAGS"
54576 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54579 $as_echo_n "checking for sin in -lm... " >&6; }
54580 if ${ac_cv_lib_m_sin+:} false; then :
54581 $as_echo_n "(cached) " >&6
54582 else
54583 ac_check_lib_save_LIBS=$LIBS
54584 LIBS="-lm $LIBS"
54585 if test x$gcc_no_link = xyes; then
54586 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54589 /* end confdefs.h. */
54591 /* Override any GCC internal prototype to avoid an error.
54592 Use char because int might match the return type of a GCC
54593 builtin and then its argument prototype would still apply. */
54594 #ifdef __cplusplus
54595 extern "C"
54596 #endif
54597 char sin ();
54599 main ()
54601 return sin ();
54603 return 0;
54605 _ACEOF
54606 if ac_fn_c_try_link "$LINENO"; then :
54607 ac_cv_lib_m_sin=yes
54608 else
54609 ac_cv_lib_m_sin=no
54611 rm -f core conftest.err conftest.$ac_objext \
54612 conftest$ac_exeext conftest.$ac_ext
54613 LIBS=$ac_check_lib_save_LIBS
54615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54616 $as_echo "$ac_cv_lib_m_sin" >&6; }
54617 if test "x$ac_cv_lib_m_sin" = xyes; then :
54618 libm="-lm"
54621 ac_save_LIBS="$LIBS"
54622 LIBS="$LIBS $libm"
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54627 $as_echo_n "checking for isinf declaration... " >&6; }
54628 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54629 if ${glibcxx_cv_func_isinf_use+:} false; then :
54630 $as_echo_n "(cached) " >&6
54631 else
54634 ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h. */
54642 #include <math.h>
54643 #ifdef HAVE_IEEEFP_H
54644 #include <ieeefp.h>
54645 #endif
54648 main ()
54650 isinf(0);
54652 return 0;
54654 _ACEOF
54655 if ac_fn_cxx_try_compile "$LINENO"; then :
54656 glibcxx_cv_func_isinf_use=yes
54657 else
54658 glibcxx_cv_func_isinf_use=no
54660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54661 ac_ext=c
54662 ac_cpp='$CPP $CPPFLAGS'
54663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54672 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54674 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54675 for ac_func in isinf
54676 do :
54677 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54678 if test "x$ac_cv_func_isinf" = xyes; then :
54679 cat >>confdefs.h <<_ACEOF
54680 #define HAVE_ISINF 1
54681 _ACEOF
54684 done
54686 else
54688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54689 $as_echo_n "checking for _isinf declaration... " >&6; }
54690 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54691 if ${glibcxx_cv_func__isinf_use+:} false; then :
54692 $as_echo_n "(cached) " >&6
54693 else
54696 ac_ext=cpp
54697 ac_cpp='$CXXCPP $CPPFLAGS'
54698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54703 /* end confdefs.h. */
54704 #include <math.h>
54705 #ifdef HAVE_IEEEFP_H
54706 #include <ieeefp.h>
54707 #endif
54710 main ()
54712 _isinf(0);
54714 return 0;
54716 _ACEOF
54717 if ac_fn_cxx_try_compile "$LINENO"; then :
54718 glibcxx_cv_func__isinf_use=yes
54719 else
54720 glibcxx_cv_func__isinf_use=no
54722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54723 ac_ext=c
54724 ac_cpp='$CPP $CPPFLAGS'
54725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54734 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54736 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54737 for ac_func in _isinf
54738 do :
54739 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54740 if test "x$ac_cv_func__isinf" = xyes; then :
54741 cat >>confdefs.h <<_ACEOF
54742 #define HAVE__ISINF 1
54743 _ACEOF
54746 done
54755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54756 $as_echo_n "checking for isnan declaration... " >&6; }
54757 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54758 if ${glibcxx_cv_func_isnan_use+:} false; then :
54759 $as_echo_n "(cached) " >&6
54760 else
54763 ac_ext=cpp
54764 ac_cpp='$CXXCPP $CPPFLAGS'
54765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54770 /* end confdefs.h. */
54771 #include <math.h>
54772 #ifdef HAVE_IEEEFP_H
54773 #include <ieeefp.h>
54774 #endif
54777 main ()
54779 isnan(0);
54781 return 0;
54783 _ACEOF
54784 if ac_fn_cxx_try_compile "$LINENO"; then :
54785 glibcxx_cv_func_isnan_use=yes
54786 else
54787 glibcxx_cv_func_isnan_use=no
54789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54790 ac_ext=c
54791 ac_cpp='$CPP $CPPFLAGS'
54792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54801 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54803 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54804 for ac_func in isnan
54805 do :
54806 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54807 if test "x$ac_cv_func_isnan" = xyes; then :
54808 cat >>confdefs.h <<_ACEOF
54809 #define HAVE_ISNAN 1
54810 _ACEOF
54813 done
54815 else
54817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54818 $as_echo_n "checking for _isnan declaration... " >&6; }
54819 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54820 if ${glibcxx_cv_func__isnan_use+:} false; then :
54821 $as_echo_n "(cached) " >&6
54822 else
54825 ac_ext=cpp
54826 ac_cpp='$CXXCPP $CPPFLAGS'
54827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54832 /* end confdefs.h. */
54833 #include <math.h>
54834 #ifdef HAVE_IEEEFP_H
54835 #include <ieeefp.h>
54836 #endif
54839 main ()
54841 _isnan(0);
54843 return 0;
54845 _ACEOF
54846 if ac_fn_cxx_try_compile "$LINENO"; then :
54847 glibcxx_cv_func__isnan_use=yes
54848 else
54849 glibcxx_cv_func__isnan_use=no
54851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54852 ac_ext=c
54853 ac_cpp='$CPP $CPPFLAGS'
54854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54863 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54865 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54866 for ac_func in _isnan
54867 do :
54868 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54869 if test "x$ac_cv_func__isnan" = xyes; then :
54870 cat >>confdefs.h <<_ACEOF
54871 #define HAVE__ISNAN 1
54872 _ACEOF
54875 done
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54885 $as_echo_n "checking for finite declaration... " >&6; }
54886 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54887 if ${glibcxx_cv_func_finite_use+:} false; then :
54888 $as_echo_n "(cached) " >&6
54889 else
54892 ac_ext=cpp
54893 ac_cpp='$CXXCPP $CPPFLAGS'
54894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54899 /* end confdefs.h. */
54900 #include <math.h>
54901 #ifdef HAVE_IEEEFP_H
54902 #include <ieeefp.h>
54903 #endif
54906 main ()
54908 finite(0);
54910 return 0;
54912 _ACEOF
54913 if ac_fn_cxx_try_compile "$LINENO"; then :
54914 glibcxx_cv_func_finite_use=yes
54915 else
54916 glibcxx_cv_func_finite_use=no
54918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54919 ac_ext=c
54920 ac_cpp='$CPP $CPPFLAGS'
54921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54930 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54932 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54933 for ac_func in finite
54934 do :
54935 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54936 if test "x$ac_cv_func_finite" = xyes; then :
54937 cat >>confdefs.h <<_ACEOF
54938 #define HAVE_FINITE 1
54939 _ACEOF
54942 done
54944 else
54946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54947 $as_echo_n "checking for _finite declaration... " >&6; }
54948 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54949 if ${glibcxx_cv_func__finite_use+:} false; then :
54950 $as_echo_n "(cached) " >&6
54951 else
54954 ac_ext=cpp
54955 ac_cpp='$CXXCPP $CPPFLAGS'
54956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54961 /* end confdefs.h. */
54962 #include <math.h>
54963 #ifdef HAVE_IEEEFP_H
54964 #include <ieeefp.h>
54965 #endif
54968 main ()
54970 _finite(0);
54972 return 0;
54974 _ACEOF
54975 if ac_fn_cxx_try_compile "$LINENO"; then :
54976 glibcxx_cv_func__finite_use=yes
54977 else
54978 glibcxx_cv_func__finite_use=no
54980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54981 ac_ext=c
54982 ac_cpp='$CPP $CPPFLAGS'
54983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54992 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54994 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54995 for ac_func in _finite
54996 do :
54997 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54998 if test "x$ac_cv_func__finite" = xyes; then :
54999 cat >>confdefs.h <<_ACEOF
55000 #define HAVE__FINITE 1
55001 _ACEOF
55004 done
55013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55014 $as_echo_n "checking for sincos declaration... " >&6; }
55015 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55016 if ${glibcxx_cv_func_sincos_use+:} false; then :
55017 $as_echo_n "(cached) " >&6
55018 else
55021 ac_ext=cpp
55022 ac_cpp='$CXXCPP $CPPFLAGS'
55023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55028 /* end confdefs.h. */
55029 #include <math.h>
55031 main ()
55033 sincos(0, 0, 0);
55035 return 0;
55037 _ACEOF
55038 if ac_fn_cxx_try_compile "$LINENO"; then :
55039 glibcxx_cv_func_sincos_use=yes
55040 else
55041 glibcxx_cv_func_sincos_use=no
55043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55044 ac_ext=c
55045 ac_cpp='$CPP $CPPFLAGS'
55046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55055 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55057 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55058 for ac_func in sincos
55059 do :
55060 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55061 if test "x$ac_cv_func_sincos" = xyes; then :
55062 cat >>confdefs.h <<_ACEOF
55063 #define HAVE_SINCOS 1
55064 _ACEOF
55067 done
55069 else
55071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55072 $as_echo_n "checking for _sincos declaration... " >&6; }
55073 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55074 if ${glibcxx_cv_func__sincos_use+:} false; then :
55075 $as_echo_n "(cached) " >&6
55076 else
55079 ac_ext=cpp
55080 ac_cpp='$CXXCPP $CPPFLAGS'
55081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55086 /* end confdefs.h. */
55087 #include <math.h>
55089 main ()
55091 _sincos(0, 0, 0);
55093 return 0;
55095 _ACEOF
55096 if ac_fn_cxx_try_compile "$LINENO"; then :
55097 glibcxx_cv_func__sincos_use=yes
55098 else
55099 glibcxx_cv_func__sincos_use=no
55101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55102 ac_ext=c
55103 ac_cpp='$CPP $CPPFLAGS'
55104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55113 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55115 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55116 for ac_func in _sincos
55117 do :
55118 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55119 if test "x$ac_cv_func__sincos" = xyes; then :
55120 cat >>confdefs.h <<_ACEOF
55121 #define HAVE__SINCOS 1
55122 _ACEOF
55125 done
55134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55135 $as_echo_n "checking for fpclass declaration... " >&6; }
55136 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55137 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55138 $as_echo_n "(cached) " >&6
55139 else
55142 ac_ext=cpp
55143 ac_cpp='$CXXCPP $CPPFLAGS'
55144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55149 /* end confdefs.h. */
55150 #include <math.h>
55151 #ifdef HAVE_IEEEFP_H
55152 #include <ieeefp.h>
55153 #endif
55156 main ()
55158 fpclass(0);
55160 return 0;
55162 _ACEOF
55163 if ac_fn_cxx_try_compile "$LINENO"; then :
55164 glibcxx_cv_func_fpclass_use=yes
55165 else
55166 glibcxx_cv_func_fpclass_use=no
55168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55169 ac_ext=c
55170 ac_cpp='$CPP $CPPFLAGS'
55171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55180 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55182 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55183 for ac_func in fpclass
55184 do :
55185 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55186 if test "x$ac_cv_func_fpclass" = xyes; then :
55187 cat >>confdefs.h <<_ACEOF
55188 #define HAVE_FPCLASS 1
55189 _ACEOF
55192 done
55194 else
55196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55197 $as_echo_n "checking for _fpclass declaration... " >&6; }
55198 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55199 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55200 $as_echo_n "(cached) " >&6
55201 else
55204 ac_ext=cpp
55205 ac_cpp='$CXXCPP $CPPFLAGS'
55206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55211 /* end confdefs.h. */
55212 #include <math.h>
55213 #ifdef HAVE_IEEEFP_H
55214 #include <ieeefp.h>
55215 #endif
55218 main ()
55220 _fpclass(0);
55222 return 0;
55224 _ACEOF
55225 if ac_fn_cxx_try_compile "$LINENO"; then :
55226 glibcxx_cv_func__fpclass_use=yes
55227 else
55228 glibcxx_cv_func__fpclass_use=no
55230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55231 ac_ext=c
55232 ac_cpp='$CPP $CPPFLAGS'
55233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55242 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55244 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55245 for ac_func in _fpclass
55246 do :
55247 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55248 if test "x$ac_cv_func__fpclass" = xyes; then :
55249 cat >>confdefs.h <<_ACEOF
55250 #define HAVE__FPCLASS 1
55251 _ACEOF
55254 done
55263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55264 $as_echo_n "checking for qfpclass declaration... " >&6; }
55265 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55266 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55267 $as_echo_n "(cached) " >&6
55268 else
55271 ac_ext=cpp
55272 ac_cpp='$CXXCPP $CPPFLAGS'
55273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55278 /* end confdefs.h. */
55279 #include <math.h>
55280 #ifdef HAVE_IEEEFP_H
55281 #include <ieeefp.h>
55282 #endif
55285 main ()
55287 qfpclass(0);
55289 return 0;
55291 _ACEOF
55292 if ac_fn_cxx_try_compile "$LINENO"; then :
55293 glibcxx_cv_func_qfpclass_use=yes
55294 else
55295 glibcxx_cv_func_qfpclass_use=no
55297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55298 ac_ext=c
55299 ac_cpp='$CPP $CPPFLAGS'
55300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55309 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55311 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55312 for ac_func in qfpclass
55313 do :
55314 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55315 if test "x$ac_cv_func_qfpclass" = xyes; then :
55316 cat >>confdefs.h <<_ACEOF
55317 #define HAVE_QFPCLASS 1
55318 _ACEOF
55321 done
55323 else
55325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55326 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55327 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55328 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55329 $as_echo_n "(cached) " >&6
55330 else
55333 ac_ext=cpp
55334 ac_cpp='$CXXCPP $CPPFLAGS'
55335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55340 /* end confdefs.h. */
55341 #include <math.h>
55342 #ifdef HAVE_IEEEFP_H
55343 #include <ieeefp.h>
55344 #endif
55347 main ()
55349 _qfpclass(0);
55351 return 0;
55353 _ACEOF
55354 if ac_fn_cxx_try_compile "$LINENO"; then :
55355 glibcxx_cv_func__qfpclass_use=yes
55356 else
55357 glibcxx_cv_func__qfpclass_use=no
55359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55360 ac_ext=c
55361 ac_cpp='$CPP $CPPFLAGS'
55362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55371 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55373 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55374 for ac_func in _qfpclass
55375 do :
55376 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55377 if test "x$ac_cv_func__qfpclass" = xyes; then :
55378 cat >>confdefs.h <<_ACEOF
55379 #define HAVE__QFPCLASS 1
55380 _ACEOF
55383 done
55392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55393 $as_echo_n "checking for hypot declaration... " >&6; }
55394 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55395 if ${glibcxx_cv_func_hypot_use+:} false; then :
55396 $as_echo_n "(cached) " >&6
55397 else
55400 ac_ext=cpp
55401 ac_cpp='$CXXCPP $CPPFLAGS'
55402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55407 /* end confdefs.h. */
55408 #include <math.h>
55410 main ()
55412 hypot(0, 0);
55414 return 0;
55416 _ACEOF
55417 if ac_fn_cxx_try_compile "$LINENO"; then :
55418 glibcxx_cv_func_hypot_use=yes
55419 else
55420 glibcxx_cv_func_hypot_use=no
55422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55423 ac_ext=c
55424 ac_cpp='$CPP $CPPFLAGS'
55425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55434 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55436 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55437 for ac_func in hypot
55438 do :
55439 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55440 if test "x$ac_cv_func_hypot" = xyes; then :
55441 cat >>confdefs.h <<_ACEOF
55442 #define HAVE_HYPOT 1
55443 _ACEOF
55446 done
55448 else
55450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55451 $as_echo_n "checking for _hypot declaration... " >&6; }
55452 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55453 if ${glibcxx_cv_func__hypot_use+:} false; then :
55454 $as_echo_n "(cached) " >&6
55455 else
55458 ac_ext=cpp
55459 ac_cpp='$CXXCPP $CPPFLAGS'
55460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55465 /* end confdefs.h. */
55466 #include <math.h>
55468 main ()
55470 _hypot(0, 0);
55472 return 0;
55474 _ACEOF
55475 if ac_fn_cxx_try_compile "$LINENO"; then :
55476 glibcxx_cv_func__hypot_use=yes
55477 else
55478 glibcxx_cv_func__hypot_use=no
55480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55481 ac_ext=c
55482 ac_cpp='$CPP $CPPFLAGS'
55483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55492 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55494 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55495 for ac_func in _hypot
55496 do :
55497 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55498 if test "x$ac_cv_func__hypot" = xyes; then :
55499 cat >>confdefs.h <<_ACEOF
55500 #define HAVE__HYPOT 1
55501 _ACEOF
55504 done
55513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55514 $as_echo_n "checking for float trig functions... " >&6; }
55515 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55516 $as_echo_n "(cached) " >&6
55517 else
55520 ac_ext=cpp
55521 ac_cpp='$CXXCPP $CPPFLAGS'
55522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55527 /* end confdefs.h. */
55528 #include <math.h>
55530 main ()
55532 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55534 return 0;
55536 _ACEOF
55537 if ac_fn_cxx_try_compile "$LINENO"; then :
55538 glibcxx_cv_func_float_trig_use=yes
55539 else
55540 glibcxx_cv_func_float_trig_use=no
55542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55543 ac_ext=c
55544 ac_cpp='$CPP $CPPFLAGS'
55545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55552 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55553 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55554 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55555 do :
55556 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55557 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55558 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55559 cat >>confdefs.h <<_ACEOF
55560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55561 _ACEOF
55564 done
55566 else
55567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55568 $as_echo_n "checking for _float trig functions... " >&6; }
55569 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55570 $as_echo_n "(cached) " >&6
55571 else
55574 ac_ext=cpp
55575 ac_cpp='$CXXCPP $CPPFLAGS'
55576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55581 /* end confdefs.h. */
55582 #include <math.h>
55584 main ()
55586 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55588 return 0;
55590 _ACEOF
55591 if ac_fn_cxx_try_compile "$LINENO"; then :
55592 glibcxx_cv_func__float_trig_use=yes
55593 else
55594 glibcxx_cv_func__float_trig_use=no
55596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55597 ac_ext=c
55598 ac_cpp='$CPP $CPPFLAGS'
55599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55606 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55607 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55608 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55609 do :
55610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55612 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55613 cat >>confdefs.h <<_ACEOF
55614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55615 _ACEOF
55618 done
55627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55628 $as_echo_n "checking for float round functions... " >&6; }
55629 if ${glibcxx_cv_func_float_round_use+:} false; then :
55630 $as_echo_n "(cached) " >&6
55631 else
55634 ac_ext=cpp
55635 ac_cpp='$CXXCPP $CPPFLAGS'
55636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55641 /* end confdefs.h. */
55642 #include <math.h>
55644 main ()
55646 ceilf (0); floorf (0);
55648 return 0;
55650 _ACEOF
55651 if ac_fn_cxx_try_compile "$LINENO"; then :
55652 glibcxx_cv_func_float_round_use=yes
55653 else
55654 glibcxx_cv_func_float_round_use=no
55656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55657 ac_ext=c
55658 ac_cpp='$CPP $CPPFLAGS'
55659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55666 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55667 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55668 for ac_func in ceilf floorf
55669 do :
55670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55672 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55673 cat >>confdefs.h <<_ACEOF
55674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55675 _ACEOF
55678 done
55680 else
55681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55682 $as_echo_n "checking for _float round functions... " >&6; }
55683 if ${glibcxx_cv_func__float_round_use+:} false; then :
55684 $as_echo_n "(cached) " >&6
55685 else
55688 ac_ext=cpp
55689 ac_cpp='$CXXCPP $CPPFLAGS'
55690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55695 /* end confdefs.h. */
55696 #include <math.h>
55698 main ()
55700 _ceilf (0); _floorf (0);
55702 return 0;
55704 _ACEOF
55705 if ac_fn_cxx_try_compile "$LINENO"; then :
55706 glibcxx_cv_func__float_round_use=yes
55707 else
55708 glibcxx_cv_func__float_round_use=no
55710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55711 ac_ext=c
55712 ac_cpp='$CPP $CPPFLAGS'
55713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55720 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55721 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55722 for ac_func in _ceilf _floorf
55723 do :
55724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55726 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55727 cat >>confdefs.h <<_ACEOF
55728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55729 _ACEOF
55732 done
55742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55743 $as_echo_n "checking for expf declaration... " >&6; }
55744 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55745 if ${glibcxx_cv_func_expf_use+:} false; then :
55746 $as_echo_n "(cached) " >&6
55747 else
55750 ac_ext=cpp
55751 ac_cpp='$CXXCPP $CPPFLAGS'
55752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55757 /* end confdefs.h. */
55758 #include <math.h>
55759 #ifdef HAVE_IEEEFP_H
55760 #include <ieeefp.h>
55761 #endif
55764 main ()
55766 expf(0);
55768 return 0;
55770 _ACEOF
55771 if ac_fn_cxx_try_compile "$LINENO"; then :
55772 glibcxx_cv_func_expf_use=yes
55773 else
55774 glibcxx_cv_func_expf_use=no
55776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55777 ac_ext=c
55778 ac_cpp='$CPP $CPPFLAGS'
55779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55788 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55790 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55791 for ac_func in expf
55792 do :
55793 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55794 if test "x$ac_cv_func_expf" = xyes; then :
55795 cat >>confdefs.h <<_ACEOF
55796 #define HAVE_EXPF 1
55797 _ACEOF
55800 done
55802 else
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55805 $as_echo_n "checking for _expf declaration... " >&6; }
55806 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55807 if ${glibcxx_cv_func__expf_use+:} false; then :
55808 $as_echo_n "(cached) " >&6
55809 else
55812 ac_ext=cpp
55813 ac_cpp='$CXXCPP $CPPFLAGS'
55814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55819 /* end confdefs.h. */
55820 #include <math.h>
55821 #ifdef HAVE_IEEEFP_H
55822 #include <ieeefp.h>
55823 #endif
55826 main ()
55828 _expf(0);
55830 return 0;
55832 _ACEOF
55833 if ac_fn_cxx_try_compile "$LINENO"; then :
55834 glibcxx_cv_func__expf_use=yes
55835 else
55836 glibcxx_cv_func__expf_use=no
55838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55839 ac_ext=c
55840 ac_cpp='$CPP $CPPFLAGS'
55841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55850 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55852 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55853 for ac_func in _expf
55854 do :
55855 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55856 if test "x$ac_cv_func__expf" = xyes; then :
55857 cat >>confdefs.h <<_ACEOF
55858 #define HAVE__EXPF 1
55859 _ACEOF
55862 done
55871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55872 $as_echo_n "checking for isnanf declaration... " >&6; }
55873 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55874 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55875 $as_echo_n "(cached) " >&6
55876 else
55879 ac_ext=cpp
55880 ac_cpp='$CXXCPP $CPPFLAGS'
55881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55886 /* end confdefs.h. */
55887 #include <math.h>
55888 #ifdef HAVE_IEEEFP_H
55889 #include <ieeefp.h>
55890 #endif
55893 main ()
55895 isnanf(0);
55897 return 0;
55899 _ACEOF
55900 if ac_fn_cxx_try_compile "$LINENO"; then :
55901 glibcxx_cv_func_isnanf_use=yes
55902 else
55903 glibcxx_cv_func_isnanf_use=no
55905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55906 ac_ext=c
55907 ac_cpp='$CPP $CPPFLAGS'
55908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55917 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55919 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55920 for ac_func in isnanf
55921 do :
55922 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55923 if test "x$ac_cv_func_isnanf" = xyes; then :
55924 cat >>confdefs.h <<_ACEOF
55925 #define HAVE_ISNANF 1
55926 _ACEOF
55929 done
55931 else
55933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55934 $as_echo_n "checking for _isnanf declaration... " >&6; }
55935 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55936 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55937 $as_echo_n "(cached) " >&6
55938 else
55941 ac_ext=cpp
55942 ac_cpp='$CXXCPP $CPPFLAGS'
55943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55948 /* end confdefs.h. */
55949 #include <math.h>
55950 #ifdef HAVE_IEEEFP_H
55951 #include <ieeefp.h>
55952 #endif
55955 main ()
55957 _isnanf(0);
55959 return 0;
55961 _ACEOF
55962 if ac_fn_cxx_try_compile "$LINENO"; then :
55963 glibcxx_cv_func__isnanf_use=yes
55964 else
55965 glibcxx_cv_func__isnanf_use=no
55967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55968 ac_ext=c
55969 ac_cpp='$CPP $CPPFLAGS'
55970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55979 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55981 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55982 for ac_func in _isnanf
55983 do :
55984 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55985 if test "x$ac_cv_func__isnanf" = xyes; then :
55986 cat >>confdefs.h <<_ACEOF
55987 #define HAVE__ISNANF 1
55988 _ACEOF
55991 done
56000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56001 $as_echo_n "checking for isinff declaration... " >&6; }
56002 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56003 if ${glibcxx_cv_func_isinff_use+:} false; then :
56004 $as_echo_n "(cached) " >&6
56005 else
56008 ac_ext=cpp
56009 ac_cpp='$CXXCPP $CPPFLAGS'
56010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56015 /* end confdefs.h. */
56016 #include <math.h>
56017 #ifdef HAVE_IEEEFP_H
56018 #include <ieeefp.h>
56019 #endif
56022 main ()
56024 isinff(0);
56026 return 0;
56028 _ACEOF
56029 if ac_fn_cxx_try_compile "$LINENO"; then :
56030 glibcxx_cv_func_isinff_use=yes
56031 else
56032 glibcxx_cv_func_isinff_use=no
56034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56035 ac_ext=c
56036 ac_cpp='$CPP $CPPFLAGS'
56037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56046 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56048 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56049 for ac_func in isinff
56050 do :
56051 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56052 if test "x$ac_cv_func_isinff" = xyes; then :
56053 cat >>confdefs.h <<_ACEOF
56054 #define HAVE_ISINFF 1
56055 _ACEOF
56058 done
56060 else
56062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56063 $as_echo_n "checking for _isinff declaration... " >&6; }
56064 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56065 if ${glibcxx_cv_func__isinff_use+:} false; then :
56066 $as_echo_n "(cached) " >&6
56067 else
56070 ac_ext=cpp
56071 ac_cpp='$CXXCPP $CPPFLAGS'
56072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56077 /* end confdefs.h. */
56078 #include <math.h>
56079 #ifdef HAVE_IEEEFP_H
56080 #include <ieeefp.h>
56081 #endif
56084 main ()
56086 _isinff(0);
56088 return 0;
56090 _ACEOF
56091 if ac_fn_cxx_try_compile "$LINENO"; then :
56092 glibcxx_cv_func__isinff_use=yes
56093 else
56094 glibcxx_cv_func__isinff_use=no
56096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56097 ac_ext=c
56098 ac_cpp='$CPP $CPPFLAGS'
56099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56108 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56110 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56111 for ac_func in _isinff
56112 do :
56113 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56114 if test "x$ac_cv_func__isinff" = xyes; then :
56115 cat >>confdefs.h <<_ACEOF
56116 #define HAVE__ISINFF 1
56117 _ACEOF
56120 done
56129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56130 $as_echo_n "checking for atan2f declaration... " >&6; }
56131 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56132 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56147 main ()
56149 atan2f(0, 0);
56151 return 0;
56153 _ACEOF
56154 if ac_fn_cxx_try_compile "$LINENO"; then :
56155 glibcxx_cv_func_atan2f_use=yes
56156 else
56157 glibcxx_cv_func_atan2f_use=no
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 ac_ext=c
56161 ac_cpp='$CPP $CPPFLAGS'
56162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56171 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56173 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56174 for ac_func in atan2f
56175 do :
56176 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56177 if test "x$ac_cv_func_atan2f" = xyes; then :
56178 cat >>confdefs.h <<_ACEOF
56179 #define HAVE_ATAN2F 1
56180 _ACEOF
56183 done
56185 else
56187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56188 $as_echo_n "checking for _atan2f declaration... " >&6; }
56189 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56190 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56191 $as_echo_n "(cached) " >&6
56192 else
56195 ac_ext=cpp
56196 ac_cpp='$CXXCPP $CPPFLAGS'
56197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56202 /* end confdefs.h. */
56203 #include <math.h>
56205 main ()
56207 _atan2f(0, 0);
56209 return 0;
56211 _ACEOF
56212 if ac_fn_cxx_try_compile "$LINENO"; then :
56213 glibcxx_cv_func__atan2f_use=yes
56214 else
56215 glibcxx_cv_func__atan2f_use=no
56217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56218 ac_ext=c
56219 ac_cpp='$CPP $CPPFLAGS'
56220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56229 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56231 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56232 for ac_func in _atan2f
56233 do :
56234 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56235 if test "x$ac_cv_func__atan2f" = xyes; then :
56236 cat >>confdefs.h <<_ACEOF
56237 #define HAVE__ATAN2F 1
56238 _ACEOF
56241 done
56250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56251 $as_echo_n "checking for fabsf declaration... " >&6; }
56252 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56253 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56254 $as_echo_n "(cached) " >&6
56255 else
56258 ac_ext=cpp
56259 ac_cpp='$CXXCPP $CPPFLAGS'
56260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56265 /* end confdefs.h. */
56266 #include <math.h>
56267 #ifdef HAVE_IEEEFP_H
56268 #include <ieeefp.h>
56269 #endif
56272 main ()
56274 fabsf(0);
56276 return 0;
56278 _ACEOF
56279 if ac_fn_cxx_try_compile "$LINENO"; then :
56280 glibcxx_cv_func_fabsf_use=yes
56281 else
56282 glibcxx_cv_func_fabsf_use=no
56284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56285 ac_ext=c
56286 ac_cpp='$CPP $CPPFLAGS'
56287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56296 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56298 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56299 for ac_func in fabsf
56300 do :
56301 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56302 if test "x$ac_cv_func_fabsf" = xyes; then :
56303 cat >>confdefs.h <<_ACEOF
56304 #define HAVE_FABSF 1
56305 _ACEOF
56308 done
56310 else
56312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56313 $as_echo_n "checking for _fabsf declaration... " >&6; }
56314 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56315 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56316 $as_echo_n "(cached) " >&6
56317 else
56320 ac_ext=cpp
56321 ac_cpp='$CXXCPP $CPPFLAGS'
56322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56327 /* end confdefs.h. */
56328 #include <math.h>
56329 #ifdef HAVE_IEEEFP_H
56330 #include <ieeefp.h>
56331 #endif
56334 main ()
56336 _fabsf(0);
56338 return 0;
56340 _ACEOF
56341 if ac_fn_cxx_try_compile "$LINENO"; then :
56342 glibcxx_cv_func__fabsf_use=yes
56343 else
56344 glibcxx_cv_func__fabsf_use=no
56346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56347 ac_ext=c
56348 ac_cpp='$CPP $CPPFLAGS'
56349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56358 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56360 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56361 for ac_func in _fabsf
56362 do :
56363 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56364 if test "x$ac_cv_func__fabsf" = xyes; then :
56365 cat >>confdefs.h <<_ACEOF
56366 #define HAVE__FABSF 1
56367 _ACEOF
56370 done
56379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56380 $as_echo_n "checking for fmodf declaration... " >&6; }
56381 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56382 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56383 $as_echo_n "(cached) " >&6
56384 else
56387 ac_ext=cpp
56388 ac_cpp='$CXXCPP $CPPFLAGS'
56389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56394 /* end confdefs.h. */
56395 #include <math.h>
56397 main ()
56399 fmodf(0, 0);
56401 return 0;
56403 _ACEOF
56404 if ac_fn_cxx_try_compile "$LINENO"; then :
56405 glibcxx_cv_func_fmodf_use=yes
56406 else
56407 glibcxx_cv_func_fmodf_use=no
56409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56410 ac_ext=c
56411 ac_cpp='$CPP $CPPFLAGS'
56412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56421 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56423 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56424 for ac_func in fmodf
56425 do :
56426 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56427 if test "x$ac_cv_func_fmodf" = xyes; then :
56428 cat >>confdefs.h <<_ACEOF
56429 #define HAVE_FMODF 1
56430 _ACEOF
56433 done
56435 else
56437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56438 $as_echo_n "checking for _fmodf declaration... " >&6; }
56439 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56440 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56441 $as_echo_n "(cached) " >&6
56442 else
56445 ac_ext=cpp
56446 ac_cpp='$CXXCPP $CPPFLAGS'
56447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56452 /* end confdefs.h. */
56453 #include <math.h>
56455 main ()
56457 _fmodf(0, 0);
56459 return 0;
56461 _ACEOF
56462 if ac_fn_cxx_try_compile "$LINENO"; then :
56463 glibcxx_cv_func__fmodf_use=yes
56464 else
56465 glibcxx_cv_func__fmodf_use=no
56467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56468 ac_ext=c
56469 ac_cpp='$CPP $CPPFLAGS'
56470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56479 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56481 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56482 for ac_func in _fmodf
56483 do :
56484 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56485 if test "x$ac_cv_func__fmodf" = xyes; then :
56486 cat >>confdefs.h <<_ACEOF
56487 #define HAVE__FMODF 1
56488 _ACEOF
56491 done
56500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56501 $as_echo_n "checking for frexpf declaration... " >&6; }
56502 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56503 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56504 $as_echo_n "(cached) " >&6
56505 else
56508 ac_ext=cpp
56509 ac_cpp='$CXXCPP $CPPFLAGS'
56510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56515 /* end confdefs.h. */
56516 #include <math.h>
56518 main ()
56520 frexpf(0, 0);
56522 return 0;
56524 _ACEOF
56525 if ac_fn_cxx_try_compile "$LINENO"; then :
56526 glibcxx_cv_func_frexpf_use=yes
56527 else
56528 glibcxx_cv_func_frexpf_use=no
56530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56531 ac_ext=c
56532 ac_cpp='$CPP $CPPFLAGS'
56533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56542 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56544 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56545 for ac_func in frexpf
56546 do :
56547 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56548 if test "x$ac_cv_func_frexpf" = xyes; then :
56549 cat >>confdefs.h <<_ACEOF
56550 #define HAVE_FREXPF 1
56551 _ACEOF
56554 done
56556 else
56558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56559 $as_echo_n "checking for _frexpf declaration... " >&6; }
56560 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56561 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56562 $as_echo_n "(cached) " >&6
56563 else
56566 ac_ext=cpp
56567 ac_cpp='$CXXCPP $CPPFLAGS'
56568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56573 /* end confdefs.h. */
56574 #include <math.h>
56576 main ()
56578 _frexpf(0, 0);
56580 return 0;
56582 _ACEOF
56583 if ac_fn_cxx_try_compile "$LINENO"; then :
56584 glibcxx_cv_func__frexpf_use=yes
56585 else
56586 glibcxx_cv_func__frexpf_use=no
56588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56589 ac_ext=c
56590 ac_cpp='$CPP $CPPFLAGS'
56591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56600 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56602 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56603 for ac_func in _frexpf
56604 do :
56605 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56606 if test "x$ac_cv_func__frexpf" = xyes; then :
56607 cat >>confdefs.h <<_ACEOF
56608 #define HAVE__FREXPF 1
56609 _ACEOF
56612 done
56621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56622 $as_echo_n "checking for hypotf declaration... " >&6; }
56623 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56624 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56625 $as_echo_n "(cached) " >&6
56626 else
56629 ac_ext=cpp
56630 ac_cpp='$CXXCPP $CPPFLAGS'
56631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56636 /* end confdefs.h. */
56637 #include <math.h>
56639 main ()
56641 hypotf(0, 0);
56643 return 0;
56645 _ACEOF
56646 if ac_fn_cxx_try_compile "$LINENO"; then :
56647 glibcxx_cv_func_hypotf_use=yes
56648 else
56649 glibcxx_cv_func_hypotf_use=no
56651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56652 ac_ext=c
56653 ac_cpp='$CPP $CPPFLAGS'
56654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56663 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56665 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56666 for ac_func in hypotf
56667 do :
56668 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56669 if test "x$ac_cv_func_hypotf" = xyes; then :
56670 cat >>confdefs.h <<_ACEOF
56671 #define HAVE_HYPOTF 1
56672 _ACEOF
56675 done
56677 else
56679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56680 $as_echo_n "checking for _hypotf declaration... " >&6; }
56681 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56682 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56683 $as_echo_n "(cached) " >&6
56684 else
56687 ac_ext=cpp
56688 ac_cpp='$CXXCPP $CPPFLAGS'
56689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56694 /* end confdefs.h. */
56695 #include <math.h>
56697 main ()
56699 _hypotf(0, 0);
56701 return 0;
56703 _ACEOF
56704 if ac_fn_cxx_try_compile "$LINENO"; then :
56705 glibcxx_cv_func__hypotf_use=yes
56706 else
56707 glibcxx_cv_func__hypotf_use=no
56709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56710 ac_ext=c
56711 ac_cpp='$CPP $CPPFLAGS'
56712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56721 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56723 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56724 for ac_func in _hypotf
56725 do :
56726 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56727 if test "x$ac_cv_func__hypotf" = xyes; then :
56728 cat >>confdefs.h <<_ACEOF
56729 #define HAVE__HYPOTF 1
56730 _ACEOF
56733 done
56742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56743 $as_echo_n "checking for ldexpf declaration... " >&6; }
56744 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56745 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56746 $as_echo_n "(cached) " >&6
56747 else
56750 ac_ext=cpp
56751 ac_cpp='$CXXCPP $CPPFLAGS'
56752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56757 /* end confdefs.h. */
56758 #include <math.h>
56760 main ()
56762 ldexpf(0, 0);
56764 return 0;
56766 _ACEOF
56767 if ac_fn_cxx_try_compile "$LINENO"; then :
56768 glibcxx_cv_func_ldexpf_use=yes
56769 else
56770 glibcxx_cv_func_ldexpf_use=no
56772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56773 ac_ext=c
56774 ac_cpp='$CPP $CPPFLAGS'
56775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56784 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56786 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56787 for ac_func in ldexpf
56788 do :
56789 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56790 if test "x$ac_cv_func_ldexpf" = xyes; then :
56791 cat >>confdefs.h <<_ACEOF
56792 #define HAVE_LDEXPF 1
56793 _ACEOF
56796 done
56798 else
56800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56801 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56802 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56803 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56804 $as_echo_n "(cached) " >&6
56805 else
56808 ac_ext=cpp
56809 ac_cpp='$CXXCPP $CPPFLAGS'
56810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56815 /* end confdefs.h. */
56816 #include <math.h>
56818 main ()
56820 _ldexpf(0, 0);
56822 return 0;
56824 _ACEOF
56825 if ac_fn_cxx_try_compile "$LINENO"; then :
56826 glibcxx_cv_func__ldexpf_use=yes
56827 else
56828 glibcxx_cv_func__ldexpf_use=no
56830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56831 ac_ext=c
56832 ac_cpp='$CPP $CPPFLAGS'
56833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56842 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56844 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56845 for ac_func in _ldexpf
56846 do :
56847 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56848 if test "x$ac_cv_func__ldexpf" = xyes; then :
56849 cat >>confdefs.h <<_ACEOF
56850 #define HAVE__LDEXPF 1
56851 _ACEOF
56854 done
56863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56864 $as_echo_n "checking for logf declaration... " >&6; }
56865 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56866 if ${glibcxx_cv_func_logf_use+:} false; then :
56867 $as_echo_n "(cached) " >&6
56868 else
56871 ac_ext=cpp
56872 ac_cpp='$CXXCPP $CPPFLAGS'
56873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56878 /* end confdefs.h. */
56879 #include <math.h>
56880 #ifdef HAVE_IEEEFP_H
56881 #include <ieeefp.h>
56882 #endif
56885 main ()
56887 logf(0);
56889 return 0;
56891 _ACEOF
56892 if ac_fn_cxx_try_compile "$LINENO"; then :
56893 glibcxx_cv_func_logf_use=yes
56894 else
56895 glibcxx_cv_func_logf_use=no
56897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56898 ac_ext=c
56899 ac_cpp='$CPP $CPPFLAGS'
56900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56909 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56911 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56912 for ac_func in logf
56913 do :
56914 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56915 if test "x$ac_cv_func_logf" = xyes; then :
56916 cat >>confdefs.h <<_ACEOF
56917 #define HAVE_LOGF 1
56918 _ACEOF
56921 done
56923 else
56925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56926 $as_echo_n "checking for _logf declaration... " >&6; }
56927 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56928 if ${glibcxx_cv_func__logf_use+:} false; then :
56929 $as_echo_n "(cached) " >&6
56930 else
56933 ac_ext=cpp
56934 ac_cpp='$CXXCPP $CPPFLAGS'
56935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56940 /* end confdefs.h. */
56941 #include <math.h>
56942 #ifdef HAVE_IEEEFP_H
56943 #include <ieeefp.h>
56944 #endif
56947 main ()
56949 _logf(0);
56951 return 0;
56953 _ACEOF
56954 if ac_fn_cxx_try_compile "$LINENO"; then :
56955 glibcxx_cv_func__logf_use=yes
56956 else
56957 glibcxx_cv_func__logf_use=no
56959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56960 ac_ext=c
56961 ac_cpp='$CPP $CPPFLAGS'
56962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56971 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56973 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56974 for ac_func in _logf
56975 do :
56976 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56977 if test "x$ac_cv_func__logf" = xyes; then :
56978 cat >>confdefs.h <<_ACEOF
56979 #define HAVE__LOGF 1
56980 _ACEOF
56983 done
56992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56993 $as_echo_n "checking for log10f declaration... " >&6; }
56994 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56995 if ${glibcxx_cv_func_log10f_use+:} false; then :
56996 $as_echo_n "(cached) " >&6
56997 else
57000 ac_ext=cpp
57001 ac_cpp='$CXXCPP $CPPFLAGS'
57002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57007 /* end confdefs.h. */
57008 #include <math.h>
57009 #ifdef HAVE_IEEEFP_H
57010 #include <ieeefp.h>
57011 #endif
57014 main ()
57016 log10f(0);
57018 return 0;
57020 _ACEOF
57021 if ac_fn_cxx_try_compile "$LINENO"; then :
57022 glibcxx_cv_func_log10f_use=yes
57023 else
57024 glibcxx_cv_func_log10f_use=no
57026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57027 ac_ext=c
57028 ac_cpp='$CPP $CPPFLAGS'
57029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57038 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57040 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57041 for ac_func in log10f
57042 do :
57043 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57044 if test "x$ac_cv_func_log10f" = xyes; then :
57045 cat >>confdefs.h <<_ACEOF
57046 #define HAVE_LOG10F 1
57047 _ACEOF
57050 done
57052 else
57054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57055 $as_echo_n "checking for _log10f declaration... " >&6; }
57056 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57057 if ${glibcxx_cv_func__log10f_use+:} false; then :
57058 $as_echo_n "(cached) " >&6
57059 else
57062 ac_ext=cpp
57063 ac_cpp='$CXXCPP $CPPFLAGS'
57064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57069 /* end confdefs.h. */
57070 #include <math.h>
57071 #ifdef HAVE_IEEEFP_H
57072 #include <ieeefp.h>
57073 #endif
57076 main ()
57078 _log10f(0);
57080 return 0;
57082 _ACEOF
57083 if ac_fn_cxx_try_compile "$LINENO"; then :
57084 glibcxx_cv_func__log10f_use=yes
57085 else
57086 glibcxx_cv_func__log10f_use=no
57088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57089 ac_ext=c
57090 ac_cpp='$CPP $CPPFLAGS'
57091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57100 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57102 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57103 for ac_func in _log10f
57104 do :
57105 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57106 if test "x$ac_cv_func__log10f" = xyes; then :
57107 cat >>confdefs.h <<_ACEOF
57108 #define HAVE__LOG10F 1
57109 _ACEOF
57112 done
57121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57122 $as_echo_n "checking for modff declaration... " >&6; }
57123 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57124 if ${glibcxx_cv_func_modff_use+:} false; then :
57125 $as_echo_n "(cached) " >&6
57126 else
57129 ac_ext=cpp
57130 ac_cpp='$CXXCPP $CPPFLAGS'
57131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57136 /* end confdefs.h. */
57137 #include <math.h>
57139 main ()
57141 modff(0, 0);
57143 return 0;
57145 _ACEOF
57146 if ac_fn_cxx_try_compile "$LINENO"; then :
57147 glibcxx_cv_func_modff_use=yes
57148 else
57149 glibcxx_cv_func_modff_use=no
57151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57152 ac_ext=c
57153 ac_cpp='$CPP $CPPFLAGS'
57154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57163 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57165 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57166 for ac_func in modff
57167 do :
57168 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57169 if test "x$ac_cv_func_modff" = xyes; then :
57170 cat >>confdefs.h <<_ACEOF
57171 #define HAVE_MODFF 1
57172 _ACEOF
57175 done
57177 else
57179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57180 $as_echo_n "checking for _modff declaration... " >&6; }
57181 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57182 if ${glibcxx_cv_func__modff_use+:} false; then :
57183 $as_echo_n "(cached) " >&6
57184 else
57187 ac_ext=cpp
57188 ac_cpp='$CXXCPP $CPPFLAGS'
57189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57194 /* end confdefs.h. */
57195 #include <math.h>
57197 main ()
57199 _modff(0, 0);
57201 return 0;
57203 _ACEOF
57204 if ac_fn_cxx_try_compile "$LINENO"; then :
57205 glibcxx_cv_func__modff_use=yes
57206 else
57207 glibcxx_cv_func__modff_use=no
57209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57210 ac_ext=c
57211 ac_cpp='$CPP $CPPFLAGS'
57212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57221 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57223 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57224 for ac_func in _modff
57225 do :
57226 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57227 if test "x$ac_cv_func__modff" = xyes; then :
57228 cat >>confdefs.h <<_ACEOF
57229 #define HAVE__MODFF 1
57230 _ACEOF
57233 done
57242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57243 $as_echo_n "checking for modf declaration... " >&6; }
57244 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57245 if ${glibcxx_cv_func_modf_use+:} false; then :
57246 $as_echo_n "(cached) " >&6
57247 else
57250 ac_ext=cpp
57251 ac_cpp='$CXXCPP $CPPFLAGS'
57252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57257 /* end confdefs.h. */
57258 #include <math.h>
57260 main ()
57262 modf(0, 0);
57264 return 0;
57266 _ACEOF
57267 if ac_fn_cxx_try_compile "$LINENO"; then :
57268 glibcxx_cv_func_modf_use=yes
57269 else
57270 glibcxx_cv_func_modf_use=no
57272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57273 ac_ext=c
57274 ac_cpp='$CPP $CPPFLAGS'
57275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57284 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57286 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57287 for ac_func in modf
57288 do :
57289 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57290 if test "x$ac_cv_func_modf" = xyes; then :
57291 cat >>confdefs.h <<_ACEOF
57292 #define HAVE_MODF 1
57293 _ACEOF
57296 done
57298 else
57300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57301 $as_echo_n "checking for _modf declaration... " >&6; }
57302 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57303 if ${glibcxx_cv_func__modf_use+:} false; then :
57304 $as_echo_n "(cached) " >&6
57305 else
57308 ac_ext=cpp
57309 ac_cpp='$CXXCPP $CPPFLAGS'
57310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57315 /* end confdefs.h. */
57316 #include <math.h>
57318 main ()
57320 _modf(0, 0);
57322 return 0;
57324 _ACEOF
57325 if ac_fn_cxx_try_compile "$LINENO"; then :
57326 glibcxx_cv_func__modf_use=yes
57327 else
57328 glibcxx_cv_func__modf_use=no
57330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57331 ac_ext=c
57332 ac_cpp='$CPP $CPPFLAGS'
57333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57342 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57344 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57345 for ac_func in _modf
57346 do :
57347 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57348 if test "x$ac_cv_func__modf" = xyes; then :
57349 cat >>confdefs.h <<_ACEOF
57350 #define HAVE__MODF 1
57351 _ACEOF
57354 done
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57364 $as_echo_n "checking for powf declaration... " >&6; }
57365 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57366 if ${glibcxx_cv_func_powf_use+:} false; then :
57367 $as_echo_n "(cached) " >&6
57368 else
57371 ac_ext=cpp
57372 ac_cpp='$CXXCPP $CPPFLAGS'
57373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57378 /* end confdefs.h. */
57379 #include <math.h>
57381 main ()
57383 powf(0, 0);
57385 return 0;
57387 _ACEOF
57388 if ac_fn_cxx_try_compile "$LINENO"; then :
57389 glibcxx_cv_func_powf_use=yes
57390 else
57391 glibcxx_cv_func_powf_use=no
57393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57394 ac_ext=c
57395 ac_cpp='$CPP $CPPFLAGS'
57396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57405 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57407 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57408 for ac_func in powf
57409 do :
57410 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57411 if test "x$ac_cv_func_powf" = xyes; then :
57412 cat >>confdefs.h <<_ACEOF
57413 #define HAVE_POWF 1
57414 _ACEOF
57417 done
57419 else
57421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57422 $as_echo_n "checking for _powf declaration... " >&6; }
57423 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57424 if ${glibcxx_cv_func__powf_use+:} false; then :
57425 $as_echo_n "(cached) " >&6
57426 else
57429 ac_ext=cpp
57430 ac_cpp='$CXXCPP $CPPFLAGS'
57431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57436 /* end confdefs.h. */
57437 #include <math.h>
57439 main ()
57441 _powf(0, 0);
57443 return 0;
57445 _ACEOF
57446 if ac_fn_cxx_try_compile "$LINENO"; then :
57447 glibcxx_cv_func__powf_use=yes
57448 else
57449 glibcxx_cv_func__powf_use=no
57451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57452 ac_ext=c
57453 ac_cpp='$CPP $CPPFLAGS'
57454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57463 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57465 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57466 for ac_func in _powf
57467 do :
57468 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57469 if test "x$ac_cv_func__powf" = xyes; then :
57470 cat >>confdefs.h <<_ACEOF
57471 #define HAVE__POWF 1
57472 _ACEOF
57475 done
57484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57485 $as_echo_n "checking for sqrtf declaration... " >&6; }
57486 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57487 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57488 $as_echo_n "(cached) " >&6
57489 else
57492 ac_ext=cpp
57493 ac_cpp='$CXXCPP $CPPFLAGS'
57494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57499 /* end confdefs.h. */
57500 #include <math.h>
57501 #ifdef HAVE_IEEEFP_H
57502 #include <ieeefp.h>
57503 #endif
57506 main ()
57508 sqrtf(0);
57510 return 0;
57512 _ACEOF
57513 if ac_fn_cxx_try_compile "$LINENO"; then :
57514 glibcxx_cv_func_sqrtf_use=yes
57515 else
57516 glibcxx_cv_func_sqrtf_use=no
57518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57519 ac_ext=c
57520 ac_cpp='$CPP $CPPFLAGS'
57521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57530 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57532 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57533 for ac_func in sqrtf
57534 do :
57535 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57536 if test "x$ac_cv_func_sqrtf" = xyes; then :
57537 cat >>confdefs.h <<_ACEOF
57538 #define HAVE_SQRTF 1
57539 _ACEOF
57542 done
57544 else
57546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57547 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57548 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57549 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57550 $as_echo_n "(cached) " >&6
57551 else
57554 ac_ext=cpp
57555 ac_cpp='$CXXCPP $CPPFLAGS'
57556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57562 #include <math.h>
57563 #ifdef HAVE_IEEEFP_H
57564 #include <ieeefp.h>
57565 #endif
57568 main ()
57570 _sqrtf(0);
57572 return 0;
57574 _ACEOF
57575 if ac_fn_cxx_try_compile "$LINENO"; then :
57576 glibcxx_cv_func__sqrtf_use=yes
57577 else
57578 glibcxx_cv_func__sqrtf_use=no
57580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57581 ac_ext=c
57582 ac_cpp='$CPP $CPPFLAGS'
57583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57592 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57594 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57595 for ac_func in _sqrtf
57596 do :
57597 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57598 if test "x$ac_cv_func__sqrtf" = xyes; then :
57599 cat >>confdefs.h <<_ACEOF
57600 #define HAVE__SQRTF 1
57601 _ACEOF
57604 done
57613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57614 $as_echo_n "checking for sincosf declaration... " >&6; }
57615 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57616 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57617 $as_echo_n "(cached) " >&6
57618 else
57621 ac_ext=cpp
57622 ac_cpp='$CXXCPP $CPPFLAGS'
57623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57628 /* end confdefs.h. */
57629 #include <math.h>
57631 main ()
57633 sincosf(0, 0, 0);
57635 return 0;
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_sincosf_use=yes
57640 else
57641 glibcxx_cv_func_sincosf_use=no
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57655 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57657 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57658 for ac_func in sincosf
57659 do :
57660 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57661 if test "x$ac_cv_func_sincosf" = xyes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_SINCOSF 1
57664 _ACEOF
57667 done
57669 else
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57672 $as_echo_n "checking for _sincosf declaration... " >&6; }
57673 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57674 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57689 main ()
57691 _sincosf(0, 0, 0);
57693 return 0;
57695 _ACEOF
57696 if ac_fn_cxx_try_compile "$LINENO"; then :
57697 glibcxx_cv_func__sincosf_use=yes
57698 else
57699 glibcxx_cv_func__sincosf_use=no
57701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57702 ac_ext=c
57703 ac_cpp='$CPP $CPPFLAGS'
57704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57713 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57715 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57716 for ac_func in _sincosf
57717 do :
57718 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57719 if test "x$ac_cv_func__sincosf" = xyes; then :
57720 cat >>confdefs.h <<_ACEOF
57721 #define HAVE__SINCOSF 1
57722 _ACEOF
57725 done
57734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57735 $as_echo_n "checking for finitef declaration... " >&6; }
57736 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57737 if ${glibcxx_cv_func_finitef_use+:} false; then :
57738 $as_echo_n "(cached) " >&6
57739 else
57742 ac_ext=cpp
57743 ac_cpp='$CXXCPP $CPPFLAGS'
57744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57749 /* end confdefs.h. */
57750 #include <math.h>
57751 #ifdef HAVE_IEEEFP_H
57752 #include <ieeefp.h>
57753 #endif
57756 main ()
57758 finitef(0);
57760 return 0;
57762 _ACEOF
57763 if ac_fn_cxx_try_compile "$LINENO"; then :
57764 glibcxx_cv_func_finitef_use=yes
57765 else
57766 glibcxx_cv_func_finitef_use=no
57768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57769 ac_ext=c
57770 ac_cpp='$CPP $CPPFLAGS'
57771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57780 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57782 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57783 for ac_func in finitef
57784 do :
57785 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57786 if test "x$ac_cv_func_finitef" = xyes; then :
57787 cat >>confdefs.h <<_ACEOF
57788 #define HAVE_FINITEF 1
57789 _ACEOF
57792 done
57794 else
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57797 $as_echo_n "checking for _finitef declaration... " >&6; }
57798 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57799 if ${glibcxx_cv_func__finitef_use+:} false; then :
57800 $as_echo_n "(cached) " >&6
57801 else
57804 ac_ext=cpp
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h. */
57812 #include <math.h>
57813 #ifdef HAVE_IEEEFP_H
57814 #include <ieeefp.h>
57815 #endif
57818 main ()
57820 _finitef(0);
57822 return 0;
57824 _ACEOF
57825 if ac_fn_cxx_try_compile "$LINENO"; then :
57826 glibcxx_cv_func__finitef_use=yes
57827 else
57828 glibcxx_cv_func__finitef_use=no
57830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57831 ac_ext=c
57832 ac_cpp='$CPP $CPPFLAGS'
57833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57842 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57844 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57845 for ac_func in _finitef
57846 do :
57847 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57848 if test "x$ac_cv_func__finitef" = xyes; then :
57849 cat >>confdefs.h <<_ACEOF
57850 #define HAVE__FINITEF 1
57851 _ACEOF
57854 done
57863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57864 $as_echo_n "checking for long double trig functions... " >&6; }
57865 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57866 $as_echo_n "(cached) " >&6
57867 else
57870 ac_ext=cpp
57871 ac_cpp='$CXXCPP $CPPFLAGS'
57872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57877 /* end confdefs.h. */
57878 #include <math.h>
57880 main ()
57882 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57884 return 0;
57886 _ACEOF
57887 if ac_fn_cxx_try_compile "$LINENO"; then :
57888 glibcxx_cv_func_long_double_trig_use=yes
57889 else
57890 glibcxx_cv_func_long_double_trig_use=no
57892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57893 ac_ext=c
57894 ac_cpp='$CPP $CPPFLAGS'
57895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57902 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57903 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57904 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57905 do :
57906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57908 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57909 cat >>confdefs.h <<_ACEOF
57910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57911 _ACEOF
57914 done
57916 else
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57918 $as_echo_n "checking for _long double trig functions... " >&6; }
57919 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57920 $as_echo_n "(cached) " >&6
57921 else
57924 ac_ext=cpp
57925 ac_cpp='$CXXCPP $CPPFLAGS'
57926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57931 /* end confdefs.h. */
57932 #include <math.h>
57934 main ()
57936 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57938 return 0;
57940 _ACEOF
57941 if ac_fn_cxx_try_compile "$LINENO"; then :
57942 glibcxx_cv_func__long_double_trig_use=yes
57943 else
57944 glibcxx_cv_func__long_double_trig_use=no
57946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57947 ac_ext=c
57948 ac_cpp='$CPP $CPPFLAGS'
57949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57956 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57957 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57958 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57959 do :
57960 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57962 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57963 cat >>confdefs.h <<_ACEOF
57964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57965 _ACEOF
57968 done
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57978 $as_echo_n "checking for long double round functions... " >&6; }
57979 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57980 $as_echo_n "(cached) " >&6
57981 else
57984 ac_ext=cpp
57985 ac_cpp='$CXXCPP $CPPFLAGS'
57986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57991 /* end confdefs.h. */
57992 #include <math.h>
57994 main ()
57996 ceill (0); floorl (0);
57998 return 0;
58000 _ACEOF
58001 if ac_fn_cxx_try_compile "$LINENO"; then :
58002 glibcxx_cv_func_long_double_round_use=yes
58003 else
58004 glibcxx_cv_func_long_double_round_use=no
58006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58007 ac_ext=c
58008 ac_cpp='$CPP $CPPFLAGS'
58009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58016 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58017 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58018 for ac_func in ceill floorl
58019 do :
58020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58022 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58023 cat >>confdefs.h <<_ACEOF
58024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58025 _ACEOF
58028 done
58030 else
58031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58032 $as_echo_n "checking for _long double round functions... " >&6; }
58033 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58034 $as_echo_n "(cached) " >&6
58035 else
58038 ac_ext=cpp
58039 ac_cpp='$CXXCPP $CPPFLAGS'
58040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58045 /* end confdefs.h. */
58046 #include <math.h>
58048 main ()
58050 _ceill (0); _floorl (0);
58052 return 0;
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056 glibcxx_cv_func__long_double_round_use=yes
58057 else
58058 glibcxx_cv_func__long_double_round_use=no
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061 ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58070 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58071 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58072 for ac_func in _ceill _floorl
58073 do :
58074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58079 _ACEOF
58082 done
58092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58093 $as_echo_n "checking for isnanl declaration... " >&6; }
58094 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58095 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58096 $as_echo_n "(cached) " >&6
58097 else
58100 ac_ext=cpp
58101 ac_cpp='$CXXCPP $CPPFLAGS'
58102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58107 /* end confdefs.h. */
58108 #include <math.h>
58109 #ifdef HAVE_IEEEFP_H
58110 #include <ieeefp.h>
58111 #endif
58114 main ()
58116 isnanl(0);
58118 return 0;
58120 _ACEOF
58121 if ac_fn_cxx_try_compile "$LINENO"; then :
58122 glibcxx_cv_func_isnanl_use=yes
58123 else
58124 glibcxx_cv_func_isnanl_use=no
58126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58127 ac_ext=c
58128 ac_cpp='$CPP $CPPFLAGS'
58129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58138 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58140 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58141 for ac_func in isnanl
58142 do :
58143 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58144 if test "x$ac_cv_func_isnanl" = xyes; then :
58145 cat >>confdefs.h <<_ACEOF
58146 #define HAVE_ISNANL 1
58147 _ACEOF
58150 done
58152 else
58154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58155 $as_echo_n "checking for _isnanl declaration... " >&6; }
58156 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58157 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58158 $as_echo_n "(cached) " >&6
58159 else
58162 ac_ext=cpp
58163 ac_cpp='$CXXCPP $CPPFLAGS'
58164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58169 /* end confdefs.h. */
58170 #include <math.h>
58171 #ifdef HAVE_IEEEFP_H
58172 #include <ieeefp.h>
58173 #endif
58176 main ()
58178 _isnanl(0);
58180 return 0;
58182 _ACEOF
58183 if ac_fn_cxx_try_compile "$LINENO"; then :
58184 glibcxx_cv_func__isnanl_use=yes
58185 else
58186 glibcxx_cv_func__isnanl_use=no
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 ac_ext=c
58190 ac_cpp='$CPP $CPPFLAGS'
58191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58200 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58202 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58203 for ac_func in _isnanl
58204 do :
58205 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58206 if test "x$ac_cv_func__isnanl" = xyes; then :
58207 cat >>confdefs.h <<_ACEOF
58208 #define HAVE__ISNANL 1
58209 _ACEOF
58212 done
58221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58222 $as_echo_n "checking for isinfl declaration... " >&6; }
58223 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58224 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58225 $as_echo_n "(cached) " >&6
58226 else
58229 ac_ext=cpp
58230 ac_cpp='$CXXCPP $CPPFLAGS'
58231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58236 /* end confdefs.h. */
58237 #include <math.h>
58238 #ifdef HAVE_IEEEFP_H
58239 #include <ieeefp.h>
58240 #endif
58243 main ()
58245 isinfl(0);
58247 return 0;
58249 _ACEOF
58250 if ac_fn_cxx_try_compile "$LINENO"; then :
58251 glibcxx_cv_func_isinfl_use=yes
58252 else
58253 glibcxx_cv_func_isinfl_use=no
58255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58256 ac_ext=c
58257 ac_cpp='$CPP $CPPFLAGS'
58258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58267 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58269 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58270 for ac_func in isinfl
58271 do :
58272 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58273 if test "x$ac_cv_func_isinfl" = xyes; then :
58274 cat >>confdefs.h <<_ACEOF
58275 #define HAVE_ISINFL 1
58276 _ACEOF
58279 done
58281 else
58283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58284 $as_echo_n "checking for _isinfl declaration... " >&6; }
58285 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58286 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58287 $as_echo_n "(cached) " >&6
58288 else
58291 ac_ext=cpp
58292 ac_cpp='$CXXCPP $CPPFLAGS'
58293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58298 /* end confdefs.h. */
58299 #include <math.h>
58300 #ifdef HAVE_IEEEFP_H
58301 #include <ieeefp.h>
58302 #endif
58305 main ()
58307 _isinfl(0);
58309 return 0;
58311 _ACEOF
58312 if ac_fn_cxx_try_compile "$LINENO"; then :
58313 glibcxx_cv_func__isinfl_use=yes
58314 else
58315 glibcxx_cv_func__isinfl_use=no
58317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58318 ac_ext=c
58319 ac_cpp='$CPP $CPPFLAGS'
58320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58329 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58331 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58332 for ac_func in _isinfl
58333 do :
58334 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58335 if test "x$ac_cv_func__isinfl" = xyes; then :
58336 cat >>confdefs.h <<_ACEOF
58337 #define HAVE__ISINFL 1
58338 _ACEOF
58341 done
58350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58351 $as_echo_n "checking for atan2l declaration... " >&6; }
58352 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58353 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58354 $as_echo_n "(cached) " >&6
58355 else
58358 ac_ext=cpp
58359 ac_cpp='$CXXCPP $CPPFLAGS'
58360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58365 /* end confdefs.h. */
58366 #include <math.h>
58368 main ()
58370 atan2l(0, 0);
58372 return 0;
58374 _ACEOF
58375 if ac_fn_cxx_try_compile "$LINENO"; then :
58376 glibcxx_cv_func_atan2l_use=yes
58377 else
58378 glibcxx_cv_func_atan2l_use=no
58380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58381 ac_ext=c
58382 ac_cpp='$CPP $CPPFLAGS'
58383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58392 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58394 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58395 for ac_func in atan2l
58396 do :
58397 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58398 if test "x$ac_cv_func_atan2l" = xyes; then :
58399 cat >>confdefs.h <<_ACEOF
58400 #define HAVE_ATAN2L 1
58401 _ACEOF
58404 done
58406 else
58408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58409 $as_echo_n "checking for _atan2l declaration... " >&6; }
58410 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58411 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58412 $as_echo_n "(cached) " >&6
58413 else
58416 ac_ext=cpp
58417 ac_cpp='$CXXCPP $CPPFLAGS'
58418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58423 /* end confdefs.h. */
58424 #include <math.h>
58426 main ()
58428 _atan2l(0, 0);
58430 return 0;
58432 _ACEOF
58433 if ac_fn_cxx_try_compile "$LINENO"; then :
58434 glibcxx_cv_func__atan2l_use=yes
58435 else
58436 glibcxx_cv_func__atan2l_use=no
58438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58439 ac_ext=c
58440 ac_cpp='$CPP $CPPFLAGS'
58441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58450 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58452 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58453 for ac_func in _atan2l
58454 do :
58455 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58456 if test "x$ac_cv_func__atan2l" = xyes; then :
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE__ATAN2L 1
58459 _ACEOF
58462 done
58471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58472 $as_echo_n "checking for expl declaration... " >&6; }
58473 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58474 if ${glibcxx_cv_func_expl_use+:} false; then :
58475 $as_echo_n "(cached) " >&6
58476 else
58479 ac_ext=cpp
58480 ac_cpp='$CXXCPP $CPPFLAGS'
58481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58486 /* end confdefs.h. */
58487 #include <math.h>
58488 #ifdef HAVE_IEEEFP_H
58489 #include <ieeefp.h>
58490 #endif
58493 main ()
58495 expl(0);
58497 return 0;
58499 _ACEOF
58500 if ac_fn_cxx_try_compile "$LINENO"; then :
58501 glibcxx_cv_func_expl_use=yes
58502 else
58503 glibcxx_cv_func_expl_use=no
58505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58506 ac_ext=c
58507 ac_cpp='$CPP $CPPFLAGS'
58508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58517 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58519 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58520 for ac_func in expl
58521 do :
58522 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58523 if test "x$ac_cv_func_expl" = xyes; then :
58524 cat >>confdefs.h <<_ACEOF
58525 #define HAVE_EXPL 1
58526 _ACEOF
58529 done
58531 else
58533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58534 $as_echo_n "checking for _expl declaration... " >&6; }
58535 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58536 if ${glibcxx_cv_func__expl_use+:} false; then :
58537 $as_echo_n "(cached) " >&6
58538 else
58541 ac_ext=cpp
58542 ac_cpp='$CXXCPP $CPPFLAGS'
58543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58548 /* end confdefs.h. */
58549 #include <math.h>
58550 #ifdef HAVE_IEEEFP_H
58551 #include <ieeefp.h>
58552 #endif
58555 main ()
58557 _expl(0);
58559 return 0;
58561 _ACEOF
58562 if ac_fn_cxx_try_compile "$LINENO"; then :
58563 glibcxx_cv_func__expl_use=yes
58564 else
58565 glibcxx_cv_func__expl_use=no
58567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58568 ac_ext=c
58569 ac_cpp='$CPP $CPPFLAGS'
58570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58579 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58581 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58582 for ac_func in _expl
58583 do :
58584 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58585 if test "x$ac_cv_func__expl" = xyes; then :
58586 cat >>confdefs.h <<_ACEOF
58587 #define HAVE__EXPL 1
58588 _ACEOF
58591 done
58600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58601 $as_echo_n "checking for fabsl declaration... " >&6; }
58602 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58603 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58604 $as_echo_n "(cached) " >&6
58605 else
58608 ac_ext=cpp
58609 ac_cpp='$CXXCPP $CPPFLAGS'
58610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58615 /* end confdefs.h. */
58616 #include <math.h>
58617 #ifdef HAVE_IEEEFP_H
58618 #include <ieeefp.h>
58619 #endif
58622 main ()
58624 fabsl(0);
58626 return 0;
58628 _ACEOF
58629 if ac_fn_cxx_try_compile "$LINENO"; then :
58630 glibcxx_cv_func_fabsl_use=yes
58631 else
58632 glibcxx_cv_func_fabsl_use=no
58634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58635 ac_ext=c
58636 ac_cpp='$CPP $CPPFLAGS'
58637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58646 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58648 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58649 for ac_func in fabsl
58650 do :
58651 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58652 if test "x$ac_cv_func_fabsl" = xyes; then :
58653 cat >>confdefs.h <<_ACEOF
58654 #define HAVE_FABSL 1
58655 _ACEOF
58658 done
58660 else
58662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58663 $as_echo_n "checking for _fabsl declaration... " >&6; }
58664 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58665 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58666 $as_echo_n "(cached) " >&6
58667 else
58670 ac_ext=cpp
58671 ac_cpp='$CXXCPP $CPPFLAGS'
58672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58677 /* end confdefs.h. */
58678 #include <math.h>
58679 #ifdef HAVE_IEEEFP_H
58680 #include <ieeefp.h>
58681 #endif
58684 main ()
58686 _fabsl(0);
58688 return 0;
58690 _ACEOF
58691 if ac_fn_cxx_try_compile "$LINENO"; then :
58692 glibcxx_cv_func__fabsl_use=yes
58693 else
58694 glibcxx_cv_func__fabsl_use=no
58696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58697 ac_ext=c
58698 ac_cpp='$CPP $CPPFLAGS'
58699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58708 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58710 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58711 for ac_func in _fabsl
58712 do :
58713 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58714 if test "x$ac_cv_func__fabsl" = xyes; then :
58715 cat >>confdefs.h <<_ACEOF
58716 #define HAVE__FABSL 1
58717 _ACEOF
58720 done
58729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58730 $as_echo_n "checking for fmodl declaration... " >&6; }
58731 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58732 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58733 $as_echo_n "(cached) " >&6
58734 else
58737 ac_ext=cpp
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58744 /* end confdefs.h. */
58745 #include <math.h>
58747 main ()
58749 fmodl(0, 0);
58751 return 0;
58753 _ACEOF
58754 if ac_fn_cxx_try_compile "$LINENO"; then :
58755 glibcxx_cv_func_fmodl_use=yes
58756 else
58757 glibcxx_cv_func_fmodl_use=no
58759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58760 ac_ext=c
58761 ac_cpp='$CPP $CPPFLAGS'
58762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58771 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58773 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58774 for ac_func in fmodl
58775 do :
58776 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58777 if test "x$ac_cv_func_fmodl" = xyes; then :
58778 cat >>confdefs.h <<_ACEOF
58779 #define HAVE_FMODL 1
58780 _ACEOF
58783 done
58785 else
58787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58788 $as_echo_n "checking for _fmodl declaration... " >&6; }
58789 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58790 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58791 $as_echo_n "(cached) " >&6
58792 else
58795 ac_ext=cpp
58796 ac_cpp='$CXXCPP $CPPFLAGS'
58797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58802 /* end confdefs.h. */
58803 #include <math.h>
58805 main ()
58807 _fmodl(0, 0);
58809 return 0;
58811 _ACEOF
58812 if ac_fn_cxx_try_compile "$LINENO"; then :
58813 glibcxx_cv_func__fmodl_use=yes
58814 else
58815 glibcxx_cv_func__fmodl_use=no
58817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58818 ac_ext=c
58819 ac_cpp='$CPP $CPPFLAGS'
58820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58829 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58831 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58832 for ac_func in _fmodl
58833 do :
58834 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58835 if test "x$ac_cv_func__fmodl" = xyes; then :
58836 cat >>confdefs.h <<_ACEOF
58837 #define HAVE__FMODL 1
58838 _ACEOF
58841 done
58850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58851 $as_echo_n "checking for frexpl declaration... " >&6; }
58852 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58853 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58854 $as_echo_n "(cached) " >&6
58855 else
58858 ac_ext=cpp
58859 ac_cpp='$CXXCPP $CPPFLAGS'
58860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58865 /* end confdefs.h. */
58866 #include <math.h>
58868 main ()
58870 frexpl(0, 0);
58872 return 0;
58874 _ACEOF
58875 if ac_fn_cxx_try_compile "$LINENO"; then :
58876 glibcxx_cv_func_frexpl_use=yes
58877 else
58878 glibcxx_cv_func_frexpl_use=no
58880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58881 ac_ext=c
58882 ac_cpp='$CPP $CPPFLAGS'
58883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58892 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58894 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58895 for ac_func in frexpl
58896 do :
58897 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58898 if test "x$ac_cv_func_frexpl" = xyes; then :
58899 cat >>confdefs.h <<_ACEOF
58900 #define HAVE_FREXPL 1
58901 _ACEOF
58904 done
58906 else
58908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58909 $as_echo_n "checking for _frexpl declaration... " >&6; }
58910 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58911 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58912 $as_echo_n "(cached) " >&6
58913 else
58916 ac_ext=cpp
58917 ac_cpp='$CXXCPP $CPPFLAGS'
58918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58923 /* end confdefs.h. */
58924 #include <math.h>
58926 main ()
58928 _frexpl(0, 0);
58930 return 0;
58932 _ACEOF
58933 if ac_fn_cxx_try_compile "$LINENO"; then :
58934 glibcxx_cv_func__frexpl_use=yes
58935 else
58936 glibcxx_cv_func__frexpl_use=no
58938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58939 ac_ext=c
58940 ac_cpp='$CPP $CPPFLAGS'
58941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58950 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58952 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58953 for ac_func in _frexpl
58954 do :
58955 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58956 if test "x$ac_cv_func__frexpl" = xyes; then :
58957 cat >>confdefs.h <<_ACEOF
58958 #define HAVE__FREXPL 1
58959 _ACEOF
58962 done
58971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58972 $as_echo_n "checking for hypotl declaration... " >&6; }
58973 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58974 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58975 $as_echo_n "(cached) " >&6
58976 else
58979 ac_ext=cpp
58980 ac_cpp='$CXXCPP $CPPFLAGS'
58981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58986 /* end confdefs.h. */
58987 #include <math.h>
58989 main ()
58991 hypotl(0, 0);
58993 return 0;
58995 _ACEOF
58996 if ac_fn_cxx_try_compile "$LINENO"; then :
58997 glibcxx_cv_func_hypotl_use=yes
58998 else
58999 glibcxx_cv_func_hypotl_use=no
59001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59002 ac_ext=c
59003 ac_cpp='$CPP $CPPFLAGS'
59004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59013 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59015 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59016 for ac_func in hypotl
59017 do :
59018 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59019 if test "x$ac_cv_func_hypotl" = xyes; then :
59020 cat >>confdefs.h <<_ACEOF
59021 #define HAVE_HYPOTL 1
59022 _ACEOF
59025 done
59027 else
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59030 $as_echo_n "checking for _hypotl declaration... " >&6; }
59031 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59032 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59037 ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h. */
59045 #include <math.h>
59047 main ()
59049 _hypotl(0, 0);
59051 return 0;
59053 _ACEOF
59054 if ac_fn_cxx_try_compile "$LINENO"; then :
59055 glibcxx_cv_func__hypotl_use=yes
59056 else
59057 glibcxx_cv_func__hypotl_use=no
59059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59060 ac_ext=c
59061 ac_cpp='$CPP $CPPFLAGS'
59062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59071 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59073 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59074 for ac_func in _hypotl
59075 do :
59076 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59077 if test "x$ac_cv_func__hypotl" = xyes; then :
59078 cat >>confdefs.h <<_ACEOF
59079 #define HAVE__HYPOTL 1
59080 _ACEOF
59083 done
59092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59093 $as_echo_n "checking for ldexpl declaration... " >&6; }
59094 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59095 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59096 $as_echo_n "(cached) " >&6
59097 else
59100 ac_ext=cpp
59101 ac_cpp='$CXXCPP $CPPFLAGS'
59102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59107 /* end confdefs.h. */
59108 #include <math.h>
59110 main ()
59112 ldexpl(0, 0);
59114 return 0;
59116 _ACEOF
59117 if ac_fn_cxx_try_compile "$LINENO"; then :
59118 glibcxx_cv_func_ldexpl_use=yes
59119 else
59120 glibcxx_cv_func_ldexpl_use=no
59122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59123 ac_ext=c
59124 ac_cpp='$CPP $CPPFLAGS'
59125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59134 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59136 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59137 for ac_func in ldexpl
59138 do :
59139 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59140 if test "x$ac_cv_func_ldexpl" = xyes; then :
59141 cat >>confdefs.h <<_ACEOF
59142 #define HAVE_LDEXPL 1
59143 _ACEOF
59146 done
59148 else
59150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59151 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59152 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59153 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59154 $as_echo_n "(cached) " >&6
59155 else
59158 ac_ext=cpp
59159 ac_cpp='$CXXCPP $CPPFLAGS'
59160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59165 /* end confdefs.h. */
59166 #include <math.h>
59168 main ()
59170 _ldexpl(0, 0);
59172 return 0;
59174 _ACEOF
59175 if ac_fn_cxx_try_compile "$LINENO"; then :
59176 glibcxx_cv_func__ldexpl_use=yes
59177 else
59178 glibcxx_cv_func__ldexpl_use=no
59180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59181 ac_ext=c
59182 ac_cpp='$CPP $CPPFLAGS'
59183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59192 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59194 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59195 for ac_func in _ldexpl
59196 do :
59197 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59198 if test "x$ac_cv_func__ldexpl" = xyes; then :
59199 cat >>confdefs.h <<_ACEOF
59200 #define HAVE__LDEXPL 1
59201 _ACEOF
59204 done
59213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59214 $as_echo_n "checking for logl declaration... " >&6; }
59215 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59216 if ${glibcxx_cv_func_logl_use+:} false; then :
59217 $as_echo_n "(cached) " >&6
59218 else
59221 ac_ext=cpp
59222 ac_cpp='$CXXCPP $CPPFLAGS'
59223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59228 /* end confdefs.h. */
59229 #include <math.h>
59230 #ifdef HAVE_IEEEFP_H
59231 #include <ieeefp.h>
59232 #endif
59235 main ()
59237 logl(0);
59239 return 0;
59241 _ACEOF
59242 if ac_fn_cxx_try_compile "$LINENO"; then :
59243 glibcxx_cv_func_logl_use=yes
59244 else
59245 glibcxx_cv_func_logl_use=no
59247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59248 ac_ext=c
59249 ac_cpp='$CPP $CPPFLAGS'
59250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59259 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59261 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59262 for ac_func in logl
59263 do :
59264 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59265 if test "x$ac_cv_func_logl" = xyes; then :
59266 cat >>confdefs.h <<_ACEOF
59267 #define HAVE_LOGL 1
59268 _ACEOF
59271 done
59273 else
59275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59276 $as_echo_n "checking for _logl declaration... " >&6; }
59277 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59278 if ${glibcxx_cv_func__logl_use+:} false; then :
59279 $as_echo_n "(cached) " >&6
59280 else
59283 ac_ext=cpp
59284 ac_cpp='$CXXCPP $CPPFLAGS'
59285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59290 /* end confdefs.h. */
59291 #include <math.h>
59292 #ifdef HAVE_IEEEFP_H
59293 #include <ieeefp.h>
59294 #endif
59297 main ()
59299 _logl(0);
59301 return 0;
59303 _ACEOF
59304 if ac_fn_cxx_try_compile "$LINENO"; then :
59305 glibcxx_cv_func__logl_use=yes
59306 else
59307 glibcxx_cv_func__logl_use=no
59309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59310 ac_ext=c
59311 ac_cpp='$CPP $CPPFLAGS'
59312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59321 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59323 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59324 for ac_func in _logl
59325 do :
59326 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59327 if test "x$ac_cv_func__logl" = xyes; then :
59328 cat >>confdefs.h <<_ACEOF
59329 #define HAVE__LOGL 1
59330 _ACEOF
59333 done
59342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59343 $as_echo_n "checking for log10l declaration... " >&6; }
59344 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59345 if ${glibcxx_cv_func_log10l_use+:} false; then :
59346 $as_echo_n "(cached) " >&6
59347 else
59350 ac_ext=cpp
59351 ac_cpp='$CXXCPP $CPPFLAGS'
59352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59357 /* end confdefs.h. */
59358 #include <math.h>
59359 #ifdef HAVE_IEEEFP_H
59360 #include <ieeefp.h>
59361 #endif
59364 main ()
59366 log10l(0);
59368 return 0;
59370 _ACEOF
59371 if ac_fn_cxx_try_compile "$LINENO"; then :
59372 glibcxx_cv_func_log10l_use=yes
59373 else
59374 glibcxx_cv_func_log10l_use=no
59376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59377 ac_ext=c
59378 ac_cpp='$CPP $CPPFLAGS'
59379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59388 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59390 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59391 for ac_func in log10l
59392 do :
59393 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59394 if test "x$ac_cv_func_log10l" = xyes; then :
59395 cat >>confdefs.h <<_ACEOF
59396 #define HAVE_LOG10L 1
59397 _ACEOF
59400 done
59402 else
59404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59405 $as_echo_n "checking for _log10l declaration... " >&6; }
59406 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59407 if ${glibcxx_cv_func__log10l_use+:} false; then :
59408 $as_echo_n "(cached) " >&6
59409 else
59412 ac_ext=cpp
59413 ac_cpp='$CXXCPP $CPPFLAGS'
59414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59419 /* end confdefs.h. */
59420 #include <math.h>
59421 #ifdef HAVE_IEEEFP_H
59422 #include <ieeefp.h>
59423 #endif
59426 main ()
59428 _log10l(0);
59430 return 0;
59432 _ACEOF
59433 if ac_fn_cxx_try_compile "$LINENO"; then :
59434 glibcxx_cv_func__log10l_use=yes
59435 else
59436 glibcxx_cv_func__log10l_use=no
59438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59439 ac_ext=c
59440 ac_cpp='$CPP $CPPFLAGS'
59441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59450 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59452 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59453 for ac_func in _log10l
59454 do :
59455 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59456 if test "x$ac_cv_func__log10l" = xyes; then :
59457 cat >>confdefs.h <<_ACEOF
59458 #define HAVE__LOG10L 1
59459 _ACEOF
59462 done
59471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59472 $as_echo_n "checking for modfl declaration... " >&6; }
59473 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59474 if ${glibcxx_cv_func_modfl_use+:} false; then :
59475 $as_echo_n "(cached) " >&6
59476 else
59479 ac_ext=cpp
59480 ac_cpp='$CXXCPP $CPPFLAGS'
59481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59486 /* end confdefs.h. */
59487 #include <math.h>
59489 main ()
59491 modfl(0, 0);
59493 return 0;
59495 _ACEOF
59496 if ac_fn_cxx_try_compile "$LINENO"; then :
59497 glibcxx_cv_func_modfl_use=yes
59498 else
59499 glibcxx_cv_func_modfl_use=no
59501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59502 ac_ext=c
59503 ac_cpp='$CPP $CPPFLAGS'
59504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59513 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59515 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59516 for ac_func in modfl
59517 do :
59518 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59519 if test "x$ac_cv_func_modfl" = xyes; then :
59520 cat >>confdefs.h <<_ACEOF
59521 #define HAVE_MODFL 1
59522 _ACEOF
59525 done
59527 else
59529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59530 $as_echo_n "checking for _modfl declaration... " >&6; }
59531 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59532 if ${glibcxx_cv_func__modfl_use+:} false; then :
59533 $as_echo_n "(cached) " >&6
59534 else
59537 ac_ext=cpp
59538 ac_cpp='$CXXCPP $CPPFLAGS'
59539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59544 /* end confdefs.h. */
59545 #include <math.h>
59547 main ()
59549 _modfl(0, 0);
59551 return 0;
59553 _ACEOF
59554 if ac_fn_cxx_try_compile "$LINENO"; then :
59555 glibcxx_cv_func__modfl_use=yes
59556 else
59557 glibcxx_cv_func__modfl_use=no
59559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59560 ac_ext=c
59561 ac_cpp='$CPP $CPPFLAGS'
59562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59571 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59573 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59574 for ac_func in _modfl
59575 do :
59576 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59577 if test "x$ac_cv_func__modfl" = xyes; then :
59578 cat >>confdefs.h <<_ACEOF
59579 #define HAVE__MODFL 1
59580 _ACEOF
59583 done
59592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59593 $as_echo_n "checking for powl declaration... " >&6; }
59594 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59595 if ${glibcxx_cv_func_powl_use+:} false; then :
59596 $as_echo_n "(cached) " >&6
59597 else
59600 ac_ext=cpp
59601 ac_cpp='$CXXCPP $CPPFLAGS'
59602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59607 /* end confdefs.h. */
59608 #include <math.h>
59610 main ()
59612 powl(0, 0);
59614 return 0;
59616 _ACEOF
59617 if ac_fn_cxx_try_compile "$LINENO"; then :
59618 glibcxx_cv_func_powl_use=yes
59619 else
59620 glibcxx_cv_func_powl_use=no
59622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59623 ac_ext=c
59624 ac_cpp='$CPP $CPPFLAGS'
59625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59634 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59636 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59637 for ac_func in powl
59638 do :
59639 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59640 if test "x$ac_cv_func_powl" = xyes; then :
59641 cat >>confdefs.h <<_ACEOF
59642 #define HAVE_POWL 1
59643 _ACEOF
59646 done
59648 else
59650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59651 $as_echo_n "checking for _powl declaration... " >&6; }
59652 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59653 if ${glibcxx_cv_func__powl_use+:} false; then :
59654 $as_echo_n "(cached) " >&6
59655 else
59658 ac_ext=cpp
59659 ac_cpp='$CXXCPP $CPPFLAGS'
59660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59665 /* end confdefs.h. */
59666 #include <math.h>
59668 main ()
59670 _powl(0, 0);
59672 return 0;
59674 _ACEOF
59675 if ac_fn_cxx_try_compile "$LINENO"; then :
59676 glibcxx_cv_func__powl_use=yes
59677 else
59678 glibcxx_cv_func__powl_use=no
59680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59681 ac_ext=c
59682 ac_cpp='$CPP $CPPFLAGS'
59683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59692 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59694 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59695 for ac_func in _powl
59696 do :
59697 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59698 if test "x$ac_cv_func__powl" = xyes; then :
59699 cat >>confdefs.h <<_ACEOF
59700 #define HAVE__POWL 1
59701 _ACEOF
59704 done
59713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59714 $as_echo_n "checking for sqrtl declaration... " >&6; }
59715 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59716 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59717 $as_echo_n "(cached) " >&6
59718 else
59721 ac_ext=cpp
59722 ac_cpp='$CXXCPP $CPPFLAGS'
59723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59728 /* end confdefs.h. */
59729 #include <math.h>
59730 #ifdef HAVE_IEEEFP_H
59731 #include <ieeefp.h>
59732 #endif
59735 main ()
59737 sqrtl(0);
59739 return 0;
59741 _ACEOF
59742 if ac_fn_cxx_try_compile "$LINENO"; then :
59743 glibcxx_cv_func_sqrtl_use=yes
59744 else
59745 glibcxx_cv_func_sqrtl_use=no
59747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59748 ac_ext=c
59749 ac_cpp='$CPP $CPPFLAGS'
59750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59759 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59761 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59762 for ac_func in sqrtl
59763 do :
59764 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59765 if test "x$ac_cv_func_sqrtl" = xyes; then :
59766 cat >>confdefs.h <<_ACEOF
59767 #define HAVE_SQRTL 1
59768 _ACEOF
59771 done
59773 else
59775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59776 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59777 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59778 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59779 $as_echo_n "(cached) " >&6
59780 else
59783 ac_ext=cpp
59784 ac_cpp='$CXXCPP $CPPFLAGS'
59785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59790 /* end confdefs.h. */
59791 #include <math.h>
59792 #ifdef HAVE_IEEEFP_H
59793 #include <ieeefp.h>
59794 #endif
59797 main ()
59799 _sqrtl(0);
59801 return 0;
59803 _ACEOF
59804 if ac_fn_cxx_try_compile "$LINENO"; then :
59805 glibcxx_cv_func__sqrtl_use=yes
59806 else
59807 glibcxx_cv_func__sqrtl_use=no
59809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59810 ac_ext=c
59811 ac_cpp='$CPP $CPPFLAGS'
59812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59821 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59823 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59824 for ac_func in _sqrtl
59825 do :
59826 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59827 if test "x$ac_cv_func__sqrtl" = xyes; then :
59828 cat >>confdefs.h <<_ACEOF
59829 #define HAVE__SQRTL 1
59830 _ACEOF
59833 done
59842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59843 $as_echo_n "checking for sincosl declaration... " >&6; }
59844 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59845 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59846 $as_echo_n "(cached) " >&6
59847 else
59850 ac_ext=cpp
59851 ac_cpp='$CXXCPP $CPPFLAGS'
59852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59857 /* end confdefs.h. */
59858 #include <math.h>
59860 main ()
59862 sincosl(0, 0, 0);
59864 return 0;
59866 _ACEOF
59867 if ac_fn_cxx_try_compile "$LINENO"; then :
59868 glibcxx_cv_func_sincosl_use=yes
59869 else
59870 glibcxx_cv_func_sincosl_use=no
59872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59873 ac_ext=c
59874 ac_cpp='$CPP $CPPFLAGS'
59875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59884 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59886 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59887 for ac_func in sincosl
59888 do :
59889 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59890 if test "x$ac_cv_func_sincosl" = xyes; then :
59891 cat >>confdefs.h <<_ACEOF
59892 #define HAVE_SINCOSL 1
59893 _ACEOF
59896 done
59898 else
59900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59901 $as_echo_n "checking for _sincosl declaration... " >&6; }
59902 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59903 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59904 $as_echo_n "(cached) " >&6
59905 else
59908 ac_ext=cpp
59909 ac_cpp='$CXXCPP $CPPFLAGS'
59910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59915 /* end confdefs.h. */
59916 #include <math.h>
59918 main ()
59920 _sincosl(0, 0, 0);
59922 return 0;
59924 _ACEOF
59925 if ac_fn_cxx_try_compile "$LINENO"; then :
59926 glibcxx_cv_func__sincosl_use=yes
59927 else
59928 glibcxx_cv_func__sincosl_use=no
59930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59931 ac_ext=c
59932 ac_cpp='$CPP $CPPFLAGS'
59933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59942 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59944 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59945 for ac_func in _sincosl
59946 do :
59947 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59948 if test "x$ac_cv_func__sincosl" = xyes; then :
59949 cat >>confdefs.h <<_ACEOF
59950 #define HAVE__SINCOSL 1
59951 _ACEOF
59954 done
59963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59964 $as_echo_n "checking for finitel declaration... " >&6; }
59965 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59966 if ${glibcxx_cv_func_finitel_use+:} false; then :
59967 $as_echo_n "(cached) " >&6
59968 else
59971 ac_ext=cpp
59972 ac_cpp='$CXXCPP $CPPFLAGS'
59973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59978 /* end confdefs.h. */
59979 #include <math.h>
59980 #ifdef HAVE_IEEEFP_H
59981 #include <ieeefp.h>
59982 #endif
59985 main ()
59987 finitel(0);
59989 return 0;
59991 _ACEOF
59992 if ac_fn_cxx_try_compile "$LINENO"; then :
59993 glibcxx_cv_func_finitel_use=yes
59994 else
59995 glibcxx_cv_func_finitel_use=no
59997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59998 ac_ext=c
59999 ac_cpp='$CPP $CPPFLAGS'
60000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60009 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60011 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60012 for ac_func in finitel
60013 do :
60014 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60015 if test "x$ac_cv_func_finitel" = xyes; then :
60016 cat >>confdefs.h <<_ACEOF
60017 #define HAVE_FINITEL 1
60018 _ACEOF
60021 done
60023 else
60025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60026 $as_echo_n "checking for _finitel declaration... " >&6; }
60027 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60028 if ${glibcxx_cv_func__finitel_use+:} false; then :
60029 $as_echo_n "(cached) " >&6
60030 else
60033 ac_ext=cpp
60034 ac_cpp='$CXXCPP $CPPFLAGS'
60035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60040 /* end confdefs.h. */
60041 #include <math.h>
60042 #ifdef HAVE_IEEEFP_H
60043 #include <ieeefp.h>
60044 #endif
60047 main ()
60049 _finitel(0);
60051 return 0;
60053 _ACEOF
60054 if ac_fn_cxx_try_compile "$LINENO"; then :
60055 glibcxx_cv_func__finitel_use=yes
60056 else
60057 glibcxx_cv_func__finitel_use=no
60059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60060 ac_ext=c
60061 ac_cpp='$CPP $CPPFLAGS'
60062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60071 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60073 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60074 for ac_func in _finitel
60075 do :
60076 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60077 if test "x$ac_cv_func__finitel" = xyes; then :
60078 cat >>confdefs.h <<_ACEOF
60079 #define HAVE__FINITEL 1
60080 _ACEOF
60083 done
60091 LIBS="$ac_save_LIBS"
60092 CXXFLAGS="$ac_save_CXXFLAGS"
60095 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60096 ac_save_CXXFLAGS="$CXXFLAGS"
60097 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60101 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60102 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60103 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60104 $as_echo_n "(cached) " >&6
60105 else
60108 ac_ext=cpp
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60115 /* end confdefs.h. */
60116 #include <stdlib.h>
60118 main ()
60120 at_quick_exit(0);
60122 return 0;
60124 _ACEOF
60125 if ac_fn_cxx_try_compile "$LINENO"; then :
60126 glibcxx_cv_func_at_quick_exit_use=yes
60127 else
60128 glibcxx_cv_func_at_quick_exit_use=no
60130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60131 ac_ext=c
60132 ac_cpp='$CPP $CPPFLAGS'
60133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60142 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60143 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60144 for ac_func in at_quick_exit
60145 do :
60146 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60147 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define HAVE_AT_QUICK_EXIT 1
60150 _ACEOF
60153 done
60158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60159 $as_echo_n "checking for quick_exit declaration... " >&6; }
60160 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60161 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60162 $as_echo_n "(cached) " >&6
60163 else
60166 ac_ext=cpp
60167 ac_cpp='$CXXCPP $CPPFLAGS'
60168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60173 /* end confdefs.h. */
60174 #include <stdlib.h>
60176 main ()
60178 quick_exit(0);
60180 return 0;
60182 _ACEOF
60183 if ac_fn_cxx_try_compile "$LINENO"; then :
60184 glibcxx_cv_func_quick_exit_use=yes
60185 else
60186 glibcxx_cv_func_quick_exit_use=no
60188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60189 ac_ext=c
60190 ac_cpp='$CPP $CPPFLAGS'
60191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60200 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60201 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60202 for ac_func in quick_exit
60203 do :
60204 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60205 if test "x$ac_cv_func_quick_exit" = xyes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_QUICK_EXIT 1
60208 _ACEOF
60211 done
60216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60217 $as_echo_n "checking for strtold declaration... " >&6; }
60218 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60219 if ${glibcxx_cv_func_strtold_use+:} false; then :
60220 $as_echo_n "(cached) " >&6
60221 else
60224 ac_ext=cpp
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60231 /* end confdefs.h. */
60232 #include <stdlib.h>
60234 main ()
60236 strtold(0, 0);
60238 return 0;
60240 _ACEOF
60241 if ac_fn_cxx_try_compile "$LINENO"; then :
60242 glibcxx_cv_func_strtold_use=yes
60243 else
60244 glibcxx_cv_func_strtold_use=no
60246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60247 ac_ext=c
60248 ac_cpp='$CPP $CPPFLAGS'
60249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60258 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60259 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60260 for ac_func in strtold
60261 do :
60262 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60263 if test "x$ac_cv_func_strtold" = xyes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE_STRTOLD 1
60266 _ACEOF
60269 done
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60277 $as_echo_n "checking for strtof declaration... " >&6; }
60278 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60279 if ${glibcxx_cv_func_strtof_use+:} false; then :
60280 $as_echo_n "(cached) " >&6
60281 else
60284 ac_ext=cpp
60285 ac_cpp='$CXXCPP $CPPFLAGS'
60286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60291 /* end confdefs.h. */
60292 #include <stdlib.h>
60294 main ()
60296 strtof(0, 0);
60298 return 0;
60300 _ACEOF
60301 if ac_fn_cxx_try_compile "$LINENO"; then :
60302 glibcxx_cv_func_strtof_use=yes
60303 else
60304 glibcxx_cv_func_strtof_use=no
60306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60307 ac_ext=c
60308 ac_cpp='$CPP $CPPFLAGS'
60309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60318 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60319 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60320 for ac_func in strtof
60321 do :
60322 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60323 if test "x$ac_cv_func_strtof" = xyes; then :
60324 cat >>confdefs.h <<_ACEOF
60325 #define HAVE_STRTOF 1
60326 _ACEOF
60329 done
60336 CXXFLAGS="$ac_save_CXXFLAGS"
60338 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60339 do :
60340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60343 cat >>confdefs.h <<_ACEOF
60344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60345 _ACEOF
60348 done
60350 for ac_func in _wfopen
60351 do :
60352 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60353 if test "x$ac_cv_func__wfopen" = xyes; then :
60354 cat >>confdefs.h <<_ACEOF
60355 #define HAVE__WFOPEN 1
60356 _ACEOF
60359 done
60363 # Check whether --enable-tls was given.
60364 if test "${enable_tls+set}" = set; then :
60365 enableval=$enable_tls;
60366 case "$enableval" in
60367 yes|no) ;;
60368 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60369 esac
60371 else
60372 enable_tls=yes
60376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60377 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60378 if ${gcc_cv_have_tls+:} false; then :
60379 $as_echo_n "(cached) " >&6
60380 else
60382 if test "$cross_compiling" = yes; then :
60383 if test x$gcc_no_link = xyes; then
60384 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60387 /* end confdefs.h. */
60388 __thread int a; int b; int main() { return a = b; }
60389 _ACEOF
60390 if ac_fn_c_try_link "$LINENO"; then :
60391 chktls_save_LDFLAGS="$LDFLAGS"
60392 case $host in
60393 *-*-linux* | -*-uclinuxfdpic*)
60394 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60396 esac
60397 chktls_save_CFLAGS="$CFLAGS"
60398 CFLAGS="-fPIC $CFLAGS"
60399 if test x$gcc_no_link = xyes; then
60400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60403 /* end confdefs.h. */
60404 int f() { return 0; }
60405 _ACEOF
60406 if ac_fn_c_try_link "$LINENO"; then :
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 __thread int a; int b; int f() { return a = b; }
60413 _ACEOF
60414 if ac_fn_c_try_link "$LINENO"; then :
60415 gcc_cv_have_tls=yes
60416 else
60417 gcc_cv_have_tls=no
60419 rm -f core conftest.err conftest.$ac_objext \
60420 conftest$ac_exeext conftest.$ac_ext
60421 else
60422 gcc_cv_have_tls=yes
60424 rm -f core conftest.err conftest.$ac_objext \
60425 conftest$ac_exeext conftest.$ac_ext
60426 CFLAGS="$chktls_save_CFLAGS"
60427 LDFLAGS="$chktls_save_LDFLAGS"
60428 else
60429 gcc_cv_have_tls=no
60431 rm -f core conftest.err conftest.$ac_objext \
60432 conftest$ac_exeext conftest.$ac_ext
60435 else
60436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60437 /* end confdefs.h. */
60438 __thread int a; int b; int main() { return a = b; }
60439 _ACEOF
60440 if ac_fn_c_try_run "$LINENO"; then :
60441 chktls_save_LDFLAGS="$LDFLAGS"
60442 LDFLAGS="-static $LDFLAGS"
60443 if test x$gcc_no_link = xyes; then
60444 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60447 /* end confdefs.h. */
60448 int main() { return 0; }
60449 _ACEOF
60450 if ac_fn_c_try_link "$LINENO"; then :
60451 if test "$cross_compiling" = yes; then :
60452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60454 as_fn_error $? "cannot run test program while cross compiling
60455 See \`config.log' for more details" "$LINENO" 5; }
60456 else
60457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60458 /* end confdefs.h. */
60459 __thread int a; int b; int main() { return a = b; }
60460 _ACEOF
60461 if ac_fn_c_try_run "$LINENO"; then :
60462 gcc_cv_have_tls=yes
60463 else
60464 gcc_cv_have_tls=no
60466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60467 conftest.$ac_objext conftest.beam conftest.$ac_ext
60470 else
60471 gcc_cv_have_tls=yes
60473 rm -f core conftest.err conftest.$ac_objext \
60474 conftest$ac_exeext conftest.$ac_ext
60475 LDFLAGS="$chktls_save_LDFLAGS"
60476 if test $gcc_cv_have_tls = yes; then
60477 chktls_save_CFLAGS="$CFLAGS"
60478 thread_CFLAGS=failed
60479 for flag in '' '-pthread' '-lpthread'; do
60480 CFLAGS="$flag $chktls_save_CFLAGS"
60481 if test x$gcc_no_link = xyes; then
60482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60485 /* end confdefs.h. */
60486 #include <pthread.h>
60487 void *g(void *d) { return NULL; }
60489 main ()
60491 pthread_t t; pthread_create(&t,NULL,g,NULL);
60493 return 0;
60495 _ACEOF
60496 if ac_fn_c_try_link "$LINENO"; then :
60497 thread_CFLAGS="$flag"
60499 rm -f core conftest.err conftest.$ac_objext \
60500 conftest$ac_exeext conftest.$ac_ext
60501 if test "X$thread_CFLAGS" != Xfailed; then
60502 break
60504 done
60505 CFLAGS="$chktls_save_CFLAGS"
60506 if test "X$thread_CFLAGS" != Xfailed; then
60507 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60508 if test "$cross_compiling" = yes; then :
60509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60511 as_fn_error $? "cannot run test program while cross compiling
60512 See \`config.log' for more details" "$LINENO" 5; }
60513 else
60514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60515 /* end confdefs.h. */
60516 #include <pthread.h>
60517 __thread int a;
60518 static int *volatile a_in_other_thread;
60519 static void *
60520 thread_func (void *arg)
60522 a_in_other_thread = &a;
60523 return (void *)0;
60526 main ()
60528 pthread_t thread;
60529 void *thread_retval;
60530 int *volatile a_in_main_thread;
60531 a_in_main_thread = &a;
60532 if (pthread_create (&thread, (pthread_attr_t *)0,
60533 thread_func, (void *)0))
60534 return 0;
60535 if (pthread_join (thread, &thread_retval))
60536 return 0;
60537 return (a_in_other_thread == a_in_main_thread);
60539 return 0;
60541 _ACEOF
60542 if ac_fn_c_try_run "$LINENO"; then :
60543 gcc_cv_have_tls=yes
60544 else
60545 gcc_cv_have_tls=no
60547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60548 conftest.$ac_objext conftest.beam conftest.$ac_ext
60551 CFLAGS="$chktls_save_CFLAGS"
60554 else
60555 gcc_cv_have_tls=no
60557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60558 conftest.$ac_objext conftest.beam conftest.$ac_ext
60562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60563 $as_echo "$gcc_cv_have_tls" >&6; }
60564 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60566 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60570 *-netbsd* | *-openbsd*)
60571 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60574 # If we're not using GNU ld, then there's no point in even trying these
60575 # tests. Check for that first. We should have already tested for gld
60576 # by now (in libtool), but require it now just to be safe...
60577 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60578 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60582 # The name set by libtool depends on the version of libtool. Shame on us
60583 # for depending on an impl detail, but c'est la vie. Older versions used
60584 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60585 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60586 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60587 # set (hence we're using an older libtool), then set it.
60588 if test x${with_gnu_ld+set} != xset; then
60589 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60590 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60591 with_gnu_ld=no
60592 else
60593 with_gnu_ld=$ac_cv_prog_gnu_ld
60597 # Start by getting the version number. I think the libtool test already
60598 # does some of this, but throws away the result.
60599 glibcxx_ld_is_gold=no
60600 glibcxx_ld_is_mold=no
60601 if test x"$with_gnu_ld" = x"yes"; then
60602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60603 $as_echo_n "checking for ld version... " >&6; }
60605 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60606 glibcxx_ld_is_gold=yes
60607 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60608 glibcxx_ld_is_mold=yes
60610 ldver=`$LD --version 2>/dev/null |
60611 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60613 glibcxx_gnu_ld_version=`echo $ldver | \
60614 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60616 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60619 # Set --gc-sections.
60620 glibcxx_have_gc_sections=no
60621 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60622 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60623 glibcxx_have_gc_sections=yes
60625 else
60626 glibcxx_gcsections_min_ld=21602
60627 if test x"$with_gnu_ld" = x"yes" &&
60628 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60629 glibcxx_have_gc_sections=yes
60632 if test "$glibcxx_have_gc_sections" = "yes"; then
60633 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60634 # NB: This flag only works reliably after 2.16.1. Configure tests
60635 # for this are difficult, so hard wire a value that should work.
60637 ac_test_CFLAGS="${CFLAGS+set}"
60638 ac_save_CFLAGS="$CFLAGS"
60639 CFLAGS='-Wl,--gc-sections'
60641 # Check for -Wl,--gc-sections
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60643 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60644 if test x$gcc_no_link = xyes; then
60645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60648 /* end confdefs.h. */
60649 int one(void) { return 1; }
60650 int two(void) { return 2; }
60653 main ()
60655 two();
60657 return 0;
60659 _ACEOF
60660 if ac_fn_c_try_link "$LINENO"; then :
60661 ac_gcsections=yes
60662 else
60663 ac_gcsections=no
60665 rm -f core conftest.err conftest.$ac_objext \
60666 conftest$ac_exeext conftest.$ac_ext
60667 if test "$ac_gcsections" = "yes"; then
60668 rm -f conftest.c
60669 touch conftest.c
60670 if $CC -c conftest.c; then
60671 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60672 grep "Warning: gc-sections option ignored" > /dev/null; then
60673 ac_gcsections=no
60676 rm -f conftest.c conftest.o conftest
60678 if test "$ac_gcsections" = "yes"; then
60679 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60682 $as_echo "$ac_gcsections" >&6; }
60684 if test "$ac_test_CFLAGS" = set; then
60685 CFLAGS="$ac_save_CFLAGS"
60686 else
60687 # this is the suspicious part
60688 CFLAGS=''
60692 # Set -z,relro.
60693 # Note this is only for shared objects.
60694 ac_ld_relro=no
60695 if test x"$with_gnu_ld" = x"yes"; then
60696 # cygwin and mingw uses PE, which has no ELF relro support,
60697 # multi target ld may confuse configure machinery
60698 case "$host" in
60699 *-*-cygwin*)
60701 *-*-mingw*)
60704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60705 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60706 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60707 if test -n "$cxx_z_relo"; then
60708 OPT_LDFLAGS="-Wl,-z,relro"
60709 ac_ld_relro=yes
60711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60712 $as_echo "$ac_ld_relro" >&6; }
60713 esac
60716 # Set linker optimization flags.
60717 if test x"$with_gnu_ld" = x"yes"; then
60718 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60724 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60726 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60728 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60730 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60732 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60734 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60736 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60738 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60740 if test x"long_double_math_on_this_cpu" = x"yes"; then
60741 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60743 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60745 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60748 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60749 do :
60750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60752 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60753 cat >>confdefs.h <<_ACEOF
60754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60755 _ACEOF
60758 done
60760 for ac_func in timespec_get
60761 do :
60762 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60763 if test "x$ac_cv_func_timespec_get" = xyes; then :
60764 cat >>confdefs.h <<_ACEOF
60765 #define HAVE_TIMESPEC_GET 1
60766 _ACEOF
60769 done
60771 for ac_func in sockatmark
60772 do :
60773 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60774 if test "x$ac_cv_func_sockatmark" = xyes; then :
60775 cat >>confdefs.h <<_ACEOF
60776 #define HAVE_SOCKATMARK 1
60777 _ACEOF
60780 done
60783 *-qnx6.1* | *-qnx6.2*)
60784 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60787 # If we're not using GNU ld, then there's no point in even trying these
60788 # tests. Check for that first. We should have already tested for gld
60789 # by now (in libtool), but require it now just to be safe...
60790 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60791 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60795 # The name set by libtool depends on the version of libtool. Shame on us
60796 # for depending on an impl detail, but c'est la vie. Older versions used
60797 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60798 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60799 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60800 # set (hence we're using an older libtool), then set it.
60801 if test x${with_gnu_ld+set} != xset; then
60802 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60803 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60804 with_gnu_ld=no
60805 else
60806 with_gnu_ld=$ac_cv_prog_gnu_ld
60810 # Start by getting the version number. I think the libtool test already
60811 # does some of this, but throws away the result.
60812 glibcxx_ld_is_gold=no
60813 glibcxx_ld_is_mold=no
60814 if test x"$with_gnu_ld" = x"yes"; then
60815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60816 $as_echo_n "checking for ld version... " >&6; }
60818 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60819 glibcxx_ld_is_gold=yes
60820 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60821 glibcxx_ld_is_mold=yes
60823 ldver=`$LD --version 2>/dev/null |
60824 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60826 glibcxx_gnu_ld_version=`echo $ldver | \
60827 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60829 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60832 # Set --gc-sections.
60833 glibcxx_have_gc_sections=no
60834 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60835 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60836 glibcxx_have_gc_sections=yes
60838 else
60839 glibcxx_gcsections_min_ld=21602
60840 if test x"$with_gnu_ld" = x"yes" &&
60841 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60842 glibcxx_have_gc_sections=yes
60845 if test "$glibcxx_have_gc_sections" = "yes"; then
60846 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60847 # NB: This flag only works reliably after 2.16.1. Configure tests
60848 # for this are difficult, so hard wire a value that should work.
60850 ac_test_CFLAGS="${CFLAGS+set}"
60851 ac_save_CFLAGS="$CFLAGS"
60852 CFLAGS='-Wl,--gc-sections'
60854 # Check for -Wl,--gc-sections
60855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60856 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60857 if test x$gcc_no_link = xyes; then
60858 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60861 /* end confdefs.h. */
60862 int one(void) { return 1; }
60863 int two(void) { return 2; }
60866 main ()
60868 two();
60870 return 0;
60872 _ACEOF
60873 if ac_fn_c_try_link "$LINENO"; then :
60874 ac_gcsections=yes
60875 else
60876 ac_gcsections=no
60878 rm -f core conftest.err conftest.$ac_objext \
60879 conftest$ac_exeext conftest.$ac_ext
60880 if test "$ac_gcsections" = "yes"; then
60881 rm -f conftest.c
60882 touch conftest.c
60883 if $CC -c conftest.c; then
60884 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60885 grep "Warning: gc-sections option ignored" > /dev/null; then
60886 ac_gcsections=no
60889 rm -f conftest.c conftest.o conftest
60891 if test "$ac_gcsections" = "yes"; then
60892 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60895 $as_echo "$ac_gcsections" >&6; }
60897 if test "$ac_test_CFLAGS" = set; then
60898 CFLAGS="$ac_save_CFLAGS"
60899 else
60900 # this is the suspicious part
60901 CFLAGS=''
60905 # Set -z,relro.
60906 # Note this is only for shared objects.
60907 ac_ld_relro=no
60908 if test x"$with_gnu_ld" = x"yes"; then
60909 # cygwin and mingw uses PE, which has no ELF relro support,
60910 # multi target ld may confuse configure machinery
60911 case "$host" in
60912 *-*-cygwin*)
60914 *-*-mingw*)
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60918 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60919 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60920 if test -n "$cxx_z_relo"; then
60921 OPT_LDFLAGS="-Wl,-z,relro"
60922 ac_ld_relro=yes
60924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60925 $as_echo "$ac_ld_relro" >&6; }
60926 esac
60929 # Set linker optimization flags.
60930 if test x"$with_gnu_ld" = x"yes"; then
60931 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60937 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60939 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60941 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60943 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60945 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60947 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60949 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60951 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60953 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60955 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60957 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60959 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60962 *-tpf)
60963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60964 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
60966 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60968 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60970 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60972 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60974 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60976 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60978 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60980 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60982 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
60984 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
60986 if test x"long_double_math_on_this_cpu" = x"yes"; then
60987 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60989 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
60991 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60993 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60997 *-*vms*)
60998 # Check for available headers.
60999 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61002 ac_save_CXXFLAGS="$CXXFLAGS"
61003 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61006 $as_echo_n "checking for sin in -lm... " >&6; }
61007 if ${ac_cv_lib_m_sin+:} false; then :
61008 $as_echo_n "(cached) " >&6
61009 else
61010 ac_check_lib_save_LIBS=$LIBS
61011 LIBS="-lm $LIBS"
61012 if test x$gcc_no_link = xyes; then
61013 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61016 /* end confdefs.h. */
61018 /* Override any GCC internal prototype to avoid an error.
61019 Use char because int might match the return type of a GCC
61020 builtin and then its argument prototype would still apply. */
61021 #ifdef __cplusplus
61022 extern "C"
61023 #endif
61024 char sin ();
61026 main ()
61028 return sin ();
61030 return 0;
61032 _ACEOF
61033 if ac_fn_c_try_link "$LINENO"; then :
61034 ac_cv_lib_m_sin=yes
61035 else
61036 ac_cv_lib_m_sin=no
61038 rm -f core conftest.err conftest.$ac_objext \
61039 conftest$ac_exeext conftest.$ac_ext
61040 LIBS=$ac_check_lib_save_LIBS
61042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61043 $as_echo "$ac_cv_lib_m_sin" >&6; }
61044 if test "x$ac_cv_lib_m_sin" = xyes; then :
61045 libm="-lm"
61048 ac_save_LIBS="$LIBS"
61049 LIBS="$LIBS $libm"
61053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61054 $as_echo_n "checking for isinf declaration... " >&6; }
61055 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61056 if ${glibcxx_cv_func_isinf_use+:} false; then :
61057 $as_echo_n "(cached) " >&6
61058 else
61061 ac_ext=cpp
61062 ac_cpp='$CXXCPP $CPPFLAGS'
61063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61068 /* end confdefs.h. */
61069 #include <math.h>
61070 #ifdef HAVE_IEEEFP_H
61071 #include <ieeefp.h>
61072 #endif
61075 main ()
61077 isinf(0);
61079 return 0;
61081 _ACEOF
61082 if ac_fn_cxx_try_compile "$LINENO"; then :
61083 glibcxx_cv_func_isinf_use=yes
61084 else
61085 glibcxx_cv_func_isinf_use=no
61087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61088 ac_ext=c
61089 ac_cpp='$CPP $CPPFLAGS'
61090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61099 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61101 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61102 for ac_func in isinf
61103 do :
61104 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61105 if test "x$ac_cv_func_isinf" = xyes; then :
61106 cat >>confdefs.h <<_ACEOF
61107 #define HAVE_ISINF 1
61108 _ACEOF
61111 done
61113 else
61115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61116 $as_echo_n "checking for _isinf declaration... " >&6; }
61117 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61118 if ${glibcxx_cv_func__isinf_use+:} false; then :
61119 $as_echo_n "(cached) " >&6
61120 else
61123 ac_ext=cpp
61124 ac_cpp='$CXXCPP $CPPFLAGS'
61125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61130 /* end confdefs.h. */
61131 #include <math.h>
61132 #ifdef HAVE_IEEEFP_H
61133 #include <ieeefp.h>
61134 #endif
61137 main ()
61139 _isinf(0);
61141 return 0;
61143 _ACEOF
61144 if ac_fn_cxx_try_compile "$LINENO"; then :
61145 glibcxx_cv_func__isinf_use=yes
61146 else
61147 glibcxx_cv_func__isinf_use=no
61149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61150 ac_ext=c
61151 ac_cpp='$CPP $CPPFLAGS'
61152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61161 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61164 for ac_func in _isinf
61165 do :
61166 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61167 if test "x$ac_cv_func__isinf" = xyes; then :
61168 cat >>confdefs.h <<_ACEOF
61169 #define HAVE__ISINF 1
61170 _ACEOF
61173 done
61182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61183 $as_echo_n "checking for isnan declaration... " >&6; }
61184 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61185 if ${glibcxx_cv_func_isnan_use+:} false; then :
61186 $as_echo_n "(cached) " >&6
61187 else
61190 ac_ext=cpp
61191 ac_cpp='$CXXCPP $CPPFLAGS'
61192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61197 /* end confdefs.h. */
61198 #include <math.h>
61199 #ifdef HAVE_IEEEFP_H
61200 #include <ieeefp.h>
61201 #endif
61204 main ()
61206 isnan(0);
61208 return 0;
61210 _ACEOF
61211 if ac_fn_cxx_try_compile "$LINENO"; then :
61212 glibcxx_cv_func_isnan_use=yes
61213 else
61214 glibcxx_cv_func_isnan_use=no
61216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61217 ac_ext=c
61218 ac_cpp='$CPP $CPPFLAGS'
61219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61228 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61230 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61231 for ac_func in isnan
61232 do :
61233 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61234 if test "x$ac_cv_func_isnan" = xyes; then :
61235 cat >>confdefs.h <<_ACEOF
61236 #define HAVE_ISNAN 1
61237 _ACEOF
61240 done
61242 else
61244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61245 $as_echo_n "checking for _isnan declaration... " >&6; }
61246 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61247 if ${glibcxx_cv_func__isnan_use+:} false; then :
61248 $as_echo_n "(cached) " >&6
61249 else
61252 ac_ext=cpp
61253 ac_cpp='$CXXCPP $CPPFLAGS'
61254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61259 /* end confdefs.h. */
61260 #include <math.h>
61261 #ifdef HAVE_IEEEFP_H
61262 #include <ieeefp.h>
61263 #endif
61266 main ()
61268 _isnan(0);
61270 return 0;
61272 _ACEOF
61273 if ac_fn_cxx_try_compile "$LINENO"; then :
61274 glibcxx_cv_func__isnan_use=yes
61275 else
61276 glibcxx_cv_func__isnan_use=no
61278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61279 ac_ext=c
61280 ac_cpp='$CPP $CPPFLAGS'
61281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61290 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61292 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61293 for ac_func in _isnan
61294 do :
61295 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61296 if test "x$ac_cv_func__isnan" = xyes; then :
61297 cat >>confdefs.h <<_ACEOF
61298 #define HAVE__ISNAN 1
61299 _ACEOF
61302 done
61311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61312 $as_echo_n "checking for finite declaration... " >&6; }
61313 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61314 if ${glibcxx_cv_func_finite_use+:} false; then :
61315 $as_echo_n "(cached) " >&6
61316 else
61319 ac_ext=cpp
61320 ac_cpp='$CXXCPP $CPPFLAGS'
61321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61326 /* end confdefs.h. */
61327 #include <math.h>
61328 #ifdef HAVE_IEEEFP_H
61329 #include <ieeefp.h>
61330 #endif
61333 main ()
61335 finite(0);
61337 return 0;
61339 _ACEOF
61340 if ac_fn_cxx_try_compile "$LINENO"; then :
61341 glibcxx_cv_func_finite_use=yes
61342 else
61343 glibcxx_cv_func_finite_use=no
61345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61346 ac_ext=c
61347 ac_cpp='$CPP $CPPFLAGS'
61348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61357 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61359 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61360 for ac_func in finite
61361 do :
61362 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61363 if test "x$ac_cv_func_finite" = xyes; then :
61364 cat >>confdefs.h <<_ACEOF
61365 #define HAVE_FINITE 1
61366 _ACEOF
61369 done
61371 else
61373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61374 $as_echo_n "checking for _finite declaration... " >&6; }
61375 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61376 if ${glibcxx_cv_func__finite_use+:} false; then :
61377 $as_echo_n "(cached) " >&6
61378 else
61381 ac_ext=cpp
61382 ac_cpp='$CXXCPP $CPPFLAGS'
61383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61388 /* end confdefs.h. */
61389 #include <math.h>
61390 #ifdef HAVE_IEEEFP_H
61391 #include <ieeefp.h>
61392 #endif
61395 main ()
61397 _finite(0);
61399 return 0;
61401 _ACEOF
61402 if ac_fn_cxx_try_compile "$LINENO"; then :
61403 glibcxx_cv_func__finite_use=yes
61404 else
61405 glibcxx_cv_func__finite_use=no
61407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61408 ac_ext=c
61409 ac_cpp='$CPP $CPPFLAGS'
61410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61419 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61421 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61422 for ac_func in _finite
61423 do :
61424 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61425 if test "x$ac_cv_func__finite" = xyes; then :
61426 cat >>confdefs.h <<_ACEOF
61427 #define HAVE__FINITE 1
61428 _ACEOF
61431 done
61440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61441 $as_echo_n "checking for sincos declaration... " >&6; }
61442 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61443 if ${glibcxx_cv_func_sincos_use+:} false; then :
61444 $as_echo_n "(cached) " >&6
61445 else
61448 ac_ext=cpp
61449 ac_cpp='$CXXCPP $CPPFLAGS'
61450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61455 /* end confdefs.h. */
61456 #include <math.h>
61458 main ()
61460 sincos(0, 0, 0);
61462 return 0;
61464 _ACEOF
61465 if ac_fn_cxx_try_compile "$LINENO"; then :
61466 glibcxx_cv_func_sincos_use=yes
61467 else
61468 glibcxx_cv_func_sincos_use=no
61470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61471 ac_ext=c
61472 ac_cpp='$CPP $CPPFLAGS'
61473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61482 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61484 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61485 for ac_func in sincos
61486 do :
61487 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61488 if test "x$ac_cv_func_sincos" = xyes; then :
61489 cat >>confdefs.h <<_ACEOF
61490 #define HAVE_SINCOS 1
61491 _ACEOF
61494 done
61496 else
61498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61499 $as_echo_n "checking for _sincos declaration... " >&6; }
61500 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61501 if ${glibcxx_cv_func__sincos_use+:} false; then :
61502 $as_echo_n "(cached) " >&6
61503 else
61506 ac_ext=cpp
61507 ac_cpp='$CXXCPP $CPPFLAGS'
61508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61513 /* end confdefs.h. */
61514 #include <math.h>
61516 main ()
61518 _sincos(0, 0, 0);
61520 return 0;
61522 _ACEOF
61523 if ac_fn_cxx_try_compile "$LINENO"; then :
61524 glibcxx_cv_func__sincos_use=yes
61525 else
61526 glibcxx_cv_func__sincos_use=no
61528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61529 ac_ext=c
61530 ac_cpp='$CPP $CPPFLAGS'
61531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61540 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61542 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61543 for ac_func in _sincos
61544 do :
61545 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61546 if test "x$ac_cv_func__sincos" = xyes; then :
61547 cat >>confdefs.h <<_ACEOF
61548 #define HAVE__SINCOS 1
61549 _ACEOF
61552 done
61561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61562 $as_echo_n "checking for fpclass declaration... " >&6; }
61563 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61564 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61565 $as_echo_n "(cached) " >&6
61566 else
61569 ac_ext=cpp
61570 ac_cpp='$CXXCPP $CPPFLAGS'
61571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61576 /* end confdefs.h. */
61577 #include <math.h>
61578 #ifdef HAVE_IEEEFP_H
61579 #include <ieeefp.h>
61580 #endif
61583 main ()
61585 fpclass(0);
61587 return 0;
61589 _ACEOF
61590 if ac_fn_cxx_try_compile "$LINENO"; then :
61591 glibcxx_cv_func_fpclass_use=yes
61592 else
61593 glibcxx_cv_func_fpclass_use=no
61595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61596 ac_ext=c
61597 ac_cpp='$CPP $CPPFLAGS'
61598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61607 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61609 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61610 for ac_func in fpclass
61611 do :
61612 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61613 if test "x$ac_cv_func_fpclass" = xyes; then :
61614 cat >>confdefs.h <<_ACEOF
61615 #define HAVE_FPCLASS 1
61616 _ACEOF
61619 done
61621 else
61623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61624 $as_echo_n "checking for _fpclass declaration... " >&6; }
61625 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61626 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61627 $as_echo_n "(cached) " >&6
61628 else
61631 ac_ext=cpp
61632 ac_cpp='$CXXCPP $CPPFLAGS'
61633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61638 /* end confdefs.h. */
61639 #include <math.h>
61640 #ifdef HAVE_IEEEFP_H
61641 #include <ieeefp.h>
61642 #endif
61645 main ()
61647 _fpclass(0);
61649 return 0;
61651 _ACEOF
61652 if ac_fn_cxx_try_compile "$LINENO"; then :
61653 glibcxx_cv_func__fpclass_use=yes
61654 else
61655 glibcxx_cv_func__fpclass_use=no
61657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61658 ac_ext=c
61659 ac_cpp='$CPP $CPPFLAGS'
61660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61669 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61671 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61672 for ac_func in _fpclass
61673 do :
61674 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61675 if test "x$ac_cv_func__fpclass" = xyes; then :
61676 cat >>confdefs.h <<_ACEOF
61677 #define HAVE__FPCLASS 1
61678 _ACEOF
61681 done
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61691 $as_echo_n "checking for qfpclass declaration... " >&6; }
61692 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61693 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61694 $as_echo_n "(cached) " >&6
61695 else
61698 ac_ext=cpp
61699 ac_cpp='$CXXCPP $CPPFLAGS'
61700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61705 /* end confdefs.h. */
61706 #include <math.h>
61707 #ifdef HAVE_IEEEFP_H
61708 #include <ieeefp.h>
61709 #endif
61712 main ()
61714 qfpclass(0);
61716 return 0;
61718 _ACEOF
61719 if ac_fn_cxx_try_compile "$LINENO"; then :
61720 glibcxx_cv_func_qfpclass_use=yes
61721 else
61722 glibcxx_cv_func_qfpclass_use=no
61724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61725 ac_ext=c
61726 ac_cpp='$CPP $CPPFLAGS'
61727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61736 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61738 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61739 for ac_func in qfpclass
61740 do :
61741 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61742 if test "x$ac_cv_func_qfpclass" = xyes; then :
61743 cat >>confdefs.h <<_ACEOF
61744 #define HAVE_QFPCLASS 1
61745 _ACEOF
61748 done
61750 else
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61753 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61754 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61755 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61756 $as_echo_n "(cached) " >&6
61757 else
61760 ac_ext=cpp
61761 ac_cpp='$CXXCPP $CPPFLAGS'
61762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61767 /* end confdefs.h. */
61768 #include <math.h>
61769 #ifdef HAVE_IEEEFP_H
61770 #include <ieeefp.h>
61771 #endif
61774 main ()
61776 _qfpclass(0);
61778 return 0;
61780 _ACEOF
61781 if ac_fn_cxx_try_compile "$LINENO"; then :
61782 glibcxx_cv_func__qfpclass_use=yes
61783 else
61784 glibcxx_cv_func__qfpclass_use=no
61786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61787 ac_ext=c
61788 ac_cpp='$CPP $CPPFLAGS'
61789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61798 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61800 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61801 for ac_func in _qfpclass
61802 do :
61803 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61804 if test "x$ac_cv_func__qfpclass" = xyes; then :
61805 cat >>confdefs.h <<_ACEOF
61806 #define HAVE__QFPCLASS 1
61807 _ACEOF
61810 done
61819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61820 $as_echo_n "checking for hypot declaration... " >&6; }
61821 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61822 if ${glibcxx_cv_func_hypot_use+:} false; then :
61823 $as_echo_n "(cached) " >&6
61824 else
61827 ac_ext=cpp
61828 ac_cpp='$CXXCPP $CPPFLAGS'
61829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61834 /* end confdefs.h. */
61835 #include <math.h>
61837 main ()
61839 hypot(0, 0);
61841 return 0;
61843 _ACEOF
61844 if ac_fn_cxx_try_compile "$LINENO"; then :
61845 glibcxx_cv_func_hypot_use=yes
61846 else
61847 glibcxx_cv_func_hypot_use=no
61849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61850 ac_ext=c
61851 ac_cpp='$CPP $CPPFLAGS'
61852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61861 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61863 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61864 for ac_func in hypot
61865 do :
61866 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61867 if test "x$ac_cv_func_hypot" = xyes; then :
61868 cat >>confdefs.h <<_ACEOF
61869 #define HAVE_HYPOT 1
61870 _ACEOF
61873 done
61875 else
61877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61878 $as_echo_n "checking for _hypot declaration... " >&6; }
61879 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61880 if ${glibcxx_cv_func__hypot_use+:} false; then :
61881 $as_echo_n "(cached) " >&6
61882 else
61885 ac_ext=cpp
61886 ac_cpp='$CXXCPP $CPPFLAGS'
61887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61892 /* end confdefs.h. */
61893 #include <math.h>
61895 main ()
61897 _hypot(0, 0);
61899 return 0;
61901 _ACEOF
61902 if ac_fn_cxx_try_compile "$LINENO"; then :
61903 glibcxx_cv_func__hypot_use=yes
61904 else
61905 glibcxx_cv_func__hypot_use=no
61907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61908 ac_ext=c
61909 ac_cpp='$CPP $CPPFLAGS'
61910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61919 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61921 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61922 for ac_func in _hypot
61923 do :
61924 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61925 if test "x$ac_cv_func__hypot" = xyes; then :
61926 cat >>confdefs.h <<_ACEOF
61927 #define HAVE__HYPOT 1
61928 _ACEOF
61931 done
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61941 $as_echo_n "checking for float trig functions... " >&6; }
61942 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61943 $as_echo_n "(cached) " >&6
61944 else
61947 ac_ext=cpp
61948 ac_cpp='$CXXCPP $CPPFLAGS'
61949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61954 /* end confdefs.h. */
61955 #include <math.h>
61957 main ()
61959 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61961 return 0;
61963 _ACEOF
61964 if ac_fn_cxx_try_compile "$LINENO"; then :
61965 glibcxx_cv_func_float_trig_use=yes
61966 else
61967 glibcxx_cv_func_float_trig_use=no
61969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61970 ac_ext=c
61971 ac_cpp='$CPP $CPPFLAGS'
61972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61979 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61980 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61981 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61982 do :
61983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61985 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61986 cat >>confdefs.h <<_ACEOF
61987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61988 _ACEOF
61991 done
61993 else
61994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61995 $as_echo_n "checking for _float trig functions... " >&6; }
61996 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61997 $as_echo_n "(cached) " >&6
61998 else
62001 ac_ext=cpp
62002 ac_cpp='$CXXCPP $CPPFLAGS'
62003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62008 /* end confdefs.h. */
62009 #include <math.h>
62011 main ()
62013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62015 return 0;
62017 _ACEOF
62018 if ac_fn_cxx_try_compile "$LINENO"; then :
62019 glibcxx_cv_func__float_trig_use=yes
62020 else
62021 glibcxx_cv_func__float_trig_use=no
62023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62024 ac_ext=c
62025 ac_cpp='$CPP $CPPFLAGS'
62026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62033 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62034 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62035 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62036 do :
62037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62039 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62040 cat >>confdefs.h <<_ACEOF
62041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62042 _ACEOF
62045 done
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62055 $as_echo_n "checking for float round functions... " >&6; }
62056 if ${glibcxx_cv_func_float_round_use+:} false; then :
62057 $as_echo_n "(cached) " >&6
62058 else
62061 ac_ext=cpp
62062 ac_cpp='$CXXCPP $CPPFLAGS'
62063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62068 /* end confdefs.h. */
62069 #include <math.h>
62071 main ()
62073 ceilf (0); floorf (0);
62075 return 0;
62077 _ACEOF
62078 if ac_fn_cxx_try_compile "$LINENO"; then :
62079 glibcxx_cv_func_float_round_use=yes
62080 else
62081 glibcxx_cv_func_float_round_use=no
62083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62084 ac_ext=c
62085 ac_cpp='$CPP $CPPFLAGS'
62086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62093 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62094 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62095 for ac_func in ceilf floorf
62096 do :
62097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62099 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62100 cat >>confdefs.h <<_ACEOF
62101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62102 _ACEOF
62105 done
62107 else
62108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62109 $as_echo_n "checking for _float round functions... " >&6; }
62110 if ${glibcxx_cv_func__float_round_use+:} false; then :
62111 $as_echo_n "(cached) " >&6
62112 else
62115 ac_ext=cpp
62116 ac_cpp='$CXXCPP $CPPFLAGS'
62117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62122 /* end confdefs.h. */
62123 #include <math.h>
62125 main ()
62127 _ceilf (0); _floorf (0);
62129 return 0;
62131 _ACEOF
62132 if ac_fn_cxx_try_compile "$LINENO"; then :
62133 glibcxx_cv_func__float_round_use=yes
62134 else
62135 glibcxx_cv_func__float_round_use=no
62137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62147 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62148 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62149 for ac_func in _ceilf _floorf
62150 do :
62151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62153 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62154 cat >>confdefs.h <<_ACEOF
62155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62156 _ACEOF
62159 done
62169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62170 $as_echo_n "checking for expf declaration... " >&6; }
62171 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62172 if ${glibcxx_cv_func_expf_use+:} false; then :
62173 $as_echo_n "(cached) " >&6
62174 else
62177 ac_ext=cpp
62178 ac_cpp='$CXXCPP $CPPFLAGS'
62179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62184 /* end confdefs.h. */
62185 #include <math.h>
62186 #ifdef HAVE_IEEEFP_H
62187 #include <ieeefp.h>
62188 #endif
62191 main ()
62193 expf(0);
62195 return 0;
62197 _ACEOF
62198 if ac_fn_cxx_try_compile "$LINENO"; then :
62199 glibcxx_cv_func_expf_use=yes
62200 else
62201 glibcxx_cv_func_expf_use=no
62203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62204 ac_ext=c
62205 ac_cpp='$CPP $CPPFLAGS'
62206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62215 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62217 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62218 for ac_func in expf
62219 do :
62220 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62221 if test "x$ac_cv_func_expf" = xyes; then :
62222 cat >>confdefs.h <<_ACEOF
62223 #define HAVE_EXPF 1
62224 _ACEOF
62227 done
62229 else
62231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62232 $as_echo_n "checking for _expf declaration... " >&6; }
62233 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62234 if ${glibcxx_cv_func__expf_use+:} false; then :
62235 $as_echo_n "(cached) " >&6
62236 else
62239 ac_ext=cpp
62240 ac_cpp='$CXXCPP $CPPFLAGS'
62241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62246 /* end confdefs.h. */
62247 #include <math.h>
62248 #ifdef HAVE_IEEEFP_H
62249 #include <ieeefp.h>
62250 #endif
62253 main ()
62255 _expf(0);
62257 return 0;
62259 _ACEOF
62260 if ac_fn_cxx_try_compile "$LINENO"; then :
62261 glibcxx_cv_func__expf_use=yes
62262 else
62263 glibcxx_cv_func__expf_use=no
62265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62266 ac_ext=c
62267 ac_cpp='$CPP $CPPFLAGS'
62268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62277 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62279 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62280 for ac_func in _expf
62281 do :
62282 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62283 if test "x$ac_cv_func__expf" = xyes; then :
62284 cat >>confdefs.h <<_ACEOF
62285 #define HAVE__EXPF 1
62286 _ACEOF
62289 done
62298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62299 $as_echo_n "checking for isnanf declaration... " >&6; }
62300 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62301 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62302 $as_echo_n "(cached) " >&6
62303 else
62306 ac_ext=cpp
62307 ac_cpp='$CXXCPP $CPPFLAGS'
62308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62313 /* end confdefs.h. */
62314 #include <math.h>
62315 #ifdef HAVE_IEEEFP_H
62316 #include <ieeefp.h>
62317 #endif
62320 main ()
62322 isnanf(0);
62324 return 0;
62326 _ACEOF
62327 if ac_fn_cxx_try_compile "$LINENO"; then :
62328 glibcxx_cv_func_isnanf_use=yes
62329 else
62330 glibcxx_cv_func_isnanf_use=no
62332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62333 ac_ext=c
62334 ac_cpp='$CPP $CPPFLAGS'
62335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62344 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62346 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62347 for ac_func in isnanf
62348 do :
62349 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62350 if test "x$ac_cv_func_isnanf" = xyes; then :
62351 cat >>confdefs.h <<_ACEOF
62352 #define HAVE_ISNANF 1
62353 _ACEOF
62356 done
62358 else
62360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62361 $as_echo_n "checking for _isnanf declaration... " >&6; }
62362 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62363 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62364 $as_echo_n "(cached) " >&6
62365 else
62368 ac_ext=cpp
62369 ac_cpp='$CXXCPP $CPPFLAGS'
62370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62375 /* end confdefs.h. */
62376 #include <math.h>
62377 #ifdef HAVE_IEEEFP_H
62378 #include <ieeefp.h>
62379 #endif
62382 main ()
62384 _isnanf(0);
62386 return 0;
62388 _ACEOF
62389 if ac_fn_cxx_try_compile "$LINENO"; then :
62390 glibcxx_cv_func__isnanf_use=yes
62391 else
62392 glibcxx_cv_func__isnanf_use=no
62394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62395 ac_ext=c
62396 ac_cpp='$CPP $CPPFLAGS'
62397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62406 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62408 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62409 for ac_func in _isnanf
62410 do :
62411 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62412 if test "x$ac_cv_func__isnanf" = xyes; then :
62413 cat >>confdefs.h <<_ACEOF
62414 #define HAVE__ISNANF 1
62415 _ACEOF
62418 done
62427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62428 $as_echo_n "checking for isinff declaration... " >&6; }
62429 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62430 if ${glibcxx_cv_func_isinff_use+:} false; then :
62431 $as_echo_n "(cached) " >&6
62432 else
62435 ac_ext=cpp
62436 ac_cpp='$CXXCPP $CPPFLAGS'
62437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62442 /* end confdefs.h. */
62443 #include <math.h>
62444 #ifdef HAVE_IEEEFP_H
62445 #include <ieeefp.h>
62446 #endif
62449 main ()
62451 isinff(0);
62453 return 0;
62455 _ACEOF
62456 if ac_fn_cxx_try_compile "$LINENO"; then :
62457 glibcxx_cv_func_isinff_use=yes
62458 else
62459 glibcxx_cv_func_isinff_use=no
62461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62462 ac_ext=c
62463 ac_cpp='$CPP $CPPFLAGS'
62464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62473 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62475 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62476 for ac_func in isinff
62477 do :
62478 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62479 if test "x$ac_cv_func_isinff" = xyes; then :
62480 cat >>confdefs.h <<_ACEOF
62481 #define HAVE_ISINFF 1
62482 _ACEOF
62485 done
62487 else
62489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62490 $as_echo_n "checking for _isinff declaration... " >&6; }
62491 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62492 if ${glibcxx_cv_func__isinff_use+:} false; then :
62493 $as_echo_n "(cached) " >&6
62494 else
62497 ac_ext=cpp
62498 ac_cpp='$CXXCPP $CPPFLAGS'
62499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62504 /* end confdefs.h. */
62505 #include <math.h>
62506 #ifdef HAVE_IEEEFP_H
62507 #include <ieeefp.h>
62508 #endif
62511 main ()
62513 _isinff(0);
62515 return 0;
62517 _ACEOF
62518 if ac_fn_cxx_try_compile "$LINENO"; then :
62519 glibcxx_cv_func__isinff_use=yes
62520 else
62521 glibcxx_cv_func__isinff_use=no
62523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62524 ac_ext=c
62525 ac_cpp='$CPP $CPPFLAGS'
62526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62535 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62537 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62538 for ac_func in _isinff
62539 do :
62540 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62541 if test "x$ac_cv_func__isinff" = xyes; then :
62542 cat >>confdefs.h <<_ACEOF
62543 #define HAVE__ISINFF 1
62544 _ACEOF
62547 done
62556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62557 $as_echo_n "checking for atan2f declaration... " >&6; }
62558 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62559 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62560 $as_echo_n "(cached) " >&6
62561 else
62564 ac_ext=cpp
62565 ac_cpp='$CXXCPP $CPPFLAGS'
62566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62571 /* end confdefs.h. */
62572 #include <math.h>
62574 main ()
62576 atan2f(0, 0);
62578 return 0;
62580 _ACEOF
62581 if ac_fn_cxx_try_compile "$LINENO"; then :
62582 glibcxx_cv_func_atan2f_use=yes
62583 else
62584 glibcxx_cv_func_atan2f_use=no
62586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62587 ac_ext=c
62588 ac_cpp='$CPP $CPPFLAGS'
62589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62598 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62600 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62601 for ac_func in atan2f
62602 do :
62603 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62604 if test "x$ac_cv_func_atan2f" = xyes; then :
62605 cat >>confdefs.h <<_ACEOF
62606 #define HAVE_ATAN2F 1
62607 _ACEOF
62610 done
62612 else
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62615 $as_echo_n "checking for _atan2f declaration... " >&6; }
62616 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62617 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62618 $as_echo_n "(cached) " >&6
62619 else
62622 ac_ext=cpp
62623 ac_cpp='$CXXCPP $CPPFLAGS'
62624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62629 /* end confdefs.h. */
62630 #include <math.h>
62632 main ()
62634 _atan2f(0, 0);
62636 return 0;
62638 _ACEOF
62639 if ac_fn_cxx_try_compile "$LINENO"; then :
62640 glibcxx_cv_func__atan2f_use=yes
62641 else
62642 glibcxx_cv_func__atan2f_use=no
62644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62645 ac_ext=c
62646 ac_cpp='$CPP $CPPFLAGS'
62647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62656 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62658 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62659 for ac_func in _atan2f
62660 do :
62661 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62662 if test "x$ac_cv_func__atan2f" = xyes; then :
62663 cat >>confdefs.h <<_ACEOF
62664 #define HAVE__ATAN2F 1
62665 _ACEOF
62668 done
62677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62678 $as_echo_n "checking for fabsf declaration... " >&6; }
62679 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62680 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62681 $as_echo_n "(cached) " >&6
62682 else
62685 ac_ext=cpp
62686 ac_cpp='$CXXCPP $CPPFLAGS'
62687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62692 /* end confdefs.h. */
62693 #include <math.h>
62694 #ifdef HAVE_IEEEFP_H
62695 #include <ieeefp.h>
62696 #endif
62699 main ()
62701 fabsf(0);
62703 return 0;
62705 _ACEOF
62706 if ac_fn_cxx_try_compile "$LINENO"; then :
62707 glibcxx_cv_func_fabsf_use=yes
62708 else
62709 glibcxx_cv_func_fabsf_use=no
62711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62712 ac_ext=c
62713 ac_cpp='$CPP $CPPFLAGS'
62714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62723 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62725 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62726 for ac_func in fabsf
62727 do :
62728 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62729 if test "x$ac_cv_func_fabsf" = xyes; then :
62730 cat >>confdefs.h <<_ACEOF
62731 #define HAVE_FABSF 1
62732 _ACEOF
62735 done
62737 else
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62740 $as_echo_n "checking for _fabsf declaration... " >&6; }
62741 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62742 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62743 $as_echo_n "(cached) " >&6
62744 else
62747 ac_ext=cpp
62748 ac_cpp='$CXXCPP $CPPFLAGS'
62749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62754 /* end confdefs.h. */
62755 #include <math.h>
62756 #ifdef HAVE_IEEEFP_H
62757 #include <ieeefp.h>
62758 #endif
62761 main ()
62763 _fabsf(0);
62765 return 0;
62767 _ACEOF
62768 if ac_fn_cxx_try_compile "$LINENO"; then :
62769 glibcxx_cv_func__fabsf_use=yes
62770 else
62771 glibcxx_cv_func__fabsf_use=no
62773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62774 ac_ext=c
62775 ac_cpp='$CPP $CPPFLAGS'
62776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62785 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62787 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62788 for ac_func in _fabsf
62789 do :
62790 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62791 if test "x$ac_cv_func__fabsf" = xyes; then :
62792 cat >>confdefs.h <<_ACEOF
62793 #define HAVE__FABSF 1
62794 _ACEOF
62797 done
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62807 $as_echo_n "checking for fmodf declaration... " >&6; }
62808 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62809 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62810 $as_echo_n "(cached) " >&6
62811 else
62814 ac_ext=cpp
62815 ac_cpp='$CXXCPP $CPPFLAGS'
62816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62821 /* end confdefs.h. */
62822 #include <math.h>
62824 main ()
62826 fmodf(0, 0);
62828 return 0;
62830 _ACEOF
62831 if ac_fn_cxx_try_compile "$LINENO"; then :
62832 glibcxx_cv_func_fmodf_use=yes
62833 else
62834 glibcxx_cv_func_fmodf_use=no
62836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62837 ac_ext=c
62838 ac_cpp='$CPP $CPPFLAGS'
62839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62848 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62850 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62851 for ac_func in fmodf
62852 do :
62853 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62854 if test "x$ac_cv_func_fmodf" = xyes; then :
62855 cat >>confdefs.h <<_ACEOF
62856 #define HAVE_FMODF 1
62857 _ACEOF
62860 done
62862 else
62864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62865 $as_echo_n "checking for _fmodf declaration... " >&6; }
62866 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62867 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62868 $as_echo_n "(cached) " >&6
62869 else
62872 ac_ext=cpp
62873 ac_cpp='$CXXCPP $CPPFLAGS'
62874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62879 /* end confdefs.h. */
62880 #include <math.h>
62882 main ()
62884 _fmodf(0, 0);
62886 return 0;
62888 _ACEOF
62889 if ac_fn_cxx_try_compile "$LINENO"; then :
62890 glibcxx_cv_func__fmodf_use=yes
62891 else
62892 glibcxx_cv_func__fmodf_use=no
62894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62895 ac_ext=c
62896 ac_cpp='$CPP $CPPFLAGS'
62897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62906 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62908 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62909 for ac_func in _fmodf
62910 do :
62911 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62912 if test "x$ac_cv_func__fmodf" = xyes; then :
62913 cat >>confdefs.h <<_ACEOF
62914 #define HAVE__FMODF 1
62915 _ACEOF
62918 done
62927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62928 $as_echo_n "checking for frexpf declaration... " >&6; }
62929 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62930 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62931 $as_echo_n "(cached) " >&6
62932 else
62935 ac_ext=cpp
62936 ac_cpp='$CXXCPP $CPPFLAGS'
62937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62942 /* end confdefs.h. */
62943 #include <math.h>
62945 main ()
62947 frexpf(0, 0);
62949 return 0;
62951 _ACEOF
62952 if ac_fn_cxx_try_compile "$LINENO"; then :
62953 glibcxx_cv_func_frexpf_use=yes
62954 else
62955 glibcxx_cv_func_frexpf_use=no
62957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62958 ac_ext=c
62959 ac_cpp='$CPP $CPPFLAGS'
62960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62969 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62971 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62972 for ac_func in frexpf
62973 do :
62974 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62975 if test "x$ac_cv_func_frexpf" = xyes; then :
62976 cat >>confdefs.h <<_ACEOF
62977 #define HAVE_FREXPF 1
62978 _ACEOF
62981 done
62983 else
62985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62986 $as_echo_n "checking for _frexpf declaration... " >&6; }
62987 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62988 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62989 $as_echo_n "(cached) " >&6
62990 else
62993 ac_ext=cpp
62994 ac_cpp='$CXXCPP $CPPFLAGS'
62995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63000 /* end confdefs.h. */
63001 #include <math.h>
63003 main ()
63005 _frexpf(0, 0);
63007 return 0;
63009 _ACEOF
63010 if ac_fn_cxx_try_compile "$LINENO"; then :
63011 glibcxx_cv_func__frexpf_use=yes
63012 else
63013 glibcxx_cv_func__frexpf_use=no
63015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63016 ac_ext=c
63017 ac_cpp='$CPP $CPPFLAGS'
63018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63027 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63029 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63030 for ac_func in _frexpf
63031 do :
63032 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63033 if test "x$ac_cv_func__frexpf" = xyes; then :
63034 cat >>confdefs.h <<_ACEOF
63035 #define HAVE__FREXPF 1
63036 _ACEOF
63039 done
63048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63049 $as_echo_n "checking for hypotf declaration... " >&6; }
63050 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63051 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63052 $as_echo_n "(cached) " >&6
63053 else
63056 ac_ext=cpp
63057 ac_cpp='$CXXCPP $CPPFLAGS'
63058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63063 /* end confdefs.h. */
63064 #include <math.h>
63066 main ()
63068 hypotf(0, 0);
63070 return 0;
63072 _ACEOF
63073 if ac_fn_cxx_try_compile "$LINENO"; then :
63074 glibcxx_cv_func_hypotf_use=yes
63075 else
63076 glibcxx_cv_func_hypotf_use=no
63078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63079 ac_ext=c
63080 ac_cpp='$CPP $CPPFLAGS'
63081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63090 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63092 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63093 for ac_func in hypotf
63094 do :
63095 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63096 if test "x$ac_cv_func_hypotf" = xyes; then :
63097 cat >>confdefs.h <<_ACEOF
63098 #define HAVE_HYPOTF 1
63099 _ACEOF
63102 done
63104 else
63106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63107 $as_echo_n "checking for _hypotf declaration... " >&6; }
63108 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63109 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63110 $as_echo_n "(cached) " >&6
63111 else
63114 ac_ext=cpp
63115 ac_cpp='$CXXCPP $CPPFLAGS'
63116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63121 /* end confdefs.h. */
63122 #include <math.h>
63124 main ()
63126 _hypotf(0, 0);
63128 return 0;
63130 _ACEOF
63131 if ac_fn_cxx_try_compile "$LINENO"; then :
63132 glibcxx_cv_func__hypotf_use=yes
63133 else
63134 glibcxx_cv_func__hypotf_use=no
63136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63137 ac_ext=c
63138 ac_cpp='$CPP $CPPFLAGS'
63139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63148 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63150 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63151 for ac_func in _hypotf
63152 do :
63153 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63154 if test "x$ac_cv_func__hypotf" = xyes; then :
63155 cat >>confdefs.h <<_ACEOF
63156 #define HAVE__HYPOTF 1
63157 _ACEOF
63160 done
63169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63170 $as_echo_n "checking for ldexpf declaration... " >&6; }
63171 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63172 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63173 $as_echo_n "(cached) " >&6
63174 else
63177 ac_ext=cpp
63178 ac_cpp='$CXXCPP $CPPFLAGS'
63179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63184 /* end confdefs.h. */
63185 #include <math.h>
63187 main ()
63189 ldexpf(0, 0);
63191 return 0;
63193 _ACEOF
63194 if ac_fn_cxx_try_compile "$LINENO"; then :
63195 glibcxx_cv_func_ldexpf_use=yes
63196 else
63197 glibcxx_cv_func_ldexpf_use=no
63199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63200 ac_ext=c
63201 ac_cpp='$CPP $CPPFLAGS'
63202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63211 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63213 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63214 for ac_func in ldexpf
63215 do :
63216 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63217 if test "x$ac_cv_func_ldexpf" = xyes; then :
63218 cat >>confdefs.h <<_ACEOF
63219 #define HAVE_LDEXPF 1
63220 _ACEOF
63223 done
63225 else
63227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63228 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63229 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63230 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63231 $as_echo_n "(cached) " >&6
63232 else
63235 ac_ext=cpp
63236 ac_cpp='$CXXCPP $CPPFLAGS'
63237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63242 /* end confdefs.h. */
63243 #include <math.h>
63245 main ()
63247 _ldexpf(0, 0);
63249 return 0;
63251 _ACEOF
63252 if ac_fn_cxx_try_compile "$LINENO"; then :
63253 glibcxx_cv_func__ldexpf_use=yes
63254 else
63255 glibcxx_cv_func__ldexpf_use=no
63257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63258 ac_ext=c
63259 ac_cpp='$CPP $CPPFLAGS'
63260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63269 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63271 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63272 for ac_func in _ldexpf
63273 do :
63274 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63275 if test "x$ac_cv_func__ldexpf" = xyes; then :
63276 cat >>confdefs.h <<_ACEOF
63277 #define HAVE__LDEXPF 1
63278 _ACEOF
63281 done
63290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63291 $as_echo_n "checking for logf declaration... " >&6; }
63292 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63293 if ${glibcxx_cv_func_logf_use+:} false; then :
63294 $as_echo_n "(cached) " >&6
63295 else
63298 ac_ext=cpp
63299 ac_cpp='$CXXCPP $CPPFLAGS'
63300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63305 /* end confdefs.h. */
63306 #include <math.h>
63307 #ifdef HAVE_IEEEFP_H
63308 #include <ieeefp.h>
63309 #endif
63312 main ()
63314 logf(0);
63316 return 0;
63318 _ACEOF
63319 if ac_fn_cxx_try_compile "$LINENO"; then :
63320 glibcxx_cv_func_logf_use=yes
63321 else
63322 glibcxx_cv_func_logf_use=no
63324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63325 ac_ext=c
63326 ac_cpp='$CPP $CPPFLAGS'
63327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63336 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63338 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63339 for ac_func in logf
63340 do :
63341 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63342 if test "x$ac_cv_func_logf" = xyes; then :
63343 cat >>confdefs.h <<_ACEOF
63344 #define HAVE_LOGF 1
63345 _ACEOF
63348 done
63350 else
63352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63353 $as_echo_n "checking for _logf declaration... " >&6; }
63354 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63355 if ${glibcxx_cv_func__logf_use+:} false; then :
63356 $as_echo_n "(cached) " >&6
63357 else
63360 ac_ext=cpp
63361 ac_cpp='$CXXCPP $CPPFLAGS'
63362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63367 /* end confdefs.h. */
63368 #include <math.h>
63369 #ifdef HAVE_IEEEFP_H
63370 #include <ieeefp.h>
63371 #endif
63374 main ()
63376 _logf(0);
63378 return 0;
63380 _ACEOF
63381 if ac_fn_cxx_try_compile "$LINENO"; then :
63382 glibcxx_cv_func__logf_use=yes
63383 else
63384 glibcxx_cv_func__logf_use=no
63386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63387 ac_ext=c
63388 ac_cpp='$CPP $CPPFLAGS'
63389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63398 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63400 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63401 for ac_func in _logf
63402 do :
63403 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63404 if test "x$ac_cv_func__logf" = xyes; then :
63405 cat >>confdefs.h <<_ACEOF
63406 #define HAVE__LOGF 1
63407 _ACEOF
63410 done
63419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63420 $as_echo_n "checking for log10f declaration... " >&6; }
63421 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63422 if ${glibcxx_cv_func_log10f_use+:} false; then :
63423 $as_echo_n "(cached) " >&6
63424 else
63427 ac_ext=cpp
63428 ac_cpp='$CXXCPP $CPPFLAGS'
63429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63434 /* end confdefs.h. */
63435 #include <math.h>
63436 #ifdef HAVE_IEEEFP_H
63437 #include <ieeefp.h>
63438 #endif
63441 main ()
63443 log10f(0);
63445 return 0;
63447 _ACEOF
63448 if ac_fn_cxx_try_compile "$LINENO"; then :
63449 glibcxx_cv_func_log10f_use=yes
63450 else
63451 glibcxx_cv_func_log10f_use=no
63453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63454 ac_ext=c
63455 ac_cpp='$CPP $CPPFLAGS'
63456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63465 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63467 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63468 for ac_func in log10f
63469 do :
63470 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63471 if test "x$ac_cv_func_log10f" = xyes; then :
63472 cat >>confdefs.h <<_ACEOF
63473 #define HAVE_LOG10F 1
63474 _ACEOF
63477 done
63479 else
63481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63482 $as_echo_n "checking for _log10f declaration... " >&6; }
63483 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63484 if ${glibcxx_cv_func__log10f_use+:} false; then :
63485 $as_echo_n "(cached) " >&6
63486 else
63489 ac_ext=cpp
63490 ac_cpp='$CXXCPP $CPPFLAGS'
63491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63496 /* end confdefs.h. */
63497 #include <math.h>
63498 #ifdef HAVE_IEEEFP_H
63499 #include <ieeefp.h>
63500 #endif
63503 main ()
63505 _log10f(0);
63507 return 0;
63509 _ACEOF
63510 if ac_fn_cxx_try_compile "$LINENO"; then :
63511 glibcxx_cv_func__log10f_use=yes
63512 else
63513 glibcxx_cv_func__log10f_use=no
63515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63516 ac_ext=c
63517 ac_cpp='$CPP $CPPFLAGS'
63518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63527 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63529 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63530 for ac_func in _log10f
63531 do :
63532 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63533 if test "x$ac_cv_func__log10f" = xyes; then :
63534 cat >>confdefs.h <<_ACEOF
63535 #define HAVE__LOG10F 1
63536 _ACEOF
63539 done
63548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63549 $as_echo_n "checking for modff declaration... " >&6; }
63550 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63551 if ${glibcxx_cv_func_modff_use+:} false; then :
63552 $as_echo_n "(cached) " >&6
63553 else
63556 ac_ext=cpp
63557 ac_cpp='$CXXCPP $CPPFLAGS'
63558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63563 /* end confdefs.h. */
63564 #include <math.h>
63566 main ()
63568 modff(0, 0);
63570 return 0;
63572 _ACEOF
63573 if ac_fn_cxx_try_compile "$LINENO"; then :
63574 glibcxx_cv_func_modff_use=yes
63575 else
63576 glibcxx_cv_func_modff_use=no
63578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63579 ac_ext=c
63580 ac_cpp='$CPP $CPPFLAGS'
63581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63590 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63592 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63593 for ac_func in modff
63594 do :
63595 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63596 if test "x$ac_cv_func_modff" = xyes; then :
63597 cat >>confdefs.h <<_ACEOF
63598 #define HAVE_MODFF 1
63599 _ACEOF
63602 done
63604 else
63606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63607 $as_echo_n "checking for _modff declaration... " >&6; }
63608 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63609 if ${glibcxx_cv_func__modff_use+:} false; then :
63610 $as_echo_n "(cached) " >&6
63611 else
63614 ac_ext=cpp
63615 ac_cpp='$CXXCPP $CPPFLAGS'
63616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63621 /* end confdefs.h. */
63622 #include <math.h>
63624 main ()
63626 _modff(0, 0);
63628 return 0;
63630 _ACEOF
63631 if ac_fn_cxx_try_compile "$LINENO"; then :
63632 glibcxx_cv_func__modff_use=yes
63633 else
63634 glibcxx_cv_func__modff_use=no
63636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63637 ac_ext=c
63638 ac_cpp='$CPP $CPPFLAGS'
63639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63648 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63650 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63651 for ac_func in _modff
63652 do :
63653 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63654 if test "x$ac_cv_func__modff" = xyes; then :
63655 cat >>confdefs.h <<_ACEOF
63656 #define HAVE__MODFF 1
63657 _ACEOF
63660 done
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63670 $as_echo_n "checking for modf declaration... " >&6; }
63671 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63672 if ${glibcxx_cv_func_modf_use+:} false; then :
63673 $as_echo_n "(cached) " >&6
63674 else
63677 ac_ext=cpp
63678 ac_cpp='$CXXCPP $CPPFLAGS'
63679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63684 /* end confdefs.h. */
63685 #include <math.h>
63687 main ()
63689 modf(0, 0);
63691 return 0;
63693 _ACEOF
63694 if ac_fn_cxx_try_compile "$LINENO"; then :
63695 glibcxx_cv_func_modf_use=yes
63696 else
63697 glibcxx_cv_func_modf_use=no
63699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63700 ac_ext=c
63701 ac_cpp='$CPP $CPPFLAGS'
63702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63711 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63713 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63714 for ac_func in modf
63715 do :
63716 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63717 if test "x$ac_cv_func_modf" = xyes; then :
63718 cat >>confdefs.h <<_ACEOF
63719 #define HAVE_MODF 1
63720 _ACEOF
63723 done
63725 else
63727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63728 $as_echo_n "checking for _modf declaration... " >&6; }
63729 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63730 if ${glibcxx_cv_func__modf_use+:} false; then :
63731 $as_echo_n "(cached) " >&6
63732 else
63735 ac_ext=cpp
63736 ac_cpp='$CXXCPP $CPPFLAGS'
63737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63742 /* end confdefs.h. */
63743 #include <math.h>
63745 main ()
63747 _modf(0, 0);
63749 return 0;
63751 _ACEOF
63752 if ac_fn_cxx_try_compile "$LINENO"; then :
63753 glibcxx_cv_func__modf_use=yes
63754 else
63755 glibcxx_cv_func__modf_use=no
63757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63758 ac_ext=c
63759 ac_cpp='$CPP $CPPFLAGS'
63760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63769 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63771 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63772 for ac_func in _modf
63773 do :
63774 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63775 if test "x$ac_cv_func__modf" = xyes; then :
63776 cat >>confdefs.h <<_ACEOF
63777 #define HAVE__MODF 1
63778 _ACEOF
63781 done
63790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63791 $as_echo_n "checking for powf declaration... " >&6; }
63792 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63793 if ${glibcxx_cv_func_powf_use+:} false; then :
63794 $as_echo_n "(cached) " >&6
63795 else
63798 ac_ext=cpp
63799 ac_cpp='$CXXCPP $CPPFLAGS'
63800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63805 /* end confdefs.h. */
63806 #include <math.h>
63808 main ()
63810 powf(0, 0);
63812 return 0;
63814 _ACEOF
63815 if ac_fn_cxx_try_compile "$LINENO"; then :
63816 glibcxx_cv_func_powf_use=yes
63817 else
63818 glibcxx_cv_func_powf_use=no
63820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63821 ac_ext=c
63822 ac_cpp='$CPP $CPPFLAGS'
63823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63832 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63834 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63835 for ac_func in powf
63836 do :
63837 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63838 if test "x$ac_cv_func_powf" = xyes; then :
63839 cat >>confdefs.h <<_ACEOF
63840 #define HAVE_POWF 1
63841 _ACEOF
63844 done
63846 else
63848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63849 $as_echo_n "checking for _powf declaration... " >&6; }
63850 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63851 if ${glibcxx_cv_func__powf_use+:} false; then :
63852 $as_echo_n "(cached) " >&6
63853 else
63856 ac_ext=cpp
63857 ac_cpp='$CXXCPP $CPPFLAGS'
63858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63863 /* end confdefs.h. */
63864 #include <math.h>
63866 main ()
63868 _powf(0, 0);
63870 return 0;
63872 _ACEOF
63873 if ac_fn_cxx_try_compile "$LINENO"; then :
63874 glibcxx_cv_func__powf_use=yes
63875 else
63876 glibcxx_cv_func__powf_use=no
63878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63879 ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63890 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63892 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63893 for ac_func in _powf
63894 do :
63895 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63896 if test "x$ac_cv_func__powf" = xyes; then :
63897 cat >>confdefs.h <<_ACEOF
63898 #define HAVE__POWF 1
63899 _ACEOF
63902 done
63911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63912 $as_echo_n "checking for sqrtf declaration... " >&6; }
63913 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63914 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63915 $as_echo_n "(cached) " >&6
63916 else
63919 ac_ext=cpp
63920 ac_cpp='$CXXCPP $CPPFLAGS'
63921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63926 /* end confdefs.h. */
63927 #include <math.h>
63928 #ifdef HAVE_IEEEFP_H
63929 #include <ieeefp.h>
63930 #endif
63933 main ()
63935 sqrtf(0);
63937 return 0;
63939 _ACEOF
63940 if ac_fn_cxx_try_compile "$LINENO"; then :
63941 glibcxx_cv_func_sqrtf_use=yes
63942 else
63943 glibcxx_cv_func_sqrtf_use=no
63945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63946 ac_ext=c
63947 ac_cpp='$CPP $CPPFLAGS'
63948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63957 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63959 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63960 for ac_func in sqrtf
63961 do :
63962 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63963 if test "x$ac_cv_func_sqrtf" = xyes; then :
63964 cat >>confdefs.h <<_ACEOF
63965 #define HAVE_SQRTF 1
63966 _ACEOF
63969 done
63971 else
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63974 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63975 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63976 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63977 $as_echo_n "(cached) " >&6
63978 else
63981 ac_ext=cpp
63982 ac_cpp='$CXXCPP $CPPFLAGS'
63983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63988 /* end confdefs.h. */
63989 #include <math.h>
63990 #ifdef HAVE_IEEEFP_H
63991 #include <ieeefp.h>
63992 #endif
63995 main ()
63997 _sqrtf(0);
63999 return 0;
64001 _ACEOF
64002 if ac_fn_cxx_try_compile "$LINENO"; then :
64003 glibcxx_cv_func__sqrtf_use=yes
64004 else
64005 glibcxx_cv_func__sqrtf_use=no
64007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64008 ac_ext=c
64009 ac_cpp='$CPP $CPPFLAGS'
64010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64019 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64021 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64022 for ac_func in _sqrtf
64023 do :
64024 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64025 if test "x$ac_cv_func__sqrtf" = xyes; then :
64026 cat >>confdefs.h <<_ACEOF
64027 #define HAVE__SQRTF 1
64028 _ACEOF
64031 done
64040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64041 $as_echo_n "checking for sincosf declaration... " >&6; }
64042 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64043 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64044 $as_echo_n "(cached) " >&6
64045 else
64048 ac_ext=cpp
64049 ac_cpp='$CXXCPP $CPPFLAGS'
64050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64055 /* end confdefs.h. */
64056 #include <math.h>
64058 main ()
64060 sincosf(0, 0, 0);
64062 return 0;
64064 _ACEOF
64065 if ac_fn_cxx_try_compile "$LINENO"; then :
64066 glibcxx_cv_func_sincosf_use=yes
64067 else
64068 glibcxx_cv_func_sincosf_use=no
64070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64071 ac_ext=c
64072 ac_cpp='$CPP $CPPFLAGS'
64073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64082 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64084 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64085 for ac_func in sincosf
64086 do :
64087 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64088 if test "x$ac_cv_func_sincosf" = xyes; then :
64089 cat >>confdefs.h <<_ACEOF
64090 #define HAVE_SINCOSF 1
64091 _ACEOF
64094 done
64096 else
64098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64099 $as_echo_n "checking for _sincosf declaration... " >&6; }
64100 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64101 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64102 $as_echo_n "(cached) " >&6
64103 else
64106 ac_ext=cpp
64107 ac_cpp='$CXXCPP $CPPFLAGS'
64108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64113 /* end confdefs.h. */
64114 #include <math.h>
64116 main ()
64118 _sincosf(0, 0, 0);
64120 return 0;
64122 _ACEOF
64123 if ac_fn_cxx_try_compile "$LINENO"; then :
64124 glibcxx_cv_func__sincosf_use=yes
64125 else
64126 glibcxx_cv_func__sincosf_use=no
64128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64129 ac_ext=c
64130 ac_cpp='$CPP $CPPFLAGS'
64131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64140 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64142 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64143 for ac_func in _sincosf
64144 do :
64145 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64146 if test "x$ac_cv_func__sincosf" = xyes; then :
64147 cat >>confdefs.h <<_ACEOF
64148 #define HAVE__SINCOSF 1
64149 _ACEOF
64152 done
64161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64162 $as_echo_n "checking for finitef declaration... " >&6; }
64163 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64164 if ${glibcxx_cv_func_finitef_use+:} false; then :
64165 $as_echo_n "(cached) " >&6
64166 else
64169 ac_ext=cpp
64170 ac_cpp='$CXXCPP $CPPFLAGS'
64171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64176 /* end confdefs.h. */
64177 #include <math.h>
64178 #ifdef HAVE_IEEEFP_H
64179 #include <ieeefp.h>
64180 #endif
64183 main ()
64185 finitef(0);
64187 return 0;
64189 _ACEOF
64190 if ac_fn_cxx_try_compile "$LINENO"; then :
64191 glibcxx_cv_func_finitef_use=yes
64192 else
64193 glibcxx_cv_func_finitef_use=no
64195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64196 ac_ext=c
64197 ac_cpp='$CPP $CPPFLAGS'
64198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64207 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64209 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64210 for ac_func in finitef
64211 do :
64212 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64213 if test "x$ac_cv_func_finitef" = xyes; then :
64214 cat >>confdefs.h <<_ACEOF
64215 #define HAVE_FINITEF 1
64216 _ACEOF
64219 done
64221 else
64223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64224 $as_echo_n "checking for _finitef declaration... " >&6; }
64225 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64226 if ${glibcxx_cv_func__finitef_use+:} false; then :
64227 $as_echo_n "(cached) " >&6
64228 else
64231 ac_ext=cpp
64232 ac_cpp='$CXXCPP $CPPFLAGS'
64233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64238 /* end confdefs.h. */
64239 #include <math.h>
64240 #ifdef HAVE_IEEEFP_H
64241 #include <ieeefp.h>
64242 #endif
64245 main ()
64247 _finitef(0);
64249 return 0;
64251 _ACEOF
64252 if ac_fn_cxx_try_compile "$LINENO"; then :
64253 glibcxx_cv_func__finitef_use=yes
64254 else
64255 glibcxx_cv_func__finitef_use=no
64257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64258 ac_ext=c
64259 ac_cpp='$CPP $CPPFLAGS'
64260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64269 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64271 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64272 for ac_func in _finitef
64273 do :
64274 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64275 if test "x$ac_cv_func__finitef" = xyes; then :
64276 cat >>confdefs.h <<_ACEOF
64277 #define HAVE__FINITEF 1
64278 _ACEOF
64281 done
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64291 $as_echo_n "checking for long double trig functions... " >&6; }
64292 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64293 $as_echo_n "(cached) " >&6
64294 else
64297 ac_ext=cpp
64298 ac_cpp='$CXXCPP $CPPFLAGS'
64299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64304 /* end confdefs.h. */
64305 #include <math.h>
64307 main ()
64309 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64311 return 0;
64313 _ACEOF
64314 if ac_fn_cxx_try_compile "$LINENO"; then :
64315 glibcxx_cv_func_long_double_trig_use=yes
64316 else
64317 glibcxx_cv_func_long_double_trig_use=no
64319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64320 ac_ext=c
64321 ac_cpp='$CPP $CPPFLAGS'
64322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64329 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64330 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64331 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64332 do :
64333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64335 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64336 cat >>confdefs.h <<_ACEOF
64337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64338 _ACEOF
64341 done
64343 else
64344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64345 $as_echo_n "checking for _long double trig functions... " >&6; }
64346 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64347 $as_echo_n "(cached) " >&6
64348 else
64351 ac_ext=cpp
64352 ac_cpp='$CXXCPP $CPPFLAGS'
64353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64358 /* end confdefs.h. */
64359 #include <math.h>
64361 main ()
64363 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64365 return 0;
64367 _ACEOF
64368 if ac_fn_cxx_try_compile "$LINENO"; then :
64369 glibcxx_cv_func__long_double_trig_use=yes
64370 else
64371 glibcxx_cv_func__long_double_trig_use=no
64373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64374 ac_ext=c
64375 ac_cpp='$CPP $CPPFLAGS'
64376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64383 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64384 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64385 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64386 do :
64387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64389 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64390 cat >>confdefs.h <<_ACEOF
64391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64392 _ACEOF
64395 done
64404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64405 $as_echo_n "checking for long double round functions... " >&6; }
64406 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64407 $as_echo_n "(cached) " >&6
64408 else
64411 ac_ext=cpp
64412 ac_cpp='$CXXCPP $CPPFLAGS'
64413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64418 /* end confdefs.h. */
64419 #include <math.h>
64421 main ()
64423 ceill (0); floorl (0);
64425 return 0;
64427 _ACEOF
64428 if ac_fn_cxx_try_compile "$LINENO"; then :
64429 glibcxx_cv_func_long_double_round_use=yes
64430 else
64431 glibcxx_cv_func_long_double_round_use=no
64433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64434 ac_ext=c
64435 ac_cpp='$CPP $CPPFLAGS'
64436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64443 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64444 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64445 for ac_func in ceill floorl
64446 do :
64447 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64448 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64449 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64450 cat >>confdefs.h <<_ACEOF
64451 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64452 _ACEOF
64455 done
64457 else
64458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64459 $as_echo_n "checking for _long double round functions... " >&6; }
64460 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64461 $as_echo_n "(cached) " >&6
64462 else
64465 ac_ext=cpp
64466 ac_cpp='$CXXCPP $CPPFLAGS'
64467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64472 /* end confdefs.h. */
64473 #include <math.h>
64475 main ()
64477 _ceill (0); _floorl (0);
64479 return 0;
64481 _ACEOF
64482 if ac_fn_cxx_try_compile "$LINENO"; then :
64483 glibcxx_cv_func__long_double_round_use=yes
64484 else
64485 glibcxx_cv_func__long_double_round_use=no
64487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64488 ac_ext=c
64489 ac_cpp='$CPP $CPPFLAGS'
64490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64497 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64498 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64499 for ac_func in _ceill _floorl
64500 do :
64501 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64502 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64503 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64504 cat >>confdefs.h <<_ACEOF
64505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64506 _ACEOF
64509 done
64519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64520 $as_echo_n "checking for isnanl declaration... " >&6; }
64521 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64522 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64523 $as_echo_n "(cached) " >&6
64524 else
64527 ac_ext=cpp
64528 ac_cpp='$CXXCPP $CPPFLAGS'
64529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64534 /* end confdefs.h. */
64535 #include <math.h>
64536 #ifdef HAVE_IEEEFP_H
64537 #include <ieeefp.h>
64538 #endif
64541 main ()
64543 isnanl(0);
64545 return 0;
64547 _ACEOF
64548 if ac_fn_cxx_try_compile "$LINENO"; then :
64549 glibcxx_cv_func_isnanl_use=yes
64550 else
64551 glibcxx_cv_func_isnanl_use=no
64553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64554 ac_ext=c
64555 ac_cpp='$CPP $CPPFLAGS'
64556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64565 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64567 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64568 for ac_func in isnanl
64569 do :
64570 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64571 if test "x$ac_cv_func_isnanl" = xyes; then :
64572 cat >>confdefs.h <<_ACEOF
64573 #define HAVE_ISNANL 1
64574 _ACEOF
64577 done
64579 else
64581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64582 $as_echo_n "checking for _isnanl declaration... " >&6; }
64583 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64584 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64585 $as_echo_n "(cached) " >&6
64586 else
64589 ac_ext=cpp
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64596 /* end confdefs.h. */
64597 #include <math.h>
64598 #ifdef HAVE_IEEEFP_H
64599 #include <ieeefp.h>
64600 #endif
64603 main ()
64605 _isnanl(0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func__isnanl_use=yes
64612 else
64613 glibcxx_cv_func__isnanl_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64627 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64629 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64630 for ac_func in _isnanl
64631 do :
64632 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64633 if test "x$ac_cv_func__isnanl" = xyes; then :
64634 cat >>confdefs.h <<_ACEOF
64635 #define HAVE__ISNANL 1
64636 _ACEOF
64639 done
64648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64649 $as_echo_n "checking for isinfl declaration... " >&6; }
64650 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64651 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64652 $as_echo_n "(cached) " >&6
64653 else
64656 ac_ext=cpp
64657 ac_cpp='$CXXCPP $CPPFLAGS'
64658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64663 /* end confdefs.h. */
64664 #include <math.h>
64665 #ifdef HAVE_IEEEFP_H
64666 #include <ieeefp.h>
64667 #endif
64670 main ()
64672 isinfl(0);
64674 return 0;
64676 _ACEOF
64677 if ac_fn_cxx_try_compile "$LINENO"; then :
64678 glibcxx_cv_func_isinfl_use=yes
64679 else
64680 glibcxx_cv_func_isinfl_use=no
64682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64683 ac_ext=c
64684 ac_cpp='$CPP $CPPFLAGS'
64685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64694 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64696 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64697 for ac_func in isinfl
64698 do :
64699 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64700 if test "x$ac_cv_func_isinfl" = xyes; then :
64701 cat >>confdefs.h <<_ACEOF
64702 #define HAVE_ISINFL 1
64703 _ACEOF
64706 done
64708 else
64710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64711 $as_echo_n "checking for _isinfl declaration... " >&6; }
64712 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64713 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64714 $as_echo_n "(cached) " >&6
64715 else
64718 ac_ext=cpp
64719 ac_cpp='$CXXCPP $CPPFLAGS'
64720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64725 /* end confdefs.h. */
64726 #include <math.h>
64727 #ifdef HAVE_IEEEFP_H
64728 #include <ieeefp.h>
64729 #endif
64732 main ()
64734 _isinfl(0);
64736 return 0;
64738 _ACEOF
64739 if ac_fn_cxx_try_compile "$LINENO"; then :
64740 glibcxx_cv_func__isinfl_use=yes
64741 else
64742 glibcxx_cv_func__isinfl_use=no
64744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64745 ac_ext=c
64746 ac_cpp='$CPP $CPPFLAGS'
64747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64756 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64758 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64759 for ac_func in _isinfl
64760 do :
64761 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64762 if test "x$ac_cv_func__isinfl" = xyes; then :
64763 cat >>confdefs.h <<_ACEOF
64764 #define HAVE__ISINFL 1
64765 _ACEOF
64768 done
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64778 $as_echo_n "checking for atan2l declaration... " >&6; }
64779 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64780 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64785 ac_ext=cpp
64786 ac_cpp='$CXXCPP $CPPFLAGS'
64787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64792 /* end confdefs.h. */
64793 #include <math.h>
64795 main ()
64797 atan2l(0, 0);
64799 return 0;
64801 _ACEOF
64802 if ac_fn_cxx_try_compile "$LINENO"; then :
64803 glibcxx_cv_func_atan2l_use=yes
64804 else
64805 glibcxx_cv_func_atan2l_use=no
64807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64808 ac_ext=c
64809 ac_cpp='$CPP $CPPFLAGS'
64810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64819 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64821 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64822 for ac_func in atan2l
64823 do :
64824 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64825 if test "x$ac_cv_func_atan2l" = xyes; then :
64826 cat >>confdefs.h <<_ACEOF
64827 #define HAVE_ATAN2L 1
64828 _ACEOF
64831 done
64833 else
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64836 $as_echo_n "checking for _atan2l declaration... " >&6; }
64837 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64838 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64839 $as_echo_n "(cached) " >&6
64840 else
64843 ac_ext=cpp
64844 ac_cpp='$CXXCPP $CPPFLAGS'
64845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64850 /* end confdefs.h. */
64851 #include <math.h>
64853 main ()
64855 _atan2l(0, 0);
64857 return 0;
64859 _ACEOF
64860 if ac_fn_cxx_try_compile "$LINENO"; then :
64861 glibcxx_cv_func__atan2l_use=yes
64862 else
64863 glibcxx_cv_func__atan2l_use=no
64865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64866 ac_ext=c
64867 ac_cpp='$CPP $CPPFLAGS'
64868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64877 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64879 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64880 for ac_func in _atan2l
64881 do :
64882 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64883 if test "x$ac_cv_func__atan2l" = xyes; then :
64884 cat >>confdefs.h <<_ACEOF
64885 #define HAVE__ATAN2L 1
64886 _ACEOF
64889 done
64898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64899 $as_echo_n "checking for expl declaration... " >&6; }
64900 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64901 if ${glibcxx_cv_func_expl_use+:} false; then :
64902 $as_echo_n "(cached) " >&6
64903 else
64906 ac_ext=cpp
64907 ac_cpp='$CXXCPP $CPPFLAGS'
64908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64913 /* end confdefs.h. */
64914 #include <math.h>
64915 #ifdef HAVE_IEEEFP_H
64916 #include <ieeefp.h>
64917 #endif
64920 main ()
64922 expl(0);
64924 return 0;
64926 _ACEOF
64927 if ac_fn_cxx_try_compile "$LINENO"; then :
64928 glibcxx_cv_func_expl_use=yes
64929 else
64930 glibcxx_cv_func_expl_use=no
64932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64933 ac_ext=c
64934 ac_cpp='$CPP $CPPFLAGS'
64935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64944 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64946 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64947 for ac_func in expl
64948 do :
64949 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64950 if test "x$ac_cv_func_expl" = xyes; then :
64951 cat >>confdefs.h <<_ACEOF
64952 #define HAVE_EXPL 1
64953 _ACEOF
64956 done
64958 else
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64961 $as_echo_n "checking for _expl declaration... " >&6; }
64962 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64963 if ${glibcxx_cv_func__expl_use+:} false; then :
64964 $as_echo_n "(cached) " >&6
64965 else
64968 ac_ext=cpp
64969 ac_cpp='$CXXCPP $CPPFLAGS'
64970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64975 /* end confdefs.h. */
64976 #include <math.h>
64977 #ifdef HAVE_IEEEFP_H
64978 #include <ieeefp.h>
64979 #endif
64982 main ()
64984 _expl(0);
64986 return 0;
64988 _ACEOF
64989 if ac_fn_cxx_try_compile "$LINENO"; then :
64990 glibcxx_cv_func__expl_use=yes
64991 else
64992 glibcxx_cv_func__expl_use=no
64994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64995 ac_ext=c
64996 ac_cpp='$CPP $CPPFLAGS'
64997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65006 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65008 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65009 for ac_func in _expl
65010 do :
65011 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65012 if test "x$ac_cv_func__expl" = xyes; then :
65013 cat >>confdefs.h <<_ACEOF
65014 #define HAVE__EXPL 1
65015 _ACEOF
65018 done
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65028 $as_echo_n "checking for fabsl declaration... " >&6; }
65029 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65030 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65031 $as_echo_n "(cached) " >&6
65032 else
65035 ac_ext=cpp
65036 ac_cpp='$CXXCPP $CPPFLAGS'
65037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65042 /* end confdefs.h. */
65043 #include <math.h>
65044 #ifdef HAVE_IEEEFP_H
65045 #include <ieeefp.h>
65046 #endif
65049 main ()
65051 fabsl(0);
65053 return 0;
65055 _ACEOF
65056 if ac_fn_cxx_try_compile "$LINENO"; then :
65057 glibcxx_cv_func_fabsl_use=yes
65058 else
65059 glibcxx_cv_func_fabsl_use=no
65061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65062 ac_ext=c
65063 ac_cpp='$CPP $CPPFLAGS'
65064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65073 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65075 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65076 for ac_func in fabsl
65077 do :
65078 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65079 if test "x$ac_cv_func_fabsl" = xyes; then :
65080 cat >>confdefs.h <<_ACEOF
65081 #define HAVE_FABSL 1
65082 _ACEOF
65085 done
65087 else
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65090 $as_echo_n "checking for _fabsl declaration... " >&6; }
65091 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65092 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65093 $as_echo_n "(cached) " >&6
65094 else
65097 ac_ext=cpp
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65104 /* end confdefs.h. */
65105 #include <math.h>
65106 #ifdef HAVE_IEEEFP_H
65107 #include <ieeefp.h>
65108 #endif
65111 main ()
65113 _fabsl(0);
65115 return 0;
65117 _ACEOF
65118 if ac_fn_cxx_try_compile "$LINENO"; then :
65119 glibcxx_cv_func__fabsl_use=yes
65120 else
65121 glibcxx_cv_func__fabsl_use=no
65123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65124 ac_ext=c
65125 ac_cpp='$CPP $CPPFLAGS'
65126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65135 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65137 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65138 for ac_func in _fabsl
65139 do :
65140 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65141 if test "x$ac_cv_func__fabsl" = xyes; then :
65142 cat >>confdefs.h <<_ACEOF
65143 #define HAVE__FABSL 1
65144 _ACEOF
65147 done
65156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65157 $as_echo_n "checking for fmodl declaration... " >&6; }
65158 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65159 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65160 $as_echo_n "(cached) " >&6
65161 else
65164 ac_ext=cpp
65165 ac_cpp='$CXXCPP $CPPFLAGS'
65166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65171 /* end confdefs.h. */
65172 #include <math.h>
65174 main ()
65176 fmodl(0, 0);
65178 return 0;
65180 _ACEOF
65181 if ac_fn_cxx_try_compile "$LINENO"; then :
65182 glibcxx_cv_func_fmodl_use=yes
65183 else
65184 glibcxx_cv_func_fmodl_use=no
65186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65187 ac_ext=c
65188 ac_cpp='$CPP $CPPFLAGS'
65189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65198 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65200 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65201 for ac_func in fmodl
65202 do :
65203 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65204 if test "x$ac_cv_func_fmodl" = xyes; then :
65205 cat >>confdefs.h <<_ACEOF
65206 #define HAVE_FMODL 1
65207 _ACEOF
65210 done
65212 else
65214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65215 $as_echo_n "checking for _fmodl declaration... " >&6; }
65216 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65217 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65218 $as_echo_n "(cached) " >&6
65219 else
65222 ac_ext=cpp
65223 ac_cpp='$CXXCPP $CPPFLAGS'
65224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65229 /* end confdefs.h. */
65230 #include <math.h>
65232 main ()
65234 _fmodl(0, 0);
65236 return 0;
65238 _ACEOF
65239 if ac_fn_cxx_try_compile "$LINENO"; then :
65240 glibcxx_cv_func__fmodl_use=yes
65241 else
65242 glibcxx_cv_func__fmodl_use=no
65244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65245 ac_ext=c
65246 ac_cpp='$CPP $CPPFLAGS'
65247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65256 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65258 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65259 for ac_func in _fmodl
65260 do :
65261 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65262 if test "x$ac_cv_func__fmodl" = xyes; then :
65263 cat >>confdefs.h <<_ACEOF
65264 #define HAVE__FMODL 1
65265 _ACEOF
65268 done
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65278 $as_echo_n "checking for frexpl declaration... " >&6; }
65279 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65280 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65281 $as_echo_n "(cached) " >&6
65282 else
65285 ac_ext=cpp
65286 ac_cpp='$CXXCPP $CPPFLAGS'
65287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65292 /* end confdefs.h. */
65293 #include <math.h>
65295 main ()
65297 frexpl(0, 0);
65299 return 0;
65301 _ACEOF
65302 if ac_fn_cxx_try_compile "$LINENO"; then :
65303 glibcxx_cv_func_frexpl_use=yes
65304 else
65305 glibcxx_cv_func_frexpl_use=no
65307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65308 ac_ext=c
65309 ac_cpp='$CPP $CPPFLAGS'
65310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65319 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65321 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65322 for ac_func in frexpl
65323 do :
65324 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65325 if test "x$ac_cv_func_frexpl" = xyes; then :
65326 cat >>confdefs.h <<_ACEOF
65327 #define HAVE_FREXPL 1
65328 _ACEOF
65331 done
65333 else
65335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65336 $as_echo_n "checking for _frexpl declaration... " >&6; }
65337 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65338 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65339 $as_echo_n "(cached) " >&6
65340 else
65343 ac_ext=cpp
65344 ac_cpp='$CXXCPP $CPPFLAGS'
65345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65350 /* end confdefs.h. */
65351 #include <math.h>
65353 main ()
65355 _frexpl(0, 0);
65357 return 0;
65359 _ACEOF
65360 if ac_fn_cxx_try_compile "$LINENO"; then :
65361 glibcxx_cv_func__frexpl_use=yes
65362 else
65363 glibcxx_cv_func__frexpl_use=no
65365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65366 ac_ext=c
65367 ac_cpp='$CPP $CPPFLAGS'
65368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65377 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65379 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65380 for ac_func in _frexpl
65381 do :
65382 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65383 if test "x$ac_cv_func__frexpl" = xyes; then :
65384 cat >>confdefs.h <<_ACEOF
65385 #define HAVE__FREXPL 1
65386 _ACEOF
65389 done
65398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65399 $as_echo_n "checking for hypotl declaration... " >&6; }
65400 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65401 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65402 $as_echo_n "(cached) " >&6
65403 else
65406 ac_ext=cpp
65407 ac_cpp='$CXXCPP $CPPFLAGS'
65408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65413 /* end confdefs.h. */
65414 #include <math.h>
65416 main ()
65418 hypotl(0, 0);
65420 return 0;
65422 _ACEOF
65423 if ac_fn_cxx_try_compile "$LINENO"; then :
65424 glibcxx_cv_func_hypotl_use=yes
65425 else
65426 glibcxx_cv_func_hypotl_use=no
65428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65429 ac_ext=c
65430 ac_cpp='$CPP $CPPFLAGS'
65431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65440 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65442 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65443 for ac_func in hypotl
65444 do :
65445 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65446 if test "x$ac_cv_func_hypotl" = xyes; then :
65447 cat >>confdefs.h <<_ACEOF
65448 #define HAVE_HYPOTL 1
65449 _ACEOF
65452 done
65454 else
65456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65457 $as_echo_n "checking for _hypotl declaration... " >&6; }
65458 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65459 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65460 $as_echo_n "(cached) " >&6
65461 else
65464 ac_ext=cpp
65465 ac_cpp='$CXXCPP $CPPFLAGS'
65466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65471 /* end confdefs.h. */
65472 #include <math.h>
65474 main ()
65476 _hypotl(0, 0);
65478 return 0;
65480 _ACEOF
65481 if ac_fn_cxx_try_compile "$LINENO"; then :
65482 glibcxx_cv_func__hypotl_use=yes
65483 else
65484 glibcxx_cv_func__hypotl_use=no
65486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65487 ac_ext=c
65488 ac_cpp='$CPP $CPPFLAGS'
65489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65498 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65500 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65501 for ac_func in _hypotl
65502 do :
65503 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65504 if test "x$ac_cv_func__hypotl" = xyes; then :
65505 cat >>confdefs.h <<_ACEOF
65506 #define HAVE__HYPOTL 1
65507 _ACEOF
65510 done
65519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65520 $as_echo_n "checking for ldexpl declaration... " >&6; }
65521 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65522 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65523 $as_echo_n "(cached) " >&6
65524 else
65527 ac_ext=cpp
65528 ac_cpp='$CXXCPP $CPPFLAGS'
65529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65534 /* end confdefs.h. */
65535 #include <math.h>
65537 main ()
65539 ldexpl(0, 0);
65541 return 0;
65543 _ACEOF
65544 if ac_fn_cxx_try_compile "$LINENO"; then :
65545 glibcxx_cv_func_ldexpl_use=yes
65546 else
65547 glibcxx_cv_func_ldexpl_use=no
65549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65550 ac_ext=c
65551 ac_cpp='$CPP $CPPFLAGS'
65552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65561 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65563 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65564 for ac_func in ldexpl
65565 do :
65566 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65567 if test "x$ac_cv_func_ldexpl" = xyes; then :
65568 cat >>confdefs.h <<_ACEOF
65569 #define HAVE_LDEXPL 1
65570 _ACEOF
65573 done
65575 else
65577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65578 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65579 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65580 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65581 $as_echo_n "(cached) " >&6
65582 else
65585 ac_ext=cpp
65586 ac_cpp='$CXXCPP $CPPFLAGS'
65587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65592 /* end confdefs.h. */
65593 #include <math.h>
65595 main ()
65597 _ldexpl(0, 0);
65599 return 0;
65601 _ACEOF
65602 if ac_fn_cxx_try_compile "$LINENO"; then :
65603 glibcxx_cv_func__ldexpl_use=yes
65604 else
65605 glibcxx_cv_func__ldexpl_use=no
65607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65608 ac_ext=c
65609 ac_cpp='$CPP $CPPFLAGS'
65610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65619 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65621 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65622 for ac_func in _ldexpl
65623 do :
65624 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65625 if test "x$ac_cv_func__ldexpl" = xyes; then :
65626 cat >>confdefs.h <<_ACEOF
65627 #define HAVE__LDEXPL 1
65628 _ACEOF
65631 done
65640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65641 $as_echo_n "checking for logl declaration... " >&6; }
65642 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65643 if ${glibcxx_cv_func_logl_use+:} false; then :
65644 $as_echo_n "(cached) " >&6
65645 else
65648 ac_ext=cpp
65649 ac_cpp='$CXXCPP $CPPFLAGS'
65650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65655 /* end confdefs.h. */
65656 #include <math.h>
65657 #ifdef HAVE_IEEEFP_H
65658 #include <ieeefp.h>
65659 #endif
65662 main ()
65664 logl(0);
65666 return 0;
65668 _ACEOF
65669 if ac_fn_cxx_try_compile "$LINENO"; then :
65670 glibcxx_cv_func_logl_use=yes
65671 else
65672 glibcxx_cv_func_logl_use=no
65674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65675 ac_ext=c
65676 ac_cpp='$CPP $CPPFLAGS'
65677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65686 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65688 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65689 for ac_func in logl
65690 do :
65691 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65692 if test "x$ac_cv_func_logl" = xyes; then :
65693 cat >>confdefs.h <<_ACEOF
65694 #define HAVE_LOGL 1
65695 _ACEOF
65698 done
65700 else
65702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65703 $as_echo_n "checking for _logl declaration... " >&6; }
65704 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65705 if ${glibcxx_cv_func__logl_use+:} false; then :
65706 $as_echo_n "(cached) " >&6
65707 else
65710 ac_ext=cpp
65711 ac_cpp='$CXXCPP $CPPFLAGS'
65712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65717 /* end confdefs.h. */
65718 #include <math.h>
65719 #ifdef HAVE_IEEEFP_H
65720 #include <ieeefp.h>
65721 #endif
65724 main ()
65726 _logl(0);
65728 return 0;
65730 _ACEOF
65731 if ac_fn_cxx_try_compile "$LINENO"; then :
65732 glibcxx_cv_func__logl_use=yes
65733 else
65734 glibcxx_cv_func__logl_use=no
65736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65737 ac_ext=c
65738 ac_cpp='$CPP $CPPFLAGS'
65739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65748 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65750 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65751 for ac_func in _logl
65752 do :
65753 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65754 if test "x$ac_cv_func__logl" = xyes; then :
65755 cat >>confdefs.h <<_ACEOF
65756 #define HAVE__LOGL 1
65757 _ACEOF
65760 done
65769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65770 $as_echo_n "checking for log10l declaration... " >&6; }
65771 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65772 if ${glibcxx_cv_func_log10l_use+:} false; then :
65773 $as_echo_n "(cached) " >&6
65774 else
65777 ac_ext=cpp
65778 ac_cpp='$CXXCPP $CPPFLAGS'
65779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65784 /* end confdefs.h. */
65785 #include <math.h>
65786 #ifdef HAVE_IEEEFP_H
65787 #include <ieeefp.h>
65788 #endif
65791 main ()
65793 log10l(0);
65795 return 0;
65797 _ACEOF
65798 if ac_fn_cxx_try_compile "$LINENO"; then :
65799 glibcxx_cv_func_log10l_use=yes
65800 else
65801 glibcxx_cv_func_log10l_use=no
65803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65804 ac_ext=c
65805 ac_cpp='$CPP $CPPFLAGS'
65806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65815 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65817 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65818 for ac_func in log10l
65819 do :
65820 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65821 if test "x$ac_cv_func_log10l" = xyes; then :
65822 cat >>confdefs.h <<_ACEOF
65823 #define HAVE_LOG10L 1
65824 _ACEOF
65827 done
65829 else
65831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65832 $as_echo_n "checking for _log10l declaration... " >&6; }
65833 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65834 if ${glibcxx_cv_func__log10l_use+:} false; then :
65835 $as_echo_n "(cached) " >&6
65836 else
65839 ac_ext=cpp
65840 ac_cpp='$CXXCPP $CPPFLAGS'
65841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65846 /* end confdefs.h. */
65847 #include <math.h>
65848 #ifdef HAVE_IEEEFP_H
65849 #include <ieeefp.h>
65850 #endif
65853 main ()
65855 _log10l(0);
65857 return 0;
65859 _ACEOF
65860 if ac_fn_cxx_try_compile "$LINENO"; then :
65861 glibcxx_cv_func__log10l_use=yes
65862 else
65863 glibcxx_cv_func__log10l_use=no
65865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65866 ac_ext=c
65867 ac_cpp='$CPP $CPPFLAGS'
65868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65877 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65879 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65880 for ac_func in _log10l
65881 do :
65882 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65883 if test "x$ac_cv_func__log10l" = xyes; then :
65884 cat >>confdefs.h <<_ACEOF
65885 #define HAVE__LOG10L 1
65886 _ACEOF
65889 done
65898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65899 $as_echo_n "checking for modfl declaration... " >&6; }
65900 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65901 if ${glibcxx_cv_func_modfl_use+:} false; then :
65902 $as_echo_n "(cached) " >&6
65903 else
65906 ac_ext=cpp
65907 ac_cpp='$CXXCPP $CPPFLAGS'
65908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65913 /* end confdefs.h. */
65914 #include <math.h>
65916 main ()
65918 modfl(0, 0);
65920 return 0;
65922 _ACEOF
65923 if ac_fn_cxx_try_compile "$LINENO"; then :
65924 glibcxx_cv_func_modfl_use=yes
65925 else
65926 glibcxx_cv_func_modfl_use=no
65928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65929 ac_ext=c
65930 ac_cpp='$CPP $CPPFLAGS'
65931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65940 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65942 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65943 for ac_func in modfl
65944 do :
65945 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65946 if test "x$ac_cv_func_modfl" = xyes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define HAVE_MODFL 1
65949 _ACEOF
65952 done
65954 else
65956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65957 $as_echo_n "checking for _modfl declaration... " >&6; }
65958 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65959 if ${glibcxx_cv_func__modfl_use+:} false; then :
65960 $as_echo_n "(cached) " >&6
65961 else
65964 ac_ext=cpp
65965 ac_cpp='$CXXCPP $CPPFLAGS'
65966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65971 /* end confdefs.h. */
65972 #include <math.h>
65974 main ()
65976 _modfl(0, 0);
65978 return 0;
65980 _ACEOF
65981 if ac_fn_cxx_try_compile "$LINENO"; then :
65982 glibcxx_cv_func__modfl_use=yes
65983 else
65984 glibcxx_cv_func__modfl_use=no
65986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65987 ac_ext=c
65988 ac_cpp='$CPP $CPPFLAGS'
65989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65998 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66000 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66001 for ac_func in _modfl
66002 do :
66003 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66004 if test "x$ac_cv_func__modfl" = xyes; then :
66005 cat >>confdefs.h <<_ACEOF
66006 #define HAVE__MODFL 1
66007 _ACEOF
66010 done
66019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66020 $as_echo_n "checking for powl declaration... " >&6; }
66021 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66022 if ${glibcxx_cv_func_powl_use+:} false; then :
66023 $as_echo_n "(cached) " >&6
66024 else
66027 ac_ext=cpp
66028 ac_cpp='$CXXCPP $CPPFLAGS'
66029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66034 /* end confdefs.h. */
66035 #include <math.h>
66037 main ()
66039 powl(0, 0);
66041 return 0;
66043 _ACEOF
66044 if ac_fn_cxx_try_compile "$LINENO"; then :
66045 glibcxx_cv_func_powl_use=yes
66046 else
66047 glibcxx_cv_func_powl_use=no
66049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66050 ac_ext=c
66051 ac_cpp='$CPP $CPPFLAGS'
66052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66061 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66063 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66064 for ac_func in powl
66065 do :
66066 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66067 if test "x$ac_cv_func_powl" = xyes; then :
66068 cat >>confdefs.h <<_ACEOF
66069 #define HAVE_POWL 1
66070 _ACEOF
66073 done
66075 else
66077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66078 $as_echo_n "checking for _powl declaration... " >&6; }
66079 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66080 if ${glibcxx_cv_func__powl_use+:} false; then :
66081 $as_echo_n "(cached) " >&6
66082 else
66085 ac_ext=cpp
66086 ac_cpp='$CXXCPP $CPPFLAGS'
66087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66092 /* end confdefs.h. */
66093 #include <math.h>
66095 main ()
66097 _powl(0, 0);
66099 return 0;
66101 _ACEOF
66102 if ac_fn_cxx_try_compile "$LINENO"; then :
66103 glibcxx_cv_func__powl_use=yes
66104 else
66105 glibcxx_cv_func__powl_use=no
66107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66108 ac_ext=c
66109 ac_cpp='$CPP $CPPFLAGS'
66110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66119 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66121 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66122 for ac_func in _powl
66123 do :
66124 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66125 if test "x$ac_cv_func__powl" = xyes; then :
66126 cat >>confdefs.h <<_ACEOF
66127 #define HAVE__POWL 1
66128 _ACEOF
66131 done
66140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66141 $as_echo_n "checking for sqrtl declaration... " >&6; }
66142 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66143 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66144 $as_echo_n "(cached) " >&6
66145 else
66148 ac_ext=cpp
66149 ac_cpp='$CXXCPP $CPPFLAGS'
66150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66155 /* end confdefs.h. */
66156 #include <math.h>
66157 #ifdef HAVE_IEEEFP_H
66158 #include <ieeefp.h>
66159 #endif
66162 main ()
66164 sqrtl(0);
66166 return 0;
66168 _ACEOF
66169 if ac_fn_cxx_try_compile "$LINENO"; then :
66170 glibcxx_cv_func_sqrtl_use=yes
66171 else
66172 glibcxx_cv_func_sqrtl_use=no
66174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66175 ac_ext=c
66176 ac_cpp='$CPP $CPPFLAGS'
66177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66186 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66188 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66189 for ac_func in sqrtl
66190 do :
66191 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66192 if test "x$ac_cv_func_sqrtl" = xyes; then :
66193 cat >>confdefs.h <<_ACEOF
66194 #define HAVE_SQRTL 1
66195 _ACEOF
66198 done
66200 else
66202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66203 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66204 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66205 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66206 $as_echo_n "(cached) " >&6
66207 else
66210 ac_ext=cpp
66211 ac_cpp='$CXXCPP $CPPFLAGS'
66212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66217 /* end confdefs.h. */
66218 #include <math.h>
66219 #ifdef HAVE_IEEEFP_H
66220 #include <ieeefp.h>
66221 #endif
66224 main ()
66226 _sqrtl(0);
66228 return 0;
66230 _ACEOF
66231 if ac_fn_cxx_try_compile "$LINENO"; then :
66232 glibcxx_cv_func__sqrtl_use=yes
66233 else
66234 glibcxx_cv_func__sqrtl_use=no
66236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66237 ac_ext=c
66238 ac_cpp='$CPP $CPPFLAGS'
66239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66248 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66250 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66251 for ac_func in _sqrtl
66252 do :
66253 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66254 if test "x$ac_cv_func__sqrtl" = xyes; then :
66255 cat >>confdefs.h <<_ACEOF
66256 #define HAVE__SQRTL 1
66257 _ACEOF
66260 done
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66270 $as_echo_n "checking for sincosl declaration... " >&6; }
66271 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66272 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66273 $as_echo_n "(cached) " >&6
66274 else
66277 ac_ext=cpp
66278 ac_cpp='$CXXCPP $CPPFLAGS'
66279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66284 /* end confdefs.h. */
66285 #include <math.h>
66287 main ()
66289 sincosl(0, 0, 0);
66291 return 0;
66293 _ACEOF
66294 if ac_fn_cxx_try_compile "$LINENO"; then :
66295 glibcxx_cv_func_sincosl_use=yes
66296 else
66297 glibcxx_cv_func_sincosl_use=no
66299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66300 ac_ext=c
66301 ac_cpp='$CPP $CPPFLAGS'
66302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66311 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66313 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66314 for ac_func in sincosl
66315 do :
66316 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66317 if test "x$ac_cv_func_sincosl" = xyes; then :
66318 cat >>confdefs.h <<_ACEOF
66319 #define HAVE_SINCOSL 1
66320 _ACEOF
66323 done
66325 else
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66328 $as_echo_n "checking for _sincosl declaration... " >&6; }
66329 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66330 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66331 $as_echo_n "(cached) " >&6
66332 else
66335 ac_ext=cpp
66336 ac_cpp='$CXXCPP $CPPFLAGS'
66337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66342 /* end confdefs.h. */
66343 #include <math.h>
66345 main ()
66347 _sincosl(0, 0, 0);
66349 return 0;
66351 _ACEOF
66352 if ac_fn_cxx_try_compile "$LINENO"; then :
66353 glibcxx_cv_func__sincosl_use=yes
66354 else
66355 glibcxx_cv_func__sincosl_use=no
66357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66358 ac_ext=c
66359 ac_cpp='$CPP $CPPFLAGS'
66360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66369 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66371 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66372 for ac_func in _sincosl
66373 do :
66374 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66375 if test "x$ac_cv_func__sincosl" = xyes; then :
66376 cat >>confdefs.h <<_ACEOF
66377 #define HAVE__SINCOSL 1
66378 _ACEOF
66381 done
66390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66391 $as_echo_n "checking for finitel declaration... " >&6; }
66392 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66393 if ${glibcxx_cv_func_finitel_use+:} false; then :
66394 $as_echo_n "(cached) " >&6
66395 else
66398 ac_ext=cpp
66399 ac_cpp='$CXXCPP $CPPFLAGS'
66400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66405 /* end confdefs.h. */
66406 #include <math.h>
66407 #ifdef HAVE_IEEEFP_H
66408 #include <ieeefp.h>
66409 #endif
66412 main ()
66414 finitel(0);
66416 return 0;
66418 _ACEOF
66419 if ac_fn_cxx_try_compile "$LINENO"; then :
66420 glibcxx_cv_func_finitel_use=yes
66421 else
66422 glibcxx_cv_func_finitel_use=no
66424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66425 ac_ext=c
66426 ac_cpp='$CPP $CPPFLAGS'
66427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66436 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66438 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66439 for ac_func in finitel
66440 do :
66441 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66442 if test "x$ac_cv_func_finitel" = xyes; then :
66443 cat >>confdefs.h <<_ACEOF
66444 #define HAVE_FINITEL 1
66445 _ACEOF
66448 done
66450 else
66452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66453 $as_echo_n "checking for _finitel declaration... " >&6; }
66454 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66455 if ${glibcxx_cv_func__finitel_use+:} false; then :
66456 $as_echo_n "(cached) " >&6
66457 else
66460 ac_ext=cpp
66461 ac_cpp='$CXXCPP $CPPFLAGS'
66462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66467 /* end confdefs.h. */
66468 #include <math.h>
66469 #ifdef HAVE_IEEEFP_H
66470 #include <ieeefp.h>
66471 #endif
66474 main ()
66476 _finitel(0);
66478 return 0;
66480 _ACEOF
66481 if ac_fn_cxx_try_compile "$LINENO"; then :
66482 glibcxx_cv_func__finitel_use=yes
66483 else
66484 glibcxx_cv_func__finitel_use=no
66486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66487 ac_ext=c
66488 ac_cpp='$CPP $CPPFLAGS'
66489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66498 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66500 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66501 for ac_func in _finitel
66502 do :
66503 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66504 if test "x$ac_cv_func__finitel" = xyes; then :
66505 cat >>confdefs.h <<_ACEOF
66506 #define HAVE__FINITEL 1
66507 _ACEOF
66510 done
66518 LIBS="$ac_save_LIBS"
66519 CXXFLAGS="$ac_save_CXXFLAGS"
66522 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66523 ac_save_CXXFLAGS="$CXXFLAGS"
66524 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66528 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66529 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66530 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66531 $as_echo_n "(cached) " >&6
66532 else
66535 ac_ext=cpp
66536 ac_cpp='$CXXCPP $CPPFLAGS'
66537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66542 /* end confdefs.h. */
66543 #include <stdlib.h>
66545 main ()
66547 at_quick_exit(0);
66549 return 0;
66551 _ACEOF
66552 if ac_fn_cxx_try_compile "$LINENO"; then :
66553 glibcxx_cv_func_at_quick_exit_use=yes
66554 else
66555 glibcxx_cv_func_at_quick_exit_use=no
66557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66558 ac_ext=c
66559 ac_cpp='$CPP $CPPFLAGS'
66560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66569 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66570 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66571 for ac_func in at_quick_exit
66572 do :
66573 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66574 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66575 cat >>confdefs.h <<_ACEOF
66576 #define HAVE_AT_QUICK_EXIT 1
66577 _ACEOF
66580 done
66585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66586 $as_echo_n "checking for quick_exit declaration... " >&6; }
66587 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66588 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66589 $as_echo_n "(cached) " >&6
66590 else
66593 ac_ext=cpp
66594 ac_cpp='$CXXCPP $CPPFLAGS'
66595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66600 /* end confdefs.h. */
66601 #include <stdlib.h>
66603 main ()
66605 quick_exit(0);
66607 return 0;
66609 _ACEOF
66610 if ac_fn_cxx_try_compile "$LINENO"; then :
66611 glibcxx_cv_func_quick_exit_use=yes
66612 else
66613 glibcxx_cv_func_quick_exit_use=no
66615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66616 ac_ext=c
66617 ac_cpp='$CPP $CPPFLAGS'
66618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66627 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66628 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66629 for ac_func in quick_exit
66630 do :
66631 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66632 if test "x$ac_cv_func_quick_exit" = xyes; then :
66633 cat >>confdefs.h <<_ACEOF
66634 #define HAVE_QUICK_EXIT 1
66635 _ACEOF
66638 done
66643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66644 $as_echo_n "checking for strtold declaration... " >&6; }
66645 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66646 if ${glibcxx_cv_func_strtold_use+:} false; then :
66647 $as_echo_n "(cached) " >&6
66648 else
66651 ac_ext=cpp
66652 ac_cpp='$CXXCPP $CPPFLAGS'
66653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66658 /* end confdefs.h. */
66659 #include <stdlib.h>
66661 main ()
66663 strtold(0, 0);
66665 return 0;
66667 _ACEOF
66668 if ac_fn_cxx_try_compile "$LINENO"; then :
66669 glibcxx_cv_func_strtold_use=yes
66670 else
66671 glibcxx_cv_func_strtold_use=no
66673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66674 ac_ext=c
66675 ac_cpp='$CPP $CPPFLAGS'
66676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66685 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66686 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66687 for ac_func in strtold
66688 do :
66689 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66690 if test "x$ac_cv_func_strtold" = xyes; then :
66691 cat >>confdefs.h <<_ACEOF
66692 #define HAVE_STRTOLD 1
66693 _ACEOF
66696 done
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66704 $as_echo_n "checking for strtof declaration... " >&6; }
66705 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66706 if ${glibcxx_cv_func_strtof_use+:} false; then :
66707 $as_echo_n "(cached) " >&6
66708 else
66711 ac_ext=cpp
66712 ac_cpp='$CXXCPP $CPPFLAGS'
66713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66718 /* end confdefs.h. */
66719 #include <stdlib.h>
66721 main ()
66723 strtof(0, 0);
66725 return 0;
66727 _ACEOF
66728 if ac_fn_cxx_try_compile "$LINENO"; then :
66729 glibcxx_cv_func_strtof_use=yes
66730 else
66731 glibcxx_cv_func_strtof_use=no
66733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66734 ac_ext=c
66735 ac_cpp='$CPP $CPPFLAGS'
66736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66745 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66746 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66747 for ac_func in strtof
66748 do :
66749 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66750 if test "x$ac_cv_func_strtof" = xyes; then :
66751 cat >>confdefs.h <<_ACEOF
66752 #define HAVE_STRTOF 1
66753 _ACEOF
66756 done
66763 CXXFLAGS="$ac_save_CXXFLAGS"
66766 *-vxworks*)
66767 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
66769 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
66771 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
66773 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
66775 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
66777 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66779 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66781 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
66783 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
66785 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
66787 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
66789 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
66791 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66793 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66795 $as_echo "#define HAVE_POWF 1" >>confdefs.h
66797 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66799 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66801 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
66803 $as_echo "#define HAVE_TANF 1" >>confdefs.h
66805 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
66812 $as_echo_n "checking for acosl declaration... " >&6; }
66813 if ${glibcxx_cv_func_acosl_use+:} false; then :
66814 $as_echo_n "(cached) " >&6
66815 else
66818 ac_ext=c
66819 ac_cpp='$CPP $CPPFLAGS'
66820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66825 /* end confdefs.h. */
66827 #include <math.h>
66828 #ifdef HAVE_IEEEFP_H
66829 # include <ieeefp.h>
66830 #endif
66831 #undef acosl
66834 main ()
66837 void (*f)(void) = (void (*)(void))acosl;
66840 return 0;
66842 _ACEOF
66843 if ac_fn_c_try_compile "$LINENO"; then :
66844 glibcxx_cv_func_acosl_use=yes
66846 else
66847 glibcxx_cv_func_acosl_use=no
66849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
66852 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
66853 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
66854 cat >>confdefs.h <<_ACEOF
66855 #define HAVE_ACOSL 1
66856 _ACEOF
66862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
66863 $as_echo_n "checking for asinl declaration... " >&6; }
66864 if ${glibcxx_cv_func_asinl_use+:} false; then :
66865 $as_echo_n "(cached) " >&6
66866 else
66869 ac_ext=c
66870 ac_cpp='$CPP $CPPFLAGS'
66871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66876 /* end confdefs.h. */
66878 #include <math.h>
66879 #ifdef HAVE_IEEEFP_H
66880 # include <ieeefp.h>
66881 #endif
66882 #undef asinl
66885 main ()
66888 void (*f)(void) = (void (*)(void))asinl;
66891 return 0;
66893 _ACEOF
66894 if ac_fn_c_try_compile "$LINENO"; then :
66895 glibcxx_cv_func_asinl_use=yes
66897 else
66898 glibcxx_cv_func_asinl_use=no
66900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
66903 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
66904 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE_ASINL 1
66907 _ACEOF
66913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66914 $as_echo_n "checking for atan2l declaration... " >&6; }
66915 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66916 $as_echo_n "(cached) " >&6
66917 else
66920 ac_ext=c
66921 ac_cpp='$CPP $CPPFLAGS'
66922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66927 /* end confdefs.h. */
66929 #include <math.h>
66930 #ifdef HAVE_IEEEFP_H
66931 # include <ieeefp.h>
66932 #endif
66933 #undef atan2l
66936 main ()
66939 void (*f)(void) = (void (*)(void))atan2l;
66942 return 0;
66944 _ACEOF
66945 if ac_fn_c_try_compile "$LINENO"; then :
66946 glibcxx_cv_func_atan2l_use=yes
66948 else
66949 glibcxx_cv_func_atan2l_use=no
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66955 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE_ATAN2L 1
66958 _ACEOF
66964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
66965 $as_echo_n "checking for atanl declaration... " >&6; }
66966 if ${glibcxx_cv_func_atanl_use+:} false; then :
66967 $as_echo_n "(cached) " >&6
66968 else
66971 ac_ext=c
66972 ac_cpp='$CPP $CPPFLAGS'
66973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66978 /* end confdefs.h. */
66980 #include <math.h>
66981 #ifdef HAVE_IEEEFP_H
66982 # include <ieeefp.h>
66983 #endif
66984 #undef atanl
66987 main ()
66990 void (*f)(void) = (void (*)(void))atanl;
66993 return 0;
66995 _ACEOF
66996 if ac_fn_c_try_compile "$LINENO"; then :
66997 glibcxx_cv_func_atanl_use=yes
66999 else
67000 glibcxx_cv_func_atanl_use=no
67002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67005 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67006 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67007 cat >>confdefs.h <<_ACEOF
67008 #define HAVE_ATANL 1
67009 _ACEOF
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67016 $as_echo_n "checking for ceill declaration... " >&6; }
67017 if ${glibcxx_cv_func_ceill_use+:} false; then :
67018 $as_echo_n "(cached) " >&6
67019 else
67022 ac_ext=c
67023 ac_cpp='$CPP $CPPFLAGS'
67024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67029 /* end confdefs.h. */
67031 #include <math.h>
67032 #ifdef HAVE_IEEEFP_H
67033 # include <ieeefp.h>
67034 #endif
67035 #undef ceill
67038 main ()
67041 void (*f)(void) = (void (*)(void))ceill;
67044 return 0;
67046 _ACEOF
67047 if ac_fn_c_try_compile "$LINENO"; then :
67048 glibcxx_cv_func_ceill_use=yes
67050 else
67051 glibcxx_cv_func_ceill_use=no
67053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67056 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67057 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67058 cat >>confdefs.h <<_ACEOF
67059 #define HAVE_CEILL 1
67060 _ACEOF
67066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67067 $as_echo_n "checking for cosl declaration... " >&6; }
67068 if ${glibcxx_cv_func_cosl_use+:} false; then :
67069 $as_echo_n "(cached) " >&6
67070 else
67073 ac_ext=c
67074 ac_cpp='$CPP $CPPFLAGS'
67075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67080 /* end confdefs.h. */
67082 #include <math.h>
67083 #ifdef HAVE_IEEEFP_H
67084 # include <ieeefp.h>
67085 #endif
67086 #undef cosl
67089 main ()
67092 void (*f)(void) = (void (*)(void))cosl;
67095 return 0;
67097 _ACEOF
67098 if ac_fn_c_try_compile "$LINENO"; then :
67099 glibcxx_cv_func_cosl_use=yes
67101 else
67102 glibcxx_cv_func_cosl_use=no
67104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67107 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67108 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67109 cat >>confdefs.h <<_ACEOF
67110 #define HAVE_COSL 1
67111 _ACEOF
67117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67118 $as_echo_n "checking for coshl declaration... " >&6; }
67119 if ${glibcxx_cv_func_coshl_use+:} false; then :
67120 $as_echo_n "(cached) " >&6
67121 else
67124 ac_ext=c
67125 ac_cpp='$CPP $CPPFLAGS'
67126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67131 /* end confdefs.h. */
67133 #include <math.h>
67134 #ifdef HAVE_IEEEFP_H
67135 # include <ieeefp.h>
67136 #endif
67137 #undef coshl
67140 main ()
67143 void (*f)(void) = (void (*)(void))coshl;
67146 return 0;
67148 _ACEOF
67149 if ac_fn_c_try_compile "$LINENO"; then :
67150 glibcxx_cv_func_coshl_use=yes
67152 else
67153 glibcxx_cv_func_coshl_use=no
67155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67158 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67159 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67160 cat >>confdefs.h <<_ACEOF
67161 #define HAVE_COSHL 1
67162 _ACEOF
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67169 $as_echo_n "checking for expl declaration... " >&6; }
67170 if ${glibcxx_cv_func_expl_use+:} false; then :
67171 $as_echo_n "(cached) " >&6
67172 else
67175 ac_ext=c
67176 ac_cpp='$CPP $CPPFLAGS'
67177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67182 /* end confdefs.h. */
67184 #include <math.h>
67185 #ifdef HAVE_IEEEFP_H
67186 # include <ieeefp.h>
67187 #endif
67188 #undef expl
67191 main ()
67194 void (*f)(void) = (void (*)(void))expl;
67197 return 0;
67199 _ACEOF
67200 if ac_fn_c_try_compile "$LINENO"; then :
67201 glibcxx_cv_func_expl_use=yes
67203 else
67204 glibcxx_cv_func_expl_use=no
67206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67209 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67210 if test "x$glibcxx_cv_func_expl_use" = xyes; then
67211 cat >>confdefs.h <<_ACEOF
67212 #define HAVE_EXPL 1
67213 _ACEOF
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67220 $as_echo_n "checking for fabsl declaration... " >&6; }
67221 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67222 $as_echo_n "(cached) " >&6
67223 else
67226 ac_ext=c
67227 ac_cpp='$CPP $CPPFLAGS'
67228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67233 /* end confdefs.h. */
67235 #include <math.h>
67236 #ifdef HAVE_IEEEFP_H
67237 # include <ieeefp.h>
67238 #endif
67239 #undef fabsl
67242 main ()
67245 void (*f)(void) = (void (*)(void))fabsl;
67248 return 0;
67250 _ACEOF
67251 if ac_fn_c_try_compile "$LINENO"; then :
67252 glibcxx_cv_func_fabsl_use=yes
67254 else
67255 glibcxx_cv_func_fabsl_use=no
67257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67260 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67261 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67262 cat >>confdefs.h <<_ACEOF
67263 #define HAVE_FABSL 1
67264 _ACEOF
67270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67271 $as_echo_n "checking for floorl declaration... " >&6; }
67272 if ${glibcxx_cv_func_floorl_use+:} false; then :
67273 $as_echo_n "(cached) " >&6
67274 else
67277 ac_ext=c
67278 ac_cpp='$CPP $CPPFLAGS'
67279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67284 /* end confdefs.h. */
67286 #include <math.h>
67287 #ifdef HAVE_IEEEFP_H
67288 # include <ieeefp.h>
67289 #endif
67290 #undef floorl
67293 main ()
67296 void (*f)(void) = (void (*)(void))floorl;
67299 return 0;
67301 _ACEOF
67302 if ac_fn_c_try_compile "$LINENO"; then :
67303 glibcxx_cv_func_floorl_use=yes
67305 else
67306 glibcxx_cv_func_floorl_use=no
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67311 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67312 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67313 cat >>confdefs.h <<_ACEOF
67314 #define HAVE_FLOORL 1
67315 _ACEOF
67321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67322 $as_echo_n "checking for fmodl declaration... " >&6; }
67323 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67324 $as_echo_n "(cached) " >&6
67325 else
67328 ac_ext=c
67329 ac_cpp='$CPP $CPPFLAGS'
67330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67335 /* end confdefs.h. */
67337 #include <math.h>
67338 #ifdef HAVE_IEEEFP_H
67339 # include <ieeefp.h>
67340 #endif
67341 #undef fmodl
67344 main ()
67347 void (*f)(void) = (void (*)(void))fmodl;
67350 return 0;
67352 _ACEOF
67353 if ac_fn_c_try_compile "$LINENO"; then :
67354 glibcxx_cv_func_fmodl_use=yes
67356 else
67357 glibcxx_cv_func_fmodl_use=no
67359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67362 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67363 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67364 cat >>confdefs.h <<_ACEOF
67365 #define HAVE_FMODL 1
67366 _ACEOF
67372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67373 $as_echo_n "checking for frexpl declaration... " >&6; }
67374 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67375 $as_echo_n "(cached) " >&6
67376 else
67379 ac_ext=c
67380 ac_cpp='$CPP $CPPFLAGS'
67381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67386 /* end confdefs.h. */
67388 #include <math.h>
67389 #ifdef HAVE_IEEEFP_H
67390 # include <ieeefp.h>
67391 #endif
67392 #undef frexpl
67395 main ()
67398 void (*f)(void) = (void (*)(void))frexpl;
67401 return 0;
67403 _ACEOF
67404 if ac_fn_c_try_compile "$LINENO"; then :
67405 glibcxx_cv_func_frexpl_use=yes
67407 else
67408 glibcxx_cv_func_frexpl_use=no
67410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67413 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67414 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67415 cat >>confdefs.h <<_ACEOF
67416 #define HAVE_FREXPL 1
67417 _ACEOF
67423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67424 $as_echo_n "checking for ldexpl declaration... " >&6; }
67425 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67426 $as_echo_n "(cached) " >&6
67427 else
67430 ac_ext=c
67431 ac_cpp='$CPP $CPPFLAGS'
67432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67437 /* end confdefs.h. */
67439 #include <math.h>
67440 #ifdef HAVE_IEEEFP_H
67441 # include <ieeefp.h>
67442 #endif
67443 #undef ldexpl
67446 main ()
67449 void (*f)(void) = (void (*)(void))ldexpl;
67452 return 0;
67454 _ACEOF
67455 if ac_fn_c_try_compile "$LINENO"; then :
67456 glibcxx_cv_func_ldexpl_use=yes
67458 else
67459 glibcxx_cv_func_ldexpl_use=no
67461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67464 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67465 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
67466 cat >>confdefs.h <<_ACEOF
67467 #define HAVE_LDEXPL 1
67468 _ACEOF
67474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67475 $as_echo_n "checking for log10l declaration... " >&6; }
67476 if ${glibcxx_cv_func_log10l_use+:} false; then :
67477 $as_echo_n "(cached) " >&6
67478 else
67481 ac_ext=c
67482 ac_cpp='$CPP $CPPFLAGS'
67483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67488 /* end confdefs.h. */
67490 #include <math.h>
67491 #ifdef HAVE_IEEEFP_H
67492 # include <ieeefp.h>
67493 #endif
67494 #undef log10l
67497 main ()
67500 void (*f)(void) = (void (*)(void))log10l;
67503 return 0;
67505 _ACEOF
67506 if ac_fn_c_try_compile "$LINENO"; then :
67507 glibcxx_cv_func_log10l_use=yes
67509 else
67510 glibcxx_cv_func_log10l_use=no
67512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67515 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67516 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
67517 cat >>confdefs.h <<_ACEOF
67518 #define HAVE_LOG10L 1
67519 _ACEOF
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67526 $as_echo_n "checking for logl declaration... " >&6; }
67527 if ${glibcxx_cv_func_logl_use+:} false; then :
67528 $as_echo_n "(cached) " >&6
67529 else
67532 ac_ext=c
67533 ac_cpp='$CPP $CPPFLAGS'
67534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67539 /* end confdefs.h. */
67541 #include <math.h>
67542 #ifdef HAVE_IEEEFP_H
67543 # include <ieeefp.h>
67544 #endif
67545 #undef logl
67548 main ()
67551 void (*f)(void) = (void (*)(void))logl;
67554 return 0;
67556 _ACEOF
67557 if ac_fn_c_try_compile "$LINENO"; then :
67558 glibcxx_cv_func_logl_use=yes
67560 else
67561 glibcxx_cv_func_logl_use=no
67563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67566 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67567 if test "x$glibcxx_cv_func_logl_use" = xyes; then
67568 cat >>confdefs.h <<_ACEOF
67569 #define HAVE_LOGL 1
67570 _ACEOF
67576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67577 $as_echo_n "checking for modfl declaration... " >&6; }
67578 if ${glibcxx_cv_func_modfl_use+:} false; then :
67579 $as_echo_n "(cached) " >&6
67580 else
67583 ac_ext=c
67584 ac_cpp='$CPP $CPPFLAGS'
67585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67590 /* end confdefs.h. */
67592 #include <math.h>
67593 #ifdef HAVE_IEEEFP_H
67594 # include <ieeefp.h>
67595 #endif
67596 #undef modfl
67599 main ()
67602 void (*f)(void) = (void (*)(void))modfl;
67605 return 0;
67607 _ACEOF
67608 if ac_fn_c_try_compile "$LINENO"; then :
67609 glibcxx_cv_func_modfl_use=yes
67611 else
67612 glibcxx_cv_func_modfl_use=no
67614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67617 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67618 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
67619 cat >>confdefs.h <<_ACEOF
67620 #define HAVE_MODFL 1
67621 _ACEOF
67627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67628 $as_echo_n "checking for powl declaration... " >&6; }
67629 if ${glibcxx_cv_func_powl_use+:} false; then :
67630 $as_echo_n "(cached) " >&6
67631 else
67634 ac_ext=c
67635 ac_cpp='$CPP $CPPFLAGS'
67636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67641 /* end confdefs.h. */
67643 #include <math.h>
67644 #ifdef HAVE_IEEEFP_H
67645 # include <ieeefp.h>
67646 #endif
67647 #undef powl
67650 main ()
67653 void (*f)(void) = (void (*)(void))powl;
67656 return 0;
67658 _ACEOF
67659 if ac_fn_c_try_compile "$LINENO"; then :
67660 glibcxx_cv_func_powl_use=yes
67662 else
67663 glibcxx_cv_func_powl_use=no
67665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67668 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67669 if test "x$glibcxx_cv_func_powl_use" = xyes; then
67670 cat >>confdefs.h <<_ACEOF
67671 #define HAVE_POWL 1
67672 _ACEOF
67678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
67679 $as_echo_n "checking for sinl declaration... " >&6; }
67680 if ${glibcxx_cv_func_sinl_use+:} false; then :
67681 $as_echo_n "(cached) " >&6
67682 else
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67692 /* end confdefs.h. */
67694 #include <math.h>
67695 #ifdef HAVE_IEEEFP_H
67696 # include <ieeefp.h>
67697 #endif
67698 #undef sinl
67701 main ()
67704 void (*f)(void) = (void (*)(void))sinl;
67707 return 0;
67709 _ACEOF
67710 if ac_fn_c_try_compile "$LINENO"; then :
67711 glibcxx_cv_func_sinl_use=yes
67713 else
67714 glibcxx_cv_func_sinl_use=no
67716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
67719 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
67720 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
67721 cat >>confdefs.h <<_ACEOF
67722 #define HAVE_SINL 1
67723 _ACEOF
67729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
67730 $as_echo_n "checking for sinhl declaration... " >&6; }
67731 if ${glibcxx_cv_func_sinhl_use+:} false; then :
67732 $as_echo_n "(cached) " >&6
67733 else
67736 ac_ext=c
67737 ac_cpp='$CPP $CPPFLAGS'
67738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67743 /* end confdefs.h. */
67745 #include <math.h>
67746 #ifdef HAVE_IEEEFP_H
67747 # include <ieeefp.h>
67748 #endif
67749 #undef sinhl
67752 main ()
67755 void (*f)(void) = (void (*)(void))sinhl;
67758 return 0;
67760 _ACEOF
67761 if ac_fn_c_try_compile "$LINENO"; then :
67762 glibcxx_cv_func_sinhl_use=yes
67764 else
67765 glibcxx_cv_func_sinhl_use=no
67767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
67770 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
67771 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
67772 cat >>confdefs.h <<_ACEOF
67773 #define HAVE_SINHL 1
67774 _ACEOF
67780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67781 $as_echo_n "checking for sqrtl declaration... " >&6; }
67782 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67783 $as_echo_n "(cached) " >&6
67784 else
67787 ac_ext=c
67788 ac_cpp='$CPP $CPPFLAGS'
67789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67794 /* end confdefs.h. */
67796 #include <math.h>
67797 #ifdef HAVE_IEEEFP_H
67798 # include <ieeefp.h>
67799 #endif
67800 #undef sqrtl
67803 main ()
67806 void (*f)(void) = (void (*)(void))sqrtl;
67809 return 0;
67811 _ACEOF
67812 if ac_fn_c_try_compile "$LINENO"; then :
67813 glibcxx_cv_func_sqrtl_use=yes
67815 else
67816 glibcxx_cv_func_sqrtl_use=no
67818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
67821 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
67822 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
67823 cat >>confdefs.h <<_ACEOF
67824 #define HAVE_SQRTL 1
67825 _ACEOF
67831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
67832 $as_echo_n "checking for tanl declaration... " >&6; }
67833 if ${glibcxx_cv_func_tanl_use+:} false; then :
67834 $as_echo_n "(cached) " >&6
67835 else
67838 ac_ext=c
67839 ac_cpp='$CPP $CPPFLAGS'
67840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67845 /* end confdefs.h. */
67847 #include <math.h>
67848 #ifdef HAVE_IEEEFP_H
67849 # include <ieeefp.h>
67850 #endif
67851 #undef tanl
67854 main ()
67857 void (*f)(void) = (void (*)(void))tanl;
67860 return 0;
67862 _ACEOF
67863 if ac_fn_c_try_compile "$LINENO"; then :
67864 glibcxx_cv_func_tanl_use=yes
67866 else
67867 glibcxx_cv_func_tanl_use=no
67869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
67872 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
67873 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
67874 cat >>confdefs.h <<_ACEOF
67875 #define HAVE_TANL 1
67876 _ACEOF
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
67883 $as_echo_n "checking for tanhl declaration... " >&6; }
67884 if ${glibcxx_cv_func_tanhl_use+:} false; then :
67885 $as_echo_n "(cached) " >&6
67886 else
67889 ac_ext=c
67890 ac_cpp='$CPP $CPPFLAGS'
67891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67896 /* end confdefs.h. */
67898 #include <math.h>
67899 #ifdef HAVE_IEEEFP_H
67900 # include <ieeefp.h>
67901 #endif
67902 #undef tanhl
67905 main ()
67908 void (*f)(void) = (void (*)(void))tanhl;
67911 return 0;
67913 _ACEOF
67914 if ac_fn_c_try_compile "$LINENO"; then :
67915 glibcxx_cv_func_tanhl_use=yes
67917 else
67918 glibcxx_cv_func_tanhl_use=no
67920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
67923 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
67924 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
67925 cat >>confdefs.h <<_ACEOF
67926 #define HAVE_TANHL 1
67927 _ACEOF
67933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67934 $as_echo_n "checking for hypotl declaration... " >&6; }
67935 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67936 $as_echo_n "(cached) " >&6
67937 else
67940 ac_ext=c
67941 ac_cpp='$CPP $CPPFLAGS'
67942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67947 /* end confdefs.h. */
67949 #include <math.h>
67950 #ifdef HAVE_IEEEFP_H
67951 # include <ieeefp.h>
67952 #endif
67953 #undef hypotl
67956 main ()
67959 void (*f)(void) = (void (*)(void))hypotl;
67962 return 0;
67964 _ACEOF
67965 if ac_fn_c_try_compile "$LINENO"; then :
67966 glibcxx_cv_func_hypotl_use=yes
67968 else
67969 glibcxx_cv_func_hypotl_use=no
67971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67974 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67975 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
67976 cat >>confdefs.h <<_ACEOF
67977 #define HAVE_HYPOTL 1
67978 _ACEOF
67984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67985 $as_echo_n "checking for ldexpf declaration... " >&6; }
67986 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
67987 $as_echo_n "(cached) " >&6
67988 else
67991 ac_ext=c
67992 ac_cpp='$CPP $CPPFLAGS'
67993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67998 /* end confdefs.h. */
68000 #include <math.h>
68001 #ifdef HAVE_IEEEFP_H
68002 # include <ieeefp.h>
68003 #endif
68004 #undef ldexpf
68007 main ()
68010 void (*f)(void) = (void (*)(void))ldexpf;
68013 return 0;
68015 _ACEOF
68016 if ac_fn_c_try_compile "$LINENO"; then :
68017 glibcxx_cv_func_ldexpf_use=yes
68019 else
68020 glibcxx_cv_func_ldexpf_use=no
68022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68025 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68026 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68027 cat >>confdefs.h <<_ACEOF
68028 #define HAVE_LDEXPF 1
68029 _ACEOF
68035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68036 $as_echo_n "checking for modff declaration... " >&6; }
68037 if ${glibcxx_cv_func_modff_use+:} false; then :
68038 $as_echo_n "(cached) " >&6
68039 else
68042 ac_ext=c
68043 ac_cpp='$CPP $CPPFLAGS'
68044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68049 /* end confdefs.h. */
68051 #include <math.h>
68052 #ifdef HAVE_IEEEFP_H
68053 # include <ieeefp.h>
68054 #endif
68055 #undef modff
68058 main ()
68061 void (*f)(void) = (void (*)(void))modff;
68064 return 0;
68066 _ACEOF
68067 if ac_fn_c_try_compile "$LINENO"; then :
68068 glibcxx_cv_func_modff_use=yes
68070 else
68071 glibcxx_cv_func_modff_use=no
68073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68076 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68077 if test "x$glibcxx_cv_func_modff_use" = xyes; then
68078 cat >>confdefs.h <<_ACEOF
68079 #define HAVE_MODFF 1
68080 _ACEOF
68086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68087 $as_echo_n "checking for hypotf declaration... " >&6; }
68088 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68089 $as_echo_n "(cached) " >&6
68090 else
68093 ac_ext=c
68094 ac_cpp='$CPP $CPPFLAGS'
68095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68100 /* end confdefs.h. */
68102 #include <math.h>
68103 #ifdef HAVE_IEEEFP_H
68104 # include <ieeefp.h>
68105 #endif
68106 #undef hypotf
68109 main ()
68112 void (*f)(void) = (void (*)(void))hypotf;
68115 return 0;
68117 _ACEOF
68118 if ac_fn_c_try_compile "$LINENO"; then :
68119 glibcxx_cv_func_hypotf_use=yes
68121 else
68122 glibcxx_cv_func_hypotf_use=no
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68127 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68128 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68129 cat >>confdefs.h <<_ACEOF
68130 #define HAVE_HYPOTF 1
68131 _ACEOF
68137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68138 $as_echo_n "checking for frexpf declaration... " >&6; }
68139 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68140 $as_echo_n "(cached) " >&6
68141 else
68144 ac_ext=c
68145 ac_cpp='$CPP $CPPFLAGS'
68146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68151 /* end confdefs.h. */
68153 #include <math.h>
68154 #ifdef HAVE_IEEEFP_H
68155 # include <ieeefp.h>
68156 #endif
68157 #undef frexpf
68160 main ()
68163 void (*f)(void) = (void (*)(void))frexpf;
68166 return 0;
68168 _ACEOF
68169 if ac_fn_c_try_compile "$LINENO"; then :
68170 glibcxx_cv_func_frexpf_use=yes
68172 else
68173 glibcxx_cv_func_frexpf_use=no
68175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68178 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68179 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68180 cat >>confdefs.h <<_ACEOF
68181 #define HAVE_FREXPF 1
68182 _ACEOF
68190 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68192 esac
68196 # At some point, we should differentiate between architectures
68197 # like x86, which have long double versions, and alpha/powerpc/etc.,
68198 # which don't. For the time being, punt.
68199 if test x"long_double_math_on_this_cpu" = x"yes"; then
68200 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68202 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68204 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68206 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68208 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68210 $as_echo "#define HAVE_COSL 1" >>confdefs.h
68212 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68214 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68216 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68218 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68220 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68222 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68224 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68226 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68228 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68230 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68232 $as_echo "#define HAVE_POWL 1" >>confdefs.h
68234 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68236 $as_echo "#define HAVE_SINL 1" >>confdefs.h
68238 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68240 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68242 $as_echo "#define HAVE_TANL 1" >>confdefs.h
68244 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68249 # Check for _Unwind_GetIPInfo.
68252 # Check whether --with-system-libunwind was given.
68253 if test "${with_system_libunwind+set}" = set; then :
68254 withval=$with_system_libunwind;
68257 # If system-libunwind was not specifically set, pick a default setting.
68258 if test x$with_system_libunwind = x; then
68259 case ${target} in
68260 ia64-*-hpux*) with_system_libunwind=yes ;;
68261 *) with_system_libunwind=no ;;
68262 esac
68264 # Based on system-libunwind and target, do we have ipinfo?
68265 if test x$with_system_libunwind = xyes; then
68266 case ${target} in
68267 ia64-*-*) have_unwind_getipinfo=no ;;
68268 *) have_unwind_getipinfo=yes ;;
68269 esac
68270 else
68271 # Darwin before version 9 does not have _Unwind_GetIPInfo.
68273 case ${target} in
68274 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68275 *) have_unwind_getipinfo=yes ;;
68276 esac
68280 if test x$have_unwind_getipinfo = xyes; then
68282 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68287 # Check whether --enable-linux-futex was given.
68288 if test "${enable_linux_futex+set}" = set; then :
68289 enableval=$enable_linux_futex;
68290 case "$enableval" in
68291 yes|no|default) ;;
68292 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68293 esac
68295 else
68296 enable_linux_futex=default
68300 case "$target" in
68301 *-linux* | *-uclinux*)
68302 case "$enable_linux_futex" in
68303 default)
68304 # If headers don't have gettid/futex syscalls definition, then
68305 # default to no, otherwise there will be compile time failures.
68306 # Otherwise, default to yes. If we don't detect we are
68307 # compiled/linked against NPTL and not cross-compiling, check
68308 # if programs are run by default against NPTL and if not, issue
68309 # a warning.
68310 enable_linux_futex=no
68311 if test x$gcc_no_link = xyes; then
68312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68315 /* end confdefs.h. */
68316 #include <sys/syscall.h>
68317 #include <unistd.h>
68318 int lk;
68320 main ()
68322 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68324 return 0;
68326 _ACEOF
68327 if ac_fn_c_try_link "$LINENO"; then :
68328 save_LIBS="$LIBS"
68329 LIBS="-lpthread $LIBS"
68330 if test x$gcc_no_link = xyes; then
68331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68334 /* end confdefs.h. */
68335 #ifndef _GNU_SOURCE
68336 #define _GNU_SOURCE 1
68337 #endif
68338 #include <pthread.h>
68339 pthread_t th; void *status;
68341 main ()
68343 pthread_tryjoin_np (th, &status);
68345 return 0;
68347 _ACEOF
68348 if ac_fn_c_try_link "$LINENO"; then :
68349 enable_linux_futex=yes
68350 else
68351 if test x$cross_compiling = xno; then
68352 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68353 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68355 If so, please configure with --disable-linux-futex" >&5
68356 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68357 If so, please configure with --disable-linux-futex" >&2;}
68360 enable_linux_futex=yes
68362 rm -f core conftest.err conftest.$ac_objext \
68363 conftest$ac_exeext conftest.$ac_ext
68364 LIBS="$save_LIBS"
68366 rm -f core conftest.err conftest.$ac_objext \
68367 conftest$ac_exeext conftest.$ac_ext
68369 yes)
68370 if test x$gcc_no_link = xyes; then
68371 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68374 /* end confdefs.h. */
68375 #include <sys/syscall.h>
68376 #include <unistd.h>
68377 int lk;
68379 main ()
68381 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68383 return 0;
68385 _ACEOF
68386 if ac_fn_c_try_link "$LINENO"; then :
68388 else
68389 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68391 rm -f core conftest.err conftest.$ac_objext \
68392 conftest$ac_exeext conftest.$ac_ext
68394 esac
68397 enable_linux_futex=no
68399 esac
68400 if test x$enable_linux_futex = xyes; then
68402 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68407 if test "$is_hosted" = yes; then
68408 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
68409 # use <stdint.h> instead of <gstdint.h>.
68412 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
68414 acx_cv_header_stdint=stddef.h
68415 acx_cv_header_stdint_kind="(already complete)"
68416 for i in stdint.h $inttype_headers; do
68417 unset ac_cv_type_uintptr_t
68418 unset ac_cv_type_uintmax_t
68419 unset ac_cv_type_int_least32_t
68420 unset ac_cv_type_int_fast32_t
68421 unset ac_cv_type_uint64_t
68422 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
68423 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
68424 #include <$i>
68426 if test "x$ac_cv_type_uintmax_t" = xyes; then :
68427 acx_cv_header_stdint=$i
68428 else
68429 continue
68432 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68433 #include <$i>
68435 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68437 else
68438 acx_cv_header_stdint_kind="(mostly complete)"
68441 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
68442 #include <$i>
68444 if test "x$ac_cv_type_int_least32_t" = xyes; then :
68446 else
68447 acx_cv_header_stdint_kind="(mostly complete)"
68450 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
68451 #include <$i>
68453 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
68455 else
68456 acx_cv_header_stdint_kind="(mostly complete)"
68459 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68460 #include <$i>
68462 if test "x$ac_cv_type_uint64_t" = xyes; then :
68464 else
68465 acx_cv_header_stdint_kind="(lacks uint64_t)"
68468 break
68469 done
68470 if test "$acx_cv_header_stdint" = stddef.h; then
68471 acx_cv_header_stdint_kind="(lacks uintmax_t)"
68472 for i in stdint.h $inttype_headers; do
68473 unset ac_cv_type_uintptr_t
68474 unset ac_cv_type_uint32_t
68475 unset ac_cv_type_uint64_t
68476 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
68477 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
68478 #include <$i>
68480 if test "x$ac_cv_type_uint32_t" = xyes; then :
68481 acx_cv_header_stdint=$i
68482 else
68483 continue
68486 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68487 #include <$i>
68489 if test "x$ac_cv_type_uint64_t" = xyes; then :
68493 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68494 #include <$i>
68496 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68500 break
68501 done
68503 if test "$acx_cv_header_stdint" = stddef.h; then
68504 acx_cv_header_stdint_kind="(u_intXX_t style)"
68505 for i in sys/types.h $inttype_headers; do
68506 unset ac_cv_type_u_int32_t
68507 unset ac_cv_type_u_int64_t
68508 $as_echo_n "looking for u_intXX_t types in $i, " >&6
68509 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
68510 #include <$i>
68512 if test "x$ac_cv_type_u_int32_t" = xyes; then :
68513 acx_cv_header_stdint=$i
68514 else
68515 continue
68518 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
68519 #include <$i>
68521 if test "x$ac_cv_type_u_int64_t" = xyes; then :
68525 break
68526 done
68528 if test "$acx_cv_header_stdint" = stddef.h; then
68529 acx_cv_header_stdint_kind="(using manual detection)"
68532 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
68533 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
68534 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
68535 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
68536 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
68538 # ----------------- Summarize what we found so far
68540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
68541 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
68543 case `$as_basename -- include/gstdint.h ||
68544 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
68545 Xinclude/gstdint.h : 'X\(//\)$' \| \
68546 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
68547 $as_echo X/include/gstdint.h |
68548 sed '/^.*\/\([^/][^/]*\)\/*$/{
68549 s//\1/
68552 /^X\/\(\/\/\)$/{
68553 s//\1/
68556 /^X\/\(\/\).*/{
68557 s//\1/
68560 s/.*/./; q'` in
68561 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68562 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68563 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68564 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68565 *) ;;
68566 esac
68568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
68569 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
68571 # ----------------- done included file, check C basic types --------
68573 # Lacking an uintptr_t? Test size of void *
68574 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
68575 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
68576 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68577 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68578 # This bug is HP SR number 8606223364.
68579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
68580 $as_echo_n "checking size of void *... " >&6; }
68581 if ${ac_cv_sizeof_void_p+:} false; then :
68582 $as_echo_n "(cached) " >&6
68583 else
68584 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
68586 else
68587 if test "$ac_cv_type_void_p" = yes; then
68588 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68589 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68590 as_fn_error 77 "cannot compute sizeof (void *)
68591 See \`config.log' for more details" "$LINENO" 5; }
68592 else
68593 ac_cv_sizeof_void_p=0
68598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
68599 $as_echo "$ac_cv_sizeof_void_p" >&6; }
68603 cat >>confdefs.h <<_ACEOF
68604 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
68605 _ACEOF
68608 esac
68610 # Lacking an uint64_t? Test size of long
68611 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
68612 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
68613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68615 # This bug is HP SR number 8606223364.
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
68617 $as_echo_n "checking size of long... " >&6; }
68618 if ${ac_cv_sizeof_long+:} false; then :
68619 $as_echo_n "(cached) " >&6
68620 else
68621 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
68623 else
68624 if test "$ac_cv_type_long" = yes; then
68625 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68627 as_fn_error 77 "cannot compute sizeof (long)
68628 See \`config.log' for more details" "$LINENO" 5; }
68629 else
68630 ac_cv_sizeof_long=0
68635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
68636 $as_echo "$ac_cv_sizeof_long" >&6; }
68640 cat >>confdefs.h <<_ACEOF
68641 #define SIZEOF_LONG $ac_cv_sizeof_long
68642 _ACEOF
68645 esac
68647 if test $acx_cv_header_stdint = stddef.h; then
68648 # Lacking a good header? Test size of everything and deduce all types.
68649 # The cast to long int works around a bug in the HP C Compiler
68650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68652 # This bug is HP SR number 8606223364.
68653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
68654 $as_echo_n "checking size of int... " >&6; }
68655 if ${ac_cv_sizeof_int+:} false; then :
68656 $as_echo_n "(cached) " >&6
68657 else
68658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
68660 else
68661 if test "$ac_cv_type_int" = yes; then
68662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68664 as_fn_error 77 "cannot compute sizeof (int)
68665 See \`config.log' for more details" "$LINENO" 5; }
68666 else
68667 ac_cv_sizeof_int=0
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
68673 $as_echo "$ac_cv_sizeof_int" >&6; }
68677 cat >>confdefs.h <<_ACEOF
68678 #define SIZEOF_INT $ac_cv_sizeof_int
68679 _ACEOF
68682 # The cast to long int works around a bug in the HP C Compiler
68683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68685 # This bug is HP SR number 8606223364.
68686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
68687 $as_echo_n "checking size of short... " >&6; }
68688 if ${ac_cv_sizeof_short+:} false; then :
68689 $as_echo_n "(cached) " >&6
68690 else
68691 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
68693 else
68694 if test "$ac_cv_type_short" = yes; then
68695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68697 as_fn_error 77 "cannot compute sizeof (short)
68698 See \`config.log' for more details" "$LINENO" 5; }
68699 else
68700 ac_cv_sizeof_short=0
68705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
68706 $as_echo "$ac_cv_sizeof_short" >&6; }
68710 cat >>confdefs.h <<_ACEOF
68711 #define SIZEOF_SHORT $ac_cv_sizeof_short
68712 _ACEOF
68715 # The cast to long int works around a bug in the HP C Compiler
68716 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68717 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68718 # This bug is HP SR number 8606223364.
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
68720 $as_echo_n "checking size of char... " >&6; }
68721 if ${ac_cv_sizeof_char+:} false; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68724 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
68726 else
68727 if test "$ac_cv_type_char" = yes; then
68728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68730 as_fn_error 77 "cannot compute sizeof (char)
68731 See \`config.log' for more details" "$LINENO" 5; }
68732 else
68733 ac_cv_sizeof_char=0
68738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
68739 $as_echo "$ac_cv_sizeof_char" >&6; }
68743 cat >>confdefs.h <<_ACEOF
68744 #define SIZEOF_CHAR $ac_cv_sizeof_char
68745 _ACEOF
68749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
68750 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
68751 case "$ac_cv_sizeof_char" in
68752 1) acx_cv_type_int8_t=char ;;
68753 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
68754 esac
68755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
68756 $as_echo "$acx_cv_type_int8_t" >&6; }
68758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
68759 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
68760 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
68761 2:*) acx_cv_type_int16_t=int ;;
68762 *:2) acx_cv_type_int16_t=short ;;
68763 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
68764 esac
68765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
68766 $as_echo "$acx_cv_type_int16_t" >&6; }
68768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
68769 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
68770 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
68771 4:*) acx_cv_type_int32_t=int ;;
68772 *:4) acx_cv_type_int32_t=long ;;
68773 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
68774 esac
68775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
68776 $as_echo "$acx_cv_type_int32_t" >&6; }
68779 # These tests are here to make the output prettier
68781 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
68782 case "$ac_cv_sizeof_long" in
68783 8) acx_cv_type_int64_t=long ;;
68784 esac
68785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
68786 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
68788 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
68791 # Now we can use the above types
68793 if test "$ac_cv_type_uintptr_t" != yes; then
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
68795 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
68796 case $ac_cv_sizeof_void_p in
68797 2) acx_cv_type_intptr_t=int16_t ;;
68798 4) acx_cv_type_intptr_t=int32_t ;;
68799 8) acx_cv_type_intptr_t=int64_t ;;
68800 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
68801 esac
68802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
68803 $as_echo "$acx_cv_type_intptr_t" >&6; }
68806 # ----------------- done all checks, emit header -------------
68807 ac_config_commands="$ac_config_commands include/gstdint.h"
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68815 $as_echo_n "checking for GNU c++filt... " >&6; }
68816 if ${ac_cv_path_CXXFILT+:} false; then :
68817 $as_echo_n "(cached) " >&6
68818 else
68819 if test -z "$CXXFILT"; then
68820 ac_path_CXXFILT_found=false
68821 # Loop through the user's path and test for each of PROGNAME-LIST
68822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68823 for as_dir in $PATH
68825 IFS=$as_save_IFS
68826 test -z "$as_dir" && as_dir=.
68827 for ac_prog in c++filt gc++filt; do
68828 for ac_exec_ext in '' $ac_executable_extensions; do
68829 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68830 as_fn_executable_p "$ac_path_CXXFILT" || continue
68831 # Check for GNU $ac_path_CXXFILT
68832 case `"$ac_path_CXXFILT" --version 2>&1` in
68833 *GNU*)
68834 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68835 esac
68837 $ac_path_CXXFILT_found && break 3
68838 done
68839 done
68840 done
68841 IFS=$as_save_IFS
68842 if test -z "$ac_cv_path_CXXFILT"; then
68845 else
68846 ac_cv_path_CXXFILT=$CXXFILT
68850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68851 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68852 CXXFILT=$ac_cv_path_CXXFILT
68856 # Check whether --enable-symvers was given.
68857 if test "${enable_symvers+set}" = set; then :
68858 enableval=$enable_symvers;
68859 case "$enableval" in
68860 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68861 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68862 esac
68864 else
68865 enable_symvers=yes
68870 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68871 # don't know enough about $LD to do tricks...
68873 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
68874 # with extern "C++" in version scripts.
68877 # Turn a 'yes' into a suitable default.
68878 if test x$enable_symvers = xyes ; then
68879 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
68880 enable_symvers=no
68881 else
68882 if test $with_gnu_ld = yes ; then
68883 case ${target_os} in
68884 hpux*)
68885 enable_symvers=no ;;
68887 enable_symvers=gnu ;;
68888 esac
68889 else
68890 case ${target_os} in
68891 darwin*)
68892 enable_symvers=darwin ;;
68893 # Sun symbol versioning exists since Solaris 2.5.
68894 solaris2.[5-9]* | solaris2.1[0-9]*)
68895 # make_sunver.pl needs GNU c++filt to support extern "C++" in
68896 # version scripts, so disable symbol versioning if none can be
68897 # found.
68898 if test -z "$ac_cv_path_CXXFILT"; then
68899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68900 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
68902 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68904 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68905 enable_symvers=no
68906 else
68907 enable_symvers=sun
68911 enable_symvers=no ;;
68912 esac
68917 # Check to see if 'darwin' or 'darwin-export' can win.
68918 if test x$enable_symvers = xdarwin-export ; then
68919 enable_symvers=darwin
68922 # Check if 'sun' was requested on non-Solaris 2 platforms.
68923 if test x$enable_symvers = xsun ; then
68924 case ${target_os} in
68925 solaris2*)
68926 # All fine.
68929 # Unlikely to work.
68930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68931 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
68933 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
68934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68935 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68936 enable_symvers=no
68938 esac
68941 # Check to see if 'gnu' can win.
68942 if test $enable_symvers = gnu ||
68943 test $enable_symvers = gnu-versioned-namespace ||
68944 test $enable_symvers = sun; then
68945 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
68946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
68947 $as_echo_n "checking for shared libgcc... " >&6; }
68948 ac_save_CFLAGS="$CFLAGS"
68949 CFLAGS=' -lgcc_s'
68950 if test x$gcc_no_link = xyes; then
68951 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68954 /* end confdefs.h. */
68957 main ()
68959 return 0;
68961 return 0;
68963 _ACEOF
68964 if ac_fn_c_try_link "$LINENO"; then :
68965 glibcxx_shared_libgcc=yes
68966 else
68967 glibcxx_shared_libgcc=no
68969 rm -f core conftest.err conftest.$ac_objext \
68970 conftest$ac_exeext conftest.$ac_ext
68971 CFLAGS="$ac_save_CFLAGS"
68972 if test $glibcxx_shared_libgcc = no; then
68973 cat > conftest.c <<EOF
68974 int main (void) { return 0; }
68976 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
68977 -shared -shared-libgcc -o conftest.so \
68978 conftest.c -v 2>&1 >/dev/null \
68979 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
68980 rm -f conftest.c conftest.so
68981 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
68982 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
68983 if test x$gcc_no_link = xyes; then
68984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68987 /* end confdefs.h. */
68990 main ()
68992 return 0;
68994 return 0;
68996 _ACEOF
68997 if ac_fn_c_try_link "$LINENO"; then :
68998 glibcxx_shared_libgcc=yes
69000 rm -f core conftest.err conftest.$ac_objext \
69001 conftest$ac_exeext conftest.$ac_ext
69002 CFLAGS="$ac_save_CFLAGS"
69005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
69006 $as_echo "$glibcxx_shared_libgcc" >&6; }
69008 # For GNU ld, we need at least this version. The format is described in
69009 # GLIBCXX_CHECK_LINKER_FEATURES above.
69010 glibcxx_min_gnu_ld_version=21400
69012 # If no shared libgcc, can't win.
69013 if test $glibcxx_shared_libgcc != yes; then
69014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69015 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
69017 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
69018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69019 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69020 enable_symvers=no
69021 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
69022 : All interesting versions of Sun ld support sun style symbol versioning.
69023 elif test $with_gnu_ld != yes ; then
69024 # just fail for now
69025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69026 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
69028 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
69029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69030 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69031 enable_symvers=no
69032 elif test $glibcxx_ld_is_gold = yes ; then
69033 : All versions of gold support symbol versioning.
69034 elif test $glibcxx_ld_is_mold = yes ; then
69035 : All versions of mold support symbol versioning.
69036 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
69037 # The right tools, the right setup, but too old. Fallbacks?
69038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
69039 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
69041 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
69042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
69043 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
69044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
69045 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
69046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69047 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69048 enable_symvers=no
69052 # For libtool versioning info, format is CURRENT:REVISION:AGE
69053 libtool_VERSION=6:30:0
69055 # Everything parsed; figure out what files and settings to use.
69056 case $enable_symvers in
69058 SYMVER_FILE=config/abi/pre/none.ver
69060 gnu)
69061 SYMVER_FILE=config/abi/pre/gnu.ver
69063 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
69066 gnu-versioned-namespace)
69067 libtool_VERSION=8:0:0
69068 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
69070 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
69073 darwin)
69074 SYMVER_FILE=config/abi/pre/gnu.ver
69076 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
69079 sun)
69080 SYMVER_FILE=config/abi/pre/gnu.ver
69082 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
69085 esac
69087 if test x$enable_symvers != xno ; then
69089 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
69093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
69094 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
69095 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
69096 $as_echo_n "(cached) " >&6
69097 else
69099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69100 /* end confdefs.h. */
69101 void foo (void); __asm (".symver foo, bar@SYMVER");
69103 main ()
69107 return 0;
69109 _ACEOF
69110 if ac_fn_c_try_compile "$LINENO"; then :
69111 glibcxx_cv_have_as_symver_directive=yes
69112 else
69113 glibcxx_cv_have_as_symver_directive=no
69115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
69118 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
69119 if test $glibcxx_cv_have_as_symver_directive = yes; then
69121 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
69133 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69135 if test $enable_symvers != no ; then
69136 case ${target_os} in
69137 # The Solaris 2 runtime linker doesn't support the GNU extension of
69138 # binding the same symbol to different versions
69139 solaris2*)
69141 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
69144 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
69147 esac
69150 # Now, set up compatibility support, if any.
69151 # In addition, need this to deal with std::size_t mangling in
69152 # src/compatibility.cc. In a perfect world, could use
69153 # typeid(std::size_t).name()[0] to do direct substitution.
69154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
69155 $as_echo_n "checking for size_t as unsigned int... " >&6; }
69156 ac_save_CFLAGS="$CFLAGS"
69157 CFLAGS="-Werror"
69158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69159 /* end confdefs.h. */
69162 main ()
69164 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
69166 return 0;
69168 _ACEOF
69169 if ac_fn_c_try_compile "$LINENO"; then :
69170 glibcxx_size_t_is_i=yes
69171 else
69172 glibcxx_size_t_is_i=no
69174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69175 CFLAGS=$ac_save_CFLAGS
69176 if test "$glibcxx_size_t_is_i" = yes; then
69178 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
69182 $as_echo "$glibcxx_size_t_is_i" >&6; }
69184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
69185 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
69186 ac_save_CFLAGS="$CFLAGS"
69187 CFLAGS="-Werror"
69188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69189 /* end confdefs.h. */
69192 main ()
69194 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
69196 return 0;
69198 _ACEOF
69199 if ac_fn_c_try_compile "$LINENO"; then :
69200 glibcxx_ptrdiff_t_is_i=yes
69201 else
69202 glibcxx_ptrdiff_t_is_i=no
69204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69205 CFLAGS=$ac_save_CFLAGS
69206 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
69208 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
69211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
69212 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
69217 # Check whether --enable-libstdcxx-visibility was given.
69218 if test "${enable_libstdcxx_visibility+set}" = set; then :
69219 enableval=$enable_libstdcxx_visibility;
69220 case "$enableval" in
69221 yes|no) ;;
69222 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
69223 esac
69225 else
69226 enable_libstdcxx_visibility=yes
69231 if test x$enable_libstdcxx_visibility = xyes ; then
69232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
69233 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
69234 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
69235 $as_echo_n "(cached) " >&6
69236 else
69238 save_CFLAGS="$CFLAGS"
69239 CFLAGS="$CFLAGS -Werror"
69240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69241 /* end confdefs.h. */
69242 void __attribute__((visibility("hidden"))) foo(void) { }
69244 main ()
69248 return 0;
69250 _ACEOF
69251 if ac_fn_c_try_compile "$LINENO"; then :
69252 glibcxx_cv_have_attribute_visibility=yes
69253 else
69254 glibcxx_cv_have_attribute_visibility=no
69256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69257 CFLAGS="$save_CFLAGS"
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
69260 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
69261 if test $glibcxx_cv_have_attribute_visibility = no; then
69262 enable_libstdcxx_visibility=no
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
69268 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
69272 # Check whether --enable-libstdcxx-dual-abi was given.
69273 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
69274 enableval=$enable_libstdcxx_dual_abi;
69275 case "$enableval" in
69276 yes|no) ;;
69277 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
69278 esac
69280 else
69281 enable_libstdcxx_dual_abi=yes
69285 if test x$enable_symvers = xgnu-versioned-namespace; then
69286 # gnu-versioned-namespace is incompatible with the dual ABI.
69287 enable_libstdcxx_dual_abi="no"
69289 if test x"$enable_libstdcxx_dual_abi" != xyes; then
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
69291 $as_echo "$as_me: dual ABI is disabled" >&6;}
69292 default_libstdcxx_abi="gcc4-compatible"
69297 if test x$enable_libstdcxx_dual_abi = xyes; then
69298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
69299 $as_echo_n "checking for default std::string ABI to use... " >&6; }
69301 # Check whether --with-default-libstdcxx-abi was given.
69302 if test "${with_default_libstdcxx_abi+set}" = set; then :
69303 withval=$with_default_libstdcxx_abi; case "$withval" in
69304 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
69305 new|cxx11) default_libstdcxx_abi="new" ;;
69306 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
69307 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
69308 esac
69310 else
69311 default_libstdcxx_abi="new"
69314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
69315 $as_echo "${default_libstdcxx_abi}" >&6; }
69317 if test $default_libstdcxx_abi = "new"; then
69318 glibcxx_cxx11_abi=1
69319 glibcxx_cxx98_abi=0
69320 else
69321 glibcxx_cxx11_abi=0
69322 glibcxx_cxx98_abi=1
69328 ac_ldbl_compat=no
69329 ac_ldbl_alt128_compat=no
69330 ac_ldbl_ieee128_default=no
69331 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
69332 LONG_DOUBLE_128_FLAGS=
69333 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
69334 case "$target" in
69335 powerpc*-*-linux* | \
69336 sparc*-*-linux* | \
69337 s390*-*-linux* | \
69338 alpha*-*-linux*)
69339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69340 /* end confdefs.h. */
69343 main ()
69346 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
69347 #error no need for long double compatibility
69348 #endif
69351 return 0;
69353 _ACEOF
69354 if ac_fn_c_try_compile "$LINENO"; then :
69355 ac_ldbl_compat=yes
69356 else
69357 ac_ldbl_compat=no
69359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69360 if test "$ac_ldbl_compat" = yes; then
69362 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
69364 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
69365 case "$target" in
69366 powerpc*-*-linux*)
69367 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
69368 # Check for IEEE128 support in libm:
69369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
69370 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
69371 if ${ac_cv_lib_m___frexpieee128+:} false; then :
69372 $as_echo_n "(cached) " >&6
69373 else
69374 ac_check_lib_save_LIBS=$LIBS
69375 LIBS="-lm $LIBS"
69376 if test x$gcc_no_link = xyes; then
69377 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69380 /* end confdefs.h. */
69382 /* Override any GCC internal prototype to avoid an error.
69383 Use char because int might match the return type of a GCC
69384 builtin and then its argument prototype would still apply. */
69385 #ifdef __cplusplus
69386 extern "C"
69387 #endif
69388 char __frexpieee128 ();
69390 main ()
69392 return __frexpieee128 ();
69394 return 0;
69396 _ACEOF
69397 if ac_fn_c_try_link "$LINENO"; then :
69398 ac_cv_lib_m___frexpieee128=yes
69399 else
69400 ac_cv_lib_m___frexpieee128=no
69402 rm -f core conftest.err conftest.$ac_objext \
69403 conftest$ac_exeext conftest.$ac_ext
69404 LIBS=$ac_check_lib_save_LIBS
69406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69407 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69408 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69409 ac_ldbl_ieee128_in_libc=yes
69410 else
69411 ac_ldbl_ieee128_in_libc=no
69414 if test $ac_ldbl_ieee128_in_libc = yes; then
69415 # Determine which long double format is the compiler's default:
69416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69417 /* end confdefs.h. */
69420 main ()
69423 #ifndef __LONG_DOUBLE_IEEE128__
69424 #error compiler defaults to ibm128
69425 #endif
69428 return 0;
69430 _ACEOF
69431 if ac_fn_c_try_compile "$LINENO"; then :
69432 ac_ldbl_ieee128_default=yes
69433 else
69434 ac_ldbl_ieee128_default=no
69436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69437 # Library objects should use default long double format.
69438 if test "$ac_ldbl_ieee128_default" = yes; then
69439 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69440 # Except for the ones that explicitly use these flags:
69441 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69442 else
69443 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69444 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69447 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69449 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69450 ac_ldbl_alt128_compat=yes
69451 else
69452 ac_ldbl_alt128_compat=no
69455 esac
69457 esac
69464 # Check if assembler supports disabling hardware capability support.
69466 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69468 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69469 # with a different meaning.
69470 case ${target_os} in
69471 solaris2*)
69472 ac_save_CFLAGS="$CFLAGS"
69473 CFLAGS="$CFLAGS -Wa,-nH"
69475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69476 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69478 /* end confdefs.h. */
69481 main ()
69483 return 0;
69485 return 0;
69487 _ACEOF
69488 if ac_fn_c_try_compile "$LINENO"; then :
69489 ac_hwcap_flags=yes
69490 else
69491 ac_hwcap_flags=no
69493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69494 if test "$ac_hwcap_flags" = "yes"; then
69495 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69498 $as_echo "$ac_hwcap_flags" >&6; }
69500 CFLAGS="$ac_save_CFLAGS"
69502 esac
69507 # Check if assembler supports rdrand opcode.
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69510 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69511 if ${ac_cv_x86_rdrand+:} false; then :
69512 $as_echo_n "(cached) " >&6
69513 else
69515 ac_cv_x86_rdrand=no
69516 case "$target" in
69517 i?86-*-* | \
69518 x86_64-*-*)
69519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69520 /* end confdefs.h. */
69523 main ()
69525 asm("rdrand %eax");
69527 return 0;
69529 _ACEOF
69530 if ac_fn_c_try_compile "$LINENO"; then :
69531 ac_cv_x86_rdrand=yes
69532 else
69533 ac_cv_x86_rdrand=no
69535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69536 esac
69539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69540 $as_echo "$ac_cv_x86_rdrand" >&6; }
69541 if test $ac_cv_x86_rdrand = yes; then
69543 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69547 # Check if assembler supports rdseed opcode.
69549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69550 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69551 if ${ac_cv_x86_rdseed+:} false; then :
69552 $as_echo_n "(cached) " >&6
69553 else
69555 ac_cv_x86_rdseed=no
69556 case "$target" in
69557 i?86-*-* | \
69558 x86_64-*-*)
69559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69560 /* end confdefs.h. */
69563 main ()
69565 asm("rdseed %eax");
69567 return 0;
69569 _ACEOF
69570 if ac_fn_c_try_compile "$LINENO"; then :
69571 ac_cv_x86_rdseed=yes
69572 else
69573 ac_cv_x86_rdseed=no
69575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69576 esac
69579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69580 $as_echo "$ac_cv_x86_rdseed" >&6; }
69581 if test $ac_cv_x86_rdseed = yes; then
69583 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69588 # Check for other random number APIs
69592 ac_ext=cpp
69593 ac_cpp='$CXXCPP $CPPFLAGS'
69594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69599 $as_echo_n "checking for getentropy... " >&6; }
69600 if ${glibcxx_cv_getentropy+:} false; then :
69601 $as_echo_n "(cached) " >&6
69602 else
69604 if test x$gcc_no_link = xyes; then
69605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69606 /* end confdefs.h. */
69607 #include <unistd.h>
69609 main ()
69611 unsigned i;
69612 ::getentropy(&i, sizeof(i));
69614 return 0;
69616 _ACEOF
69617 if ac_fn_cxx_try_compile "$LINENO"; then :
69618 glibcxx_cv_getentropy=yes
69619 else
69620 glibcxx_cv_getentropy=no
69622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69623 else
69624 if test x$gcc_no_link = xyes; then
69625 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69628 /* end confdefs.h. */
69629 #include <unistd.h>
69631 main ()
69633 unsigned i;
69634 ::getentropy(&i, sizeof(i));
69636 return 0;
69638 _ACEOF
69639 if ac_fn_cxx_try_link "$LINENO"; then :
69640 glibcxx_cv_getentropy=yes
69641 else
69642 glibcxx_cv_getentropy=no
69644 rm -f core conftest.err conftest.$ac_objext \
69645 conftest$ac_exeext conftest.$ac_ext
69649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69650 $as_echo "$glibcxx_cv_getentropy" >&6; }
69652 if test $glibcxx_cv_getentropy = yes; then
69654 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69657 ac_ext=c
69658 ac_cpp='$CPP $CPPFLAGS'
69659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69667 ac_ext=cpp
69668 ac_cpp='$CXXCPP $CPPFLAGS'
69669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69674 $as_echo_n "checking for arc4random... " >&6; }
69675 if ${glibcxx_cv_arc4random+:} false; then :
69676 $as_echo_n "(cached) " >&6
69677 else
69679 if test x$gcc_no_link = xyes; then
69680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69681 /* end confdefs.h. */
69682 #include <stdlib.h>
69684 main ()
69686 unsigned i = ::arc4random();
69688 return 0;
69690 _ACEOF
69691 if ac_fn_cxx_try_compile "$LINENO"; then :
69692 glibcxx_cv_arc4random=yes
69693 else
69694 glibcxx_cv_arc4random=no
69696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69697 else
69698 if test x$gcc_no_link = xyes; then
69699 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69702 /* end confdefs.h. */
69703 #include <stdlib.h>
69705 main ()
69707 unsigned i = ::arc4random();
69709 return 0;
69711 _ACEOF
69712 if ac_fn_cxx_try_link "$LINENO"; then :
69713 glibcxx_cv_arc4random=yes
69714 else
69715 glibcxx_cv_arc4random=no
69717 rm -f core conftest.err conftest.$ac_objext \
69718 conftest$ac_exeext conftest.$ac_ext
69722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69723 $as_echo "$glibcxx_cv_arc4random" >&6; }
69725 if test $glibcxx_cv_arc4random = yes; then
69727 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69730 ac_ext=c
69731 ac_cpp='$CPP $CPPFLAGS'
69732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69738 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69740 # Do checks for resource limit functions.
69743 ac_ext=cpp
69744 ac_cpp='$CXXCPP $CPPFLAGS'
69745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69749 setrlimit_have_headers=yes
69750 for ac_header in unistd.h sys/time.h sys/resource.h
69751 do :
69752 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69753 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69754 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69755 cat >>confdefs.h <<_ACEOF
69756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69757 _ACEOF
69759 else
69760 setrlimit_have_headers=no
69763 done
69765 # If don't have the headers, then we can't run the tests now, and we
69766 # won't be seeing any of these during testsuite compilation.
69767 if test $setrlimit_have_headers = yes; then
69768 # Can't do these in a loop, else the resulting syntax is wrong.
69770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69771 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69773 /* end confdefs.h. */
69774 #include <unistd.h>
69775 #include <sys/time.h>
69776 #include <sys/resource.h>
69779 main ()
69781 int f = RLIMIT_DATA ;
69783 return 0;
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787 glibcxx_mresult=1
69788 else
69789 glibcxx_mresult=0
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69793 cat >>confdefs.h <<_ACEOF
69794 #define HAVE_LIMIT_DATA $glibcxx_mresult
69795 _ACEOF
69797 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69799 $as_echo "$res" >&6; }
69802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69803 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69805 /* end confdefs.h. */
69806 #include <unistd.h>
69807 #include <sys/time.h>
69808 #include <sys/resource.h>
69811 main ()
69813 int f = RLIMIT_RSS ;
69815 return 0;
69817 _ACEOF
69818 if ac_fn_cxx_try_compile "$LINENO"; then :
69819 glibcxx_mresult=1
69820 else
69821 glibcxx_mresult=0
69823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69825 cat >>confdefs.h <<_ACEOF
69826 #define HAVE_LIMIT_RSS $glibcxx_mresult
69827 _ACEOF
69829 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69831 $as_echo "$res" >&6; }
69834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69835 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69837 /* end confdefs.h. */
69838 #include <unistd.h>
69839 #include <sys/time.h>
69840 #include <sys/resource.h>
69843 main ()
69845 int f = RLIMIT_VMEM ;
69847 return 0;
69849 _ACEOF
69850 if ac_fn_cxx_try_compile "$LINENO"; then :
69851 glibcxx_mresult=1
69852 else
69853 glibcxx_mresult=0
69855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69857 cat >>confdefs.h <<_ACEOF
69858 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69859 _ACEOF
69861 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69863 $as_echo "$res" >&6; }
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
69867 $as_echo_n "checking for RLIMIT_AS... " >&6; }
69868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69869 /* end confdefs.h. */
69870 #include <unistd.h>
69871 #include <sys/time.h>
69872 #include <sys/resource.h>
69875 main ()
69877 int f = RLIMIT_AS ;
69879 return 0;
69881 _ACEOF
69882 if ac_fn_cxx_try_compile "$LINENO"; then :
69883 glibcxx_mresult=1
69884 else
69885 glibcxx_mresult=0
69887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69889 cat >>confdefs.h <<_ACEOF
69890 #define HAVE_LIMIT_AS $glibcxx_mresult
69891 _ACEOF
69893 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69895 $as_echo "$res" >&6; }
69898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
69899 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
69900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69901 /* end confdefs.h. */
69902 #include <unistd.h>
69903 #include <sys/time.h>
69904 #include <sys/resource.h>
69907 main ()
69909 int f = RLIMIT_FSIZE ;
69911 return 0;
69913 _ACEOF
69914 if ac_fn_cxx_try_compile "$LINENO"; then :
69915 glibcxx_mresult=1
69916 else
69917 glibcxx_mresult=0
69919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69921 cat >>confdefs.h <<_ACEOF
69922 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
69923 _ACEOF
69925 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69927 $as_echo "$res" >&6; }
69930 # Check for rlimit, setrlimit.
69931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
69932 $as_echo_n "checking for testsuite resource limits support... " >&6; }
69933 if ${glibcxx_cv_setrlimit+:} false; then :
69934 $as_echo_n "(cached) " >&6
69935 else
69937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69938 /* end confdefs.h. */
69939 #include <unistd.h>
69940 #include <sys/time.h>
69941 #include <sys/resource.h>
69944 main ()
69946 struct rlimit r;
69947 setrlimit(0, &r);
69949 return 0;
69951 _ACEOF
69952 if ac_fn_cxx_try_compile "$LINENO"; then :
69953 glibcxx_cv_setrlimit=yes
69954 else
69955 glibcxx_cv_setrlimit=no
69957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
69961 $as_echo "$glibcxx_cv_setrlimit" >&6; }
69963 if test $glibcxx_cv_setrlimit = yes; then
69965 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
69969 ac_ext=c
69970 ac_cpp='$CPP $CPPFLAGS'
69971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69977 if $GLIBCXX_IS_NATIVE ; then
69978 # Look for setenv, so that extended locale tests can be performed.
69980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
69981 $as_echo_n "checking for setenv declaration... " >&6; }
69982 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
69983 if ${glibcxx_cv_func_setenv_use+:} false; then :
69984 $as_echo_n "(cached) " >&6
69985 else
69988 ac_ext=cpp
69989 ac_cpp='$CXXCPP $CPPFLAGS'
69990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69995 /* end confdefs.h. */
69996 #include <stdlib.h>
69998 main ()
70000 setenv(0, 0, 0);
70002 return 0;
70004 _ACEOF
70005 if ac_fn_cxx_try_compile "$LINENO"; then :
70006 glibcxx_cv_func_setenv_use=yes
70007 else
70008 glibcxx_cv_func_setenv_use=no
70010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70011 ac_ext=c
70012 ac_cpp='$CPP $CPPFLAGS'
70013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70022 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70023 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70024 for ac_func in setenv
70025 do :
70026 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70027 if test "x$ac_cv_func_setenv" = xyes; then :
70028 cat >>confdefs.h <<_ACEOF
70029 #define HAVE_SETENV 1
70030 _ACEOF
70033 done
70039 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70040 test $enable_symvers != no; then
70041 case "$host" in
70042 *-*-cygwin*)
70043 enable_abi_check=no ;;
70045 enable_abi_check=yes ;;
70046 esac
70047 else
70048 # Only build this as native, since automake does not understand
70049 # CXX_FOR_BUILD.
70050 enable_abi_check=no
70053 # Export file names for ABI checking.
70054 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70056 baseline_subdir_switch="$abi_baseline_subdir_switch"
70060 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70062 # Check whether --enable-libstdcxx-threads was given.
70063 if test "${enable_libstdcxx_threads+set}" = set; then :
70064 enableval=$enable_libstdcxx_threads;
70065 case "$enableval" in
70066 yes|no) ;;
70067 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70068 esac
70070 else
70071 enable_libstdcxx_threads=auto
70076 if test x$enable_libstdcxx_threads = xauto ||
70077 test x$enable_libstdcxx_threads = xyes; then
70080 ac_ext=cpp
70081 ac_cpp='$CXXCPP $CPPFLAGS'
70082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70087 ac_save_CXXFLAGS="$CXXFLAGS"
70088 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70089 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70091 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70092 case $target_thread_file in
70093 posix)
70094 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70095 esac
70097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70098 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h. */
70102 #include <unistd.h>
70104 main ()
70107 // In case of POSIX threads check _POSIX_TIMEOUTS.
70108 #if (defined(_PTHREADS) \
70109 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70110 #error
70111 #endif
70114 return 0;
70116 _ACEOF
70117 if ac_fn_cxx_try_compile "$LINENO"; then :
70118 ac_gthread_use_mutex_timedlock=1
70119 else
70120 ac_gthread_use_mutex_timedlock=0
70122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70125 cat >>confdefs.h <<_ACEOF
70126 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70127 _ACEOF
70130 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
70131 else res_mutex_timedlock=no ; fi
70132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
70133 $as_echo "$res_mutex_timedlock" >&6; }
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
70136 $as_echo_n "checking for gthreads library... " >&6; }
70138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70139 /* end confdefs.h. */
70140 #include "gthr.h"
70142 main ()
70145 #ifndef __GTHREADS_CXX0X
70146 #error
70147 #endif
70150 return 0;
70152 _ACEOF
70153 if ac_fn_cxx_try_compile "$LINENO"; then :
70154 ac_has_gthreads=yes
70155 else
70156 ac_has_gthreads=no
70158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70159 else
70160 ac_has_gthreads=no
70163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
70164 $as_echo "$ac_has_gthreads" >&6; }
70166 if test x"$ac_has_gthreads" = x"yes"; then
70168 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
70171 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
70172 # but only do so if we're using pthread in the gthread library.
70173 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
70174 # but the pthread library is not there by default and the gthread library
70175 # does not use it.
70176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70177 /* end confdefs.h. */
70178 #include "gthr.h"
70180 main ()
70183 #if (!defined(_PTHREADS))
70184 #error
70185 #endif
70188 return 0;
70190 _ACEOF
70191 if ac_fn_cxx_try_compile "$LINENO"; then :
70192 ac_gthread_use_pthreads=yes
70193 else
70194 ac_gthread_use_pthreads=no
70196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70197 if test x"$ac_gthread_use_pthreads" = x"yes"; then
70198 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
70200 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
70202 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
70209 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
70210 if test "x$ac_cv_header_semaphore_h" = xyes; then :
70212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
70213 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
70214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70215 /* end confdefs.h. */
70217 #include <unistd.h>
70218 #include <semaphore.h>
70219 #include <limits.h>
70222 main ()
70225 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
70226 # error "POSIX Timeouts option not supported"
70227 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
70228 # error "POSIX Semaphores option not supported"
70229 #else
70230 #if defined SEM_VALUE_MAX
70231 constexpr int sem_value_max = SEM_VALUE_MAX;
70232 #elif defined _POSIX_SEM_VALUE_MAX
70233 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
70234 #else
70235 # error "SEM_VALUE_MAX not available"
70236 #endif
70237 sem_t sem;
70238 sem_init(&sem, 0, sem_value_max);
70239 struct timespec ts = { 0 };
70240 sem_timedwait(&sem, &ts);
70241 #endif
70244 return 0;
70246 _ACEOF
70247 if ac_fn_cxx_try_compile "$LINENO"; then :
70248 ac_have_posix_semaphore=yes
70249 else
70250 ac_have_posix_semaphore=no
70252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70253 else
70254 ac_have_posix_semaphore=no
70259 if test $ac_have_posix_semaphore = yes ; then
70261 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
70264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
70265 $as_echo "$ac_have_posix_semaphore" >&6; }
70267 CXXFLAGS="$ac_save_CXXFLAGS"
70268 ac_ext=c
70269 ac_cpp='$CPP $CPPFLAGS'
70270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70276 # For Filesystem TS.
70277 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
70278 do :
70279 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70280 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70281 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
70282 cat >>confdefs.h <<_ACEOF
70283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70284 _ACEOF
70288 done
70291 # Check whether --enable-libstdcxx-filesystem-ts was given.
70292 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
70293 enableval=$enable_libstdcxx_filesystem_ts;
70294 case "$enableval" in
70295 yes|no|auto) ;;
70296 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
70297 esac
70299 else
70300 enable_libstdcxx_filesystem_ts=auto
70305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
70306 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
70307 if test x"$ac_cv_header_dirent_h" != x"yes"; then
70308 enable_libstdcxx_filesystem_ts=no
70310 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
70311 case "${target_os}" in
70312 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
70313 enable_libstdcxx_filesystem_ts=yes
70315 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
70316 enable_libstdcxx_filesystem_ts=yes
70318 rtems*)
70319 enable_libstdcxx_filesystem_ts=yes
70321 solaris*)
70322 enable_libstdcxx_filesystem_ts=yes
70324 mingw*)
70325 enable_libstdcxx_filesystem_ts=yes
70328 enable_libstdcxx_filesystem_ts=no
70330 esac
70332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
70333 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
70337 ac_ext=cpp
70338 ac_cpp='$CXXCPP $CPPFLAGS'
70339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70343 ac_save_CXXFLAGS="$CXXFLAGS"
70344 CXXFLAGS="$CXXFLAGS -fno-exceptions"
70345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
70346 $as_echo_n "checking for struct dirent.d_type... " >&6; }
70347 if ${glibcxx_cv_dirent_d_type+:} false; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70350 if test x$gcc_no_link = xyes; then
70351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70352 /* end confdefs.h. */
70353 #include <dirent.h>
70355 main ()
70358 struct dirent d;
70359 if (sizeof d.d_type) return 0;
70362 return 0;
70364 _ACEOF
70365 if ac_fn_cxx_try_compile "$LINENO"; then :
70366 glibcxx_cv_dirent_d_type=yes
70367 else
70368 glibcxx_cv_dirent_d_type=no
70370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70371 else
70372 if test x$gcc_no_link = xyes; then
70373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70376 /* end confdefs.h. */
70377 #include <dirent.h>
70379 main ()
70382 struct dirent d;
70383 if (sizeof d.d_type) return 0;
70386 return 0;
70388 _ACEOF
70389 if ac_fn_cxx_try_link "$LINENO"; then :
70390 glibcxx_cv_dirent_d_type=yes
70391 else
70392 glibcxx_cv_dirent_d_type=no
70394 rm -f core conftest.err conftest.$ac_objext \
70395 conftest$ac_exeext conftest.$ac_ext
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70400 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70401 if test $glibcxx_cv_dirent_d_type = yes; then
70403 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70407 $as_echo_n "checking for realpath... " >&6; }
70408 if ${glibcxx_cv_realpath+:} false; then :
70409 $as_echo_n "(cached) " >&6
70410 else
70411 if test x$gcc_no_link = xyes; then
70412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70413 /* end confdefs.h. */
70415 #include <limits.h>
70416 #include <stdlib.h>
70417 #include <unistd.h>
70420 main ()
70423 #if _XOPEN_VERSION < 500
70424 #error
70425 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70426 char *tmp = realpath((const char*)NULL, (char*)NULL);
70427 #else
70428 #error
70429 #endif
70432 return 0;
70434 _ACEOF
70435 if ac_fn_cxx_try_compile "$LINENO"; then :
70436 glibcxx_cv_realpath=yes
70437 else
70438 glibcxx_cv_realpath=no
70440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70441 else
70442 if test x$gcc_no_link = xyes; then
70443 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70446 /* end confdefs.h. */
70448 #include <limits.h>
70449 #include <stdlib.h>
70450 #include <unistd.h>
70453 main ()
70456 #if _XOPEN_VERSION < 500
70457 #error
70458 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70459 char *tmp = realpath((const char*)NULL, (char*)NULL);
70460 #else
70461 #error
70462 #endif
70465 return 0;
70467 _ACEOF
70468 if ac_fn_cxx_try_link "$LINENO"; then :
70469 glibcxx_cv_realpath=yes
70470 else
70471 glibcxx_cv_realpath=no
70473 rm -f core conftest.err conftest.$ac_objext \
70474 conftest$ac_exeext conftest.$ac_ext
70478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70479 $as_echo "$glibcxx_cv_realpath" >&6; }
70480 if test $glibcxx_cv_realpath = yes; then
70482 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70486 $as_echo_n "checking for utimensat... " >&6; }
70487 if ${glibcxx_cv_utimensat+:} false; then :
70488 $as_echo_n "(cached) " >&6
70489 else
70490 if test x$gcc_no_link = xyes; then
70491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70492 /* end confdefs.h. */
70494 #include <fcntl.h>
70495 #include <sys/stat.h>
70498 main ()
70501 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70502 int i = utimensat(AT_FDCWD, "path", ts, 0);
70505 return 0;
70507 _ACEOF
70508 if ac_fn_cxx_try_compile "$LINENO"; then :
70509 glibcxx_cv_utimensat=yes
70510 else
70511 glibcxx_cv_utimensat=no
70513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70514 else
70515 if test x$gcc_no_link = xyes; then
70516 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70521 #include <fcntl.h>
70522 #include <sys/stat.h>
70525 main ()
70528 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70529 int i = utimensat(AT_FDCWD, "path", ts, 0);
70532 return 0;
70534 _ACEOF
70535 if ac_fn_cxx_try_link "$LINENO"; then :
70536 glibcxx_cv_utimensat=yes
70537 else
70538 glibcxx_cv_utimensat=no
70540 rm -f core conftest.err conftest.$ac_objext \
70541 conftest$ac_exeext conftest.$ac_ext
70545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70546 $as_echo "$glibcxx_cv_utimensat" >&6; }
70547 if test $glibcxx_cv_utimensat = yes; then
70549 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70553 $as_echo_n "checking for utime... " >&6; }
70554 if ${glibcxx_cv_utime+:} false; then :
70555 $as_echo_n "(cached) " >&6
70556 else
70557 if test x$gcc_no_link = xyes; then
70558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70559 /* end confdefs.h. */
70561 #include <utime.h>
70564 main ()
70567 struct utimbuf t = { 1, 1 };
70568 int i = utime("path", &t);
70571 return 0;
70573 _ACEOF
70574 if ac_fn_cxx_try_compile "$LINENO"; then :
70575 glibcxx_cv_utime=yes
70576 else
70577 glibcxx_cv_utime=no
70579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70580 else
70581 if test x$gcc_no_link = xyes; then
70582 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70585 /* end confdefs.h. */
70587 #include <utime.h>
70590 main ()
70593 struct utimbuf t = { 1, 1 };
70594 int i = utime("path", &t);
70597 return 0;
70599 _ACEOF
70600 if ac_fn_cxx_try_link "$LINENO"; then :
70601 glibcxx_cv_utime=yes
70602 else
70603 glibcxx_cv_utime=no
70605 rm -f core conftest.err conftest.$ac_objext \
70606 conftest$ac_exeext conftest.$ac_ext
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70611 $as_echo "$glibcxx_cv_utime" >&6; }
70612 if test $glibcxx_cv_utime = yes; then
70614 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70618 $as_echo_n "checking for lstat... " >&6; }
70619 if ${glibcxx_cv_lstat+:} false; then :
70620 $as_echo_n "(cached) " >&6
70621 else
70622 if test x$gcc_no_link = xyes; then
70623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70624 /* end confdefs.h. */
70625 #include <sys/stat.h>
70627 main ()
70630 struct stat st;
70631 int i = lstat("path", &st);
70634 return 0;
70636 _ACEOF
70637 if ac_fn_cxx_try_compile "$LINENO"; then :
70638 glibcxx_cv_lstat=yes
70639 else
70640 glibcxx_cv_lstat=no
70642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70643 else
70644 if test x$gcc_no_link = xyes; then
70645 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70648 /* end confdefs.h. */
70649 #include <sys/stat.h>
70651 main ()
70654 struct stat st;
70655 int i = lstat("path", &st);
70658 return 0;
70660 _ACEOF
70661 if ac_fn_cxx_try_link "$LINENO"; then :
70662 glibcxx_cv_lstat=yes
70663 else
70664 glibcxx_cv_lstat=no
70666 rm -f core conftest.err conftest.$ac_objext \
70667 conftest$ac_exeext conftest.$ac_ext
70671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70672 $as_echo "$glibcxx_cv_lstat" >&6; }
70673 if test $glibcxx_cv_lstat = yes; then
70675 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70679 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70680 if ${glibcxx_cv_st_mtim+:} false; then :
70681 $as_echo_n "(cached) " >&6
70682 else
70683 if test x$gcc_no_link = xyes; then
70684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70685 /* end confdefs.h. */
70686 #include <sys/stat.h>
70688 main ()
70691 struct stat st;
70692 return st.st_mtim.tv_nsec;
70695 return 0;
70697 _ACEOF
70698 if ac_fn_cxx_try_compile "$LINENO"; then :
70699 glibcxx_cv_st_mtim=yes
70700 else
70701 glibcxx_cv_st_mtim=no
70703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70704 else
70705 if test x$gcc_no_link = xyes; then
70706 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70709 /* end confdefs.h. */
70710 #include <sys/stat.h>
70712 main ()
70715 struct stat st;
70716 return st.st_mtim.tv_nsec;
70719 return 0;
70721 _ACEOF
70722 if ac_fn_cxx_try_link "$LINENO"; then :
70723 glibcxx_cv_st_mtim=yes
70724 else
70725 glibcxx_cv_st_mtim=no
70727 rm -f core conftest.err conftest.$ac_objext \
70728 conftest$ac_exeext conftest.$ac_ext
70732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70733 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70734 if test $glibcxx_cv_st_mtim = yes; then
70736 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70740 $as_echo_n "checking for fchmod... " >&6; }
70741 if ${glibcxx_cv_fchmod+:} false; then :
70742 $as_echo_n "(cached) " >&6
70743 else
70744 if test x$gcc_no_link = xyes; then
70745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70746 /* end confdefs.h. */
70747 #include <sys/stat.h>
70749 main ()
70751 fchmod(1, S_IWUSR);
70753 return 0;
70755 _ACEOF
70756 if ac_fn_cxx_try_compile "$LINENO"; then :
70757 glibcxx_cv_fchmod=yes
70758 else
70759 glibcxx_cv_fchmod=no
70761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70762 else
70763 if test x$gcc_no_link = xyes; then
70764 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70767 /* end confdefs.h. */
70768 #include <sys/stat.h>
70770 main ()
70772 fchmod(1, S_IWUSR);
70774 return 0;
70776 _ACEOF
70777 if ac_fn_cxx_try_link "$LINENO"; then :
70778 glibcxx_cv_fchmod=yes
70779 else
70780 glibcxx_cv_fchmod=no
70782 rm -f core conftest.err conftest.$ac_objext \
70783 conftest$ac_exeext conftest.$ac_ext
70787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70788 $as_echo "$glibcxx_cv_fchmod" >&6; }
70789 if test $glibcxx_cv_fchmod = yes; then
70791 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70795 $as_echo_n "checking for fchmodat... " >&6; }
70796 if ${glibcxx_cv_fchmodat+:} false; then :
70797 $as_echo_n "(cached) " >&6
70798 else
70799 if test x$gcc_no_link = xyes; then
70800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70801 /* end confdefs.h. */
70803 #include <fcntl.h>
70804 #include <sys/stat.h>
70807 main ()
70809 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70811 return 0;
70813 _ACEOF
70814 if ac_fn_cxx_try_compile "$LINENO"; then :
70815 glibcxx_cv_fchmodat=yes
70816 else
70817 glibcxx_cv_fchmodat=no
70819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70820 else
70821 if test x$gcc_no_link = xyes; then
70822 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70825 /* end confdefs.h. */
70827 #include <fcntl.h>
70828 #include <sys/stat.h>
70831 main ()
70833 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70835 return 0;
70837 _ACEOF
70838 if ac_fn_cxx_try_link "$LINENO"; then :
70839 glibcxx_cv_fchmodat=yes
70840 else
70841 glibcxx_cv_fchmodat=no
70843 rm -f core conftest.err conftest.$ac_objext \
70844 conftest$ac_exeext conftest.$ac_ext
70848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
70849 $as_echo "$glibcxx_cv_fchmodat" >&6; }
70850 if test $glibcxx_cv_fchmodat = yes; then
70852 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
70855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
70856 $as_echo_n "checking for sendfile that can copy files... " >&6; }
70857 if ${glibcxx_cv_sendfile+:} false; then :
70858 $as_echo_n "(cached) " >&6
70859 else
70860 case "${target_os}" in
70861 gnu* | linux* | solaris* | uclinux*)
70862 if test x$gcc_no_link = xyes; then
70863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70864 /* end confdefs.h. */
70865 #include <sys/sendfile.h>
70867 main ()
70869 sendfile(1, 2, (off_t*)0, sizeof 1);
70871 return 0;
70873 _ACEOF
70874 if ac_fn_cxx_try_compile "$LINENO"; then :
70875 glibcxx_cv_sendfile=yes
70876 else
70877 glibcxx_cv_sendfile=no
70879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70880 else
70881 if test x$gcc_no_link = xyes; then
70882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70885 /* end confdefs.h. */
70886 #include <sys/sendfile.h>
70888 main ()
70890 sendfile(1, 2, (off_t*)0, sizeof 1);
70892 return 0;
70894 _ACEOF
70895 if ac_fn_cxx_try_link "$LINENO"; then :
70896 glibcxx_cv_sendfile=yes
70897 else
70898 glibcxx_cv_sendfile=no
70900 rm -f core conftest.err conftest.$ac_objext \
70901 conftest$ac_exeext conftest.$ac_ext
70905 glibcxx_cv_sendfile=no
70907 esac
70910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
70911 $as_echo "$glibcxx_cv_sendfile" >&6; }
70912 if test $glibcxx_cv_sendfile = yes; then
70914 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
70917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
70918 $as_echo_n "checking for link... " >&6; }
70919 if ${glibcxx_cv_link+:} false; then :
70920 $as_echo_n "(cached) " >&6
70921 else
70922 if test x$gcc_no_link = xyes; then
70923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70924 /* end confdefs.h. */
70925 #include <unistd.h>
70927 main ()
70929 link("", "");
70931 return 0;
70933 _ACEOF
70934 if ac_fn_cxx_try_compile "$LINENO"; then :
70935 glibcxx_cv_link=yes
70936 else
70937 glibcxx_cv_link=no
70939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70940 else
70941 if test x$gcc_no_link = xyes; then
70942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70945 /* end confdefs.h. */
70946 #include <unistd.h>
70948 main ()
70950 link("", "");
70952 return 0;
70954 _ACEOF
70955 if ac_fn_cxx_try_link "$LINENO"; then :
70956 glibcxx_cv_link=yes
70957 else
70958 glibcxx_cv_link=no
70960 rm -f core conftest.err conftest.$ac_objext \
70961 conftest$ac_exeext conftest.$ac_ext
70965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
70966 $as_echo "$glibcxx_cv_link" >&6; }
70967 if test $glibcxx_cv_link = yes; then
70969 $as_echo "#define HAVE_LINK 1" >>confdefs.h
70972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
70973 $as_echo_n "checking for readlink... " >&6; }
70974 if ${glibcxx_cv_readlink+:} false; then :
70975 $as_echo_n "(cached) " >&6
70976 else
70977 if test x$gcc_no_link = xyes; then
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980 #include <unistd.h>
70982 main ()
70984 char buf[32]; readlink("", buf, sizeof(buf));
70986 return 0;
70988 _ACEOF
70989 if ac_fn_cxx_try_compile "$LINENO"; then :
70990 glibcxx_cv_readlink=yes
70991 else
70992 glibcxx_cv_readlink=no
70994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70995 else
70996 if test x$gcc_no_link = xyes; then
70997 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71000 /* end confdefs.h. */
71001 #include <unistd.h>
71003 main ()
71005 char buf[32]; readlink("", buf, sizeof(buf));
71007 return 0;
71009 _ACEOF
71010 if ac_fn_cxx_try_link "$LINENO"; then :
71011 glibcxx_cv_readlink=yes
71012 else
71013 glibcxx_cv_readlink=no
71015 rm -f core conftest.err conftest.$ac_objext \
71016 conftest$ac_exeext conftest.$ac_ext
71020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
71021 $as_echo "$glibcxx_cv_readlink" >&6; }
71022 if test $glibcxx_cv_readlink = yes; then
71024 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
71027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
71028 $as_echo_n "checking for symlink... " >&6; }
71029 if ${glibcxx_cv_symlink+:} false; then :
71030 $as_echo_n "(cached) " >&6
71031 else
71032 if test x$gcc_no_link = xyes; then
71033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71034 /* end confdefs.h. */
71035 #include <unistd.h>
71037 main ()
71039 symlink("", "");
71041 return 0;
71043 _ACEOF
71044 if ac_fn_cxx_try_compile "$LINENO"; then :
71045 glibcxx_cv_symlink=yes
71046 else
71047 glibcxx_cv_symlink=no
71049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71050 else
71051 if test x$gcc_no_link = xyes; then
71052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71055 /* end confdefs.h. */
71056 #include <unistd.h>
71058 main ()
71060 symlink("", "");
71062 return 0;
71064 _ACEOF
71065 if ac_fn_cxx_try_link "$LINENO"; then :
71066 glibcxx_cv_symlink=yes
71067 else
71068 glibcxx_cv_symlink=no
71070 rm -f core conftest.err conftest.$ac_objext \
71071 conftest$ac_exeext conftest.$ac_ext
71075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
71076 $as_echo "$glibcxx_cv_symlink" >&6; }
71077 if test $glibcxx_cv_symlink = yes; then
71079 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
71082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
71083 $as_echo_n "checking for truncate... " >&6; }
71084 if ${glibcxx_cv_truncate+:} false; then :
71085 $as_echo_n "(cached) " >&6
71086 else
71087 if test x$gcc_no_link = xyes; then
71088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71089 /* end confdefs.h. */
71090 #include <unistd.h>
71092 main ()
71094 truncate("", 99);
71096 return 0;
71098 _ACEOF
71099 if ac_fn_cxx_try_compile "$LINENO"; then :
71100 glibcxx_cv_truncate=yes
71101 else
71102 glibcxx_cv_truncate=no
71104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71105 else
71106 if test x$gcc_no_link = xyes; then
71107 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71110 /* end confdefs.h. */
71111 #include <unistd.h>
71113 main ()
71115 truncate("", 99);
71117 return 0;
71119 _ACEOF
71120 if ac_fn_cxx_try_link "$LINENO"; then :
71121 glibcxx_cv_truncate=yes
71122 else
71123 glibcxx_cv_truncate=no
71125 rm -f core conftest.err conftest.$ac_objext \
71126 conftest$ac_exeext conftest.$ac_ext
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
71131 $as_echo "$glibcxx_cv_truncate" >&6; }
71132 if test $glibcxx_cv_truncate = yes; then
71134 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
71137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
71138 $as_echo_n "checking for fdopendir... " >&6; }
71139 if ${glibcxx_cv_fdopendir+:} false; then :
71140 $as_echo_n "(cached) " >&6
71141 else
71142 if test x$gcc_no_link = xyes; then
71143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71144 /* end confdefs.h. */
71145 #include <dirent.h>
71147 main ()
71149 ::DIR* dir = ::fdopendir(1);
71151 return 0;
71153 _ACEOF
71154 if ac_fn_cxx_try_compile "$LINENO"; then :
71155 glibcxx_cv_fdopendir=yes
71156 else
71157 glibcxx_cv_fdopendir=no
71159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71160 else
71161 if test x$gcc_no_link = xyes; then
71162 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71165 /* end confdefs.h. */
71166 #include <dirent.h>
71168 main ()
71170 ::DIR* dir = ::fdopendir(1);
71172 return 0;
71174 _ACEOF
71175 if ac_fn_cxx_try_link "$LINENO"; then :
71176 glibcxx_cv_fdopendir=yes
71177 else
71178 glibcxx_cv_fdopendir=no
71180 rm -f core conftest.err conftest.$ac_objext \
71181 conftest$ac_exeext conftest.$ac_ext
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
71186 $as_echo "$glibcxx_cv_fdopendir" >&6; }
71187 if test $glibcxx_cv_fdopendir = yes; then
71189 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
71192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
71193 $as_echo_n "checking for dirfd... " >&6; }
71194 if ${glibcxx_cv_dirfd+:} false; then :
71195 $as_echo_n "(cached) " >&6
71196 else
71197 if test x$gcc_no_link = xyes; then
71198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71199 /* end confdefs.h. */
71200 #include <dirent.h>
71202 main ()
71204 int fd = ::dirfd((::DIR*)0);
71206 return 0;
71208 _ACEOF
71209 if ac_fn_cxx_try_compile "$LINENO"; then :
71210 glibcxx_cv_dirfd=yes
71211 else
71212 glibcxx_cv_dirfd=no
71214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71215 else
71216 if test x$gcc_no_link = xyes; then
71217 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71220 /* end confdefs.h. */
71221 #include <dirent.h>
71223 main ()
71225 int fd = ::dirfd((::DIR*)0);
71227 return 0;
71229 _ACEOF
71230 if ac_fn_cxx_try_link "$LINENO"; then :
71231 glibcxx_cv_dirfd=yes
71232 else
71233 glibcxx_cv_dirfd=no
71235 rm -f core conftest.err conftest.$ac_objext \
71236 conftest$ac_exeext conftest.$ac_ext
71240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
71241 $as_echo "$glibcxx_cv_dirfd" >&6; }
71242 if test $glibcxx_cv_dirfd = yes; then
71244 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
71247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
71248 $as_echo_n "checking for openat... " >&6; }
71249 if ${glibcxx_cv_openat+:} false; then :
71250 $as_echo_n "(cached) " >&6
71251 else
71252 if test x$gcc_no_link = xyes; then
71253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71254 /* end confdefs.h. */
71255 #include <fcntl.h>
71257 main ()
71259 int fd = ::openat(AT_FDCWD, "", 0);
71261 return 0;
71263 _ACEOF
71264 if ac_fn_cxx_try_compile "$LINENO"; then :
71265 glibcxx_cv_openat=yes
71266 else
71267 glibcxx_cv_openat=no
71269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71270 else
71271 if test x$gcc_no_link = xyes; then
71272 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71275 /* end confdefs.h. */
71276 #include <fcntl.h>
71278 main ()
71280 int fd = ::openat(AT_FDCWD, "", 0);
71282 return 0;
71284 _ACEOF
71285 if ac_fn_cxx_try_link "$LINENO"; then :
71286 glibcxx_cv_openat=yes
71287 else
71288 glibcxx_cv_openat=no
71290 rm -f core conftest.err conftest.$ac_objext \
71291 conftest$ac_exeext conftest.$ac_ext
71295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
71296 $as_echo "$glibcxx_cv_openat" >&6; }
71297 if test $glibcxx_cv_openat = yes; then
71299 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
71302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
71303 $as_echo_n "checking for unlinkat... " >&6; }
71304 if ${glibcxx_cv_unlinkat+:} false; then :
71305 $as_echo_n "(cached) " >&6
71306 else
71307 if test x$gcc_no_link = xyes; then
71308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71309 /* end confdefs.h. */
71310 #include <fcntl.h>
71311 #include <unistd.h>
71313 main ()
71315 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71317 return 0;
71319 _ACEOF
71320 if ac_fn_cxx_try_compile "$LINENO"; then :
71321 glibcxx_cv_unlinkat=yes
71322 else
71323 glibcxx_cv_unlinkat=no
71325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71326 else
71327 if test x$gcc_no_link = xyes; then
71328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71331 /* end confdefs.h. */
71332 #include <fcntl.h>
71333 #include <unistd.h>
71335 main ()
71337 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71339 return 0;
71341 _ACEOF
71342 if ac_fn_cxx_try_link "$LINENO"; then :
71343 glibcxx_cv_unlinkat=yes
71344 else
71345 glibcxx_cv_unlinkat=no
71347 rm -f core conftest.err conftest.$ac_objext \
71348 conftest$ac_exeext conftest.$ac_ext
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
71353 $as_echo "$glibcxx_cv_unlinkat" >&6; }
71354 if test $glibcxx_cv_unlinkat = yes; then
71356 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
71359 CXXFLAGS="$ac_save_CXXFLAGS"
71360 ac_ext=c
71361 ac_cpp='$CPP $CPPFLAGS'
71362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71369 # Check whether --enable-libstdcxx-backtrace was given.
71370 if test "${enable_libstdcxx_backtrace+set}" = set; then :
71371 enableval=$enable_libstdcxx_backtrace;
71372 case "$enableval" in
71373 yes|no|auto) ;;
71374 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
71375 esac
71377 else
71378 enable_libstdcxx_backtrace=auto
71383 # Most of this is adapted from libsanitizer/configure.ac
71385 BACKTRACE_CPPFLAGS=
71387 # libbacktrace only needs atomics for int, which we've already tested
71388 if test "$glibcxx_cv_atomic_int" = "yes"; then
71389 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71392 # Test for __sync support.
71393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71394 $as_echo_n "checking __sync extensions... " >&6; }
71395 if ${glibcxx_cv_sys_sync+:} false; then :
71396 $as_echo_n "(cached) " >&6
71397 else
71398 if test x$gcc_no_link = xyes; then
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 int i;
71403 main ()
71405 __sync_bool_compare_and_swap (&i, i, i);
71406 __sync_lock_test_and_set (&i, 1);
71407 __sync_lock_release (&i);
71409 return 0;
71411 _ACEOF
71412 if ac_fn_c_try_compile "$LINENO"; then :
71413 glibcxx_cv_sys_sync=yes
71414 else
71415 glibcxx_cv_sys_sync=no
71417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71418 else
71419 if test x$gcc_no_link = xyes; then
71420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71423 /* end confdefs.h. */
71424 int i;
71426 main ()
71428 __sync_bool_compare_and_swap (&i, i, i);
71429 __sync_lock_test_and_set (&i, 1);
71430 __sync_lock_release (&i);
71432 return 0;
71434 _ACEOF
71435 if ac_fn_c_try_link "$LINENO"; then :
71436 glibcxx_cv_sys_sync=yes
71437 else
71438 glibcxx_cv_sys_sync=no
71440 rm -f core conftest.err conftest.$ac_objext \
71441 conftest$ac_exeext conftest.$ac_ext
71445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71446 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71447 if test "$glibcxx_cv_sys_sync" = "yes"; then
71448 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71451 # Check for dl_iterate_phdr.
71452 for ac_header in link.h
71453 do :
71454 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71455 if test "x$ac_cv_header_link_h" = xyes; then :
71456 cat >>confdefs.h <<_ACEOF
71457 #define HAVE_LINK_H 1
71458 _ACEOF
71462 done
71464 if test "$ac_cv_header_link_h" = "no"; then
71465 have_dl_iterate_phdr=no
71466 else
71467 # When built as a GCC target library, we can't do a link test.
71468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71469 /* end confdefs.h. */
71470 #include <link.h>
71472 _ACEOF
71473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71474 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71475 have_dl_iterate_phdr=yes
71476 else
71477 have_dl_iterate_phdr=no
71479 rm -f conftest*
71482 if test "$have_dl_iterate_phdr" = "yes"; then
71483 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71486 # Check for the fcntl function.
71487 if test -n "${with_target_subdir}"; then
71488 case "${host}" in
71489 *-*-mingw*) have_fcntl=no ;;
71490 *) have_fcntl=yes ;;
71491 esac
71492 else
71493 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71494 if test "x$ac_cv_func_fcntl" = xyes; then :
71495 have_fcntl=yes
71496 else
71497 have_fcntl=no
71501 if test "$have_fcntl" = "yes"; then
71502 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71505 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71506 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71507 ac_have_decl=1
71508 else
71509 ac_have_decl=0
71512 cat >>confdefs.h <<_ACEOF
71513 #define HAVE_DECL_STRNLEN $ac_have_decl
71514 _ACEOF
71517 # Check for getexecname function.
71518 if test -n "${with_target_subdir}"; then
71519 case "${host}" in
71520 *-*-solaris2*) have_getexecname=yes ;;
71521 *) have_getexecname=no ;;
71522 esac
71523 else
71524 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71525 if test "x$ac_cv_func_getexecname" = xyes; then :
71526 have_getexecname=yes
71527 else
71528 have_getexecname=no
71532 if test "$have_getexecname" = "yes"; then
71533 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71536 # The library needs to be able to read the executable itself. Compile
71537 # a file to determine the executable format. The awk script
71538 # filetype.awk prints out the file type.
71539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71540 $as_echo_n "checking output filetype... " >&6; }
71541 if ${glibcxx_cv_sys_filetype+:} false; then :
71542 $as_echo_n "(cached) " >&6
71543 else
71544 filetype=
71545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71546 /* end confdefs.h. */
71547 int i;
71549 main ()
71551 int j;
71553 return 0;
71555 _ACEOF
71556 if ac_fn_c_try_compile "$LINENO"; then :
71557 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71558 else
71559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71561 as_fn_error $? "compiler failed
71562 See \`config.log' for more details" "$LINENO" 5; }
71564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71565 glibcxx_cv_sys_filetype=$filetype
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71568 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71570 # Match the file type to decide what files to compile.
71571 FORMAT_FILE=
71572 case "$glibcxx_cv_sys_filetype" in
71573 elf*) FORMAT_FILE="elf.lo" ;;
71574 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71575 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71576 FORMAT_FILE="unknown.lo"
71577 enable_libstdcxx_backtrace=no
71579 esac
71582 # ELF defines.
71583 elfsize=
71584 case "$glibcxx_cv_sys_filetype" in
71585 elf32) elfsize=32 ;;
71586 elf64) elfsize=64 ;;
71587 esac
71588 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71591 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71592 if test "$enable_libstdcxx_backtrace" = "auto"; then
71593 enable_libstdcxx_backtrace=no
71595 if test "$enable_libstdcxx_backtrace" = "yes"; then
71596 BACKTRACE_SUPPORTED=1
71598 for ac_header in sys/mman.h
71599 do :
71600 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71601 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71602 cat >>confdefs.h <<_ACEOF
71603 #define HAVE_SYS_MMAN_H 1
71604 _ACEOF
71608 done
71610 case "${host}" in
71611 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71612 have_mmap=no ;;
71613 *-*-*)
71614 have_mmap="$ac_cv_header_sys_mman_h" ;;
71615 esac
71617 if test "$have_mmap" = "no"; then
71618 VIEW_FILE=read.lo
71619 ALLOC_FILE=alloc.lo
71620 else
71621 VIEW_FILE=mmapio.lo
71622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71623 /* end confdefs.h. */
71625 #include <sys/mman.h>
71626 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71627 #error no MAP_ANONYMOUS
71628 #endif
71630 _ACEOF
71631 if ac_fn_c_try_cpp "$LINENO"; then :
71632 ALLOC_FILE=mmap.lo
71633 else
71634 ALLOC_FILE=alloc.lo
71636 rm -f conftest.err conftest.i conftest.$ac_ext
71641 BACKTRACE_USES_MALLOC=0
71642 if test "$ALLOC_FILE" = "alloc.lo"; then
71643 BACKTRACE_USES_MALLOC=1
71646 if test "$ac_has_gthreads" = "yes"; then
71647 BACKTRACE_SUPPORTS_THREADS=1
71648 else
71649 BACKTRACE_SUPPORTS_THREADS=0
71656 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71658 else
71659 BACKTRACE_SUPPORTED=0
71660 BACKTRACE_USES_MALLOC=0
71661 BACKTRACE_SUPPORTS_THREADS=0
71663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71664 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71668 # For Networking TS.
71669 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
71670 do :
71671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71672 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71673 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71674 cat >>confdefs.h <<_ACEOF
71675 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71676 _ACEOF
71680 done
71682 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71684 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71688 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71690 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71694 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71695 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71697 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71703 # For Transactional Memory TS
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71706 $as_echo_n "checking how size_t is mangled... " >&6; }
71707 if ${glibcxx_cv_size_t_mangling+:} false; then :
71708 $as_echo_n "(cached) " >&6
71709 else
71711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71712 /* end confdefs.h. */
71715 main ()
71717 extern __SIZE_TYPE__ x; extern unsigned long x;
71719 return 0;
71721 _ACEOF
71722 if ac_fn_c_try_compile "$LINENO"; then :
71723 glibcxx_cv_size_t_mangling=m
71724 else
71726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71727 /* end confdefs.h. */
71730 main ()
71732 extern __SIZE_TYPE__ x; extern unsigned int x;
71734 return 0;
71736 _ACEOF
71737 if ac_fn_c_try_compile "$LINENO"; then :
71738 glibcxx_cv_size_t_mangling=j
71739 else
71741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71742 /* end confdefs.h. */
71745 main ()
71747 extern __SIZE_TYPE__ x; extern unsigned long long x;
71749 return 0;
71751 _ACEOF
71752 if ac_fn_c_try_compile "$LINENO"; then :
71753 glibcxx_cv_size_t_mangling=y
71754 else
71756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71757 /* end confdefs.h. */
71760 main ()
71762 extern __SIZE_TYPE__ x; extern unsigned short x;
71764 return 0;
71766 _ACEOF
71767 if ac_fn_c_try_compile "$LINENO"; then :
71768 glibcxx_cv_size_t_mangling=t
71769 else
71771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71772 /* end confdefs.h. */
71775 main ()
71777 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
71779 return 0;
71781 _ACEOF
71782 if ac_fn_c_try_compile "$LINENO"; then :
71783 glibcxx_cv_size_t_mangling=u6uint20
71784 else
71785 glibcxx_cv_size_t_mangling=x
71787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
71803 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
71804 if test $glibcxx_cv_size_t_mangling = x; then
71805 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
71808 cat >>confdefs.h <<_ACEOF
71809 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
71810 _ACEOF
71814 # Check which release added std::exception_ptr for the target
71816 if test $enable_symvers != no; then
71817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
71818 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
71819 case ${target} in
71820 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
71821 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
71822 ac_exception_ptr_since_gcc46=yes
71825 # If the value of this macro changes then we will need to hardcode
71826 # yes/no here for additional targets based on the original value.
71827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71828 /* end confdefs.h. */
71831 main ()
71834 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
71835 # error atomic int not always lock free
71836 #endif
71839 return 0;
71841 _ACEOF
71842 if ac_fn_c_try_compile "$LINENO"; then :
71843 ac_exception_ptr_since_gcc46=yes
71844 else
71845 ac_exception_ptr_since_gcc46=no
71847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71849 esac
71850 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
71852 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
71854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
71855 $as_echo "4.6.0" >&6; }
71856 else
71857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
71858 $as_echo "7.1.0" >&6; }
71863 # Define documentation rules conditionally.
71865 # See if makeinfo has been installed and is modern enough
71866 # that we can use it.
71868 # Extract the first word of "makeinfo", so it can be a program name with args.
71869 set dummy makeinfo; ac_word=$2
71870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71871 $as_echo_n "checking for $ac_word... " >&6; }
71872 if ${ac_cv_prog_MAKEINFO+:} false; then :
71873 $as_echo_n "(cached) " >&6
71874 else
71875 if test -n "$MAKEINFO"; then
71876 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71877 else
71878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71879 for as_dir in $PATH
71881 IFS=$as_save_IFS
71882 test -z "$as_dir" && as_dir=.
71883 for ac_exec_ext in '' $ac_executable_extensions; do
71884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71885 ac_cv_prog_MAKEINFO="makeinfo"
71886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71887 break 2
71889 done
71890 done
71891 IFS=$as_save_IFS
71895 MAKEINFO=$ac_cv_prog_MAKEINFO
71896 if test -n "$MAKEINFO"; then
71897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71898 $as_echo "$MAKEINFO" >&6; }
71899 else
71900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71901 $as_echo "no" >&6; }
71905 if test -n "$MAKEINFO"; then
71906 # Found it, now check the version.
71907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71908 $as_echo_n "checking for modern makeinfo... " >&6; }
71909 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
71910 $as_echo_n "(cached) " >&6
71911 else
71912 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71913 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71915 case $ac_prog_version in
71916 '') gcc_cv_prog_makeinfo_modern=no;;
71917 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71918 *) gcc_cv_prog_makeinfo_modern=no;;
71919 esac
71922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71923 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71924 else
71925 gcc_cv_prog_makeinfo_modern=no
71927 if test $gcc_cv_prog_makeinfo_modern = no; then
71928 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71931 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71932 BUILD_INFO_TRUE=
71933 BUILD_INFO_FALSE='#'
71934 else
71935 BUILD_INFO_TRUE='#'
71936 BUILD_INFO_FALSE=
71940 # Check for doxygen
71941 # Extract the first word of "doxygen", so it can be a program name with args.
71942 set dummy doxygen; ac_word=$2
71943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71944 $as_echo_n "checking for $ac_word... " >&6; }
71945 if ${ac_cv_prog_DOXYGEN+:} false; then :
71946 $as_echo_n "(cached) " >&6
71947 else
71948 if test -n "$DOXYGEN"; then
71949 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71950 else
71951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71952 for as_dir in $PATH
71954 IFS=$as_save_IFS
71955 test -z "$as_dir" && as_dir=.
71956 for ac_exec_ext in '' $ac_executable_extensions; do
71957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71958 ac_cv_prog_DOXYGEN="yes"
71959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71960 break 2
71962 done
71963 done
71964 IFS=$as_save_IFS
71966 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71969 DOXYGEN=$ac_cv_prog_DOXYGEN
71970 if test -n "$DOXYGEN"; then
71971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71972 $as_echo "$DOXYGEN" >&6; }
71973 else
71974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71975 $as_echo "no" >&6; }
71979 # Extract the first word of "dot", so it can be a program name with args.
71980 set dummy dot; ac_word=$2
71981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71982 $as_echo_n "checking for $ac_word... " >&6; }
71983 if ${ac_cv_prog_DOT+:} false; then :
71984 $as_echo_n "(cached) " >&6
71985 else
71986 if test -n "$DOT"; then
71987 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71988 else
71989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71990 for as_dir in $PATH
71992 IFS=$as_save_IFS
71993 test -z "$as_dir" && as_dir=.
71994 for ac_exec_ext in '' $ac_executable_extensions; do
71995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71996 ac_cv_prog_DOT="yes"
71997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71998 break 2
72000 done
72001 done
72002 IFS=$as_save_IFS
72004 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72007 DOT=$ac_cv_prog_DOT
72008 if test -n "$DOT"; then
72009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72010 $as_echo "$DOT" >&6; }
72011 else
72012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72013 $as_echo "no" >&6; }
72018 # Check for docbook
72019 # Extract the first word of "xmlcatalog", so it can be a program name with args.
72020 set dummy xmlcatalog; ac_word=$2
72021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72022 $as_echo_n "checking for $ac_word... " >&6; }
72023 if ${ac_cv_prog_XMLCATALOG+:} false; then :
72024 $as_echo_n "(cached) " >&6
72025 else
72026 if test -n "$XMLCATALOG"; then
72027 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
72028 else
72029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72030 for as_dir in $PATH
72032 IFS=$as_save_IFS
72033 test -z "$as_dir" && as_dir=.
72034 for ac_exec_ext in '' $ac_executable_extensions; do
72035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72036 ac_cv_prog_XMLCATALOG="yes"
72037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72038 break 2
72040 done
72041 done
72042 IFS=$as_save_IFS
72044 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
72047 XMLCATALOG=$ac_cv_prog_XMLCATALOG
72048 if test -n "$XMLCATALOG"; then
72049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
72050 $as_echo "$XMLCATALOG" >&6; }
72051 else
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72053 $as_echo "no" >&6; }
72057 # Extract the first word of "xsltproc", so it can be a program name with args.
72058 set dummy xsltproc; ac_word=$2
72059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72060 $as_echo_n "checking for $ac_word... " >&6; }
72061 if ${ac_cv_prog_XSLTPROC+:} false; then :
72062 $as_echo_n "(cached) " >&6
72063 else
72064 if test -n "$XSLTPROC"; then
72065 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72066 else
72067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72068 for as_dir in $PATH
72070 IFS=$as_save_IFS
72071 test -z "$as_dir" && as_dir=.
72072 for ac_exec_ext in '' $ac_executable_extensions; do
72073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72074 ac_cv_prog_XSLTPROC="yes"
72075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72076 break 2
72078 done
72079 done
72080 IFS=$as_save_IFS
72082 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72085 XSLTPROC=$ac_cv_prog_XSLTPROC
72086 if test -n "$XSLTPROC"; then
72087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72088 $as_echo "$XSLTPROC" >&6; }
72089 else
72090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72091 $as_echo "no" >&6; }
72095 # Extract the first word of "xmllint", so it can be a program name with args.
72096 set dummy xmllint; ac_word=$2
72097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72098 $as_echo_n "checking for $ac_word... " >&6; }
72099 if ${ac_cv_prog_XMLLINT+:} false; then :
72100 $as_echo_n "(cached) " >&6
72101 else
72102 if test -n "$XMLLINT"; then
72103 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72104 else
72105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72106 for as_dir in $PATH
72108 IFS=$as_save_IFS
72109 test -z "$as_dir" && as_dir=.
72110 for ac_exec_ext in '' $ac_executable_extensions; do
72111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72112 ac_cv_prog_XMLLINT="yes"
72113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72114 break 2
72116 done
72117 done
72118 IFS=$as_save_IFS
72120 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72123 XMLLINT=$ac_cv_prog_XMLLINT
72124 if test -n "$XMLLINT"; then
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72126 $as_echo "$XMLLINT" >&6; }
72127 else
72128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72129 $as_echo "no" >&6; }
72135 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
72137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72138 $as_echo_n "checking for local stylesheet directory... " >&6; }
72139 glibcxx_local_stylesheets=no
72140 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
72141 then
72142 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
72143 glibcxx_local_stylesheets=yes
72144 else
72145 for dir in \
72146 /usr/share/sgml/docbook/xsl-ns-stylesheets \
72147 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
72148 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
72149 /usr/share/xml/docbook/stylesheet/nwalsh/current
72151 if test -d $dir; then
72152 glibcxx_local_stylesheets=yes
72153 XSL_STYLE_DIR=$dir
72154 break
72156 done
72158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72159 $as_echo "$glibcxx_local_stylesheets" >&6; }
72161 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72163 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72164 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72167 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72168 glibcxx_stylesheets=no
72169 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
72170 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
72171 glibcxx_stylesheets=yes
72174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72175 $as_echo "$glibcxx_stylesheets" >&6; }
72177 else
72178 glibcxx_stylesheets=no
72181 # Check for epub3 dependencies.
72182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72183 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72184 glibcxx_epub_stylesheets=no
72185 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72186 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72187 glibcxx_epub_stylesheets=yes
72190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72191 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72192 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72193 BUILD_EPUB_TRUE=
72194 BUILD_EPUB_FALSE='#'
72195 else
72196 BUILD_EPUB_TRUE='#'
72197 BUILD_EPUB_FALSE=
72203 # Check for xml/html dependencies.
72204 if test $ac_cv_prog_DOXYGEN = "yes" &&
72205 test $ac_cv_prog_DOT = "yes" &&
72206 test $ac_cv_prog_XSLTPROC = "yes" &&
72207 test $ac_cv_prog_XMLLINT = "yes" &&
72208 test $glibcxx_stylesheets = "yes"; then
72209 BUILD_XML_TRUE=
72210 BUILD_XML_FALSE='#'
72211 else
72212 BUILD_XML_TRUE='#'
72213 BUILD_XML_FALSE=
72217 if test $ac_cv_prog_DOXYGEN = "yes" &&
72218 test $ac_cv_prog_DOT = "yes" &&
72219 test $ac_cv_prog_XSLTPROC = "yes" &&
72220 test $ac_cv_prog_XMLLINT = "yes" &&
72221 test $glibcxx_stylesheets = "yes"; then
72222 BUILD_HTML_TRUE=
72223 BUILD_HTML_FALSE='#'
72224 else
72225 BUILD_HTML_TRUE='#'
72226 BUILD_HTML_FALSE=
72230 # Check for man dependencies.
72231 if test $ac_cv_prog_DOXYGEN = "yes" &&
72232 test $ac_cv_prog_DOT = "yes"; then
72233 BUILD_MAN_TRUE=
72234 BUILD_MAN_FALSE='#'
72235 else
72236 BUILD_MAN_TRUE='#'
72237 BUILD_MAN_FALSE=
72241 # Check for pdf dependencies.
72242 # Extract the first word of "dblatex", so it can be a program name with args.
72243 set dummy dblatex; ac_word=$2
72244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72245 $as_echo_n "checking for $ac_word... " >&6; }
72246 if ${ac_cv_prog_DBLATEX+:} false; then :
72247 $as_echo_n "(cached) " >&6
72248 else
72249 if test -n "$DBLATEX"; then
72250 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72251 else
72252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72253 for as_dir in $PATH
72255 IFS=$as_save_IFS
72256 test -z "$as_dir" && as_dir=.
72257 for ac_exec_ext in '' $ac_executable_extensions; do
72258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72259 ac_cv_prog_DBLATEX="yes"
72260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72261 break 2
72263 done
72264 done
72265 IFS=$as_save_IFS
72267 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72270 DBLATEX=$ac_cv_prog_DBLATEX
72271 if test -n "$DBLATEX"; then
72272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72273 $as_echo "$DBLATEX" >&6; }
72274 else
72275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72276 $as_echo "no" >&6; }
72280 # Extract the first word of "pdflatex", so it can be a program name with args.
72281 set dummy pdflatex; ac_word=$2
72282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72283 $as_echo_n "checking for $ac_word... " >&6; }
72284 if ${ac_cv_prog_PDFLATEX+:} false; then :
72285 $as_echo_n "(cached) " >&6
72286 else
72287 if test -n "$PDFLATEX"; then
72288 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72289 else
72290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72291 for as_dir in $PATH
72293 IFS=$as_save_IFS
72294 test -z "$as_dir" && as_dir=.
72295 for ac_exec_ext in '' $ac_executable_extensions; do
72296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72297 ac_cv_prog_PDFLATEX="yes"
72298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72299 break 2
72301 done
72302 done
72303 IFS=$as_save_IFS
72305 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72308 PDFLATEX=$ac_cv_prog_PDFLATEX
72309 if test -n "$PDFLATEX"; then
72310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72311 $as_echo "$PDFLATEX" >&6; }
72312 else
72313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72314 $as_echo "no" >&6; }
72318 if test $ac_cv_prog_DOXYGEN = "yes" &&
72319 test $ac_cv_prog_DOT = "yes" &&
72320 test $ac_cv_prog_XSLTPROC = "yes" &&
72321 test $ac_cv_prog_XMLLINT = "yes" &&
72322 test $ac_cv_prog_DBLATEX = "yes" &&
72323 test $ac_cv_prog_PDFLATEX = "yes"; then
72324 BUILD_PDF_TRUE=
72325 BUILD_PDF_FALSE='#'
72326 else
72327 BUILD_PDF_TRUE='#'
72328 BUILD_PDF_FALSE=
72332 case "$build" in
72333 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72334 * ) glibcxx_include_dir_notparallel=no ;;
72335 esac
72336 if test $glibcxx_include_dir_notparallel = "yes"; then
72337 INCLUDE_DIR_NOTPARALLEL_TRUE=
72338 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72339 else
72340 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72341 INCLUDE_DIR_NOTPARALLEL_FALSE=
72345 # Propagate the target-specific source directories through the build chain.
72346 ATOMICITY_SRCDIR=config/${atomicity_dir}
72347 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72348 ATOMIC_FLAGS=${atomic_flags}
72349 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72350 OS_INC_SRCDIR=config/${os_include_dir}
72351 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72352 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72353 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72354 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72365 # Conditionalize the makefile for this target machine.
72366 tmake_file_=
72367 for f in ${tmake_file}
72369 if test -f ${srcdir}/config/$f
72370 then
72371 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72373 done
72374 tmake_file="${tmake_file_}"
72377 # Add CET specific flags if Intel CET is enabled.
72378 # Check whether --enable-cet was given.
72379 if test "${enable_cet+set}" = set; then :
72380 enableval=$enable_cet;
72381 case "$enableval" in
72382 yes|no|auto) ;;
72383 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72384 esac
72386 else
72387 enable_cet=auto
72391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72392 $as_echo_n "checking for CET support... " >&6; }
72394 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72395 case "$host" in
72396 i[34567]86-*-linux* | x86_64-*-linux*)
72397 case "$enable_cet" in
72398 auto)
72399 # Check if target supports multi-byte NOPs
72400 # and if compiler and assembler support CET insn.
72401 cet_save_CFLAGS="$CFLAGS"
72402 CFLAGS="$CFLAGS -fcf-protection"
72403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72404 /* end confdefs.h. */
72407 main ()
72410 #if !defined(__SSE2__)
72411 #error target does not support multi-byte NOPs
72412 #else
72413 asm ("setssbsy");
72414 #endif
72417 return 0;
72419 _ACEOF
72420 if ac_fn_c_try_compile "$LINENO"; then :
72421 enable_cet=yes
72422 else
72423 enable_cet=no
72425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72426 CFLAGS="$cet_save_CFLAGS"
72428 yes)
72429 # Check if assembler supports CET.
72430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72431 /* end confdefs.h. */
72434 main ()
72436 asm ("setssbsy");
72438 return 0;
72440 _ACEOF
72441 if ac_fn_c_try_compile "$LINENO"; then :
72443 else
72444 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72448 esac
72451 enable_cet=no
72453 esac
72454 if test x$enable_cet = xyes; then
72455 CET_FLAGS="-fcf-protection -mshstk"
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72457 $as_echo "yes" >&6; }
72458 else
72459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72460 $as_echo "no" >&6; }
72463 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72464 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72468 # Determine cross-compile flags and AM_CONDITIONALs.
72469 #AC_SUBST(GLIBCXX_IS_NATIVE)
72470 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72471 if test $is_hosted = yes; then
72472 GLIBCXX_HOSTED_TRUE=
72473 GLIBCXX_HOSTED_FALSE='#'
72474 else
72475 GLIBCXX_HOSTED_TRUE='#'
72476 GLIBCXX_HOSTED_FALSE=
72480 if test $enable_libstdcxx_pch = yes; then
72481 GLIBCXX_BUILD_PCH_TRUE=
72482 GLIBCXX_BUILD_PCH_FALSE='#'
72483 else
72484 GLIBCXX_BUILD_PCH_TRUE='#'
72485 GLIBCXX_BUILD_PCH_FALSE=
72489 if test $enable_float128 = yes; then
72490 ENABLE_FLOAT128_TRUE=
72491 ENABLE_FLOAT128_FALSE='#'
72492 else
72493 ENABLE_FLOAT128_TRUE='#'
72494 ENABLE_FLOAT128_FALSE=
72498 if test $enable_libstdcxx_allocator_flag = new; then
72499 ENABLE_ALLOCATOR_NEW_TRUE=
72500 ENABLE_ALLOCATOR_NEW_FALSE='#'
72501 else
72502 ENABLE_ALLOCATOR_NEW_TRUE='#'
72503 ENABLE_ALLOCATOR_NEW_FALSE=
72507 if test $enable_cheaders = c; then
72508 GLIBCXX_C_HEADERS_C_TRUE=
72509 GLIBCXX_C_HEADERS_C_FALSE='#'
72510 else
72511 GLIBCXX_C_HEADERS_C_TRUE='#'
72512 GLIBCXX_C_HEADERS_C_FALSE=
72516 if test $enable_cheaders = c_std; then
72517 GLIBCXX_C_HEADERS_C_STD_TRUE=
72518 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72519 else
72520 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72521 GLIBCXX_C_HEADERS_C_STD_FALSE=
72525 if test $enable_cheaders = c_global; then
72526 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72527 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72528 else
72529 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72530 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72534 if test $c_compatibility = yes; then
72535 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72536 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72537 else
72538 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72539 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72543 if test $enable_libstdcxx_debug = yes; then
72544 GLIBCXX_BUILD_DEBUG_TRUE=
72545 GLIBCXX_BUILD_DEBUG_FALSE='#'
72546 else
72547 GLIBCXX_BUILD_DEBUG_TRUE='#'
72548 GLIBCXX_BUILD_DEBUG_FALSE=
72552 if test $enable_extern_template = yes; then
72553 ENABLE_EXTERN_TEMPLATE_TRUE=
72554 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72555 else
72556 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72557 ENABLE_EXTERN_TEMPLATE_FALSE=
72561 if test $python_mod_dir != no; then
72562 ENABLE_PYTHONDIR_TRUE=
72563 ENABLE_PYTHONDIR_FALSE='#'
72564 else
72565 ENABLE_PYTHONDIR_TRUE='#'
72566 ENABLE_PYTHONDIR_FALSE=
72570 if test $enable_werror = yes; then
72571 ENABLE_WERROR_TRUE=
72572 ENABLE_WERROR_FALSE='#'
72573 else
72574 ENABLE_WERROR_TRUE='#'
72575 ENABLE_WERROR_FALSE=
72579 if test $enable_vtable_verify = yes; then
72580 ENABLE_VTABLE_VERIFY_TRUE=
72581 ENABLE_VTABLE_VERIFY_FALSE='#'
72582 else
72583 ENABLE_VTABLE_VERIFY_TRUE='#'
72584 ENABLE_VTABLE_VERIFY_FALSE=
72588 if test $enable_symvers != no; then
72589 ENABLE_SYMVERS_TRUE=
72590 ENABLE_SYMVERS_FALSE='#'
72591 else
72592 ENABLE_SYMVERS_TRUE='#'
72593 ENABLE_SYMVERS_FALSE=
72597 if test $enable_symvers = gnu; then
72598 ENABLE_SYMVERS_GNU_TRUE=
72599 ENABLE_SYMVERS_GNU_FALSE='#'
72600 else
72601 ENABLE_SYMVERS_GNU_TRUE='#'
72602 ENABLE_SYMVERS_GNU_FALSE=
72606 if test $enable_symvers = gnu-versioned-namespace; then
72607 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72608 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72609 else
72610 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72611 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72615 if test $enable_symvers = darwin; then
72616 ENABLE_SYMVERS_DARWIN_TRUE=
72617 ENABLE_SYMVERS_DARWIN_FALSE='#'
72618 else
72619 ENABLE_SYMVERS_DARWIN_TRUE='#'
72620 ENABLE_SYMVERS_DARWIN_FALSE=
72624 if test $enable_symvers = sun; then
72625 ENABLE_SYMVERS_SUN_TRUE=
72626 ENABLE_SYMVERS_SUN_FALSE='#'
72627 else
72628 ENABLE_SYMVERS_SUN_TRUE='#'
72629 ENABLE_SYMVERS_SUN_FALSE=
72633 if test $enable_libstdcxx_visibility = yes; then
72634 ENABLE_VISIBILITY_TRUE=
72635 ENABLE_VISIBILITY_FALSE='#'
72636 else
72637 ENABLE_VISIBILITY_TRUE='#'
72638 ENABLE_VISIBILITY_FALSE=
72642 if test $enable_libstdcxx_dual_abi = yes; then
72643 ENABLE_DUAL_ABI_TRUE=
72644 ENABLE_DUAL_ABI_FALSE='#'
72645 else
72646 ENABLE_DUAL_ABI_TRUE='#'
72647 ENABLE_DUAL_ABI_FALSE=
72651 if test $glibcxx_cxx11_abi = 1; then
72652 ENABLE_CXX11_ABI_TRUE=
72653 ENABLE_CXX11_ABI_FALSE='#'
72654 else
72655 ENABLE_CXX11_ABI_TRUE='#'
72656 ENABLE_CXX11_ABI_FALSE=
72660 if test $ac_ldbl_compat = yes; then
72661 GLIBCXX_LDBL_COMPAT_TRUE=
72662 GLIBCXX_LDBL_COMPAT_FALSE='#'
72663 else
72664 GLIBCXX_LDBL_COMPAT_TRUE='#'
72665 GLIBCXX_LDBL_COMPAT_FALSE=
72669 if test $ac_ldbl_alt128_compat = yes; then
72670 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
72671 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
72672 else
72673 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
72674 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
72678 if test $enable_libstdcxx_filesystem_ts = yes; then
72679 ENABLE_FILESYSTEM_TS_TRUE=
72680 ENABLE_FILESYSTEM_TS_FALSE='#'
72681 else
72682 ENABLE_FILESYSTEM_TS_TRUE='#'
72683 ENABLE_FILESYSTEM_TS_FALSE=
72687 if test "$enable_libstdcxx_backtrace" = yes; then
72688 ENABLE_BACKTRACE_TRUE=
72689 ENABLE_BACKTRACE_FALSE='#'
72690 else
72691 ENABLE_BACKTRACE_TRUE='#'
72692 ENABLE_BACKTRACE_FALSE=
72698 cat >confcache <<\_ACEOF
72699 # This file is a shell script that caches the results of configure
72700 # tests run on this system so they can be shared between configure
72701 # scripts and configure runs, see configure's option --config-cache.
72702 # It is not useful on other systems. If it contains results you don't
72703 # want to keep, you may remove or edit it.
72705 # config.status only pays attention to the cache file if you give it
72706 # the --recheck option to rerun configure.
72708 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72709 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72710 # following values.
72712 _ACEOF
72714 # The following way of writing the cache mishandles newlines in values,
72715 # but we know of no workaround that is simple, portable, and efficient.
72716 # So, we kill variables containing newlines.
72717 # Ultrix sh set writes to stderr and can't be redirected directly,
72718 # and sets the high bit in the cache file unless we assign to the vars.
72720 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72721 eval ac_val=\$$ac_var
72722 case $ac_val in #(
72723 *${as_nl}*)
72724 case $ac_var in #(
72725 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72726 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72727 esac
72728 case $ac_var in #(
72729 _ | IFS | as_nl) ;; #(
72730 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72731 *) { eval $ac_var=; unset $ac_var;} ;;
72732 esac ;;
72733 esac
72734 done
72736 (set) 2>&1 |
72737 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72738 *${as_nl}ac_space=\ *)
72739 # `set' does not quote correctly, so add quotes: double-quote
72740 # substitution turns \\\\ into \\, and sed turns \\ into \.
72741 sed -n \
72742 "s/'/'\\\\''/g;
72743 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72744 ;; #(
72746 # `set' quotes correctly as required by POSIX, so do not add quotes.
72747 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72749 esac |
72750 sort
72752 sed '
72753 /^ac_cv_env_/b end
72754 t clear
72755 :clear
72756 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72757 t end
72758 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72759 :end' >>confcache
72760 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72761 if test -w "$cache_file"; then
72762 if test "x$cache_file" != "x/dev/null"; then
72763 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72764 $as_echo "$as_me: updating cache $cache_file" >&6;}
72765 if test ! -f "$cache_file" || test -h "$cache_file"; then
72766 cat confcache >"$cache_file"
72767 else
72768 case $cache_file in #(
72769 */* | ?:*)
72770 mv -f confcache "$cache_file"$$ &&
72771 mv -f "$cache_file"$$ "$cache_file" ;; #(
72773 mv -f confcache "$cache_file" ;;
72774 esac
72777 else
72778 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72782 rm -f confcache
72784 if test ${multilib} = yes; then
72785 multilib_arg="--enable-multilib"
72786 else
72787 multilib_arg=
72790 # Export all the install information.
72792 glibcxx_toolexecdir=no
72793 glibcxx_toolexeclibdir=no
72794 glibcxx_prefixdir=$prefix
72796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72797 $as_echo_n "checking for gxx-include-dir... " >&6; }
72799 # Check whether --with-gxx-include-dir was given.
72800 if test "${with_gxx_include_dir+set}" = set; then :
72801 withval=$with_gxx_include_dir; case "$withval" in
72802 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72803 no) gxx_include_dir=no ;;
72804 *) gxx_include_dir=$withval ;;
72805 esac
72806 else
72807 gxx_include_dir=no
72810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72811 $as_echo "$gxx_include_dir" >&6; }
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72814 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72815 # Check whether --enable-version-specific-runtime-libs was given.
72816 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72817 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72818 yes) version_specific_libs=yes ;;
72819 no) version_specific_libs=no ;;
72820 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72821 esac
72822 else
72823 version_specific_libs=no
72826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72827 $as_echo "$version_specific_libs" >&6; }
72830 # Check whether --with-toolexeclibdir was given.
72831 if test "${with_toolexeclibdir+set}" = set; then :
72832 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
72836 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
72838 esac
72839 else
72840 with_toolexeclibdir=no
72845 # Default case for install directory for include files.
72846 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72847 gxx_include_dir='include/c++/${gcc_version}'
72848 if test -n "$with_cross_host" &&
72849 test x"$with_cross_host" != x"no"; then
72850 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72851 else
72852 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72856 # Version-specific runtime libs processing.
72857 if test $version_specific_libs = yes; then
72858 # Need the gcc compiler version to know where to install libraries
72859 # and header files if --enable-version-specific-runtime-libs option
72860 # is selected. FIXME: these variables are misnamed, there are
72861 # no executables installed in _toolexecdir or _toolexeclibdir.
72862 if test x"$gxx_include_dir" = x"no"; then
72863 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72865 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72866 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72869 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72870 # Install a library built with a cross compiler in tooldir, not libdir.
72871 if test x"$glibcxx_toolexecdir" = x"no"; then
72872 if test -n "$with_cross_host" &&
72873 test x"$with_cross_host" != x"no"; then
72874 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72875 case ${with_toolexeclibdir} in
72877 glibcxx_toolexeclibdir='${toolexecdir}/lib'
72880 glibcxx_toolexeclibdir=${with_toolexeclibdir}
72882 esac
72883 else
72884 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72885 glibcxx_toolexeclibdir='${libdir}'
72887 multi_os_directory=`$CXX -print-multi-os-directory`
72888 case $multi_os_directory in
72889 .) ;; # Avoid trailing /.
72890 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72891 esac
72894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72895 $as_echo_n "checking for install location... " >&6; }
72896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72897 $as_echo "$gxx_include_dir" >&6; }
72905 # Export all the include and flag information to Makefiles.
72907 # Used for every C++ compile we perform.
72908 GLIBCXX_INCLUDES="\
72909 -I$glibcxx_builddir/include/$host_alias \
72910 -I$glibcxx_builddir/include \
72911 -I$glibcxx_srcdir/libsupc++"
72913 # For Canadian crosses, pick this up too.
72914 if test $CANADIAN = yes; then
72915 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72918 # Stuff in the actual top level. Currently only used by libsupc++ to
72919 # get unwind* headers from the libgcc dir.
72920 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72921 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72923 # Now, export this to all the little Makefiles....
72928 # Optimization flags that are probably a good idea for thrill-seekers. Just
72929 # uncomment the lines below and make, everything else is ready to go...
72930 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72931 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72934 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
72938 # Determine what GCC version number to use in filesystem paths.
72940 get_gcc_base_ver="cat"
72942 # Check whether --with-gcc-major-version-only was given.
72943 if test "${with_gcc_major_version_only+set}" = set; then :
72944 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
72945 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
72953 ac_config_files="$ac_config_files Makefile"
72955 ac_config_files="$ac_config_files scripts/testsuite_flags"
72957 ac_config_files="$ac_config_files scripts/extract_symvers"
72959 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72961 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
72964 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72965 # that multilib installs will end up installed in the correct place.
72966 # The testsuite needs it for multilib-aware ABI baseline files.
72967 # To work around this not being passed down from config-ml.in ->
72968 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72969 # append it here. Only modify Makefiles that have just been created.
72971 # Also, get rid of this simulated-VPATH thing that automake does.
72972 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
72975 ac_config_commands="$ac_config_commands generate-headers"
72978 cat >confcache <<\_ACEOF
72979 # This file is a shell script that caches the results of configure
72980 # tests run on this system so they can be shared between configure
72981 # scripts and configure runs, see configure's option --config-cache.
72982 # It is not useful on other systems. If it contains results you don't
72983 # want to keep, you may remove or edit it.
72985 # config.status only pays attention to the cache file if you give it
72986 # the --recheck option to rerun configure.
72988 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72989 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72990 # following values.
72992 _ACEOF
72994 # The following way of writing the cache mishandles newlines in values,
72995 # but we know of no workaround that is simple, portable, and efficient.
72996 # So, we kill variables containing newlines.
72997 # Ultrix sh set writes to stderr and can't be redirected directly,
72998 # and sets the high bit in the cache file unless we assign to the vars.
73000 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73001 eval ac_val=\$$ac_var
73002 case $ac_val in #(
73003 *${as_nl}*)
73004 case $ac_var in #(
73005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73007 esac
73008 case $ac_var in #(
73009 _ | IFS | as_nl) ;; #(
73010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73011 *) { eval $ac_var=; unset $ac_var;} ;;
73012 esac ;;
73013 esac
73014 done
73016 (set) 2>&1 |
73017 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73018 *${as_nl}ac_space=\ *)
73019 # `set' does not quote correctly, so add quotes: double-quote
73020 # substitution turns \\\\ into \\, and sed turns \\ into \.
73021 sed -n \
73022 "s/'/'\\\\''/g;
73023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73024 ;; #(
73026 # `set' quotes correctly as required by POSIX, so do not add quotes.
73027 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73029 esac |
73030 sort
73032 sed '
73033 /^ac_cv_env_/b end
73034 t clear
73035 :clear
73036 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73037 t end
73038 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73039 :end' >>confcache
73040 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73041 if test -w "$cache_file"; then
73042 if test "x$cache_file" != "x/dev/null"; then
73043 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73044 $as_echo "$as_me: updating cache $cache_file" >&6;}
73045 if test ! -f "$cache_file" || test -h "$cache_file"; then
73046 cat confcache >"$cache_file"
73047 else
73048 case $cache_file in #(
73049 */* | ?:*)
73050 mv -f confcache "$cache_file"$$ &&
73051 mv -f "$cache_file"$$ "$cache_file" ;; #(
73053 mv -f confcache "$cache_file" ;;
73054 esac
73057 else
73058 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73059 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73062 rm -f confcache
73064 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73065 # Let make expand exec_prefix.
73066 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73068 DEFS=-DHAVE_CONFIG_H
73070 ac_libobjs=
73071 ac_ltlibobjs=
73073 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73074 # 1. Remove the extension, and $U if already installed.
73075 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73076 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73077 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73078 # will be set to the directory where LIBOBJS objects are built.
73079 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73080 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73081 done
73082 LIBOBJS=$ac_libobjs
73084 LTLIBOBJS=$ac_ltlibobjs
73087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
73088 $as_echo_n "checking that generated files are newer than configure... " >&6; }
73089 if test -n "$am_sleep_pid"; then
73090 # Hide warnings about reused PIDs.
73091 wait $am_sleep_pid 2>/dev/null
73093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
73094 $as_echo "done" >&6; }
73095 if test -n "$EXEEXT"; then
73096 am__EXEEXT_TRUE=
73097 am__EXEEXT_FALSE='#'
73098 else
73099 am__EXEEXT_TRUE='#'
73100 am__EXEEXT_FALSE=
73103 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73104 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
73105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73107 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73108 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
73109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73111 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73112 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73115 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
73116 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
73117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73119 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
73120 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
73121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73123 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73124 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73127 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73128 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73131 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73132 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73135 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73136 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73139 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73140 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73143 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73144 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73147 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73148 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
73149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73151 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73152 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
73153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73155 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
73156 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
73157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73159 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73160 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73163 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73164 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
73165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73167 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73168 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73171 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73172 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73175 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73176 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73179 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73180 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73183 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73184 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
73185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73187 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
73188 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
73189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73191 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
73192 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
73193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73195 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73196 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73199 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
73200 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
73201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73203 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
73204 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
73205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73207 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
73208 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
73209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73211 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73212 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
73213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73215 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73216 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
73217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73219 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73220 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
73221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73223 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73224 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
73225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73227 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73228 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
73229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73231 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73232 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
73233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73235 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73236 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73240 : "${CONFIG_STATUS=./config.status}"
73241 ac_write_fail=0
73242 ac_clean_files_save=$ac_clean_files
73243 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73244 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73245 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73246 as_write_fail=0
73247 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73248 #! $SHELL
73249 # Generated by $as_me.
73250 # Run this file to recreate the current configuration.
73251 # Compiler output produced by configure, useful for debugging
73252 # configure, is in config.log if it exists.
73254 debug=false
73255 ac_cs_recheck=false
73256 ac_cs_silent=false
73258 SHELL=\${CONFIG_SHELL-$SHELL}
73259 export SHELL
73260 _ASEOF
73261 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73262 ## -------------------- ##
73263 ## M4sh Initialization. ##
73264 ## -------------------- ##
73266 # Be more Bourne compatible
73267 DUALCASE=1; export DUALCASE # for MKS sh
73268 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73269 emulate sh
73270 NULLCMD=:
73271 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73272 # is contrary to our usage. Disable this feature.
73273 alias -g '${1+"$@"}'='"$@"'
73274 setopt NO_GLOB_SUBST
73275 else
73276 case `(set -o) 2>/dev/null` in #(
73277 *posix*) :
73278 set -o posix ;; #(
73279 *) :
73281 esac
73285 as_nl='
73287 export as_nl
73288 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73289 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73290 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73291 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73292 # Prefer a ksh shell builtin over an external printf program on Solaris,
73293 # but without wasting forks for bash or zsh.
73294 if test -z "$BASH_VERSION$ZSH_VERSION" \
73295 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73296 as_echo='print -r --'
73297 as_echo_n='print -rn --'
73298 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73299 as_echo='printf %s\n'
73300 as_echo_n='printf %s'
73301 else
73302 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73303 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73304 as_echo_n='/usr/ucb/echo -n'
73305 else
73306 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73307 as_echo_n_body='eval
73308 arg=$1;
73309 case $arg in #(
73310 *"$as_nl"*)
73311 expr "X$arg" : "X\\(.*\\)$as_nl";
73312 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73313 esac;
73314 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73316 export as_echo_n_body
73317 as_echo_n='sh -c $as_echo_n_body as_echo'
73319 export as_echo_body
73320 as_echo='sh -c $as_echo_body as_echo'
73323 # The user is always right.
73324 if test "${PATH_SEPARATOR+set}" != set; then
73325 PATH_SEPARATOR=:
73326 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73327 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73328 PATH_SEPARATOR=';'
73333 # IFS
73334 # We need space, tab and new line, in precisely that order. Quoting is
73335 # there to prevent editors from complaining about space-tab.
73336 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73337 # splitting by setting IFS to empty value.)
73338 IFS=" "" $as_nl"
73340 # Find who we are. Look in the path if we contain no directory separator.
73341 as_myself=
73342 case $0 in #((
73343 *[\\/]* ) as_myself=$0 ;;
73344 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73345 for as_dir in $PATH
73347 IFS=$as_save_IFS
73348 test -z "$as_dir" && as_dir=.
73349 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73350 done
73351 IFS=$as_save_IFS
73354 esac
73355 # We did not find ourselves, most probably we were run as `sh COMMAND'
73356 # in which case we are not to be found in the path.
73357 if test "x$as_myself" = x; then
73358 as_myself=$0
73360 if test ! -f "$as_myself"; then
73361 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73362 exit 1
73365 # Unset variables that we do not need and which cause bugs (e.g. in
73366 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73367 # suppresses any "Segmentation fault" message there. '((' could
73368 # trigger a bug in pdksh 5.2.14.
73369 for as_var in BASH_ENV ENV MAIL MAILPATH
73370 do eval test x\${$as_var+set} = xset \
73371 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73372 done
73373 PS1='$ '
73374 PS2='> '
73375 PS4='+ '
73377 # NLS nuisances.
73378 LC_ALL=C
73379 export LC_ALL
73380 LANGUAGE=C
73381 export LANGUAGE
73383 # CDPATH.
73384 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73387 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73388 # ----------------------------------------
73389 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73390 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73391 # script with STATUS, using 1 if that was 0.
73392 as_fn_error ()
73394 as_status=$1; test $as_status -eq 0 && as_status=1
73395 if test "$4"; then
73396 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73397 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73399 $as_echo "$as_me: error: $2" >&2
73400 as_fn_exit $as_status
73401 } # as_fn_error
73404 # as_fn_set_status STATUS
73405 # -----------------------
73406 # Set $? to STATUS, without forking.
73407 as_fn_set_status ()
73409 return $1
73410 } # as_fn_set_status
73412 # as_fn_exit STATUS
73413 # -----------------
73414 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73415 as_fn_exit ()
73417 set +e
73418 as_fn_set_status $1
73419 exit $1
73420 } # as_fn_exit
73422 # as_fn_unset VAR
73423 # ---------------
73424 # Portably unset VAR.
73425 as_fn_unset ()
73427 { eval $1=; unset $1;}
73429 as_unset=as_fn_unset
73430 # as_fn_append VAR VALUE
73431 # ----------------------
73432 # Append the text in VALUE to the end of the definition contained in VAR. Take
73433 # advantage of any shell optimizations that allow amortized linear growth over
73434 # repeated appends, instead of the typical quadratic growth present in naive
73435 # implementations.
73436 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73437 eval 'as_fn_append ()
73439 eval $1+=\$2
73441 else
73442 as_fn_append ()
73444 eval $1=\$$1\$2
73446 fi # as_fn_append
73448 # as_fn_arith ARG...
73449 # ------------------
73450 # Perform arithmetic evaluation on the ARGs, and store the result in the
73451 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73452 # must be portable across $(()) and expr.
73453 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73454 eval 'as_fn_arith ()
73456 as_val=$(( $* ))
73458 else
73459 as_fn_arith ()
73461 as_val=`expr "$@" || test $? -eq 1`
73463 fi # as_fn_arith
73466 if expr a : '\(a\)' >/dev/null 2>&1 &&
73467 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73468 as_expr=expr
73469 else
73470 as_expr=false
73473 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73474 as_basename=basename
73475 else
73476 as_basename=false
73479 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73480 as_dirname=dirname
73481 else
73482 as_dirname=false
73485 as_me=`$as_basename -- "$0" ||
73486 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73487 X"$0" : 'X\(//\)$' \| \
73488 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73489 $as_echo X/"$0" |
73490 sed '/^.*\/\([^/][^/]*\)\/*$/{
73491 s//\1/
73494 /^X\/\(\/\/\)$/{
73495 s//\1/
73498 /^X\/\(\/\).*/{
73499 s//\1/
73502 s/.*/./; q'`
73504 # Avoid depending upon Character Ranges.
73505 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73506 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73507 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73508 as_cr_digits='0123456789'
73509 as_cr_alnum=$as_cr_Letters$as_cr_digits
73511 ECHO_C= ECHO_N= ECHO_T=
73512 case `echo -n x` in #(((((
73513 -n*)
73514 case `echo 'xy\c'` in
73515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73516 xy) ECHO_C='\c';;
73517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73518 ECHO_T=' ';;
73519 esac;;
73521 ECHO_N='-n';;
73522 esac
73524 rm -f conf$$ conf$$.exe conf$$.file
73525 if test -d conf$$.dir; then
73526 rm -f conf$$.dir/conf$$.file
73527 else
73528 rm -f conf$$.dir
73529 mkdir conf$$.dir 2>/dev/null
73531 if (echo >conf$$.file) 2>/dev/null; then
73532 if ln -s conf$$.file conf$$ 2>/dev/null; then
73533 as_ln_s='ln -s'
73534 # ... but there are two gotchas:
73535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73537 # In both cases, we have to default to `cp -pR'.
73538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73539 as_ln_s='cp -pR'
73540 elif ln conf$$.file conf$$ 2>/dev/null; then
73541 as_ln_s=ln
73542 else
73543 as_ln_s='cp -pR'
73545 else
73546 as_ln_s='cp -pR'
73548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73549 rmdir conf$$.dir 2>/dev/null
73552 # as_fn_mkdir_p
73553 # -------------
73554 # Create "$as_dir" as a directory, including parents if necessary.
73555 as_fn_mkdir_p ()
73558 case $as_dir in #(
73559 -*) as_dir=./$as_dir;;
73560 esac
73561 test -d "$as_dir" || eval $as_mkdir_p || {
73562 as_dirs=
73563 while :; do
73564 case $as_dir in #(
73565 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73566 *) as_qdir=$as_dir;;
73567 esac
73568 as_dirs="'$as_qdir' $as_dirs"
73569 as_dir=`$as_dirname -- "$as_dir" ||
73570 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73571 X"$as_dir" : 'X\(//\)[^/]' \| \
73572 X"$as_dir" : 'X\(//\)$' \| \
73573 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73574 $as_echo X"$as_dir" |
73575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73576 s//\1/
73579 /^X\(\/\/\)[^/].*/{
73580 s//\1/
73583 /^X\(\/\/\)$/{
73584 s//\1/
73587 /^X\(\/\).*/{
73588 s//\1/
73591 s/.*/./; q'`
73592 test -d "$as_dir" && break
73593 done
73594 test -z "$as_dirs" || eval "mkdir $as_dirs"
73595 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
73598 } # as_fn_mkdir_p
73599 if mkdir -p . 2>/dev/null; then
73600 as_mkdir_p='mkdir -p "$as_dir"'
73601 else
73602 test -d ./-p && rmdir ./-p
73603 as_mkdir_p=false
73607 # as_fn_executable_p FILE
73608 # -----------------------
73609 # Test if FILE is an executable regular file.
73610 as_fn_executable_p ()
73612 test -f "$1" && test -x "$1"
73613 } # as_fn_executable_p
73614 as_test_x='test -x'
73615 as_executable_p=as_fn_executable_p
73617 # Sed expression to map a string onto a valid CPP name.
73618 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73620 # Sed expression to map a string onto a valid variable name.
73621 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73624 exec 6>&1
73625 ## ----------------------------------- ##
73626 ## Main body of $CONFIG_STATUS script. ##
73627 ## ----------------------------------- ##
73628 _ASEOF
73629 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73632 # Save the log message, to keep $0 and so on meaningful, and to
73633 # report actual input values of CONFIG_FILES etc. instead of their
73634 # values after options handling.
73635 ac_log="
73636 This file was extended by package-unused $as_me version-unused, which was
73637 generated by GNU Autoconf 2.69. Invocation command line was
73639 CONFIG_FILES = $CONFIG_FILES
73640 CONFIG_HEADERS = $CONFIG_HEADERS
73641 CONFIG_LINKS = $CONFIG_LINKS
73642 CONFIG_COMMANDS = $CONFIG_COMMANDS
73643 $ $0 $@
73645 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73648 _ACEOF
73650 case $ac_config_files in *"
73651 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73652 esac
73654 case $ac_config_headers in *"
73655 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73656 esac
73659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73660 # Files that config.status was made for.
73661 config_files="$ac_config_files"
73662 config_headers="$ac_config_headers"
73663 config_commands="$ac_config_commands"
73665 _ACEOF
73667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73668 ac_cs_usage="\
73669 \`$as_me' instantiates files and other configuration actions
73670 from templates according to the current configuration. Unless the files
73671 and actions are specified as TAGs, all are instantiated by default.
73673 Usage: $0 [OPTION]... [TAG]...
73675 -h, --help print this help, then exit
73676 -V, --version print version number and configuration settings, then exit
73677 --config print configuration, then exit
73678 -q, --quiet, --silent
73679 do not print progress messages
73680 -d, --debug don't remove temporary files
73681 --recheck update $as_me by reconfiguring in the same conditions
73682 --file=FILE[:TEMPLATE]
73683 instantiate the configuration file FILE
73684 --header=FILE[:TEMPLATE]
73685 instantiate the configuration header FILE
73687 Configuration files:
73688 $config_files
73690 Configuration headers:
73691 $config_headers
73693 Configuration commands:
73694 $config_commands
73696 Report bugs to the package provider."
73698 _ACEOF
73699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73700 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
73701 ac_cs_version="\\
73702 package-unused config.status version-unused
73703 configured by $0, generated by GNU Autoconf 2.69,
73704 with options \\"\$ac_cs_config\\"
73706 Copyright (C) 2012 Free Software Foundation, Inc.
73707 This config.status script is free software; the Free Software Foundation
73708 gives unlimited permission to copy, distribute and modify it."
73710 ac_pwd='$ac_pwd'
73711 srcdir='$srcdir'
73712 INSTALL='$INSTALL'
73713 MKDIR_P='$MKDIR_P'
73714 AWK='$AWK'
73715 test -n "\$AWK" || AWK=awk
73716 _ACEOF
73718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73719 # The default lists apply if the user does not specify any file.
73720 ac_need_defaults=:
73721 while test $# != 0
73723 case $1 in
73724 --*=?*)
73725 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73726 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73727 ac_shift=:
73729 --*=)
73730 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73731 ac_optarg=
73732 ac_shift=:
73735 ac_option=$1
73736 ac_optarg=$2
73737 ac_shift=shift
73739 esac
73741 case $ac_option in
73742 # Handling of the options.
73743 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73744 ac_cs_recheck=: ;;
73745 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73746 $as_echo "$ac_cs_version"; exit ;;
73747 --config | --confi | --conf | --con | --co | --c )
73748 $as_echo "$ac_cs_config"; exit ;;
73749 --debug | --debu | --deb | --de | --d | -d )
73750 debug=: ;;
73751 --file | --fil | --fi | --f )
73752 $ac_shift
73753 case $ac_optarg in
73754 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73755 '') as_fn_error $? "missing file argument" ;;
73756 esac
73757 as_fn_append CONFIG_FILES " '$ac_optarg'"
73758 ac_need_defaults=false;;
73759 --header | --heade | --head | --hea )
73760 $ac_shift
73761 case $ac_optarg in
73762 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73763 esac
73764 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73765 ac_need_defaults=false;;
73766 --he | --h)
73767 # Conflict between --help and --header
73768 as_fn_error $? "ambiguous option: \`$1'
73769 Try \`$0 --help' for more information.";;
73770 --help | --hel | -h )
73771 $as_echo "$ac_cs_usage"; exit ;;
73772 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73773 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73774 ac_cs_silent=: ;;
73776 # This is an error.
73777 -*) as_fn_error $? "unrecognized option: \`$1'
73778 Try \`$0 --help' for more information." ;;
73780 *) as_fn_append ac_config_targets " $1"
73781 ac_need_defaults=false ;;
73783 esac
73784 shift
73785 done
73787 ac_configure_extra_args=
73789 if $ac_cs_silent; then
73790 exec 6>/dev/null
73791 ac_configure_extra_args="$ac_configure_extra_args --silent"
73794 _ACEOF
73795 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73796 if \$ac_cs_recheck; then
73797 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73798 shift
73799 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73800 CONFIG_SHELL='$SHELL'
73801 export CONFIG_SHELL
73802 exec "\$@"
73805 _ACEOF
73806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73807 exec 5>>config.log
73809 echo
73810 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73811 ## Running $as_me. ##
73812 _ASBOX
73813 $as_echo "$ac_log"
73814 } >&5
73816 _ACEOF
73817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73819 # INIT-COMMANDS
73822 srcdir="$srcdir"
73823 host="$host"
73824 target="$target"
73825 with_multisubdir="$with_multisubdir"
73826 with_multisrctop="$with_multisrctop"
73827 with_target_subdir="$with_target_subdir"
73828 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73829 multi_basedir="$multi_basedir"
73830 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73831 CC="$CC"
73832 CXX="$CXX"
73833 GFORTRAN="$GFORTRAN"
73834 GDC="$GDC"
73837 # The HP-UX ksh and POSIX shell print the target directory to stdout
73838 # if CDPATH is set.
73839 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73841 sed_quote_subst='$sed_quote_subst'
73842 double_quote_subst='$double_quote_subst'
73843 delay_variable_subst='$delay_variable_subst'
73844 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73845 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73846 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73847 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73848 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73849 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73850 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73851 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73852 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73853 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73854 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73855 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73856 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73857 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73858 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73859 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73860 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73861 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73862 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73863 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73864 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73865 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73866 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73867 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73868 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73869 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73870 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73871 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73872 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73873 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73874 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73875 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73876 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73877 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73878 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73879 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73880 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73881 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73882 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73883 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73884 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73885 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73886 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73887 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73888 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73889 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73890 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73891 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73892 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"`'
73893 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73894 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73895 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73896 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73897 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73898 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73899 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73900 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73901 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73902 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73903 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73904 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73905 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73906 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73907 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73908 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73909 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73910 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73911 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73912 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73913 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73914 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73915 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73916 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73917 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73918 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73919 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73920 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73921 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73922 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73923 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73924 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73925 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73926 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73927 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73928 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73929 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73930 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73931 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73932 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73933 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73934 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73935 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73936 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73937 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73938 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73939 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73940 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73941 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73942 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73943 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73944 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73945 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73946 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73947 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73948 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73949 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73950 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73951 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73952 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73953 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73954 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73955 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73956 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73957 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73958 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73959 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73960 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73961 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73962 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73963 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73964 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73965 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73966 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73967 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73968 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73969 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73970 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73971 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73972 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73973 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73974 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73975 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73976 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73977 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73978 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73979 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73980 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73981 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73982 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73983 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73984 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73985 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73986 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73987 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73988 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73989 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73990 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73991 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73992 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73993 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73994 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73995 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73996 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73997 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73998 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73999 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74000 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74001 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74002 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74003 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74004 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74005 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74006 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74007 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74008 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74009 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74010 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74011 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74012 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74013 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74014 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74015 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74016 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74017 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74018 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74020 LTCC='$LTCC'
74021 LTCFLAGS='$LTCFLAGS'
74022 compiler='$compiler_DEFAULT'
74024 # A function that is used when there is no print builtin or printf.
74025 func_fallback_echo ()
74027 eval 'cat <<_LTECHO_EOF
74029 _LTECHO_EOF'
74032 # Quote evaled strings.
74033 for var in SHELL \
74034 ECHO \
74035 SED \
74036 GREP \
74037 EGREP \
74038 FGREP \
74039 LD \
74040 NM \
74041 LN_S \
74042 lt_SP2NL \
74043 lt_NL2SP \
74044 reload_flag \
74045 OBJDUMP \
74046 deplibs_check_method \
74047 file_magic_cmd \
74048 AR \
74049 AR_FLAGS \
74050 STRIP \
74051 RANLIB \
74052 CC \
74053 CFLAGS \
74054 compiler \
74055 lt_cv_sys_global_symbol_pipe \
74056 lt_cv_sys_global_symbol_to_cdecl \
74057 lt_cv_sys_global_symbol_to_c_name_address \
74058 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74059 lt_prog_compiler_no_builtin_flag \
74060 lt_prog_compiler_wl \
74061 lt_prog_compiler_pic \
74062 lt_prog_compiler_static \
74063 lt_cv_prog_compiler_c_o \
74064 need_locks \
74065 DSYMUTIL \
74066 NMEDIT \
74067 LIPO \
74068 OTOOL \
74069 OTOOL64 \
74070 shrext_cmds \
74071 export_dynamic_flag_spec \
74072 whole_archive_flag_spec \
74073 compiler_needs_object \
74074 with_gnu_ld \
74075 allow_undefined_flag \
74076 no_undefined_flag \
74077 hardcode_libdir_flag_spec \
74078 hardcode_libdir_flag_spec_ld \
74079 hardcode_libdir_separator \
74080 fix_srcfile_path \
74081 exclude_expsyms \
74082 include_expsyms \
74083 file_list_spec \
74084 variables_saved_for_relink \
74085 libname_spec \
74086 library_names_spec \
74087 soname_spec \
74088 install_override_mode \
74089 finish_eval \
74090 old_striplib \
74091 striplib \
74092 compiler_lib_search_dirs \
74093 predep_objects \
74094 postdep_objects \
74095 predeps \
74096 postdeps \
74097 compiler_lib_search_path \
74098 LD_CXX \
74099 reload_flag_CXX \
74100 compiler_CXX \
74101 lt_prog_compiler_no_builtin_flag_CXX \
74102 lt_prog_compiler_wl_CXX \
74103 lt_prog_compiler_pic_CXX \
74104 lt_prog_compiler_static_CXX \
74105 lt_cv_prog_compiler_c_o_CXX \
74106 export_dynamic_flag_spec_CXX \
74107 whole_archive_flag_spec_CXX \
74108 compiler_needs_object_CXX \
74109 with_gnu_ld_CXX \
74110 allow_undefined_flag_CXX \
74111 no_undefined_flag_CXX \
74112 hardcode_libdir_flag_spec_CXX \
74113 hardcode_libdir_flag_spec_ld_CXX \
74114 hardcode_libdir_separator_CXX \
74115 fix_srcfile_path_CXX \
74116 exclude_expsyms_CXX \
74117 include_expsyms_CXX \
74118 file_list_spec_CXX \
74119 compiler_lib_search_dirs_CXX \
74120 predep_objects_CXX \
74121 postdep_objects_CXX \
74122 predeps_CXX \
74123 postdeps_CXX \
74124 compiler_lib_search_path_CXX; do
74125 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74126 *[\\\\\\\`\\"\\\$]*)
74127 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74130 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74132 esac
74133 done
74135 # Double-quote double-evaled strings.
74136 for var in reload_cmds \
74137 old_postinstall_cmds \
74138 old_postuninstall_cmds \
74139 old_archive_cmds \
74140 extract_expsyms_cmds \
74141 old_archive_from_new_cmds \
74142 old_archive_from_expsyms_cmds \
74143 archive_cmds \
74144 archive_expsym_cmds \
74145 module_cmds \
74146 module_expsym_cmds \
74147 export_symbols_cmds \
74148 prelink_cmds \
74149 postinstall_cmds \
74150 postuninstall_cmds \
74151 finish_cmds \
74152 sys_lib_search_path_spec \
74153 sys_lib_dlsearch_path_spec \
74154 reload_cmds_CXX \
74155 old_archive_cmds_CXX \
74156 old_archive_from_new_cmds_CXX \
74157 old_archive_from_expsyms_cmds_CXX \
74158 archive_cmds_CXX \
74159 archive_expsym_cmds_CXX \
74160 module_cmds_CXX \
74161 module_expsym_cmds_CXX \
74162 export_symbols_cmds_CXX \
74163 prelink_cmds_CXX; do
74164 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74165 *[\\\\\\\`\\"\\\$]*)
74166 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74169 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74171 esac
74172 done
74174 ac_aux_dir='$ac_aux_dir'
74175 xsi_shell='$xsi_shell'
74176 lt_shell_append='$lt_shell_append'
74178 # See if we are running on zsh, and set the options which allow our
74179 # commands through without removal of \ escapes INIT.
74180 if test -n "\${ZSH_VERSION+set}" ; then
74181 setopt NO_GLOB_SUBST
74185 PACKAGE='$PACKAGE'
74186 VERSION='$VERSION'
74187 TIMESTAMP='$TIMESTAMP'
74188 RM='$RM'
74189 ofile='$ofile'
74196 GCC="$GCC"
74197 CC="$CC"
74198 acx_cv_header_stdint="$acx_cv_header_stdint"
74199 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74200 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74201 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74202 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74203 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74204 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74205 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74206 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74207 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74208 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74209 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74210 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74211 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74214 _ACEOF
74216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74218 # Handling of arguments.
74219 for ac_config_target in $ac_config_targets
74221 case $ac_config_target in
74222 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74223 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74224 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74225 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74226 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74227 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74228 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74229 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74230 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
74231 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74232 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74233 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74234 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74235 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74236 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
74237 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
74238 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
74239 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
74240 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74241 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74242 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74243 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74244 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74246 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74247 esac
74248 done
74251 # If the user did not use the arguments to specify the items to instantiate,
74252 # then the envvar interface is used. Set only those that are not.
74253 # We use the long form for the default assignment because of an extremely
74254 # bizarre bug on SunOS 4.1.3.
74255 if $ac_need_defaults; then
74256 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74257 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74258 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74261 # Have a temporary directory for convenience. Make it in the build tree
74262 # simply because there is no reason against having it here, and in addition,
74263 # creating and moving files from /tmp can sometimes cause problems.
74264 # Hook for its removal unless debugging.
74265 # Note that there is a small window in which the directory will not be cleaned:
74266 # after its creation but before its name has been assigned to `$tmp'.
74267 $debug ||
74269 tmp= ac_tmp=
74270 trap 'exit_status=$?
74271 : "${ac_tmp:=$tmp}"
74272 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74274 trap 'as_fn_exit 1' 1 2 13 15
74276 # Create a (secure) tmp directory for tmp files.
74279 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74280 test -d "$tmp"
74281 } ||
74283 tmp=./conf$$-$RANDOM
74284 (umask 077 && mkdir "$tmp")
74285 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74286 ac_tmp=$tmp
74288 # Set up the scripts for CONFIG_FILES section.
74289 # No need to generate them if there are no CONFIG_FILES.
74290 # This happens for instance with `./config.status config.h'.
74291 if test -n "$CONFIG_FILES"; then
74294 ac_cr=`echo X | tr X '\015'`
74295 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74296 # But we know of no other shell where ac_cr would be empty at this
74297 # point, so we can use a bashism as a fallback.
74298 if test "x$ac_cr" = x; then
74299 eval ac_cr=\$\'\\r\'
74301 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74302 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74303 ac_cs_awk_cr='\\r'
74304 else
74305 ac_cs_awk_cr=$ac_cr
74308 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74309 _ACEOF
74313 echo "cat >conf$$subs.awk <<_ACEOF" &&
74314 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74315 echo "_ACEOF"
74316 } >conf$$subs.sh ||
74317 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74318 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74319 ac_delim='%!_!# '
74320 for ac_last_try in false false false false false :; do
74321 . ./conf$$subs.sh ||
74322 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74324 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74325 if test $ac_delim_n = $ac_delim_num; then
74326 break
74327 elif $ac_last_try; then
74328 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74329 else
74330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74332 done
74333 rm -f conf$$subs.sh
74335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74336 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74337 _ACEOF
74338 sed -n '
74340 s/^/S["/; s/!.*/"]=/
74343 s/^[^!]*!//
74344 :repl
74345 t repl
74346 s/'"$ac_delim"'$//
74347 t delim
74350 s/\(.\{148\}\)..*/\1/
74351 t more1
74352 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74355 b repl
74356 :more1
74357 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74360 s/.\{148\}//
74361 t nl
74362 :delim
74364 s/\(.\{148\}\)..*/\1/
74365 t more2
74366 s/["\\]/\\&/g; s/^/"/; s/$/"/
74369 :more2
74370 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74373 s/.\{148\}//
74374 t delim
74375 ' <conf$$subs.awk | sed '
74376 /^[^""]/{
74378 s/\n//
74380 ' >>$CONFIG_STATUS || ac_write_fail=1
74381 rm -f conf$$subs.awk
74382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74383 _ACAWK
74384 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74385 for (key in S) S_is_set[key] = 1
74386 FS = "\a"
74390 line = $ 0
74391 nfields = split(line, field, "@")
74392 substed = 0
74393 len = length(field[1])
74394 for (i = 2; i < nfields; i++) {
74395 key = field[i]
74396 keylen = length(key)
74397 if (S_is_set[key]) {
74398 value = S[key]
74399 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74400 len += length(value) + length(field[++i])
74401 substed = 1
74402 } else
74403 len += 1 + keylen
74406 print line
74409 _ACAWK
74410 _ACEOF
74411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74412 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74413 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74414 else
74416 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74417 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74418 _ACEOF
74420 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74421 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74422 # trailing colons and then remove the whole line if VPATH becomes empty
74423 # (actually we leave an empty line to preserve line numbers).
74424 if test "x$srcdir" = x.; then
74425 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
74427 s///
74428 s/^/:/
74429 s/[ ]*$/:/
74430 s/:\$(srcdir):/:/g
74431 s/:\${srcdir}:/:/g
74432 s/:@srcdir@:/:/g
74433 s/^:*//
74434 s/:*$//
74436 s/\(=[ ]*\).*/\1/
74438 s/\n//
74439 s/^[^=]*=[ ]*$//
74443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74444 fi # test -n "$CONFIG_FILES"
74446 # Set up the scripts for CONFIG_HEADERS section.
74447 # No need to generate them if there are no CONFIG_HEADERS.
74448 # This happens for instance with `./config.status Makefile'.
74449 if test -n "$CONFIG_HEADERS"; then
74450 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74451 BEGIN {
74452 _ACEOF
74454 # Transform confdefs.h into an awk script `defines.awk', embedded as
74455 # here-document in config.status, that substitutes the proper values into
74456 # config.h.in to produce config.h.
74458 # Create a delimiter string that does not exist in confdefs.h, to ease
74459 # handling of long lines.
74460 ac_delim='%!_!# '
74461 for ac_last_try in false false :; do
74462 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74463 if test -z "$ac_tt"; then
74464 break
74465 elif $ac_last_try; then
74466 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74467 else
74468 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74470 done
74472 # For the awk script, D is an array of macro values keyed by name,
74473 # likewise P contains macro parameters if any. Preserve backslash
74474 # newline sequences.
74476 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74477 sed -n '
74478 s/.\{148\}/&'"$ac_delim"'/g
74479 t rset
74480 :rset
74481 s/^[ ]*#[ ]*define[ ][ ]*/ /
74482 t def
74484 :def
74485 s/\\$//
74486 t bsnl
74487 s/["\\]/\\&/g
74488 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74489 D["\1"]=" \3"/p
74490 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74492 :bsnl
74493 s/["\\]/\\&/g
74494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74495 D["\1"]=" \3\\\\\\n"\\/p
74496 t cont
74497 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74498 t cont
74500 :cont
74502 s/.\{148\}/&'"$ac_delim"'/g
74503 t clear
74504 :clear
74505 s/\\$//
74506 t bsnlc
74507 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74509 :bsnlc
74510 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74511 b cont
74512 ' <confdefs.h | sed '
74513 s/'"$ac_delim"'/"\\\
74514 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74516 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74517 for (key in D) D_is_set[key] = 1
74518 FS = "\a"
74520 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74521 line = \$ 0
74522 split(line, arg, " ")
74523 if (arg[1] == "#") {
74524 defundef = arg[2]
74525 mac1 = arg[3]
74526 } else {
74527 defundef = substr(arg[1], 2)
74528 mac1 = arg[2]
74530 split(mac1, mac2, "(") #)
74531 macro = mac2[1]
74532 prefix = substr(line, 1, index(line, defundef) - 1)
74533 if (D_is_set[macro]) {
74534 # Preserve the white space surrounding the "#".
74535 print prefix "define", macro P[macro] D[macro]
74536 next
74537 } else {
74538 # Replace #undef with comments. This is necessary, for example,
74539 # in the case of _POSIX_SOURCE, which is predefined and required
74540 # on some systems where configure will not decide to define it.
74541 if (defundef == "undef") {
74542 print "/*", prefix defundef, macro, "*/"
74543 next
74547 { print }
74548 _ACAWK
74549 _ACEOF
74550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74551 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
74552 fi # test -n "$CONFIG_HEADERS"
74555 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74556 shift
74557 for ac_tag
74559 case $ac_tag in
74560 :[FHLC]) ac_mode=$ac_tag; continue;;
74561 esac
74562 case $ac_mode$ac_tag in
74563 :[FHL]*:*);;
74564 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
74565 :[FH]-) ac_tag=-:-;;
74566 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74567 esac
74568 ac_save_IFS=$IFS
74569 IFS=:
74570 set x $ac_tag
74571 IFS=$ac_save_IFS
74572 shift
74573 ac_file=$1
74574 shift
74576 case $ac_mode in
74577 :L) ac_source=$1;;
74578 :[FH])
74579 ac_file_inputs=
74580 for ac_f
74582 case $ac_f in
74583 -) ac_f="$ac_tmp/stdin";;
74584 *) # Look for the file first in the build tree, then in the source tree
74585 # (if the path is not absolute). The absolute path cannot be DOS-style,
74586 # because $ac_f cannot contain `:'.
74587 test -f "$ac_f" ||
74588 case $ac_f in
74589 [\\/$]*) false;;
74590 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74591 esac ||
74592 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74593 esac
74594 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74595 as_fn_append ac_file_inputs " '$ac_f'"
74596 done
74598 # Let's still pretend it is `configure' which instantiates (i.e., don't
74599 # use $as_me), people would be surprised to read:
74600 # /* config.h. Generated by config.status. */
74601 configure_input='Generated from '`
74602 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74603 `' by configure.'
74604 if test x"$ac_file" != x-; then
74605 configure_input="$ac_file. $configure_input"
74606 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74607 $as_echo "$as_me: creating $ac_file" >&6;}
74609 # Neutralize special characters interpreted by sed in replacement strings.
74610 case $configure_input in #(
74611 *\&* | *\|* | *\\* )
74612 ac_sed_conf_input=`$as_echo "$configure_input" |
74613 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74614 *) ac_sed_conf_input=$configure_input;;
74615 esac
74617 case $ac_tag in
74618 *:-:* | *:-) cat >"$ac_tmp/stdin" \
74619 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
74620 esac
74622 esac
74624 ac_dir=`$as_dirname -- "$ac_file" ||
74625 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74626 X"$ac_file" : 'X\(//\)[^/]' \| \
74627 X"$ac_file" : 'X\(//\)$' \| \
74628 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74629 $as_echo X"$ac_file" |
74630 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74631 s//\1/
74634 /^X\(\/\/\)[^/].*/{
74635 s//\1/
74638 /^X\(\/\/\)$/{
74639 s//\1/
74642 /^X\(\/\).*/{
74643 s//\1/
74646 s/.*/./; q'`
74647 as_dir="$ac_dir"; as_fn_mkdir_p
74648 ac_builddir=.
74650 case "$ac_dir" in
74651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74654 # A ".." for each directory in $ac_dir_suffix.
74655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74656 case $ac_top_builddir_sub in
74657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74659 esac ;;
74660 esac
74661 ac_abs_top_builddir=$ac_pwd
74662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74663 # for backward compatibility:
74664 ac_top_builddir=$ac_top_build_prefix
74666 case $srcdir in
74667 .) # We are building in place.
74668 ac_srcdir=.
74669 ac_top_srcdir=$ac_top_builddir_sub
74670 ac_abs_top_srcdir=$ac_pwd ;;
74671 [\\/]* | ?:[\\/]* ) # Absolute name.
74672 ac_srcdir=$srcdir$ac_dir_suffix;
74673 ac_top_srcdir=$srcdir
74674 ac_abs_top_srcdir=$srcdir ;;
74675 *) # Relative name.
74676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74677 ac_top_srcdir=$ac_top_build_prefix$srcdir
74678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74679 esac
74680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74683 case $ac_mode in
74686 # CONFIG_FILE
74689 case $INSTALL in
74690 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74691 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74692 esac
74693 ac_MKDIR_P=$MKDIR_P
74694 case $MKDIR_P in
74695 [\\/$]* | ?:[\\/]* ) ;;
74696 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74697 esac
74698 _ACEOF
74700 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74701 # If the template does not know about datarootdir, expand it.
74702 # FIXME: This hack should be removed a few years after 2.60.
74703 ac_datarootdir_hack=; ac_datarootdir_seen=
74704 ac_sed_dataroot='
74705 /datarootdir/ {
74709 /@datadir@/p
74710 /@docdir@/p
74711 /@infodir@/p
74712 /@localedir@/p
74713 /@mandir@/p'
74714 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74715 *datarootdir*) ac_datarootdir_seen=yes;;
74716 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74718 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74719 _ACEOF
74720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74721 ac_datarootdir_hack='
74722 s&@datadir@&$datadir&g
74723 s&@docdir@&$docdir&g
74724 s&@infodir@&$infodir&g
74725 s&@localedir@&$localedir&g
74726 s&@mandir@&$mandir&g
74727 s&\\\${datarootdir}&$datarootdir&g' ;;
74728 esac
74729 _ACEOF
74731 # Neutralize VPATH when `$srcdir' = `.'.
74732 # Shell code in configure.ac might set extrasub.
74733 # FIXME: do we really want to maintain this feature?
74734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74735 ac_sed_extra="$ac_vpsub
74736 $extrasub
74737 _ACEOF
74738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74741 s|@configure_input@|$ac_sed_conf_input|;t t
74742 s&@top_builddir@&$ac_top_builddir_sub&;t t
74743 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74744 s&@srcdir@&$ac_srcdir&;t t
74745 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74746 s&@top_srcdir@&$ac_top_srcdir&;t t
74747 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74748 s&@builddir@&$ac_builddir&;t t
74749 s&@abs_builddir@&$ac_abs_builddir&;t t
74750 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74751 s&@INSTALL@&$ac_INSTALL&;t t
74752 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74753 $ac_datarootdir_hack
74755 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
74756 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74758 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74759 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
74760 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
74761 "$ac_tmp/out"`; test -z "$ac_out"; } &&
74762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74763 which seems to be undefined. Please make sure it is defined" >&5
74764 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74765 which seems to be undefined. Please make sure it is defined" >&2;}
74767 rm -f "$ac_tmp/stdin"
74768 case $ac_file in
74769 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
74770 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
74771 esac \
74772 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74776 # CONFIG_HEADER
74778 if test x"$ac_file" != x-; then
74780 $as_echo "/* $configure_input */" \
74781 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
74782 } >"$ac_tmp/config.h" \
74783 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74784 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
74785 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74786 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74787 else
74788 rm -f "$ac_file"
74789 mv "$ac_tmp/config.h" "$ac_file" \
74790 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74792 else
74793 $as_echo "/* $configure_input */" \
74794 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
74795 || as_fn_error $? "could not create -" "$LINENO" 5
74797 # Compute "$ac_file"'s index in $config_headers.
74798 _am_arg="$ac_file"
74799 _am_stamp_count=1
74800 for _am_header in $config_headers :; do
74801 case $_am_header in
74802 $_am_arg | $_am_arg:* )
74803 break ;;
74805 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74806 esac
74807 done
74808 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74809 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74810 X"$_am_arg" : 'X\(//\)[^/]' \| \
74811 X"$_am_arg" : 'X\(//\)$' \| \
74812 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74813 $as_echo X"$_am_arg" |
74814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74815 s//\1/
74818 /^X\(\/\/\)[^/].*/{
74819 s//\1/
74822 /^X\(\/\/\)$/{
74823 s//\1/
74826 /^X\(\/\).*/{
74827 s//\1/
74830 s/.*/./; q'`/stamp-h$_am_stamp_count
74833 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74834 $as_echo "$as_me: executing $ac_file commands" >&6;}
74836 esac
74839 case $ac_file$ac_mode in
74840 "default-1":C)
74841 # Only add multilib support code if we just rebuilt the top-level
74842 # Makefile.
74843 case " $CONFIG_FILES " in
74844 *" Makefile "*)
74845 ac_file=Makefile . ${multi_basedir}/config-ml.in
74847 esac ;;
74848 "libtool":C)
74850 # See if we are running on zsh, and set the options which allow our
74851 # commands through without removal of \ escapes.
74852 if test -n "${ZSH_VERSION+set}" ; then
74853 setopt NO_GLOB_SUBST
74856 cfgfile="${ofile}T"
74857 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74858 $RM "$cfgfile"
74860 cat <<_LT_EOF >> "$cfgfile"
74861 #! $SHELL
74863 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74864 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74865 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74866 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74868 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74869 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74870 # Written by Gordon Matzigkeit, 1996
74872 # This file is part of GNU Libtool.
74874 # GNU Libtool is free software; you can redistribute it and/or
74875 # modify it under the terms of the GNU General Public License as
74876 # published by the Free Software Foundation; either version 2 of
74877 # the License, or (at your option) any later version.
74879 # As a special exception to the GNU General Public License,
74880 # if you distribute this file as part of a program or library that
74881 # is built using GNU Libtool, you may include this file under the
74882 # same distribution terms that you use for the rest of that program.
74884 # GNU Libtool is distributed in the hope that it will be useful,
74885 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74886 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74887 # GNU General Public License for more details.
74889 # You should have received a copy of the GNU General Public License
74890 # along with GNU Libtool; see the file COPYING. If not, a copy
74891 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74892 # obtained by writing to the Free Software Foundation, Inc.,
74893 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74896 # The names of the tagged configurations supported by this script.
74897 available_tags="CXX "
74899 # ### BEGIN LIBTOOL CONFIG
74901 # Which release of libtool.m4 was used?
74902 macro_version=$macro_version
74903 macro_revision=$macro_revision
74905 # Whether or not to build shared libraries.
74906 build_libtool_libs=$enable_shared
74908 # Whether or not to build static libraries.
74909 build_old_libs=$enable_static
74911 # What type of objects to build.
74912 pic_mode=$pic_mode
74914 # Whether or not to optimize for fast installation.
74915 fast_install=$enable_fast_install
74917 # Shell to use when invoking shell scripts.
74918 SHELL=$lt_SHELL
74920 # An echo program that protects backslashes.
74921 ECHO=$lt_ECHO
74923 # The host system.
74924 host_alias=$host_alias
74925 host=$host
74926 host_os=$host_os
74928 # The build system.
74929 build_alias=$build_alias
74930 build=$build
74931 build_os=$build_os
74933 # A sed program that does not truncate output.
74934 SED=$lt_SED
74936 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74937 Xsed="\$SED -e 1s/^X//"
74939 # A grep program that handles long lines.
74940 GREP=$lt_GREP
74942 # An ERE matcher.
74943 EGREP=$lt_EGREP
74945 # A literal string matcher.
74946 FGREP=$lt_FGREP
74948 # A BSD- or MS-compatible name lister.
74949 NM=$lt_NM
74951 # Whether we need soft or hard links.
74952 LN_S=$lt_LN_S
74954 # What is the maximum length of a command?
74955 max_cmd_len=$max_cmd_len
74957 # Object file suffix (normally "o").
74958 objext=$ac_objext
74960 # Executable file suffix (normally "").
74961 exeext=$exeext
74963 # whether the shell understands "unset".
74964 lt_unset=$lt_unset
74966 # turn spaces into newlines.
74967 SP2NL=$lt_lt_SP2NL
74969 # turn newlines into spaces.
74970 NL2SP=$lt_lt_NL2SP
74972 # An object symbol dumper.
74973 OBJDUMP=$lt_OBJDUMP
74975 # Method to check whether dependent libraries are shared objects.
74976 deplibs_check_method=$lt_deplibs_check_method
74978 # Command to use when deplibs_check_method == "file_magic".
74979 file_magic_cmd=$lt_file_magic_cmd
74981 # The archiver.
74982 AR=$lt_AR
74983 AR_FLAGS=$lt_AR_FLAGS
74985 # A symbol stripping program.
74986 STRIP=$lt_STRIP
74988 # Commands used to install an old-style archive.
74989 RANLIB=$lt_RANLIB
74990 old_postinstall_cmds=$lt_old_postinstall_cmds
74991 old_postuninstall_cmds=$lt_old_postuninstall_cmds
74993 # Whether to use a lock for old archive extraction.
74994 lock_old_archive_extraction=$lock_old_archive_extraction
74996 # A C compiler.
74997 LTCC=$lt_CC
74999 # LTCC compiler flags.
75000 LTCFLAGS=$lt_CFLAGS
75002 # Take the output of nm and produce a listing of raw symbols and C names.
75003 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75005 # Transform the output of nm in a proper C declaration.
75006 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75008 # Transform the output of nm in a C name address pair.
75009 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75011 # Transform the output of nm in a C name address pair when lib prefix is needed.
75012 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75014 # The name of the directory that contains temporary libtool files.
75015 objdir=$objdir
75017 # Used to examine libraries when file_magic_cmd begins with "file".
75018 MAGIC_CMD=$MAGIC_CMD
75020 # Must we lock files when doing compilation?
75021 need_locks=$lt_need_locks
75023 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75024 DSYMUTIL=$lt_DSYMUTIL
75026 # Tool to change global to local symbols on Mac OS X.
75027 NMEDIT=$lt_NMEDIT
75029 # Tool to manipulate fat objects and archives on Mac OS X.
75030 LIPO=$lt_LIPO
75032 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75033 OTOOL=$lt_OTOOL
75035 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75036 OTOOL64=$lt_OTOOL64
75038 # Old archive suffix (normally "a").
75039 libext=$libext
75041 # Shared library suffix (normally ".so").
75042 shrext_cmds=$lt_shrext_cmds
75044 # The commands to extract the exported symbol list from a shared archive.
75045 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75047 # Variables whose values should be saved in libtool wrapper scripts and
75048 # restored at link time.
75049 variables_saved_for_relink=$lt_variables_saved_for_relink
75051 # Do we need the "lib" prefix for modules?
75052 need_lib_prefix=$need_lib_prefix
75054 # Do we need a version for libraries?
75055 need_version=$need_version
75057 # Library versioning type.
75058 version_type=$version_type
75060 # Shared library runtime path variable.
75061 runpath_var=$runpath_var
75063 # Shared library path variable.
75064 shlibpath_var=$shlibpath_var
75066 # Is shlibpath searched before the hard-coded library search path?
75067 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75069 # Format of library name prefix.
75070 libname_spec=$lt_libname_spec
75072 # List of archive names. First name is the real one, the rest are links.
75073 # The last name is the one that the linker finds with -lNAME
75074 library_names_spec=$lt_library_names_spec
75076 # The coded name of the library, if different from the real name.
75077 soname_spec=$lt_soname_spec
75079 # Permission mode override for installation of shared libraries.
75080 install_override_mode=$lt_install_override_mode
75082 # Command to use after installation of a shared archive.
75083 postinstall_cmds=$lt_postinstall_cmds
75085 # Command to use after uninstallation of a shared archive.
75086 postuninstall_cmds=$lt_postuninstall_cmds
75088 # Commands used to finish a libtool library installation in a directory.
75089 finish_cmds=$lt_finish_cmds
75091 # As "finish_cmds", except a single script fragment to be evaled but
75092 # not shown.
75093 finish_eval=$lt_finish_eval
75095 # Whether we should hardcode library paths into libraries.
75096 hardcode_into_libs=$hardcode_into_libs
75098 # Compile-time system search path for libraries.
75099 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75101 # Run-time system search path for libraries.
75102 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75104 # Whether dlopen is supported.
75105 dlopen_support=$enable_dlopen
75107 # Whether dlopen of programs is supported.
75108 dlopen_self=$enable_dlopen_self
75110 # Whether dlopen of statically linked programs is supported.
75111 dlopen_self_static=$enable_dlopen_self_static
75113 # Commands to strip libraries.
75114 old_striplib=$lt_old_striplib
75115 striplib=$lt_striplib
75118 # The linker used to build libraries.
75119 LD=$lt_LD
75121 # How to create reloadable object files.
75122 reload_flag=$lt_reload_flag
75123 reload_cmds=$lt_reload_cmds
75125 # Commands used to build an old-style archive.
75126 old_archive_cmds=$lt_old_archive_cmds
75128 # A language specific compiler.
75129 CC=$lt_compiler
75131 # Is the compiler the GNU compiler?
75132 with_gcc=$GCC
75134 # Compiler flag to turn off builtin functions.
75135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75137 # How to pass a linker flag through the compiler.
75138 wl=$lt_lt_prog_compiler_wl
75140 # Additional compiler flags for building library objects.
75141 pic_flag=$lt_lt_prog_compiler_pic
75143 # Compiler flag to prevent dynamic linking.
75144 link_static_flag=$lt_lt_prog_compiler_static
75146 # Does compiler simultaneously support -c and -o options?
75147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75149 # Whether or not to add -lc for building shared libraries.
75150 build_libtool_need_lc=$archive_cmds_need_lc
75152 # Whether or not to disallow shared libs when runtime libs are static.
75153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75155 # Compiler flag to allow reflexive dlopens.
75156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75158 # Compiler flag to generate shared objects directly from archives.
75159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75161 # Whether the compiler copes with passing no objects directly.
75162 compiler_needs_object=$lt_compiler_needs_object
75164 # Create an old-style archive from a shared archive.
75165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75167 # Create a temporary old-style archive to link instead of a shared archive.
75168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75170 # Commands used to build a shared archive.
75171 archive_cmds=$lt_archive_cmds
75172 archive_expsym_cmds=$lt_archive_expsym_cmds
75174 # Commands used to build a loadable module if different from building
75175 # a shared archive.
75176 module_cmds=$lt_module_cmds
75177 module_expsym_cmds=$lt_module_expsym_cmds
75179 # Whether we are building with GNU ld or not.
75180 with_gnu_ld=$lt_with_gnu_ld
75182 # Flag that allows shared libraries with undefined symbols to be built.
75183 allow_undefined_flag=$lt_allow_undefined_flag
75185 # Flag that enforces no undefined symbols.
75186 no_undefined_flag=$lt_no_undefined_flag
75188 # Flag to hardcode \$libdir into a binary during linking.
75189 # This must work even if \$libdir does not exist
75190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75192 # If ld is used when linking, flag to hardcode \$libdir into a binary
75193 # during linking. This must work even if \$libdir does not exist.
75194 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75196 # Whether we need a single "-rpath" flag with a separated argument.
75197 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75200 # DIR into the resulting binary.
75201 hardcode_direct=$hardcode_direct
75203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75204 # DIR into the resulting binary and the resulting library dependency is
75205 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75206 # library is relocated.
75207 hardcode_direct_absolute=$hardcode_direct_absolute
75209 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75210 # into the resulting binary.
75211 hardcode_minus_L=$hardcode_minus_L
75213 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75214 # into the resulting binary.
75215 hardcode_shlibpath_var=$hardcode_shlibpath_var
75217 # Set to "yes" if building a shared library automatically hardcodes DIR
75218 # into the library and all subsequent libraries and executables linked
75219 # against it.
75220 hardcode_automatic=$hardcode_automatic
75222 # Set to yes if linker adds runtime paths of dependent libraries
75223 # to runtime path list.
75224 inherit_rpath=$inherit_rpath
75226 # Whether libtool must link a program against all its dependency libraries.
75227 link_all_deplibs=$link_all_deplibs
75229 # Fix the shell variable \$srcfile for the compiler.
75230 fix_srcfile_path=$lt_fix_srcfile_path
75232 # Set to "yes" if exported symbols are required.
75233 always_export_symbols=$always_export_symbols
75235 # The commands to list exported symbols.
75236 export_symbols_cmds=$lt_export_symbols_cmds
75238 # Symbols that should not be listed in the preloaded symbols.
75239 exclude_expsyms=$lt_exclude_expsyms
75241 # Symbols that must always be exported.
75242 include_expsyms=$lt_include_expsyms
75244 # Commands necessary for linking programs (against libraries) with templates.
75245 prelink_cmds=$lt_prelink_cmds
75247 # Specify filename containing input files.
75248 file_list_spec=$lt_file_list_spec
75250 # How to hardcode a shared library path into an executable.
75251 hardcode_action=$hardcode_action
75253 # The directories searched by this compiler when creating a shared library.
75254 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75256 # Dependencies to place before and after the objects being linked to
75257 # create a shared library.
75258 predep_objects=$lt_predep_objects
75259 postdep_objects=$lt_postdep_objects
75260 predeps=$lt_predeps
75261 postdeps=$lt_postdeps
75263 # The library search path used internally by the compiler when linking
75264 # a shared library.
75265 compiler_lib_search_path=$lt_compiler_lib_search_path
75267 # ### END LIBTOOL CONFIG
75269 _LT_EOF
75271 case $host_os in
75272 aix3*)
75273 cat <<\_LT_EOF >> "$cfgfile"
75274 # AIX sometimes has problems with the GCC collect2 program. For some
75275 # reason, if we set the COLLECT_NAMES environment variable, the problems
75276 # vanish in a puff of smoke.
75277 if test "X${COLLECT_NAMES+set}" != Xset; then
75278 COLLECT_NAMES=
75279 export COLLECT_NAMES
75281 _LT_EOF
75283 esac
75286 ltmain="$ac_aux_dir/ltmain.sh"
75289 # We use sed instead of cat because bash on DJGPP gets confused if
75290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75291 # text mode, it properly converts lines to CR/LF. This bash problem
75292 # is reportedly fixed, but why not run on old versions too?
75293 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75294 || (rm -f "$cfgfile"; exit 1)
75296 case $xsi_shell in
75297 yes)
75298 cat << \_LT_EOF >> "$cfgfile"
75300 # func_dirname file append nondir_replacement
75301 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75302 # otherwise set result to NONDIR_REPLACEMENT.
75303 func_dirname ()
75305 case ${1} in
75306 */*) func_dirname_result="${1%/*}${2}" ;;
75307 * ) func_dirname_result="${3}" ;;
75308 esac
75311 # func_basename file
75312 func_basename ()
75314 func_basename_result="${1##*/}"
75317 # func_dirname_and_basename file append nondir_replacement
75318 # perform func_basename and func_dirname in a single function
75319 # call:
75320 # dirname: Compute the dirname of FILE. If nonempty,
75321 # add APPEND to the result, otherwise set result
75322 # to NONDIR_REPLACEMENT.
75323 # value returned in "$func_dirname_result"
75324 # basename: Compute filename of FILE.
75325 # value retuned in "$func_basename_result"
75326 # Implementation must be kept synchronized with func_dirname
75327 # and func_basename. For efficiency, we do not delegate to
75328 # those functions but instead duplicate the functionality here.
75329 func_dirname_and_basename ()
75331 case ${1} in
75332 */*) func_dirname_result="${1%/*}${2}" ;;
75333 * ) func_dirname_result="${3}" ;;
75334 esac
75335 func_basename_result="${1##*/}"
75338 # func_stripname prefix suffix name
75339 # strip PREFIX and SUFFIX off of NAME.
75340 # PREFIX and SUFFIX must not contain globbing or regex special
75341 # characters, hashes, percent signs, but SUFFIX may contain a leading
75342 # dot (in which case that matches only a dot).
75343 func_stripname ()
75345 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75346 # positional parameters, so assign one to ordinary parameter first.
75347 func_stripname_result=${3}
75348 func_stripname_result=${func_stripname_result#"${1}"}
75349 func_stripname_result=${func_stripname_result%"${2}"}
75352 # func_opt_split
75353 func_opt_split ()
75355 func_opt_split_opt=${1%%=*}
75356 func_opt_split_arg=${1#*=}
75359 # func_lo2o object
75360 func_lo2o ()
75362 case ${1} in
75363 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75364 *) func_lo2o_result=${1} ;;
75365 esac
75368 # func_xform libobj-or-source
75369 func_xform ()
75371 func_xform_result=${1%.*}.lo
75374 # func_arith arithmetic-term...
75375 func_arith ()
75377 func_arith_result=$(( $* ))
75380 # func_len string
75381 # STRING may not start with a hyphen.
75382 func_len ()
75384 func_len_result=${#1}
75387 _LT_EOF
75389 *) # Bourne compatible functions.
75390 cat << \_LT_EOF >> "$cfgfile"
75392 # func_dirname file append nondir_replacement
75393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75394 # otherwise set result to NONDIR_REPLACEMENT.
75395 func_dirname ()
75397 # Extract subdirectory from the argument.
75398 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75399 if test "X$func_dirname_result" = "X${1}"; then
75400 func_dirname_result="${3}"
75401 else
75402 func_dirname_result="$func_dirname_result${2}"
75406 # func_basename file
75407 func_basename ()
75409 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75413 # func_stripname prefix suffix name
75414 # strip PREFIX and SUFFIX off of NAME.
75415 # PREFIX and SUFFIX must not contain globbing or regex special
75416 # characters, hashes, percent signs, but SUFFIX may contain a leading
75417 # dot (in which case that matches only a dot).
75418 # func_strip_suffix prefix name
75419 func_stripname ()
75421 case ${2} in
75422 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75423 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75424 esac
75427 # sed scripts:
75428 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75429 my_sed_long_arg='1s/^-[^=]*=//'
75431 # func_opt_split
75432 func_opt_split ()
75434 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75435 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75438 # func_lo2o object
75439 func_lo2o ()
75441 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75444 # func_xform libobj-or-source
75445 func_xform ()
75447 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75450 # func_arith arithmetic-term...
75451 func_arith ()
75453 func_arith_result=`expr "$@"`
75456 # func_len string
75457 # STRING may not start with a hyphen.
75458 func_len ()
75460 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75463 _LT_EOF
75464 esac
75466 case $lt_shell_append in
75467 yes)
75468 cat << \_LT_EOF >> "$cfgfile"
75470 # func_append var value
75471 # Append VALUE to the end of shell variable VAR.
75472 func_append ()
75474 eval "$1+=\$2"
75476 _LT_EOF
75479 cat << \_LT_EOF >> "$cfgfile"
75481 # func_append var value
75482 # Append VALUE to the end of shell variable VAR.
75483 func_append ()
75485 eval "$1=\$$1\$2"
75488 _LT_EOF
75490 esac
75493 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75494 || (rm -f "$cfgfile"; exit 1)
75496 mv -f "$cfgfile" "$ofile" ||
75497 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75498 chmod +x "$ofile"
75501 cat <<_LT_EOF >> "$ofile"
75503 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75505 # The linker used to build libraries.
75506 LD=$lt_LD_CXX
75508 # How to create reloadable object files.
75509 reload_flag=$lt_reload_flag_CXX
75510 reload_cmds=$lt_reload_cmds_CXX
75512 # Commands used to build an old-style archive.
75513 old_archive_cmds=$lt_old_archive_cmds_CXX
75515 # A language specific compiler.
75516 CC=$lt_compiler_CXX
75518 # Is the compiler the GNU compiler?
75519 with_gcc=$GCC_CXX
75521 # Compiler flag to turn off builtin functions.
75522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75524 # How to pass a linker flag through the compiler.
75525 wl=$lt_lt_prog_compiler_wl_CXX
75527 # Additional compiler flags for building library objects.
75528 pic_flag=$lt_lt_prog_compiler_pic_CXX
75530 # Compiler flag to prevent dynamic linking.
75531 link_static_flag=$lt_lt_prog_compiler_static_CXX
75533 # Does compiler simultaneously support -c and -o options?
75534 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75536 # Whether or not to add -lc for building shared libraries.
75537 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75539 # Whether or not to disallow shared libs when runtime libs are static.
75540 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75542 # Compiler flag to allow reflexive dlopens.
75543 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75545 # Compiler flag to generate shared objects directly from archives.
75546 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75548 # Whether the compiler copes with passing no objects directly.
75549 compiler_needs_object=$lt_compiler_needs_object_CXX
75551 # Create an old-style archive from a shared archive.
75552 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75554 # Create a temporary old-style archive to link instead of a shared archive.
75555 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75557 # Commands used to build a shared archive.
75558 archive_cmds=$lt_archive_cmds_CXX
75559 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75561 # Commands used to build a loadable module if different from building
75562 # a shared archive.
75563 module_cmds=$lt_module_cmds_CXX
75564 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75566 # Whether we are building with GNU ld or not.
75567 with_gnu_ld=$lt_with_gnu_ld_CXX
75569 # Flag that allows shared libraries with undefined symbols to be built.
75570 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75572 # Flag that enforces no undefined symbols.
75573 no_undefined_flag=$lt_no_undefined_flag_CXX
75575 # Flag to hardcode \$libdir into a binary during linking.
75576 # This must work even if \$libdir does not exist
75577 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75579 # If ld is used when linking, flag to hardcode \$libdir into a binary
75580 # during linking. This must work even if \$libdir does not exist.
75581 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75583 # Whether we need a single "-rpath" flag with a separated argument.
75584 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75586 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75587 # DIR into the resulting binary.
75588 hardcode_direct=$hardcode_direct_CXX
75590 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75591 # DIR into the resulting binary and the resulting library dependency is
75592 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75593 # library is relocated.
75594 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75596 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75597 # into the resulting binary.
75598 hardcode_minus_L=$hardcode_minus_L_CXX
75600 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75601 # into the resulting binary.
75602 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75604 # Set to "yes" if building a shared library automatically hardcodes DIR
75605 # into the library and all subsequent libraries and executables linked
75606 # against it.
75607 hardcode_automatic=$hardcode_automatic_CXX
75609 # Set to yes if linker adds runtime paths of dependent libraries
75610 # to runtime path list.
75611 inherit_rpath=$inherit_rpath_CXX
75613 # Whether libtool must link a program against all its dependency libraries.
75614 link_all_deplibs=$link_all_deplibs_CXX
75616 # Fix the shell variable \$srcfile for the compiler.
75617 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75619 # Set to "yes" if exported symbols are required.
75620 always_export_symbols=$always_export_symbols_CXX
75622 # The commands to list exported symbols.
75623 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75625 # Symbols that should not be listed in the preloaded symbols.
75626 exclude_expsyms=$lt_exclude_expsyms_CXX
75628 # Symbols that must always be exported.
75629 include_expsyms=$lt_include_expsyms_CXX
75631 # Commands necessary for linking programs (against libraries) with templates.
75632 prelink_cmds=$lt_prelink_cmds_CXX
75634 # Specify filename containing input files.
75635 file_list_spec=$lt_file_list_spec_CXX
75637 # How to hardcode a shared library path into an executable.
75638 hardcode_action=$hardcode_action_CXX
75640 # The directories searched by this compiler when creating a shared library.
75641 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75643 # Dependencies to place before and after the objects being linked to
75644 # create a shared library.
75645 predep_objects=$lt_predep_objects_CXX
75646 postdep_objects=$lt_postdep_objects_CXX
75647 predeps=$lt_predeps_CXX
75648 postdeps=$lt_postdeps_CXX
75650 # The library search path used internally by the compiler when linking
75651 # a shared library.
75652 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75654 # ### END LIBTOOL TAG CONFIG: CXX
75655 _LT_EOF
75658 "include/gstdint.h":C)
75659 if test "$GCC" = yes; then
75660 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75661 else
75662 echo "/* generated for $CC */" > tmp-stdint.h
75665 sed 's/^ *//' >> tmp-stdint.h <<EOF
75667 #ifndef GCC_GENERATED_STDINT_H
75668 #define GCC_GENERATED_STDINT_H 1
75670 #include <sys/types.h>
75673 if test "$acx_cv_header_stdint" != stdint.h; then
75674 echo "#include <stddef.h>" >> tmp-stdint.h
75676 if test "$acx_cv_header_stdint" != stddef.h; then
75677 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75680 sed 's/^ *//' >> tmp-stdint.h <<EOF
75681 /* glibc uses these symbols as guards to prevent redefinitions. */
75682 #ifdef __int8_t_defined
75683 #define _INT8_T
75684 #define _INT16_T
75685 #define _INT32_T
75686 #endif
75687 #ifdef __uint32_t_defined
75688 #define _UINT32_T
75689 #endif
75693 # ----------------- done header, emit basic int types -------------
75694 if test "$acx_cv_header_stdint" = stddef.h; then
75695 sed 's/^ *//' >> tmp-stdint.h <<EOF
75697 #ifndef _UINT8_T
75698 #define _UINT8_T
75699 #ifndef __uint8_t_defined
75700 #define __uint8_t_defined
75701 #ifndef uint8_t
75702 typedef unsigned $acx_cv_type_int8_t uint8_t;
75703 #endif
75704 #endif
75705 #endif
75707 #ifndef _UINT16_T
75708 #define _UINT16_T
75709 #ifndef __uint16_t_defined
75710 #define __uint16_t_defined
75711 #ifndef uint16_t
75712 typedef unsigned $acx_cv_type_int16_t uint16_t;
75713 #endif
75714 #endif
75715 #endif
75717 #ifndef _UINT32_T
75718 #define _UINT32_T
75719 #ifndef __uint32_t_defined
75720 #define __uint32_t_defined
75721 #ifndef uint32_t
75722 typedef unsigned $acx_cv_type_int32_t uint32_t;
75723 #endif
75724 #endif
75725 #endif
75727 #ifndef _INT8_T
75728 #define _INT8_T
75729 #ifndef __int8_t_defined
75730 #define __int8_t_defined
75731 #ifndef int8_t
75732 typedef $acx_cv_type_int8_t int8_t;
75733 #endif
75734 #endif
75735 #endif
75737 #ifndef _INT16_T
75738 #define _INT16_T
75739 #ifndef __int16_t_defined
75740 #define __int16_t_defined
75741 #ifndef int16_t
75742 typedef $acx_cv_type_int16_t int16_t;
75743 #endif
75744 #endif
75745 #endif
75747 #ifndef _INT32_T
75748 #define _INT32_T
75749 #ifndef __int32_t_defined
75750 #define __int32_t_defined
75751 #ifndef int32_t
75752 typedef $acx_cv_type_int32_t int32_t;
75753 #endif
75754 #endif
75755 #endif
75757 elif test "$ac_cv_type_u_int32_t" = yes; then
75758 sed 's/^ *//' >> tmp-stdint.h <<EOF
75760 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75761 #ifndef _INT8_T
75762 #define _INT8_T
75763 #endif
75764 #ifndef _INT16_T
75765 #define _INT16_T
75766 #endif
75767 #ifndef _INT32_T
75768 #define _INT32_T
75769 #endif
75771 #ifndef _UINT8_T
75772 #define _UINT8_T
75773 #ifndef __uint8_t_defined
75774 #define __uint8_t_defined
75775 #ifndef uint8_t
75776 typedef u_int8_t uint8_t;
75777 #endif
75778 #endif
75779 #endif
75781 #ifndef _UINT16_T
75782 #define _UINT16_T
75783 #ifndef __uint16_t_defined
75784 #define __uint16_t_defined
75785 #ifndef uint16_t
75786 typedef u_int16_t uint16_t;
75787 #endif
75788 #endif
75789 #endif
75791 #ifndef _UINT32_T
75792 #define _UINT32_T
75793 #ifndef __uint32_t_defined
75794 #define __uint32_t_defined
75795 #ifndef uint32_t
75796 typedef u_int32_t uint32_t;
75797 #endif
75798 #endif
75799 #endif
75801 else
75802 sed 's/^ *//' >> tmp-stdint.h <<EOF
75804 /* Some systems have guard macros to prevent redefinitions, define them. */
75805 #ifndef _INT8_T
75806 #define _INT8_T
75807 #endif
75808 #ifndef _INT16_T
75809 #define _INT16_T
75810 #endif
75811 #ifndef _INT32_T
75812 #define _INT32_T
75813 #endif
75814 #ifndef _UINT8_T
75815 #define _UINT8_T
75816 #endif
75817 #ifndef _UINT16_T
75818 #define _UINT16_T
75819 #endif
75820 #ifndef _UINT32_T
75821 #define _UINT32_T
75822 #endif
75826 # ------------- done basic int types, emit int64_t types ------------
75827 if test "$ac_cv_type_uint64_t" = yes; then
75828 sed 's/^ *//' >> tmp-stdint.h <<EOF
75830 /* system headers have good uint64_t and int64_t */
75831 #ifndef _INT64_T
75832 #define _INT64_T
75833 #endif
75834 #ifndef _UINT64_T
75835 #define _UINT64_T
75836 #endif
75838 elif test "$ac_cv_type_u_int64_t" = yes; then
75839 sed 's/^ *//' >> tmp-stdint.h <<EOF
75841 /* system headers have an u_int64_t (and int64_t) */
75842 #ifndef _INT64_T
75843 #define _INT64_T
75844 #endif
75845 #ifndef _UINT64_T
75846 #define _UINT64_T
75847 #ifndef __uint64_t_defined
75848 #define __uint64_t_defined
75849 #ifndef uint64_t
75850 typedef u_int64_t uint64_t;
75851 #endif
75852 #endif
75853 #endif
75855 elif test -n "$acx_cv_type_int64_t"; then
75856 sed 's/^ *//' >> tmp-stdint.h <<EOF
75858 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
75859 #ifndef _INT64_T
75860 #define _INT64_T
75861 #ifndef int64_t
75862 typedef $acx_cv_type_int64_t int64_t;
75863 #endif
75864 #endif
75865 #ifndef _UINT64_T
75866 #define _UINT64_T
75867 #ifndef __uint64_t_defined
75868 #define __uint64_t_defined
75869 #ifndef uint64_t
75870 typedef unsigned $acx_cv_type_int64_t uint64_t;
75871 #endif
75872 #endif
75873 #endif
75875 else
75876 sed 's/^ *//' >> tmp-stdint.h <<EOF
75878 /* some common heuristics for int64_t, using compiler-specific tests */
75879 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
75880 #ifndef _INT64_T
75881 #define _INT64_T
75882 #ifndef __int64_t_defined
75883 #ifndef int64_t
75884 typedef long long int64_t;
75885 #endif
75886 #endif
75887 #endif
75888 #ifndef _UINT64_T
75889 #define _UINT64_T
75890 #ifndef uint64_t
75891 typedef unsigned long long uint64_t;
75892 #endif
75893 #endif
75895 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
75896 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
75897 does not implement __extension__. But that compiler doesn't define
75898 __GNUC_MINOR__. */
75899 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
75900 # define __extension__
75901 # endif
75903 # ifndef _INT64_T
75904 # define _INT64_T
75905 # ifndef int64_t
75906 __extension__ typedef long long int64_t;
75907 # endif
75908 # endif
75909 # ifndef _UINT64_T
75910 # define _UINT64_T
75911 # ifndef uint64_t
75912 __extension__ typedef unsigned long long uint64_t;
75913 # endif
75914 # endif
75916 #elif !defined __STRICT_ANSI__
75917 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
75919 # ifndef _INT64_T
75920 # define _INT64_T
75921 # ifndef int64_t
75922 typedef __int64 int64_t;
75923 # endif
75924 # endif
75925 # ifndef _UINT64_T
75926 # define _UINT64_T
75927 # ifndef uint64_t
75928 typedef unsigned __int64 uint64_t;
75929 # endif
75930 # endif
75931 # endif /* compiler */
75933 #endif /* ANSI version */
75937 # ------------- done int64_t types, emit intptr types ------------
75938 if test "$ac_cv_type_uintptr_t" != yes; then
75939 sed 's/^ *//' >> tmp-stdint.h <<EOF
75941 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75942 #ifndef __uintptr_t_defined
75943 #ifndef uintptr_t
75944 typedef u$acx_cv_type_intptr_t uintptr_t;
75945 #endif
75946 #endif
75947 #ifndef __intptr_t_defined
75948 #ifndef intptr_t
75949 typedef $acx_cv_type_intptr_t intptr_t;
75950 #endif
75951 #endif
75955 # ------------- done intptr types, emit int_least types ------------
75956 if test "$ac_cv_type_int_least32_t" != yes; then
75957 sed 's/^ *//' >> tmp-stdint.h <<EOF
75959 /* Define int_least types */
75960 typedef int8_t int_least8_t;
75961 typedef int16_t int_least16_t;
75962 typedef int32_t int_least32_t;
75963 #ifdef _INT64_T
75964 typedef int64_t int_least64_t;
75965 #endif
75967 typedef uint8_t uint_least8_t;
75968 typedef uint16_t uint_least16_t;
75969 typedef uint32_t uint_least32_t;
75970 #ifdef _UINT64_T
75971 typedef uint64_t uint_least64_t;
75972 #endif
75976 # ------------- done intptr types, emit int_fast types ------------
75977 if test "$ac_cv_type_int_fast32_t" != yes; then
75978 sed 's/^ *//' >> tmp-stdint.h <<EOF
75980 /* Define int_fast types. short is often slow */
75981 typedef int8_t int_fast8_t;
75982 typedef int int_fast16_t;
75983 typedef int32_t int_fast32_t;
75984 #ifdef _INT64_T
75985 typedef int64_t int_fast64_t;
75986 #endif
75988 typedef uint8_t uint_fast8_t;
75989 typedef unsigned int uint_fast16_t;
75990 typedef uint32_t uint_fast32_t;
75991 #ifdef _UINT64_T
75992 typedef uint64_t uint_fast64_t;
75993 #endif
75997 if test "$ac_cv_type_uintmax_t" != yes; then
75998 sed 's/^ *//' >> tmp-stdint.h <<EOF
76000 /* Define intmax based on what we found */
76001 #ifndef intmax_t
76002 #ifdef _INT64_T
76003 typedef int64_t intmax_t;
76004 #else
76005 typedef long intmax_t;
76006 #endif
76007 #endif
76008 #ifndef uintmax_t
76009 #ifdef _UINT64_T
76010 typedef uint64_t uintmax_t;
76011 #else
76012 typedef unsigned long uintmax_t;
76013 #endif
76014 #endif
76018 sed 's/^ *//' >> tmp-stdint.h <<EOF
76020 #endif /* GCC_GENERATED_STDINT_H */
76023 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76024 rm -f tmp-stdint.h
76025 else
76026 mv -f tmp-stdint.h include/gstdint.h
76030 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76031 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76032 "include/Makefile":F) cat > vpsed$$ << \_EOF
76033 s!`test -f '$<' || echo '$(srcdir)/'`!!
76034 _EOF
76035 sed -f vpsed$$ $ac_file > tmp$$
76036 mv tmp$$ $ac_file
76037 rm vpsed$$
76038 echo 'MULTISUBDIR =' >> $ac_file
76039 ml_norecursion=yes
76040 . ${multi_basedir}/config-ml.in
76041 { ml_norecursion=; unset ml_norecursion;}
76043 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76044 s!`test -f '$<' || echo '$(srcdir)/'`!!
76045 _EOF
76046 sed -f vpsed$$ $ac_file > tmp$$
76047 mv tmp$$ $ac_file
76048 rm vpsed$$
76049 echo 'MULTISUBDIR =' >> $ac_file
76050 ml_norecursion=yes
76051 . ${multi_basedir}/config-ml.in
76052 { ml_norecursion=; unset ml_norecursion;}
76054 "src/Makefile":F) cat > vpsed$$ << \_EOF
76055 s!`test -f '$<' || echo '$(srcdir)/'`!!
76056 _EOF
76057 sed -f vpsed$$ $ac_file > tmp$$
76058 mv tmp$$ $ac_file
76059 rm vpsed$$
76060 echo 'MULTISUBDIR =' >> $ac_file
76061 ml_norecursion=yes
76062 . ${multi_basedir}/config-ml.in
76063 { ml_norecursion=; unset ml_norecursion;}
76065 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76066 s!`test -f '$<' || echo '$(srcdir)/'`!!
76067 _EOF
76068 sed -f vpsed$$ $ac_file > tmp$$
76069 mv tmp$$ $ac_file
76070 rm vpsed$$
76071 echo 'MULTISUBDIR =' >> $ac_file
76072 ml_norecursion=yes
76073 . ${multi_basedir}/config-ml.in
76074 { ml_norecursion=; unset ml_norecursion;}
76076 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76077 s!`test -f '$<' || echo '$(srcdir)/'`!!
76078 _EOF
76079 sed -f vpsed$$ $ac_file > tmp$$
76080 mv tmp$$ $ac_file
76081 rm vpsed$$
76082 echo 'MULTISUBDIR =' >> $ac_file
76083 ml_norecursion=yes
76084 . ${multi_basedir}/config-ml.in
76085 { ml_norecursion=; unset ml_norecursion;}
76087 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
76088 s!`test -f '$<' || echo '$(srcdir)/'`!!
76089 _EOF
76090 sed -f vpsed$$ $ac_file > tmp$$
76091 mv tmp$$ $ac_file
76092 rm vpsed$$
76093 echo 'MULTISUBDIR =' >> $ac_file
76094 ml_norecursion=yes
76095 . ${multi_basedir}/config-ml.in
76096 { ml_norecursion=; unset ml_norecursion;}
76098 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
76099 s!`test -f '$<' || echo '$(srcdir)/'`!!
76100 _EOF
76101 sed -f vpsed$$ $ac_file > tmp$$
76102 mv tmp$$ $ac_file
76103 rm vpsed$$
76104 echo 'MULTISUBDIR =' >> $ac_file
76105 ml_norecursion=yes
76106 . ${multi_basedir}/config-ml.in
76107 { ml_norecursion=; unset ml_norecursion;}
76109 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
76110 s!`test -f '$<' || echo '$(srcdir)/'`!!
76111 _EOF
76112 sed -f vpsed$$ $ac_file > tmp$$
76113 mv tmp$$ $ac_file
76114 rm vpsed$$
76115 echo 'MULTISUBDIR =' >> $ac_file
76116 ml_norecursion=yes
76117 . ${multi_basedir}/config-ml.in
76118 { ml_norecursion=; unset ml_norecursion;}
76120 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
76121 s!`test -f '$<' || echo '$(srcdir)/'`!!
76122 _EOF
76123 sed -f vpsed$$ $ac_file > tmp$$
76124 mv tmp$$ $ac_file
76125 rm vpsed$$
76126 echo 'MULTISUBDIR =' >> $ac_file
76127 ml_norecursion=yes
76128 . ${multi_basedir}/config-ml.in
76129 { ml_norecursion=; unset ml_norecursion;}
76131 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76132 s!`test -f '$<' || echo '$(srcdir)/'`!!
76133 _EOF
76134 sed -f vpsed$$ $ac_file > tmp$$
76135 mv tmp$$ $ac_file
76136 rm vpsed$$
76137 echo 'MULTISUBDIR =' >> $ac_file
76138 ml_norecursion=yes
76139 . ${multi_basedir}/config-ml.in
76140 { ml_norecursion=; unset ml_norecursion;}
76142 "po/Makefile":F) cat > vpsed$$ << \_EOF
76143 s!`test -f '$<' || echo '$(srcdir)/'`!!
76144 _EOF
76145 sed -f vpsed$$ $ac_file > tmp$$
76146 mv tmp$$ $ac_file
76147 rm vpsed$$
76148 echo 'MULTISUBDIR =' >> $ac_file
76149 ml_norecursion=yes
76150 . ${multi_basedir}/config-ml.in
76151 { ml_norecursion=; unset ml_norecursion;}
76153 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76154 s!`test -f '$<' || echo '$(srcdir)/'`!!
76155 _EOF
76156 sed -f vpsed$$ $ac_file > tmp$$
76157 mv tmp$$ $ac_file
76158 rm vpsed$$
76159 echo 'MULTISUBDIR =' >> $ac_file
76160 ml_norecursion=yes
76161 . ${multi_basedir}/config-ml.in
76162 { ml_norecursion=; unset ml_norecursion;}
76164 "python/Makefile":F) cat > vpsed$$ << \_EOF
76165 s!`test -f '$<' || echo '$(srcdir)/'`!!
76166 _EOF
76167 sed -f vpsed$$ $ac_file > tmp$$
76168 mv tmp$$ $ac_file
76169 rm vpsed$$
76170 echo 'MULTISUBDIR =' >> $ac_file
76171 ml_norecursion=yes
76172 . ${multi_basedir}/config-ml.in
76173 { ml_norecursion=; unset ml_norecursion;}
76175 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76177 esac
76178 done # for ac_tag
76181 as_fn_exit 0
76182 _ACEOF
76183 ac_clean_files=$ac_clean_files_save
76185 test $ac_write_fail = 0 ||
76186 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
76189 # configure is writing to config.log, and then calls config.status.
76190 # config.status does its own redirection, appending to config.log.
76191 # Unfortunately, on DOS this fails, as config.log is still kept open
76192 # by configure, so config.status won't be able to write to it; its
76193 # output is simply discarded. So we exec the FD to /dev/null,
76194 # effectively closing config.log, so it can be properly (re)opened and
76195 # appended to by config.status. When coming back to configure, we
76196 # need to make the FD available again.
76197 if test "$no_create" != yes; then
76198 ac_cs_success=:
76199 ac_config_status_args=
76200 test "$silent" = yes &&
76201 ac_config_status_args="$ac_config_status_args --quiet"
76202 exec 5>/dev/null
76203 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76204 exec 5>>config.log
76205 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76206 # would make configure fail if this is the last instruction.
76207 $ac_cs_success || as_fn_exit 1
76209 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76211 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}