compiler: only build thunk struct type when it is needed
[official-gcc.git] / libstdc++-v3 / configure
blob7ead77a5c800a976100db4b4f919b4054c4c7c1a
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_hosted
926 enable_libstdcxx_verbose
927 enable_libstdcxx_pch
928 with_libstdcxx_lock_policy
929 enable_cstdio
930 enable_clocale
931 enable_nls
932 enable_libstdcxx_allocator
933 enable_cheaders_obsolete
934 enable_cheaders
935 enable_long_long
936 enable_wchar_t
937 enable_c99
938 enable_concept_checks
939 enable_libstdcxx_debug_flags
940 enable_libstdcxx_debug
941 enable_cxx_flags
942 enable_fully_dynamic_string
943 enable_extern_template
944 with_python_dir
945 enable_werror
946 enable_vtable_verify
947 enable_libstdcxx_time
948 enable_tls
949 enable_rpath
950 with_libiconv_prefix
951 with_libiconv_type
952 with_system_libunwind
953 enable_linux_futex
954 enable_symvers
955 enable_libstdcxx_visibility
956 enable_libstdcxx_dual_abi
957 with_default_libstdcxx_abi
958 enable_libstdcxx_threads
959 enable_libstdcxx_filesystem_ts
960 enable_libstdcxx_backtrace
961 enable_cet
962 with_gxx_include_dir
963 enable_version_specific_runtime_libs
964 with_toolexeclibdir
965 with_gcc_major_version_only
967 ac_precious_vars='build_alias
968 host_alias
969 target_alias
971 CFLAGS
972 LDFLAGS
973 LIBS
974 CPPFLAGS
976 CXXFLAGS
979 CXXCPP
980 CXXFILT'
983 # Initialize some variables set by options.
984 ac_init_help=
985 ac_init_version=false
986 ac_unrecognized_opts=
987 ac_unrecognized_sep=
988 # The variables have the same names as the options, with
989 # dashes changed to underlines.
990 cache_file=/dev/null
991 exec_prefix=NONE
992 no_create=
993 no_recursion=
994 prefix=NONE
995 program_prefix=NONE
996 program_suffix=NONE
997 program_transform_name=s,x,x,
998 silent=
999 site=
1000 srcdir=
1001 verbose=
1002 x_includes=NONE
1003 x_libraries=NONE
1005 # Installation directory options.
1006 # These are left unexpanded so users can "make install exec_prefix=/foo"
1007 # and all the variables that are supposed to be based on exec_prefix
1008 # by default will actually change.
1009 # Use braces instead of parens because sh, perl, etc. also accept them.
1010 # (The list follows the same order as the GNU Coding Standards.)
1011 bindir='${exec_prefix}/bin'
1012 sbindir='${exec_prefix}/sbin'
1013 libexecdir='${exec_prefix}/libexec'
1014 datarootdir='${prefix}/share'
1015 datadir='${datarootdir}'
1016 sysconfdir='${prefix}/etc'
1017 sharedstatedir='${prefix}/com'
1018 localstatedir='${prefix}/var'
1019 includedir='${prefix}/include'
1020 oldincludedir='/usr/include'
1021 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1022 infodir='${datarootdir}/info'
1023 htmldir='${docdir}'
1024 dvidir='${docdir}'
1025 pdfdir='${docdir}'
1026 psdir='${docdir}'
1027 libdir='${exec_prefix}/lib'
1028 localedir='${datarootdir}/locale'
1029 mandir='${datarootdir}/man'
1031 ac_prev=
1032 ac_dashdash=
1033 for ac_option
1035 # If the previous option needs an argument, assign it.
1036 if test -n "$ac_prev"; then
1037 eval $ac_prev=\$ac_option
1038 ac_prev=
1039 continue
1042 case $ac_option in
1043 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1044 *=) ac_optarg= ;;
1045 *) ac_optarg=yes ;;
1046 esac
1048 # Accept the important Cygnus configure options, so we can diagnose typos.
1050 case $ac_dashdash$ac_option in
1052 ac_dashdash=yes ;;
1054 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1055 ac_prev=bindir ;;
1056 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1057 bindir=$ac_optarg ;;
1059 -build | --build | --buil | --bui | --bu)
1060 ac_prev=build_alias ;;
1061 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1062 build_alias=$ac_optarg ;;
1064 -cache-file | --cache-file | --cache-fil | --cache-fi \
1065 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1066 ac_prev=cache_file ;;
1067 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1068 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1069 cache_file=$ac_optarg ;;
1071 --config-cache | -C)
1072 cache_file=config.cache ;;
1074 -datadir | --datadir | --datadi | --datad)
1075 ac_prev=datadir ;;
1076 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1077 datadir=$ac_optarg ;;
1079 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1080 | --dataroo | --dataro | --datar)
1081 ac_prev=datarootdir ;;
1082 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1083 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1084 datarootdir=$ac_optarg ;;
1086 -disable-* | --disable-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error $? "invalid feature name: $ac_useropt"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1095 "enable_$ac_useropt"
1096 "*) ;;
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1099 esac
1100 eval enable_$ac_useropt=no ;;
1102 -docdir | --docdir | --docdi | --doc | --do)
1103 ac_prev=docdir ;;
1104 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1105 docdir=$ac_optarg ;;
1107 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1108 ac_prev=dvidir ;;
1109 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1110 dvidir=$ac_optarg ;;
1112 -enable-* | --enable-*)
1113 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116 as_fn_error $? "invalid feature name: $ac_useropt"
1117 ac_useropt_orig=$ac_useropt
1118 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119 case $ac_user_opts in
1121 "enable_$ac_useropt"
1122 "*) ;;
1123 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1124 ac_unrecognized_sep=', ';;
1125 esac
1126 eval enable_$ac_useropt=\$ac_optarg ;;
1128 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1129 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1130 | --exec | --exe | --ex)
1131 ac_prev=exec_prefix ;;
1132 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1133 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1134 | --exec=* | --exe=* | --ex=*)
1135 exec_prefix=$ac_optarg ;;
1137 -gas | --gas | --ga | --g)
1138 # Obsolete; use --with-gas.
1139 with_gas=yes ;;
1141 -help | --help | --hel | --he | -h)
1142 ac_init_help=long ;;
1143 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1144 ac_init_help=recursive ;;
1145 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1146 ac_init_help=short ;;
1148 -host | --host | --hos | --ho)
1149 ac_prev=host_alias ;;
1150 -host=* | --host=* | --hos=* | --ho=*)
1151 host_alias=$ac_optarg ;;
1153 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1154 ac_prev=htmldir ;;
1155 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1156 | --ht=*)
1157 htmldir=$ac_optarg ;;
1159 -includedir | --includedir | --includedi | --included | --include \
1160 | --includ | --inclu | --incl | --inc)
1161 ac_prev=includedir ;;
1162 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1163 | --includ=* | --inclu=* | --incl=* | --inc=*)
1164 includedir=$ac_optarg ;;
1166 -infodir | --infodir | --infodi | --infod | --info | --inf)
1167 ac_prev=infodir ;;
1168 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1169 infodir=$ac_optarg ;;
1171 -libdir | --libdir | --libdi | --libd)
1172 ac_prev=libdir ;;
1173 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1174 libdir=$ac_optarg ;;
1176 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1177 | --libexe | --libex | --libe)
1178 ac_prev=libexecdir ;;
1179 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1180 | --libexe=* | --libex=* | --libe=*)
1181 libexecdir=$ac_optarg ;;
1183 -localedir | --localedir | --localedi | --localed | --locale)
1184 ac_prev=localedir ;;
1185 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1186 localedir=$ac_optarg ;;
1188 -localstatedir | --localstatedir | --localstatedi | --localstated \
1189 | --localstate | --localstat | --localsta | --localst | --locals)
1190 ac_prev=localstatedir ;;
1191 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1192 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1193 localstatedir=$ac_optarg ;;
1195 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1196 ac_prev=mandir ;;
1197 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1198 mandir=$ac_optarg ;;
1200 -nfp | --nfp | --nf)
1201 # Obsolete; use --without-fp.
1202 with_fp=no ;;
1204 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1205 | --no-cr | --no-c | -n)
1206 no_create=yes ;;
1208 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1209 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1210 no_recursion=yes ;;
1212 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1213 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1214 | --oldin | --oldi | --old | --ol | --o)
1215 ac_prev=oldincludedir ;;
1216 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1217 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1218 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1219 oldincludedir=$ac_optarg ;;
1221 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1222 ac_prev=prefix ;;
1223 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1224 prefix=$ac_optarg ;;
1226 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1227 | --program-pre | --program-pr | --program-p)
1228 ac_prev=program_prefix ;;
1229 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1230 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1231 program_prefix=$ac_optarg ;;
1233 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1234 | --program-suf | --program-su | --program-s)
1235 ac_prev=program_suffix ;;
1236 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1237 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1238 program_suffix=$ac_optarg ;;
1240 -program-transform-name | --program-transform-name \
1241 | --program-transform-nam | --program-transform-na \
1242 | --program-transform-n | --program-transform- \
1243 | --program-transform | --program-transfor \
1244 | --program-transfo | --program-transf \
1245 | --program-trans | --program-tran \
1246 | --progr-tra | --program-tr | --program-t)
1247 ac_prev=program_transform_name ;;
1248 -program-transform-name=* | --program-transform-name=* \
1249 | --program-transform-nam=* | --program-transform-na=* \
1250 | --program-transform-n=* | --program-transform-=* \
1251 | --program-transform=* | --program-transfor=* \
1252 | --program-transfo=* | --program-transf=* \
1253 | --program-trans=* | --program-tran=* \
1254 | --progr-tra=* | --program-tr=* | --program-t=*)
1255 program_transform_name=$ac_optarg ;;
1257 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1258 ac_prev=pdfdir ;;
1259 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1260 pdfdir=$ac_optarg ;;
1262 -psdir | --psdir | --psdi | --psd | --ps)
1263 ac_prev=psdir ;;
1264 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1265 psdir=$ac_optarg ;;
1267 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1268 | -silent | --silent | --silen | --sile | --sil)
1269 silent=yes ;;
1271 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1272 ac_prev=sbindir ;;
1273 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1274 | --sbi=* | --sb=*)
1275 sbindir=$ac_optarg ;;
1277 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1278 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1279 | --sharedst | --shareds | --shared | --share | --shar \
1280 | --sha | --sh)
1281 ac_prev=sharedstatedir ;;
1282 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1283 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1284 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1285 | --sha=* | --sh=*)
1286 sharedstatedir=$ac_optarg ;;
1288 -site | --site | --sit)
1289 ac_prev=site ;;
1290 -site=* | --site=* | --sit=*)
1291 site=$ac_optarg ;;
1293 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1294 ac_prev=srcdir ;;
1295 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1296 srcdir=$ac_optarg ;;
1298 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1299 | --syscon | --sysco | --sysc | --sys | --sy)
1300 ac_prev=sysconfdir ;;
1301 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1302 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1303 sysconfdir=$ac_optarg ;;
1305 -target | --target | --targe | --targ | --tar | --ta | --t)
1306 ac_prev=target_alias ;;
1307 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1308 target_alias=$ac_optarg ;;
1310 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1311 verbose=yes ;;
1313 -version | --version | --versio | --versi | --vers | -V)
1314 ac_init_version=: ;;
1316 -with-* | --with-*)
1317 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1318 # Reject names that are not valid shell variable names.
1319 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1320 as_fn_error $? "invalid package name: $ac_useropt"
1321 ac_useropt_orig=$ac_useropt
1322 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1323 case $ac_user_opts in
1325 "with_$ac_useropt"
1326 "*) ;;
1327 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1328 ac_unrecognized_sep=', ';;
1329 esac
1330 eval with_$ac_useropt=\$ac_optarg ;;
1332 -without-* | --without-*)
1333 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1334 # Reject names that are not valid shell variable names.
1335 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1336 as_fn_error $? "invalid package name: $ac_useropt"
1337 ac_useropt_orig=$ac_useropt
1338 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1339 case $ac_user_opts in
1341 "with_$ac_useropt"
1342 "*) ;;
1343 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1344 ac_unrecognized_sep=', ';;
1345 esac
1346 eval with_$ac_useropt=no ;;
1348 --x)
1349 # Obsolete; use --with-x.
1350 with_x=yes ;;
1352 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1353 | --x-incl | --x-inc | --x-in | --x-i)
1354 ac_prev=x_includes ;;
1355 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1356 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1357 x_includes=$ac_optarg ;;
1359 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1360 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1361 ac_prev=x_libraries ;;
1362 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1363 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1364 x_libraries=$ac_optarg ;;
1366 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1367 Try \`$0 --help' for more information"
1370 *=*)
1371 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1372 # Reject names that are not valid shell variable names.
1373 case $ac_envvar in #(
1374 '' | [0-9]* | *[!_$as_cr_alnum]* )
1375 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1376 esac
1377 eval $ac_envvar=\$ac_optarg
1378 export $ac_envvar ;;
1381 # FIXME: should be removed in autoconf 3.0.
1382 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1383 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1385 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1388 esac
1389 done
1391 if test -n "$ac_prev"; then
1392 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1393 as_fn_error $? "missing argument to $ac_option"
1396 if test -n "$ac_unrecognized_opts"; then
1397 case $enable_option_checking in
1398 no) ;;
1399 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1400 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1401 esac
1404 # Check all directory arguments for consistency.
1405 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1406 datadir sysconfdir sharedstatedir localstatedir includedir \
1407 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1408 libdir localedir mandir
1410 eval ac_val=\$$ac_var
1411 # Remove trailing slashes.
1412 case $ac_val in
1413 */ )
1414 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1415 eval $ac_var=\$ac_val;;
1416 esac
1417 # Be sure to have absolute directory names.
1418 case $ac_val in
1419 [\\/$]* | ?:[\\/]* ) continue;;
1420 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1421 esac
1422 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1423 done
1425 # There might be people who depend on the old broken behavior: `$host'
1426 # used to hold the argument of --host etc.
1427 # FIXME: To remove some day.
1428 build=$build_alias
1429 host=$host_alias
1430 target=$target_alias
1432 # FIXME: To remove some day.
1433 if test "x$host_alias" != x; then
1434 if test "x$build_alias" = x; then
1435 cross_compiling=maybe
1436 elif test "x$build_alias" != "x$host_alias"; then
1437 cross_compiling=yes
1441 ac_tool_prefix=
1442 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1444 test "$silent" = yes && exec 6>/dev/null
1447 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1448 ac_ls_di=`ls -di .` &&
1449 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1450 as_fn_error $? "working directory cannot be determined"
1451 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1452 as_fn_error $? "pwd does not report name of working directory"
1455 # Find the source files, if location was not specified.
1456 if test -z "$srcdir"; then
1457 ac_srcdir_defaulted=yes
1458 # Try the directory containing this script, then the parent directory.
1459 ac_confdir=`$as_dirname -- "$as_myself" ||
1460 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1461 X"$as_myself" : 'X\(//\)[^/]' \| \
1462 X"$as_myself" : 'X\(//\)$' \| \
1463 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1464 $as_echo X"$as_myself" |
1465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1466 s//\1/
1469 /^X\(\/\/\)[^/].*/{
1470 s//\1/
1473 /^X\(\/\/\)$/{
1474 s//\1/
1477 /^X\(\/\).*/{
1478 s//\1/
1481 s/.*/./; q'`
1482 srcdir=$ac_confdir
1483 if test ! -r "$srcdir/$ac_unique_file"; then
1484 srcdir=..
1486 else
1487 ac_srcdir_defaulted=no
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1491 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1493 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1494 ac_abs_confdir=`(
1495 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1496 pwd)`
1497 # When building in place, set srcdir=.
1498 if test "$ac_abs_confdir" = "$ac_pwd"; then
1499 srcdir=.
1501 # Remove unnecessary trailing slashes from srcdir.
1502 # Double slashes in file names in object file debugging info
1503 # mess up M-x gdb in Emacs.
1504 case $srcdir in
1505 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1506 esac
1507 for ac_var in $ac_precious_vars; do
1508 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1509 eval ac_env_${ac_var}_value=\$${ac_var}
1510 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1511 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1512 done
1515 # Report the --help message.
1517 if test "$ac_init_help" = "long"; then
1518 # Omit some internal or obsolete options to make the list less imposing.
1519 # This message is too long to be a string in the A/UX 3.1 sh.
1520 cat <<_ACEOF
1521 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1523 Usage: $0 [OPTION]... [VAR=VALUE]...
1525 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1526 VAR=VALUE. See below for descriptions of some of the useful variables.
1528 Defaults for the options are specified in brackets.
1530 Configuration:
1531 -h, --help display this help and exit
1532 --help=short display options specific to this package
1533 --help=recursive display the short help of all the included packages
1534 -V, --version display version information and exit
1535 -q, --quiet, --silent do not print \`checking ...' messages
1536 --cache-file=FILE cache test results in FILE [disabled]
1537 -C, --config-cache alias for \`--cache-file=config.cache'
1538 -n, --no-create do not create output files
1539 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1541 Installation directories:
1542 --prefix=PREFIX install architecture-independent files in PREFIX
1543 [$ac_default_prefix]
1544 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1545 [PREFIX]
1547 By default, \`make install' will install all the files in
1548 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1549 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1550 for instance \`--prefix=\$HOME'.
1552 For better control, use the options below.
1554 Fine tuning of the installation directories:
1555 --bindir=DIR user executables [EPREFIX/bin]
1556 --sbindir=DIR system admin executables [EPREFIX/sbin]
1557 --libexecdir=DIR program executables [EPREFIX/libexec]
1558 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1559 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1560 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1561 --libdir=DIR object code libraries [EPREFIX/lib]
1562 --includedir=DIR C header files [PREFIX/include]
1563 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1564 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1565 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1566 --infodir=DIR info documentation [DATAROOTDIR/info]
1567 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1568 --mandir=DIR man documentation [DATAROOTDIR/man]
1569 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1570 --htmldir=DIR html documentation [DOCDIR]
1571 --dvidir=DIR dvi documentation [DOCDIR]
1572 --pdfdir=DIR pdf documentation [DOCDIR]
1573 --psdir=DIR ps documentation [DOCDIR]
1574 _ACEOF
1576 cat <<\_ACEOF
1578 Program names:
1579 --program-prefix=PREFIX prepend PREFIX to installed program names
1580 --program-suffix=SUFFIX append SUFFIX to installed program names
1581 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1583 System types:
1584 --build=BUILD configure for building on BUILD [guessed]
1585 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1586 --target=TARGET configure for building compilers for TARGET [HOST]
1587 _ACEOF
1590 if test -n "$ac_init_help"; then
1591 case $ac_init_help in
1592 short | recursive ) echo "Configuration of package-unused version-unused:";;
1593 esac
1594 cat <<\_ACEOF
1596 Optional Features:
1597 --disable-option-checking ignore unrecognized --enable/--with options
1598 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1599 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1600 --enable-multilib build many library versions (default)
1601 --enable-silent-rules less verbose build output (undo: "make V=1")
1602 --disable-silent-rules verbose build output (undo: "make V=0")
1603 --disable-largefile omit support for large files
1604 --enable-maintainer-mode
1605 enable make rules and dependencies not useful (and
1606 sometimes confusing) to the casual installer
1607 --enable-shared[=PKGS] build shared libraries [default=yes]
1608 --enable-static[=PKGS] build static libraries [default=yes]
1609 --enable-fast-install[=PKGS]
1610 optimize for fast installation [default=yes]
1611 --disable-libtool-lock avoid locking (might break parallel builds)
1612 --disable-hosted-libstdcxx
1613 only build freestanding C++ runtime support
1614 --disable-libstdcxx-hosted
1615 alias for --disable-hosted-libstdcxx
1616 --disable-libstdcxx-verbose
1617 disable termination messages to standard error
1618 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1619 [default=$is_hosted]
1620 --enable-cstdio[=PACKAGE]
1621 use target-specific I/O package [default=stdio]
1622 --enable-clocale[=MODEL]
1623 use MODEL for target locale package [default=auto]
1624 --enable-nls use Native Language Support (default)
1625 --enable-libstdcxx-allocator[=KIND]
1626 use KIND for target std::allocator base
1627 [default=auto]
1628 --enable-cheaders-obsolete
1629 allow use of obsolete "C" headers for g++
1630 [default=no]
1631 --enable-cheaders[=KIND]
1632 construct "C" headers for g++ [default=$c_model]
1633 --enable-long-long enable template specializations for 'long long'
1634 [default=yes]
1635 --enable-wchar_t enable template specializations for 'wchar_t'
1636 [default=yes]
1637 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1638 --enable-concept-checks use Boost-derived template checks [default=no]
1639 --enable-libstdcxx-debug-flags=FLAGS
1640 pass compiler FLAGS when building debug library
1641 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1642 --enable-libstdcxx-debug
1643 build extra debug library [default=no]
1644 --enable-cxx-flags=FLAGS
1645 pass compiler FLAGS when building library [default=]
1646 --enable-fully-dynamic-string
1647 do not put empty strings in per-process static
1648 memory [default=no]
1649 --enable-extern-template
1650 enable extern template [default=yes]
1651 --enable-werror turns on -Werror [default=no]
1652 --enable-vtable-verify enable vtable verify [default=no]
1653 --enable-libstdcxx-time[=KIND]
1654 use KIND for check type [default=auto]
1655 --enable-tls Use thread-local storage [default=yes]
1656 --disable-rpath do not hardcode runtime library paths
1657 --enable-linux-futex use the Linux futex system call [default=default]
1658 --enable-symvers[=STYLE]
1659 enables symbol versioning of the shared library
1660 [default=yes]
1661 --enable-libstdcxx-visibility
1662 enables visibility safe usage [default=yes]
1663 --enable-libstdcxx-dual-abi
1664 support two versions of std::string [default=yes]
1665 --enable-libstdcxx-threads
1666 enable C++11 threads support [default=auto]
1667 --enable-libstdcxx-filesystem-ts
1668 turns on ISO/IEC TS 18822 support [default=auto]
1669 --enable-libstdcxx-backtrace
1670 turns on libbacktrace support [default=auto]
1671 --enable-cet enable Intel CET in target libraries [default=auto]
1672 --enable-version-specific-runtime-libs
1673 Specify that runtime libraries should be installed
1674 in a compiler-specific directory
1676 Optional Packages:
1677 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1678 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1679 --with-target-subdir=SUBDIR
1680 configuring in a subdirectory
1681 --with-cross-host=HOST configuring with a cross compiler
1682 --with-newlib assume newlib as a system C library
1683 --with-pic try to use only PIC/non-PIC objects [default=use
1684 both]
1685 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1686 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1687 synchronization policy for shared_ptr reference
1688 counting [default=auto]
1689 --with-python-dir the location to install Python modules. This path is
1690 relative starting from the prefix.
1691 --with-gnu-ld assume the C compiler uses GNU ld default=no
1692 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1693 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1694 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1695 --with-system-libunwind use installed libunwind
1696 --with-default-libstdcxx-abi
1697 set the std::string ABI to use by default
1698 --with-gxx-include-dir=DIR
1699 installation directory for include files
1700 --with-toolexeclibdir=DIR
1701 install libraries built with a cross compiler within
1703 --with-gcc-major-version-only
1704 use only GCC major number in filesystem paths
1706 Some influential environment variables:
1707 CC C compiler command
1708 CFLAGS C compiler flags
1709 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1710 nonstandard directory <lib dir>
1711 LIBS libraries to pass to the linker, e.g. -l<library>
1712 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1713 you have headers in a nonstandard directory <include dir>
1714 CXX C++ compiler command
1715 CXXFLAGS C++ compiler flags
1716 CPP C preprocessor
1717 CXXCPP C++ preprocessor
1718 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1719 `c++filt', `gc++filt' on PATH.
1721 Use these variables to override the choices made by `configure' or to help
1722 it to find libraries and programs with nonstandard names/locations.
1724 Report bugs to the package provider.
1725 _ACEOF
1726 ac_status=$?
1729 if test "$ac_init_help" = "recursive"; then
1730 # If there are subdirs, report their specific --help.
1731 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1732 test -d "$ac_dir" ||
1733 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1734 continue
1735 ac_builddir=.
1737 case "$ac_dir" in
1738 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1740 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1741 # A ".." for each directory in $ac_dir_suffix.
1742 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1743 case $ac_top_builddir_sub in
1744 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1745 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1746 esac ;;
1747 esac
1748 ac_abs_top_builddir=$ac_pwd
1749 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1750 # for backward compatibility:
1751 ac_top_builddir=$ac_top_build_prefix
1753 case $srcdir in
1754 .) # We are building in place.
1755 ac_srcdir=.
1756 ac_top_srcdir=$ac_top_builddir_sub
1757 ac_abs_top_srcdir=$ac_pwd ;;
1758 [\\/]* | ?:[\\/]* ) # Absolute name.
1759 ac_srcdir=$srcdir$ac_dir_suffix;
1760 ac_top_srcdir=$srcdir
1761 ac_abs_top_srcdir=$srcdir ;;
1762 *) # Relative name.
1763 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1764 ac_top_srcdir=$ac_top_build_prefix$srcdir
1765 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1766 esac
1767 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1769 cd "$ac_dir" || { ac_status=$?; continue; }
1770 # Check for guested configure.
1771 if test -f "$ac_srcdir/configure.gnu"; then
1772 echo &&
1773 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1774 elif test -f "$ac_srcdir/configure"; then
1775 echo &&
1776 $SHELL "$ac_srcdir/configure" --help=recursive
1777 else
1778 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1779 fi || ac_status=$?
1780 cd "$ac_pwd" || { ac_status=$?; break; }
1781 done
1784 test -n "$ac_init_help" && exit $ac_status
1785 if $ac_init_version; then
1786 cat <<\_ACEOF
1787 package-unused configure version-unused
1788 generated by GNU Autoconf 2.69
1790 Copyright (C) 2012 Free Software Foundation, Inc.
1791 This configure script is free software; the Free Software Foundation
1792 gives unlimited permission to copy, distribute and modify it.
1793 _ACEOF
1794 exit
1797 ## ------------------------ ##
1798 ## Autoconf initialization. ##
1799 ## ------------------------ ##
1801 # ac_fn_c_try_compile LINENO
1802 # --------------------------
1803 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1804 ac_fn_c_try_compile ()
1806 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807 rm -f conftest.$ac_objext
1808 if { { ac_try="$ac_compile"
1809 case "(($ac_try" in
1810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811 *) ac_try_echo=$ac_try;;
1812 esac
1813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814 $as_echo "$ac_try_echo"; } >&5
1815 (eval "$ac_compile") 2>conftest.err
1816 ac_status=$?
1817 if test -s conftest.err; then
1818 grep -v '^ *+' conftest.err >conftest.er1
1819 cat conftest.er1 >&5
1820 mv -f conftest.er1 conftest.err
1822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823 test $ac_status = 0; } && {
1824 test -z "$ac_c_werror_flag" ||
1825 test ! -s conftest.err
1826 } && test -s conftest.$ac_objext; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=1
1834 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1835 as_fn_set_status $ac_retval
1837 } # ac_fn_c_try_compile
1839 # ac_fn_cxx_try_compile LINENO
1840 # ----------------------------
1841 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1842 ac_fn_cxx_try_compile ()
1844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1845 rm -f conftest.$ac_objext
1846 if { { ac_try="$ac_compile"
1847 case "(($ac_try" in
1848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849 *) ac_try_echo=$ac_try;;
1850 esac
1851 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_compile") 2>conftest.err
1854 ac_status=$?
1855 if test -s conftest.err; then
1856 grep -v '^ *+' conftest.err >conftest.er1
1857 cat conftest.er1 >&5
1858 mv -f conftest.er1 conftest.err
1860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1861 test $ac_status = 0; } && {
1862 test -z "$ac_cxx_werror_flag" ||
1863 test ! -s conftest.err
1864 } && test -s conftest.$ac_objext; then :
1865 ac_retval=0
1866 else
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.$ac_ext >&5
1870 ac_retval=1
1872 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873 as_fn_set_status $ac_retval
1875 } # ac_fn_cxx_try_compile
1877 # ac_fn_c_try_cpp LINENO
1878 # ----------------------
1879 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1880 ac_fn_c_try_cpp ()
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if { { ac_try="$ac_cpp conftest.$ac_ext"
1884 case "(($ac_try" in
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1887 esac
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1891 ac_status=$?
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } > conftest.i && {
1899 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1900 test ! -s conftest.err
1901 }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.$ac_ext >&5
1907 ac_retval=1
1909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1910 as_fn_set_status $ac_retval
1912 } # ac_fn_c_try_cpp
1914 # ac_fn_c_try_link LINENO
1915 # -----------------------
1916 # Try to link conftest.$ac_ext, and return whether this succeeded.
1917 ac_fn_c_try_link ()
1919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920 rm -f conftest.$ac_objext conftest$ac_exeext
1921 if { { ac_try="$ac_link"
1922 case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_link") 2>conftest.err
1929 ac_status=$?
1930 if test -s conftest.err; then
1931 grep -v '^ *+' conftest.err >conftest.er1
1932 cat conftest.er1 >&5
1933 mv -f conftest.er1 conftest.err
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } && {
1937 test -z "$ac_c_werror_flag" ||
1938 test ! -s conftest.err
1939 } && test -s conftest$ac_exeext && {
1940 test "$cross_compiling" = yes ||
1941 test -x conftest$ac_exeext
1942 }; then :
1943 ac_retval=0
1944 else
1945 $as_echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.$ac_ext >&5
1948 ac_retval=1
1950 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1951 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1952 # interfere with the next link command; also delete a directory that is
1953 # left behind by Apple's compiler. We do this before executing the actions.
1954 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1955 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 as_fn_set_status $ac_retval
1958 } # ac_fn_c_try_link
1960 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1961 # -------------------------------------------------------
1962 # Tests whether HEADER exists and can be compiled using the include files in
1963 # INCLUDES, setting the cache variable VAR accordingly.
1964 ac_fn_c_check_header_compile ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1968 $as_echo_n "checking for $2... " >&6; }
1969 if eval \${$3+:} false; then :
1970 $as_echo_n "(cached) " >&6
1971 else
1972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1975 #include <$2>
1976 _ACEOF
1977 if ac_fn_c_try_compile "$LINENO"; then :
1978 eval "$3=yes"
1979 else
1980 eval "$3=no"
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1984 eval ac_res=\$$3
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1989 } # ac_fn_c_check_header_compile
1991 # ac_fn_c_try_run LINENO
1992 # ----------------------
1993 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1994 # that executables *can* be run.
1995 ac_fn_c_try_run ()
1997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998 if { { ac_try="$ac_link"
1999 case "(($ac_try" in
2000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2001 *) ac_try_echo=$ac_try;;
2002 esac
2003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2004 $as_echo "$ac_try_echo"; } >&5
2005 (eval "$ac_link") 2>&5
2006 ac_status=$?
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2009 { { case "(($ac_try" in
2010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2011 *) ac_try_echo=$ac_try;;
2012 esac
2013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2014 $as_echo "$ac_try_echo"; } >&5
2015 (eval "$ac_try") 2>&5
2016 ac_status=$?
2017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018 test $ac_status = 0; }; }; then :
2019 ac_retval=0
2020 else
2021 $as_echo "$as_me: program exited with status $ac_status" >&5
2022 $as_echo "$as_me: failed program was:" >&5
2023 sed 's/^/| /' conftest.$ac_ext >&5
2025 ac_retval=$ac_status
2027 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2029 as_fn_set_status $ac_retval
2031 } # ac_fn_c_try_run
2033 # ac_fn_c_check_func LINENO FUNC VAR
2034 # ----------------------------------
2035 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2036 ac_fn_c_check_func ()
2038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040 $as_echo_n "checking for $2... " >&6; }
2041 if eval \${$3+:} false; then :
2042 $as_echo_n "(cached) " >&6
2043 else
2044 if test x$gcc_no_link = xyes; then
2045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2049 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2051 #define $2 innocuous_$2
2053 /* System header to define __stub macros and hopefully few prototypes,
2054 which can conflict with char $2 (); below.
2055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2056 <limits.h> exists even on freestanding compilers. */
2058 #ifdef __STDC__
2059 # include <limits.h>
2060 #else
2061 # include <assert.h>
2062 #endif
2064 #undef $2
2066 /* Override any GCC internal prototype to avoid an error.
2067 Use char because int might match the return type of a GCC
2068 builtin and then its argument prototype would still apply. */
2069 #ifdef __cplusplus
2070 extern "C"
2071 #endif
2072 char $2 ();
2073 /* The GNU C library defines this for functions which it implements
2074 to always fail with ENOSYS. Some functions are actually named
2075 something starting with __ and the normal name is an alias. */
2076 #if defined __stub_$2 || defined __stub___$2
2077 choke me
2078 #endif
2081 main ()
2083 return $2 ();
2085 return 0;
2087 _ACEOF
2088 if ac_fn_c_try_link "$LINENO"; then :
2089 eval "$3=yes"
2090 else
2091 eval "$3=no"
2093 rm -f core conftest.err conftest.$ac_objext \
2094 conftest$ac_exeext conftest.$ac_ext
2096 eval ac_res=\$$3
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2098 $as_echo "$ac_res" >&6; }
2099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101 } # ac_fn_c_check_func
2103 # ac_fn_cxx_try_cpp LINENO
2104 # ------------------------
2105 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2106 ac_fn_cxx_try_cpp ()
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 if { { ac_try="$ac_cpp conftest.$ac_ext"
2110 case "(($ac_try" in
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2113 esac
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2117 ac_status=$?
2118 if test -s conftest.err; then
2119 grep -v '^ *+' conftest.err >conftest.er1
2120 cat conftest.er1 >&5
2121 mv -f conftest.er1 conftest.err
2123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124 test $ac_status = 0; } > conftest.i && {
2125 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2126 test ! -s conftest.err
2127 }; then :
2128 ac_retval=0
2129 else
2130 $as_echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.$ac_ext >&5
2133 ac_retval=1
2135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2136 as_fn_set_status $ac_retval
2138 } # ac_fn_cxx_try_cpp
2140 # ac_fn_cxx_try_link LINENO
2141 # -------------------------
2142 # Try to link conftest.$ac_ext, and return whether this succeeded.
2143 ac_fn_cxx_try_link ()
2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146 rm -f conftest.$ac_objext conftest$ac_exeext
2147 if { { ac_try="$ac_link"
2148 case "(($ac_try" in
2149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2150 *) ac_try_echo=$ac_try;;
2151 esac
2152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2153 $as_echo "$ac_try_echo"; } >&5
2154 (eval "$ac_link") 2>conftest.err
2155 ac_status=$?
2156 if test -s conftest.err; then
2157 grep -v '^ *+' conftest.err >conftest.er1
2158 cat conftest.er1 >&5
2159 mv -f conftest.er1 conftest.err
2161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2162 test $ac_status = 0; } && {
2163 test -z "$ac_cxx_werror_flag" ||
2164 test ! -s conftest.err
2165 } && test -s conftest$ac_exeext && {
2166 test "$cross_compiling" = yes ||
2167 test -x conftest$ac_exeext
2168 }; then :
2169 ac_retval=0
2170 else
2171 $as_echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2174 ac_retval=1
2176 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2177 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2178 # interfere with the next link command; also delete a directory that is
2179 # left behind by Apple's compiler. We do this before executing the actions.
2180 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 as_fn_set_status $ac_retval
2184 } # ac_fn_cxx_try_link
2186 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # -------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_c_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if eval \${$3+:} false; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if eval \${$3+:} false; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_c_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_c_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.i conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if eval \${$3+:} false; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2271 } # ac_fn_c_check_header_mongrel
2273 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2274 # ---------------------------------------------------------
2275 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2276 # the include files in INCLUDES and setting the cache variable VAR
2277 # accordingly.
2278 ac_fn_cxx_check_header_mongrel ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if eval \${$3+:} false; then :
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2283 $as_echo_n "checking for $2... " >&6; }
2284 if eval \${$3+:} false; then :
2285 $as_echo_n "(cached) " >&6
2287 eval ac_res=\$$3
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2289 $as_echo "$ac_res" >&6; }
2290 else
2291 # Is the header compilable?
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2293 $as_echo_n "checking $2 usability... " >&6; }
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_cxx_try_compile "$LINENO"; then :
2300 ac_header_compiler=yes
2301 else
2302 ac_header_compiler=no
2304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2306 $as_echo "$ac_header_compiler" >&6; }
2308 # Is the header present?
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2310 $as_echo_n "checking $2 presence... " >&6; }
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 #include <$2>
2314 _ACEOF
2315 if ac_fn_cxx_try_cpp "$LINENO"; then :
2316 ac_header_preproc=yes
2317 else
2318 ac_header_preproc=no
2320 rm -f conftest.err conftest.i conftest.$ac_ext
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2322 $as_echo "$ac_header_preproc" >&6; }
2324 # So? What about this header?
2325 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2326 yes:no: )
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2328 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2330 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2332 no:yes:* )
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2334 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2336 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2338 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2340 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2342 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2344 esac
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2346 $as_echo_n "checking for $2... " >&6; }
2347 if eval \${$3+:} false; then :
2348 $as_echo_n "(cached) " >&6
2349 else
2350 eval "$3=\$ac_header_compiler"
2352 eval ac_res=\$$3
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2354 $as_echo "$ac_res" >&6; }
2356 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2358 } # ac_fn_cxx_check_header_mongrel
2360 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2361 # --------------------------------------------
2362 # Tries to find the compile-time value of EXPR in a program that includes
2363 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2364 # computed
2365 ac_fn_c_compute_int ()
2367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2368 if test "$cross_compiling" = yes; then
2369 # Depending upon the size, compute the lo and hi bounds.
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2374 main ()
2376 static int test_array [1 - 2 * !(($2) >= 0)];
2377 test_array [0] = 0;
2378 return test_array [0];
2381 return 0;
2383 _ACEOF
2384 if ac_fn_c_try_compile "$LINENO"; then :
2385 ac_lo=0 ac_mid=0
2386 while :; do
2387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2388 /* end confdefs.h. */
2391 main ()
2393 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2394 test_array [0] = 0;
2395 return test_array [0];
2398 return 0;
2400 _ACEOF
2401 if ac_fn_c_try_compile "$LINENO"; then :
2402 ac_hi=$ac_mid; break
2403 else
2404 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2405 if test $ac_lo -le $ac_mid; then
2406 ac_lo= ac_hi=
2407 break
2409 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2412 done
2413 else
2414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2415 /* end confdefs.h. */
2418 main ()
2420 static int test_array [1 - 2 * !(($2) < 0)];
2421 test_array [0] = 0;
2422 return test_array [0];
2425 return 0;
2427 _ACEOF
2428 if ac_fn_c_try_compile "$LINENO"; then :
2429 ac_hi=-1 ac_mid=-1
2430 while :; do
2431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2432 /* end confdefs.h. */
2435 main ()
2437 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2438 test_array [0] = 0;
2439 return test_array [0];
2442 return 0;
2444 _ACEOF
2445 if ac_fn_c_try_compile "$LINENO"; then :
2446 ac_lo=$ac_mid; break
2447 else
2448 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2449 if test $ac_mid -le $ac_hi; then
2450 ac_lo= ac_hi=
2451 break
2453 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 done
2457 else
2458 ac_lo= ac_hi=
2460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2463 # Binary search between lo and hi bounds.
2464 while test "x$ac_lo" != "x$ac_hi"; do
2465 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2470 main ()
2472 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2473 test_array [0] = 0;
2474 return test_array [0];
2477 return 0;
2479 _ACEOF
2480 if ac_fn_c_try_compile "$LINENO"; then :
2481 ac_hi=$ac_mid
2482 else
2483 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 done
2487 case $ac_lo in #((
2488 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2489 '') ac_retval=1 ;;
2490 esac
2491 else
2492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2493 /* end confdefs.h. */
2495 static long int longval () { return $2; }
2496 static unsigned long int ulongval () { return $2; }
2497 #include <stdio.h>
2498 #include <stdlib.h>
2500 main ()
2503 FILE *f = fopen ("conftest.val", "w");
2504 if (! f)
2505 return 1;
2506 if (($2) < 0)
2508 long int i = longval ();
2509 if (i != ($2))
2510 return 1;
2511 fprintf (f, "%ld", i);
2513 else
2515 unsigned long int i = ulongval ();
2516 if (i != ($2))
2517 return 1;
2518 fprintf (f, "%lu", i);
2520 /* Do not output a trailing newline, as this causes \r\n confusion
2521 on some platforms. */
2522 return ferror (f) || fclose (f) != 0;
2525 return 0;
2527 _ACEOF
2528 if ac_fn_c_try_run "$LINENO"; then :
2529 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2530 else
2531 ac_retval=1
2533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2534 conftest.$ac_objext conftest.beam conftest.$ac_ext
2535 rm -f conftest.val
2538 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2539 as_fn_set_status $ac_retval
2541 } # ac_fn_c_compute_int
2543 # ac_fn_cxx_check_func LINENO FUNC VAR
2544 # ------------------------------------
2545 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2546 ac_fn_cxx_check_func ()
2548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2550 $as_echo_n "checking for $2... " >&6; }
2551 if eval \${$3+:} false; then :
2552 $as_echo_n "(cached) " >&6
2553 else
2554 if test x$gcc_no_link = xyes; then
2555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558 /* end confdefs.h. */
2559 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2561 #define $2 innocuous_$2
2563 /* System header to define __stub macros and hopefully few prototypes,
2564 which can conflict with char $2 (); below.
2565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2566 <limits.h> exists even on freestanding compilers. */
2568 #ifdef __STDC__
2569 # include <limits.h>
2570 #else
2571 # include <assert.h>
2572 #endif
2574 #undef $2
2576 /* Override any GCC internal prototype to avoid an error.
2577 Use char because int might match the return type of a GCC
2578 builtin and then its argument prototype would still apply. */
2579 #ifdef __cplusplus
2580 extern "C"
2581 #endif
2582 char $2 ();
2583 /* The GNU C library defines this for functions which it implements
2584 to always fail with ENOSYS. Some functions are actually named
2585 something starting with __ and the normal name is an alias. */
2586 #if defined __stub_$2 || defined __stub___$2
2587 choke me
2588 #endif
2591 main ()
2593 return $2 ();
2595 return 0;
2597 _ACEOF
2598 if ac_fn_cxx_try_link "$LINENO"; then :
2599 eval "$3=yes"
2600 else
2601 eval "$3=no"
2603 rm -f core conftest.err conftest.$ac_objext \
2604 conftest$ac_exeext conftest.$ac_ext
2606 eval ac_res=\$$3
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2608 $as_echo "$ac_res" >&6; }
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2611 } # ac_fn_cxx_check_func
2613 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2614 # -------------------------------------------
2615 # Tests whether TYPE exists after having included INCLUDES, setting cache
2616 # variable VAR accordingly.
2617 ac_fn_c_check_type ()
2619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2621 $as_echo_n "checking for $2... " >&6; }
2622 if eval \${$3+:} false; then :
2623 $as_echo_n "(cached) " >&6
2624 else
2625 eval "$3=no"
2626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2627 /* end confdefs.h. */
2630 main ()
2632 if (sizeof ($2))
2633 return 0;
2635 return 0;
2637 _ACEOF
2638 if ac_fn_c_try_compile "$LINENO"; then :
2639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2640 /* end confdefs.h. */
2643 main ()
2645 if (sizeof (($2)))
2646 return 0;
2648 return 0;
2650 _ACEOF
2651 if ac_fn_c_try_compile "$LINENO"; then :
2653 else
2654 eval "$3=yes"
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2660 eval ac_res=\$$3
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2662 $as_echo "$ac_res" >&6; }
2663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 } # ac_fn_c_check_type
2667 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2668 # ---------------------------------------------
2669 # Tests whether TYPE exists after having included INCLUDES, setting cache
2670 # variable VAR accordingly.
2671 ac_fn_cxx_check_type ()
2673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2675 $as_echo_n "checking for $2... " >&6; }
2676 if eval \${$3+:} false; then :
2677 $as_echo_n "(cached) " >&6
2678 else
2679 eval "$3=no"
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2684 main ()
2686 if (sizeof ($2))
2687 return 0;
2689 return 0;
2691 _ACEOF
2692 if ac_fn_cxx_try_compile "$LINENO"; then :
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2697 main ()
2699 if (sizeof (($2)))
2700 return 0;
2702 return 0;
2704 _ACEOF
2705 if ac_fn_cxx_try_compile "$LINENO"; then :
2707 else
2708 eval "$3=yes"
2710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 eval ac_res=\$$3
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2716 $as_echo "$ac_res" >&6; }
2717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 } # ac_fn_cxx_check_type
2721 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2722 # ---------------------------------------------
2723 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2724 # accordingly.
2725 ac_fn_c_check_decl ()
2727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2728 as_decl_name=`echo $2|sed 's/ *(.*//'`
2729 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2731 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2732 if eval \${$3+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2739 main ()
2741 #ifndef $as_decl_name
2742 #ifdef __cplusplus
2743 (void) $as_decl_use;
2744 #else
2745 (void) $as_decl_name;
2746 #endif
2747 #endif
2750 return 0;
2752 _ACEOF
2753 if ac_fn_c_try_compile "$LINENO"; then :
2754 eval "$3=yes"
2755 else
2756 eval "$3=no"
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 eval ac_res=\$$3
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2762 $as_echo "$ac_res" >&6; }
2763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2765 } # ac_fn_c_check_decl
2766 cat >config.log <<_ACEOF
2767 This file contains any messages produced by compilers while
2768 running configure, to aid debugging if configure makes a mistake.
2770 It was created by package-unused $as_me version-unused, which was
2771 generated by GNU Autoconf 2.69. Invocation command line was
2773 $ $0 $@
2775 _ACEOF
2776 exec 5>>config.log
2778 cat <<_ASUNAME
2779 ## --------- ##
2780 ## Platform. ##
2781 ## --------- ##
2783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2784 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2785 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2786 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2787 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2789 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2790 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2792 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2793 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2794 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2795 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2800 _ASUNAME
2802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2803 for as_dir in $PATH
2805 IFS=$as_save_IFS
2806 test -z "$as_dir" && as_dir=.
2807 $as_echo "PATH: $as_dir"
2808 done
2809 IFS=$as_save_IFS
2811 } >&5
2813 cat >&5 <<_ACEOF
2816 ## ----------- ##
2817 ## Core tests. ##
2818 ## ----------- ##
2820 _ACEOF
2823 # Keep a trace of the command line.
2824 # Strip out --no-create and --no-recursion so they do not pile up.
2825 # Strip out --silent because we don't want to record it for future runs.
2826 # Also quote any args containing shell meta-characters.
2827 # Make two passes to allow for proper duplicate-argument suppression.
2828 ac_configure_args=
2829 ac_configure_args0=
2830 ac_configure_args1=
2831 ac_must_keep_next=false
2832 for ac_pass in 1 2
2834 for ac_arg
2836 case $ac_arg in
2837 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2838 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2839 | -silent | --silent | --silen | --sile | --sil)
2840 continue ;;
2841 *\'*)
2842 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2843 esac
2844 case $ac_pass in
2845 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2847 as_fn_append ac_configure_args1 " '$ac_arg'"
2848 if test $ac_must_keep_next = true; then
2849 ac_must_keep_next=false # Got value, back to normal.
2850 else
2851 case $ac_arg in
2852 *=* | --config-cache | -C | -disable-* | --disable-* \
2853 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2854 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2855 | -with-* | --with-* | -without-* | --without-* | --x)
2856 case "$ac_configure_args0 " in
2857 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2858 esac
2860 -* ) ac_must_keep_next=true ;;
2861 esac
2863 as_fn_append ac_configure_args " '$ac_arg'"
2865 esac
2866 done
2867 done
2868 { ac_configure_args0=; unset ac_configure_args0;}
2869 { ac_configure_args1=; unset ac_configure_args1;}
2871 # When interrupted or exit'd, cleanup temporary files, and complete
2872 # config.log. We remove comments because anyway the quotes in there
2873 # would cause problems or look ugly.
2874 # WARNING: Use '\'' to represent an apostrophe within the trap.
2875 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2876 trap 'exit_status=$?
2877 # Save into config.log some information that might help in debugging.
2879 echo
2881 $as_echo "## ---------------- ##
2882 ## Cache variables. ##
2883 ## ---------------- ##"
2884 echo
2885 # The following way of writing the cache mishandles newlines in values,
2887 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2888 eval ac_val=\$$ac_var
2889 case $ac_val in #(
2890 *${as_nl}*)
2891 case $ac_var in #(
2892 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2893 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2894 esac
2895 case $ac_var in #(
2896 _ | IFS | as_nl) ;; #(
2897 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2898 *) { eval $ac_var=; unset $ac_var;} ;;
2899 esac ;;
2900 esac
2901 done
2902 (set) 2>&1 |
2903 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2904 *${as_nl}ac_space=\ *)
2905 sed -n \
2906 "s/'\''/'\''\\\\'\'''\''/g;
2907 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2908 ;; #(
2910 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2912 esac |
2913 sort
2915 echo
2917 $as_echo "## ----------------- ##
2918 ## Output variables. ##
2919 ## ----------------- ##"
2920 echo
2921 for ac_var in $ac_subst_vars
2923 eval ac_val=\$$ac_var
2924 case $ac_val in
2925 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2926 esac
2927 $as_echo "$ac_var='\''$ac_val'\''"
2928 done | sort
2929 echo
2931 if test -n "$ac_subst_files"; then
2932 $as_echo "## ------------------- ##
2933 ## File substitutions. ##
2934 ## ------------------- ##"
2935 echo
2936 for ac_var in $ac_subst_files
2938 eval ac_val=\$$ac_var
2939 case $ac_val in
2940 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2941 esac
2942 $as_echo "$ac_var='\''$ac_val'\''"
2943 done | sort
2944 echo
2947 if test -s confdefs.h; then
2948 $as_echo "## ----------- ##
2949 ## confdefs.h. ##
2950 ## ----------- ##"
2951 echo
2952 cat confdefs.h
2953 echo
2955 test "$ac_signal" != 0 &&
2956 $as_echo "$as_me: caught signal $ac_signal"
2957 $as_echo "$as_me: exit $exit_status"
2958 } >&5
2959 rm -f core *.core core.conftest.* &&
2960 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2961 exit $exit_status
2963 for ac_signal in 1 2 13 15; do
2964 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2965 done
2966 ac_signal=0
2968 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2969 rm -f -r conftest* confdefs.h
2971 $as_echo "/* confdefs.h */" > confdefs.h
2973 # Predefined preprocessor variables.
2975 cat >>confdefs.h <<_ACEOF
2976 #define PACKAGE_NAME "$PACKAGE_NAME"
2977 _ACEOF
2979 cat >>confdefs.h <<_ACEOF
2980 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2981 _ACEOF
2983 cat >>confdefs.h <<_ACEOF
2984 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2985 _ACEOF
2987 cat >>confdefs.h <<_ACEOF
2988 #define PACKAGE_STRING "$PACKAGE_STRING"
2989 _ACEOF
2991 cat >>confdefs.h <<_ACEOF
2992 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2993 _ACEOF
2995 cat >>confdefs.h <<_ACEOF
2996 #define PACKAGE_URL "$PACKAGE_URL"
2997 _ACEOF
3000 # Let the site file select an alternate cache file if it wants to.
3001 # Prefer an explicitly selected file to automatically selected ones.
3002 ac_site_file1=NONE
3003 ac_site_file2=NONE
3004 if test -n "$CONFIG_SITE"; then
3005 # We do not want a PATH search for config.site.
3006 case $CONFIG_SITE in #((
3007 -*) ac_site_file1=./$CONFIG_SITE;;
3008 */*) ac_site_file1=$CONFIG_SITE;;
3009 *) ac_site_file1=./$CONFIG_SITE;;
3010 esac
3011 elif test "x$prefix" != xNONE; then
3012 ac_site_file1=$prefix/share/config.site
3013 ac_site_file2=$prefix/etc/config.site
3014 else
3015 ac_site_file1=$ac_default_prefix/share/config.site
3016 ac_site_file2=$ac_default_prefix/etc/config.site
3018 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3020 test "x$ac_site_file" = xNONE && continue
3021 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3023 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3024 sed 's/^/| /' "$ac_site_file" >&5
3025 . "$ac_site_file" \
3026 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3028 as_fn_error $? "failed to load site script $ac_site_file
3029 See \`config.log' for more details" "$LINENO" 5; }
3031 done
3033 if test -r "$cache_file"; then
3034 # Some versions of bash will fail to source /dev/null (special files
3035 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3036 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3038 $as_echo "$as_me: loading cache $cache_file" >&6;}
3039 case $cache_file in
3040 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3041 *) . "./$cache_file";;
3042 esac
3044 else
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3046 $as_echo "$as_me: creating cache $cache_file" >&6;}
3047 >$cache_file
3050 # Check that the precious variables saved in the cache have kept the same
3051 # value.
3052 ac_cache_corrupted=false
3053 for ac_var in $ac_precious_vars; do
3054 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3055 eval ac_new_set=\$ac_env_${ac_var}_set
3056 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3057 eval ac_new_val=\$ac_env_${ac_var}_value
3058 case $ac_old_set,$ac_new_set in
3059 set,)
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3061 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3062 ac_cache_corrupted=: ;;
3063 ,set)
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3065 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3066 ac_cache_corrupted=: ;;
3067 ,);;
3069 if test "x$ac_old_val" != "x$ac_new_val"; then
3070 # differences in whitespace do not lead to failure.
3071 ac_old_val_w=`echo x $ac_old_val`
3072 ac_new_val_w=`echo x $ac_new_val`
3073 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3075 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3076 ac_cache_corrupted=:
3077 else
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3079 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3080 eval $ac_var=\$ac_old_val
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3083 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3085 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3086 fi;;
3087 esac
3088 # Pass precious variables to config.status.
3089 if test "$ac_new_set" = set; then
3090 case $ac_new_val in
3091 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3092 *) ac_arg=$ac_var=$ac_new_val ;;
3093 esac
3094 case " $ac_configure_args " in
3095 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3096 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3097 esac
3099 done
3100 if $ac_cache_corrupted; then
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3104 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3105 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3107 ## -------------------- ##
3108 ## Main body of script. ##
3109 ## -------------------- ##
3111 ac_ext=c
3112 ac_cpp='$CPP $CPPFLAGS'
3113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122 ac_config_headers="$ac_config_headers config.h"
3125 # This works around the fact that libtool configuration may change LD
3126 # for this particular configuration, but some shells, instead of
3127 # keeping the changes in LD private, export them just because LD is
3128 # exported. Only used at the end of this file.
3129 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3131 # Find the rest of the source tree framework.
3132 # Default to --enable-multilib
3133 # Check whether --enable-multilib was given.
3134 if test "${enable_multilib+set}" = set; then :
3135 enableval=$enable_multilib; case "$enableval" in
3136 yes) multilib=yes ;;
3137 no) multilib=no ;;
3138 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3139 esac
3140 else
3141 multilib=yes
3145 # We may get other options which we leave undocumented:
3146 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3147 # See config-ml.in if you want the gory details.
3149 if test "$srcdir" = "."; then
3150 if test "$with_target_subdir" != "."; then
3151 multi_basedir="$srcdir/$with_multisrctop../.."
3152 else
3153 multi_basedir="$srcdir/$with_multisrctop.."
3155 else
3156 multi_basedir="$srcdir/.."
3160 # Even if the default multilib is not a cross compilation,
3161 # it may be that some of the other multilibs are.
3162 if test $cross_compiling = no && test $multilib = yes \
3163 && test "x${with_multisubdir}" != x ; then
3164 cross_compiling=maybe
3167 ac_config_commands="$ac_config_commands default-1"
3170 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3172 # You will slowly go insane if you do not grok the following fact: when
3173 # building v3 as part of the compiler, the top-level /target/ becomes the
3174 # library's /host/. configure then causes --target to default to --host,
3175 # exactly like any other package using autoconf. Therefore, 'target' and
3176 # 'host' will always be the same. This makes sense both for native and
3177 # cross compilers, just think about it for a little while. :-)
3179 # Also, if v3 is being configured as part of a cross compiler, the top-level
3180 # configure script will pass the "real" host as $with_cross_host.
3182 # Do not delete or change the following two lines. For why, see
3183 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3184 ac_aux_dir=
3185 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3186 if test -f "$ac_dir/install-sh"; then
3187 ac_aux_dir=$ac_dir
3188 ac_install_sh="$ac_aux_dir/install-sh -c"
3189 break
3190 elif test -f "$ac_dir/install.sh"; then
3191 ac_aux_dir=$ac_dir
3192 ac_install_sh="$ac_aux_dir/install.sh -c"
3193 break
3194 elif test -f "$ac_dir/shtool"; then
3195 ac_aux_dir=$ac_dir
3196 ac_install_sh="$ac_aux_dir/shtool install -c"
3197 break
3199 done
3200 if test -z "$ac_aux_dir"; then
3201 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3204 # These three variables are undocumented and unsupported,
3205 # and are intended to be withdrawn in a future Autoconf release.
3206 # They can cause serious problems if a builder's source tree is in a directory
3207 # whose full name contains unusual characters.
3208 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3209 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3210 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3213 # Make sure we can run config.sub.
3214 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3215 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3218 $as_echo_n "checking build system type... " >&6; }
3219 if ${ac_cv_build+:} false; then :
3220 $as_echo_n "(cached) " >&6
3221 else
3222 ac_build_alias=$build_alias
3223 test "x$ac_build_alias" = x &&
3224 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3225 test "x$ac_build_alias" = x &&
3226 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3227 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3228 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3232 $as_echo "$ac_cv_build" >&6; }
3233 case $ac_cv_build in
3234 *-*-*) ;;
3235 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3236 esac
3237 build=$ac_cv_build
3238 ac_save_IFS=$IFS; IFS='-'
3239 set x $ac_cv_build
3240 shift
3241 build_cpu=$1
3242 build_vendor=$2
3243 shift; shift
3244 # Remember, the first character of IFS is used to create $*,
3245 # except with old shells:
3246 build_os=$*
3247 IFS=$ac_save_IFS
3248 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3252 $as_echo_n "checking host system type... " >&6; }
3253 if ${ac_cv_host+:} false; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 if test "x$host_alias" = x; then
3257 ac_cv_host=$ac_cv_build
3258 else
3259 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3260 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3265 $as_echo "$ac_cv_host" >&6; }
3266 case $ac_cv_host in
3267 *-*-*) ;;
3268 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3269 esac
3270 host=$ac_cv_host
3271 ac_save_IFS=$IFS; IFS='-'
3272 set x $ac_cv_host
3273 shift
3274 host_cpu=$1
3275 host_vendor=$2
3276 shift; shift
3277 # Remember, the first character of IFS is used to create $*,
3278 # except with old shells:
3279 host_os=$*
3280 IFS=$ac_save_IFS
3281 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3285 $as_echo_n "checking target system type... " >&6; }
3286 if ${ac_cv_target+:} false; then :
3287 $as_echo_n "(cached) " >&6
3288 else
3289 if test "x$target_alias" = x; then
3290 ac_cv_target=$ac_cv_host
3291 else
3292 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3293 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3298 $as_echo "$ac_cv_target" >&6; }
3299 case $ac_cv_target in
3300 *-*-*) ;;
3301 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3302 esac
3303 target=$ac_cv_target
3304 ac_save_IFS=$IFS; IFS='-'
3305 set x $ac_cv_target
3306 shift
3307 target_cpu=$1
3308 target_vendor=$2
3309 shift; shift
3310 # Remember, the first character of IFS is used to create $*,
3311 # except with old shells:
3312 target_os=$*
3313 IFS=$ac_save_IFS
3314 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3317 # The aliases save the names the user supplied, while $host etc.
3318 # will get canonicalized.
3319 test -n "$target_alias" &&
3320 test "$program_prefix$program_suffix$program_transform_name" = \
3321 NONENONEs,x,x, &&
3322 program_prefix=${target_alias}-
3324 target_alias=${target_alias-$host_alias}
3326 # Handy for debugging:
3327 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3329 if test "$build" != "$host"; then
3330 # We are being configured with some form of cross compiler.
3331 GLIBCXX_IS_NATIVE=false
3332 case "$host","$target" in
3333 # Darwin crosses can use the host system's libraries and headers,
3334 # because of the fat library support. Of course, it must be the
3335 # same version of Darwin on both sides. Allow the user to
3336 # just say --target=foo-darwin without a version number to mean
3337 # "the version on this system".
3338 *-*-darwin*,*-*-darwin*)
3339 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3340 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3341 if test $hostos = $targetos -o $targetos = darwin ; then
3342 GLIBCXX_IS_NATIVE=true
3349 esac
3350 else
3351 GLIBCXX_IS_NATIVE=true
3354 # In the case that we're building without headers, we won't have <stdio.h>
3355 # available. In these cases, we have to instruct autotools to never include
3356 # <stdio.h> as a part of default headers.
3358 if test "x$with_headers" = "xno"; then
3359 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3363 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3364 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3365 # 1.x: minimum required version
3366 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3367 # of other PACKAGE_* variables will, however, and there's nothing
3368 # we can do about that; they come from AC_INIT).
3369 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3370 # file in the top srcdir, etc, etc), so stop complaining.
3371 # no-dependencies: turns off auto dependency generation (just for now)
3372 # no-dist: we don't want 'dist' and related rules.
3373 # -Wall: turns on all automake warnings...
3374 # -Wno-portability: ...except this one, since GNU make is now required.
3375 am__api_version='1.15'
3377 # Find a good install program. We prefer a C program (faster),
3378 # so one script is as good as another. But avoid the broken or
3379 # incompatible versions:
3380 # SysV /etc/install, /usr/sbin/install
3381 # SunOS /usr/etc/install
3382 # IRIX /sbin/install
3383 # AIX /bin/install
3384 # AmigaOS /C/install, which installs bootblocks on floppy discs
3385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3388 # OS/2's system install, which has a completely different semantic
3389 # ./install, which can be erroneously created by make from ./install.sh.
3390 # Reject install programs that cannot install multiple files.
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3392 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3393 if test -z "$INSTALL"; then
3394 if ${ac_cv_path_install+:} false; then :
3395 $as_echo_n "(cached) " >&6
3396 else
3397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 for as_dir in $PATH
3400 IFS=$as_save_IFS
3401 test -z "$as_dir" && as_dir=.
3402 # Account for people who put trailing slashes in PATH elements.
3403 case $as_dir/ in #((
3404 ./ | .// | /[cC]/* | \
3405 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3406 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3407 /usr/ucb/* ) ;;
3409 # OSF1 and SCO ODT 3.0 have their own names for install.
3410 # Don't use installbsd from OSF since it installs stuff as root
3411 # by default.
3412 for ac_prog in ginstall scoinst install; do
3413 for ac_exec_ext in '' $ac_executable_extensions; do
3414 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3415 if test $ac_prog = install &&
3416 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3417 # AIX install. It has an incompatible calling convention.
3419 elif test $ac_prog = install &&
3420 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3421 # program-specific install script used by HP pwplus--don't use.
3423 else
3424 rm -rf conftest.one conftest.two conftest.dir
3425 echo one > conftest.one
3426 echo two > conftest.two
3427 mkdir conftest.dir
3428 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3429 test -s conftest.one && test -s conftest.two &&
3430 test -s conftest.dir/conftest.one &&
3431 test -s conftest.dir/conftest.two
3432 then
3433 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3434 break 3
3438 done
3439 done
3441 esac
3443 done
3444 IFS=$as_save_IFS
3446 rm -rf conftest.one conftest.two conftest.dir
3449 if test "${ac_cv_path_install+set}" = set; then
3450 INSTALL=$ac_cv_path_install
3451 else
3452 # As a last resort, use the slow shell script. Don't cache a
3453 # value for INSTALL within a source directory, because that will
3454 # break other packages using the cache if that directory is
3455 # removed, or if the value is a relative name.
3456 INSTALL=$ac_install_sh
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3460 $as_echo "$INSTALL" >&6; }
3462 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3463 # It thinks the first close brace ends the variable substitution.
3464 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3466 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3468 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3471 $as_echo_n "checking whether build environment is sane... " >&6; }
3472 # Reject unsafe characters in $srcdir or the absolute working directory
3473 # name. Accept space and tab only in the latter.
3474 am_lf='
3476 case `pwd` in
3477 *[\\\"\#\$\&\'\`$am_lf]*)
3478 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3479 esac
3480 case $srcdir in
3481 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3482 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3483 esac
3485 # Do 'set' in a subshell so we don't clobber the current shell's
3486 # arguments. Must try -L first in case configure is actually a
3487 # symlink; some systems play weird games with the mod time of symlinks
3488 # (eg FreeBSD returns the mod time of the symlink's containing
3489 # directory).
3490 if (
3491 am_has_slept=no
3492 for am_try in 1 2; do
3493 echo "timestamp, slept: $am_has_slept" > conftest.file
3494 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3495 if test "$*" = "X"; then
3496 # -L didn't work.
3497 set X `ls -t "$srcdir/configure" conftest.file`
3499 if test "$*" != "X $srcdir/configure conftest.file" \
3500 && test "$*" != "X conftest.file $srcdir/configure"; then
3502 # If neither matched, then we have a broken ls. This can happen
3503 # if, for instance, CONFIG_SHELL is bash and it inherits a
3504 # broken ls alias from the environment. This has actually
3505 # happened. Such a system could not be considered "sane".
3506 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3507 alias in your environment" "$LINENO" 5
3509 if test "$2" = conftest.file || test $am_try -eq 2; then
3510 break
3512 # Just in case.
3513 sleep 1
3514 am_has_slept=yes
3515 done
3516 test "$2" = conftest.file
3518 then
3519 # Ok.
3521 else
3522 as_fn_error $? "newly created file is older than distributed files!
3523 Check your system clock" "$LINENO" 5
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3526 $as_echo "yes" >&6; }
3527 # If we didn't sleep, we still need to ensure time stamps of config.status and
3528 # generated files are strictly newer.
3529 am_sleep_pid=
3530 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3531 ( sleep 1 ) &
3532 am_sleep_pid=$!
3535 rm -f conftest.file
3537 test "$program_prefix" != NONE &&
3538 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3539 # Use a double $ so make ignores it.
3540 test "$program_suffix" != NONE &&
3541 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3542 # Double any \ or $.
3543 # By default was `s,x,x', remove it if useless.
3544 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3545 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3547 # Expand $ac_aux_dir to an absolute path.
3548 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3550 if test x"${MISSING+set}" != xset; then
3551 case $am_aux_dir in
3552 *\ * | *\ *)
3553 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3555 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3556 esac
3558 # Use eval to expand $SHELL
3559 if eval "$MISSING --is-lightweight"; then
3560 am_missing_run="$MISSING "
3561 else
3562 am_missing_run=
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3564 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3567 if test x"${install_sh+set}" != xset; then
3568 case $am_aux_dir in
3569 *\ * | *\ *)
3570 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3572 install_sh="\${SHELL} $am_aux_dir/install-sh"
3573 esac
3576 # Installed binaries are usually stripped using 'strip' when the user
3577 # run "make install-strip". However 'strip' might not be the right
3578 # tool to use in cross-compilation environments, therefore Automake
3579 # will honor the 'STRIP' environment variable to overrule this program.
3580 if test "$cross_compiling" != no; then
3581 if test -n "$ac_tool_prefix"; then
3582 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3583 set dummy ${ac_tool_prefix}strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$STRIP"; then
3590 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 STRIP=$ac_cv_prog_STRIP
3610 if test -n "$STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3612 $as_echo "$STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3620 if test -z "$ac_cv_prog_STRIP"; then
3621 ac_ct_STRIP=$STRIP
3622 # Extract the first word of "strip", so it can be a program name with args.
3623 set dummy strip; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3627 $as_echo_n "(cached) " >&6
3628 else
3629 if test -n "$ac_ct_STRIP"; then
3630 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_STRIP="strip"
3640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 break 2
3643 done
3644 done
3645 IFS=$as_save_IFS
3649 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3650 if test -n "$ac_ct_STRIP"; then
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3652 $as_echo "$ac_ct_STRIP" >&6; }
3653 else
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3658 if test "x$ac_ct_STRIP" = x; then
3659 STRIP=":"
3660 else
3661 case $cross_compiling:$ac_tool_warned in
3662 yes:)
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665 ac_tool_warned=yes ;;
3666 esac
3667 STRIP=$ac_ct_STRIP
3669 else
3670 STRIP="$ac_cv_prog_STRIP"
3674 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3677 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3678 if test -z "$MKDIR_P"; then
3679 if ${ac_cv_path_mkdir+:} false; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_prog in mkdir gmkdir; do
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3690 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3691 'mkdir (GNU coreutils) '* | \
3692 'mkdir (coreutils) '* | \
3693 'mkdir (fileutils) '4.1*)
3694 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3695 break 3;;
3696 esac
3697 done
3698 done
3699 done
3700 IFS=$as_save_IFS
3704 test -d ./--version && rmdir ./--version
3705 if test "${ac_cv_path_mkdir+set}" = set; then
3706 MKDIR_P="$ac_cv_path_mkdir -p"
3707 else
3708 # As a last resort, use the slow shell script. Don't cache a
3709 # value for MKDIR_P within a source directory, because that will
3710 # break other packages using the cache if that directory is
3711 # removed, or if the value is a relative name.
3712 MKDIR_P="$ac_install_sh -d"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3716 $as_echo "$MKDIR_P" >&6; }
3718 for ac_prog in gawk mawk nawk awk
3720 # Extract the first word of "$ac_prog", so it can be a program name with args.
3721 set dummy $ac_prog; ac_word=$2
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3723 $as_echo_n "checking for $ac_word... " >&6; }
3724 if ${ac_cv_prog_AWK+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 if test -n "$AWK"; then
3728 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3729 else
3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3731 for as_dir in $PATH
3733 IFS=$as_save_IFS
3734 test -z "$as_dir" && as_dir=.
3735 for ac_exec_ext in '' $ac_executable_extensions; do
3736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3737 ac_cv_prog_AWK="$ac_prog"
3738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3739 break 2
3741 done
3742 done
3743 IFS=$as_save_IFS
3747 AWK=$ac_cv_prog_AWK
3748 if test -n "$AWK"; then
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3750 $as_echo "$AWK" >&6; }
3751 else
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3757 test -n "$AWK" && break
3758 done
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3761 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3762 set x ${MAKE-make}
3763 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3764 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3765 $as_echo_n "(cached) " >&6
3766 else
3767 cat >conftest.make <<\_ACEOF
3768 SHELL = /bin/sh
3769 all:
3770 @echo '@@@%%%=$(MAKE)=@@@%%%'
3771 _ACEOF
3772 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3773 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3774 *@@@%%%=?*=@@@%%%*)
3775 eval ac_cv_prog_make_${ac_make}_set=yes;;
3777 eval ac_cv_prog_make_${ac_make}_set=no;;
3778 esac
3779 rm -f conftest.make
3781 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3783 $as_echo "yes" >&6; }
3784 SET_MAKE=
3785 else
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3787 $as_echo "no" >&6; }
3788 SET_MAKE="MAKE=${MAKE-make}"
3791 rm -rf .tst 2>/dev/null
3792 mkdir .tst 2>/dev/null
3793 if test -d .tst; then
3794 am__leading_dot=.
3795 else
3796 am__leading_dot=_
3798 rmdir .tst 2>/dev/null
3800 # Check whether --enable-silent-rules was given.
3801 if test "${enable_silent_rules+set}" = set; then :
3802 enableval=$enable_silent_rules;
3805 case $enable_silent_rules in # (((
3806 yes) AM_DEFAULT_VERBOSITY=0;;
3807 no) AM_DEFAULT_VERBOSITY=1;;
3808 *) AM_DEFAULT_VERBOSITY=1;;
3809 esac
3810 am_make=${MAKE-make}
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3812 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3813 if ${am_cv_make_support_nested_variables+:} false; then :
3814 $as_echo_n "(cached) " >&6
3815 else
3816 if $as_echo 'TRUE=$(BAR$(V))
3817 BAR0=false
3818 BAR1=true
3820 am__doit:
3821 @$(TRUE)
3822 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3823 am_cv_make_support_nested_variables=yes
3824 else
3825 am_cv_make_support_nested_variables=no
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3829 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3830 if test $am_cv_make_support_nested_variables = yes; then
3831 AM_V='$(V)'
3832 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3833 else
3834 AM_V=$AM_DEFAULT_VERBOSITY
3835 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3837 AM_BACKSLASH='\'
3839 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3840 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3841 # is not polluted with repeated "-I."
3842 am__isrc=' -I$(srcdir)'
3843 # test to see if srcdir already configured
3844 if test -f $srcdir/config.status; then
3845 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3849 # test whether we have cygpath
3850 if test -z "$CYGPATH_W"; then
3851 if (cygpath --version) >/dev/null 2>/dev/null; then
3852 CYGPATH_W='cygpath -w'
3853 else
3854 CYGPATH_W=echo
3859 # Define the identity of the package.
3860 PACKAGE='libstdc++'
3861 VERSION='version-unused'
3864 # Some tools Automake needs.
3866 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3869 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3872 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3875 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3878 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3880 # For better backward compatibility. To be removed once Automake 1.9.x
3881 # dies out for good. For more background, see:
3882 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3883 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3884 mkdir_p='$(MKDIR_P)'
3886 # We need awk for the "check" target (and possibly the TAP driver). The
3887 # system "awk" is bad on some platforms.
3888 # Always define AMTAR for backward compatibility. Yes, it's still used
3889 # in the wild :-( We should find a proper way to deprecate it ...
3890 AMTAR='$${TAR-tar}'
3893 # We'll loop over all known methods to create a tar archive until one works.
3894 _am_tools='gnutar pax cpio none'
3896 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3903 # POSIX will say in a future version that running "rm -f" with no argument
3904 # is OK; and we want to be able to make that assumption in our Makefile
3905 # recipes. So use an aggressive probe to check that the usage we want is
3906 # actually supported "in the wild" to an acceptable degree.
3907 # See automake bug#10828.
3908 # To make any issue more visible, cause the running configure to be aborted
3909 # by default if the 'rm' program in use doesn't match our expectations; the
3910 # user can still override this though.
3911 if rm -f && rm -fr && rm -rf; then : OK; else
3912 cat >&2 <<'END'
3913 Oops!
3915 Your 'rm' program seems unable to run without file operands specified
3916 on the command line, even when the '-f' option is present. This is contrary
3917 to the behaviour of most rm programs out there, and not conforming with
3918 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3920 Please tell bug-automake@gnu.org about your system, including the value
3921 of your $PATH and any error possibly output before this message. This
3922 can help us improve future automake versions.
3925 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3926 echo 'Configuration will proceed anyway, since you have set the' >&2
3927 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3928 echo >&2
3929 else
3930 cat >&2 <<'END'
3931 Aborting the configuration process, to ensure you take notice of the issue.
3933 You can download and install GNU coreutils to get an 'rm' implementation
3934 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3936 If you want to complete the configuration process using your problematic
3937 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3938 to "yes", and re-run configure.
3941 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3948 # -fno-builtin must be present here so that a non-conflicting form of
3949 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3951 save_CXXFLAGS="$CXXFLAGS"
3952 CXXFLAGS="$CXXFLAGS -fno-builtin"
3953 ac_ext=c
3954 ac_cpp='$CPP $CPPFLAGS'
3955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3958 if test -n "$ac_tool_prefix"; then
3959 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3960 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$CC"; then
3967 ac_cv_prog_CC="$CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 CC=$ac_cv_prog_CC
3987 if test -n "$CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3989 $as_echo "$CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3997 if test -z "$ac_cv_prog_CC"; then
3998 ac_ct_CC=$CC
3999 # Extract the first word of "gcc", so it can be a program name with args.
4000 set dummy gcc; ac_word=$2
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4004 $as_echo_n "(cached) " >&6
4005 else
4006 if test -n "$ac_ct_CC"; then
4007 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4008 else
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 for as_dir in $PATH
4012 IFS=$as_save_IFS
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_prog_ac_ct_CC="gcc"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 break 2
4020 done
4021 done
4022 IFS=$as_save_IFS
4026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4027 if test -n "$ac_ct_CC"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4029 $as_echo "$ac_ct_CC" >&6; }
4030 else
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4035 if test "x$ac_ct_CC" = x; then
4036 CC=""
4037 else
4038 case $cross_compiling:$ac_tool_warned in
4039 yes:)
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4042 ac_tool_warned=yes ;;
4043 esac
4044 CC=$ac_ct_CC
4046 else
4047 CC="$ac_cv_prog_CC"
4050 if test -z "$CC"; then
4051 if test -n "$ac_tool_prefix"; then
4052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4053 set dummy ${ac_tool_prefix}cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 for as_dir in $PATH
4065 IFS=$as_save_IFS
4066 test -z "$as_dir" && as_dir=.
4067 for ac_exec_ext in '' $ac_executable_extensions; do
4068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4069 ac_cv_prog_CC="${ac_tool_prefix}cc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 break 2
4073 done
4074 done
4075 IFS=$as_save_IFS
4079 CC=$ac_cv_prog_CC
4080 if test -n "$CC"; then
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4082 $as_echo "$CC" >&6; }
4083 else
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4091 if test -z "$CC"; then
4092 # Extract the first word of "cc", so it can be a program name with args.
4093 set dummy cc; ac_word=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if ${ac_cv_prog_CC+:} false; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 if test -n "$CC"; then
4100 ac_cv_prog_CC="$CC" # Let the user override the test.
4101 else
4102 ac_prog_rejected=no
4103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4104 for as_dir in $PATH
4106 IFS=$as_save_IFS
4107 test -z "$as_dir" && as_dir=.
4108 for ac_exec_ext in '' $ac_executable_extensions; do
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4110 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4111 ac_prog_rejected=yes
4112 continue
4114 ac_cv_prog_CC="cc"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 break 2
4118 done
4119 done
4120 IFS=$as_save_IFS
4122 if test $ac_prog_rejected = yes; then
4123 # We found a bogon in the path, so make sure we never use it.
4124 set dummy $ac_cv_prog_CC
4125 shift
4126 if test $# != 0; then
4127 # We chose a different compiler from the bogus one.
4128 # However, it has the same basename, so the bogon will be chosen
4129 # first if we set CC to just the basename; use the full file name.
4130 shift
4131 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4136 CC=$ac_cv_prog_CC
4137 if test -n "$CC"; then
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4139 $as_echo "$CC" >&6; }
4140 else
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4142 $as_echo "no" >&6; }
4147 if test -z "$CC"; then
4148 if test -n "$ac_tool_prefix"; then
4149 for ac_prog in cl.exe
4151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if ${ac_cv_prog_CC+:} false; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 if test -n "$CC"; then
4159 ac_cv_prog_CC="$CC" # Let the user override the test.
4160 else
4161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4162 for as_dir in $PATH
4164 IFS=$as_save_IFS
4165 test -z "$as_dir" && as_dir=.
4166 for ac_exec_ext in '' $ac_executable_extensions; do
4167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4168 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 break 2
4172 done
4173 done
4174 IFS=$as_save_IFS
4178 CC=$ac_cv_prog_CC
4179 if test -n "$CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4181 $as_echo "$CC" >&6; }
4182 else
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4188 test -n "$CC" && break
4189 done
4191 if test -z "$CC"; then
4192 ac_ct_CC=$CC
4193 for ac_prog in cl.exe
4195 # Extract the first word of "$ac_prog", so it can be a program name with args.
4196 set dummy $ac_prog; ac_word=$2
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4198 $as_echo_n "checking for $ac_word... " >&6; }
4199 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4200 $as_echo_n "(cached) " >&6
4201 else
4202 if test -n "$ac_ct_CC"; then
4203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4204 else
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206 for as_dir in $PATH
4208 IFS=$as_save_IFS
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_CC="$ac_prog"
4213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 break 2
4216 done
4217 done
4218 IFS=$as_save_IFS
4222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4223 if test -n "$ac_ct_CC"; then
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4225 $as_echo "$ac_ct_CC" >&6; }
4226 else
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4228 $as_echo "no" >&6; }
4232 test -n "$ac_ct_CC" && break
4233 done
4235 if test "x$ac_ct_CC" = x; then
4236 CC=""
4237 else
4238 case $cross_compiling:$ac_tool_warned in
4239 yes:)
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4241 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4242 ac_tool_warned=yes ;;
4243 esac
4244 CC=$ac_ct_CC
4251 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "no acceptable C compiler found in \$PATH
4254 See \`config.log' for more details" "$LINENO" 5; }
4256 # Provide some information about the compiler.
4257 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4258 set X $ac_compile
4259 ac_compiler=$2
4260 for ac_option in --version -v -V -qversion; do
4261 { { ac_try="$ac_compiler $ac_option >&5"
4262 case "(($ac_try" in
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4265 esac
4266 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4267 $as_echo "$ac_try_echo"; } >&5
4268 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4269 ac_status=$?
4270 if test -s conftest.err; then
4271 sed '10a\
4272 ... rest of stderr output deleted ...
4273 10q' conftest.err >conftest.er1
4274 cat conftest.er1 >&5
4276 rm -f conftest.er1 conftest.err
4277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4278 test $ac_status = 0; }
4279 done
4281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4282 /* end confdefs.h. */
4283 #include <stdio.h>
4285 main ()
4287 printf ("hello world\n");
4289 return 0;
4291 _ACEOF
4292 # FIXME: Cleanup?
4293 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4294 (eval $ac_link) 2>&5
4295 ac_status=$?
4296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4297 test $ac_status = 0; }; then :
4298 gcc_no_link=no
4299 else
4300 gcc_no_link=yes
4302 if test x$gcc_no_link = xyes; then
4303 # Setting cross_compile will disable run tests; it will
4304 # also disable AC_CHECK_FILE but that's generally
4305 # correct if we can't link.
4306 cross_compiling=yes
4307 EXEEXT=
4308 else
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4313 main ()
4317 return 0;
4319 _ACEOF
4320 ac_clean_files_save=$ac_clean_files
4321 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4322 # Try to create an executable without -o first, disregard a.out.
4323 # It will help us diagnose broken compilers, and finding out an intuition
4324 # of exeext.
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4326 $as_echo_n "checking whether the C compiler works... " >&6; }
4327 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4329 # The possible output files:
4330 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4332 ac_rmfiles=
4333 for ac_file in $ac_files
4335 case $ac_file in
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4337 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4338 esac
4339 done
4340 rm -f $ac_rmfiles
4342 if { { ac_try="$ac_link_default"
4343 case "(($ac_try" in
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4346 esac
4347 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4348 $as_echo "$ac_try_echo"; } >&5
4349 (eval "$ac_link_default") 2>&5
4350 ac_status=$?
4351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352 test $ac_status = 0; }; then :
4353 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4354 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4355 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4356 # so that the user can short-circuit this test for compilers unknown to
4357 # Autoconf.
4358 for ac_file in $ac_files ''
4360 test -f "$ac_file" || continue
4361 case $ac_file in
4362 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4364 [ab].out )
4365 # We found the default executable, but exeext='' is most
4366 # certainly right.
4367 break;;
4368 *.* )
4369 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4370 then :; else
4371 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4373 # We set ac_cv_exeext here because the later test for it is not
4374 # safe: cross compilers may not add the suffix if given an `-o'
4375 # argument, so we may need to know it at that point already.
4376 # Even if this section looks crufty: it has the advantage of
4377 # actually working.
4378 break;;
4380 break;;
4381 esac
4382 done
4383 test "$ac_cv_exeext" = no && ac_cv_exeext=
4385 else
4386 ac_file=''
4388 if test -z "$ac_file"; then :
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 $as_echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.$ac_ext >&5
4394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4396 as_fn_error 77 "C compiler cannot create executables
4397 See \`config.log' for more details" "$LINENO" 5; }
4398 else
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4400 $as_echo "yes" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4403 $as_echo_n "checking for C compiler default output file name... " >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4405 $as_echo "$ac_file" >&6; }
4406 ac_exeext=$ac_cv_exeext
4408 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4409 ac_clean_files=$ac_clean_files_save
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4411 $as_echo_n "checking for suffix of executables... " >&6; }
4412 if { { ac_try="$ac_link"
4413 case "(($ac_try" in
4414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4416 esac
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_link") 2>&5
4420 ac_status=$?
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }; then :
4423 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4424 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4425 # work properly (i.e., refer to `conftest.exe'), while it won't with
4426 # `rm'.
4427 for ac_file in conftest.exe conftest conftest.*; do
4428 test -f "$ac_file" || continue
4429 case $ac_file in
4430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4431 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4432 break;;
4433 * ) break;;
4434 esac
4435 done
4436 else
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4440 See \`config.log' for more details" "$LINENO" 5; }
4442 rm -f conftest conftest$ac_cv_exeext
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4444 $as_echo "$ac_cv_exeext" >&6; }
4446 rm -f conftest.$ac_ext
4447 EXEEXT=$ac_cv_exeext
4448 ac_exeext=$EXEEXT
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4451 #include <stdio.h>
4453 main ()
4455 FILE *f = fopen ("conftest.out", "w");
4456 return ferror (f) || fclose (f) != 0;
4459 return 0;
4461 _ACEOF
4462 ac_clean_files="$ac_clean_files conftest.out"
4463 # Check that the compiler produces executables we can run. If not, either
4464 # the compiler is broken, or we cross compile.
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4466 $as_echo_n "checking whether we are cross compiling... " >&6; }
4467 if test "$cross_compiling" != yes; then
4468 { { ac_try="$ac_link"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_link") 2>&5
4476 ac_status=$?
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 if { ac_try='./conftest$ac_cv_exeext'
4480 { { case "(($ac_try" in
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4483 esac
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_try") 2>&5
4487 ac_status=$?
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }; }; then
4490 cross_compiling=no
4491 else
4492 if test "$cross_compiling" = maybe; then
4493 cross_compiling=yes
4494 else
4495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4497 as_fn_error $? "cannot run C compiled programs.
4498 If you meant to cross compile, use \`--host'.
4499 See \`config.log' for more details" "$LINENO" 5; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4504 $as_echo "$cross_compiling" >&6; }
4506 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4507 ac_clean_files=$ac_clean_files_save
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4510 $as_echo_n "checking for suffix of object files... " >&6; }
4511 if ${ac_cv_objext+:} false; then :
4512 $as_echo_n "(cached) " >&6
4513 else
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 rm -f conftest.o conftest.obj
4526 if { { ac_try="$ac_compile"
4527 case "(($ac_try" in
4528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4529 *) ac_try_echo=$ac_try;;
4530 esac
4531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4532 $as_echo "$ac_try_echo"; } >&5
4533 (eval "$ac_compile") 2>&5
4534 ac_status=$?
4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4536 test $ac_status = 0; }; then :
4537 for ac_file in conftest.o conftest.obj conftest.*; do
4538 test -f "$ac_file" || continue;
4539 case $ac_file in
4540 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4541 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4542 break;;
4543 esac
4544 done
4545 else
4546 $as_echo "$as_me: failed program was:" >&5
4547 sed 's/^/| /' conftest.$ac_ext >&5
4549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4551 as_fn_error $? "cannot compute suffix of object files: cannot compile
4552 See \`config.log' for more details" "$LINENO" 5; }
4554 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4557 $as_echo "$ac_cv_objext" >&6; }
4558 OBJEXT=$ac_cv_objext
4559 ac_objext=$OBJEXT
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4561 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4562 if ${ac_cv_c_compiler_gnu+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4571 #ifndef __GNUC__
4572 choke me
4573 #endif
4576 return 0;
4578 _ACEOF
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_compiler_gnu=yes
4581 else
4582 ac_compiler_gnu=no
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4589 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4590 if test $ac_compiler_gnu = yes; then
4591 GCC=yes
4592 else
4593 GCC=
4595 ac_test_CFLAGS=${CFLAGS+set}
4596 ac_save_CFLAGS=$CFLAGS
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4598 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4599 if ${ac_cv_prog_cc_g+:} false; then :
4600 $as_echo_n "(cached) " >&6
4601 else
4602 ac_save_c_werror_flag=$ac_c_werror_flag
4603 ac_c_werror_flag=yes
4604 ac_cv_prog_cc_g=no
4605 CFLAGS="-g"
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4610 main ()
4614 return 0;
4616 _ACEOF
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618 ac_cv_prog_cc_g=yes
4619 else
4620 CFLAGS=""
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4625 main ()
4629 return 0;
4631 _ACEOF
4632 if ac_fn_c_try_compile "$LINENO"; then :
4634 else
4635 ac_c_werror_flag=$ac_save_c_werror_flag
4636 CFLAGS="-g"
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4641 main ()
4645 return 0;
4647 _ACEOF
4648 if ac_fn_c_try_compile "$LINENO"; then :
4649 ac_cv_prog_cc_g=yes
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 ac_c_werror_flag=$ac_save_c_werror_flag
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4659 $as_echo "$ac_cv_prog_cc_g" >&6; }
4660 if test "$ac_test_CFLAGS" = set; then
4661 CFLAGS=$ac_save_CFLAGS
4662 elif test $ac_cv_prog_cc_g = yes; then
4663 if test "$GCC" = yes; then
4664 CFLAGS="-g -O2"
4665 else
4666 CFLAGS="-g"
4668 else
4669 if test "$GCC" = yes; then
4670 CFLAGS="-O2"
4671 else
4672 CFLAGS=
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4676 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4677 if ${ac_cv_prog_cc_c89+:} false; then :
4678 $as_echo_n "(cached) " >&6
4679 else
4680 ac_cv_prog_cc_c89=no
4681 ac_save_CC=$CC
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684 #include <stdarg.h>
4685 #include <stdio.h>
4686 struct stat;
4687 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4688 struct buf { int x; };
4689 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4690 static char *e (p, i)
4691 char **p;
4692 int i;
4694 return p[i];
4696 static char *f (char * (*g) (char **, int), char **p, ...)
4698 char *s;
4699 va_list v;
4700 va_start (v,p);
4701 s = g (p, va_arg (v,int));
4702 va_end (v);
4703 return s;
4706 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4707 function prototypes and stuff, but not '\xHH' hex character constants.
4708 These don't provoke an error unfortunately, instead are silently treated
4709 as 'x'. The following induces an error, until -std is added to get
4710 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4711 array size at least. It's necessary to write '\x00'==0 to get something
4712 that's true only with -std. */
4713 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4715 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4716 inside strings and character constants. */
4717 #define FOO(x) 'x'
4718 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4720 int test (int i, double x);
4721 struct s1 {int (*f) (int a);};
4722 struct s2 {int (*f) (double a);};
4723 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4724 int argc;
4725 char **argv;
4727 main ()
4729 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4731 return 0;
4733 _ACEOF
4734 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4735 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4737 CC="$ac_save_CC $ac_arg"
4738 if ac_fn_c_try_compile "$LINENO"; then :
4739 ac_cv_prog_cc_c89=$ac_arg
4741 rm -f core conftest.err conftest.$ac_objext
4742 test "x$ac_cv_prog_cc_c89" != "xno" && break
4743 done
4744 rm -f conftest.$ac_ext
4745 CC=$ac_save_CC
4748 # AC_CACHE_VAL
4749 case "x$ac_cv_prog_cc_c89" in
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4752 $as_echo "none needed" >&6; } ;;
4753 xno)
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4755 $as_echo "unsupported" >&6; } ;;
4757 CC="$CC $ac_cv_prog_cc_c89"
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4759 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4760 esac
4761 if test "x$ac_cv_prog_cc_c89" != xno; then :
4765 ac_ext=c
4766 ac_cpp='$CPP $CPPFLAGS'
4767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4771 ac_ext=c
4772 ac_cpp='$CPP $CPPFLAGS'
4773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4777 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4778 if ${am_cv_prog_cc_c_o+:} false; then :
4779 $as_echo_n "(cached) " >&6
4780 else
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4785 main ()
4789 return 0;
4791 _ACEOF
4792 # Make sure it works both with $CC and with simple cc.
4793 # Following AC_PROG_CC_C_O, we do the test twice because some
4794 # compilers refuse to overwrite an existing .o file with -o,
4795 # though they will create one.
4796 am_cv_prog_cc_c_o=yes
4797 for am_i in 1 2; do
4798 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4799 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4800 ac_status=$?
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); } \
4803 && test -f conftest2.$ac_objext; then
4804 : OK
4805 else
4806 am_cv_prog_cc_c_o=no
4807 break
4809 done
4810 rm -f core conftest*
4811 unset am_i
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4814 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4815 if test "$am_cv_prog_cc_c_o" != yes; then
4816 # Losing compiler, so override with the script.
4817 # FIXME: It is wrong to rewrite CC.
4818 # But if we don't then we get into trouble of one sort or another.
4819 # A longer-term fix would be to have automake use am__CC in this case,
4820 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4821 CC="$am_aux_dir/compile $CC"
4823 ac_ext=c
4824 ac_cpp='$CPP $CPPFLAGS'
4825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4830 ac_ext=cpp
4831 ac_cpp='$CXXCPP $CPPFLAGS'
4832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4835 if test -z "$CXX"; then
4836 if test -n "$CCC"; then
4837 CXX=$CCC
4838 else
4839 if test -n "$ac_tool_prefix"; then
4840 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4842 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4843 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if ${ac_cv_prog_CXX+:} false; then :
4847 $as_echo_n "(cached) " >&6
4848 else
4849 if test -n "$CXX"; then
4850 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4851 else
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853 for as_dir in $PATH
4855 IFS=$as_save_IFS
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4861 break 2
4863 done
4864 done
4865 IFS=$as_save_IFS
4869 CXX=$ac_cv_prog_CXX
4870 if test -n "$CXX"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4872 $as_echo "$CXX" >&6; }
4873 else
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4879 test -n "$CXX" && break
4880 done
4882 if test -z "$CXX"; then
4883 ac_ct_CXX=$CXX
4884 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4886 # Extract the first word of "$ac_prog", so it can be a program name with args.
4887 set dummy $ac_prog; ac_word=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4891 $as_echo_n "(cached) " >&6
4892 else
4893 if test -n "$ac_ct_CXX"; then
4894 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4895 else
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_exec_ext in '' $ac_executable_extensions; do
4902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903 ac_cv_prog_ac_ct_CXX="$ac_prog"
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 break 2
4907 done
4908 done
4909 IFS=$as_save_IFS
4913 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4914 if test -n "$ac_ct_CXX"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4916 $as_echo "$ac_ct_CXX" >&6; }
4917 else
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4923 test -n "$ac_ct_CXX" && break
4924 done
4926 if test "x$ac_ct_CXX" = x; then
4927 CXX="g++"
4928 else
4929 case $cross_compiling:$ac_tool_warned in
4930 yes:)
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933 ac_tool_warned=yes ;;
4934 esac
4935 CXX=$ac_ct_CXX
4941 # Provide some information about the compiler.
4942 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4943 set X $ac_compile
4944 ac_compiler=$2
4945 for ac_option in --version -v -V -qversion; do
4946 { { ac_try="$ac_compiler $ac_option >&5"
4947 case "(($ac_try" in
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4950 esac
4951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4952 $as_echo "$ac_try_echo"; } >&5
4953 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4954 ac_status=$?
4955 if test -s conftest.err; then
4956 sed '10a\
4957 ... rest of stderr output deleted ...
4958 10q' conftest.err >conftest.er1
4959 cat conftest.er1 >&5
4961 rm -f conftest.er1 conftest.err
4962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4963 test $ac_status = 0; }
4964 done
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4967 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4968 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4969 $as_echo_n "(cached) " >&6
4970 else
4971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4975 main ()
4977 #ifndef __GNUC__
4978 choke me
4979 #endif
4982 return 0;
4984 _ACEOF
4985 if ac_fn_cxx_try_compile "$LINENO"; then :
4986 ac_compiler_gnu=yes
4987 else
4988 ac_compiler_gnu=no
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4995 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4996 if test $ac_compiler_gnu = yes; then
4997 GXX=yes
4998 else
4999 GXX=
5001 ac_test_CXXFLAGS=${CXXFLAGS+set}
5002 ac_save_CXXFLAGS=$CXXFLAGS
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5004 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5005 if ${ac_cv_prog_cxx_g+:} false; then :
5006 $as_echo_n "(cached) " >&6
5007 else
5008 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5009 ac_cxx_werror_flag=yes
5010 ac_cv_prog_cxx_g=no
5011 CXXFLAGS="-g"
5012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5016 main ()
5020 return 0;
5022 _ACEOF
5023 if ac_fn_cxx_try_compile "$LINENO"; then :
5024 ac_cv_prog_cxx_g=yes
5025 else
5026 CXXFLAGS=""
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5031 main ()
5035 return 0;
5037 _ACEOF
5038 if ac_fn_cxx_try_compile "$LINENO"; then :
5040 else
5041 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5042 CXXFLAGS="-g"
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5047 main ()
5051 return 0;
5053 _ACEOF
5054 if ac_fn_cxx_try_compile "$LINENO"; then :
5055 ac_cv_prog_cxx_g=yes
5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5062 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5065 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5066 if test "$ac_test_CXXFLAGS" = set; then
5067 CXXFLAGS=$ac_save_CXXFLAGS
5068 elif test $ac_cv_prog_cxx_g = yes; then
5069 if test "$GXX" = yes; then
5070 CXXFLAGS="-g -O2"
5071 else
5072 CXXFLAGS="-g"
5074 else
5075 if test "$GXX" = yes; then
5076 CXXFLAGS="-O2"
5077 else
5078 CXXFLAGS=
5081 ac_ext=c
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 CXXFLAGS="$save_CXXFLAGS"
5090 # Check whether --enable-largefile was given.
5091 if test "${enable_largefile+set}" = set; then :
5092 enableval=$enable_largefile;
5095 if test "$enable_largefile" != no; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5098 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5099 if ${ac_cv_sys_largefile_CC+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 ac_cv_sys_largefile_CC=no
5103 if test "$GCC" != yes; then
5104 ac_save_CC=$CC
5105 while :; do
5106 # IRIX 6.2 and later do not support large files by default,
5107 # so use the C compiler's -n32 option if that helps.
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109 /* end confdefs.h. */
5110 #include <sys/types.h>
5111 /* Check that off_t can represent 2**63 - 1 correctly.
5112 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5113 since some C++ compilers masquerading as C compilers
5114 incorrectly reject 9223372036854775807. */
5115 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5116 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5117 && LARGE_OFF_T % 2147483647 == 1)
5118 ? 1 : -1];
5120 main ()
5124 return 0;
5126 _ACEOF
5127 if ac_fn_c_try_compile "$LINENO"; then :
5128 break
5130 rm -f core conftest.err conftest.$ac_objext
5131 CC="$CC -n32"
5132 if ac_fn_c_try_compile "$LINENO"; then :
5133 ac_cv_sys_largefile_CC=' -n32'; break
5135 rm -f core conftest.err conftest.$ac_objext
5136 break
5137 done
5138 CC=$ac_save_CC
5139 rm -f conftest.$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5143 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5144 if test "$ac_cv_sys_largefile_CC" != no; then
5145 CC=$CC$ac_cv_sys_largefile_CC
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5149 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5150 if ${ac_cv_sys_file_offset_bits+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 while :; do
5154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5156 #include <sys/types.h>
5157 /* Check that off_t can represent 2**63 - 1 correctly.
5158 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5159 since some C++ compilers masquerading as C compilers
5160 incorrectly reject 9223372036854775807. */
5161 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5162 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5163 && LARGE_OFF_T % 2147483647 == 1)
5164 ? 1 : -1];
5166 main ()
5170 return 0;
5172 _ACEOF
5173 if ac_fn_c_try_compile "$LINENO"; then :
5174 ac_cv_sys_file_offset_bits=no; break
5176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5178 /* end confdefs.h. */
5179 #define _FILE_OFFSET_BITS 64
5180 #include <sys/types.h>
5181 /* Check that off_t can represent 2**63 - 1 correctly.
5182 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5183 since some C++ compilers masquerading as C compilers
5184 incorrectly reject 9223372036854775807. */
5185 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5186 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5187 && LARGE_OFF_T % 2147483647 == 1)
5188 ? 1 : -1];
5190 main ()
5194 return 0;
5196 _ACEOF
5197 if ac_fn_c_try_compile "$LINENO"; then :
5198 ac_cv_sys_file_offset_bits=64; break
5200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5201 ac_cv_sys_file_offset_bits=unknown
5202 break
5203 done
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5206 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5207 case $ac_cv_sys_file_offset_bits in #(
5208 no | unknown) ;;
5210 cat >>confdefs.h <<_ACEOF
5211 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5212 _ACEOF
5214 esac
5215 rm -rf conftest*
5216 if test $ac_cv_sys_file_offset_bits = unknown; then
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5218 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5219 if ${ac_cv_sys_large_files+:} false; then :
5220 $as_echo_n "(cached) " >&6
5221 else
5222 while :; do
5223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5224 /* end confdefs.h. */
5225 #include <sys/types.h>
5226 /* Check that off_t can represent 2**63 - 1 correctly.
5227 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5228 since some C++ compilers masquerading as C compilers
5229 incorrectly reject 9223372036854775807. */
5230 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5231 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5232 && LARGE_OFF_T % 2147483647 == 1)
5233 ? 1 : -1];
5235 main ()
5239 return 0;
5241 _ACEOF
5242 if ac_fn_c_try_compile "$LINENO"; then :
5243 ac_cv_sys_large_files=no; break
5245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5247 /* end confdefs.h. */
5248 #define _LARGE_FILES 1
5249 #include <sys/types.h>
5250 /* Check that off_t can represent 2**63 - 1 correctly.
5251 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5252 since some C++ compilers masquerading as C compilers
5253 incorrectly reject 9223372036854775807. */
5254 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5255 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5256 && LARGE_OFF_T % 2147483647 == 1)
5257 ? 1 : -1];
5259 main ()
5263 return 0;
5265 _ACEOF
5266 if ac_fn_c_try_compile "$LINENO"; then :
5267 ac_cv_sys_large_files=1; break
5269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5270 ac_cv_sys_large_files=unknown
5271 break
5272 done
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5275 $as_echo "$ac_cv_sys_large_files" >&6; }
5276 case $ac_cv_sys_large_files in #(
5277 no | unknown) ;;
5279 cat >>confdefs.h <<_ACEOF
5280 #define _LARGE_FILES $ac_cv_sys_large_files
5281 _ACEOF
5283 esac
5284 rm -rf conftest*
5291 # Runs configure.host, and assorted other critical bits. Sets
5292 # up critical shell variables.
5293 ac_ext=c
5294 ac_cpp='$CPP $CPPFLAGS'
5295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5300 # On Suns, sometimes $CPP names a directory.
5301 if test -n "$CPP" && test -d "$CPP"; then
5302 CPP=
5304 if test -z "$CPP"; then
5305 if ${ac_cv_prog_CPP+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 # Double quotes because CPP needs to be expanded
5309 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5322 #ifdef __STDC__
5323 # include <limits.h>
5324 #else
5325 # include <assert.h>
5326 #endif
5327 Syntax error
5328 _ACEOF
5329 if ac_fn_c_try_cpp "$LINENO"; then :
5331 else
5332 # Broken: fails on valid input.
5333 continue
5335 rm -f conftest.err conftest.i conftest.$ac_ext
5337 # OK, works on sane cases. Now check whether nonexistent headers
5338 # can be detected and how.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #include <ac_nonexistent.h>
5342 _ACEOF
5343 if ac_fn_c_try_cpp "$LINENO"; then :
5344 # Broken: success on invalid input.
5345 continue
5346 else
5347 # Passes both tests.
5348 ac_preproc_ok=:
5349 break
5351 rm -f conftest.err conftest.i conftest.$ac_ext
5353 done
5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5355 rm -f conftest.i conftest.err conftest.$ac_ext
5356 if $ac_preproc_ok; then :
5357 break
5360 done
5361 ac_cv_prog_CPP=$CPP
5364 CPP=$ac_cv_prog_CPP
5365 else
5366 ac_cv_prog_CPP=$CPP
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5369 $as_echo "$CPP" >&6; }
5370 ac_preproc_ok=false
5371 for ac_c_preproc_warn_flag in '' yes
5373 # Use a header file that comes with gcc, so configuring glibc
5374 # with a fresh cross-compiler works.
5375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5376 # <limits.h> exists even on freestanding compilers.
5377 # On the NeXT, cc -E runs the code through the compiler's parser,
5378 # not just through cpp. "Syntax error" is here to catch this case.
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5381 #ifdef __STDC__
5382 # include <limits.h>
5383 #else
5384 # include <assert.h>
5385 #endif
5386 Syntax error
5387 _ACEOF
5388 if ac_fn_c_try_cpp "$LINENO"; then :
5390 else
5391 # Broken: fails on valid input.
5392 continue
5394 rm -f conftest.err conftest.i conftest.$ac_ext
5396 # OK, works on sane cases. Now check whether nonexistent headers
5397 # can be detected and how.
5398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5400 #include <ac_nonexistent.h>
5401 _ACEOF
5402 if ac_fn_c_try_cpp "$LINENO"; then :
5403 # Broken: success on invalid input.
5404 continue
5405 else
5406 # Passes both tests.
5407 ac_preproc_ok=:
5408 break
5410 rm -f conftest.err conftest.i conftest.$ac_ext
5412 done
5413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5414 rm -f conftest.i conftest.err conftest.$ac_ext
5415 if $ac_preproc_ok; then :
5417 else
5418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5420 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5421 See \`config.log' for more details" "$LINENO" 5; }
5424 ac_ext=c
5425 ac_cpp='$CPP $CPPFLAGS'
5426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -z "$GREP"; then
5437 ac_path_GREP_found=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_prog in grep ggrep; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5447 as_fn_executable_p "$ac_path_GREP" || continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449 # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5451 *GNU*)
5452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5454 ac_count=0
5455 $as_echo_n 0123456789 >"conftest.in"
5456 while :
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'GREP' >> "conftest.nl"
5462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464 as_fn_arith $ac_count + 1 && ac_count=$as_val
5465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_GREP="$ac_path_GREP"
5468 ac_path_GREP_max=$ac_count
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5472 done
5473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5476 $ac_path_GREP_found && break 3
5477 done
5478 done
5479 done
5480 IFS=$as_save_IFS
5481 if test -z "$ac_cv_path_GREP"; then
5482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 else
5485 ac_cv_path_GREP=$GREP
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491 GREP="$ac_cv_path_GREP"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5500 then ac_cv_path_EGREP="$GREP -E"
5501 else
5502 if test -z "$EGREP"; then
5503 ac_path_EGREP_found=false
5504 # Loop through the user's path and test for each of PROGNAME-LIST
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_prog in egrep; do
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5513 as_fn_executable_p "$ac_path_EGREP" || continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515 # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5517 *GNU*)
5518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5520 ac_count=0
5521 $as_echo_n 0123456789 >"conftest.in"
5522 while :
5524 cat "conftest.in" "conftest.in" >"conftest.tmp"
5525 mv "conftest.tmp" "conftest.in"
5526 cp "conftest.in" "conftest.nl"
5527 $as_echo 'EGREP' >> "conftest.nl"
5528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530 as_fn_arith $ac_count + 1 && ac_count=$as_val
5531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532 # Best one so far, save it but keep looking for a better one
5533 ac_cv_path_EGREP="$ac_path_EGREP"
5534 ac_path_EGREP_max=$ac_count
5536 # 10*(2^10) chars as input seems more than enough
5537 test $ac_count -gt 10 && break
5538 done
5539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540 esac
5542 $ac_path_EGREP_found && break 3
5543 done
5544 done
5545 done
5546 IFS=$as_save_IFS
5547 if test -z "$ac_cv_path_EGREP"; then
5548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5550 else
5551 ac_cv_path_EGREP=$EGREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558 EGREP="$ac_cv_path_EGREP"
5562 # Keep these sync'd with the list in Makefile.am. The first provides an
5563 # expandable list at autoconf time; the second provides an expandable list
5564 # (i.e., shell variable) at configure time.
5566 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace doc po testsuite python'
5568 # These need to be absolute paths, yet at the same time need to
5569 # canonicalize only relative paths, because then amd will not unmount
5570 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5571 glibcxx_builddir=`${PWDCMD-pwd}`
5572 case $srcdir in
5573 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5574 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5575 esac
5576 toplevel_builddir=${glibcxx_builddir}/..
5577 toplevel_srcdir=${glibcxx_srcdir}/..
5583 # We use these options to decide which functions to include. They are
5584 # set from the top level.
5586 # Check whether --with-target-subdir was given.
5587 if test "${with_target_subdir+set}" = set; then :
5588 withval=$with_target_subdir;
5593 # Check whether --with-cross-host was given.
5594 if test "${with_cross_host+set}" = set; then :
5595 withval=$with_cross_host;
5600 # Check whether --with-newlib was given.
5601 if test "${with_newlib+set}" = set; then :
5602 withval=$with_newlib;
5606 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5607 # available). Uncomment the next line to force a particular method.
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5609 $as_echo_n "checking whether ln -s works... " >&6; }
5610 LN_S=$as_ln_s
5611 if test "$LN_S" = "ln -s"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5613 $as_echo "yes" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5616 $as_echo "no, using $LN_S" >&6; }
5619 #LN_S='cp -p'
5621 if test -n "$ac_tool_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5623 set dummy ${ac_tool_prefix}as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$AS"; then
5630 ac_cv_prog_AS="$AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_AS="${ac_tool_prefix}as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 AS=$ac_cv_prog_AS
5650 if test -n "$AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5652 $as_echo "$AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test -z "$ac_cv_prog_AS"; then
5661 ac_ct_AS=$AS
5662 # Extract the first word of "as", so it can be a program name with args.
5663 set dummy as; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 if test -n "$ac_ct_AS"; then
5670 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5671 else
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673 for as_dir in $PATH
5675 IFS=$as_save_IFS
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_ac_ct_AS="as"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681 break 2
5683 done
5684 done
5685 IFS=$as_save_IFS
5689 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5690 if test -n "$ac_ct_AS"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5692 $as_echo "$ac_ct_AS" >&6; }
5693 else
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5698 if test "x$ac_ct_AS" = x; then
5699 AS=""
5700 else
5701 case $cross_compiling:$ac_tool_warned in
5702 yes:)
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned=yes ;;
5706 esac
5707 AS=$ac_ct_AS
5709 else
5710 AS="$ac_cv_prog_AS"
5713 if test -n "$ac_tool_prefix"; then
5714 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5715 set dummy ${ac_tool_prefix}ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$AR"; then
5722 ac_cv_prog_AR="$AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_AR="${ac_tool_prefix}ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 AR=$ac_cv_prog_AR
5742 if test -n "$AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5744 $as_echo "$AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5752 if test -z "$ac_cv_prog_AR"; then
5753 ac_ct_AR=$AR
5754 # Extract the first word of "ar", so it can be a program name with args.
5755 set dummy ar; ac_word=$2
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5757 $as_echo_n "checking for $ac_word... " >&6; }
5758 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5759 $as_echo_n "(cached) " >&6
5760 else
5761 if test -n "$ac_ct_AR"; then
5762 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5763 else
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 for as_dir in $PATH
5767 IFS=$as_save_IFS
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_ac_ct_AR="ar"
5772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5773 break 2
5775 done
5776 done
5777 IFS=$as_save_IFS
5781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5782 if test -n "$ac_ct_AR"; then
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5784 $as_echo "$ac_ct_AR" >&6; }
5785 else
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5787 $as_echo "no" >&6; }
5790 if test "x$ac_ct_AR" = x; then
5791 AR=""
5792 else
5793 case $cross_compiling:$ac_tool_warned in
5794 yes:)
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797 ac_tool_warned=yes ;;
5798 esac
5799 AR=$ac_ct_AR
5801 else
5802 AR="$ac_cv_prog_AR"
5805 if test -n "$ac_tool_prefix"; then
5806 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5807 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$RANLIB"; then
5814 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 RANLIB=$ac_cv_prog_RANLIB
5834 if test -n "$RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5836 $as_echo "$RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5844 if test -z "$ac_cv_prog_RANLIB"; then
5845 ac_ct_RANLIB=$RANLIB
5846 # Extract the first word of "ranlib", so it can be a program name with args.
5847 set dummy ranlib; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5851 $as_echo_n "(cached) " >&6
5852 else
5853 if test -n "$ac_ct_RANLIB"; then
5854 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5859 IFS=$as_save_IFS
5860 test -z "$as_dir" && as_dir=.
5861 for ac_exec_ext in '' $ac_executable_extensions; do
5862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863 ac_cv_prog_ac_ct_RANLIB="ranlib"
5864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865 break 2
5867 done
5868 done
5869 IFS=$as_save_IFS
5873 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5874 if test -n "$ac_ct_RANLIB"; then
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5876 $as_echo "$ac_ct_RANLIB" >&6; }
5877 else
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5882 if test "x$ac_ct_RANLIB" = x; then
5883 RANLIB="ranlib-not-found-in-path-error"
5884 else
5885 case $cross_compiling:$ac_tool_warned in
5886 yes:)
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5889 ac_tool_warned=yes ;;
5890 esac
5891 RANLIB=$ac_ct_RANLIB
5893 else
5894 RANLIB="$ac_cv_prog_RANLIB"
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5900 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5901 # Check whether --enable-maintainer-mode was given.
5902 if test "${enable_maintainer_mode+set}" = set; then :
5903 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5904 else
5905 USE_MAINTAINER_MODE=no
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5909 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5910 if test $USE_MAINTAINER_MODE = yes; then
5911 MAINTAINER_MODE_TRUE=
5912 MAINTAINER_MODE_FALSE='#'
5913 else
5914 MAINTAINER_MODE_TRUE='#'
5915 MAINTAINER_MODE_FALSE=
5918 MAINT=$MAINTAINER_MODE_TRUE
5922 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5923 # which are themselves conditionally expanded.
5924 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5925 ## other macros from doing the same. This should be automated.) -pme
5927 # Check for C library flavor since GNU/Linux platforms use different
5928 # configuration directories depending on the C library in use.
5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5932 #include <stdio.h>
5933 #if __UCLIBC__
5934 _using_uclibc
5935 #endif
5937 _ACEOF
5938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5939 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5940 uclibc=yes
5941 else
5942 uclibc=no
5944 rm -f conftest*
5947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5948 /* end confdefs.h. */
5950 #include <stdio.h>
5951 #if __BIONIC__
5952 _using_bionic
5953 #endif
5955 _ACEOF
5956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5957 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5958 bionic=yes
5959 else
5960 bionic=no
5962 rm -f conftest*
5965 # Find platform-specific directories containing configuration info.
5966 # Also possibly modify flags used elsewhere, as needed by the platform.
5968 . $glibcxx_srcdir/configure.host
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5970 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5972 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5976 # Libtool setup.
5977 if test "x${with_newlib}" != "xyes" &&
5978 test "x${with_avrlibc}" != "xyes" &&
5979 test "x$with_headers" != "xno"; then
5980 enable_dlopen=yes
5985 case `pwd` in
5986 *\ * | *\ *)
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5988 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5989 esac
5993 macro_version='2.2.7a'
5994 macro_revision='1.3134'
6008 ltmain="$ac_aux_dir/ltmain.sh"
6010 # Backslashify metacharacters that are still active within
6011 # double-quoted strings.
6012 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6014 # Same as above, but do not quote variable references.
6015 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6017 # Sed substitution to delay expansion of an escaped shell variable in a
6018 # double_quote_subst'ed string.
6019 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6021 # Sed substitution to delay expansion of an escaped single quote.
6022 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6024 # Sed substitution to avoid accidental globbing in evaled expressions
6025 no_glob_subst='s/\*/\\\*/g'
6027 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6028 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6029 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6032 $as_echo_n "checking how to print strings... " >&6; }
6033 # Test print first, because it will be a builtin if present.
6034 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6035 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6036 ECHO='print -r --'
6037 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6038 ECHO='printf %s\n'
6039 else
6040 # Use this function as a fallback that always works.
6041 func_fallback_echo ()
6043 eval 'cat <<_LTECHO_EOF
6045 _LTECHO_EOF'
6047 ECHO='func_fallback_echo'
6050 # func_echo_all arg...
6051 # Invoke $ECHO with all args, space-separated.
6052 func_echo_all ()
6054 $ECHO ""
6057 case "$ECHO" in
6058 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6059 $as_echo "printf" >&6; } ;;
6060 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6061 $as_echo "print -r" >&6; } ;;
6062 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6063 $as_echo "cat" >&6; } ;;
6064 esac
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6080 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6081 if ${ac_cv_path_SED+:} false; then :
6082 $as_echo_n "(cached) " >&6
6083 else
6084 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6085 for ac_i in 1 2 3 4 5 6 7; do
6086 ac_script="$ac_script$as_nl$ac_script"
6087 done
6088 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6089 { ac_script=; unset ac_script;}
6090 if test -z "$SED"; then
6091 ac_path_SED_found=false
6092 # Loop through the user's path and test for each of PROGNAME-LIST
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6096 IFS=$as_save_IFS
6097 test -z "$as_dir" && as_dir=.
6098 for ac_prog in sed gsed; do
6099 for ac_exec_ext in '' $ac_executable_extensions; do
6100 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6101 as_fn_executable_p "$ac_path_SED" || continue
6102 # Check for GNU ac_path_SED and select it if it is found.
6103 # Check for GNU $ac_path_SED
6104 case `"$ac_path_SED" --version 2>&1` in
6105 *GNU*)
6106 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6108 ac_count=0
6109 $as_echo_n 0123456789 >"conftest.in"
6110 while :
6112 cat "conftest.in" "conftest.in" >"conftest.tmp"
6113 mv "conftest.tmp" "conftest.in"
6114 cp "conftest.in" "conftest.nl"
6115 $as_echo '' >> "conftest.nl"
6116 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6117 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6118 as_fn_arith $ac_count + 1 && ac_count=$as_val
6119 if test $ac_count -gt ${ac_path_SED_max-0}; then
6120 # Best one so far, save it but keep looking for a better one
6121 ac_cv_path_SED="$ac_path_SED"
6122 ac_path_SED_max=$ac_count
6124 # 10*(2^10) chars as input seems more than enough
6125 test $ac_count -gt 10 && break
6126 done
6127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6128 esac
6130 $ac_path_SED_found && break 3
6131 done
6132 done
6133 done
6134 IFS=$as_save_IFS
6135 if test -z "$ac_cv_path_SED"; then
6136 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6138 else
6139 ac_cv_path_SED=$SED
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6144 $as_echo "$ac_cv_path_SED" >&6; }
6145 SED="$ac_cv_path_SED"
6146 rm -f conftest.sed
6148 test -z "$SED" && SED=sed
6149 Xsed="$SED -e 1s/^X//"
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6162 $as_echo_n "checking for fgrep... " >&6; }
6163 if ${ac_cv_path_FGREP+:} false; then :
6164 $as_echo_n "(cached) " >&6
6165 else
6166 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6167 then ac_cv_path_FGREP="$GREP -F"
6168 else
6169 if test -z "$FGREP"; then
6170 ac_path_FGREP_found=false
6171 # Loop through the user's path and test for each of PROGNAME-LIST
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_prog in fgrep; do
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6180 as_fn_executable_p "$ac_path_FGREP" || continue
6181 # Check for GNU ac_path_FGREP and select it if it is found.
6182 # Check for GNU $ac_path_FGREP
6183 case `"$ac_path_FGREP" --version 2>&1` in
6184 *GNU*)
6185 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6187 ac_count=0
6188 $as_echo_n 0123456789 >"conftest.in"
6189 while :
6191 cat "conftest.in" "conftest.in" >"conftest.tmp"
6192 mv "conftest.tmp" "conftest.in"
6193 cp "conftest.in" "conftest.nl"
6194 $as_echo 'FGREP' >> "conftest.nl"
6195 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6196 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6197 as_fn_arith $ac_count + 1 && ac_count=$as_val
6198 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6199 # Best one so far, save it but keep looking for a better one
6200 ac_cv_path_FGREP="$ac_path_FGREP"
6201 ac_path_FGREP_max=$ac_count
6203 # 10*(2^10) chars as input seems more than enough
6204 test $ac_count -gt 10 && break
6205 done
6206 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6207 esac
6209 $ac_path_FGREP_found && break 3
6210 done
6211 done
6212 done
6213 IFS=$as_save_IFS
6214 if test -z "$ac_cv_path_FGREP"; then
6215 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6217 else
6218 ac_cv_path_FGREP=$FGREP
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6224 $as_echo "$ac_cv_path_FGREP" >&6; }
6225 FGREP="$ac_cv_path_FGREP"
6228 test -z "$GREP" && GREP=grep
6248 # Check whether --with-gnu-ld was given.
6249 if test "${with_gnu_ld+set}" = set; then :
6250 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6251 else
6252 with_gnu_ld=no
6255 ac_prog=ld
6256 if test "$GCC" = yes; then
6257 # Check if gcc -print-prog-name=ld gives a path.
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6259 $as_echo_n "checking for ld used by $CC... " >&6; }
6260 case $host in
6261 *-*-mingw*)
6262 # gcc leaves a trailing carriage return which upsets mingw
6263 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6265 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6266 esac
6267 case $ac_prog in
6268 # Accept absolute paths.
6269 [\\/]* | ?:[\\/]*)
6270 re_direlt='/[^/][^/]*/\.\./'
6271 # Canonicalize the pathname of ld
6272 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6273 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6274 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6275 done
6276 test -z "$LD" && LD="$ac_prog"
6279 # If it fails, then pretend we aren't using GCC.
6280 ac_prog=ld
6283 # If it is relative, then search for the first ld in PATH.
6284 with_gnu_ld=unknown
6286 esac
6287 elif test "$with_gnu_ld" = yes; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6289 $as_echo_n "checking for GNU ld... " >&6; }
6290 else
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6292 $as_echo_n "checking for non-GNU ld... " >&6; }
6294 if ${lt_cv_path_LD+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 if test -z "$LD"; then
6298 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6299 for ac_dir in $PATH; do
6300 IFS="$lt_save_ifs"
6301 test -z "$ac_dir" && ac_dir=.
6302 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6303 lt_cv_path_LD="$ac_dir/$ac_prog"
6304 # Check to see if the program is GNU ld. I'd rather use --version,
6305 # but apparently some variants of GNU ld only accept -v.
6306 # Break only if it was the GNU/non-GNU ld that we prefer.
6307 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6308 *GNU* | *'with BFD'*)
6309 test "$with_gnu_ld" != no && break
6312 test "$with_gnu_ld" != yes && break
6314 esac
6316 done
6317 IFS="$lt_save_ifs"
6318 else
6319 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6323 LD="$lt_cv_path_LD"
6324 if test -n "$LD"; then
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6326 $as_echo "$LD" >&6; }
6327 else
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6329 $as_echo "no" >&6; }
6331 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6333 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6334 if ${lt_cv_prog_gnu_ld+:} false; then :
6335 $as_echo_n "(cached) " >&6
6336 else
6337 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6338 case `$LD -v 2>&1 </dev/null` in
6339 *GNU* | *'with BFD'*)
6340 lt_cv_prog_gnu_ld=yes
6343 lt_cv_prog_gnu_ld=no
6345 esac
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6348 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6349 with_gnu_ld=$lt_cv_prog_gnu_ld
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6360 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6361 if ${lt_cv_path_NM+:} false; then :
6362 $as_echo_n "(cached) " >&6
6363 else
6364 if test -n "$NM"; then
6365 # Let the user override the test.
6366 lt_cv_path_NM="$NM"
6367 else
6368 lt_nm_to_check="${ac_tool_prefix}nm"
6369 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6370 lt_nm_to_check="$lt_nm_to_check nm"
6372 for lt_tmp_nm in $lt_nm_to_check; do
6373 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6374 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6375 IFS="$lt_save_ifs"
6376 test -z "$ac_dir" && ac_dir=.
6377 tmp_nm="$ac_dir/$lt_tmp_nm"
6378 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6379 # Check to see if the nm accepts a BSD-compat flag.
6380 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6381 # nm: unknown option "B" ignored
6382 # Tru64's nm complains that /dev/null is an invalid object file
6383 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6384 */dev/null* | *'Invalid file or object type'*)
6385 lt_cv_path_NM="$tmp_nm -B"
6386 break
6389 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6390 */dev/null*)
6391 lt_cv_path_NM="$tmp_nm -p"
6392 break
6395 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6396 continue # so that we can try to find one that supports BSD flags
6398 esac
6400 esac
6402 done
6403 IFS="$lt_save_ifs"
6404 done
6405 : ${lt_cv_path_NM=no}
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6409 $as_echo "$lt_cv_path_NM" >&6; }
6410 if test "$lt_cv_path_NM" != "no"; then
6411 NM="$lt_cv_path_NM"
6412 else
6413 # Didn't find any BSD compatible name lister, look for dumpbin.
6414 if test -n "$DUMPBIN"; then :
6415 # Let the user override the test.
6416 else
6417 if test -n "$ac_tool_prefix"; then
6418 for ac_prog in dumpbin "link -dump"
6420 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6421 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 $as_echo_n "checking for $ac_word... " >&6; }
6424 if ${ac_cv_prog_DUMPBIN+:} false; then :
6425 $as_echo_n "(cached) " >&6
6426 else
6427 if test -n "$DUMPBIN"; then
6428 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 test -z "$as_dir" && as_dir=.
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 break 2
6441 done
6442 done
6443 IFS=$as_save_IFS
6447 DUMPBIN=$ac_cv_prog_DUMPBIN
6448 if test -n "$DUMPBIN"; then
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6450 $as_echo "$DUMPBIN" >&6; }
6451 else
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453 $as_echo "no" >&6; }
6457 test -n "$DUMPBIN" && break
6458 done
6460 if test -z "$DUMPBIN"; then
6461 ac_ct_DUMPBIN=$DUMPBIN
6462 for ac_prog in dumpbin "link -dump"
6464 # Extract the first word of "$ac_prog", so it can be a program name with args.
6465 set dummy $ac_prog; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$ac_ct_DUMPBIN"; then
6472 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6492 if test -n "$ac_ct_DUMPBIN"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6494 $as_echo "$ac_ct_DUMPBIN" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6501 test -n "$ac_ct_DUMPBIN" && break
6502 done
6504 if test "x$ac_ct_DUMPBIN" = x; then
6505 DUMPBIN=":"
6506 else
6507 case $cross_compiling:$ac_tool_warned in
6508 yes:)
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6511 ac_tool_warned=yes ;;
6512 esac
6513 DUMPBIN=$ac_ct_DUMPBIN
6517 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6518 *COFF*)
6519 DUMPBIN="$DUMPBIN -symbols"
6522 DUMPBIN=:
6524 esac
6527 if test "$DUMPBIN" != ":"; then
6528 NM="$DUMPBIN"
6531 test -z "$NM" && NM=nm
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6539 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6540 if ${lt_cv_nm_interface+:} false; then :
6541 $as_echo_n "(cached) " >&6
6542 else
6543 lt_cv_nm_interface="BSD nm"
6544 echo "int some_variable = 0;" > conftest.$ac_ext
6545 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6546 (eval "$ac_compile" 2>conftest.err)
6547 cat conftest.err >&5
6548 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6549 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6550 cat conftest.err >&5
6551 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6552 cat conftest.out >&5
6553 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6554 lt_cv_nm_interface="MS dumpbin"
6556 rm -f conftest*
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6559 $as_echo "$lt_cv_nm_interface" >&6; }
6561 # find the maximum length of command line arguments
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6563 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6564 if ${lt_cv_sys_max_cmd_len+:} false; then :
6565 $as_echo_n "(cached) " >&6
6566 else
6568 teststring="ABCD"
6570 case $build_os in
6571 msdosdjgpp*)
6572 # On DJGPP, this test can blow up pretty badly due to problems in libc
6573 # (any single argument exceeding 2000 bytes causes a buffer overrun
6574 # during glob expansion). Even if it were fixed, the result of this
6575 # check would be larger than it should be.
6576 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6579 gnu*)
6580 # Under GNU Hurd, this test is not required because there is
6581 # no limit to the length of command line arguments.
6582 # Libtool will interpret -1 as no limit whatsoever
6583 lt_cv_sys_max_cmd_len=-1;
6586 cygwin* | mingw* | cegcc*)
6587 # On Win9x/ME, this test blows up -- it succeeds, but takes
6588 # about 5 minutes as the teststring grows exponentially.
6589 # Worse, since 9x/ME are not pre-emptively multitasking,
6590 # you end up with a "frozen" computer, even though with patience
6591 # the test eventually succeeds (with a max line length of 256k).
6592 # Instead, let's just punt: use the minimum linelength reported by
6593 # all of the supported platforms: 8192 (on NT/2K/XP).
6594 lt_cv_sys_max_cmd_len=8192;
6597 mint*)
6598 # On MiNT this can take a long time and run out of memory.
6599 lt_cv_sys_max_cmd_len=8192;
6602 amigaos*)
6603 # On AmigaOS with pdksh, this test takes hours, literally.
6604 # So we just punt and use a minimum line length of 8192.
6605 lt_cv_sys_max_cmd_len=8192;
6608 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6609 # This has been around since 386BSD, at least. Likely further.
6610 if test -x /sbin/sysctl; then
6611 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6612 elif test -x /usr/sbin/sysctl; then
6613 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6614 else
6615 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6617 # And add a safety zone
6618 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6622 interix*)
6623 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6624 lt_cv_sys_max_cmd_len=196608
6627 osf*)
6628 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6629 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6630 # nice to cause kernel panics so lets avoid the loop below.
6631 # First set a reasonable default.
6632 lt_cv_sys_max_cmd_len=16384
6634 if test -x /sbin/sysconfig; then
6635 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6636 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6637 esac
6640 sco3.2v5*)
6641 lt_cv_sys_max_cmd_len=102400
6643 sysv5* | sco5v6* | sysv4.2uw2*)
6644 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6645 if test -n "$kargmax"; then
6646 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6647 else
6648 lt_cv_sys_max_cmd_len=32768
6652 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6653 if test -n "$lt_cv_sys_max_cmd_len"; then
6654 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6655 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6656 else
6657 # Make teststring a little bigger before we do anything with it.
6658 # a 1K string should be a reasonable start.
6659 for i in 1 2 3 4 5 6 7 8 ; do
6660 teststring=$teststring$teststring
6661 done
6662 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6663 # If test is not a shell built-in, we'll probably end up computing a
6664 # maximum length that is only half of the actual maximum length, but
6665 # we can't tell.
6666 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6667 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6668 test $i != 17 # 1/2 MB should be enough
6670 i=`expr $i + 1`
6671 teststring=$teststring$teststring
6672 done
6673 # Only check the string length outside the loop.
6674 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6675 teststring=
6676 # Add a significant safety factor because C++ compilers can tack on
6677 # massive amounts of additional arguments before passing them to the
6678 # linker. It appears as though 1/2 is a usable value.
6679 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6682 esac
6686 if test -n $lt_cv_sys_max_cmd_len ; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6688 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6689 else
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6691 $as_echo "none" >&6; }
6693 max_cmd_len=$lt_cv_sys_max_cmd_len
6700 : ${CP="cp -f"}
6701 : ${MV="mv -f"}
6702 : ${RM="rm -f"}
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6705 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6706 # Try some XSI features
6707 xsi_shell=no
6708 ( _lt_dummy="a/b/c"
6709 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6710 = c,a/b,, \
6711 && eval 'test $(( 1 + 1 )) -eq 2 \
6712 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6713 && xsi_shell=yes
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6715 $as_echo "$xsi_shell" >&6; }
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6719 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6720 lt_shell_append=no
6721 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6722 >/dev/null 2>&1 \
6723 && lt_shell_append=yes
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6725 $as_echo "$lt_shell_append" >&6; }
6728 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6729 lt_unset=unset
6730 else
6731 lt_unset=false
6738 # test EBCDIC or ASCII
6739 case `echo X|tr X '\101'` in
6740 A) # ASCII based system
6741 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6742 lt_SP2NL='tr \040 \012'
6743 lt_NL2SP='tr \015\012 \040\040'
6745 *) # EBCDIC based system
6746 lt_SP2NL='tr \100 \n'
6747 lt_NL2SP='tr \r\n \100\100'
6749 esac
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6760 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6761 if ${lt_cv_ld_reload_flag+:} false; then :
6762 $as_echo_n "(cached) " >&6
6763 else
6764 lt_cv_ld_reload_flag='-r'
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6767 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6768 reload_flag=$lt_cv_ld_reload_flag
6769 case $reload_flag in
6770 "" | " "*) ;;
6771 *) reload_flag=" $reload_flag" ;;
6772 esac
6773 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6774 case $host_os in
6775 darwin*)
6776 if test "$GCC" = yes; then
6777 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6778 else
6779 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6782 esac
6792 if test -n "$ac_tool_prefix"; then
6793 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6794 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_OBJDUMP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$OBJDUMP"; then
6801 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 OBJDUMP=$ac_cv_prog_OBJDUMP
6821 if test -n "$OBJDUMP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6823 $as_echo "$OBJDUMP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6831 if test -z "$ac_cv_prog_OBJDUMP"; then
6832 ac_ct_OBJDUMP=$OBJDUMP
6833 # Extract the first word of "objdump", so it can be a program name with args.
6834 set dummy objdump; ac_word=$2
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836 $as_echo_n "checking for $ac_word... " >&6; }
6837 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6838 $as_echo_n "(cached) " >&6
6839 else
6840 if test -n "$ac_ct_OBJDUMP"; then
6841 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6842 else
6843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844 for as_dir in $PATH
6846 IFS=$as_save_IFS
6847 test -z "$as_dir" && as_dir=.
6848 for ac_exec_ext in '' $ac_executable_extensions; do
6849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852 break 2
6854 done
6855 done
6856 IFS=$as_save_IFS
6860 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6861 if test -n "$ac_ct_OBJDUMP"; then
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6863 $as_echo "$ac_ct_OBJDUMP" >&6; }
6864 else
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866 $as_echo "no" >&6; }
6869 if test "x$ac_ct_OBJDUMP" = x; then
6870 OBJDUMP="false"
6871 else
6872 case $cross_compiling:$ac_tool_warned in
6873 yes:)
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6876 ac_tool_warned=yes ;;
6877 esac
6878 OBJDUMP=$ac_ct_OBJDUMP
6880 else
6881 OBJDUMP="$ac_cv_prog_OBJDUMP"
6884 test -z "$OBJDUMP" && OBJDUMP=objdump
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6895 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6896 if ${lt_cv_deplibs_check_method+:} false; then :
6897 $as_echo_n "(cached) " >&6
6898 else
6899 lt_cv_file_magic_cmd='$MAGIC_CMD'
6900 lt_cv_file_magic_test_file=
6901 lt_cv_deplibs_check_method='unknown'
6902 # Need to set the preceding variable on all platforms that support
6903 # interlibrary dependencies.
6904 # 'none' -- dependencies not supported.
6905 # `unknown' -- same as none, but documents that we really don't know.
6906 # 'pass_all' -- all dependencies passed with no checks.
6907 # 'test_compile' -- check by making test program.
6908 # 'file_magic [[regex]]' -- check by looking for files in library path
6909 # which responds to the $file_magic_cmd with a given extended regex.
6910 # If you have `file' or equivalent on your system and you're not sure
6911 # whether `pass_all' will *always* work, you probably want this one.
6913 case $host_os in
6914 aix[4-9]*)
6915 lt_cv_deplibs_check_method=pass_all
6918 beos*)
6919 lt_cv_deplibs_check_method=pass_all
6922 bsdi[45]*)
6923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6924 lt_cv_file_magic_cmd='/usr/bin/file -L'
6925 lt_cv_file_magic_test_file=/shlib/libc.so
6928 cygwin*)
6929 # func_win32_libid is a shell function defined in ltmain.sh
6930 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6931 lt_cv_file_magic_cmd='func_win32_libid'
6934 mingw* | pw32*)
6935 # Base MSYS/MinGW do not provide the 'file' command needed by
6936 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6937 # unless we find 'file', for example because we are cross-compiling.
6938 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6939 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6940 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6941 lt_cv_file_magic_cmd='func_win32_libid'
6942 else
6943 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6944 lt_cv_file_magic_cmd='$OBJDUMP -f'
6948 cegcc*)
6949 # use the weaker test based on 'objdump'. See mingw*.
6950 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6951 lt_cv_file_magic_cmd='$OBJDUMP -f'
6954 darwin* | rhapsody*)
6955 lt_cv_deplibs_check_method=pass_all
6958 freebsd* | dragonfly*)
6959 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6960 case $host_cpu in
6961 i*86 )
6962 # Not sure whether the presence of OpenBSD here was a mistake.
6963 # Let's accept both of them until this is cleared up.
6964 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6965 lt_cv_file_magic_cmd=/usr/bin/file
6966 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6968 esac
6969 else
6970 lt_cv_deplibs_check_method=pass_all
6974 gnu*)
6975 lt_cv_deplibs_check_method=pass_all
6978 haiku*)
6979 lt_cv_deplibs_check_method=pass_all
6982 hpux10.20* | hpux11*)
6983 lt_cv_file_magic_cmd=/usr/bin/file
6984 case $host_cpu in
6985 ia64*)
6986 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6987 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6989 hppa*64*)
6990 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]'
6991 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6994 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6995 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6997 esac
7000 interix[3-9]*)
7001 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7005 irix5* | irix6* | nonstopux*)
7006 case $LD in
7007 *-32|*"-32 ") libmagic=32-bit;;
7008 *-n32|*"-n32 ") libmagic=N32;;
7009 *-64|*"-64 ") libmagic=64-bit;;
7010 *) libmagic=never-match;;
7011 esac
7012 lt_cv_deplibs_check_method=pass_all
7015 # This must be Linux ELF.
7016 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
7017 lt_cv_deplibs_check_method=pass_all
7020 netbsd*)
7021 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7022 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7023 else
7024 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7028 newos6*)
7029 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7030 lt_cv_file_magic_cmd=/usr/bin/file
7031 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7034 *nto* | *qnx*)
7035 lt_cv_deplibs_check_method=pass_all
7038 openbsd*)
7039 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7040 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7041 else
7042 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7046 osf3* | osf4* | osf5*)
7047 lt_cv_deplibs_check_method=pass_all
7050 rdos*)
7051 lt_cv_deplibs_check_method=pass_all
7054 solaris*)
7055 lt_cv_deplibs_check_method=pass_all
7058 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7059 lt_cv_deplibs_check_method=pass_all
7062 sysv4 | sysv4.3*)
7063 case $host_vendor in
7064 motorola)
7065 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]'
7066 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7068 ncr)
7069 lt_cv_deplibs_check_method=pass_all
7071 sequent)
7072 lt_cv_file_magic_cmd='/bin/file'
7073 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7075 sni)
7076 lt_cv_file_magic_cmd='/bin/file'
7077 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7078 lt_cv_file_magic_test_file=/lib/libc.so
7080 siemens)
7081 lt_cv_deplibs_check_method=pass_all
7084 lt_cv_deplibs_check_method=pass_all
7086 esac
7089 tpf*)
7090 lt_cv_deplibs_check_method=pass_all
7092 esac
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7096 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7097 file_magic_cmd=$lt_cv_file_magic_cmd
7098 deplibs_check_method=$lt_cv_deplibs_check_method
7099 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7112 if test -n "$ac_tool_prefix"; then
7113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7114 set dummy ${ac_tool_prefix}ar; ac_word=$2
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7116 $as_echo_n "checking for $ac_word... " >&6; }
7117 if ${ac_cv_prog_AR+:} false; then :
7118 $as_echo_n "(cached) " >&6
7119 else
7120 if test -n "$AR"; then
7121 ac_cv_prog_AR="$AR" # Let the user override the test.
7122 else
7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7124 for as_dir in $PATH
7126 IFS=$as_save_IFS
7127 test -z "$as_dir" && as_dir=.
7128 for ac_exec_ext in '' $ac_executable_extensions; do
7129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 ac_cv_prog_AR="${ac_tool_prefix}ar"
7131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7132 break 2
7134 done
7135 done
7136 IFS=$as_save_IFS
7140 AR=$ac_cv_prog_AR
7141 if test -n "$AR"; then
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7143 $as_echo "$AR" >&6; }
7144 else
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7146 $as_echo "no" >&6; }
7151 if test -z "$ac_cv_prog_AR"; then
7152 ac_ct_AR=$AR
7153 # Extract the first word of "ar", so it can be a program name with args.
7154 set dummy ar; ac_word=$2
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156 $as_echo_n "checking for $ac_word... " >&6; }
7157 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7158 $as_echo_n "(cached) " >&6
7159 else
7160 if test -n "$ac_ct_AR"; then
7161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7162 else
7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7164 for as_dir in $PATH
7166 IFS=$as_save_IFS
7167 test -z "$as_dir" && as_dir=.
7168 for ac_exec_ext in '' $ac_executable_extensions; do
7169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7170 ac_cv_prog_ac_ct_AR="ar"
7171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7172 break 2
7174 done
7175 done
7176 IFS=$as_save_IFS
7180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7181 if test -n "$ac_ct_AR"; then
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7183 $as_echo "$ac_ct_AR" >&6; }
7184 else
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186 $as_echo "no" >&6; }
7189 if test "x$ac_ct_AR" = x; then
7190 AR="false"
7191 else
7192 case $cross_compiling:$ac_tool_warned in
7193 yes:)
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7196 ac_tool_warned=yes ;;
7197 esac
7198 AR=$ac_ct_AR
7200 else
7201 AR="$ac_cv_prog_AR"
7204 test -z "$AR" && AR=ar
7205 test -z "$AR_FLAGS" && AR_FLAGS=cru
7217 if test -n "$ac_tool_prefix"; then
7218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7219 set dummy ${ac_tool_prefix}strip; ac_word=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 $as_echo_n "checking for $ac_word... " >&6; }
7222 if ${ac_cv_prog_STRIP+:} false; then :
7223 $as_echo_n "(cached) " >&6
7224 else
7225 if test -n "$STRIP"; then
7226 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7227 else
7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7229 for as_dir in $PATH
7231 IFS=$as_save_IFS
7232 test -z "$as_dir" && as_dir=.
7233 for ac_exec_ext in '' $ac_executable_extensions; do
7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7235 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237 break 2
7239 done
7240 done
7241 IFS=$as_save_IFS
7245 STRIP=$ac_cv_prog_STRIP
7246 if test -n "$STRIP"; then
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7248 $as_echo "$STRIP" >&6; }
7249 else
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7251 $as_echo "no" >&6; }
7256 if test -z "$ac_cv_prog_STRIP"; then
7257 ac_ct_STRIP=$STRIP
7258 # Extract the first word of "strip", so it can be a program name with args.
7259 set dummy strip; ac_word=$2
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261 $as_echo_n "checking for $ac_word... " >&6; }
7262 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7263 $as_echo_n "(cached) " >&6
7264 else
7265 if test -n "$ac_ct_STRIP"; then
7266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7267 else
7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7269 for as_dir in $PATH
7271 IFS=$as_save_IFS
7272 test -z "$as_dir" && as_dir=.
7273 for ac_exec_ext in '' $ac_executable_extensions; do
7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7275 ac_cv_prog_ac_ct_STRIP="strip"
7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 break 2
7279 done
7280 done
7281 IFS=$as_save_IFS
7285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7286 if test -n "$ac_ct_STRIP"; then
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7288 $as_echo "$ac_ct_STRIP" >&6; }
7289 else
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7291 $as_echo "no" >&6; }
7294 if test "x$ac_ct_STRIP" = x; then
7295 STRIP=":"
7296 else
7297 case $cross_compiling:$ac_tool_warned in
7298 yes:)
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7301 ac_tool_warned=yes ;;
7302 esac
7303 STRIP=$ac_ct_STRIP
7305 else
7306 STRIP="$ac_cv_prog_STRIP"
7309 test -z "$STRIP" && STRIP=:
7316 if test -n "$ac_tool_prefix"; then
7317 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7318 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7320 $as_echo_n "checking for $ac_word... " >&6; }
7321 if ${ac_cv_prog_RANLIB+:} false; then :
7322 $as_echo_n "(cached) " >&6
7323 else
7324 if test -n "$RANLIB"; then
7325 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7326 else
7327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328 for as_dir in $PATH
7330 IFS=$as_save_IFS
7331 test -z "$as_dir" && as_dir=.
7332 for ac_exec_ext in '' $ac_executable_extensions; do
7333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 break 2
7338 done
7339 done
7340 IFS=$as_save_IFS
7344 RANLIB=$ac_cv_prog_RANLIB
7345 if test -n "$RANLIB"; then
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7347 $as_echo "$RANLIB" >&6; }
7348 else
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7355 if test -z "$ac_cv_prog_RANLIB"; then
7356 ac_ct_RANLIB=$RANLIB
7357 # Extract the first word of "ranlib", so it can be a program name with args.
7358 set dummy ranlib; ac_word=$2
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360 $as_echo_n "checking for $ac_word... " >&6; }
7361 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7362 $as_echo_n "(cached) " >&6
7363 else
7364 if test -n "$ac_ct_RANLIB"; then
7365 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7366 else
7367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7368 for as_dir in $PATH
7370 IFS=$as_save_IFS
7371 test -z "$as_dir" && as_dir=.
7372 for ac_exec_ext in '' $ac_executable_extensions; do
7373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7374 ac_cv_prog_ac_ct_RANLIB="ranlib"
7375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7376 break 2
7378 done
7379 done
7380 IFS=$as_save_IFS
7384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7385 if test -n "$ac_ct_RANLIB"; then
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7387 $as_echo "$ac_ct_RANLIB" >&6; }
7388 else
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test "x$ac_ct_RANLIB" = x; then
7394 RANLIB=":"
7395 else
7396 case $cross_compiling:$ac_tool_warned in
7397 yes:)
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7400 ac_tool_warned=yes ;;
7401 esac
7402 RANLIB=$ac_ct_RANLIB
7404 else
7405 RANLIB="$ac_cv_prog_RANLIB"
7408 test -z "$RANLIB" && RANLIB=:
7415 # Determine commands to create old-style static archives.
7416 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7417 old_postinstall_cmds='chmod 644 $oldlib'
7418 old_postuninstall_cmds=
7420 if test -n "$RANLIB"; then
7421 case $host_os in
7422 openbsd*)
7423 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7426 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7428 esac
7429 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7432 case $host_os in
7433 darwin*)
7434 lock_old_archive_extraction=yes ;;
7436 lock_old_archive_extraction=no ;;
7437 esac
7477 # If no C compiler was specified, use CC.
7478 LTCC=${LTCC-"$CC"}
7480 # If no C compiler flags were specified, use CFLAGS.
7481 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7483 # Allow CC to be a program name with arguments.
7484 compiler=$CC
7487 # Check for command to grab the raw symbol name followed by C symbol from nm.
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7489 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7490 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7491 $as_echo_n "(cached) " >&6
7492 else
7494 # These are sane defaults that work on at least a few old systems.
7495 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7497 # Character class describing NM global symbol codes.
7498 symcode='[BCDEGRST]'
7500 # Regexp to match symbols that can be accessed directly from C.
7501 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7503 # Define system-specific variables.
7504 case $host_os in
7505 aix*)
7506 symcode='[BCDT]'
7508 cygwin* | mingw* | pw32* | cegcc*)
7509 symcode='[ABCDGISTW]'
7511 hpux*)
7512 if test "$host_cpu" = ia64; then
7513 symcode='[ABCDEGRST]'
7516 irix* | nonstopux*)
7517 symcode='[BCDEGRST]'
7519 osf*)
7520 symcode='[BCDEGQRST]'
7522 solaris*)
7523 symcode='[BDRT]'
7525 sco3.2v5*)
7526 symcode='[DT]'
7528 sysv4.2uw2*)
7529 symcode='[DT]'
7531 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7532 symcode='[ABDT]'
7534 sysv4)
7535 symcode='[DFNSTU]'
7537 esac
7539 # If we're using GNU nm, then use its standard symbol codes.
7540 case `$NM -V 2>&1` in
7541 *GNU* | *'with BFD'*)
7542 symcode='[ABCDGIRSTW]' ;;
7543 esac
7545 # Transform an extracted symbol line into a proper C declaration.
7546 # Some systems (esp. on ia64) link data and code symbols differently,
7547 # so use this general approach.
7548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7550 # Transform an extracted symbol line into symbol name and symbol address
7551 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7552 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'"
7554 # Handle CRLF in mingw tool chain
7555 opt_cr=
7556 case $build_os in
7557 mingw*)
7558 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7560 esac
7562 # Try without a prefix underscore, then with it.
7563 for ac_symprfx in "" "_"; do
7565 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7566 symxfrm="\\1 $ac_symprfx\\2 \\2"
7568 # Write the raw and C identifiers.
7569 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7570 # Fake it for dumpbin and say T for any non-static function
7571 # and D for any global variable.
7572 # Also find C++ and __fastcall symbols from MSVC++,
7573 # which start with @ or ?.
7574 lt_cv_sys_global_symbol_pipe="$AWK '"\
7575 " {last_section=section; section=\$ 3};"\
7576 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7577 " \$ 0!~/External *\|/{next};"\
7578 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7579 " {if(hide[section]) next};"\
7580 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7581 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7582 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7583 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7584 " ' prfx=^$ac_symprfx"
7585 else
7586 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7589 # Check to see that the pipe works correctly.
7590 pipe_works=no
7592 rm -f conftest*
7593 cat > conftest.$ac_ext <<_LT_EOF
7594 #ifdef __cplusplus
7595 extern "C" {
7596 #endif
7597 char nm_test_var;
7598 void nm_test_func(void);
7599 void nm_test_func(void){}
7600 #ifdef __cplusplus
7602 #endif
7603 int main(){nm_test_var='a';nm_test_func();return(0);}
7604 _LT_EOF
7606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7607 (eval $ac_compile) 2>&5
7608 ac_status=$?
7609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7610 test $ac_status = 0; }; then
7611 # Now try to grab the symbols.
7612 nlist=conftest.nm
7613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7614 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7615 ac_status=$?
7616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7617 test $ac_status = 0; } && test -s "$nlist"; then
7618 # Try sorting and uniquifying the output.
7619 if sort "$nlist" | uniq > "$nlist"T; then
7620 mv -f "$nlist"T "$nlist"
7621 else
7622 rm -f "$nlist"T
7625 # Make sure that we snagged all the symbols we need.
7626 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7627 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7628 cat <<_LT_EOF > conftest.$ac_ext
7629 #ifdef __cplusplus
7630 extern "C" {
7631 #endif
7633 _LT_EOF
7634 # Now generate the symbol file.
7635 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7637 cat <<_LT_EOF >> conftest.$ac_ext
7639 /* The mapping between symbol names and symbols. */
7640 const struct {
7641 const char *name;
7642 void *address;
7644 lt__PROGRAM__LTX_preloaded_symbols[] =
7646 { "@PROGRAM@", (void *) 0 },
7647 _LT_EOF
7648 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7649 cat <<\_LT_EOF >> conftest.$ac_ext
7650 {0, (void *) 0}
7653 /* This works around a problem in FreeBSD linker */
7654 #ifdef FREEBSD_WORKAROUND
7655 static const void *lt_preloaded_setup() {
7656 return lt__PROGRAM__LTX_preloaded_symbols;
7658 #endif
7660 #ifdef __cplusplus
7662 #endif
7663 _LT_EOF
7664 # Now try linking the two files.
7665 mv conftest.$ac_objext conftstm.$ac_objext
7666 lt_save_LIBS="$LIBS"
7667 lt_save_CFLAGS="$CFLAGS"
7668 LIBS="conftstm.$ac_objext"
7669 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7670 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7671 (eval $ac_link) 2>&5
7672 ac_status=$?
7673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7674 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7675 pipe_works=yes
7677 LIBS="$lt_save_LIBS"
7678 CFLAGS="$lt_save_CFLAGS"
7679 else
7680 echo "cannot find nm_test_func in $nlist" >&5
7682 else
7683 echo "cannot find nm_test_var in $nlist" >&5
7685 else
7686 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7688 else
7689 echo "$progname: failed program was:" >&5
7690 cat conftest.$ac_ext >&5
7692 rm -rf conftest* conftst*
7694 # Do not use the global_symbol_pipe unless it works.
7695 if test "$pipe_works" = yes; then
7696 break
7697 else
7698 lt_cv_sys_global_symbol_pipe=
7700 done
7704 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7705 lt_cv_sys_global_symbol_to_cdecl=
7707 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7709 $as_echo "failed" >&6; }
7710 else
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7712 $as_echo "ok" >&6; }
7736 # Check whether --enable-libtool-lock was given.
7737 if test "${enable_libtool_lock+set}" = set; then :
7738 enableval=$enable_libtool_lock;
7741 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7743 # Some flags need to be propagated to the compiler or linker for good
7744 # libtool support.
7745 case $host in
7746 ia64-*-hpux*)
7747 # Find out which ABI we are using.
7748 echo 'int i;' > conftest.$ac_ext
7749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7750 (eval $ac_compile) 2>&5
7751 ac_status=$?
7752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7753 test $ac_status = 0; }; then
7754 case `/usr/bin/file conftest.$ac_objext` in
7755 *ELF-32*)
7756 HPUX_IA64_MODE="32"
7758 *ELF-64*)
7759 HPUX_IA64_MODE="64"
7761 esac
7763 rm -rf conftest*
7765 *-*-irix6*)
7766 # Find out which ABI we are using.
7767 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7768 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7769 (eval $ac_compile) 2>&5
7770 ac_status=$?
7771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7772 test $ac_status = 0; }; then
7773 if test "$lt_cv_prog_gnu_ld" = yes; then
7774 case `/usr/bin/file conftest.$ac_objext` in
7775 *32-bit*)
7776 LD="${LD-ld} -melf32bsmip"
7778 *N32*)
7779 LD="${LD-ld} -melf32bmipn32"
7781 *64-bit*)
7782 LD="${LD-ld} -melf64bmip"
7784 esac
7785 else
7786 case `/usr/bin/file conftest.$ac_objext` in
7787 *32-bit*)
7788 LD="${LD-ld} -32"
7790 *N32*)
7791 LD="${LD-ld} -n32"
7793 *64-bit*)
7794 LD="${LD-ld} -64"
7796 esac
7799 rm -rf conftest*
7802 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7803 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7804 # Find out which ABI we are using.
7805 echo 'int i;' > conftest.$ac_ext
7806 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7807 (eval $ac_compile) 2>&5
7808 ac_status=$?
7809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7810 test $ac_status = 0; }; then
7811 case `/usr/bin/file conftest.o` in
7812 *32-bit*)
7813 case $host in
7814 x86_64-*kfreebsd*-gnu)
7815 LD="${LD-ld} -m elf_i386_fbsd"
7817 x86_64-*linux*)
7818 case `/usr/bin/file conftest.o` in
7819 *x86-64*)
7820 LD="${LD-ld} -m elf32_x86_64"
7823 LD="${LD-ld} -m elf_i386"
7825 esac
7827 powerpc64le-*linux*)
7828 LD="${LD-ld} -m elf32lppclinux"
7830 powerpc64-*linux*)
7831 LD="${LD-ld} -m elf32ppclinux"
7833 s390x-*linux*)
7834 LD="${LD-ld} -m elf_s390"
7836 sparc64-*linux*)
7837 LD="${LD-ld} -m elf32_sparc"
7839 esac
7841 *64-bit*)
7842 case $host in
7843 x86_64-*kfreebsd*-gnu)
7844 LD="${LD-ld} -m elf_x86_64_fbsd"
7846 x86_64-*linux*)
7847 LD="${LD-ld} -m elf_x86_64"
7849 powerpcle-*linux*)
7850 LD="${LD-ld} -m elf64lppc"
7852 powerpc-*linux*)
7853 LD="${LD-ld} -m elf64ppc"
7855 s390*-*linux*|s390*-*tpf*)
7856 LD="${LD-ld} -m elf64_s390"
7858 sparc*-*linux*)
7859 LD="${LD-ld} -m elf64_sparc"
7861 esac
7863 esac
7865 rm -rf conftest*
7868 *-*-sco3.2v5*)
7869 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7870 SAVE_CFLAGS="$CFLAGS"
7871 CFLAGS="$CFLAGS -belf"
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7873 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7874 if ${lt_cv_cc_needs_belf+:} false; then :
7875 $as_echo_n "(cached) " >&6
7876 else
7877 ac_ext=c
7878 ac_cpp='$CPP $CPPFLAGS'
7879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7883 if test x$gcc_no_link = xyes; then
7884 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7887 /* end confdefs.h. */
7890 main ()
7894 return 0;
7896 _ACEOF
7897 if ac_fn_c_try_link "$LINENO"; then :
7898 lt_cv_cc_needs_belf=yes
7899 else
7900 lt_cv_cc_needs_belf=no
7902 rm -f core conftest.err conftest.$ac_objext \
7903 conftest$ac_exeext conftest.$ac_ext
7904 ac_ext=c
7905 ac_cpp='$CPP $CPPFLAGS'
7906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7912 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7913 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7914 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7915 CFLAGS="$SAVE_CFLAGS"
7918 sparc*-*solaris*)
7919 # Find out which ABI we are using.
7920 echo 'int i;' > conftest.$ac_ext
7921 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7922 (eval $ac_compile) 2>&5
7923 ac_status=$?
7924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7925 test $ac_status = 0; }; then
7926 case `/usr/bin/file conftest.o` in
7927 *64-bit*)
7928 case $lt_cv_prog_gnu_ld in
7929 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7931 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7932 LD="${LD-ld} -64"
7935 esac
7937 esac
7939 rm -rf conftest*
7941 esac
7943 need_locks="$enable_libtool_lock"
7946 case $host_os in
7947 rhapsody* | darwin*)
7948 if test -n "$ac_tool_prefix"; then
7949 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7950 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7952 $as_echo_n "checking for $ac_word... " >&6; }
7953 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7954 $as_echo_n "(cached) " >&6
7955 else
7956 if test -n "$DSYMUTIL"; then
7957 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7958 else
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 for as_dir in $PATH
7962 IFS=$as_save_IFS
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7966 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 break 2
7970 done
7971 done
7972 IFS=$as_save_IFS
7976 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7977 if test -n "$DSYMUTIL"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7979 $as_echo "$DSYMUTIL" >&6; }
7980 else
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7982 $as_echo "no" >&6; }
7987 if test -z "$ac_cv_prog_DSYMUTIL"; then
7988 ac_ct_DSYMUTIL=$DSYMUTIL
7989 # Extract the first word of "dsymutil", so it can be a program name with args.
7990 set dummy dsymutil; ac_word=$2
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7992 $as_echo_n "checking for $ac_word... " >&6; }
7993 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7994 $as_echo_n "(cached) " >&6
7995 else
7996 if test -n "$ac_ct_DSYMUTIL"; then
7997 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7998 else
7999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000 for as_dir in $PATH
8002 IFS=$as_save_IFS
8003 test -z "$as_dir" && as_dir=.
8004 for ac_exec_ext in '' $ac_executable_extensions; do
8005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8006 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 break 2
8010 done
8011 done
8012 IFS=$as_save_IFS
8016 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8017 if test -n "$ac_ct_DSYMUTIL"; then
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8019 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8020 else
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8022 $as_echo "no" >&6; }
8025 if test "x$ac_ct_DSYMUTIL" = x; then
8026 DSYMUTIL=":"
8027 else
8028 case $cross_compiling:$ac_tool_warned in
8029 yes:)
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8031 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8032 ac_tool_warned=yes ;;
8033 esac
8034 DSYMUTIL=$ac_ct_DSYMUTIL
8036 else
8037 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8040 if test -n "$ac_tool_prefix"; then
8041 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8042 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044 $as_echo_n "checking for $ac_word... " >&6; }
8045 if ${ac_cv_prog_NMEDIT+:} false; then :
8046 $as_echo_n "(cached) " >&6
8047 else
8048 if test -n "$NMEDIT"; then
8049 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8050 else
8051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8052 for as_dir in $PATH
8054 IFS=$as_save_IFS
8055 test -z "$as_dir" && as_dir=.
8056 for ac_exec_ext in '' $ac_executable_extensions; do
8057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8058 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8060 break 2
8062 done
8063 done
8064 IFS=$as_save_IFS
8068 NMEDIT=$ac_cv_prog_NMEDIT
8069 if test -n "$NMEDIT"; then
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8071 $as_echo "$NMEDIT" >&6; }
8072 else
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8074 $as_echo "no" >&6; }
8079 if test -z "$ac_cv_prog_NMEDIT"; then
8080 ac_ct_NMEDIT=$NMEDIT
8081 # Extract the first word of "nmedit", so it can be a program name with args.
8082 set dummy nmedit; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8084 $as_echo_n "checking for $ac_word... " >&6; }
8085 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8086 $as_echo_n "(cached) " >&6
8087 else
8088 if test -n "$ac_ct_NMEDIT"; then
8089 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8090 else
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8092 for as_dir in $PATH
8094 IFS=$as_save_IFS
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8098 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100 break 2
8102 done
8103 done
8104 IFS=$as_save_IFS
8108 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8109 if test -n "$ac_ct_NMEDIT"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8111 $as_echo "$ac_ct_NMEDIT" >&6; }
8112 else
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8114 $as_echo "no" >&6; }
8117 if test "x$ac_ct_NMEDIT" = x; then
8118 NMEDIT=":"
8119 else
8120 case $cross_compiling:$ac_tool_warned in
8121 yes:)
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8124 ac_tool_warned=yes ;;
8125 esac
8126 NMEDIT=$ac_ct_NMEDIT
8128 else
8129 NMEDIT="$ac_cv_prog_NMEDIT"
8132 if test -n "$ac_tool_prefix"; then
8133 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8134 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if ${ac_cv_prog_LIPO+:} false; then :
8138 $as_echo_n "(cached) " >&6
8139 else
8140 if test -n "$LIPO"; then
8141 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8142 else
8143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8144 for as_dir in $PATH
8146 IFS=$as_save_IFS
8147 test -z "$as_dir" && as_dir=.
8148 for ac_exec_ext in '' $ac_executable_extensions; do
8149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8150 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8152 break 2
8154 done
8155 done
8156 IFS=$as_save_IFS
8160 LIPO=$ac_cv_prog_LIPO
8161 if test -n "$LIPO"; then
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8163 $as_echo "$LIPO" >&6; }
8164 else
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8166 $as_echo "no" >&6; }
8171 if test -z "$ac_cv_prog_LIPO"; then
8172 ac_ct_LIPO=$LIPO
8173 # Extract the first word of "lipo", so it can be a program name with args.
8174 set dummy lipo; ac_word=$2
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8176 $as_echo_n "checking for $ac_word... " >&6; }
8177 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8178 $as_echo_n "(cached) " >&6
8179 else
8180 if test -n "$ac_ct_LIPO"; then
8181 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8182 else
8183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8184 for as_dir in $PATH
8186 IFS=$as_save_IFS
8187 test -z "$as_dir" && as_dir=.
8188 for ac_exec_ext in '' $ac_executable_extensions; do
8189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8190 ac_cv_prog_ac_ct_LIPO="lipo"
8191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8192 break 2
8194 done
8195 done
8196 IFS=$as_save_IFS
8200 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8201 if test -n "$ac_ct_LIPO"; then
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8203 $as_echo "$ac_ct_LIPO" >&6; }
8204 else
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8206 $as_echo "no" >&6; }
8209 if test "x$ac_ct_LIPO" = x; then
8210 LIPO=":"
8211 else
8212 case $cross_compiling:$ac_tool_warned in
8213 yes:)
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8216 ac_tool_warned=yes ;;
8217 esac
8218 LIPO=$ac_ct_LIPO
8220 else
8221 LIPO="$ac_cv_prog_LIPO"
8224 if test -n "$ac_tool_prefix"; then
8225 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8226 set dummy ${ac_tool_prefix}otool; ac_word=$2
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8228 $as_echo_n "checking for $ac_word... " >&6; }
8229 if ${ac_cv_prog_OTOOL+:} false; then :
8230 $as_echo_n "(cached) " >&6
8231 else
8232 if test -n "$OTOOL"; then
8233 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8234 else
8235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 for as_dir in $PATH
8238 IFS=$as_save_IFS
8239 test -z "$as_dir" && as_dir=.
8240 for ac_exec_ext in '' $ac_executable_extensions; do
8241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8242 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8244 break 2
8246 done
8247 done
8248 IFS=$as_save_IFS
8252 OTOOL=$ac_cv_prog_OTOOL
8253 if test -n "$OTOOL"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8255 $as_echo "$OTOOL" >&6; }
8256 else
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8263 if test -z "$ac_cv_prog_OTOOL"; then
8264 ac_ct_OTOOL=$OTOOL
8265 # Extract the first word of "otool", so it can be a program name with args.
8266 set dummy otool; ac_word=$2
8267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8268 $as_echo_n "checking for $ac_word... " >&6; }
8269 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8270 $as_echo_n "(cached) " >&6
8271 else
8272 if test -n "$ac_ct_OTOOL"; then
8273 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8274 else
8275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 for as_dir in $PATH
8278 IFS=$as_save_IFS
8279 test -z "$as_dir" && as_dir=.
8280 for ac_exec_ext in '' $ac_executable_extensions; do
8281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8282 ac_cv_prog_ac_ct_OTOOL="otool"
8283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8284 break 2
8286 done
8287 done
8288 IFS=$as_save_IFS
8292 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8293 if test -n "$ac_ct_OTOOL"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8295 $as_echo "$ac_ct_OTOOL" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8301 if test "x$ac_ct_OTOOL" = x; then
8302 OTOOL=":"
8303 else
8304 case $cross_compiling:$ac_tool_warned in
8305 yes:)
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8307 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8308 ac_tool_warned=yes ;;
8309 esac
8310 OTOOL=$ac_ct_OTOOL
8312 else
8313 OTOOL="$ac_cv_prog_OTOOL"
8316 if test -n "$ac_tool_prefix"; then
8317 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8318 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if ${ac_cv_prog_OTOOL64+:} false; then :
8322 $as_echo_n "(cached) " >&6
8323 else
8324 if test -n "$OTOOL64"; then
8325 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8326 else
8327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8328 for as_dir in $PATH
8330 IFS=$as_save_IFS
8331 test -z "$as_dir" && as_dir=.
8332 for ac_exec_ext in '' $ac_executable_extensions; do
8333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8334 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8336 break 2
8338 done
8339 done
8340 IFS=$as_save_IFS
8344 OTOOL64=$ac_cv_prog_OTOOL64
8345 if test -n "$OTOOL64"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8347 $as_echo "$OTOOL64" >&6; }
8348 else
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8355 if test -z "$ac_cv_prog_OTOOL64"; then
8356 ac_ct_OTOOL64=$OTOOL64
8357 # Extract the first word of "otool64", so it can be a program name with args.
8358 set dummy otool64; ac_word=$2
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8360 $as_echo_n "checking for $ac_word... " >&6; }
8361 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8362 $as_echo_n "(cached) " >&6
8363 else
8364 if test -n "$ac_ct_OTOOL64"; then
8365 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8366 else
8367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8368 for as_dir in $PATH
8370 IFS=$as_save_IFS
8371 test -z "$as_dir" && as_dir=.
8372 for ac_exec_ext in '' $ac_executable_extensions; do
8373 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8374 ac_cv_prog_ac_ct_OTOOL64="otool64"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8376 break 2
8378 done
8379 done
8380 IFS=$as_save_IFS
8384 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8385 if test -n "$ac_ct_OTOOL64"; then
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8387 $as_echo "$ac_ct_OTOOL64" >&6; }
8388 else
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8390 $as_echo "no" >&6; }
8393 if test "x$ac_ct_OTOOL64" = x; then
8394 OTOOL64=":"
8395 else
8396 case $cross_compiling:$ac_tool_warned in
8397 yes:)
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8400 ac_tool_warned=yes ;;
8401 esac
8402 OTOOL64=$ac_ct_OTOOL64
8404 else
8405 OTOOL64="$ac_cv_prog_OTOOL64"
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8435 $as_echo_n "checking for -single_module linker flag... " >&6; }
8436 if ${lt_cv_apple_cc_single_mod+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 lt_cv_apple_cc_single_mod=no
8440 if test -z "${LT_MULTI_MODULE}"; then
8441 # By default we will add the -single_module flag. You can override
8442 # by either setting the environment variable LT_MULTI_MODULE
8443 # non-empty at configure time, or by adding -multi_module to the
8444 # link flags.
8445 rm -rf libconftest.dylib*
8446 echo "int foo(void){return 1;}" > conftest.c
8447 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8448 -dynamiclib -Wl,-single_module conftest.c" >&5
8449 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8450 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8451 _lt_result=$?
8452 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8453 lt_cv_apple_cc_single_mod=yes
8454 else
8455 cat conftest.err >&5
8457 rm -rf libconftest.dylib*
8458 rm -f conftest.*
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8462 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8464 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8465 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 lt_cv_ld_exported_symbols_list=no
8469 save_LDFLAGS=$LDFLAGS
8470 echo "_main" > conftest.sym
8471 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8472 if test x$gcc_no_link = xyes; then
8473 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8479 main ()
8483 return 0;
8485 _ACEOF
8486 if ac_fn_c_try_link "$LINENO"; then :
8487 lt_cv_ld_exported_symbols_list=yes
8488 else
8489 lt_cv_ld_exported_symbols_list=no
8491 rm -f core conftest.err conftest.$ac_objext \
8492 conftest$ac_exeext conftest.$ac_ext
8493 LDFLAGS="$save_LDFLAGS"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8499 $as_echo_n "checking for -force_load linker flag... " >&6; }
8500 if ${lt_cv_ld_force_load+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 lt_cv_ld_force_load=no
8504 cat > conftest.c << _LT_EOF
8505 int forced_loaded() { return 2;}
8506 _LT_EOF
8507 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8508 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8509 echo "$AR cru libconftest.a conftest.o" >&5
8510 $AR cru libconftest.a conftest.o 2>&5
8511 cat > conftest.c << _LT_EOF
8512 int main() { return 0;}
8513 _LT_EOF
8514 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8515 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8516 _lt_result=$?
8517 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8518 lt_cv_ld_force_load=yes
8519 else
8520 cat conftest.err >&5
8522 rm -f conftest.err libconftest.a conftest conftest.c
8523 rm -rf conftest.dSYM
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8527 $as_echo "$lt_cv_ld_force_load" >&6; }
8528 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8529 # build without first building modern cctools / linker.
8530 case $host_cpu-$host_os in
8531 *-rhapsody* | *-darwin1.[012])
8532 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8533 *-darwin1.*)
8534 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8535 *-darwin*)
8536 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8537 # deployment target is forced to an earlier version.
8538 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8539 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8541 10.[012][,.]*)
8542 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8546 esac
8548 esac
8549 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8550 _lt_dar_single_mod='$single_module'
8552 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8553 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8554 else
8555 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8557 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8558 _lt_dsymutil='~$DSYMUTIL $lib || :'
8559 else
8560 _lt_dsymutil=
8563 esac
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8566 $as_echo_n "checking for ANSI C header files... " >&6; }
8567 if ${ac_cv_header_stdc+:} false; then :
8568 $as_echo_n "(cached) " >&6
8569 else
8570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8571 /* end confdefs.h. */
8572 #include <stdlib.h>
8573 #include <stdarg.h>
8574 #include <string.h>
8575 #include <float.h>
8578 main ()
8582 return 0;
8584 _ACEOF
8585 if ac_fn_c_try_compile "$LINENO"; then :
8586 ac_cv_header_stdc=yes
8587 else
8588 ac_cv_header_stdc=no
8590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8592 if test $ac_cv_header_stdc = yes; then
8593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8595 /* end confdefs.h. */
8596 #include <string.h>
8598 _ACEOF
8599 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8600 $EGREP "memchr" >/dev/null 2>&1; then :
8602 else
8603 ac_cv_header_stdc=no
8605 rm -f conftest*
8609 if test $ac_cv_header_stdc = yes; then
8610 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #include <stdlib.h>
8615 _ACEOF
8616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8617 $EGREP "free" >/dev/null 2>&1; then :
8619 else
8620 ac_cv_header_stdc=no
8622 rm -f conftest*
8626 if test $ac_cv_header_stdc = yes; then
8627 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8628 if test "$cross_compiling" = yes; then :
8630 else
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 #include <ctype.h>
8634 #include <stdlib.h>
8635 #if ((' ' & 0x0FF) == 0x020)
8636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8638 #else
8639 # define ISLOWER(c) \
8640 (('a' <= (c) && (c) <= 'i') \
8641 || ('j' <= (c) && (c) <= 'r') \
8642 || ('s' <= (c) && (c) <= 'z'))
8643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8644 #endif
8646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8648 main ()
8650 int i;
8651 for (i = 0; i < 256; i++)
8652 if (XOR (islower (i), ISLOWER (i))
8653 || toupper (i) != TOUPPER (i))
8654 return 2;
8655 return 0;
8657 _ACEOF
8658 if ac_fn_c_try_run "$LINENO"; then :
8660 else
8661 ac_cv_header_stdc=no
8663 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8664 conftest.$ac_objext conftest.beam conftest.$ac_ext
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8670 $as_echo "$ac_cv_header_stdc" >&6; }
8671 if test $ac_cv_header_stdc = yes; then
8673 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8677 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8678 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8679 inttypes.h stdint.h unistd.h
8680 do :
8681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8684 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8685 cat >>confdefs.h <<_ACEOF
8686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8687 _ACEOF
8691 done
8694 for ac_header in dlfcn.h
8695 do :
8696 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8698 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8699 cat >>confdefs.h <<_ACEOF
8700 #define HAVE_DLFCN_H 1
8701 _ACEOF
8705 done
8712 # Set options
8717 enable_win32_dll=no
8720 # Check whether --enable-shared was given.
8721 if test "${enable_shared+set}" = set; then :
8722 enableval=$enable_shared; p=${PACKAGE-default}
8723 case $enableval in
8724 yes) enable_shared=yes ;;
8725 no) enable_shared=no ;;
8727 enable_shared=no
8728 # Look at the argument we got. We use all the common list separators.
8729 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8730 for pkg in $enableval; do
8731 IFS="$lt_save_ifs"
8732 if test "X$pkg" = "X$p"; then
8733 enable_shared=yes
8735 done
8736 IFS="$lt_save_ifs"
8738 esac
8739 else
8740 enable_shared=yes
8751 # Check whether --enable-static was given.
8752 if test "${enable_static+set}" = set; then :
8753 enableval=$enable_static; p=${PACKAGE-default}
8754 case $enableval in
8755 yes) enable_static=yes ;;
8756 no) enable_static=no ;;
8758 enable_static=no
8759 # Look at the argument we got. We use all the common list separators.
8760 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8761 for pkg in $enableval; do
8762 IFS="$lt_save_ifs"
8763 if test "X$pkg" = "X$p"; then
8764 enable_static=yes
8766 done
8767 IFS="$lt_save_ifs"
8769 esac
8770 else
8771 enable_static=yes
8783 # Check whether --with-pic was given.
8784 if test "${with_pic+set}" = set; then :
8785 withval=$with_pic; pic_mode="$withval"
8786 else
8787 pic_mode=default
8791 test -z "$pic_mode" && pic_mode=default
8799 # Check whether --enable-fast-install was given.
8800 if test "${enable_fast_install+set}" = set; then :
8801 enableval=$enable_fast_install; p=${PACKAGE-default}
8802 case $enableval in
8803 yes) enable_fast_install=yes ;;
8804 no) enable_fast_install=no ;;
8806 enable_fast_install=no
8807 # Look at the argument we got. We use all the common list separators.
8808 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8809 for pkg in $enableval; do
8810 IFS="$lt_save_ifs"
8811 if test "X$pkg" = "X$p"; then
8812 enable_fast_install=yes
8814 done
8815 IFS="$lt_save_ifs"
8817 esac
8818 else
8819 enable_fast_install=yes
8832 # This can be used to rebuild libtool when needed
8833 LIBTOOL_DEPS="$ltmain"
8835 # Always use our own libtool.
8836 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8863 test -z "$LN_S" && LN_S="ln -s"
8878 if test -n "${ZSH_VERSION+set}" ; then
8879 setopt NO_GLOB_SUBST
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8883 $as_echo_n "checking for objdir... " >&6; }
8884 if ${lt_cv_objdir+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 rm -f .libs 2>/dev/null
8888 mkdir .libs 2>/dev/null
8889 if test -d .libs; then
8890 lt_cv_objdir=.libs
8891 else
8892 # MS-DOS does not allow filenames that begin with a dot.
8893 lt_cv_objdir=_libs
8895 rmdir .libs 2>/dev/null
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8898 $as_echo "$lt_cv_objdir" >&6; }
8899 objdir=$lt_cv_objdir
8905 cat >>confdefs.h <<_ACEOF
8906 #define LT_OBJDIR "$lt_cv_objdir/"
8907 _ACEOF
8912 case $host_os in
8913 aix3*)
8914 # AIX sometimes has problems with the GCC collect2 program. For some
8915 # reason, if we set the COLLECT_NAMES environment variable, the problems
8916 # vanish in a puff of smoke.
8917 if test "X${COLLECT_NAMES+set}" != Xset; then
8918 COLLECT_NAMES=
8919 export COLLECT_NAMES
8922 esac
8924 # Global variables:
8925 ofile=libtool
8926 can_build_shared=yes
8928 # All known linkers require a `.a' archive for static linking (except MSVC,
8929 # which needs '.lib').
8930 libext=a
8932 with_gnu_ld="$lt_cv_prog_gnu_ld"
8934 old_CC="$CC"
8935 old_CFLAGS="$CFLAGS"
8937 # Set sane defaults for various variables
8938 test -z "$CC" && CC=cc
8939 test -z "$LTCC" && LTCC=$CC
8940 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8941 test -z "$LD" && LD=ld
8942 test -z "$ac_objext" && ac_objext=o
8944 for cc_temp in $compiler""; do
8945 case $cc_temp in
8946 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8947 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8948 \-*) ;;
8949 *) break;;
8950 esac
8951 done
8952 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8955 # Only perform the check for file, if the check method requires it
8956 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8957 case $deplibs_check_method in
8958 file_magic*)
8959 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8961 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8962 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 case $MAGIC_CMD in
8966 [\\/*] | ?:[\\/]*)
8967 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8970 lt_save_MAGIC_CMD="$MAGIC_CMD"
8971 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8972 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8973 for ac_dir in $ac_dummy; do
8974 IFS="$lt_save_ifs"
8975 test -z "$ac_dir" && ac_dir=.
8976 if test -f $ac_dir/${ac_tool_prefix}file; then
8977 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8978 if test -n "$file_magic_test_file"; then
8979 case $deplibs_check_method in
8980 "file_magic "*)
8981 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8982 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8983 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8984 $EGREP "$file_magic_regex" > /dev/null; then
8986 else
8987 cat <<_LT_EOF 1>&2
8989 *** Warning: the command libtool uses to detect shared libraries,
8990 *** $file_magic_cmd, produces output that libtool cannot recognize.
8991 *** The result is that libtool may fail to recognize shared libraries
8992 *** as such. This will affect the creation of libtool libraries that
8993 *** depend on shared libraries, but programs linked with such libtool
8994 *** libraries will work regardless of this problem. Nevertheless, you
8995 *** may want to report the problem to your system manager and/or to
8996 *** bug-libtool@gnu.org
8998 _LT_EOF
8999 fi ;;
9000 esac
9002 break
9004 done
9005 IFS="$lt_save_ifs"
9006 MAGIC_CMD="$lt_save_MAGIC_CMD"
9008 esac
9011 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9012 if test -n "$MAGIC_CMD"; then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9014 $as_echo "$MAGIC_CMD" >&6; }
9015 else
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9017 $as_echo "no" >&6; }
9024 if test -z "$lt_cv_path_MAGIC_CMD"; then
9025 if test -n "$ac_tool_prefix"; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9027 $as_echo_n "checking for file... " >&6; }
9028 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9029 $as_echo_n "(cached) " >&6
9030 else
9031 case $MAGIC_CMD in
9032 [\\/*] | ?:[\\/]*)
9033 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9036 lt_save_MAGIC_CMD="$MAGIC_CMD"
9037 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9038 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9039 for ac_dir in $ac_dummy; do
9040 IFS="$lt_save_ifs"
9041 test -z "$ac_dir" && ac_dir=.
9042 if test -f $ac_dir/file; then
9043 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9044 if test -n "$file_magic_test_file"; then
9045 case $deplibs_check_method in
9046 "file_magic "*)
9047 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9048 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9049 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9050 $EGREP "$file_magic_regex" > /dev/null; then
9052 else
9053 cat <<_LT_EOF 1>&2
9055 *** Warning: the command libtool uses to detect shared libraries,
9056 *** $file_magic_cmd, produces output that libtool cannot recognize.
9057 *** The result is that libtool may fail to recognize shared libraries
9058 *** as such. This will affect the creation of libtool libraries that
9059 *** depend on shared libraries, but programs linked with such libtool
9060 *** libraries will work regardless of this problem. Nevertheless, you
9061 *** may want to report the problem to your system manager and/or to
9062 *** bug-libtool@gnu.org
9064 _LT_EOF
9065 fi ;;
9066 esac
9068 break
9070 done
9071 IFS="$lt_save_ifs"
9072 MAGIC_CMD="$lt_save_MAGIC_CMD"
9074 esac
9077 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9078 if test -n "$MAGIC_CMD"; then
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9080 $as_echo "$MAGIC_CMD" >&6; }
9081 else
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9083 $as_echo "no" >&6; }
9087 else
9088 MAGIC_CMD=:
9094 esac
9096 # Use C for the default configuration in the libtool script
9098 lt_save_CC="$CC"
9099 ac_ext=c
9100 ac_cpp='$CPP $CPPFLAGS'
9101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9106 # Source file extension for C test sources.
9107 ac_ext=c
9109 # Object file extension for compiled C test sources.
9110 objext=o
9111 objext=$objext
9113 # Code to be used in simple compile tests
9114 lt_simple_compile_test_code="int some_variable = 0;"
9116 # Code to be used in simple link tests
9117 lt_simple_link_test_code='int main(){return(0);}'
9125 # If no C compiler was specified, use CC.
9126 LTCC=${LTCC-"$CC"}
9128 # If no C compiler flags were specified, use CFLAGS.
9129 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9131 # Allow CC to be a program name with arguments.
9132 compiler=$CC
9134 # Save the default compiler, since it gets overwritten when the other
9135 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9136 compiler_DEFAULT=$CC
9138 # save warnings/boilerplate of simple test code
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9141 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9142 _lt_compiler_boilerplate=`cat conftest.err`
9143 $RM conftest*
9145 ac_outfile=conftest.$ac_objext
9146 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9147 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9148 _lt_linker_boilerplate=`cat conftest.err`
9149 $RM -r conftest*
9152 ## CAVEAT EMPTOR:
9153 ## There is no encapsulation within the following macros, do not change
9154 ## the running order or otherwise move them around unless you know exactly
9155 ## what you are doing...
9156 if test -n "$compiler"; then
9158 lt_prog_compiler_no_builtin_flag=
9160 if test "$GCC" = yes; then
9161 case $cc_basename in
9162 nvcc*)
9163 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9165 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9166 esac
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9169 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9170 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 lt_cv_prog_compiler_rtti_exceptions=no
9174 ac_outfile=conftest.$ac_objext
9175 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9176 lt_compiler_flag="-fno-rtti -fno-exceptions"
9177 # Insert the option either (1) after the last *FLAGS variable, or
9178 # (2) before a word containing "conftest.", or (3) at the end.
9179 # Note that $ac_compile itself does not contain backslashes and begins
9180 # with a dollar sign (not a hyphen), so the echo should work correctly.
9181 # The option is referenced via a variable to avoid confusing sed.
9182 lt_compile=`echo "$ac_compile" | $SED \
9183 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9184 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9185 -e 's:$: $lt_compiler_flag:'`
9186 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9187 (eval "$lt_compile" 2>conftest.err)
9188 ac_status=$?
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 if (exit $ac_status) && test -s "$ac_outfile"; then
9192 # The compiler can only warn and ignore the option if not recognized
9193 # So say no if there are warnings other than the usual output.
9194 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9195 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9196 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9197 lt_cv_prog_compiler_rtti_exceptions=yes
9200 $RM conftest*
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9204 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9206 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9207 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9208 else
9219 lt_prog_compiler_wl=
9220 lt_prog_compiler_pic=
9221 lt_prog_compiler_static=
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9224 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9226 if test "$GCC" = yes; then
9227 lt_prog_compiler_wl='-Wl,'
9228 lt_prog_compiler_static='-static'
9230 case $host_os in
9231 aix*)
9232 # All AIX code is PIC.
9233 if test "$host_cpu" = ia64; then
9234 # AIX 5 now supports IA64 processor
9235 lt_prog_compiler_static='-Bstatic'
9237 lt_prog_compiler_pic='-fPIC'
9240 amigaos*)
9241 case $host_cpu in
9242 powerpc)
9243 # see comment about AmigaOS4 .so support
9244 lt_prog_compiler_pic='-fPIC'
9246 m68k)
9247 # FIXME: we need at least 68020 code to build shared libraries, but
9248 # adding the `-m68020' flag to GCC prevents building anything better,
9249 # like `-m68040'.
9250 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9252 esac
9255 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9256 # PIC is the default for these OSes.
9259 mingw* | cygwin* | pw32* | os2* | cegcc*)
9260 # This hack is so that the source file can tell whether it is being
9261 # built for inclusion in a dll (and should export symbols for example).
9262 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9263 # (--disable-auto-import) libraries
9264 lt_prog_compiler_pic='-DDLL_EXPORT'
9267 darwin* | rhapsody*)
9268 # PIC is the default on this platform
9269 # Common symbols not allowed in MH_DYLIB files
9270 lt_prog_compiler_pic='-fno-common'
9273 haiku*)
9274 # PIC is the default for Haiku.
9275 # The "-static" flag exists, but is broken.
9276 lt_prog_compiler_static=
9279 hpux*)
9280 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9281 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9282 # sets the default TLS model and affects inlining.
9283 case $host_cpu in
9284 hppa*64*)
9285 # +Z the default
9288 lt_prog_compiler_pic='-fPIC'
9290 esac
9293 interix[3-9]*)
9294 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9295 # Instead, we relocate shared libraries at runtime.
9298 msdosdjgpp*)
9299 # Just because we use GCC doesn't mean we suddenly get shared libraries
9300 # on systems that don't support them.
9301 lt_prog_compiler_can_build_shared=no
9302 enable_shared=no
9305 *nto* | *qnx*)
9306 # QNX uses GNU C++, but need to define -shared option too, otherwise
9307 # it will coredump.
9308 lt_prog_compiler_pic='-fPIC -shared'
9311 sysv4*MP*)
9312 if test -d /usr/nec; then
9313 lt_prog_compiler_pic=-Kconform_pic
9318 lt_prog_compiler_pic='-fPIC'
9320 esac
9322 case $cc_basename in
9323 nvcc*) # Cuda Compiler Driver 2.2
9324 lt_prog_compiler_wl='-Xlinker '
9325 lt_prog_compiler_pic='-Xcompiler -fPIC'
9327 esac
9328 else
9329 # PORTME Check for flag to pass linker flags through the system compiler.
9330 case $host_os in
9331 aix*)
9332 lt_prog_compiler_wl='-Wl,'
9333 if test "$host_cpu" = ia64; then
9334 # AIX 5 now supports IA64 processor
9335 lt_prog_compiler_static='-Bstatic'
9336 else
9337 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9341 mingw* | cygwin* | pw32* | os2* | cegcc*)
9342 # This hack is so that the source file can tell whether it is being
9343 # built for inclusion in a dll (and should export symbols for example).
9344 lt_prog_compiler_pic='-DDLL_EXPORT'
9347 hpux9* | hpux10* | hpux11*)
9348 lt_prog_compiler_wl='-Wl,'
9349 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9350 # not for PA HP-UX.
9351 case $host_cpu in
9352 hppa*64*|ia64*)
9353 # +Z the default
9356 lt_prog_compiler_pic='+Z'
9358 esac
9359 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9360 lt_prog_compiler_static='${wl}-a ${wl}archive'
9363 irix5* | irix6* | nonstopux*)
9364 lt_prog_compiler_wl='-Wl,'
9365 # PIC (with -KPIC) is the default.
9366 lt_prog_compiler_static='-non_shared'
9369 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9370 case $cc_basename in
9371 # old Intel for x86_64 which still supported -KPIC.
9372 ecc*)
9373 lt_prog_compiler_wl='-Wl,'
9374 lt_prog_compiler_pic='-KPIC'
9375 lt_prog_compiler_static='-static'
9377 # icc used to be incompatible with GCC.
9378 # ICC 10 doesn't accept -KPIC any more.
9379 icc* | ifort*)
9380 lt_prog_compiler_wl='-Wl,'
9381 lt_prog_compiler_pic='-fPIC'
9382 lt_prog_compiler_static='-static'
9384 # Lahey Fortran 8.1.
9385 lf95*)
9386 lt_prog_compiler_wl='-Wl,'
9387 lt_prog_compiler_pic='--shared'
9388 lt_prog_compiler_static='--static'
9390 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9391 # Portland Group compilers (*not* the Pentium gcc compiler,
9392 # which looks to be a dead project)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-fpic'
9395 lt_prog_compiler_static='-Bstatic'
9397 ccc*)
9398 lt_prog_compiler_wl='-Wl,'
9399 # All Alpha code is PIC.
9400 lt_prog_compiler_static='-non_shared'
9402 xl* | bgxl* | bgf* | mpixl*)
9403 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9404 lt_prog_compiler_wl='-Wl,'
9405 lt_prog_compiler_pic='-qpic'
9406 lt_prog_compiler_static='-qstaticlink'
9409 case `$CC -V 2>&1 | sed 5q` in
9410 *Sun\ F* | *Sun*Fortran*)
9411 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9412 lt_prog_compiler_pic='-KPIC'
9413 lt_prog_compiler_static='-Bstatic'
9414 lt_prog_compiler_wl=''
9416 *Sun\ C*)
9417 # Sun C 5.9
9418 lt_prog_compiler_pic='-KPIC'
9419 lt_prog_compiler_static='-Bstatic'
9420 lt_prog_compiler_wl='-Wl,'
9422 esac
9424 esac
9427 newsos6)
9428 lt_prog_compiler_pic='-KPIC'
9429 lt_prog_compiler_static='-Bstatic'
9432 *nto* | *qnx*)
9433 # QNX uses GNU C++, but need to define -shared option too, otherwise
9434 # it will coredump.
9435 lt_prog_compiler_pic='-fPIC -shared'
9438 osf3* | osf4* | osf5*)
9439 lt_prog_compiler_wl='-Wl,'
9440 # All OSF/1 code is PIC.
9441 lt_prog_compiler_static='-non_shared'
9444 rdos*)
9445 lt_prog_compiler_static='-non_shared'
9448 solaris*)
9449 lt_prog_compiler_pic='-KPIC'
9450 lt_prog_compiler_static='-Bstatic'
9451 case $cc_basename in
9452 f77* | f90* | f95*)
9453 lt_prog_compiler_wl='-Qoption ld ';;
9455 lt_prog_compiler_wl='-Wl,';;
9456 esac
9459 sunos4*)
9460 lt_prog_compiler_wl='-Qoption ld '
9461 lt_prog_compiler_pic='-PIC'
9462 lt_prog_compiler_static='-Bstatic'
9465 sysv4 | sysv4.2uw2* | sysv4.3*)
9466 lt_prog_compiler_wl='-Wl,'
9467 lt_prog_compiler_pic='-KPIC'
9468 lt_prog_compiler_static='-Bstatic'
9471 sysv4*MP*)
9472 if test -d /usr/nec ;then
9473 lt_prog_compiler_pic='-Kconform_pic'
9474 lt_prog_compiler_static='-Bstatic'
9478 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9479 lt_prog_compiler_wl='-Wl,'
9480 lt_prog_compiler_pic='-KPIC'
9481 lt_prog_compiler_static='-Bstatic'
9484 unicos*)
9485 lt_prog_compiler_wl='-Wl,'
9486 lt_prog_compiler_can_build_shared=no
9489 uts4*)
9490 lt_prog_compiler_pic='-pic'
9491 lt_prog_compiler_static='-Bstatic'
9495 lt_prog_compiler_can_build_shared=no
9497 esac
9500 case $host_os in
9501 # For platforms which do not support PIC, -DPIC is meaningless:
9502 *djgpp*)
9503 lt_prog_compiler_pic=
9506 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9508 esac
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9510 $as_echo "$lt_prog_compiler_pic" >&6; }
9518 # Check to make sure the PIC flag actually works.
9520 if test -n "$lt_prog_compiler_pic"; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9522 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9523 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 lt_cv_prog_compiler_pic_works=no
9527 ac_outfile=conftest.$ac_objext
9528 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9529 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9530 # Insert the option either (1) after the last *FLAGS variable, or
9531 # (2) before a word containing "conftest.", or (3) at the end.
9532 # Note that $ac_compile itself does not contain backslashes and begins
9533 # with a dollar sign (not a hyphen), so the echo should work correctly.
9534 # The option is referenced via a variable to avoid confusing sed.
9535 lt_compile=`echo "$ac_compile" | $SED \
9536 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9537 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9538 -e 's:$: $lt_compiler_flag:'`
9539 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9540 (eval "$lt_compile" 2>conftest.err)
9541 ac_status=$?
9542 cat conftest.err >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 if (exit $ac_status) && test -s "$ac_outfile"; then
9545 # The compiler can only warn and ignore the option if not recognized
9546 # So say no if there are warnings other than the usual output.
9547 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9549 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9550 lt_cv_prog_compiler_pic_works=yes
9553 $RM conftest*
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9557 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9559 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9560 case $lt_prog_compiler_pic in
9561 "" | " "*) ;;
9562 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9563 esac
9564 else
9565 lt_prog_compiler_pic=
9566 lt_prog_compiler_can_build_shared=no
9577 # Check to make sure the static flag actually works.
9579 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9581 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9582 if ${lt_cv_prog_compiler_static_works+:} false; then :
9583 $as_echo_n "(cached) " >&6
9584 else
9585 lt_cv_prog_compiler_static_works=no
9586 save_LDFLAGS="$LDFLAGS"
9587 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9588 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9589 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9590 # The linker can only warn and ignore the option if not recognized
9591 # So say no if there are warnings
9592 if test -s conftest.err; then
9593 # Append any errors to the config.log.
9594 cat conftest.err 1>&5
9595 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9596 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9597 if diff conftest.exp conftest.er2 >/dev/null; then
9598 lt_cv_prog_compiler_static_works=yes
9600 else
9601 lt_cv_prog_compiler_static_works=yes
9604 $RM -r conftest*
9605 LDFLAGS="$save_LDFLAGS"
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9609 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9611 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9613 else
9614 lt_prog_compiler_static=
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9624 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9625 if ${lt_cv_prog_compiler_c_o+:} false; then :
9626 $as_echo_n "(cached) " >&6
9627 else
9628 lt_cv_prog_compiler_c_o=no
9629 $RM -r conftest 2>/dev/null
9630 mkdir conftest
9631 cd conftest
9632 mkdir out
9633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9635 lt_compiler_flag="-o out/conftest2.$ac_objext"
9636 # Insert the option either (1) after the last *FLAGS variable, or
9637 # (2) before a word containing "conftest.", or (3) at the end.
9638 # Note that $ac_compile itself does not contain backslashes and begins
9639 # with a dollar sign (not a hyphen), so the echo should work correctly.
9640 lt_compile=`echo "$ac_compile" | $SED \
9641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9643 -e 's:$: $lt_compiler_flag:'`
9644 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9645 (eval "$lt_compile" 2>out/conftest.err)
9646 ac_status=$?
9647 cat out/conftest.err >&5
9648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9650 then
9651 # The compiler can only warn and ignore the option if not recognized
9652 # So say no if there are warnings
9653 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9654 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9655 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9656 lt_cv_prog_compiler_c_o=yes
9659 chmod u+w . 2>&5
9660 $RM conftest*
9661 # SGI C++ compiler will create directory out/ii_files/ for
9662 # template instantiation
9663 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9664 $RM out/* && rmdir out
9665 cd ..
9666 $RM -r conftest
9667 $RM conftest*
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9671 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9679 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9680 if ${lt_cv_prog_compiler_c_o+:} false; then :
9681 $as_echo_n "(cached) " >&6
9682 else
9683 lt_cv_prog_compiler_c_o=no
9684 $RM -r conftest 2>/dev/null
9685 mkdir conftest
9686 cd conftest
9687 mkdir out
9688 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9690 lt_compiler_flag="-o out/conftest2.$ac_objext"
9691 # Insert the option either (1) after the last *FLAGS variable, or
9692 # (2) before a word containing "conftest.", or (3) at the end.
9693 # Note that $ac_compile itself does not contain backslashes and begins
9694 # with a dollar sign (not a hyphen), so the echo should work correctly.
9695 lt_compile=`echo "$ac_compile" | $SED \
9696 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9697 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9698 -e 's:$: $lt_compiler_flag:'`
9699 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9700 (eval "$lt_compile" 2>out/conftest.err)
9701 ac_status=$?
9702 cat out/conftest.err >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9705 then
9706 # The compiler can only warn and ignore the option if not recognized
9707 # So say no if there are warnings
9708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9709 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9710 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9711 lt_cv_prog_compiler_c_o=yes
9714 chmod u+w . 2>&5
9715 $RM conftest*
9716 # SGI C++ compiler will create directory out/ii_files/ for
9717 # template instantiation
9718 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9719 $RM out/* && rmdir out
9720 cd ..
9721 $RM -r conftest
9722 $RM conftest*
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9726 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9731 hard_links="nottested"
9732 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9733 # do not overwrite the value of need_locks provided by the user
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9735 $as_echo_n "checking if we can lock with hard links... " >&6; }
9736 hard_links=yes
9737 $RM conftest*
9738 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9739 touch conftest.a
9740 ln conftest.a conftest.b 2>&5 || hard_links=no
9741 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9743 $as_echo "$hard_links" >&6; }
9744 if test "$hard_links" = no; then
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9746 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9747 need_locks=warn
9749 else
9750 need_locks=no
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9759 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9761 runpath_var=
9762 allow_undefined_flag=
9763 always_export_symbols=no
9764 archive_cmds=
9765 archive_expsym_cmds=
9766 compiler_needs_object=no
9767 enable_shared_with_static_runtimes=no
9768 export_dynamic_flag_spec=
9769 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9770 hardcode_automatic=no
9771 hardcode_direct=no
9772 hardcode_direct_absolute=no
9773 hardcode_libdir_flag_spec=
9774 hardcode_libdir_flag_spec_ld=
9775 hardcode_libdir_separator=
9776 hardcode_minus_L=no
9777 hardcode_shlibpath_var=unsupported
9778 inherit_rpath=no
9779 link_all_deplibs=unknown
9780 module_cmds=
9781 module_expsym_cmds=
9782 old_archive_from_new_cmds=
9783 old_archive_from_expsyms_cmds=
9784 thread_safe_flag_spec=
9785 whole_archive_flag_spec=
9786 # include_expsyms should be a list of space-separated symbols to be *always*
9787 # included in the symbol list
9788 include_expsyms=
9789 # exclude_expsyms can be an extended regexp of symbols to exclude
9790 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9791 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9792 # as well as any symbol that contains `d'.
9793 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9794 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9795 # platforms (ab)use it in PIC code, but their linkers get confused if
9796 # the symbol is explicitly referenced. Since portable code cannot
9797 # rely on this symbol name, it's probably fine to never include it in
9798 # preloaded symbol tables.
9799 # Exclude shared library initialization/finalization symbols.
9800 extract_expsyms_cmds=
9802 case $host_os in
9803 cygwin* | mingw* | pw32* | cegcc*)
9804 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9805 # When not using gcc, we currently assume that we are using
9806 # Microsoft Visual C++.
9807 if test "$GCC" != yes; then
9808 with_gnu_ld=no
9811 interix*)
9812 # we just hope/assume this is gcc and not c89 (= MSVC++)
9813 with_gnu_ld=yes
9815 openbsd*)
9816 with_gnu_ld=no
9818 esac
9820 ld_shlibs=yes
9822 # On some targets, GNU ld is compatible enough with the native linker
9823 # that we're better off using the native interface for both.
9824 lt_use_gnu_ld_interface=no
9825 if test "$with_gnu_ld" = yes; then
9826 case $host_os in
9827 aix*)
9828 # The AIX port of GNU ld has always aspired to compatibility
9829 # with the native linker. However, as the warning in the GNU ld
9830 # block says, versions before 2.19.5* couldn't really create working
9831 # shared libraries, regardless of the interface used.
9832 case `$LD -v 2>&1` in
9833 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9834 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9835 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9837 lt_use_gnu_ld_interface=yes
9839 esac
9842 lt_use_gnu_ld_interface=yes
9844 esac
9847 if test "$lt_use_gnu_ld_interface" = yes; then
9848 # If archive_cmds runs LD, not CC, wlarc should be empty
9849 wlarc='${wl}'
9851 # Set some defaults for GNU ld with shared library support. These
9852 # are reset later if shared libraries are not supported. Putting them
9853 # here allows them to be overridden if necessary.
9854 runpath_var=LD_RUN_PATH
9855 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9856 export_dynamic_flag_spec='${wl}--export-dynamic'
9857 # ancient GNU ld didn't support --whole-archive et. al.
9858 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9859 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9860 else
9861 whole_archive_flag_spec=
9863 supports_anon_versioning=no
9864 case `$LD -v 2>&1` in
9865 *GNU\ gold*) supports_anon_versioning=yes ;;
9866 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9867 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9868 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9869 *\ 2.11.*) ;; # other 2.11 versions
9870 *) supports_anon_versioning=yes ;;
9871 esac
9873 # See if GNU ld supports shared libraries.
9874 case $host_os in
9875 aix[3-9]*)
9876 # On AIX/PPC, the GNU linker is very broken
9877 if test "$host_cpu" != ia64; then
9878 ld_shlibs=no
9879 cat <<_LT_EOF 1>&2
9881 *** Warning: the GNU linker, at least up to release 2.19, is reported
9882 *** to be unable to reliably create shared libraries on AIX.
9883 *** Therefore, libtool is disabling shared libraries support. If you
9884 *** really care for shared libraries, you may want to install binutils
9885 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9886 *** You will then need to restart the configuration process.
9888 _LT_EOF
9892 amigaos*)
9893 case $host_cpu in
9894 powerpc)
9895 # see comment about AmigaOS4 .so support
9896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9897 archive_expsym_cmds=''
9899 m68k)
9900 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)'
9901 hardcode_libdir_flag_spec='-L$libdir'
9902 hardcode_minus_L=yes
9904 esac
9907 beos*)
9908 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9909 allow_undefined_flag=unsupported
9910 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9911 # support --undefined. This deserves some investigation. FIXME
9912 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9913 else
9914 ld_shlibs=no
9918 cygwin* | mingw* | pw32* | cegcc*)
9919 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9920 # as there is no search path for DLLs.
9921 hardcode_libdir_flag_spec='-L$libdir'
9922 export_dynamic_flag_spec='${wl}--export-all-symbols'
9923 allow_undefined_flag=unsupported
9924 always_export_symbols=no
9925 enable_shared_with_static_runtimes=yes
9926 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9928 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9929 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9930 # If the export-symbols file already is a .def file (1st line
9931 # is EXPORTS), use it as is; otherwise, prepend...
9932 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9933 cp $export_symbols $output_objdir/$soname.def;
9934 else
9935 echo EXPORTS > $output_objdir/$soname.def;
9936 cat $export_symbols >> $output_objdir/$soname.def;
9938 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9939 else
9940 ld_shlibs=no
9944 haiku*)
9945 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9946 link_all_deplibs=yes
9949 interix[3-9]*)
9950 hardcode_direct=no
9951 hardcode_shlibpath_var=no
9952 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9953 export_dynamic_flag_spec='${wl}-E'
9954 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9955 # Instead, shared libraries are loaded at an image base (0x10000000 by
9956 # default) and relocated if they conflict, which is a slow very memory
9957 # consuming and fragmenting process. To avoid this, we pick a random,
9958 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9959 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9960 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9961 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'
9964 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9965 tmp_diet=no
9966 if test "$host_os" = linux-dietlibc; then
9967 case $cc_basename in
9968 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9969 esac
9971 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9972 && test "$tmp_diet" = no
9973 then
9974 tmp_addflag=' $pic_flag'
9975 tmp_sharedflag='-shared'
9976 case $cc_basename,$host_cpu in
9977 pgcc*) # Portland Group C compiler
9978 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'
9979 tmp_addflag=' $pic_flag'
9981 pgf77* | pgf90* | pgf95* | pgfortran*)
9982 # Portland Group f77 and f90 compilers
9983 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'
9984 tmp_addflag=' $pic_flag -Mnomain' ;;
9985 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9986 tmp_addflag=' -i_dynamic' ;;
9987 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9988 tmp_addflag=' -i_dynamic -nofor_main' ;;
9989 ifc* | ifort*) # Intel Fortran compiler
9990 tmp_addflag=' -nofor_main' ;;
9991 lf95*) # Lahey Fortran 8.1
9992 whole_archive_flag_spec=
9993 tmp_sharedflag='--shared' ;;
9994 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9995 tmp_sharedflag='-qmkshrobj'
9996 tmp_addflag= ;;
9997 nvcc*) # Cuda Compiler Driver 2.2
9998 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'
9999 compiler_needs_object=yes
10001 esac
10002 case `$CC -V 2>&1 | sed 5q` in
10003 *Sun\ C*) # Sun C 5.9
10004 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'
10005 compiler_needs_object=yes
10006 tmp_sharedflag='-G' ;;
10007 *Sun\ F*) # Sun Fortran 8.3
10008 tmp_sharedflag='-G' ;;
10009 esac
10010 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10012 if test "x$supports_anon_versioning" = xyes; then
10013 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10014 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10015 echo "local: *; };" >> $output_objdir/$libname.ver~
10016 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10019 case $cc_basename in
10020 xlf* | bgf* | bgxlf* | mpixlf*)
10021 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10022 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10023 hardcode_libdir_flag_spec=
10024 hardcode_libdir_flag_spec_ld='-rpath $libdir'
10025 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10026 if test "x$supports_anon_versioning" = xyes; then
10027 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10028 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10029 echo "local: *; };" >> $output_objdir/$libname.ver~
10030 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10033 esac
10034 else
10035 ld_shlibs=no
10039 netbsd*)
10040 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10041 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10042 wlarc=
10043 else
10044 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10045 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049 solaris*)
10050 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10051 ld_shlibs=no
10052 cat <<_LT_EOF 1>&2
10054 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10055 *** create shared libraries on Solaris systems. Therefore, libtool
10056 *** is disabling shared libraries support. We urge you to upgrade GNU
10057 *** binutils to release 2.9.1 or newer. Another option is to modify
10058 *** your PATH or compiler configuration so that the native linker is
10059 *** used, and then restart.
10061 _LT_EOF
10062 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10063 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10064 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10065 else
10066 ld_shlibs=no
10070 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10071 case `$LD -v 2>&1` in
10072 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10073 ld_shlibs=no
10074 cat <<_LT_EOF 1>&2
10076 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10077 *** reliably create shared libraries on SCO systems. Therefore, libtool
10078 *** is disabling shared libraries support. We urge you to upgrade GNU
10079 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10080 *** your PATH or compiler configuration so that the native linker is
10081 *** used, and then restart.
10083 _LT_EOF
10086 # For security reasons, it is highly recommended that you always
10087 # use absolute paths for naming shared libraries, and exclude the
10088 # DT_RUNPATH tag from executables and libraries. But doing so
10089 # requires that you compile everything twice, which is a pain.
10090 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10091 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10092 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10093 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10094 else
10095 ld_shlibs=no
10098 esac
10101 sunos4*)
10102 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10103 wlarc=
10104 hardcode_direct=yes
10105 hardcode_shlibpath_var=no
10109 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10110 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10111 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10112 else
10113 ld_shlibs=no
10116 esac
10118 if test "$ld_shlibs" = no; then
10119 runpath_var=
10120 hardcode_libdir_flag_spec=
10121 export_dynamic_flag_spec=
10122 whole_archive_flag_spec=
10124 else
10125 # PORTME fill in a description of your system's linker (not GNU ld)
10126 case $host_os in
10127 aix3*)
10128 allow_undefined_flag=unsupported
10129 always_export_symbols=yes
10130 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'
10131 # Note: this linker hardcodes the directories in LIBPATH if there
10132 # are no directories specified by -L.
10133 hardcode_minus_L=yes
10134 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10135 # Neither direct hardcoding nor static linking is supported with a
10136 # broken collect2.
10137 hardcode_direct=unsupported
10141 aix[4-9]*)
10142 if test "$host_cpu" = ia64; then
10143 # On IA64, the linker does run time linking by default, so we don't
10144 # have to do anything special.
10145 aix_use_runtimelinking=no
10146 exp_sym_flag='-Bexport'
10147 no_entry_flag=""
10148 else
10149 # If we're using GNU nm, then we don't want the "-C" option.
10150 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10151 # Also, AIX nm treats weak defined symbols like other global
10152 # defined symbols, whereas GNU nm marks them as "W".
10153 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10154 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'
10155 else
10156 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'
10158 aix_use_runtimelinking=no
10160 # Test if we are trying to use run time linking or normal
10161 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10162 # need to do runtime linking.
10163 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10164 for ld_flag in $LDFLAGS; do
10165 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10166 aix_use_runtimelinking=yes
10167 break
10169 done
10171 esac
10173 exp_sym_flag='-bexport'
10174 no_entry_flag='-bnoentry'
10177 # When large executables or shared objects are built, AIX ld can
10178 # have problems creating the table of contents. If linking a library
10179 # or program results in "error TOC overflow" add -mminimal-toc to
10180 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10181 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10183 archive_cmds=''
10184 hardcode_direct=yes
10185 hardcode_direct_absolute=yes
10186 hardcode_libdir_separator=':'
10187 link_all_deplibs=yes
10188 file_list_spec='${wl}-f,'
10190 if test "$GCC" = yes; then
10191 case $host_os in aix4.[012]|aix4.[012].*)
10192 # We only want to do this on AIX 4.2 and lower, the check
10193 # below for broken collect2 doesn't work under 4.3+
10194 collect2name=`${CC} -print-prog-name=collect2`
10195 if test -f "$collect2name" &&
10196 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10197 then
10198 # We have reworked collect2
10200 else
10201 # We have old collect2
10202 hardcode_direct=unsupported
10203 # It fails to find uninstalled libraries when the uninstalled
10204 # path is not listed in the libpath. Setting hardcode_minus_L
10205 # to unsupported forces relinking
10206 hardcode_minus_L=yes
10207 hardcode_libdir_flag_spec='-L$libdir'
10208 hardcode_libdir_separator=
10211 esac
10212 shared_flag='-shared'
10213 if test "$aix_use_runtimelinking" = yes; then
10214 shared_flag="$shared_flag "'${wl}-G'
10216 else
10217 # not using gcc
10218 if test "$host_cpu" = ia64; then
10219 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10220 # chokes on -Wl,-G. The following line is correct:
10221 shared_flag='-G'
10222 else
10223 if test "$aix_use_runtimelinking" = yes; then
10224 shared_flag='${wl}-G'
10225 else
10226 shared_flag='${wl}-bM:SRE'
10231 export_dynamic_flag_spec='${wl}-bexpall'
10232 # It seems that -bexpall does not export symbols beginning with
10233 # underscore (_), so it is better to generate a list of symbols to export.
10234 always_export_symbols=yes
10235 if test "$aix_use_runtimelinking" = yes; then
10236 # Warning - without using the other runtime loading flags (-brtl),
10237 # -berok will link without error, but may produce a broken library.
10238 allow_undefined_flag='-berok'
10239 # Determine the default libpath from the value encoded in an
10240 # empty executable.
10241 if test x$gcc_no_link = xyes; then
10242 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10248 main ()
10252 return 0;
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10257 lt_aix_libpath_sed='
10258 /Import File Strings/,/^$/ {
10259 /^0/ {
10260 s/^0 *\(.*\)$/\1/
10264 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10265 # Check for a 64-bit object if we didn't find anything.
10266 if test -z "$aix_libpath"; then
10267 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10270 rm -f core conftest.err conftest.$ac_objext \
10271 conftest$ac_exeext conftest.$ac_ext
10272 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10274 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10275 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"
10276 else
10277 if test "$host_cpu" = ia64; then
10278 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10279 allow_undefined_flag="-z nodefs"
10280 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"
10281 else
10282 # Determine the default libpath from the value encoded in an
10283 # empty executable.
10284 if test x$gcc_no_link = xyes; then
10285 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10288 /* end confdefs.h. */
10291 main ()
10295 return 0;
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10300 lt_aix_libpath_sed='
10301 /Import File Strings/,/^$/ {
10302 /^0/ {
10303 s/^0 *\(.*\)$/\1/
10307 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10308 # Check for a 64-bit object if we didn't find anything.
10309 if test -z "$aix_libpath"; then
10310 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10317 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10318 # Warning - without using the other run time loading flags,
10319 # -berok will link without error, but may produce a broken library.
10320 no_undefined_flag=' ${wl}-bernotok'
10321 allow_undefined_flag=' ${wl}-berok'
10322 if test "$with_gnu_ld" = yes; then
10323 # We only use this code for GNU lds that support --whole-archive.
10324 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10325 else
10326 # Exported symbols can be pulled into shared objects from archives
10327 whole_archive_flag_spec='$convenience'
10329 archive_cmds_need_lc=yes
10330 # This is similar to how AIX traditionally builds its shared libraries.
10331 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'
10336 amigaos*)
10337 case $host_cpu in
10338 powerpc)
10339 # see comment about AmigaOS4 .so support
10340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10341 archive_expsym_cmds=''
10343 m68k)
10344 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)'
10345 hardcode_libdir_flag_spec='-L$libdir'
10346 hardcode_minus_L=yes
10348 esac
10351 bsdi[45]*)
10352 export_dynamic_flag_spec=-rdynamic
10355 cygwin* | mingw* | pw32* | cegcc*)
10356 # When not using gcc, we currently assume that we are using
10357 # Microsoft Visual C++.
10358 # hardcode_libdir_flag_spec is actually meaningless, as there is
10359 # no search path for DLLs.
10360 hardcode_libdir_flag_spec=' '
10361 allow_undefined_flag=unsupported
10362 # Tell ltmain to make .lib files, not .a files.
10363 libext=lib
10364 # Tell ltmain to make .dll files, not .so files.
10365 shrext_cmds=".dll"
10366 # FIXME: Setting linknames here is a bad hack.
10367 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10368 # The linker will automatically build a .lib file if we build a DLL.
10369 old_archive_from_new_cmds='true'
10370 # FIXME: Should let the user specify the lib program.
10371 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10372 fix_srcfile_path='`cygpath -w "$srcfile"`'
10373 enable_shared_with_static_runtimes=yes
10376 darwin* | rhapsody*)
10379 archive_cmds_need_lc=no
10380 hardcode_direct=no
10381 hardcode_automatic=yes
10382 hardcode_shlibpath_var=unsupported
10383 if test "$lt_cv_ld_force_load" = "yes"; then
10384 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\"`'
10385 else
10386 whole_archive_flag_spec=''
10388 link_all_deplibs=yes
10389 allow_undefined_flag="$_lt_dar_allow_undefined"
10390 case $cc_basename in
10391 ifort*) _lt_dar_can_shared=yes ;;
10392 *) _lt_dar_can_shared=$GCC ;;
10393 esac
10394 if test "$_lt_dar_can_shared" = "yes"; then
10395 output_verbose_link_cmd=func_echo_all
10396 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10397 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10398 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}"
10399 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}"
10401 else
10402 ld_shlibs=no
10407 dgux*)
10408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10409 hardcode_libdir_flag_spec='-L$libdir'
10410 hardcode_shlibpath_var=no
10413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10414 # support. Future versions do this automatically, but an explicit c++rt0.o
10415 # does not break anything, and helps significantly (at the cost of a little
10416 # extra space).
10417 freebsd2.2*)
10418 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10419 hardcode_libdir_flag_spec='-R$libdir'
10420 hardcode_direct=yes
10421 hardcode_shlibpath_var=no
10424 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10425 freebsd2.*)
10426 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10427 hardcode_direct=yes
10428 hardcode_minus_L=yes
10429 hardcode_shlibpath_var=no
10432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10433 freebsd* | dragonfly*)
10434 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10435 hardcode_libdir_flag_spec='-R$libdir'
10436 hardcode_direct=yes
10437 hardcode_shlibpath_var=no
10440 hpux9*)
10441 if test "$GCC" = yes; then
10442 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'
10443 else
10444 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'
10446 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10447 hardcode_libdir_separator=:
10448 hardcode_direct=yes
10450 # hardcode_minus_L: Not really in the search PATH,
10451 # but as the default location of the library.
10452 hardcode_minus_L=yes
10453 export_dynamic_flag_spec='${wl}-E'
10456 hpux10*)
10457 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10458 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10459 else
10460 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10462 if test "$with_gnu_ld" = no; then
10463 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10464 hardcode_libdir_flag_spec_ld='+b $libdir'
10465 hardcode_libdir_separator=:
10466 hardcode_direct=yes
10467 hardcode_direct_absolute=yes
10468 export_dynamic_flag_spec='${wl}-E'
10469 # hardcode_minus_L: Not really in the search PATH,
10470 # but as the default location of the library.
10471 hardcode_minus_L=yes
10475 hpux11*)
10476 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10477 case $host_cpu in
10478 hppa*64*)
10479 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10481 ia64*)
10482 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10485 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10487 esac
10488 else
10489 case $host_cpu in
10490 hppa*64*)
10491 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10493 ia64*)
10494 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10498 # Older versions of the 11.00 compiler do not understand -b yet
10499 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10501 $as_echo_n "checking if $CC understands -b... " >&6; }
10502 if ${lt_cv_prog_compiler__b+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 lt_cv_prog_compiler__b=no
10506 save_LDFLAGS="$LDFLAGS"
10507 LDFLAGS="$LDFLAGS -b"
10508 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10509 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10510 # The linker can only warn and ignore the option if not recognized
10511 # So say no if there are warnings
10512 if test -s conftest.err; then
10513 # Append any errors to the config.log.
10514 cat conftest.err 1>&5
10515 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10516 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10517 if diff conftest.exp conftest.er2 >/dev/null; then
10518 lt_cv_prog_compiler__b=yes
10520 else
10521 lt_cv_prog_compiler__b=yes
10524 $RM -r conftest*
10525 LDFLAGS="$save_LDFLAGS"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10529 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10531 if test x"$lt_cv_prog_compiler__b" = xyes; then
10532 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10533 else
10534 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10538 esac
10540 if test "$with_gnu_ld" = no; then
10541 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10542 hardcode_libdir_separator=:
10544 case $host_cpu in
10545 hppa*64*|ia64*)
10546 hardcode_direct=no
10547 hardcode_shlibpath_var=no
10550 hardcode_direct=yes
10551 hardcode_direct_absolute=yes
10552 export_dynamic_flag_spec='${wl}-E'
10554 # hardcode_minus_L: Not really in the search PATH,
10555 # but as the default location of the library.
10556 hardcode_minus_L=yes
10558 esac
10562 irix5* | irix6* | nonstopux*)
10563 if test "$GCC" = yes; then
10564 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'
10565 # Try to use the -exported_symbol ld option, if it does not
10566 # work, assume that -exports_file does not work either and
10567 # implicitly export all symbols.
10568 save_LDFLAGS="$LDFLAGS"
10569 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10570 if test x$gcc_no_link = xyes; then
10571 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 int foo(void) {}
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 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'
10581 rm -f core conftest.err conftest.$ac_objext \
10582 conftest$ac_exeext conftest.$ac_ext
10583 LDFLAGS="$save_LDFLAGS"
10584 else
10585 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'
10586 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'
10588 archive_cmds_need_lc='no'
10589 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10590 hardcode_libdir_separator=:
10591 inherit_rpath=yes
10592 link_all_deplibs=yes
10595 netbsd*)
10596 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10597 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10598 else
10599 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10601 hardcode_libdir_flag_spec='-R$libdir'
10602 hardcode_direct=yes
10603 hardcode_shlibpath_var=no
10606 newsos6)
10607 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10608 hardcode_direct=yes
10609 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10610 hardcode_libdir_separator=:
10611 hardcode_shlibpath_var=no
10614 *nto* | *qnx*)
10617 openbsd*)
10618 if test -f /usr/libexec/ld.so; then
10619 hardcode_direct=yes
10620 hardcode_shlibpath_var=no
10621 hardcode_direct_absolute=yes
10622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10623 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10624 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10625 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10626 export_dynamic_flag_spec='${wl}-E'
10627 else
10628 case $host_os in
10629 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10630 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10631 hardcode_libdir_flag_spec='-R$libdir'
10634 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10635 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10637 esac
10639 else
10640 ld_shlibs=no
10644 os2*)
10645 hardcode_libdir_flag_spec='-L$libdir'
10646 hardcode_minus_L=yes
10647 allow_undefined_flag=unsupported
10648 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'
10649 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10652 osf3*)
10653 if test "$GCC" = yes; then
10654 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10655 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'
10656 else
10657 allow_undefined_flag=' -expect_unresolved \*'
10658 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'
10660 archive_cmds_need_lc='no'
10661 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10662 hardcode_libdir_separator=:
10665 osf4* | osf5*) # as osf3* with the addition of -msym flag
10666 if test "$GCC" = yes; then
10667 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10668 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'
10669 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10670 else
10671 allow_undefined_flag=' -expect_unresolved \*'
10672 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'
10673 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~
10674 $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'
10676 # Both c and cxx compiler support -rpath directly
10677 hardcode_libdir_flag_spec='-rpath $libdir'
10679 archive_cmds_need_lc='no'
10680 hardcode_libdir_separator=:
10683 solaris*)
10684 no_undefined_flag=' -z defs'
10685 if test "$GCC" = yes; then
10686 wlarc='${wl}'
10687 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10688 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10689 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10690 else
10691 case `$CC -V 2>&1` in
10692 *"Compilers 5.0"*)
10693 wlarc=''
10694 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10695 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10696 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10699 wlarc='${wl}'
10700 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10702 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10704 esac
10706 hardcode_libdir_flag_spec='-R$libdir'
10707 hardcode_shlibpath_var=no
10708 case $host_os in
10709 solaris2.[0-5] | solaris2.[0-5].*) ;;
10711 # The compiler driver will combine and reorder linker options,
10712 # but understands `-z linker_flag'. GCC discards it without `$wl',
10713 # but is careful enough not to reorder.
10714 # Supported since Solaris 2.6 (maybe 2.5.1?)
10715 if test "$GCC" = yes; then
10716 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10717 else
10718 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10721 esac
10722 link_all_deplibs=yes
10725 sunos4*)
10726 if test "x$host_vendor" = xsequent; then
10727 # Use $CC to link under sequent, because it throws in some extra .o
10728 # files that make .init and .fini sections work.
10729 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10730 else
10731 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10733 hardcode_libdir_flag_spec='-L$libdir'
10734 hardcode_direct=yes
10735 hardcode_minus_L=yes
10736 hardcode_shlibpath_var=no
10739 sysv4)
10740 case $host_vendor in
10741 sni)
10742 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10743 hardcode_direct=yes # is this really true???
10745 siemens)
10746 ## LD is ld it makes a PLAMLIB
10747 ## CC just makes a GrossModule.
10748 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10749 reload_cmds='$CC -r -o $output$reload_objs'
10750 hardcode_direct=no
10752 motorola)
10753 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10754 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10756 esac
10757 runpath_var='LD_RUN_PATH'
10758 hardcode_shlibpath_var=no
10761 sysv4.3*)
10762 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10763 hardcode_shlibpath_var=no
10764 export_dynamic_flag_spec='-Bexport'
10767 sysv4*MP*)
10768 if test -d /usr/nec; then
10769 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10770 hardcode_shlibpath_var=no
10771 runpath_var=LD_RUN_PATH
10772 hardcode_runpath_var=yes
10773 ld_shlibs=yes
10777 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10778 no_undefined_flag='${wl}-z,text'
10779 archive_cmds_need_lc=no
10780 hardcode_shlibpath_var=no
10781 runpath_var='LD_RUN_PATH'
10783 if test "$GCC" = yes; then
10784 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786 else
10787 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10792 sysv5* | sco3.2v5* | sco5v6*)
10793 # Note: We can NOT use -z defs as we might desire, because we do not
10794 # link with -lc, and that would cause any symbols used from libc to
10795 # always be unresolved, which means just about no library would
10796 # ever link correctly. If we're not using GNU ld we use -z text
10797 # though, which does catch some bad symbols but isn't as heavy-handed
10798 # as -z defs.
10799 no_undefined_flag='${wl}-z,text'
10800 allow_undefined_flag='${wl}-z,nodefs'
10801 archive_cmds_need_lc=no
10802 hardcode_shlibpath_var=no
10803 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10804 hardcode_libdir_separator=':'
10805 link_all_deplibs=yes
10806 export_dynamic_flag_spec='${wl}-Bexport'
10807 runpath_var='LD_RUN_PATH'
10809 if test "$GCC" = yes; then
10810 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 else
10813 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10818 uts4*)
10819 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10820 hardcode_libdir_flag_spec='-L$libdir'
10821 hardcode_shlibpath_var=no
10825 ld_shlibs=no
10827 esac
10829 if test x$host_vendor = xsni; then
10830 case $host in
10831 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10832 export_dynamic_flag_spec='${wl}-Blargedynsym'
10834 esac
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10839 $as_echo "$ld_shlibs" >&6; }
10840 test "$ld_shlibs" = no && can_build_shared=no
10842 with_gnu_ld=$with_gnu_ld
10859 # Do we need to explicitly link libc?
10861 case "x$archive_cmds_need_lc" in
10862 x|xyes)
10863 # Assume -lc should be added
10864 archive_cmds_need_lc=yes
10866 if test "$enable_shared" = yes && test "$GCC" = yes; then
10867 case $archive_cmds in
10868 *'~'*)
10869 # FIXME: we may have to deal with multi-command sequences.
10871 '$CC '*)
10872 # Test whether the compiler implicitly links with -lc since on some
10873 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10874 # to ld, don't add -lc before -lgcc.
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10876 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10877 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10878 $as_echo_n "(cached) " >&6
10879 else
10880 $RM conftest*
10881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10883 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10884 (eval $ac_compile) 2>&5
10885 ac_status=$?
10886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10887 test $ac_status = 0; } 2>conftest.err; then
10888 soname=conftest
10889 lib=conftest
10890 libobjs=conftest.$ac_objext
10891 deplibs=
10892 wl=$lt_prog_compiler_wl
10893 pic_flag=$lt_prog_compiler_pic
10894 compiler_flags=-v
10895 linker_flags=-v
10896 verstring=
10897 output_objdir=.
10898 libname=conftest
10899 lt_save_allow_undefined_flag=$allow_undefined_flag
10900 allow_undefined_flag=
10901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10902 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10903 ac_status=$?
10904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10905 test $ac_status = 0; }
10906 then
10907 lt_cv_archive_cmds_need_lc=no
10908 else
10909 lt_cv_archive_cmds_need_lc=yes
10911 allow_undefined_flag=$lt_save_allow_undefined_flag
10912 else
10913 cat conftest.err 1>&5
10915 $RM conftest*
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10919 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10920 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10922 esac
10925 esac
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11084 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11086 if test "$GCC" = yes; then
11087 case $host_os in
11088 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11089 *) lt_awk_arg="/^libraries:/" ;;
11090 esac
11091 case $host_os in
11092 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11093 *) lt_sed_strip_eq="s,=/,/,g" ;;
11094 esac
11095 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11096 case $lt_search_path_spec in
11097 *\;*)
11098 # if the path contains ";" then we assume it to be the separator
11099 # otherwise default to the standard path separator (i.e. ":") - it is
11100 # assumed that no part of a normal pathname contains ";" but that should
11101 # okay in the real world where ";" in dirpaths is itself problematic.
11102 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11105 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11107 esac
11108 # Ok, now we have the path, separated by spaces, we can step through it
11109 # and add multilib dir if necessary.
11110 lt_tmp_lt_search_path_spec=
11111 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11112 for lt_sys_path in $lt_search_path_spec; do
11113 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11114 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11115 else
11116 test -d "$lt_sys_path" && \
11117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11119 done
11120 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11121 BEGIN {RS=" "; FS="/|\n";} {
11122 lt_foo="";
11123 lt_count=0;
11124 for (lt_i = NF; lt_i > 0; lt_i--) {
11125 if ($lt_i != "" && $lt_i != ".") {
11126 if ($lt_i == "..") {
11127 lt_count++;
11128 } else {
11129 if (lt_count == 0) {
11130 lt_foo="/" $lt_i lt_foo;
11131 } else {
11132 lt_count--;
11137 if (lt_foo != "") { lt_freq[lt_foo]++; }
11138 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11140 # AWK program above erroneously prepends '/' to C:/dos/paths
11141 # for these hosts.
11142 case $host_os in
11143 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11144 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11145 esac
11146 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11147 else
11148 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11150 library_names_spec=
11151 libname_spec='lib$name'
11152 soname_spec=
11153 shrext_cmds=".so"
11154 postinstall_cmds=
11155 postuninstall_cmds=
11156 finish_cmds=
11157 finish_eval=
11158 shlibpath_var=
11159 shlibpath_overrides_runpath=unknown
11160 version_type=none
11161 dynamic_linker="$host_os ld.so"
11162 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11163 need_lib_prefix=unknown
11164 hardcode_into_libs=no
11166 # when you set need_version to no, make sure it does not cause -set_version
11167 # flags to be left without arguments
11168 need_version=unknown
11170 case $host_os in
11171 aix3*)
11172 version_type=linux
11173 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11174 shlibpath_var=LIBPATH
11176 # AIX 3 has no versioning support, so we append a major version to the name.
11177 soname_spec='${libname}${release}${shared_ext}$major'
11180 aix[4-9]*)
11181 version_type=linux
11182 need_lib_prefix=no
11183 need_version=no
11184 hardcode_into_libs=yes
11185 if test "$host_cpu" = ia64; then
11186 # AIX 5 supports IA64
11187 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11188 shlibpath_var=LD_LIBRARY_PATH
11189 else
11190 # With GCC up to 2.95.x, collect2 would create an import file
11191 # for dependence libraries. The import file would start with
11192 # the line `#! .'. This would cause the generated library to
11193 # depend on `.', always an invalid library. This was fixed in
11194 # development snapshots of GCC prior to 3.0.
11195 case $host_os in
11196 aix4 | aix4.[01] | aix4.[01].*)
11197 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11198 echo ' yes '
11199 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11201 else
11202 can_build_shared=no
11205 esac
11206 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11207 # soname into executable. Probably we can add versioning support to
11208 # collect2, so additional links can be useful in future.
11209 if test "$aix_use_runtimelinking" = yes; then
11210 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11211 # instead of lib<name>.a to let people know that these are not
11212 # typical AIX shared libraries.
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 else
11215 # We preserve .a as extension for shared libraries through AIX4.2
11216 # and later when we are not doing run time linking.
11217 library_names_spec='${libname}${release}.a $libname.a'
11218 soname_spec='${libname}${release}${shared_ext}$major'
11220 shlibpath_var=LIBPATH
11224 amigaos*)
11225 case $host_cpu in
11226 powerpc)
11227 # Since July 2007 AmigaOS4 officially supports .so libraries.
11228 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11231 m68k)
11232 library_names_spec='$libname.ixlibrary $libname.a'
11233 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11234 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'
11236 esac
11239 beos*)
11240 library_names_spec='${libname}${shared_ext}'
11241 dynamic_linker="$host_os ld.so"
11242 shlibpath_var=LIBRARY_PATH
11245 bsdi[45]*)
11246 version_type=linux
11247 need_version=no
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 soname_spec='${libname}${release}${shared_ext}$major'
11250 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11251 shlibpath_var=LD_LIBRARY_PATH
11252 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11253 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11254 # the default ld.so.conf also contains /usr/contrib/lib and
11255 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11256 # libtool to hard-code these into programs
11259 cygwin* | mingw* | pw32* | cegcc*)
11260 version_type=windows
11261 shrext_cmds=".dll"
11262 need_version=no
11263 need_lib_prefix=no
11265 case $GCC,$host_os in
11266 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11267 library_names_spec='$libname.dll.a'
11268 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11269 postinstall_cmds='base_file=`basename \${file}`~
11270 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11271 dldir=$destdir/`dirname \$dlpath`~
11272 test -d \$dldir || mkdir -p \$dldir~
11273 $install_prog $dir/$dlname \$dldir/$dlname~
11274 chmod a+x \$dldir/$dlname~
11275 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11276 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11278 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11279 dlpath=$dir/\$dldll~
11280 $RM \$dlpath'
11281 shlibpath_overrides_runpath=yes
11283 case $host_os in
11284 cygwin*)
11285 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11286 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11288 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11290 mingw* | cegcc*)
11291 # MinGW DLLs use traditional 'lib' prefix
11292 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11294 pw32*)
11295 # pw32 DLLs use 'pw' prefix rather than 'lib'
11296 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11298 esac
11302 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11304 esac
11305 dynamic_linker='Win32 ld.exe'
11306 # FIXME: first we should search . and the directory the executable is in
11307 shlibpath_var=PATH
11310 darwin* | rhapsody*)
11311 dynamic_linker="$host_os dyld"
11312 version_type=darwin
11313 need_lib_prefix=no
11314 need_version=no
11315 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11316 soname_spec='${libname}${release}${major}$shared_ext'
11317 shlibpath_overrides_runpath=yes
11318 shlibpath_var=DYLD_LIBRARY_PATH
11319 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11321 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11322 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11325 dgux*)
11326 version_type=linux
11327 need_lib_prefix=no
11328 need_version=no
11329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11330 soname_spec='${libname}${release}${shared_ext}$major'
11331 shlibpath_var=LD_LIBRARY_PATH
11334 freebsd* | dragonfly*)
11335 # DragonFly does not have aout. When/if they implement a new
11336 # versioning mechanism, adjust this.
11337 if test -x /usr/bin/objformat; then
11338 objformat=`/usr/bin/objformat`
11339 else
11340 case $host_os in
11341 freebsd[23].*) objformat=aout ;;
11342 *) objformat=elf ;;
11343 esac
11345 version_type=freebsd-$objformat
11346 case $version_type in
11347 freebsd-elf*)
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11349 need_version=no
11350 need_lib_prefix=no
11352 freebsd-*)
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11354 need_version=yes
11356 esac
11357 shlibpath_var=LD_LIBRARY_PATH
11358 case $host_os in
11359 freebsd2.*)
11360 shlibpath_overrides_runpath=yes
11362 freebsd3.[01]* | freebsdelf3.[01]*)
11363 shlibpath_overrides_runpath=yes
11364 hardcode_into_libs=yes
11366 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11367 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11368 shlibpath_overrides_runpath=no
11369 hardcode_into_libs=yes
11371 *) # from 4.6 on, and DragonFly
11372 shlibpath_overrides_runpath=yes
11373 hardcode_into_libs=yes
11375 esac
11378 haiku*)
11379 version_type=linux
11380 need_lib_prefix=no
11381 need_version=no
11382 dynamic_linker="$host_os runtime_loader"
11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11384 soname_spec='${libname}${release}${shared_ext}$major'
11385 shlibpath_var=LIBRARY_PATH
11386 shlibpath_overrides_runpath=yes
11387 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11388 hardcode_into_libs=yes
11391 hpux9* | hpux10* | hpux11*)
11392 # Give a soname corresponding to the major version so that dld.sl refuses to
11393 # link against other versions.
11394 version_type=sunos
11395 need_lib_prefix=no
11396 need_version=no
11397 case $host_cpu in
11398 ia64*)
11399 shrext_cmds='.so'
11400 hardcode_into_libs=yes
11401 dynamic_linker="$host_os dld.so"
11402 shlibpath_var=LD_LIBRARY_PATH
11403 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11405 soname_spec='${libname}${release}${shared_ext}$major'
11406 if test "X$HPUX_IA64_MODE" = X32; then
11407 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11408 else
11409 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11413 hppa*64*)
11414 shrext_cmds='.sl'
11415 hardcode_into_libs=yes
11416 dynamic_linker="$host_os dld.sl"
11417 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11418 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11420 soname_spec='${libname}${release}${shared_ext}$major'
11421 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11422 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11425 shrext_cmds='.sl'
11426 dynamic_linker="$host_os dld.sl"
11427 shlibpath_var=SHLIB_PATH
11428 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11430 soname_spec='${libname}${release}${shared_ext}$major'
11432 esac
11433 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11434 postinstall_cmds='chmod 555 $lib'
11435 # or fails outright, so override atomically:
11436 install_override_mode=555
11439 interix[3-9]*)
11440 version_type=linux
11441 need_lib_prefix=no
11442 need_version=no
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11444 soname_spec='${libname}${release}${shared_ext}$major'
11445 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11446 shlibpath_var=LD_LIBRARY_PATH
11447 shlibpath_overrides_runpath=no
11448 hardcode_into_libs=yes
11451 irix5* | irix6* | nonstopux*)
11452 case $host_os in
11453 nonstopux*) version_type=nonstopux ;;
11455 if test "$lt_cv_prog_gnu_ld" = yes; then
11456 version_type=linux
11457 else
11458 version_type=irix
11459 fi ;;
11460 esac
11461 need_lib_prefix=no
11462 need_version=no
11463 soname_spec='${libname}${release}${shared_ext}$major'
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11465 case $host_os in
11466 irix5* | nonstopux*)
11467 libsuff= shlibsuff=
11470 case $LD in # libtool.m4 will add one of these switches to LD
11471 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11472 libsuff= shlibsuff= libmagic=32-bit;;
11473 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11474 libsuff=32 shlibsuff=N32 libmagic=N32;;
11475 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11476 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11477 *) libsuff= shlibsuff= libmagic=never-match;;
11478 esac
11480 esac
11481 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11482 shlibpath_overrides_runpath=no
11483 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11484 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11485 hardcode_into_libs=yes
11488 # No shared lib support for Linux oldld, aout, or coff.
11489 linux*oldld* | linux*aout* | linux*coff*)
11490 dynamic_linker=no
11493 # This must be Linux ELF.
11495 # uclinux* changes (here and below) have been submitted to the libtool
11496 # project, but have not yet been accepted: they are GCC-local changes
11497 # for the time being. (See
11498 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11499 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11500 version_type=linux
11501 need_lib_prefix=no
11502 need_version=no
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 soname_spec='${libname}${release}${shared_ext}$major'
11505 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=no
11509 # Some binutils ld are patched to set DT_RUNPATH
11510 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 lt_cv_shlibpath_overrides_runpath=no
11514 save_LDFLAGS=$LDFLAGS
11515 save_libdir=$libdir
11516 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11517 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11518 if test x$gcc_no_link = xyes; then
11519 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11525 main ()
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11534 lt_cv_shlibpath_overrides_runpath=yes
11537 rm -f core conftest.err conftest.$ac_objext \
11538 conftest$ac_exeext conftest.$ac_ext
11539 LDFLAGS=$save_LDFLAGS
11540 libdir=$save_libdir
11544 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11546 # This implies no fast_install, which is unacceptable.
11547 # Some rework will be needed to allow for fast_install
11548 # before this can be enabled.
11549 hardcode_into_libs=yes
11551 # Append ld.so.conf contents to the search path
11552 if test -f /etc/ld.so.conf; then
11553 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' ' '`
11554 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11557 # We used to test for /lib/ld.so.1 and disable shared libraries on
11558 # powerpc, because MkLinux only supported shared libraries with the
11559 # GNU dynamic linker. Since this was broken with cross compilers,
11560 # most powerpc-linux boxes support dynamic linking these days and
11561 # people can always --disable-shared, the test was removed, and we
11562 # assume the GNU/Linux dynamic linker is in use.
11563 dynamic_linker='GNU/Linux ld.so'
11566 netbsd*)
11567 version_type=sunos
11568 need_lib_prefix=no
11569 need_version=no
11570 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11572 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11573 dynamic_linker='NetBSD (a.out) ld.so'
11574 else
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11577 dynamic_linker='NetBSD ld.elf_so'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 shlibpath_overrides_runpath=yes
11581 hardcode_into_libs=yes
11584 newsos6)
11585 version_type=linux
11586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11587 shlibpath_var=LD_LIBRARY_PATH
11588 shlibpath_overrides_runpath=yes
11591 *nto* | *qnx*)
11592 version_type=qnx
11593 need_lib_prefix=no
11594 need_version=no
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11596 soname_spec='${libname}${release}${shared_ext}$major'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath=no
11599 hardcode_into_libs=yes
11600 dynamic_linker='ldqnx.so'
11603 openbsd*)
11604 version_type=sunos
11605 sys_lib_dlsearch_path_spec="/usr/lib"
11606 need_lib_prefix=no
11607 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11608 case $host_os in
11609 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11610 *) need_version=no ;;
11611 esac
11612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11613 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11614 shlibpath_var=LD_LIBRARY_PATH
11615 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11616 case $host_os in
11617 openbsd2.[89] | openbsd2.[89].*)
11618 shlibpath_overrides_runpath=no
11621 shlibpath_overrides_runpath=yes
11623 esac
11624 else
11625 shlibpath_overrides_runpath=yes
11629 os2*)
11630 libname_spec='$name'
11631 shrext_cmds=".dll"
11632 need_lib_prefix=no
11633 library_names_spec='$libname${shared_ext} $libname.a'
11634 dynamic_linker='OS/2 ld.exe'
11635 shlibpath_var=LIBPATH
11638 osf3* | osf4* | osf5*)
11639 version_type=osf
11640 need_lib_prefix=no
11641 need_version=no
11642 soname_spec='${libname}${release}${shared_ext}$major'
11643 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11644 shlibpath_var=LD_LIBRARY_PATH
11645 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11646 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11649 rdos*)
11650 dynamic_linker=no
11653 solaris*)
11654 version_type=linux
11655 need_lib_prefix=no
11656 need_version=no
11657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11658 soname_spec='${libname}${release}${shared_ext}$major'
11659 shlibpath_var=LD_LIBRARY_PATH
11660 shlibpath_overrides_runpath=yes
11661 hardcode_into_libs=yes
11662 # ldd complains unless libraries are executable
11663 postinstall_cmds='chmod +x $lib'
11666 sunos4*)
11667 version_type=sunos
11668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11669 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11670 shlibpath_var=LD_LIBRARY_PATH
11671 shlibpath_overrides_runpath=yes
11672 if test "$with_gnu_ld" = yes; then
11673 need_lib_prefix=no
11675 need_version=yes
11678 sysv4 | sysv4.3*)
11679 version_type=linux
11680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11681 soname_spec='${libname}${release}${shared_ext}$major'
11682 shlibpath_var=LD_LIBRARY_PATH
11683 case $host_vendor in
11684 sni)
11685 shlibpath_overrides_runpath=no
11686 need_lib_prefix=no
11687 runpath_var=LD_RUN_PATH
11689 siemens)
11690 need_lib_prefix=no
11692 motorola)
11693 need_lib_prefix=no
11694 need_version=no
11695 shlibpath_overrides_runpath=no
11696 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11698 esac
11701 sysv4*MP*)
11702 if test -d /usr/nec ;then
11703 version_type=linux
11704 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11705 soname_spec='$libname${shared_ext}.$major'
11706 shlibpath_var=LD_LIBRARY_PATH
11710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11711 version_type=freebsd-elf
11712 need_lib_prefix=no
11713 need_version=no
11714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11715 soname_spec='${libname}${release}${shared_ext}$major'
11716 shlibpath_var=LD_LIBRARY_PATH
11717 shlibpath_overrides_runpath=yes
11718 hardcode_into_libs=yes
11719 if test "$with_gnu_ld" = yes; then
11720 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11721 else
11722 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11723 case $host_os in
11724 sco3.2v5*)
11725 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11727 esac
11729 sys_lib_dlsearch_path_spec='/usr/lib'
11732 tpf*)
11733 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11734 version_type=linux
11735 need_lib_prefix=no
11736 need_version=no
11737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738 shlibpath_var=LD_LIBRARY_PATH
11739 shlibpath_overrides_runpath=no
11740 hardcode_into_libs=yes
11743 uts4*)
11744 version_type=linux
11745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11746 soname_spec='${libname}${release}${shared_ext}$major'
11747 shlibpath_var=LD_LIBRARY_PATH
11751 dynamic_linker=no
11753 esac
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11755 $as_echo "$dynamic_linker" >&6; }
11756 test "$dynamic_linker" = no && can_build_shared=no
11758 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11759 if test "$GCC" = yes; then
11760 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11763 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11764 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11766 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11767 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11862 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11863 hardcode_action=
11864 if test -n "$hardcode_libdir_flag_spec" ||
11865 test -n "$runpath_var" ||
11866 test "X$hardcode_automatic" = "Xyes" ; then
11868 # We can hardcode non-existent directories.
11869 if test "$hardcode_direct" != no &&
11870 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11871 # have to relink, otherwise we might link with an installed library
11872 # when we should be linking with a yet-to-be-installed one
11873 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11874 test "$hardcode_minus_L" != no; then
11875 # Linking always hardcodes the temporary library directory.
11876 hardcode_action=relink
11877 else
11878 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11879 hardcode_action=immediate
11881 else
11882 # We cannot hardcode anything, or else we can only hardcode existing
11883 # directories.
11884 hardcode_action=unsupported
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11887 $as_echo "$hardcode_action" >&6; }
11889 if test "$hardcode_action" = relink ||
11890 test "$inherit_rpath" = yes; then
11891 # Fast installation is not supported
11892 enable_fast_install=no
11893 elif test "$shlibpath_overrides_runpath" = yes ||
11894 test "$enable_shared" = no; then
11895 # Fast installation is not necessary
11896 enable_fast_install=needless
11904 if test "x$enable_dlopen" != xyes; then
11905 enable_dlopen=unknown
11906 enable_dlopen_self=unknown
11907 enable_dlopen_self_static=unknown
11908 else
11909 lt_cv_dlopen=no
11910 lt_cv_dlopen_libs=
11912 case $host_os in
11913 beos*)
11914 lt_cv_dlopen="load_add_on"
11915 lt_cv_dlopen_libs=
11916 lt_cv_dlopen_self=yes
11919 mingw* | pw32* | cegcc*)
11920 lt_cv_dlopen="LoadLibrary"
11921 lt_cv_dlopen_libs=
11924 cygwin*)
11925 lt_cv_dlopen="dlopen"
11926 lt_cv_dlopen_libs=
11929 darwin*)
11930 # if libdl is installed we need to link against it
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11932 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11933 if ${ac_cv_lib_dl_dlopen+:} false; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 ac_check_lib_save_LIBS=$LIBS
11937 LIBS="-ldl $LIBS"
11938 if test x$gcc_no_link = xyes; then
11939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11944 /* Override any GCC internal prototype to avoid an error.
11945 Use char because int might match the return type of a GCC
11946 builtin and then its argument prototype would still apply. */
11947 #ifdef __cplusplus
11948 extern "C"
11949 #endif
11950 char dlopen ();
11952 main ()
11954 return dlopen ();
11956 return 0;
11958 _ACEOF
11959 if ac_fn_c_try_link "$LINENO"; then :
11960 ac_cv_lib_dl_dlopen=yes
11961 else
11962 ac_cv_lib_dl_dlopen=no
11964 rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
11966 LIBS=$ac_check_lib_save_LIBS
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11969 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11970 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11971 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11972 else
11974 lt_cv_dlopen="dyld"
11975 lt_cv_dlopen_libs=
11976 lt_cv_dlopen_self=yes
11983 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11984 if test "x$ac_cv_func_shl_load" = xyes; then :
11985 lt_cv_dlopen="shl_load"
11986 else
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11988 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11989 if ${ac_cv_lib_dld_shl_load+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-ldld $LIBS"
11994 if test x$gcc_no_link = xyes; then
11995 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
12000 /* Override any GCC internal prototype to avoid an error.
12001 Use char because int might match the return type of a GCC
12002 builtin and then its argument prototype would still apply. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 char shl_load ();
12008 main ()
12010 return shl_load ();
12012 return 0;
12014 _ACEOF
12015 if ac_fn_c_try_link "$LINENO"; then :
12016 ac_cv_lib_dld_shl_load=yes
12017 else
12018 ac_cv_lib_dld_shl_load=no
12020 rm -f core conftest.err conftest.$ac_objext \
12021 conftest$ac_exeext conftest.$ac_ext
12022 LIBS=$ac_check_lib_save_LIBS
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12025 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12026 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12027 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12028 else
12029 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12030 if test "x$ac_cv_func_dlopen" = xyes; then :
12031 lt_cv_dlopen="dlopen"
12032 else
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12034 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12035 if ${ac_cv_lib_dl_dlopen+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-ldl $LIBS"
12040 if test x$gcc_no_link = xyes; then
12041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12049 #ifdef __cplusplus
12050 extern "C"
12051 #endif
12052 char dlopen ();
12054 main ()
12056 return dlopen ();
12058 return 0;
12060 _ACEOF
12061 if ac_fn_c_try_link "$LINENO"; then :
12062 ac_cv_lib_dl_dlopen=yes
12063 else
12064 ac_cv_lib_dl_dlopen=no
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12071 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12072 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12073 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12074 else
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12076 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12077 if ${ac_cv_lib_svld_dlopen+:} false; then :
12078 $as_echo_n "(cached) " >&6
12079 else
12080 ac_check_lib_save_LIBS=$LIBS
12081 LIBS="-lsvld $LIBS"
12082 if test x$gcc_no_link = xyes; then
12083 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12088 /* Override any GCC internal prototype to avoid an error.
12089 Use char because int might match the return type of a GCC
12090 builtin and then its argument prototype would still apply. */
12091 #ifdef __cplusplus
12092 extern "C"
12093 #endif
12094 char dlopen ();
12096 main ()
12098 return dlopen ();
12100 return 0;
12102 _ACEOF
12103 if ac_fn_c_try_link "$LINENO"; then :
12104 ac_cv_lib_svld_dlopen=yes
12105 else
12106 ac_cv_lib_svld_dlopen=no
12108 rm -f core conftest.err conftest.$ac_objext \
12109 conftest$ac_exeext conftest.$ac_ext
12110 LIBS=$ac_check_lib_save_LIBS
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12113 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12114 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12115 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12116 else
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12118 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12119 if ${ac_cv_lib_dld_dld_link+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-ldld $LIBS"
12124 if test x$gcc_no_link = xyes; then
12125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12133 #ifdef __cplusplus
12134 extern "C"
12135 #endif
12136 char dld_link ();
12138 main ()
12140 return dld_link ();
12142 return 0;
12144 _ACEOF
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 ac_cv_lib_dld_dld_link=yes
12147 else
12148 ac_cv_lib_dld_dld_link=no
12150 rm -f core conftest.err conftest.$ac_objext \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12155 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12156 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12157 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12176 esac
12178 if test "x$lt_cv_dlopen" != xno; then
12179 enable_dlopen=yes
12180 else
12181 enable_dlopen=no
12184 case $lt_cv_dlopen in
12185 dlopen)
12186 save_CPPFLAGS="$CPPFLAGS"
12187 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12189 save_LDFLAGS="$LDFLAGS"
12190 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12192 save_LIBS="$LIBS"
12193 LIBS="$lt_cv_dlopen_libs $LIBS"
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12196 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12197 if ${lt_cv_dlopen_self+:} false; then :
12198 $as_echo_n "(cached) " >&6
12199 else
12200 if test "$cross_compiling" = yes; then :
12201 lt_cv_dlopen_self=cross
12202 else
12203 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12204 lt_status=$lt_dlunknown
12205 cat > conftest.$ac_ext <<_LT_EOF
12206 #line 12206 "configure"
12207 #include "confdefs.h"
12209 #if HAVE_DLFCN_H
12210 #include <dlfcn.h>
12211 #endif
12213 #include <stdio.h>
12215 #ifdef RTLD_GLOBAL
12216 # define LT_DLGLOBAL RTLD_GLOBAL
12217 #else
12218 # ifdef DL_GLOBAL
12219 # define LT_DLGLOBAL DL_GLOBAL
12220 # else
12221 # define LT_DLGLOBAL 0
12222 # endif
12223 #endif
12225 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12226 find out it does not work in some platform. */
12227 #ifndef LT_DLLAZY_OR_NOW
12228 # ifdef RTLD_LAZY
12229 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12230 # else
12231 # ifdef DL_LAZY
12232 # define LT_DLLAZY_OR_NOW DL_LAZY
12233 # else
12234 # ifdef RTLD_NOW
12235 # define LT_DLLAZY_OR_NOW RTLD_NOW
12236 # else
12237 # ifdef DL_NOW
12238 # define LT_DLLAZY_OR_NOW DL_NOW
12239 # else
12240 # define LT_DLLAZY_OR_NOW 0
12241 # endif
12242 # endif
12243 # endif
12244 # endif
12245 #endif
12247 /* When -fvisbility=hidden is used, assume the code has been annotated
12248 correspondingly for the symbols needed. */
12249 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12250 void fnord () __attribute__((visibility("default")));
12251 #endif
12253 void fnord () { int i=42; }
12254 int main ()
12256 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12257 int status = $lt_dlunknown;
12259 if (self)
12261 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12262 else
12264 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12265 else puts (dlerror ());
12267 /* dlclose (self); */
12269 else
12270 puts (dlerror ());
12272 return status;
12274 _LT_EOF
12275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12276 (eval $ac_link) 2>&5
12277 ac_status=$?
12278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12279 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12280 (./conftest; exit; ) >&5 2>/dev/null
12281 lt_status=$?
12282 case x$lt_status in
12283 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12284 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12285 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12286 esac
12287 else :
12288 # compilation failed
12289 lt_cv_dlopen_self=no
12292 rm -fr conftest*
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12297 $as_echo "$lt_cv_dlopen_self" >&6; }
12299 if test "x$lt_cv_dlopen_self" = xyes; then
12300 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12302 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12303 if ${lt_cv_dlopen_self_static+:} false; then :
12304 $as_echo_n "(cached) " >&6
12305 else
12306 if test "$cross_compiling" = yes; then :
12307 lt_cv_dlopen_self_static=cross
12308 else
12309 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12310 lt_status=$lt_dlunknown
12311 cat > conftest.$ac_ext <<_LT_EOF
12312 #line 12312 "configure"
12313 #include "confdefs.h"
12315 #if HAVE_DLFCN_H
12316 #include <dlfcn.h>
12317 #endif
12319 #include <stdio.h>
12321 #ifdef RTLD_GLOBAL
12322 # define LT_DLGLOBAL RTLD_GLOBAL
12323 #else
12324 # ifdef DL_GLOBAL
12325 # define LT_DLGLOBAL DL_GLOBAL
12326 # else
12327 # define LT_DLGLOBAL 0
12328 # endif
12329 #endif
12331 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12332 find out it does not work in some platform. */
12333 #ifndef LT_DLLAZY_OR_NOW
12334 # ifdef RTLD_LAZY
12335 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12336 # else
12337 # ifdef DL_LAZY
12338 # define LT_DLLAZY_OR_NOW DL_LAZY
12339 # else
12340 # ifdef RTLD_NOW
12341 # define LT_DLLAZY_OR_NOW RTLD_NOW
12342 # else
12343 # ifdef DL_NOW
12344 # define LT_DLLAZY_OR_NOW DL_NOW
12345 # else
12346 # define LT_DLLAZY_OR_NOW 0
12347 # endif
12348 # endif
12349 # endif
12350 # endif
12351 #endif
12353 /* When -fvisbility=hidden is used, assume the code has been annotated
12354 correspondingly for the symbols needed. */
12355 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12356 void fnord () __attribute__((visibility("default")));
12357 #endif
12359 void fnord () { int i=42; }
12360 int main ()
12362 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12363 int status = $lt_dlunknown;
12365 if (self)
12367 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12368 else
12370 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12371 else puts (dlerror ());
12373 /* dlclose (self); */
12375 else
12376 puts (dlerror ());
12378 return status;
12380 _LT_EOF
12381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12382 (eval $ac_link) 2>&5
12383 ac_status=$?
12384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12385 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12386 (./conftest; exit; ) >&5 2>/dev/null
12387 lt_status=$?
12388 case x$lt_status in
12389 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12390 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12391 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12392 esac
12393 else :
12394 # compilation failed
12395 lt_cv_dlopen_self_static=no
12398 rm -fr conftest*
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12403 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12406 CPPFLAGS="$save_CPPFLAGS"
12407 LDFLAGS="$save_LDFLAGS"
12408 LIBS="$save_LIBS"
12410 esac
12412 case $lt_cv_dlopen_self in
12413 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12414 *) enable_dlopen_self=unknown ;;
12415 esac
12417 case $lt_cv_dlopen_self_static in
12418 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12419 *) enable_dlopen_self_static=unknown ;;
12420 esac
12439 striplib=
12440 old_striplib=
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12442 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12443 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12444 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12445 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12447 $as_echo "yes" >&6; }
12448 else
12449 # FIXME - insert some real tests, host_os isn't really good enough
12450 case $host_os in
12451 darwin*)
12452 if test -n "$STRIP" ; then
12453 striplib="$STRIP -x"
12454 old_striplib="$STRIP -S"
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12456 $as_echo "yes" >&6; }
12457 else
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459 $as_echo "no" >&6; }
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12464 $as_echo "no" >&6; }
12466 esac
12480 # Report which library types will actually be built
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12482 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12484 $as_echo "$can_build_shared" >&6; }
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12487 $as_echo_n "checking whether to build shared libraries... " >&6; }
12488 test "$can_build_shared" = "no" && enable_shared=no
12490 # On AIX, shared libraries and static libraries use the same namespace, and
12491 # are all built from PIC.
12492 case $host_os in
12493 aix3*)
12494 test "$enable_shared" = yes && enable_static=no
12495 if test -n "$RANLIB"; then
12496 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12497 postinstall_cmds='$RANLIB $lib'
12501 aix[4-9]*)
12502 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12503 test "$enable_shared" = yes && enable_static=no
12506 esac
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12508 $as_echo "$enable_shared" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12511 $as_echo_n "checking whether to build static libraries... " >&6; }
12512 # Make sure either enable_shared or enable_static is yes.
12513 test "$enable_shared" = yes || enable_static=yes
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12515 $as_echo "$enable_static" >&6; }
12521 ac_ext=c
12522 ac_cpp='$CPP $CPPFLAGS'
12523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12527 CC="$lt_save_CC"
12529 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12530 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12531 (test "X$CXX" != "Xg++"))) ; then
12532 ac_ext=cpp
12533 ac_cpp='$CXXCPP $CPPFLAGS'
12534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12538 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12539 if test -z "$CXXCPP"; then
12540 if ${ac_cv_prog_CXXCPP+:} false; then :
12541 $as_echo_n "(cached) " >&6
12542 else
12543 # Double quotes because CXXCPP needs to be expanded
12544 for CXXCPP in "$CXX -E" "/lib/cpp"
12546 ac_preproc_ok=false
12547 for ac_cxx_preproc_warn_flag in '' yes
12549 # Use a header file that comes with gcc, so configuring glibc
12550 # with a fresh cross-compiler works.
12551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12552 # <limits.h> exists even on freestanding compilers.
12553 # On the NeXT, cc -E runs the code through the compiler's parser,
12554 # not just through cpp. "Syntax error" is here to catch this case.
12555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12557 #ifdef __STDC__
12558 # include <limits.h>
12559 #else
12560 # include <assert.h>
12561 #endif
12562 Syntax error
12563 _ACEOF
12564 if ac_fn_cxx_try_cpp "$LINENO"; then :
12566 else
12567 # Broken: fails on valid input.
12568 continue
12570 rm -f conftest.err conftest.i conftest.$ac_ext
12572 # OK, works on sane cases. Now check whether nonexistent headers
12573 # can be detected and how.
12574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12575 /* end confdefs.h. */
12576 #include <ac_nonexistent.h>
12577 _ACEOF
12578 if ac_fn_cxx_try_cpp "$LINENO"; then :
12579 # Broken: success on invalid input.
12580 continue
12581 else
12582 # Passes both tests.
12583 ac_preproc_ok=:
12584 break
12586 rm -f conftest.err conftest.i conftest.$ac_ext
12588 done
12589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12590 rm -f conftest.i conftest.err conftest.$ac_ext
12591 if $ac_preproc_ok; then :
12592 break
12595 done
12596 ac_cv_prog_CXXCPP=$CXXCPP
12599 CXXCPP=$ac_cv_prog_CXXCPP
12600 else
12601 ac_cv_prog_CXXCPP=$CXXCPP
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12604 $as_echo "$CXXCPP" >&6; }
12605 ac_preproc_ok=false
12606 for ac_cxx_preproc_warn_flag in '' yes
12608 # Use a header file that comes with gcc, so configuring glibc
12609 # with a fresh cross-compiler works.
12610 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12611 # <limits.h> exists even on freestanding compilers.
12612 # On the NeXT, cc -E runs the code through the compiler's parser,
12613 # not just through cpp. "Syntax error" is here to catch this case.
12614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12615 /* end confdefs.h. */
12616 #ifdef __STDC__
12617 # include <limits.h>
12618 #else
12619 # include <assert.h>
12620 #endif
12621 Syntax error
12622 _ACEOF
12623 if ac_fn_cxx_try_cpp "$LINENO"; then :
12625 else
12626 # Broken: fails on valid input.
12627 continue
12629 rm -f conftest.err conftest.i conftest.$ac_ext
12631 # OK, works on sane cases. Now check whether nonexistent headers
12632 # can be detected and how.
12633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12635 #include <ac_nonexistent.h>
12636 _ACEOF
12637 if ac_fn_cxx_try_cpp "$LINENO"; then :
12638 # Broken: success on invalid input.
12639 continue
12640 else
12641 # Passes both tests.
12642 ac_preproc_ok=:
12643 break
12645 rm -f conftest.err conftest.i conftest.$ac_ext
12647 done
12648 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12649 rm -f conftest.i conftest.err conftest.$ac_ext
12650 if $ac_preproc_ok; then :
12652 else
12653 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12654 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12655 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12656 See \`config.log' for more details" "$LINENO" 5; }
12659 ac_ext=c
12660 ac_cpp='$CPP $CPPFLAGS'
12661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12665 else
12666 _lt_caught_CXX_error=yes
12669 ac_ext=cpp
12670 ac_cpp='$CXXCPP $CPPFLAGS'
12671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12675 archive_cmds_need_lc_CXX=no
12676 allow_undefined_flag_CXX=
12677 always_export_symbols_CXX=no
12678 archive_expsym_cmds_CXX=
12679 compiler_needs_object_CXX=no
12680 export_dynamic_flag_spec_CXX=
12681 hardcode_direct_CXX=no
12682 hardcode_direct_absolute_CXX=no
12683 hardcode_libdir_flag_spec_CXX=
12684 hardcode_libdir_flag_spec_ld_CXX=
12685 hardcode_libdir_separator_CXX=
12686 hardcode_minus_L_CXX=no
12687 hardcode_shlibpath_var_CXX=unsupported
12688 hardcode_automatic_CXX=no
12689 inherit_rpath_CXX=no
12690 module_cmds_CXX=
12691 module_expsym_cmds_CXX=
12692 link_all_deplibs_CXX=unknown
12693 old_archive_cmds_CXX=$old_archive_cmds
12694 reload_flag_CXX=$reload_flag
12695 reload_cmds_CXX=$reload_cmds
12696 no_undefined_flag_CXX=
12697 whole_archive_flag_spec_CXX=
12698 enable_shared_with_static_runtimes_CXX=no
12700 # Source file extension for C++ test sources.
12701 ac_ext=cpp
12703 # Object file extension for compiled C++ test sources.
12704 objext=o
12705 objext_CXX=$objext
12707 # No sense in running all these tests if we already determined that
12708 # the CXX compiler isn't working. Some variables (like enable_shared)
12709 # are currently assumed to apply to all compilers on this platform,
12710 # and will be corrupted by setting them based on a non-working compiler.
12711 if test "$_lt_caught_CXX_error" != yes; then
12712 # Code to be used in simple compile tests
12713 lt_simple_compile_test_code="int some_variable = 0;"
12715 # Code to be used in simple link tests
12716 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12718 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12725 # If no C compiler was specified, use CC.
12726 LTCC=${LTCC-"$CC"}
12728 # If no C compiler flags were specified, use CFLAGS.
12729 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12731 # Allow CC to be a program name with arguments.
12732 compiler=$CC
12735 # save warnings/boilerplate of simple test code
12736 ac_outfile=conftest.$ac_objext
12737 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12738 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12739 _lt_compiler_boilerplate=`cat conftest.err`
12740 $RM conftest*
12742 ac_outfile=conftest.$ac_objext
12743 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12744 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12745 _lt_linker_boilerplate=`cat conftest.err`
12746 $RM -r conftest*
12749 # Allow CC to be a program name with arguments.
12750 lt_save_CC=$CC
12751 lt_save_LD=$LD
12752 lt_save_GCC=$GCC
12753 GCC=$GXX
12754 lt_save_with_gnu_ld=$with_gnu_ld
12755 lt_save_path_LD=$lt_cv_path_LD
12756 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12757 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12758 else
12759 $as_unset lt_cv_prog_gnu_ld
12761 if test -n "${lt_cv_path_LDCXX+set}"; then
12762 lt_cv_path_LD=$lt_cv_path_LDCXX
12763 else
12764 $as_unset lt_cv_path_LD
12766 test -z "${LDCXX+set}" || LD=$LDCXX
12767 CC=${CXX-"c++"}
12768 compiler=$CC
12769 compiler_CXX=$CC
12770 for cc_temp in $compiler""; do
12771 case $cc_temp in
12772 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12773 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12774 \-*) ;;
12775 *) break;;
12776 esac
12777 done
12778 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12781 if test -n "$compiler"; then
12782 # We don't want -fno-exception when compiling C++ code, so set the
12783 # no_builtin_flag separately
12784 if test "$GXX" = yes; then
12785 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12786 else
12787 lt_prog_compiler_no_builtin_flag_CXX=
12790 if test "$GXX" = yes; then
12791 # Set up default GNU C++ configuration
12795 # Check whether --with-gnu-ld was given.
12796 if test "${with_gnu_ld+set}" = set; then :
12797 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12798 else
12799 with_gnu_ld=no
12802 ac_prog=ld
12803 if test "$GCC" = yes; then
12804 # Check if gcc -print-prog-name=ld gives a path.
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12806 $as_echo_n "checking for ld used by $CC... " >&6; }
12807 case $host in
12808 *-*-mingw*)
12809 # gcc leaves a trailing carriage return which upsets mingw
12810 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12812 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12813 esac
12814 case $ac_prog in
12815 # Accept absolute paths.
12816 [\\/]* | ?:[\\/]*)
12817 re_direlt='/[^/][^/]*/\.\./'
12818 # Canonicalize the pathname of ld
12819 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12820 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12821 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12822 done
12823 test -z "$LD" && LD="$ac_prog"
12826 # If it fails, then pretend we aren't using GCC.
12827 ac_prog=ld
12830 # If it is relative, then search for the first ld in PATH.
12831 with_gnu_ld=unknown
12833 esac
12834 elif test "$with_gnu_ld" = yes; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12836 $as_echo_n "checking for GNU ld... " >&6; }
12837 else
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12839 $as_echo_n "checking for non-GNU ld... " >&6; }
12841 if ${lt_cv_path_LD+:} false; then :
12842 $as_echo_n "(cached) " >&6
12843 else
12844 if test -z "$LD"; then
12845 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12846 for ac_dir in $PATH; do
12847 IFS="$lt_save_ifs"
12848 test -z "$ac_dir" && ac_dir=.
12849 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12850 lt_cv_path_LD="$ac_dir/$ac_prog"
12851 # Check to see if the program is GNU ld. I'd rather use --version,
12852 # but apparently some variants of GNU ld only accept -v.
12853 # Break only if it was the GNU/non-GNU ld that we prefer.
12854 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12855 *GNU* | *'with BFD'*)
12856 test "$with_gnu_ld" != no && break
12859 test "$with_gnu_ld" != yes && break
12861 esac
12863 done
12864 IFS="$lt_save_ifs"
12865 else
12866 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12870 LD="$lt_cv_path_LD"
12871 if test -n "$LD"; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12873 $as_echo "$LD" >&6; }
12874 else
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12876 $as_echo "no" >&6; }
12878 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12880 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12881 if ${lt_cv_prog_gnu_ld+:} false; then :
12882 $as_echo_n "(cached) " >&6
12883 else
12884 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12885 case `$LD -v 2>&1 </dev/null` in
12886 *GNU* | *'with BFD'*)
12887 lt_cv_prog_gnu_ld=yes
12890 lt_cv_prog_gnu_ld=no
12892 esac
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12895 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12896 with_gnu_ld=$lt_cv_prog_gnu_ld
12904 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12905 # archiving commands below assume that GNU ld is being used.
12906 if test "$with_gnu_ld" = yes; then
12907 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12908 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'
12910 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12911 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12913 # If archive_cmds runs LD, not CC, wlarc should be empty
12914 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12915 # investigate it a little bit more. (MM)
12916 wlarc='${wl}'
12918 # ancient GNU ld didn't support --whole-archive et. al.
12919 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12920 $GREP 'no-whole-archive' > /dev/null; then
12921 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12922 else
12923 whole_archive_flag_spec_CXX=
12925 else
12926 with_gnu_ld=no
12927 wlarc=
12929 # A generic and very simple default shared library creation
12930 # command for GNU C++ for the case where it uses the native
12931 # linker, instead of GNU ld. If possible, this setting should
12932 # overridden to take advantage of the native linker features on
12933 # the platform it is being used on.
12934 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12937 # Commands to make compiler produce verbose output that lists
12938 # what "hidden" libraries, object files and flags are used when
12939 # linking a shared library.
12940 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12942 else
12943 GXX=no
12944 with_gnu_ld=no
12945 wlarc=
12948 # PORTME: fill in a description of your system's C++ link characteristics
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12950 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12951 ld_shlibs_CXX=yes
12952 case $host_os in
12953 aix3*)
12954 # FIXME: insert proper C++ library support
12955 ld_shlibs_CXX=no
12957 aix[4-9]*)
12958 if test "$host_cpu" = ia64; then
12959 # On IA64, the linker does run time linking by default, so we don't
12960 # have to do anything special.
12961 aix_use_runtimelinking=no
12962 exp_sym_flag='-Bexport'
12963 no_entry_flag=""
12964 else
12965 aix_use_runtimelinking=no
12967 # Test if we are trying to use run time linking or normal
12968 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12969 # need to do runtime linking.
12970 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12971 for ld_flag in $LDFLAGS; do
12972 case $ld_flag in
12973 *-brtl*)
12974 aix_use_runtimelinking=yes
12975 break
12977 esac
12978 done
12980 esac
12982 exp_sym_flag='-bexport'
12983 no_entry_flag='-bnoentry'
12986 # When large executables or shared objects are built, AIX ld can
12987 # have problems creating the table of contents. If linking a library
12988 # or program results in "error TOC overflow" add -mminimal-toc to
12989 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12990 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12992 archive_cmds_CXX=''
12993 hardcode_direct_CXX=yes
12994 hardcode_direct_absolute_CXX=yes
12995 hardcode_libdir_separator_CXX=':'
12996 link_all_deplibs_CXX=yes
12997 file_list_spec_CXX='${wl}-f,'
12999 if test "$GXX" = yes; then
13000 case $host_os in aix4.[012]|aix4.[012].*)
13001 # We only want to do this on AIX 4.2 and lower, the check
13002 # below for broken collect2 doesn't work under 4.3+
13003 collect2name=`${CC} -print-prog-name=collect2`
13004 if test -f "$collect2name" &&
13005 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13006 then
13007 # We have reworked collect2
13009 else
13010 # We have old collect2
13011 hardcode_direct_CXX=unsupported
13012 # It fails to find uninstalled libraries when the uninstalled
13013 # path is not listed in the libpath. Setting hardcode_minus_L
13014 # to unsupported forces relinking
13015 hardcode_minus_L_CXX=yes
13016 hardcode_libdir_flag_spec_CXX='-L$libdir'
13017 hardcode_libdir_separator_CXX=
13019 esac
13020 shared_flag='-shared'
13021 if test "$aix_use_runtimelinking" = yes; then
13022 shared_flag="$shared_flag "'${wl}-G'
13024 else
13025 # not using gcc
13026 if test "$host_cpu" = ia64; then
13027 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13028 # chokes on -Wl,-G. The following line is correct:
13029 shared_flag='-G'
13030 else
13031 if test "$aix_use_runtimelinking" = yes; then
13032 shared_flag='${wl}-G'
13033 else
13034 shared_flag='${wl}-bM:SRE'
13039 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13040 # It seems that -bexpall does not export symbols beginning with
13041 # underscore (_), so it is better to generate a list of symbols to
13042 # export.
13043 always_export_symbols_CXX=yes
13044 if test "$aix_use_runtimelinking" = yes; then
13045 # Warning - without using the other runtime loading flags (-brtl),
13046 # -berok will link without error, but may produce a broken library.
13047 allow_undefined_flag_CXX='-berok'
13048 # Determine the default libpath from the value encoded in an empty
13049 # executable.
13050 if test x$gcc_no_link = xyes; then
13051 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13057 main ()
13061 return 0;
13063 _ACEOF
13064 if ac_fn_cxx_try_link "$LINENO"; then :
13066 lt_aix_libpath_sed='
13067 /Import File Strings/,/^$/ {
13068 /^0/ {
13069 s/^0 *\(.*\)$/\1/
13073 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13074 # Check for a 64-bit object if we didn't find anything.
13075 if test -z "$aix_libpath"; then
13076 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13083 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13085 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"
13086 else
13087 if test "$host_cpu" = ia64; then
13088 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13089 allow_undefined_flag_CXX="-z nodefs"
13090 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"
13091 else
13092 # Determine the default libpath from the value encoded in an
13093 # empty executable.
13094 if test x$gcc_no_link = xyes; then
13095 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13101 main ()
13105 return 0;
13107 _ACEOF
13108 if ac_fn_cxx_try_link "$LINENO"; then :
13110 lt_aix_libpath_sed='
13111 /Import File Strings/,/^$/ {
13112 /^0/ {
13113 s/^0 *\(.*\)$/\1/
13117 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13118 # Check for a 64-bit object if we didn't find anything.
13119 if test -z "$aix_libpath"; then
13120 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13123 rm -f core conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13125 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13127 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13128 # Warning - without using the other run time loading flags,
13129 # -berok will link without error, but may produce a broken library.
13130 no_undefined_flag_CXX=' ${wl}-bernotok'
13131 allow_undefined_flag_CXX=' ${wl}-berok'
13132 if test "$with_gnu_ld" = yes; then
13133 # We only use this code for GNU lds that support --whole-archive.
13134 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13135 else
13136 # Exported symbols can be pulled into shared objects from archives
13137 whole_archive_flag_spec_CXX='$convenience'
13139 archive_cmds_need_lc_CXX=yes
13140 # This is similar to how AIX traditionally builds its shared
13141 # libraries.
13142 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'
13147 beos*)
13148 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13149 allow_undefined_flag_CXX=unsupported
13150 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13151 # support --undefined. This deserves some investigation. FIXME
13152 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13153 else
13154 ld_shlibs_CXX=no
13158 chorus*)
13159 case $cc_basename in
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13164 esac
13167 cygwin* | mingw* | pw32* | cegcc*)
13168 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13169 # as there is no search path for DLLs.
13170 hardcode_libdir_flag_spec_CXX='-L$libdir'
13171 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13172 allow_undefined_flag_CXX=unsupported
13173 always_export_symbols_CXX=no
13174 enable_shared_with_static_runtimes_CXX=yes
13176 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13177 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'
13178 # If the export-symbols file already is a .def file (1st line
13179 # is EXPORTS), use it as is; otherwise, prepend...
13180 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13181 cp $export_symbols $output_objdir/$soname.def;
13182 else
13183 echo EXPORTS > $output_objdir/$soname.def;
13184 cat $export_symbols >> $output_objdir/$soname.def;
13186 $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'
13187 else
13188 ld_shlibs_CXX=no
13191 darwin* | rhapsody*)
13194 archive_cmds_need_lc_CXX=no
13195 hardcode_direct_CXX=no
13196 hardcode_automatic_CXX=yes
13197 hardcode_shlibpath_var_CXX=unsupported
13198 if test "$lt_cv_ld_force_load" = "yes"; then
13199 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\"`'
13200 else
13201 whole_archive_flag_spec_CXX=''
13203 link_all_deplibs_CXX=yes
13204 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13205 case $cc_basename in
13206 ifort*) _lt_dar_can_shared=yes ;;
13207 *) _lt_dar_can_shared=$GCC ;;
13208 esac
13209 if test "$_lt_dar_can_shared" = "yes"; then
13210 output_verbose_link_cmd=func_echo_all
13211 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}"
13212 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13213 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}"
13214 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}"
13215 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13216 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}"
13217 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}"
13220 else
13221 ld_shlibs_CXX=no
13226 dgux*)
13227 case $cc_basename in
13228 ec++*)
13229 # FIXME: insert proper C++ library support
13230 ld_shlibs_CXX=no
13232 ghcx*)
13233 # Green Hills C++ Compiler
13234 # FIXME: insert proper C++ library support
13235 ld_shlibs_CXX=no
13238 # FIXME: insert proper C++ library support
13239 ld_shlibs_CXX=no
13241 esac
13244 freebsd2.*)
13245 # C++ shared libraries reported to be fairly broken before
13246 # switch to ELF
13247 ld_shlibs_CXX=no
13250 freebsd-elf*)
13251 archive_cmds_need_lc_CXX=no
13254 freebsd* | dragonfly*)
13255 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13256 # conventions
13257 ld_shlibs_CXX=yes
13260 gnu*)
13263 haiku*)
13264 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13265 link_all_deplibs_CXX=yes
13268 hpux9*)
13269 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13270 hardcode_libdir_separator_CXX=:
13271 export_dynamic_flag_spec_CXX='${wl}-E'
13272 hardcode_direct_CXX=yes
13273 hardcode_minus_L_CXX=yes # Not in the search PATH,
13274 # but as the default
13275 # location of the library.
13277 case $cc_basename in
13278 CC*)
13279 # FIXME: insert proper C++ library support
13280 ld_shlibs_CXX=no
13282 aCC*)
13283 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'
13284 # Commands to make compiler produce verbose output that lists
13285 # what "hidden" libraries, object files and flags are used when
13286 # linking a shared library.
13288 # There doesn't appear to be a way to prevent this compiler from
13289 # explicitly linking system object files so we need to strip them
13290 # from the output so that they don't get included in the library
13291 # dependencies.
13292 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"'
13295 if test "$GXX" = yes; then
13296 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'
13297 else
13298 # FIXME: insert proper C++ library support
13299 ld_shlibs_CXX=no
13302 esac
13305 hpux10*|hpux11*)
13306 if test $with_gnu_ld = no; then
13307 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13308 hardcode_libdir_separator_CXX=:
13310 case $host_cpu in
13311 hppa*64*|ia64*)
13314 export_dynamic_flag_spec_CXX='${wl}-E'
13316 esac
13318 case $host_cpu in
13319 hppa*64*|ia64*)
13320 hardcode_direct_CXX=no
13321 hardcode_shlibpath_var_CXX=no
13324 hardcode_direct_CXX=yes
13325 hardcode_direct_absolute_CXX=yes
13326 hardcode_minus_L_CXX=yes # Not in the search PATH,
13327 # but as the default
13328 # location of the library.
13330 esac
13332 case $cc_basename in
13333 CC*)
13334 # FIXME: insert proper C++ library support
13335 ld_shlibs_CXX=no
13337 aCC*)
13338 case $host_cpu in
13339 hppa*64*)
13340 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13342 ia64*)
13343 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13346 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13348 esac
13349 # Commands to make compiler produce verbose output that lists
13350 # what "hidden" libraries, object files and flags are used when
13351 # linking a shared library.
13353 # There doesn't appear to be a way to prevent this compiler from
13354 # explicitly linking system object files so we need to strip them
13355 # from the output so that they don't get included in the library
13356 # dependencies.
13357 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"'
13360 if test "$GXX" = yes; then
13361 if test $with_gnu_ld = no; then
13362 case $host_cpu in
13363 hppa*64*)
13364 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13366 ia64*)
13367 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13370 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'
13372 esac
13374 else
13375 # FIXME: insert proper C++ library support
13376 ld_shlibs_CXX=no
13379 esac
13382 interix[3-9]*)
13383 hardcode_direct_CXX=no
13384 hardcode_shlibpath_var_CXX=no
13385 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13386 export_dynamic_flag_spec_CXX='${wl}-E'
13387 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13388 # Instead, shared libraries are loaded at an image base (0x10000000 by
13389 # default) and relocated if they conflict, which is a slow very memory
13390 # consuming and fragmenting process. To avoid this, we pick a random,
13391 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13392 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13393 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'
13394 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'
13396 irix5* | irix6*)
13397 case $cc_basename in
13398 CC*)
13399 # SGI C++
13400 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'
13402 # Archives containing C++ object files must be created using
13403 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13404 # necessary to make sure instantiated templates are included
13405 # in the archive.
13406 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13409 if test "$GXX" = yes; then
13410 if test "$with_gnu_ld" = no; then
13411 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'
13412 else
13413 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'
13416 link_all_deplibs_CXX=yes
13418 esac
13419 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13420 hardcode_libdir_separator_CXX=:
13421 inherit_rpath_CXX=yes
13424 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13425 case $cc_basename in
13426 KCC*)
13427 # Kuck and Associates, Inc. (KAI) C++ Compiler
13429 # KCC will only create a shared library if the output file
13430 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13431 # to its proper name (with version) after linking.
13432 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'
13433 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'
13434 # Commands to make compiler produce verbose output that lists
13435 # what "hidden" libraries, object files and flags are used when
13436 # linking a shared library.
13438 # There doesn't appear to be a way to prevent this compiler from
13439 # explicitly linking system object files so we need to strip them
13440 # from the output so that they don't get included in the library
13441 # dependencies.
13442 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"'
13444 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13445 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13447 # Archives containing C++ object files must be created using
13448 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13449 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13451 icpc* | ecpc* )
13452 # Intel C++
13453 with_gnu_ld=yes
13454 # version 8.0 and above of icpc choke on multiply defined symbols
13455 # if we add $predep_objects and $postdep_objects, however 7.1 and
13456 # earlier do not add the objects themselves.
13457 case `$CC -V 2>&1` in
13458 *"Version 7."*)
13459 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13460 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'
13462 *) # Version 8.0 or newer
13463 tmp_idyn=
13464 case $host_cpu in
13465 ia64*) tmp_idyn=' -i_dynamic';;
13466 esac
13467 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13468 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'
13470 esac
13471 archive_cmds_need_lc_CXX=no
13472 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13473 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13474 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13476 pgCC* | pgcpp*)
13477 # Portland Group C++ compiler
13478 case `$CC -V` in
13479 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13480 prelink_cmds_CXX='tpldir=Template.dir~
13481 rm -rf $tpldir~
13482 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13483 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13484 old_archive_cmds_CXX='tpldir=Template.dir~
13485 rm -rf $tpldir~
13486 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13487 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13488 $RANLIB $oldlib'
13489 archive_cmds_CXX='tpldir=Template.dir~
13490 rm -rf $tpldir~
13491 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13492 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13493 archive_expsym_cmds_CXX='tpldir=Template.dir~
13494 rm -rf $tpldir~
13495 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13496 $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'
13498 *) # Version 6 and above use weak symbols
13499 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13500 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'
13502 esac
13504 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13505 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13506 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'
13508 cxx*)
13509 # Compaq C++
13510 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13511 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'
13513 runpath_var=LD_RUN_PATH
13514 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13515 hardcode_libdir_separator_CXX=:
13517 # Commands to make compiler produce verbose output that lists
13518 # what "hidden" libraries, object files and flags are used when
13519 # linking a shared library.
13521 # There doesn't appear to be a way to prevent this compiler from
13522 # explicitly linking system object files so we need to strip them
13523 # from the output so that they don't get included in the library
13524 # dependencies.
13525 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'
13527 xl* | mpixl* | bgxl*)
13528 # IBM XL 8.0 on PPC, with GNU ld
13529 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13530 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13531 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13532 if test "x$supports_anon_versioning" = xyes; then
13533 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13534 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13535 echo "local: *; };" >> $output_objdir/$libname.ver~
13536 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13540 case `$CC -V 2>&1 | sed 5q` in
13541 *Sun\ C*)
13542 # Sun C++ 5.9
13543 no_undefined_flag_CXX=' -zdefs'
13544 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13545 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'
13546 hardcode_libdir_flag_spec_CXX='-R$libdir'
13547 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'
13548 compiler_needs_object_CXX=yes
13550 # Not sure whether something based on
13551 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13552 # would be better.
13553 output_verbose_link_cmd='func_echo_all'
13555 # Archives containing C++ object files must be created using
13556 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13557 # necessary to make sure instantiated templates are included
13558 # in the archive.
13559 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13561 esac
13563 esac
13566 lynxos*)
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13571 m88k*)
13572 # FIXME: insert proper C++ library support
13573 ld_shlibs_CXX=no
13576 mvs*)
13577 case $cc_basename in
13578 cxx*)
13579 # FIXME: insert proper C++ library support
13580 ld_shlibs_CXX=no
13583 # FIXME: insert proper C++ library support
13584 ld_shlibs_CXX=no
13586 esac
13589 netbsd*)
13590 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13591 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13592 wlarc=
13593 hardcode_libdir_flag_spec_CXX='-R$libdir'
13594 hardcode_direct_CXX=yes
13595 hardcode_shlibpath_var_CXX=no
13597 # Workaround some broken pre-1.5 toolchains
13598 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13601 *nto* | *qnx*)
13602 ld_shlibs_CXX=yes
13605 openbsd2*)
13606 # C++ shared libraries are fairly broken
13607 ld_shlibs_CXX=no
13610 openbsd*)
13611 if test -f /usr/libexec/ld.so; then
13612 hardcode_direct_CXX=yes
13613 hardcode_shlibpath_var_CXX=no
13614 hardcode_direct_absolute_CXX=yes
13615 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13616 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13617 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13618 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13619 export_dynamic_flag_spec_CXX='${wl}-E'
13620 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13622 output_verbose_link_cmd=func_echo_all
13623 else
13624 ld_shlibs_CXX=no
13628 osf3* | osf4* | osf5*)
13629 case $cc_basename in
13630 KCC*)
13631 # Kuck and Associates, Inc. (KAI) C++ Compiler
13633 # KCC will only create a shared library if the output file
13634 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13635 # to its proper name (with version) after linking.
13636 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'
13638 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13639 hardcode_libdir_separator_CXX=:
13641 # Archives containing C++ object files must be created using
13642 # the KAI C++ compiler.
13643 case $host in
13644 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13645 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13646 esac
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 # FIXME: insert proper C++ library support
13651 ld_shlibs_CXX=no
13653 cxx*)
13654 case $host in
13655 osf3*)
13656 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13657 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'
13658 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13661 allow_undefined_flag_CXX=' -expect_unresolved \*'
13662 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'
13663 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13664 echo "-hidden">> $lib.exp~
13665 $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~
13666 $RM $lib.exp'
13667 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13669 esac
13671 hardcode_libdir_separator_CXX=:
13673 # Commands to make compiler produce verbose output that lists
13674 # what "hidden" libraries, object files and flags are used when
13675 # linking a shared library.
13677 # There doesn't appear to be a way to prevent this compiler from
13678 # explicitly linking system object files so we need to strip them
13679 # from the output so that they don't get included in the library
13680 # dependencies.
13681 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"'
13684 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13685 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13686 case $host in
13687 osf3*)
13688 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'
13691 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'
13693 esac
13695 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13696 hardcode_libdir_separator_CXX=:
13698 # Commands to make compiler produce verbose output that lists
13699 # what "hidden" libraries, object files and flags are used when
13700 # linking a shared library.
13701 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13703 else
13704 # FIXME: insert proper C++ library support
13705 ld_shlibs_CXX=no
13708 esac
13711 psos*)
13712 # FIXME: insert proper C++ library support
13713 ld_shlibs_CXX=no
13716 sunos4*)
13717 case $cc_basename in
13718 CC*)
13719 # Sun C++ 4.x
13720 # FIXME: insert proper C++ library support
13721 ld_shlibs_CXX=no
13723 lcc*)
13724 # Lucid
13725 # FIXME: insert proper C++ library support
13726 ld_shlibs_CXX=no
13729 # FIXME: insert proper C++ library support
13730 ld_shlibs_CXX=no
13732 esac
13735 solaris*)
13736 case $cc_basename in
13737 CC*)
13738 # Sun C++ 4.2, 5.x and Centerline C++
13739 archive_cmds_need_lc_CXX=yes
13740 no_undefined_flag_CXX=' -zdefs'
13741 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13742 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13743 $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'
13745 hardcode_libdir_flag_spec_CXX='-R$libdir'
13746 hardcode_shlibpath_var_CXX=no
13747 case $host_os in
13748 solaris2.[0-5] | solaris2.[0-5].*) ;;
13750 # The compiler driver will combine and reorder linker options,
13751 # but understands `-z linker_flag'.
13752 # Supported since Solaris 2.6 (maybe 2.5.1?)
13753 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13755 esac
13756 link_all_deplibs_CXX=yes
13758 output_verbose_link_cmd='func_echo_all'
13760 # Archives containing C++ object files must be created using
13761 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13762 # necessary to make sure instantiated templates are included
13763 # in the archive.
13764 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13766 gcx*)
13767 # Green Hills C++ Compiler
13768 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13770 # The C++ compiler must be used to create the archive.
13771 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13774 # GNU C++ compiler with Solaris linker
13775 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13776 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13777 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13778 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13779 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13780 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13782 # Commands to make compiler produce verbose output that lists
13783 # what "hidden" libraries, object files and flags are used when
13784 # linking a shared library.
13785 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13786 else
13787 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13788 # platform.
13789 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13790 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13791 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13793 # Commands to make compiler produce verbose output that lists
13794 # what "hidden" libraries, object files and flags are used when
13795 # linking a shared library.
13796 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13799 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13800 case $host_os in
13801 solaris2.[0-5] | solaris2.[0-5].*) ;;
13803 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13805 esac
13808 esac
13811 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13812 no_undefined_flag_CXX='${wl}-z,text'
13813 archive_cmds_need_lc_CXX=no
13814 hardcode_shlibpath_var_CXX=no
13815 runpath_var='LD_RUN_PATH'
13817 case $cc_basename in
13818 CC*)
13819 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13820 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13823 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13824 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13826 esac
13829 sysv5* | sco3.2v5* | sco5v6*)
13830 # Note: We can NOT use -z defs as we might desire, because we do not
13831 # link with -lc, and that would cause any symbols used from libc to
13832 # always be unresolved, which means just about no library would
13833 # ever link correctly. If we're not using GNU ld we use -z text
13834 # though, which does catch some bad symbols but isn't as heavy-handed
13835 # as -z defs.
13836 no_undefined_flag_CXX='${wl}-z,text'
13837 allow_undefined_flag_CXX='${wl}-z,nodefs'
13838 archive_cmds_need_lc_CXX=no
13839 hardcode_shlibpath_var_CXX=no
13840 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13841 hardcode_libdir_separator_CXX=':'
13842 link_all_deplibs_CXX=yes
13843 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13844 runpath_var='LD_RUN_PATH'
13846 case $cc_basename in
13847 CC*)
13848 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13849 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13850 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13851 '"$old_archive_cmds_CXX"
13852 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13853 '"$reload_cmds_CXX"
13856 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13857 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13859 esac
13862 tandem*)
13863 case $cc_basename in
13864 NCC*)
13865 # NonStop-UX NCC 3.20
13866 # FIXME: insert proper C++ library support
13867 ld_shlibs_CXX=no
13870 # FIXME: insert proper C++ library support
13871 ld_shlibs_CXX=no
13873 esac
13876 vxworks*)
13877 # FIXME: insert proper C++ library support
13878 ld_shlibs_CXX=no
13882 # FIXME: insert proper C++ library support
13883 ld_shlibs_CXX=no
13885 esac
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13888 $as_echo "$ld_shlibs_CXX" >&6; }
13889 test "$ld_shlibs_CXX" = no && can_build_shared=no
13891 GCC_CXX="$GXX"
13892 LD_CXX="$LD"
13894 ## CAVEAT EMPTOR:
13895 ## There is no encapsulation within the following macros, do not change
13896 ## the running order or otherwise move them around unless you know exactly
13897 ## what you are doing...
13898 # Dependencies to place before and after the object being linked:
13899 predep_objects_CXX=
13900 postdep_objects_CXX=
13901 predeps_CXX=
13902 postdeps_CXX=
13903 compiler_lib_search_path_CXX=
13905 cat > conftest.$ac_ext <<_LT_EOF
13906 class Foo
13908 public:
13909 Foo (void) { a = 0; }
13910 private:
13911 int a;
13913 _LT_EOF
13915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13916 (eval $ac_compile) 2>&5
13917 ac_status=$?
13918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13919 test $ac_status = 0; }; then
13920 # Parse the compiler output and extract the necessary
13921 # objects, libraries and library flags.
13923 # Sentinel used to keep track of whether or not we are before
13924 # the conftest object file.
13925 pre_test_object_deps_done=no
13927 for p in `eval "$output_verbose_link_cmd"`; do
13928 case $p in
13930 -L* | -R* | -l*)
13931 # Some compilers place space between "-{L,R}" and the path.
13932 # Remove the space.
13933 if test $p = "-L" ||
13934 test $p = "-R"; then
13935 prev=$p
13936 continue
13937 else
13938 prev=
13941 if test "$pre_test_object_deps_done" = no; then
13942 case $p in
13943 -L* | -R*)
13944 # Internal compiler library paths should come after those
13945 # provided the user. The postdeps already come after the
13946 # user supplied libs so there is no need to process them.
13947 if test -z "$compiler_lib_search_path_CXX"; then
13948 compiler_lib_search_path_CXX="${prev}${p}"
13949 else
13950 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13953 # The "-l" case would never come before the object being
13954 # linked, so don't bother handling this case.
13955 esac
13956 else
13957 if test -z "$postdeps_CXX"; then
13958 postdeps_CXX="${prev}${p}"
13959 else
13960 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13965 *.$objext)
13966 # This assumes that the test object file only shows up
13967 # once in the compiler output.
13968 if test "$p" = "conftest.$objext"; then
13969 pre_test_object_deps_done=yes
13970 continue
13973 if test "$pre_test_object_deps_done" = no; then
13974 if test -z "$predep_objects_CXX"; then
13975 predep_objects_CXX="$p"
13976 else
13977 predep_objects_CXX="$predep_objects_CXX $p"
13979 else
13980 if test -z "$postdep_objects_CXX"; then
13981 postdep_objects_CXX="$p"
13982 else
13983 postdep_objects_CXX="$postdep_objects_CXX $p"
13988 *) ;; # Ignore the rest.
13990 esac
13991 done
13993 # Clean up.
13994 rm -f a.out a.exe
13995 else
13996 echo "libtool.m4: error: problem compiling CXX test program"
13999 $RM -f confest.$objext
14001 # PORTME: override above test on systems where it is broken
14002 case $host_os in
14003 interix[3-9]*)
14004 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14005 # hack all around it, let's just trust "g++" to DTRT.
14006 predep_objects_CXX=
14007 postdep_objects_CXX=
14008 postdeps_CXX=
14011 linux*)
14012 case `$CC -V 2>&1 | sed 5q` in
14013 *Sun\ C*)
14014 # Sun C++ 5.9
14016 # The more standards-conforming stlport4 library is
14017 # incompatible with the Cstd library. Avoid specifying
14018 # it if it's in CXXFLAGS. Ignore libCrun as
14019 # -library=stlport4 depends on it.
14020 case " $CXX $CXXFLAGS " in
14021 *" -library=stlport4 "*)
14022 solaris_use_stlport4=yes
14024 esac
14026 if test "$solaris_use_stlport4" != yes; then
14027 postdeps_CXX='-library=Cstd -library=Crun'
14030 esac
14033 solaris*)
14034 case $cc_basename in
14035 CC*)
14036 # The more standards-conforming stlport4 library is
14037 # incompatible with the Cstd library. Avoid specifying
14038 # it if it's in CXXFLAGS. Ignore libCrun as
14039 # -library=stlport4 depends on it.
14040 case " $CXX $CXXFLAGS " in
14041 *" -library=stlport4 "*)
14042 solaris_use_stlport4=yes
14044 esac
14046 # Adding this requires a known-good setup of shared libraries for
14047 # Sun compiler versions before 5.6, else PIC objects from an old
14048 # archive will be linked into the output, leading to subtle bugs.
14049 if test "$solaris_use_stlport4" != yes; then
14050 postdeps_CXX='-library=Cstd -library=Crun'
14053 esac
14055 esac
14058 case " $postdeps_CXX " in
14059 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14060 esac
14061 compiler_lib_search_dirs_CXX=
14062 if test -n "${compiler_lib_search_path_CXX}"; then
14063 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14096 lt_prog_compiler_wl_CXX=
14097 lt_prog_compiler_pic_CXX=
14098 lt_prog_compiler_static_CXX=
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14101 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14103 # C++ specific cases for pic, static, wl, etc.
14104 if test "$GXX" = yes; then
14105 lt_prog_compiler_wl_CXX='-Wl,'
14106 lt_prog_compiler_static_CXX='-static'
14108 case $host_os in
14109 aix*)
14110 # All AIX code is PIC.
14111 if test "$host_cpu" = ia64; then
14112 # AIX 5 now supports IA64 processor
14113 lt_prog_compiler_static_CXX='-Bstatic'
14115 lt_prog_compiler_pic_CXX='-fPIC'
14118 amigaos*)
14119 case $host_cpu in
14120 powerpc)
14121 # see comment about AmigaOS4 .so support
14122 lt_prog_compiler_pic_CXX='-fPIC'
14124 m68k)
14125 # FIXME: we need at least 68020 code to build shared libraries, but
14126 # adding the `-m68020' flag to GCC prevents building anything better,
14127 # like `-m68040'.
14128 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14130 esac
14133 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14134 # PIC is the default for these OSes.
14136 mingw* | cygwin* | os2* | pw32* | cegcc*)
14137 # This hack is so that the source file can tell whether it is being
14138 # built for inclusion in a dll (and should export symbols for example).
14139 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14140 # (--disable-auto-import) libraries
14141 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14143 darwin* | rhapsody*)
14144 # PIC is the default on this platform
14145 # Common symbols not allowed in MH_DYLIB files
14146 lt_prog_compiler_pic_CXX='-fno-common'
14148 *djgpp*)
14149 # DJGPP does not support shared libraries at all
14150 lt_prog_compiler_pic_CXX=
14152 haiku*)
14153 # PIC is the default for Haiku.
14154 # The "-static" flag exists, but is broken.
14155 lt_prog_compiler_static_CXX=
14157 interix[3-9]*)
14158 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14159 # Instead, we relocate shared libraries at runtime.
14161 sysv4*MP*)
14162 if test -d /usr/nec; then
14163 lt_prog_compiler_pic_CXX=-Kconform_pic
14166 hpux*)
14167 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14168 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14169 # sets the default TLS model and affects inlining.
14170 case $host_cpu in
14171 hppa*64*)
14174 lt_prog_compiler_pic_CXX='-fPIC'
14176 esac
14178 *qnx* | *nto*)
14179 # QNX uses GNU C++, but need to define -shared option too, otherwise
14180 # it will coredump.
14181 lt_prog_compiler_pic_CXX='-fPIC -shared'
14184 lt_prog_compiler_pic_CXX='-fPIC'
14186 esac
14187 else
14188 case $host_os in
14189 aix[4-9]*)
14190 # All AIX code is PIC.
14191 if test "$host_cpu" = ia64; then
14192 # AIX 5 now supports IA64 processor
14193 lt_prog_compiler_static_CXX='-Bstatic'
14194 else
14195 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14198 chorus*)
14199 case $cc_basename in
14200 cxch68*)
14201 # Green Hills C++ Compiler
14202 # _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"
14204 esac
14206 dgux*)
14207 case $cc_basename in
14208 ec++*)
14209 lt_prog_compiler_pic_CXX='-KPIC'
14211 ghcx*)
14212 # Green Hills C++ Compiler
14213 lt_prog_compiler_pic_CXX='-pic'
14217 esac
14219 freebsd* | dragonfly*)
14220 # FreeBSD uses GNU C++
14222 hpux9* | hpux10* | hpux11*)
14223 case $cc_basename in
14224 CC*)
14225 lt_prog_compiler_wl_CXX='-Wl,'
14226 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14227 if test "$host_cpu" != ia64; then
14228 lt_prog_compiler_pic_CXX='+Z'
14231 aCC*)
14232 lt_prog_compiler_wl_CXX='-Wl,'
14233 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14234 case $host_cpu in
14235 hppa*64*|ia64*)
14236 # +Z the default
14239 lt_prog_compiler_pic_CXX='+Z'
14241 esac
14245 esac
14247 interix*)
14248 # This is c89, which is MS Visual C++ (no shared libs)
14249 # Anyone wants to do a port?
14251 irix5* | irix6* | nonstopux*)
14252 case $cc_basename in
14253 CC*)
14254 lt_prog_compiler_wl_CXX='-Wl,'
14255 lt_prog_compiler_static_CXX='-non_shared'
14256 # CC pic flag -KPIC is the default.
14260 esac
14262 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14263 case $cc_basename in
14264 KCC*)
14265 # KAI C++ Compiler
14266 lt_prog_compiler_wl_CXX='--backend -Wl,'
14267 lt_prog_compiler_pic_CXX='-fPIC'
14269 ecpc* )
14270 # old Intel C++ for x86_64 which still supported -KPIC.
14271 lt_prog_compiler_wl_CXX='-Wl,'
14272 lt_prog_compiler_pic_CXX='-KPIC'
14273 lt_prog_compiler_static_CXX='-static'
14275 icpc* )
14276 # Intel C++, used to be incompatible with GCC.
14277 # ICC 10 doesn't accept -KPIC any more.
14278 lt_prog_compiler_wl_CXX='-Wl,'
14279 lt_prog_compiler_pic_CXX='-fPIC'
14280 lt_prog_compiler_static_CXX='-static'
14282 pgCC* | pgcpp*)
14283 # Portland Group C++ compiler
14284 lt_prog_compiler_wl_CXX='-Wl,'
14285 lt_prog_compiler_pic_CXX='-fpic'
14286 lt_prog_compiler_static_CXX='-Bstatic'
14288 cxx*)
14289 # Compaq C++
14290 # Make sure the PIC flag is empty. It appears that all Alpha
14291 # Linux and Compaq Tru64 Unix objects are PIC.
14292 lt_prog_compiler_pic_CXX=
14293 lt_prog_compiler_static_CXX='-non_shared'
14295 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14296 # IBM XL 8.0, 9.0 on PPC and BlueGene
14297 lt_prog_compiler_wl_CXX='-Wl,'
14298 lt_prog_compiler_pic_CXX='-qpic'
14299 lt_prog_compiler_static_CXX='-qstaticlink'
14302 case `$CC -V 2>&1 | sed 5q` in
14303 *Sun\ C*)
14304 # Sun C++ 5.9
14305 lt_prog_compiler_pic_CXX='-KPIC'
14306 lt_prog_compiler_static_CXX='-Bstatic'
14307 lt_prog_compiler_wl_CXX='-Qoption ld '
14309 esac
14311 esac
14313 lynxos*)
14315 m88k*)
14317 mvs*)
14318 case $cc_basename in
14319 cxx*)
14320 lt_prog_compiler_pic_CXX='-W c,exportall'
14324 esac
14326 netbsd*)
14328 *qnx* | *nto*)
14329 # QNX uses GNU C++, but need to define -shared option too, otherwise
14330 # it will coredump.
14331 lt_prog_compiler_pic_CXX='-fPIC -shared'
14333 osf3* | osf4* | osf5*)
14334 case $cc_basename in
14335 KCC*)
14336 lt_prog_compiler_wl_CXX='--backend -Wl,'
14338 RCC*)
14339 # Rational C++ 2.4.1
14340 lt_prog_compiler_pic_CXX='-pic'
14342 cxx*)
14343 # Digital/Compaq C++
14344 lt_prog_compiler_wl_CXX='-Wl,'
14345 # Make sure the PIC flag is empty. It appears that all Alpha
14346 # Linux and Compaq Tru64 Unix objects are PIC.
14347 lt_prog_compiler_pic_CXX=
14348 lt_prog_compiler_static_CXX='-non_shared'
14352 esac
14354 psos*)
14356 solaris*)
14357 case $cc_basename in
14358 CC*)
14359 # Sun C++ 4.2, 5.x and Centerline C++
14360 lt_prog_compiler_pic_CXX='-KPIC'
14361 lt_prog_compiler_static_CXX='-Bstatic'
14362 lt_prog_compiler_wl_CXX='-Qoption ld '
14364 gcx*)
14365 # Green Hills C++ Compiler
14366 lt_prog_compiler_pic_CXX='-PIC'
14370 esac
14372 sunos4*)
14373 case $cc_basename in
14374 CC*)
14375 # Sun C++ 4.x
14376 lt_prog_compiler_pic_CXX='-pic'
14377 lt_prog_compiler_static_CXX='-Bstatic'
14379 lcc*)
14380 # Lucid
14381 lt_prog_compiler_pic_CXX='-pic'
14385 esac
14387 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14388 case $cc_basename in
14389 CC*)
14390 lt_prog_compiler_wl_CXX='-Wl,'
14391 lt_prog_compiler_pic_CXX='-KPIC'
14392 lt_prog_compiler_static_CXX='-Bstatic'
14394 esac
14396 tandem*)
14397 case $cc_basename in
14398 NCC*)
14399 # NonStop-UX NCC 3.20
14400 lt_prog_compiler_pic_CXX='-KPIC'
14404 esac
14406 vxworks*)
14409 lt_prog_compiler_can_build_shared_CXX=no
14411 esac
14414 case $host_os in
14415 # For platforms which do not support PIC, -DPIC is meaningless:
14416 *djgpp*)
14417 lt_prog_compiler_pic_CXX=
14420 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14422 esac
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14424 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14429 # Check to make sure the PIC flag actually works.
14431 if test -n "$lt_prog_compiler_pic_CXX"; then
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14433 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14434 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14435 $as_echo_n "(cached) " >&6
14436 else
14437 lt_cv_prog_compiler_pic_works_CXX=no
14438 ac_outfile=conftest.$ac_objext
14439 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14440 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14441 # Insert the option either (1) after the last *FLAGS variable, or
14442 # (2) before a word containing "conftest.", or (3) at the end.
14443 # Note that $ac_compile itself does not contain backslashes and begins
14444 # with a dollar sign (not a hyphen), so the echo should work correctly.
14445 # The option is referenced via a variable to avoid confusing sed.
14446 lt_compile=`echo "$ac_compile" | $SED \
14447 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14448 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14449 -e 's:$: $lt_compiler_flag:'`
14450 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14451 (eval "$lt_compile" 2>conftest.err)
14452 ac_status=$?
14453 cat conftest.err >&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 if (exit $ac_status) && test -s "$ac_outfile"; then
14456 # The compiler can only warn and ignore the option if not recognized
14457 # So say no if there are warnings other than the usual output.
14458 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14459 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14460 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14461 lt_cv_prog_compiler_pic_works_CXX=yes
14464 $RM conftest*
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14468 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14470 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14471 case $lt_prog_compiler_pic_CXX in
14472 "" | " "*) ;;
14473 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14474 esac
14475 else
14476 lt_prog_compiler_pic_CXX=
14477 lt_prog_compiler_can_build_shared_CXX=no
14485 # Check to make sure the static flag actually works.
14487 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14489 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14490 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 lt_cv_prog_compiler_static_works_CXX=no
14494 save_LDFLAGS="$LDFLAGS"
14495 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14496 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14497 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14498 # The linker can only warn and ignore the option if not recognized
14499 # So say no if there are warnings
14500 if test -s conftest.err; then
14501 # Append any errors to the config.log.
14502 cat conftest.err 1>&5
14503 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14504 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14505 if diff conftest.exp conftest.er2 >/dev/null; then
14506 lt_cv_prog_compiler_static_works_CXX=yes
14508 else
14509 lt_cv_prog_compiler_static_works_CXX=yes
14512 $RM -r conftest*
14513 LDFLAGS="$save_LDFLAGS"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14517 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14519 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14521 else
14522 lt_prog_compiler_static_CXX=
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14529 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14530 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14531 $as_echo_n "(cached) " >&6
14532 else
14533 lt_cv_prog_compiler_c_o_CXX=no
14534 $RM -r conftest 2>/dev/null
14535 mkdir conftest
14536 cd conftest
14537 mkdir out
14538 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14540 lt_compiler_flag="-o out/conftest2.$ac_objext"
14541 # Insert the option either (1) after the last *FLAGS variable, or
14542 # (2) before a word containing "conftest.", or (3) at the end.
14543 # Note that $ac_compile itself does not contain backslashes and begins
14544 # with a dollar sign (not a hyphen), so the echo should work correctly.
14545 lt_compile=`echo "$ac_compile" | $SED \
14546 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14547 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14548 -e 's:$: $lt_compiler_flag:'`
14549 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14550 (eval "$lt_compile" 2>out/conftest.err)
14551 ac_status=$?
14552 cat out/conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14555 then
14556 # The compiler can only warn and ignore the option if not recognized
14557 # So say no if there are warnings
14558 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14559 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14560 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14561 lt_cv_prog_compiler_c_o_CXX=yes
14564 chmod u+w . 2>&5
14565 $RM conftest*
14566 # SGI C++ compiler will create directory out/ii_files/ for
14567 # template instantiation
14568 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14569 $RM out/* && rmdir out
14570 cd ..
14571 $RM -r conftest
14572 $RM conftest*
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14576 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14581 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14582 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14583 $as_echo_n "(cached) " >&6
14584 else
14585 lt_cv_prog_compiler_c_o_CXX=no
14586 $RM -r conftest 2>/dev/null
14587 mkdir conftest
14588 cd conftest
14589 mkdir out
14590 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14592 lt_compiler_flag="-o out/conftest2.$ac_objext"
14593 # Insert the option either (1) after the last *FLAGS variable, or
14594 # (2) before a word containing "conftest.", or (3) at the end.
14595 # Note that $ac_compile itself does not contain backslashes and begins
14596 # with a dollar sign (not a hyphen), so the echo should work correctly.
14597 lt_compile=`echo "$ac_compile" | $SED \
14598 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14599 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14600 -e 's:$: $lt_compiler_flag:'`
14601 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14602 (eval "$lt_compile" 2>out/conftest.err)
14603 ac_status=$?
14604 cat out/conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14607 then
14608 # The compiler can only warn and ignore the option if not recognized
14609 # So say no if there are warnings
14610 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14611 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14612 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14613 lt_cv_prog_compiler_c_o_CXX=yes
14616 chmod u+w . 2>&5
14617 $RM conftest*
14618 # SGI C++ compiler will create directory out/ii_files/ for
14619 # template instantiation
14620 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14621 $RM out/* && rmdir out
14622 cd ..
14623 $RM -r conftest
14624 $RM conftest*
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14628 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14633 hard_links="nottested"
14634 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14635 # do not overwrite the value of need_locks provided by the user
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14637 $as_echo_n "checking if we can lock with hard links... " >&6; }
14638 hard_links=yes
14639 $RM conftest*
14640 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14641 touch conftest.a
14642 ln conftest.a conftest.b 2>&5 || hard_links=no
14643 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14645 $as_echo "$hard_links" >&6; }
14646 if test "$hard_links" = no; then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14648 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14649 need_locks=warn
14651 else
14652 need_locks=no
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14658 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14660 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14661 case $host_os in
14662 aix[4-9]*)
14663 # If we're using GNU nm, then we don't want the "-C" option.
14664 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14665 # Also, AIX nm treats weak defined symbols like other global defined
14666 # symbols, whereas GNU nm marks them as "W".
14667 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14668 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'
14669 else
14670 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'
14673 pw32*)
14674 export_symbols_cmds_CXX="$ltdll_cmds"
14676 cygwin* | mingw* | cegcc*)
14677 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'
14680 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14682 esac
14683 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14686 $as_echo "$ld_shlibs_CXX" >&6; }
14687 test "$ld_shlibs_CXX" = no && can_build_shared=no
14689 with_gnu_ld_CXX=$with_gnu_ld
14697 # Do we need to explicitly link libc?
14699 case "x$archive_cmds_need_lc_CXX" in
14700 x|xyes)
14701 # Assume -lc should be added
14702 archive_cmds_need_lc_CXX=yes
14704 if test "$enable_shared" = yes && test "$GCC" = yes; then
14705 case $archive_cmds_CXX in
14706 *'~'*)
14707 # FIXME: we may have to deal with multi-command sequences.
14709 '$CC '*)
14710 # Test whether the compiler implicitly links with -lc since on some
14711 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14712 # to ld, don't add -lc before -lgcc.
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14714 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14715 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14716 $as_echo_n "(cached) " >&6
14717 else
14718 $RM conftest*
14719 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14722 (eval $ac_compile) 2>&5
14723 ac_status=$?
14724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14725 test $ac_status = 0; } 2>conftest.err; then
14726 soname=conftest
14727 lib=conftest
14728 libobjs=conftest.$ac_objext
14729 deplibs=
14730 wl=$lt_prog_compiler_wl_CXX
14731 pic_flag=$lt_prog_compiler_pic_CXX
14732 compiler_flags=-v
14733 linker_flags=-v
14734 verstring=
14735 output_objdir=.
14736 libname=conftest
14737 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14738 allow_undefined_flag_CXX=
14739 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14740 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14741 ac_status=$?
14742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14743 test $ac_status = 0; }
14744 then
14745 lt_cv_archive_cmds_need_lc_CXX=no
14746 else
14747 lt_cv_archive_cmds_need_lc_CXX=yes
14749 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14750 else
14751 cat conftest.err 1>&5
14753 $RM conftest*
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14757 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14758 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14760 esac
14763 esac
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14829 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14831 library_names_spec=
14832 libname_spec='lib$name'
14833 soname_spec=
14834 shrext_cmds=".so"
14835 postinstall_cmds=
14836 postuninstall_cmds=
14837 finish_cmds=
14838 finish_eval=
14839 shlibpath_var=
14840 shlibpath_overrides_runpath=unknown
14841 version_type=none
14842 dynamic_linker="$host_os ld.so"
14843 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14844 need_lib_prefix=unknown
14845 hardcode_into_libs=no
14847 # when you set need_version to no, make sure it does not cause -set_version
14848 # flags to be left without arguments
14849 need_version=unknown
14851 case $host_os in
14852 aix3*)
14853 version_type=linux
14854 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14855 shlibpath_var=LIBPATH
14857 # AIX 3 has no versioning support, so we append a major version to the name.
14858 soname_spec='${libname}${release}${shared_ext}$major'
14861 aix[4-9]*)
14862 version_type=linux
14863 need_lib_prefix=no
14864 need_version=no
14865 hardcode_into_libs=yes
14866 if test "$host_cpu" = ia64; then
14867 # AIX 5 supports IA64
14868 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14869 shlibpath_var=LD_LIBRARY_PATH
14870 else
14871 # With GCC up to 2.95.x, collect2 would create an import file
14872 # for dependence libraries. The import file would start with
14873 # the line `#! .'. This would cause the generated library to
14874 # depend on `.', always an invalid library. This was fixed in
14875 # development snapshots of GCC prior to 3.0.
14876 case $host_os in
14877 aix4 | aix4.[01] | aix4.[01].*)
14878 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14879 echo ' yes '
14880 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14882 else
14883 can_build_shared=no
14886 esac
14887 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14888 # soname into executable. Probably we can add versioning support to
14889 # collect2, so additional links can be useful in future.
14890 if test "$aix_use_runtimelinking" = yes; then
14891 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14892 # instead of lib<name>.a to let people know that these are not
14893 # typical AIX shared libraries.
14894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14895 else
14896 # We preserve .a as extension for shared libraries through AIX4.2
14897 # and later when we are not doing run time linking.
14898 library_names_spec='${libname}${release}.a $libname.a'
14899 soname_spec='${libname}${release}${shared_ext}$major'
14901 shlibpath_var=LIBPATH
14905 amigaos*)
14906 case $host_cpu in
14907 powerpc)
14908 # Since July 2007 AmigaOS4 officially supports .so libraries.
14909 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14912 m68k)
14913 library_names_spec='$libname.ixlibrary $libname.a'
14914 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14915 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'
14917 esac
14920 beos*)
14921 library_names_spec='${libname}${shared_ext}'
14922 dynamic_linker="$host_os ld.so"
14923 shlibpath_var=LIBRARY_PATH
14926 bsdi[45]*)
14927 version_type=linux
14928 need_version=no
14929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14930 soname_spec='${libname}${release}${shared_ext}$major'
14931 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14932 shlibpath_var=LD_LIBRARY_PATH
14933 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14934 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14935 # the default ld.so.conf also contains /usr/contrib/lib and
14936 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14937 # libtool to hard-code these into programs
14940 cygwin* | mingw* | pw32* | cegcc*)
14941 version_type=windows
14942 shrext_cmds=".dll"
14943 need_version=no
14944 need_lib_prefix=no
14946 case $GCC,$host_os in
14947 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14948 library_names_spec='$libname.dll.a'
14949 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14950 postinstall_cmds='base_file=`basename \${file}`~
14951 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14952 dldir=$destdir/`dirname \$dlpath`~
14953 test -d \$dldir || mkdir -p \$dldir~
14954 $install_prog $dir/$dlname \$dldir/$dlname~
14955 chmod a+x \$dldir/$dlname~
14956 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14957 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14959 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14960 dlpath=$dir/\$dldll~
14961 $RM \$dlpath'
14962 shlibpath_overrides_runpath=yes
14964 case $host_os in
14965 cygwin*)
14966 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14967 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14970 mingw* | cegcc*)
14971 # MinGW DLLs use traditional 'lib' prefix
14972 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14974 pw32*)
14975 # pw32 DLLs use 'pw' prefix rather than 'lib'
14976 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14978 esac
14982 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14984 esac
14985 dynamic_linker='Win32 ld.exe'
14986 # FIXME: first we should search . and the directory the executable is in
14987 shlibpath_var=PATH
14990 darwin* | rhapsody*)
14991 dynamic_linker="$host_os dyld"
14992 version_type=darwin
14993 need_lib_prefix=no
14994 need_version=no
14995 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14996 soname_spec='${libname}${release}${major}$shared_ext'
14997 shlibpath_overrides_runpath=yes
14998 shlibpath_var=DYLD_LIBRARY_PATH
14999 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15001 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15004 dgux*)
15005 version_type=linux
15006 need_lib_prefix=no
15007 need_version=no
15008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15009 soname_spec='${libname}${release}${shared_ext}$major'
15010 shlibpath_var=LD_LIBRARY_PATH
15013 freebsd* | dragonfly*)
15014 # DragonFly does not have aout. When/if they implement a new
15015 # versioning mechanism, adjust this.
15016 if test -x /usr/bin/objformat; then
15017 objformat=`/usr/bin/objformat`
15018 else
15019 case $host_os in
15020 freebsd[23].*) objformat=aout ;;
15021 *) objformat=elf ;;
15022 esac
15024 version_type=freebsd-$objformat
15025 case $version_type in
15026 freebsd-elf*)
15027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15028 need_version=no
15029 need_lib_prefix=no
15031 freebsd-*)
15032 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15033 need_version=yes
15035 esac
15036 shlibpath_var=LD_LIBRARY_PATH
15037 case $host_os in
15038 freebsd2.*)
15039 shlibpath_overrides_runpath=yes
15041 freebsd3.[01]* | freebsdelf3.[01]*)
15042 shlibpath_overrides_runpath=yes
15043 hardcode_into_libs=yes
15045 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15046 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15047 shlibpath_overrides_runpath=no
15048 hardcode_into_libs=yes
15050 *) # from 4.6 on, and DragonFly
15051 shlibpath_overrides_runpath=yes
15052 hardcode_into_libs=yes
15054 esac
15057 haiku*)
15058 version_type=linux
15059 need_lib_prefix=no
15060 need_version=no
15061 dynamic_linker="$host_os runtime_loader"
15062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15063 soname_spec='${libname}${release}${shared_ext}$major'
15064 shlibpath_var=LIBRARY_PATH
15065 shlibpath_overrides_runpath=yes
15066 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15067 hardcode_into_libs=yes
15070 hpux9* | hpux10* | hpux11*)
15071 # Give a soname corresponding to the major version so that dld.sl refuses to
15072 # link against other versions.
15073 version_type=sunos
15074 need_lib_prefix=no
15075 need_version=no
15076 case $host_cpu in
15077 ia64*)
15078 shrext_cmds='.so'
15079 hardcode_into_libs=yes
15080 dynamic_linker="$host_os dld.so"
15081 shlibpath_var=LD_LIBRARY_PATH
15082 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 if test "X$HPUX_IA64_MODE" = X32; then
15086 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15087 else
15088 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15090 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15092 hppa*64*)
15093 shrext_cmds='.sl'
15094 hardcode_into_libs=yes
15095 dynamic_linker="$host_os dld.sl"
15096 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15097 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15099 soname_spec='${libname}${release}${shared_ext}$major'
15100 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15101 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15104 shrext_cmds='.sl'
15105 dynamic_linker="$host_os dld.sl"
15106 shlibpath_var=SHLIB_PATH
15107 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15109 soname_spec='${libname}${release}${shared_ext}$major'
15111 esac
15112 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15113 postinstall_cmds='chmod 555 $lib'
15114 # or fails outright, so override atomically:
15115 install_override_mode=555
15118 interix[3-9]*)
15119 version_type=linux
15120 need_lib_prefix=no
15121 need_version=no
15122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15123 soname_spec='${libname}${release}${shared_ext}$major'
15124 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15125 shlibpath_var=LD_LIBRARY_PATH
15126 shlibpath_overrides_runpath=no
15127 hardcode_into_libs=yes
15130 irix5* | irix6* | nonstopux*)
15131 case $host_os in
15132 nonstopux*) version_type=nonstopux ;;
15134 if test "$lt_cv_prog_gnu_ld" = yes; then
15135 version_type=linux
15136 else
15137 version_type=irix
15138 fi ;;
15139 esac
15140 need_lib_prefix=no
15141 need_version=no
15142 soname_spec='${libname}${release}${shared_ext}$major'
15143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15144 case $host_os in
15145 irix5* | nonstopux*)
15146 libsuff= shlibsuff=
15149 case $LD in # libtool.m4 will add one of these switches to LD
15150 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15151 libsuff= shlibsuff= libmagic=32-bit;;
15152 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15153 libsuff=32 shlibsuff=N32 libmagic=N32;;
15154 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15155 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15156 *) libsuff= shlibsuff= libmagic=never-match;;
15157 esac
15159 esac
15160 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15161 shlibpath_overrides_runpath=no
15162 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15163 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15164 hardcode_into_libs=yes
15167 # No shared lib support for Linux oldld, aout, or coff.
15168 linux*oldld* | linux*aout* | linux*coff*)
15169 dynamic_linker=no
15172 # This must be Linux ELF.
15174 # uclinux* changes (here and below) have been submitted to the libtool
15175 # project, but have not yet been accepted: they are GCC-local changes
15176 # for the time being. (See
15177 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15178 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15179 version_type=linux
15180 need_lib_prefix=no
15181 need_version=no
15182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15183 soname_spec='${libname}${release}${shared_ext}$major'
15184 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15185 shlibpath_var=LD_LIBRARY_PATH
15186 shlibpath_overrides_runpath=no
15188 # Some binutils ld are patched to set DT_RUNPATH
15189 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 lt_cv_shlibpath_overrides_runpath=no
15193 save_LDFLAGS=$LDFLAGS
15194 save_libdir=$libdir
15195 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15196 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15197 if test x$gcc_no_link = xyes; then
15198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15204 main ()
15208 return 0;
15210 _ACEOF
15211 if ac_fn_cxx_try_link "$LINENO"; then :
15212 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15213 lt_cv_shlibpath_overrides_runpath=yes
15216 rm -f core conftest.err conftest.$ac_objext \
15217 conftest$ac_exeext conftest.$ac_ext
15218 LDFLAGS=$save_LDFLAGS
15219 libdir=$save_libdir
15223 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15225 # This implies no fast_install, which is unacceptable.
15226 # Some rework will be needed to allow for fast_install
15227 # before this can be enabled.
15228 hardcode_into_libs=yes
15230 # Append ld.so.conf contents to the search path
15231 if test -f /etc/ld.so.conf; then
15232 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' ' '`
15233 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15236 # We used to test for /lib/ld.so.1 and disable shared libraries on
15237 # powerpc, because MkLinux only supported shared libraries with the
15238 # GNU dynamic linker. Since this was broken with cross compilers,
15239 # most powerpc-linux boxes support dynamic linking these days and
15240 # people can always --disable-shared, the test was removed, and we
15241 # assume the GNU/Linux dynamic linker is in use.
15242 dynamic_linker='GNU/Linux ld.so'
15245 netbsd*)
15246 version_type=sunos
15247 need_lib_prefix=no
15248 need_version=no
15249 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15251 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15252 dynamic_linker='NetBSD (a.out) ld.so'
15253 else
15254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15255 soname_spec='${libname}${release}${shared_ext}$major'
15256 dynamic_linker='NetBSD ld.elf_so'
15258 shlibpath_var=LD_LIBRARY_PATH
15259 shlibpath_overrides_runpath=yes
15260 hardcode_into_libs=yes
15263 newsos6)
15264 version_type=linux
15265 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15266 shlibpath_var=LD_LIBRARY_PATH
15267 shlibpath_overrides_runpath=yes
15270 *nto* | *qnx*)
15271 version_type=qnx
15272 need_lib_prefix=no
15273 need_version=no
15274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15275 soname_spec='${libname}${release}${shared_ext}$major'
15276 shlibpath_var=LD_LIBRARY_PATH
15277 shlibpath_overrides_runpath=no
15278 hardcode_into_libs=yes
15279 dynamic_linker='ldqnx.so'
15282 openbsd*)
15283 version_type=sunos
15284 sys_lib_dlsearch_path_spec="/usr/lib"
15285 need_lib_prefix=no
15286 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15287 case $host_os in
15288 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15289 *) need_version=no ;;
15290 esac
15291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15292 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15293 shlibpath_var=LD_LIBRARY_PATH
15294 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15295 case $host_os in
15296 openbsd2.[89] | openbsd2.[89].*)
15297 shlibpath_overrides_runpath=no
15300 shlibpath_overrides_runpath=yes
15302 esac
15303 else
15304 shlibpath_overrides_runpath=yes
15308 os2*)
15309 libname_spec='$name'
15310 shrext_cmds=".dll"
15311 need_lib_prefix=no
15312 library_names_spec='$libname${shared_ext} $libname.a'
15313 dynamic_linker='OS/2 ld.exe'
15314 shlibpath_var=LIBPATH
15317 osf3* | osf4* | osf5*)
15318 version_type=osf
15319 need_lib_prefix=no
15320 need_version=no
15321 soname_spec='${libname}${release}${shared_ext}$major'
15322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15325 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15328 rdos*)
15329 dynamic_linker=no
15332 solaris*)
15333 version_type=linux
15334 need_lib_prefix=no
15335 need_version=no
15336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15337 soname_spec='${libname}${release}${shared_ext}$major'
15338 shlibpath_var=LD_LIBRARY_PATH
15339 shlibpath_overrides_runpath=yes
15340 hardcode_into_libs=yes
15341 # ldd complains unless libraries are executable
15342 postinstall_cmds='chmod +x $lib'
15345 sunos4*)
15346 version_type=sunos
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15348 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15349 shlibpath_var=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath=yes
15351 if test "$with_gnu_ld" = yes; then
15352 need_lib_prefix=no
15354 need_version=yes
15357 sysv4 | sysv4.3*)
15358 version_type=linux
15359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 soname_spec='${libname}${release}${shared_ext}$major'
15361 shlibpath_var=LD_LIBRARY_PATH
15362 case $host_vendor in
15363 sni)
15364 shlibpath_overrides_runpath=no
15365 need_lib_prefix=no
15366 runpath_var=LD_RUN_PATH
15368 siemens)
15369 need_lib_prefix=no
15371 motorola)
15372 need_lib_prefix=no
15373 need_version=no
15374 shlibpath_overrides_runpath=no
15375 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15377 esac
15380 sysv4*MP*)
15381 if test -d /usr/nec ;then
15382 version_type=linux
15383 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15384 soname_spec='$libname${shared_ext}.$major'
15385 shlibpath_var=LD_LIBRARY_PATH
15389 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15390 version_type=freebsd-elf
15391 need_lib_prefix=no
15392 need_version=no
15393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15394 soname_spec='${libname}${release}${shared_ext}$major'
15395 shlibpath_var=LD_LIBRARY_PATH
15396 shlibpath_overrides_runpath=yes
15397 hardcode_into_libs=yes
15398 if test "$with_gnu_ld" = yes; then
15399 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15400 else
15401 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15402 case $host_os in
15403 sco3.2v5*)
15404 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15406 esac
15408 sys_lib_dlsearch_path_spec='/usr/lib'
15411 tpf*)
15412 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15413 version_type=linux
15414 need_lib_prefix=no
15415 need_version=no
15416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417 shlibpath_var=LD_LIBRARY_PATH
15418 shlibpath_overrides_runpath=no
15419 hardcode_into_libs=yes
15422 uts4*)
15423 version_type=linux
15424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15425 soname_spec='${libname}${release}${shared_ext}$major'
15426 shlibpath_var=LD_LIBRARY_PATH
15430 dynamic_linker=no
15432 esac
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15434 $as_echo "$dynamic_linker" >&6; }
15435 test "$dynamic_linker" = no && can_build_shared=no
15437 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15438 if test "$GCC" = yes; then
15439 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15442 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15443 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15445 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15446 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15487 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15488 hardcode_action_CXX=
15489 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15490 test -n "$runpath_var_CXX" ||
15491 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15493 # We can hardcode non-existent directories.
15494 if test "$hardcode_direct_CXX" != no &&
15495 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15496 # have to relink, otherwise we might link with an installed library
15497 # when we should be linking with a yet-to-be-installed one
15498 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15499 test "$hardcode_minus_L_CXX" != no; then
15500 # Linking always hardcodes the temporary library directory.
15501 hardcode_action_CXX=relink
15502 else
15503 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15504 hardcode_action_CXX=immediate
15506 else
15507 # We cannot hardcode anything, or else we can only hardcode existing
15508 # directories.
15509 hardcode_action_CXX=unsupported
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15512 $as_echo "$hardcode_action_CXX" >&6; }
15514 if test "$hardcode_action_CXX" = relink ||
15515 test "$inherit_rpath_CXX" = yes; then
15516 # Fast installation is not supported
15517 enable_fast_install=no
15518 elif test "$shlibpath_overrides_runpath" = yes ||
15519 test "$enable_shared" = no; then
15520 # Fast installation is not necessary
15521 enable_fast_install=needless
15530 fi # test -n "$compiler"
15532 CC=$lt_save_CC
15533 LDCXX=$LD
15534 LD=$lt_save_LD
15535 GCC=$lt_save_GCC
15536 with_gnu_ld=$lt_save_with_gnu_ld
15537 lt_cv_path_LDCXX=$lt_cv_path_LD
15538 lt_cv_path_LD=$lt_save_path_LD
15539 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15540 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15541 fi # test "$_lt_caught_CXX_error" != yes
15543 ac_ext=c
15544 ac_cpp='$CPP $CPPFLAGS'
15545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561 ac_config_commands="$ac_config_commands libtool"
15566 # Only expand once:
15572 case $host in
15573 *-cygwin* | *-mingw*)
15574 # 'host' will be top-level target in the case of a target lib,
15575 # we must compare to with_cross_host to decide if this is a native
15576 # or cross-compiler and select where to install dlls appropriately.
15577 if test -n "$with_cross_host" &&
15578 test x"$with_cross_host" != x"no"; then
15579 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15580 else
15581 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15585 lt_host_flags=
15587 esac
15594 if test "$enable_vtable_verify" = yes; then
15595 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15596 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15600 # libtool variables for C++ shared and position-independent compiles.
15602 # Use glibcxx_lt_pic_flag to designate the automake variable
15603 # used to encapsulate the default libtool approach to creating objects
15604 # with position-independent code. Default: -prefer-pic.
15606 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15607 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15609 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15610 # creating position-independent objects. This varies with the target
15611 # hardware and operating system, but is often: -DPIC -fPIC.
15612 if test "$enable_shared" = yes; then
15613 glibcxx_lt_pic_flag="-prefer-pic"
15614 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15615 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15617 else
15618 glibcxx_lt_pic_flag=
15619 glibcxx_compiler_pic_flag=
15620 glibcxx_compiler_shared_flag=
15626 # Override the libtool's pic_flag and pic_mode.
15627 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15628 # NB: this impacts --with-pic and --without-pic.
15629 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15630 pic_mode='default'
15632 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15633 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15635 # Possibly disable most of the library.
15636 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15637 ## than just ignoring the results. Faster /and/ more correct, win win.
15639 # Check whether --enable-hosted-libstdcxx was given.
15640 if test "${enable_hosted_libstdcxx+set}" = set; then :
15641 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15642 else
15643 case "$host" in
15644 arm*-*-symbianelf*)
15645 enable_hosted_libstdcxx=no
15648 enable_hosted_libstdcxx=yes
15650 esac
15654 # Because most configure args are --enable-libstdcxx-foo add an alias
15655 # of that form for --enable-hosted-libstdcxx.
15656 # Check whether --enable-libstdcxx-hosted was given.
15657 if test "${enable_libstdcxx_hosted+set}" = set; then :
15658 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15659 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15660 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15662 else
15663 enable_hosted_libstdcxx=${enableval}
15669 freestanding_flags=
15670 if test "$enable_hosted_libstdcxx" = no; then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15672 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15673 is_hosted=no
15674 hosted_define=0
15675 enable_abi_check=no
15676 enable_libstdcxx_pch=no
15677 if test "x$with_headers" = xno; then
15678 freestanding_flags="-ffreestanding"
15680 else
15681 is_hosted=yes
15682 hosted_define=__STDC_HOSTED__
15686 cat >>confdefs.h <<_ACEOF
15687 #define _GLIBCXX_HOSTED $hosted_define
15688 _ACEOF
15690 FREESTANDING_FLAGS="$freestanding_flags"
15694 # Enable descriptive messages to standard output on termination.
15696 # Check whether --enable-libstdcxx-verbose was given.
15697 if test "${enable_libstdcxx_verbose+set}" = set; then :
15698 enableval=$enable_libstdcxx_verbose;
15699 else
15700 enable_libstdcxx_verbose=yes
15703 if test x"$enable_libstdcxx_verbose" = xyes; then
15704 verbose_define=1
15705 else
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15707 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15708 verbose_define=0
15711 cat >>confdefs.h <<_ACEOF
15712 #define _GLIBCXX_VERBOSE $verbose_define
15713 _ACEOF
15717 # Enable compiler support that doesn't require linking.
15719 # Check whether --enable-libstdcxx-pch was given.
15720 if test "${enable_libstdcxx_pch+set}" = set; then :
15721 enableval=$enable_libstdcxx_pch;
15722 case "$enableval" in
15723 yes|no) ;;
15724 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15725 esac
15727 else
15728 enable_libstdcxx_pch=$is_hosted
15732 if test $enable_libstdcxx_pch = yes; then
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15734 $as_echo_n "checking for compiler with PCH support... " >&6; }
15735 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15736 $as_echo_n "(cached) " >&6
15737 else
15738 ac_save_CXXFLAGS="$CXXFLAGS"
15739 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15741 ac_ext=cpp
15742 ac_cpp='$CXXCPP $CPPFLAGS'
15743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15747 echo '#include <math.h>' > conftest.h
15748 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15749 -o conftest.h.gch 1>&5 2>&1 &&
15750 echo '#error "pch failed"' > conftest.h &&
15751 echo '#include "conftest.h"' > conftest.cc &&
15752 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15753 then
15754 glibcxx_cv_prog_CXX_pch=yes
15755 else
15756 glibcxx_cv_prog_CXX_pch=no
15758 rm -f conftest*
15759 CXXFLAGS=$ac_save_CXXFLAGS
15760 ac_ext=c
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15769 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15770 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15774 $as_echo_n "checking for enabled PCH... " >&6; }
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15776 $as_echo "$enable_libstdcxx_pch" >&6; }
15779 if test $enable_libstdcxx_pch = yes; then
15780 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15781 else
15782 glibcxx_PCHFLAGS=""
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15788 $as_echo_n "checking for thread model used by GCC... " >&6; }
15789 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15791 $as_echo "$target_thread_file" >&6; }
15793 case $target_thread_file in
15794 aix) thread_header=config/rs6000/gthr-aix.h ;;
15795 dce) thread_header=config/pa/gthr-dce.h ;;
15796 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15797 lynx) thread_header=config/gthr-lynx.h ;;
15798 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15799 posix) thread_header=gthr-posix.h ;;
15800 rtems) thread_header=config/gthr-rtems.h ;;
15801 single) thread_header=gthr-single.h ;;
15802 tpf) thread_header=config/s390/gthr-tpf.h ;;
15803 vxworks) thread_header=config/gthr-vxworks.h ;;
15804 win32) thread_header=config/i386/gthr-win32.h ;;
15805 esac
15811 ac_ext=cpp
15812 ac_cpp='$CXXCPP $CPPFLAGS'
15813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15817 old_CXXFLAGS="$CXXFLAGS"
15819 # Do link tests if possible, instead asm tests, limited to some platforms
15820 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15821 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15822 atomic_builtins_link_tests=no
15823 if test x$gcc_no_link != xyes; then
15824 # Can do link tests. Limit to some tested platforms
15825 case "$host" in
15826 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15827 atomic_builtins_link_tests=yes
15829 esac
15832 if test x$atomic_builtins_link_tests = xyes; then
15834 # Do link tests.
15836 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15839 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15840 if ${glibcxx_cv_atomic_bool+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15844 if test x$gcc_no_link = xyes; then
15845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15848 /* end confdefs.h. */
15851 main ()
15853 typedef bool atomic_type;
15854 atomic_type c1;
15855 atomic_type c2;
15856 atomic_type c3(0);
15857 // N.B. __atomic_fetch_add is not supported for bool.
15858 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15859 __ATOMIC_RELAXED);
15860 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15861 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15864 return 0;
15866 _ACEOF
15867 if ac_fn_cxx_try_link "$LINENO"; then :
15868 glibcxx_cv_atomic_bool=yes
15869 else
15870 glibcxx_cv_atomic_bool=no
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15877 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15880 $as_echo_n "checking for atomic builtins for short... " >&6; }
15881 if ${glibcxx_cv_atomic_short+:} false; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15885 if test x$gcc_no_link = xyes; then
15886 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15889 /* end confdefs.h. */
15892 main ()
15894 typedef short atomic_type;
15895 atomic_type c1;
15896 atomic_type c2;
15897 atomic_type c3(0);
15898 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15899 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15900 __ATOMIC_RELAXED);
15901 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15902 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15905 return 0;
15907 _ACEOF
15908 if ac_fn_cxx_try_link "$LINENO"; then :
15909 glibcxx_cv_atomic_short=yes
15910 else
15911 glibcxx_cv_atomic_short=no
15913 rm -f core conftest.err conftest.$ac_objext \
15914 conftest$ac_exeext conftest.$ac_ext
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15918 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15921 $as_echo_n "checking for atomic builtins for int... " >&6; }
15922 if ${glibcxx_cv_atomic_int+:} false; then :
15923 $as_echo_n "(cached) " >&6
15924 else
15926 if test x$gcc_no_link = xyes; then
15927 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15933 main ()
15935 typedef int atomic_type;
15936 atomic_type c1;
15937 atomic_type c2;
15938 atomic_type c3(0);
15939 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15940 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15941 __ATOMIC_RELAXED);
15942 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15943 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15946 return 0;
15948 _ACEOF
15949 if ac_fn_cxx_try_link "$LINENO"; then :
15950 glibcxx_cv_atomic_int=yes
15951 else
15952 glibcxx_cv_atomic_int=no
15954 rm -f core conftest.err conftest.$ac_objext \
15955 conftest$ac_exeext conftest.$ac_ext
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15959 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15962 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15963 if ${glibcxx_cv_atomic_long_long+:} false; then :
15964 $as_echo_n "(cached) " >&6
15965 else
15967 if test x$gcc_no_link = xyes; then
15968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15974 main ()
15976 typedef long long atomic_type;
15977 atomic_type c1;
15978 atomic_type c2;
15979 atomic_type c3(0);
15980 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15981 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15982 __ATOMIC_RELAXED);
15983 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15984 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15987 return 0;
15989 _ACEOF
15990 if ac_fn_cxx_try_link "$LINENO"; then :
15991 glibcxx_cv_atomic_long_long=yes
15992 else
15993 glibcxx_cv_atomic_long_long=no
15995 rm -f core conftest.err conftest.$ac_objext \
15996 conftest$ac_exeext conftest.$ac_ext
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16000 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16002 else
16004 # Do asm tests.
16006 # Compile unoptimized.
16007 CXXFLAGS='-O0 -S'
16009 # Fake what AC_TRY_COMPILE does.
16011 cat > conftest.$ac_ext << EOF
16012 #line 16012 "configure"
16013 int main()
16015 typedef bool atomic_type;
16016 atomic_type c1;
16017 atomic_type c2;
16018 atomic_type c3(0);
16019 // N.B. __atomic_fetch_add is not supported for bool.
16020 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16021 __ATOMIC_RELAXED);
16022 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16023 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16025 return 0;
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16030 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16032 (eval $ac_compile) 2>&5
16033 ac_status=$?
16034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16035 test $ac_status = 0; }; then
16036 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16037 glibcxx_cv_atomic_bool=no
16038 else
16039 glibcxx_cv_atomic_bool=yes
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16043 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16044 rm -f conftest*
16046 cat > conftest.$ac_ext << EOF
16047 #line 16047 "configure"
16048 int main()
16050 typedef short atomic_type;
16051 atomic_type c1;
16052 atomic_type c2;
16053 atomic_type c3(0);
16054 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16055 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16056 __ATOMIC_RELAXED);
16057 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16058 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16060 return 0;
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16065 $as_echo_n "checking for atomic builtins for short... " >&6; }
16066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16067 (eval $ac_compile) 2>&5
16068 ac_status=$?
16069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16070 test $ac_status = 0; }; then
16071 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16072 glibcxx_cv_atomic_short=no
16073 else
16074 glibcxx_cv_atomic_short=yes
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16078 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16079 rm -f conftest*
16081 cat > conftest.$ac_ext << EOF
16082 #line 16082 "configure"
16083 int main()
16085 // NB: _Atomic_word not necessarily int.
16086 typedef int atomic_type;
16087 atomic_type c1;
16088 atomic_type c2;
16089 atomic_type c3(0);
16090 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16091 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16092 __ATOMIC_RELAXED);
16093 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16094 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16096 return 0;
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16101 $as_echo_n "checking for atomic builtins for int... " >&6; }
16102 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16103 (eval $ac_compile) 2>&5
16104 ac_status=$?
16105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16106 test $ac_status = 0; }; then
16107 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16108 glibcxx_cv_atomic_int=no
16109 else
16110 glibcxx_cv_atomic_int=yes
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16114 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16115 rm -f conftest*
16117 cat > conftest.$ac_ext << EOF
16118 #line 16118 "configure"
16119 int main()
16121 typedef long long atomic_type;
16122 atomic_type c1;
16123 atomic_type c2;
16124 atomic_type c3(0);
16125 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16126 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16127 __ATOMIC_RELAXED);
16128 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16129 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16131 return 0;
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16136 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16138 (eval $ac_compile) 2>&5
16139 ac_status=$?
16140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16141 test $ac_status = 0; }; then
16142 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16143 glibcxx_cv_atomic_long_long=no
16144 else
16145 glibcxx_cv_atomic_long_long=yes
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16149 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16150 rm -f conftest*
16154 CXXFLAGS="$old_CXXFLAGS"
16155 ac_ext=c
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16162 # Set atomicity_dir to builtins if all but the long long test above passes,
16163 # or if the builtins were already chosen (e.g. by configure.host).
16164 if { test "$glibcxx_cv_atomic_bool" = yes \
16165 && test "$glibcxx_cv_atomic_short" = yes \
16166 && test "$glibcxx_cv_atomic_int" = yes; } \
16167 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16169 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16171 atomicity_dir=cpu/generic/atomicity_builtins
16174 # If still generic, set to mutex.
16175 if test $atomicity_dir = "cpu/generic" ; then
16176 atomicity_dir=cpu/generic/atomicity_mutex
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16178 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16179 if test "x$target_thread_file" = xsingle; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16181 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16183 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16184 else
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16186 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16188 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16196 # Check whether --with-libstdcxx-lock-policy was given.
16197 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16198 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16199 else
16200 libstdcxx_atomic_lock_policy=auto
16204 case "$libstdcxx_atomic_lock_policy" in
16205 atomic|mutex|auto) ;;
16206 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16207 esac
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16209 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16211 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16213 ac_ext=cpp
16214 ac_cpp='$CXXCPP $CPPFLAGS'
16215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16219 ac_save_CXXFLAGS="$CXXFLAGS"
16221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16222 /* end confdefs.h. */
16224 #if defined __riscv
16225 # error "Defaulting to mutex-based locks for ABI compatibility"
16226 #endif
16227 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16228 # error "No 2-byte compare-and-swap"
16229 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16230 # error "No 4-byte compare-and-swap"
16231 #endif
16234 main ()
16238 return 0;
16240 _ACEOF
16241 if ac_fn_cxx_try_compile "$LINENO"; then :
16242 libstdcxx_atomic_lock_policy=atomic
16243 else
16244 libstdcxx_atomic_lock_policy=mutex
16246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16247 ac_ext=c
16248 ac_cpp='$CPP $CPPFLAGS'
16249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16253 CXXFLAGS="$ac_save_CXXFLAGS"
16256 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16258 $as_echo "atomic" >&6; }
16260 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16262 else
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16264 $as_echo "mutex" >&6; }
16270 # Fake what AC_TRY_COMPILE does, without linking as this is
16271 # unnecessary for this test.
16273 cat > conftest.$ac_ext << EOF
16274 #line 16274 "configure"
16275 int main()
16277 _Decimal32 d1;
16278 _Decimal64 d2;
16279 _Decimal128 d3;
16280 return 0;
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16285 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16286 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16287 (eval $ac_compile) 2>&5
16288 ac_status=$?
16289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16290 test $ac_status = 0; }; then
16292 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16294 enable_dfp=yes
16295 else
16296 enable_dfp=no
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16299 $as_echo "$enable_dfp" >&6; }
16300 rm -f conftest*
16305 ac_ext=cpp
16306 ac_cpp='$CXXCPP $CPPFLAGS'
16307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16312 # Fake what AC_TRY_COMPILE does, without linking as this is
16313 # unnecessary for this test.
16315 cat > conftest.$ac_ext << EOF
16316 #line 16316 "configure"
16317 template<typename T1, typename T2>
16318 struct same
16319 { typedef T2 type; };
16321 template<typename T>
16322 struct same<T, T>;
16324 int main()
16326 typename same<double, __float128>::type f1;
16327 typename same<long double, __float128>::type f2;
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16332 $as_echo_n "checking for __float128... " >&6; }
16333 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16334 (eval $ac_compile) 2>&5
16335 ac_status=$?
16336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16337 test $ac_status = 0; }; then
16338 enable_float128=yes
16339 else
16340 enable_float128=no
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16343 $as_echo "$enable_float128" >&6; }
16345 rm -f conftest*
16347 ac_ext=c
16348 ac_cpp='$CPP $CPPFLAGS'
16349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16354 if test "$enable_float128" = yes; then
16355 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16358 # Checks for compiler support that doesn't require linking.
16360 # All these tests are for C++; save the language and the compiler flags.
16361 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16362 # found in GLIBCXX_CONFIGURE.
16364 ac_ext=cpp
16365 ac_cpp='$CXXCPP $CPPFLAGS'
16366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16370 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16371 ac_save_CXXFLAGS="$CXXFLAGS"
16373 # Check for -ffunction-sections -fdata-sections
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16375 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16376 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16379 int foo; void bar() { };
16381 main ()
16385 return 0;
16387 _ACEOF
16388 if ac_fn_cxx_try_compile "$LINENO"; then :
16389 ac_fdsections=yes
16390 else
16391 ac_fdsections=no
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394 if test "$ac_test_CXXFLAGS" = set; then
16395 CXXFLAGS="$ac_save_CXXFLAGS"
16396 else
16397 # this is the suspicious part
16398 CXXFLAGS=''
16400 if test x"$ac_fdsections" = x"yes"; then
16401 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16404 $as_echo "$ac_fdsections" >&6; }
16406 ac_ext=c
16407 ac_cpp='$CPP $CPPFLAGS'
16408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16415 # Enable all the variable C++ runtime options that don't require linking.
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16418 $as_echo_n "checking for underlying I/O to use... " >&6; }
16419 # Check whether --enable-cstdio was given.
16420 if test "${enable_cstdio+set}" = set; then :
16421 enableval=$enable_cstdio;
16422 case "$enableval" in
16423 stdio|stdio_posix|stdio_pure) ;;
16424 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16425 esac
16427 else
16428 enable_cstdio=stdio
16433 # The only available I/O model is based on stdio, via basic_file_stdio.
16434 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16435 # to get a file descriptor and then uses read(3) and write(3) with it.
16436 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16437 case ${enable_cstdio} in
16438 stdio*)
16439 CSTDIO_H=config/io/c_io_stdio.h
16440 BASIC_FILE_H=config/io/basic_file_stdio.h
16441 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16443 if test "x$enable_cstdio" = "xstdio_pure" ; then
16444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16445 $as_echo "stdio (without POSIX read/write)" >&6; }
16447 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16449 else
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16451 $as_echo "stdio (with POSIX read/write)" >&6; }
16454 esac
16461 # Check whether --enable-clocale was given.
16462 if test "${enable_clocale+set}" = set; then :
16463 enableval=$enable_clocale;
16464 case "$enableval" in
16465 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16466 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16467 esac
16469 else
16470 enable_clocale=auto
16475 # Deal with gettext issues. Default to not using it (=no) until we detect
16476 # support for it later. Let the user turn it off via --e/d, but let that
16477 # default to on for easier handling.
16478 USE_NLS=no
16479 # Check whether --enable-nls was given.
16480 if test "${enable_nls+set}" = set; then :
16481 enableval=$enable_nls;
16482 else
16483 enable_nls=yes
16487 # Either a known package, or "auto"
16488 if test $enable_clocale = no || test $enable_clocale = yes; then
16489 enable_clocale=auto
16491 enable_clocale_flag=$enable_clocale
16493 # Probe for locale model to use if none specified.
16494 # Default to "generic".
16495 if test $enable_clocale_flag = auto; then
16496 case ${target_os} in
16497 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16498 enable_clocale_flag=gnu
16500 darwin*)
16501 enable_clocale_flag=darwin
16503 vxworks*)
16504 enable_clocale_flag=vxworks
16506 dragonfly* | freebsd*)
16507 enable_clocale_flag=dragonfly
16509 openbsd*)
16510 enable_clocale_flag=newlib
16513 if test x"$with_newlib" = x"yes"; then
16514 enable_clocale_flag=newlib
16515 else
16516 enable_clocale_flag=generic
16519 esac
16522 # Sanity check model, and test for special functionality.
16523 if test $enable_clocale_flag = gnu; then
16524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16525 /* end confdefs.h. */
16527 #include <features.h>
16528 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16529 _GLIBCXX_ok
16530 #endif
16532 _ACEOF
16533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16534 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16535 enable_clocale_flag=gnu
16536 else
16537 enable_clocale_flag=generic
16539 rm -f conftest*
16542 # Set it to scream when it hurts.
16543 ac_save_CFLAGS="$CFLAGS"
16544 CFLAGS="-Wimplicit-function-declaration -Werror"
16546 # Use strxfrm_l if available.
16547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16548 /* end confdefs.h. */
16549 #define _GNU_SOURCE 1
16550 #include <string.h>
16551 #include <locale.h>
16553 main ()
16555 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16557 return 0;
16559 _ACEOF
16560 if ac_fn_c_try_compile "$LINENO"; then :
16562 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16567 # Use strerror_l if available.
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16570 #define _GNU_SOURCE 1
16571 #include <string.h>
16572 #include <locale.h>
16574 main ()
16576 __locale_t loc; strerror_l(5, loc);
16578 return 0;
16580 _ACEOF
16581 if ac_fn_c_try_compile "$LINENO"; then :
16583 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16588 CFLAGS="$ac_save_CFLAGS"
16591 # Perhaps use strerror_r if available, and strerror_l isn't.
16592 ac_save_CFLAGS="$CFLAGS"
16593 CFLAGS="-Wimplicit-function-declaration -Werror"
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16596 #define _GNU_SOURCE 1
16597 #include <string.h>
16598 #include <locale.h>
16600 main ()
16602 char s[128]; strerror_r(5, s, 128);
16604 return 0;
16606 _ACEOF
16607 if ac_fn_c_try_compile "$LINENO"; then :
16609 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16613 CFLAGS="$ac_save_CFLAGS"
16615 # Set configure bits for specified locale package
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16617 $as_echo_n "checking for C locale to use... " >&6; }
16618 case ${enable_clocale_flag} in
16619 generic)
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16621 $as_echo "generic" >&6; }
16623 CLOCALE_H=config/locale/generic/c_locale.h
16624 CLOCALE_CC=config/locale/generic/c_locale.cc
16625 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16626 CCOLLATE_CC=config/locale/generic/collate_members.cc
16627 CCTYPE_CC=config/locale/generic/ctype_members.cc
16628 CMESSAGES_H=config/locale/generic/messages_members.h
16629 CMESSAGES_CC=config/locale/generic/messages_members.cc
16630 CMONEY_CC=config/locale/generic/monetary_members.cc
16631 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16632 CTIME_H=config/locale/generic/time_members.h
16633 CTIME_CC=config/locale/generic/time_members.cc
16634 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16636 darwin)
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16638 $as_echo "darwin" >&6; }
16640 CLOCALE_H=config/locale/generic/c_locale.h
16641 CLOCALE_CC=config/locale/generic/c_locale.cc
16642 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16643 CCOLLATE_CC=config/locale/generic/collate_members.cc
16644 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16645 CMESSAGES_H=config/locale/generic/messages_members.h
16646 CMESSAGES_CC=config/locale/generic/messages_members.cc
16647 CMONEY_CC=config/locale/generic/monetary_members.cc
16648 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16649 CTIME_H=config/locale/generic/time_members.h
16650 CTIME_CC=config/locale/generic/time_members.cc
16651 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16653 vxworks)
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16655 $as_echo "vxworks" >&6; }
16657 CLOCALE_H=config/locale/generic/c_locale.h
16658 CLOCALE_CC=config/locale/generic/c_locale.cc
16659 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16660 CCOLLATE_CC=config/locale/generic/collate_members.cc
16661 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16662 CMESSAGES_H=config/locale/generic/messages_members.h
16663 CMESSAGES_CC=config/locale/generic/messages_members.cc
16664 CMONEY_CC=config/locale/generic/monetary_members.cc
16665 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16666 CTIME_H=config/locale/generic/time_members.h
16667 CTIME_CC=config/locale/generic/time_members.cc
16668 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16670 dragonfly)
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16672 $as_echo "dragonfly or freebsd" >&6; }
16674 CLOCALE_H=config/locale/dragonfly/c_locale.h
16675 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16676 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16677 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16678 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16679 CMESSAGES_H=config/locale/generic/messages_members.h
16680 CMESSAGES_CC=config/locale/generic/messages_members.cc
16681 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16682 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16683 CTIME_H=config/locale/dragonfly/time_members.h
16684 CTIME_CC=config/locale/dragonfly/time_members.cc
16685 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16688 gnu)
16689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16690 $as_echo "gnu" >&6; }
16692 # Declare intention to use gettext, and add support for specific
16693 # languages.
16694 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16695 ALL_LINGUAS="de fr"
16697 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16698 # Extract the first word of "msgfmt", so it can be a program name with args.
16699 set dummy msgfmt; ac_word=$2
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16701 $as_echo_n "checking for $ac_word... " >&6; }
16702 if ${ac_cv_prog_check_msgfmt+:} false; then :
16703 $as_echo_n "(cached) " >&6
16704 else
16705 if test -n "$check_msgfmt"; then
16706 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16707 else
16708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16709 for as_dir in $PATH
16711 IFS=$as_save_IFS
16712 test -z "$as_dir" && as_dir=.
16713 for ac_exec_ext in '' $ac_executable_extensions; do
16714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16715 ac_cv_prog_check_msgfmt="yes"
16716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16717 break 2
16719 done
16720 done
16721 IFS=$as_save_IFS
16723 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16726 check_msgfmt=$ac_cv_prog_check_msgfmt
16727 if test -n "$check_msgfmt"; then
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16729 $as_echo "$check_msgfmt" >&6; }
16730 else
16731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16732 $as_echo "no" >&6; }
16736 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16737 USE_NLS=yes
16739 # Export the build objects.
16740 for ling in $ALL_LINGUAS; do \
16741 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16742 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16743 done
16747 CLOCALE_H=config/locale/gnu/c_locale.h
16748 CLOCALE_CC=config/locale/gnu/c_locale.cc
16749 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16750 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16751 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16752 CMESSAGES_H=config/locale/gnu/messages_members.h
16753 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16754 CMONEY_CC=config/locale/gnu/monetary_members.cc
16755 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16756 CTIME_H=config/locale/gnu/time_members.h
16757 CTIME_CC=config/locale/gnu/time_members.cc
16758 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16760 ieee_1003.1-2001)
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16762 $as_echo "IEEE 1003.1" >&6; }
16764 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16765 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16766 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16767 CCOLLATE_CC=config/locale/generic/collate_members.cc
16768 CCTYPE_CC=config/locale/generic/ctype_members.cc
16769 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16770 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16771 CMONEY_CC=config/locale/generic/monetary_members.cc
16772 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16773 CTIME_H=config/locale/generic/time_members.h
16774 CTIME_CC=config/locale/generic/time_members.cc
16775 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16777 newlib)
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16779 $as_echo "newlib" >&6; }
16781 CLOCALE_H=config/locale/generic/c_locale.h
16782 CLOCALE_CC=config/locale/generic/c_locale.cc
16783 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16784 CCOLLATE_CC=config/locale/generic/collate_members.cc
16785 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16786 CMESSAGES_H=config/locale/generic/messages_members.h
16787 CMESSAGES_CC=config/locale/generic/messages_members.cc
16788 CMONEY_CC=config/locale/generic/monetary_members.cc
16789 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16790 CTIME_H=config/locale/generic/time_members.h
16791 CTIME_CC=config/locale/generic/time_members.cc
16792 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16794 esac
16796 # This is where the testsuite looks for locale catalogs, using the
16797 # -DLOCALEDIR define during testsuite compilation.
16798 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16801 # A standalone libintl (e.g., GNU libintl) may be in use.
16802 if test $USE_NLS = yes; then
16803 for ac_header in libintl.h
16804 do :
16805 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16806 if test "x$ac_cv_header_libintl_h" = xyes; then :
16807 cat >>confdefs.h <<_ACEOF
16808 #define HAVE_LIBINTL_H 1
16809 _ACEOF
16811 else
16812 USE_NLS=no
16815 done
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16818 $as_echo_n "checking for library containing gettext... " >&6; }
16819 if ${ac_cv_search_gettext+:} false; then :
16820 $as_echo_n "(cached) " >&6
16821 else
16822 ac_func_search_save_LIBS=$LIBS
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h. */
16826 /* Override any GCC internal prototype to avoid an error.
16827 Use char because int might match the return type of a GCC
16828 builtin and then its argument prototype would still apply. */
16829 #ifdef __cplusplus
16830 extern "C"
16831 #endif
16832 char gettext ();
16834 main ()
16836 return gettext ();
16838 return 0;
16840 _ACEOF
16841 for ac_lib in '' intl; do
16842 if test -z "$ac_lib"; then
16843 ac_res="none required"
16844 else
16845 ac_res=-l$ac_lib
16846 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16848 if test x$gcc_no_link = xyes; then
16849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16851 if ac_fn_c_try_link "$LINENO"; then :
16852 ac_cv_search_gettext=$ac_res
16854 rm -f core conftest.err conftest.$ac_objext \
16855 conftest$ac_exeext
16856 if ${ac_cv_search_gettext+:} false; then :
16857 break
16859 done
16860 if ${ac_cv_search_gettext+:} false; then :
16862 else
16863 ac_cv_search_gettext=no
16865 rm conftest.$ac_ext
16866 LIBS=$ac_func_search_save_LIBS
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16869 $as_echo "$ac_cv_search_gettext" >&6; }
16870 ac_res=$ac_cv_search_gettext
16871 if test "$ac_res" != no; then :
16872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16874 else
16875 USE_NLS=no
16879 if test $USE_NLS = yes; then
16881 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16901 $as_echo_n "checking for std::allocator base class... " >&6; }
16902 # Check whether --enable-libstdcxx-allocator was given.
16903 if test "${enable_libstdcxx_allocator+set}" = set; then :
16904 enableval=$enable_libstdcxx_allocator;
16905 case "$enableval" in
16906 new|malloc|yes|no|auto) ;;
16907 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16908 esac
16910 else
16911 enable_libstdcxx_allocator=auto
16916 # If they didn't use this option switch, or if they specified --enable
16917 # with no specific model, we'll have to look for one. If they
16918 # specified --disable (???), do likewise.
16919 if test $enable_libstdcxx_allocator = no ||
16920 test $enable_libstdcxx_allocator = yes;
16921 then
16922 enable_libstdcxx_allocator=auto
16925 # Either a known package, or "auto". Auto implies the default choice
16926 # for a particular platform.
16927 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16929 # Probe for host-specific support if no specific model is specified.
16930 # Default to "new".
16931 if test $enable_libstdcxx_allocator_flag = auto; then
16932 case ${target_os} in
16933 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16934 enable_libstdcxx_allocator_flag=new
16937 enable_libstdcxx_allocator_flag=new
16939 esac
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16942 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16945 # Set configure bits for specified locale package
16946 case ${enable_libstdcxx_allocator_flag} in
16947 malloc)
16948 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16949 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16951 new)
16952 ALLOCATOR_H=config/allocator/new_allocator_base.h
16953 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16955 esac
16962 # Check whether --enable-cheaders-obsolete was given.
16963 if test "${enable_cheaders_obsolete+set}" = set; then :
16964 enableval=$enable_cheaders_obsolete;
16965 case "$enableval" in
16966 yes|no) ;;
16967 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16968 esac
16970 else
16971 enable_cheaders_obsolete=no
16975 # Check whether --enable-cheaders was given.
16976 if test "${enable_cheaders+set}" = set; then :
16977 enableval=$enable_cheaders;
16978 case "$enableval" in
16979 c|c_global|c_std) ;;
16980 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16981 esac
16983 else
16984 enable_cheaders=$c_model
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16989 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16990 if test $enable_cheaders = c_std ; then
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16992 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16993 { $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
16994 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16995 if test $enable_cheaders_obsolete != yes ; then
16996 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17000 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17002 # Allow overrides to configure.host here.
17003 if test $enable_cheaders = c_global; then
17004 c_compatibility=yes
17013 # Check whether --enable-long-long was given.
17014 if test "${enable_long_long+set}" = set; then :
17015 enableval=$enable_long_long;
17016 case "$enableval" in
17017 yes|no) ;;
17018 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17019 esac
17021 else
17022 enable_long_long=yes
17026 if test $enable_long_long = yes; then
17028 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17032 $as_echo_n "checking for enabled long long specializations... " >&6; }
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17034 $as_echo "$enable_long_long" >&6; }
17037 # Check whether --enable-wchar_t was given.
17038 if test "${enable_wchar_t+set}" = set; then :
17039 enableval=$enable_wchar_t;
17040 case "$enableval" in
17041 yes|no) ;;
17042 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17043 esac
17045 else
17046 enable_wchar_t=yes
17051 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17052 for ac_header in wchar.h
17053 do :
17054 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17055 if test "x$ac_cv_header_wchar_h" = xyes; then :
17056 cat >>confdefs.h <<_ACEOF
17057 #define HAVE_WCHAR_H 1
17058 _ACEOF
17059 ac_has_wchar_h=yes
17060 else
17061 ac_has_wchar_h=no
17064 done
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17067 $as_echo_n "checking for mbstate_t... " >&6; }
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <wchar.h>
17072 main ()
17074 mbstate_t teststate;
17076 return 0;
17078 _ACEOF
17079 if ac_fn_c_try_compile "$LINENO"; then :
17080 have_mbstate_t=yes
17081 else
17082 have_mbstate_t=no
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17086 $as_echo "$have_mbstate_t" >&6; }
17087 if test x"$have_mbstate_t" = xyes; then
17089 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17093 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17094 # ac_has_wchar_h.
17095 for ac_header in wctype.h
17096 do :
17097 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17098 if test "x$ac_cv_header_wctype_h" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_WCTYPE_H 1
17101 _ACEOF
17102 ac_has_wctype_h=yes
17103 else
17104 ac_has_wctype_h=no
17107 done
17110 if test x"$enable_wchar_t" = x"yes"; then
17113 ac_ext=cpp
17114 ac_cpp='$CXXCPP $CPPFLAGS'
17115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17120 if test x"$ac_has_wchar_h" = xyes &&
17121 test x"$ac_has_wctype_h" = xyes; then
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 #include <stddef.h>
17126 wint_t i;
17127 long l = WEOF;
17128 long j = WCHAR_MIN;
17129 long k = WCHAR_MAX;
17130 namespace test
17132 using ::btowc;
17133 using ::fgetwc;
17134 using ::fgetws;
17135 using ::fputwc;
17136 using ::fputws;
17137 using ::fwide;
17138 using ::fwprintf;
17139 using ::fwscanf;
17140 using ::getwc;
17141 using ::getwchar;
17142 using ::mbrlen;
17143 using ::mbrtowc;
17144 using ::mbsinit;
17145 using ::mbsrtowcs;
17146 using ::putwc;
17147 using ::putwchar;
17148 using ::swprintf;
17149 using ::swscanf;
17150 using ::ungetwc;
17151 using ::vfwprintf;
17152 using ::vswprintf;
17153 using ::vwprintf;
17154 using ::wcrtomb;
17155 using ::wcscat;
17156 using ::wcschr;
17157 using ::wcscmp;
17158 using ::wcscoll;
17159 using ::wcscpy;
17160 using ::wcscspn;
17161 using ::wcsftime;
17162 using ::wcslen;
17163 using ::wcsncat;
17164 using ::wcsncmp;
17165 using ::wcsncpy;
17166 using ::wcspbrk;
17167 using ::wcsrchr;
17168 using ::wcsrtombs;
17169 using ::wcsspn;
17170 using ::wcsstr;
17171 using ::wcstod;
17172 using ::wcstok;
17173 using ::wcstol;
17174 using ::wcstoul;
17175 using ::wcsxfrm;
17176 using ::wctob;
17177 using ::wmemchr;
17178 using ::wmemcmp;
17179 using ::wmemcpy;
17180 using ::wmemmove;
17181 using ::wmemset;
17182 using ::wprintf;
17183 using ::wscanf;
17187 main ()
17191 return 0;
17193 _ACEOF
17194 if ac_fn_cxx_try_compile "$LINENO"; then :
17196 else
17197 enable_wchar_t=no
17199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 else
17201 enable_wchar_t=no
17204 ac_ext=c
17205 ac_cpp='$CPP $CPPFLAGS'
17206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17212 if test x"$enable_wchar_t" = x"yes"; then
17214 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17219 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17221 $as_echo "$enable_wchar_t" >&6; }
17225 # Check whether --enable-c99 was given.
17226 if test "${enable_c99+set}" = set; then :
17227 enableval=$enable_c99;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17231 esac
17233 else
17234 enable_c99=yes
17239 if test x"$enable_c99" = x"yes"; then
17241 ac_ext=cpp
17242 ac_cpp='$CXXCPP $CPPFLAGS'
17243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17249 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17250 # to be spuriously enabled.
17251 ac_save_CXXFLAGS="$CXXFLAGS"
17252 CXXFLAGS="$CXXFLAGS -std=c++98"
17253 ac_save_LIBS="$LIBS"
17254 ac_save_gcc_no_link="$gcc_no_link"
17256 if test x$gcc_no_link != xyes; then
17257 # Use -fno-exceptions to that the C driver can link these tests without
17258 # hitting undefined references to personality routines.
17259 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17261 $as_echo_n "checking for sin in -lm... " >&6; }
17262 if ${ac_cv_lib_m_sin+:} false; then :
17263 $as_echo_n "(cached) " >&6
17264 else
17265 ac_check_lib_save_LIBS=$LIBS
17266 LIBS="-lm $LIBS"
17267 if test x$gcc_no_link = xyes; then
17268 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17273 /* Override any GCC internal prototype to avoid an error.
17274 Use char because int might match the return type of a GCC
17275 builtin and then its argument prototype would still apply. */
17276 #ifdef __cplusplus
17277 extern "C"
17278 #endif
17279 char sin ();
17281 main ()
17283 return sin ();
17285 return 0;
17287 _ACEOF
17288 if ac_fn_cxx_try_link "$LINENO"; then :
17289 ac_cv_lib_m_sin=yes
17290 else
17291 ac_cv_lib_m_sin=no
17293 rm -f core conftest.err conftest.$ac_objext \
17294 conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17298 $as_echo "$ac_cv_lib_m_sin" >&6; }
17299 if test "x$ac_cv_lib_m_sin" = xyes; then :
17300 LIBS="$LIBS -lm"
17301 else
17303 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17304 gcc_no_link=yes
17310 # Check for the existence of <math.h> functions used if C99 is enabled.
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17312 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17313 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17317 if test x$gcc_no_link = xyes; then
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h. */
17320 #include <math.h>
17321 volatile double d1, d2;
17322 volatile int i;
17324 main ()
17326 i = fpclassify(d1);
17327 i = isfinite(d1);
17328 i = isinf(d1);
17329 i = isnan(d1);
17330 i = isnormal(d1);
17331 i = signbit(d1);
17332 i = isgreater(d1, d2);
17333 i = isgreaterequal(d1, d2);
17334 i = isless(d1, d2);
17335 i = islessequal(d1, d2);
17336 i = islessgreater(d1, d2);
17337 i = islessgreater(d1, d2);
17338 i = isunordered(d1, d2);
17341 return 0;
17343 _ACEOF
17344 if ac_fn_cxx_try_compile "$LINENO"; then :
17345 glibcxx_cv_c99_math_cxx98=yes
17346 else
17347 glibcxx_cv_c99_math_cxx98=no
17349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17350 else
17351 if test x$gcc_no_link = xyes; then
17352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17355 /* end confdefs.h. */
17356 #include <math.h>
17357 volatile double d1, d2;
17358 volatile int i;
17360 main ()
17362 i = fpclassify(d1);
17363 i = isfinite(d1);
17364 i = isinf(d1);
17365 i = isnan(d1);
17366 i = isnormal(d1);
17367 i = signbit(d1);
17368 i = isgreater(d1, d2);
17369 i = isgreaterequal(d1, d2);
17370 i = isless(d1, d2);
17371 i = islessequal(d1, d2);
17372 i = islessgreater(d1, d2);
17373 i = islessgreater(d1, d2);
17374 i = isunordered(d1, d2);
17377 return 0;
17379 _ACEOF
17380 if ac_fn_cxx_try_link "$LINENO"; then :
17381 glibcxx_cv_c99_math_cxx98=yes
17382 else
17383 glibcxx_cv_c99_math_cxx98=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17391 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17392 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17394 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17398 # Check for the existence of <complex.h> complex math functions.
17399 # This is necessary even though libstdc++ uses the builtin versions
17400 # of these functions, because if the builtin cannot be used, a reference
17401 # to the library function is emitted.
17402 for ac_header in tgmath.h
17403 do :
17404 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17405 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_TGMATH_H 1
17408 _ACEOF
17409 ac_has_tgmath_h=yes
17410 else
17411 ac_has_tgmath_h=no
17414 done
17416 for ac_header in complex.h
17417 do :
17418 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17419 if test "x$ac_cv_header_complex_h" = xyes; then :
17420 cat >>confdefs.h <<_ACEOF
17421 #define HAVE_COMPLEX_H 1
17422 _ACEOF
17423 ac_has_complex_h=yes
17424 else
17425 ac_has_complex_h=no
17428 done
17430 if test x"$ac_has_complex_h" = x"yes"; then
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17432 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17433 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17437 if test x$gcc_no_link = xyes; then
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #include <complex.h>
17441 typedef __complex__ float float_type;
17442 typedef __complex__ double double_type;
17443 typedef __complex__ long double ld_type;
17444 volatile float_type tmpf;
17445 volatile double_type tmpd;
17446 volatile ld_type tmpld;
17447 volatile float f;
17448 volatile double d;
17449 volatile long double ld;
17451 main ()
17453 f = cabsf(tmpf);
17454 f = cargf(tmpf);
17455 tmpf = ccosf(tmpf);
17456 tmpf = ccoshf(tmpf);
17457 tmpf = cexpf(tmpf);
17458 tmpf = clogf(tmpf);
17459 tmpf = csinf(tmpf);
17460 tmpf = csinhf(tmpf);
17461 tmpf = csqrtf(tmpf);
17462 tmpf = ctanf(tmpf);
17463 tmpf = ctanhf(tmpf);
17464 tmpf = cpowf(tmpf, tmpf);
17465 tmpf = cprojf(tmpf);
17466 d = cabs(tmpd);
17467 d = carg(tmpd);
17468 tmpd = ccos(tmpd);
17469 tmpd = ccosh(tmpd);
17470 tmpd = cexp(tmpd);
17471 tmpd = clog(tmpd);
17472 tmpd = csin(tmpd);
17473 tmpd = csinh(tmpd);
17474 tmpd = csqrt(tmpd);
17475 tmpd = ctan(tmpd);
17476 tmpd = ctanh(tmpd);
17477 tmpd = cpow(tmpd, tmpd);
17478 tmpd = cproj(tmpd);
17479 ld = cabsl(tmpld);
17480 ld = cargl(tmpld);
17481 tmpld = ccosl(tmpld);
17482 tmpld = ccoshl(tmpld);
17483 tmpld = cexpl(tmpld);
17484 tmpld = clogl(tmpld);
17485 tmpld = csinl(tmpld);
17486 tmpld = csinhl(tmpld);
17487 tmpld = csqrtl(tmpld);
17488 tmpld = ctanl(tmpld);
17489 tmpld = ctanhl(tmpld);
17490 tmpld = cpowl(tmpld, tmpld);
17491 tmpld = cprojl(tmpld);
17494 return 0;
17496 _ACEOF
17497 if ac_fn_cxx_try_compile "$LINENO"; then :
17498 glibcxx_cv_c99_complex_cxx98=yes
17499 else
17500 glibcxx_cv_c99_complex_cxx98=no
17502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17503 else
17504 if test x$gcc_no_link = xyes; then
17505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <complex.h>
17510 typedef __complex__ float float_type;
17511 typedef __complex__ double double_type;
17512 typedef __complex__ long double ld_type;
17513 volatile float_type tmpf;
17514 volatile double_type tmpd;
17515 volatile ld_type tmpld;
17516 volatile float f;
17517 volatile double d;
17518 volatile long double ld;
17520 main ()
17522 f = cabsf(tmpf);
17523 f = cargf(tmpf);
17524 tmpf = ccosf(tmpf);
17525 tmpf = ccoshf(tmpf);
17526 tmpf = cexpf(tmpf);
17527 tmpf = clogf(tmpf);
17528 tmpf = csinf(tmpf);
17529 tmpf = csinhf(tmpf);
17530 tmpf = csqrtf(tmpf);
17531 tmpf = ctanf(tmpf);
17532 tmpf = ctanhf(tmpf);
17533 tmpf = cpowf(tmpf, tmpf);
17534 tmpf = cprojf(tmpf);
17535 d = cabs(tmpd);
17536 d = carg(tmpd);
17537 tmpd = ccos(tmpd);
17538 tmpd = ccosh(tmpd);
17539 tmpd = cexp(tmpd);
17540 tmpd = clog(tmpd);
17541 tmpd = csin(tmpd);
17542 tmpd = csinh(tmpd);
17543 tmpd = csqrt(tmpd);
17544 tmpd = ctan(tmpd);
17545 tmpd = ctanh(tmpd);
17546 tmpd = cpow(tmpd, tmpd);
17547 tmpd = cproj(tmpd);
17548 ld = cabsl(tmpld);
17549 ld = cargl(tmpld);
17550 tmpld = ccosl(tmpld);
17551 tmpld = ccoshl(tmpld);
17552 tmpld = cexpl(tmpld);
17553 tmpld = clogl(tmpld);
17554 tmpld = csinl(tmpld);
17555 tmpld = csinhl(tmpld);
17556 tmpld = csqrtl(tmpld);
17557 tmpld = ctanl(tmpld);
17558 tmpld = ctanhl(tmpld);
17559 tmpld = cpowl(tmpld, tmpld);
17560 tmpld = cprojl(tmpld);
17563 return 0;
17565 _ACEOF
17566 if ac_fn_cxx_try_link "$LINENO"; then :
17567 glibcxx_cv_c99_complex_cxx98=yes
17568 else
17569 glibcxx_cv_c99_complex_cxx98=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17577 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17579 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17581 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17585 # Check for the existence in <stdio.h> of vscanf, et. al.
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17587 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17588 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17592 if test x$gcc_no_link = xyes; then
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17595 #include <stdio.h>
17596 #include <stdarg.h>
17597 void foo(char* fmt, ...)
17599 va_list args; va_start(args, fmt);
17600 vfscanf(stderr, "%i", args);
17601 vscanf("%i", args);
17602 vsnprintf(fmt, 0, "%i", args);
17603 vsscanf(fmt, "%i", args);
17604 snprintf(fmt, 0, "%i");
17607 main ()
17611 return 0;
17613 _ACEOF
17614 if ac_fn_cxx_try_compile "$LINENO"; then :
17615 glibcxx_cv_c99_stdio_cxx98=yes
17616 else
17617 glibcxx_cv_c99_stdio_cxx98=no
17619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17620 else
17621 if test x$gcc_no_link = xyes; then
17622 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17626 #include <stdio.h>
17627 #include <stdarg.h>
17628 void foo(char* fmt, ...)
17630 va_list args; va_start(args, fmt);
17631 vfscanf(stderr, "%i", args);
17632 vscanf("%i", args);
17633 vsnprintf(fmt, 0, "%i", args);
17634 vsscanf(fmt, "%i", args);
17635 snprintf(fmt, 0, "%i");
17638 main ()
17642 return 0;
17644 _ACEOF
17645 if ac_fn_cxx_try_link "$LINENO"; then :
17646 glibcxx_cv_c99_stdio_cxx98=yes
17647 else
17648 glibcxx_cv_c99_stdio_cxx98=no
17650 rm -f core conftest.err conftest.$ac_objext \
17651 conftest$ac_exeext conftest.$ac_ext
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17656 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17657 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17659 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17663 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17665 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17666 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17670 if test x$gcc_no_link = xyes; then
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <stdlib.h>
17674 volatile float f;
17675 volatile long double ld;
17676 volatile unsigned long long ll;
17677 lldiv_t mydivt;
17679 main ()
17681 char* tmp;
17682 f = strtof("gnu", &tmp);
17683 ld = strtold("gnu", &tmp);
17684 ll = strtoll("gnu", &tmp, 10);
17685 ll = strtoull("gnu", &tmp, 10);
17686 ll = llabs(10);
17687 mydivt = lldiv(10,1);
17688 ll = mydivt.quot;
17689 ll = mydivt.rem;
17690 ll = atoll("10");
17691 _Exit(0);
17694 return 0;
17696 _ACEOF
17697 if ac_fn_cxx_try_compile "$LINENO"; then :
17698 glibcxx_cv_c99_stdlib_cxx98=yes
17699 else
17700 glibcxx_cv_c99_stdlib_cxx98=no
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703 else
17704 if test x$gcc_no_link = xyes; then
17705 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17709 #include <stdlib.h>
17710 volatile float f;
17711 volatile long double ld;
17712 volatile unsigned long long ll;
17713 lldiv_t mydivt;
17715 main ()
17717 char* tmp;
17718 f = strtof("gnu", &tmp);
17719 ld = strtold("gnu", &tmp);
17720 ll = strtoll("gnu", &tmp, 10);
17721 ll = strtoull("gnu", &tmp, 10);
17722 ll = llabs(10);
17723 mydivt = lldiv(10,1);
17724 ll = mydivt.quot;
17725 ll = mydivt.rem;
17726 ll = atoll("10");
17727 _Exit(0);
17730 return 0;
17732 _ACEOF
17733 if ac_fn_cxx_try_link "$LINENO"; then :
17734 glibcxx_cv_c99_stdlib_cxx98=yes
17735 else
17736 glibcxx_cv_c99_stdlib_cxx98=no
17738 rm -f core conftest.err conftest.$ac_objext \
17739 conftest$ac_exeext conftest.$ac_ext
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17744 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17745 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17747 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17751 # Check for the existence in <wchar.h> of wcstold, etc.
17752 if test x"$ac_has_wchar_h" = xyes &&
17753 test x"$ac_has_wctype_h" = xyes; then
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17755 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17756 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <wchar.h>
17763 namespace test
17765 using ::wcstold;
17766 using ::wcstoll;
17767 using ::wcstoull;
17771 main ()
17775 return 0;
17777 _ACEOF
17778 if ac_fn_cxx_try_compile "$LINENO"; then :
17779 glibcxx_cv_c99_wchar_cxx98=yes
17780 else
17781 glibcxx_cv_c99_wchar_cxx98=no
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17787 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17789 # Checks for wide character functions that may not be present.
17790 # Injection of these is wrapped with guard macros.
17791 # NB: only put functions here, instead of immediately above, if
17792 # absolutely necessary.
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <wchar.h>
17796 namespace test { using ::vfwscanf; }
17798 main ()
17802 return 0;
17804 _ACEOF
17805 if ac_fn_cxx_try_compile "$LINENO"; then :
17807 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17814 #include <wchar.h>
17815 namespace test { using ::vswscanf; }
17817 main ()
17821 return 0;
17823 _ACEOF
17824 if ac_fn_cxx_try_compile "$LINENO"; then :
17826 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17832 /* end confdefs.h. */
17833 #include <wchar.h>
17834 namespace test { using ::vwscanf; }
17836 main ()
17840 return 0;
17842 _ACEOF
17843 if ac_fn_cxx_try_compile "$LINENO"; then :
17845 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 #include <wchar.h>
17853 namespace test { using ::wcstof; }
17855 main ()
17859 return 0;
17861 _ACEOF
17862 if ac_fn_cxx_try_compile "$LINENO"; then :
17864 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <wctype.h>
17873 main ()
17875 wint_t t; int i = iswblank(t);
17877 return 0;
17879 _ACEOF
17880 if ac_fn_cxx_try_compile "$LINENO"; then :
17882 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17889 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17894 # Option parsed, now set things appropriately.
17895 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17896 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17897 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17898 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17899 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17900 enable_c99=no;
17901 else
17903 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17907 gcc_no_link="$ac_save_gcc_no_link"
17908 LIBS="$ac_save_LIBS"
17909 CXXFLAGS="$ac_save_CXXFLAGS"
17910 ac_ext=c
17911 ac_cpp='$CPP $CPPFLAGS'
17912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17918 ac_ext=cpp
17919 ac_cpp='$CXXCPP $CPPFLAGS'
17920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17925 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17926 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17927 ac_save_CXXFLAGS="$CXXFLAGS"
17928 CXXFLAGS="$CXXFLAGS -std=c++11"
17929 ac_save_LIBS="$LIBS"
17930 ac_save_gcc_no_link="$gcc_no_link"
17932 if test x$gcc_no_link != xyes; then
17933 # Use -fno-exceptions to that the C driver can link these tests without
17934 # hitting undefined references to personality routines.
17935 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17937 $as_echo_n "checking for sin in -lm... " >&6; }
17938 if ${ac_cv_lib_m_sin+:} false; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 ac_check_lib_save_LIBS=$LIBS
17942 LIBS="-lm $LIBS"
17943 if test x$gcc_no_link = xyes; then
17944 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17949 /* Override any GCC internal prototype to avoid an error.
17950 Use char because int might match the return type of a GCC
17951 builtin and then its argument prototype would still apply. */
17952 #ifdef __cplusplus
17953 extern "C"
17954 #endif
17955 char sin ();
17957 main ()
17959 return sin ();
17961 return 0;
17963 _ACEOF
17964 if ac_fn_cxx_try_link "$LINENO"; then :
17965 ac_cv_lib_m_sin=yes
17966 else
17967 ac_cv_lib_m_sin=no
17969 rm -f core conftest.err conftest.$ac_objext \
17970 conftest$ac_exeext conftest.$ac_ext
17971 LIBS=$ac_check_lib_save_LIBS
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17974 $as_echo "$ac_cv_lib_m_sin" >&6; }
17975 if test "x$ac_cv_lib_m_sin" = xyes; then :
17976 LIBS="$LIBS -lm"
17977 else
17979 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17980 gcc_no_link=yes
17986 # Check for the existence of <math.h> functions used if C99 is enabled.
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17988 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17989 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 if test x$gcc_no_link = xyes; then
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
17996 #include <math.h>
17997 volatile double d1, d2;
17998 volatile int i;
18000 main ()
18002 i = fpclassify(d1);
18003 i = isfinite(d1);
18004 i = isinf(d1);
18005 i = isnan(d1);
18006 i = isnormal(d1);
18007 i = signbit(d1);
18008 i = isgreater(d1, d2);
18009 i = isgreaterequal(d1, d2);
18010 i = isless(d1, d2);
18011 i = islessequal(d1, d2);
18012 i = islessgreater(d1, d2);
18013 i = islessgreater(d1, d2);
18014 i = isunordered(d1, d2);
18017 return 0;
18019 _ACEOF
18020 if ac_fn_cxx_try_compile "$LINENO"; then :
18021 glibcxx_cv_c99_math_cxx11=yes
18022 else
18023 glibcxx_cv_c99_math_cxx11=no
18025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18026 else
18027 if test x$gcc_no_link = xyes; then
18028 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18032 #include <math.h>
18033 volatile double d1, d2;
18034 volatile int i;
18036 main ()
18038 i = fpclassify(d1);
18039 i = isfinite(d1);
18040 i = isinf(d1);
18041 i = isnan(d1);
18042 i = isnormal(d1);
18043 i = signbit(d1);
18044 i = isgreater(d1, d2);
18045 i = isgreaterequal(d1, d2);
18046 i = isless(d1, d2);
18047 i = islessequal(d1, d2);
18048 i = islessgreater(d1, d2);
18049 i = islessgreater(d1, d2);
18050 i = isunordered(d1, d2);
18053 return 0;
18055 _ACEOF
18056 if ac_fn_cxx_try_link "$LINENO"; then :
18057 glibcxx_cv_c99_math_cxx11=yes
18058 else
18059 glibcxx_cv_c99_math_cxx11=no
18061 rm -f core conftest.err conftest.$ac_objext \
18062 conftest$ac_exeext conftest.$ac_ext
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18067 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18068 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18070 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18074 # Check for the existence of <complex.h> complex math functions.
18075 # This is necessary even though libstdc++ uses the builtin versions
18076 # of these functions, because if the builtin cannot be used, a reference
18077 # to the library function is emitted.
18078 for ac_header in tgmath.h
18079 do :
18080 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18081 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18082 cat >>confdefs.h <<_ACEOF
18083 #define HAVE_TGMATH_H 1
18084 _ACEOF
18085 ac_has_tgmath_h=yes
18086 else
18087 ac_has_tgmath_h=no
18090 done
18092 for ac_header in complex.h
18093 do :
18094 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18095 if test "x$ac_cv_header_complex_h" = xyes; then :
18096 cat >>confdefs.h <<_ACEOF
18097 #define HAVE_COMPLEX_H 1
18098 _ACEOF
18099 ac_has_complex_h=yes
18100 else
18101 ac_has_complex_h=no
18104 done
18106 if test x"$ac_has_complex_h" = x"yes"; then
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18108 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18109 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18110 $as_echo_n "(cached) " >&6
18111 else
18113 if test x$gcc_no_link = xyes; then
18114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18115 /* end confdefs.h. */
18116 #include <complex.h>
18117 typedef __complex__ float float_type;
18118 typedef __complex__ double double_type;
18119 typedef __complex__ long double ld_type;
18120 volatile float_type tmpf;
18121 volatile double_type tmpd;
18122 volatile ld_type tmpld;
18123 volatile float f;
18124 volatile double d;
18125 volatile long double ld;
18127 main ()
18129 f = cabsf(tmpf);
18130 f = cargf(tmpf);
18131 tmpf = ccosf(tmpf);
18132 tmpf = ccoshf(tmpf);
18133 tmpf = cexpf(tmpf);
18134 tmpf = clogf(tmpf);
18135 tmpf = csinf(tmpf);
18136 tmpf = csinhf(tmpf);
18137 tmpf = csqrtf(tmpf);
18138 tmpf = ctanf(tmpf);
18139 tmpf = ctanhf(tmpf);
18140 tmpf = cpowf(tmpf, tmpf);
18141 tmpf = cprojf(tmpf);
18142 d = cabs(tmpd);
18143 d = carg(tmpd);
18144 tmpd = ccos(tmpd);
18145 tmpd = ccosh(tmpd);
18146 tmpd = cexp(tmpd);
18147 tmpd = clog(tmpd);
18148 tmpd = csin(tmpd);
18149 tmpd = csinh(tmpd);
18150 tmpd = csqrt(tmpd);
18151 tmpd = ctan(tmpd);
18152 tmpd = ctanh(tmpd);
18153 tmpd = cpow(tmpd, tmpd);
18154 tmpd = cproj(tmpd);
18155 ld = cabsl(tmpld);
18156 ld = cargl(tmpld);
18157 tmpld = ccosl(tmpld);
18158 tmpld = ccoshl(tmpld);
18159 tmpld = cexpl(tmpld);
18160 tmpld = clogl(tmpld);
18161 tmpld = csinl(tmpld);
18162 tmpld = csinhl(tmpld);
18163 tmpld = csqrtl(tmpld);
18164 tmpld = ctanl(tmpld);
18165 tmpld = ctanhl(tmpld);
18166 tmpld = cpowl(tmpld, tmpld);
18167 tmpld = cprojl(tmpld);
18170 return 0;
18172 _ACEOF
18173 if ac_fn_cxx_try_compile "$LINENO"; then :
18174 glibcxx_cv_c99_complex_cxx11=yes
18175 else
18176 glibcxx_cv_c99_complex_cxx11=no
18178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18179 else
18180 if test x$gcc_no_link = xyes; then
18181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18184 /* end confdefs.h. */
18185 #include <complex.h>
18186 typedef __complex__ float float_type;
18187 typedef __complex__ double double_type;
18188 typedef __complex__ long double ld_type;
18189 volatile float_type tmpf;
18190 volatile double_type tmpd;
18191 volatile ld_type tmpld;
18192 volatile float f;
18193 volatile double d;
18194 volatile long double ld;
18196 main ()
18198 f = cabsf(tmpf);
18199 f = cargf(tmpf);
18200 tmpf = ccosf(tmpf);
18201 tmpf = ccoshf(tmpf);
18202 tmpf = cexpf(tmpf);
18203 tmpf = clogf(tmpf);
18204 tmpf = csinf(tmpf);
18205 tmpf = csinhf(tmpf);
18206 tmpf = csqrtf(tmpf);
18207 tmpf = ctanf(tmpf);
18208 tmpf = ctanhf(tmpf);
18209 tmpf = cpowf(tmpf, tmpf);
18210 tmpf = cprojf(tmpf);
18211 d = cabs(tmpd);
18212 d = carg(tmpd);
18213 tmpd = ccos(tmpd);
18214 tmpd = ccosh(tmpd);
18215 tmpd = cexp(tmpd);
18216 tmpd = clog(tmpd);
18217 tmpd = csin(tmpd);
18218 tmpd = csinh(tmpd);
18219 tmpd = csqrt(tmpd);
18220 tmpd = ctan(tmpd);
18221 tmpd = ctanh(tmpd);
18222 tmpd = cpow(tmpd, tmpd);
18223 tmpd = cproj(tmpd);
18224 ld = cabsl(tmpld);
18225 ld = cargl(tmpld);
18226 tmpld = ccosl(tmpld);
18227 tmpld = ccoshl(tmpld);
18228 tmpld = cexpl(tmpld);
18229 tmpld = clogl(tmpld);
18230 tmpld = csinl(tmpld);
18231 tmpld = csinhl(tmpld);
18232 tmpld = csqrtl(tmpld);
18233 tmpld = ctanl(tmpld);
18234 tmpld = ctanhl(tmpld);
18235 tmpld = cpowl(tmpld, tmpld);
18236 tmpld = cprojl(tmpld);
18239 return 0;
18241 _ACEOF
18242 if ac_fn_cxx_try_link "$LINENO"; then :
18243 glibcxx_cv_c99_complex_cxx11=yes
18244 else
18245 glibcxx_cv_c99_complex_cxx11=no
18247 rm -f core conftest.err conftest.$ac_objext \
18248 conftest$ac_exeext conftest.$ac_ext
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18253 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18255 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18257 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18261 # Check for the existence in <stdio.h> of vscanf, et. al.
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18263 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18264 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18265 $as_echo_n "(cached) " >&6
18266 else
18268 if test x$gcc_no_link = xyes; then
18269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18271 #include <stdio.h>
18272 #include <stdarg.h>
18273 void foo(char* fmt, ...)
18275 va_list args; va_start(args, fmt);
18276 vfscanf(stderr, "%i", args);
18277 vscanf("%i", args);
18278 vsnprintf(fmt, 0, "%i", args);
18279 vsscanf(fmt, "%i", args);
18280 snprintf(fmt, 0, "%i");
18283 main ()
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291 glibcxx_cv_c99_stdio_cxx11=yes
18292 else
18293 glibcxx_cv_c99_stdio_cxx11=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297 if test x$gcc_no_link = xyes; then
18298 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <stdio.h>
18303 #include <stdarg.h>
18304 void foo(char* fmt, ...)
18306 va_list args; va_start(args, fmt);
18307 vfscanf(stderr, "%i", args);
18308 vscanf("%i", args);
18309 vsnprintf(fmt, 0, "%i", args);
18310 vsscanf(fmt, "%i", args);
18311 snprintf(fmt, 0, "%i");
18314 main ()
18318 return 0;
18320 _ACEOF
18321 if ac_fn_cxx_try_link "$LINENO"; then :
18322 glibcxx_cv_c99_stdio_cxx11=yes
18323 else
18324 glibcxx_cv_c99_stdio_cxx11=no
18326 rm -f core conftest.err conftest.$ac_objext \
18327 conftest$ac_exeext conftest.$ac_ext
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18332 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18333 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18335 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18339 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18341 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18342 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18343 $as_echo_n "(cached) " >&6
18344 else
18346 if test x$gcc_no_link = xyes; then
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <stdlib.h>
18350 volatile float f;
18351 volatile long double ld;
18352 volatile unsigned long long ll;
18353 lldiv_t mydivt;
18355 main ()
18357 char* tmp;
18358 f = strtof("gnu", &tmp);
18359 ld = strtold("gnu", &tmp);
18360 ll = strtoll("gnu", &tmp, 10);
18361 ll = strtoull("gnu", &tmp, 10);
18362 ll = llabs(10);
18363 mydivt = lldiv(10,1);
18364 ll = mydivt.quot;
18365 ll = mydivt.rem;
18366 ll = atoll("10");
18367 _Exit(0);
18370 return 0;
18372 _ACEOF
18373 if ac_fn_cxx_try_compile "$LINENO"; then :
18374 glibcxx_cv_c99_stdlib_cxx11=yes
18375 else
18376 glibcxx_cv_c99_stdlib_cxx11=no
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 else
18380 if test x$gcc_no_link = xyes; then
18381 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 #include <stdlib.h>
18386 volatile float f;
18387 volatile long double ld;
18388 volatile unsigned long long ll;
18389 lldiv_t mydivt;
18391 main ()
18393 char* tmp;
18394 f = strtof("gnu", &tmp);
18395 ld = strtold("gnu", &tmp);
18396 ll = strtoll("gnu", &tmp, 10);
18397 ll = strtoull("gnu", &tmp, 10);
18398 ll = llabs(10);
18399 mydivt = lldiv(10,1);
18400 ll = mydivt.quot;
18401 ll = mydivt.rem;
18402 ll = atoll("10");
18403 _Exit(0);
18406 return 0;
18408 _ACEOF
18409 if ac_fn_cxx_try_link "$LINENO"; then :
18410 glibcxx_cv_c99_stdlib_cxx11=yes
18411 else
18412 glibcxx_cv_c99_stdlib_cxx11=no
18414 rm -f core conftest.err conftest.$ac_objext \
18415 conftest$ac_exeext conftest.$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18420 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18421 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18423 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18427 # Check for the existence in <wchar.h> of wcstold, etc.
18428 if test x"$ac_has_wchar_h" = xyes &&
18429 test x"$ac_has_wctype_h" = xyes; then
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18431 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18432 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18433 $as_echo_n "(cached) " >&6
18434 else
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18438 #include <wchar.h>
18439 namespace test
18441 using ::wcstold;
18442 using ::wcstoll;
18443 using ::wcstoull;
18447 main ()
18451 return 0;
18453 _ACEOF
18454 if ac_fn_cxx_try_compile "$LINENO"; then :
18455 glibcxx_cv_c99_wchar_cxx11=yes
18456 else
18457 glibcxx_cv_c99_wchar_cxx11=no
18459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18463 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18465 # Checks for wide character functions that may not be present.
18466 # Injection of these is wrapped with guard macros.
18467 # NB: only put functions here, instead of immediately above, if
18468 # absolutely necessary.
18469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18470 /* end confdefs.h. */
18471 #include <wchar.h>
18472 namespace test { using ::vfwscanf; }
18474 main ()
18478 return 0;
18480 _ACEOF
18481 if ac_fn_cxx_try_compile "$LINENO"; then :
18483 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #include <wchar.h>
18491 namespace test { using ::vswscanf; }
18493 main ()
18497 return 0;
18499 _ACEOF
18500 if ac_fn_cxx_try_compile "$LINENO"; then :
18502 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <wchar.h>
18510 namespace test { using ::vwscanf; }
18512 main ()
18516 return 0;
18518 _ACEOF
18519 if ac_fn_cxx_try_compile "$LINENO"; then :
18521 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18528 #include <wchar.h>
18529 namespace test { using ::wcstof; }
18531 main ()
18535 return 0;
18537 _ACEOF
18538 if ac_fn_cxx_try_compile "$LINENO"; then :
18540 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <wctype.h>
18549 main ()
18551 wint_t t; int i = iswblank(t);
18553 return 0;
18555 _ACEOF
18556 if ac_fn_cxx_try_compile "$LINENO"; then :
18558 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18563 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18565 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18570 gcc_no_link="$ac_save_gcc_no_link"
18571 LIBS="$ac_save_LIBS"
18572 CXXFLAGS="$ac_save_CXXFLAGS"
18573 ac_ext=c
18574 ac_cpp='$CPP $CPPFLAGS'
18575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18582 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18584 $as_echo "$enable_c99" >&6; }
18587 # Check whether --enable-concept-checks was given.
18588 if test "${enable_concept_checks+set}" = set; then :
18589 enableval=$enable_concept_checks;
18590 case "$enableval" in
18591 yes|no) ;;
18592 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18593 esac
18595 else
18596 enable_concept_checks=no
18600 if test $enable_concept_checks = yes; then
18602 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18607 # Check whether --enable-libstdcxx-debug-flags was given.
18608 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18609 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18610 xno | x) enable_libstdcxx_debug_flags= ;;
18611 x-*) ;;
18612 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18613 esac
18614 else
18615 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
18620 # Option parsed, now set things appropriately
18621 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18625 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18629 $as_echo_n "checking for additional debug build... " >&6; }
18630 skip_debug_build=
18631 # Check whether --enable-libstdcxx-debug was given.
18632 if test "${enable_libstdcxx_debug+set}" = set; then :
18633 enableval=$enable_libstdcxx_debug;
18634 case "$enableval" in
18635 yes|no) ;;
18636 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18637 esac
18639 else
18640 enable_libstdcxx_debug=no
18644 if test x$enable_libstdcxx_debug = xyes; then
18645 if test -f $toplevel_builddir/../stage_final \
18646 && test -f $toplevel_builddir/../stage_current; then
18647 stage_final=`cat $toplevel_builddir/../stage_final`
18648 stage_current=`cat $toplevel_builddir/../stage_current`
18649 if test x$stage_current != x$stage_final ; then
18650 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18651 enable_libstdcxx_debug=no
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18656 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18661 enable_parallel=no;
18663 # See if configured libgomp/omp.h exists. (libgomp may be in
18664 # noconfigdirs but not explicitly disabled.)
18665 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18666 enable_parallel=yes;
18667 else
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18669 $as_echo "$as_me: target-libgomp not built" >&6;}
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18673 $as_echo_n "checking for parallel mode support... " >&6; }
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18675 $as_echo "$enable_parallel" >&6; }
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18678 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18679 # Check whether --enable-cxx-flags was given.
18680 if test "${enable_cxx_flags+set}" = set; then :
18681 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18682 xno | x) enable_cxx_flags= ;;
18683 x-*) ;;
18684 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18685 esac
18686 else
18687 enable_cxx_flags=
18692 # Run through flags (either default or command-line) and set anything
18693 # extra (e.g., #defines) that must accompany particular g++ options.
18694 if test -n "$enable_cxx_flags"; then
18695 for f in $enable_cxx_flags; do
18696 case "$f" in
18697 -fhonor-std) ;;
18698 -*) ;;
18699 *) # and we're trying to pass /what/ exactly?
18700 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18701 esac
18702 done
18705 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18707 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18711 # Check whether --enable-fully-dynamic-string was given.
18712 if test "${enable_fully_dynamic_string+set}" = set; then :
18713 enableval=$enable_fully_dynamic_string;
18714 case "$enableval" in
18715 yes|no) ;;
18716 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
18717 esac
18719 else
18720 enable_fully_dynamic_string=no
18724 if test $enable_fully_dynamic_string = yes; then
18725 enable_fully_dynamic_string_def=1
18726 else
18727 enable_fully_dynamic_string_def=0
18730 cat >>confdefs.h <<_ACEOF
18731 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18732 _ACEOF
18737 # Check whether --enable-extern-template was given.
18738 if test "${enable_extern_template+set}" = set; then :
18739 enableval=$enable_extern_template;
18740 case "$enableval" in
18741 yes|no) ;;
18742 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18743 esac
18745 else
18746 enable_extern_template=yes
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18752 $as_echo_n "checking for extern template support... " >&6; }
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18754 $as_echo "$enable_extern_template" >&6; }
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18761 $as_echo_n "checking for custom python install directory... " >&6; }
18763 # Check whether --with-python-dir was given.
18764 if test "${with_python_dir+set}" = set; then :
18765 withval=$with_python_dir; with_python_dir=$withval
18766 else
18767 with_python_dir="no"
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18771 $as_echo "${with_python_dir}" >&6; }
18773 # Needed for installing Python modules during make install.
18774 python_mod_dir="${with_python_dir}"
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18780 $as_echo_n "checking for -Werror... " >&6; }
18781 # Check whether --enable-werror was given.
18782 if test "${enable_werror+set}" = set; then :
18783 enableval=$enable_werror;
18784 case "$enableval" in
18785 yes|no) ;;
18786 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18787 esac
18789 else
18790 enable_werror=no
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18795 $as_echo "$enable_werror" >&6; }
18800 # Check whether --enable-vtable-verify was given.
18801 if test "${enable_vtable_verify+set}" = set; then :
18802 enableval=$enable_vtable_verify;
18803 case "$enableval" in
18804 yes|no) ;;
18805 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18806 esac
18808 else
18809 enable_vtable_verify=no
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18815 $as_echo_n "checking for vtable verify support... " >&6; }
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18817 $as_echo "$enable_vtable_verify" >&6; }
18819 vtv_cygmin=no
18820 if test $enable_vtable_verify = yes; then
18821 case ${target_os} in
18822 cygwin*|mingw32*)
18823 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18824 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18825 vtv_cygmin=yes
18827 darwin*)
18828 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18829 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18831 solaris2*)
18832 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18833 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18836 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18837 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18839 esac
18840 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18841 else
18842 VTV_CXXFLAGS=
18843 VTV_PCH_CXXFLAGS=
18844 VTV_CXXLINKFLAGS=
18850 if test x$vtv_cygmin = xyes; then
18851 VTV_CYGMIN_TRUE=
18852 VTV_CYGMIN_FALSE='#'
18853 else
18854 VTV_CYGMIN_TRUE='#'
18855 VTV_CYGMIN_FALSE=
18861 # Checks for operating systems support that doesn't require linking.
18865 ac_ext=cpp
18866 ac_cpp='$CXXCPP $CPPFLAGS'
18867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18871 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18872 # and we don't need a declaration for C++14 anyway.
18873 ac_save_CXXFLAGS="$CXXFLAGS"
18874 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18877 $as_echo_n "checking for gets declaration... " >&6; }
18878 if ${glibcxx_cv_gets+:} false; then :
18879 $as_echo_n "(cached) " >&6
18880 else
18882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18883 /* end confdefs.h. */
18884 #include <stdio.h>
18885 namespace test
18887 using ::gets;
18890 _ACEOF
18891 if ac_fn_cxx_try_compile "$LINENO"; then :
18892 glibcxx_cv_gets=yes
18893 else
18894 glibcxx_cv_gets=no
18897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18900 $as_echo "$glibcxx_cv_gets" >&6; }
18902 if test $glibcxx_cv_gets = yes; then
18904 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18908 CXXFLAGS="$ac_save_CXXFLAGS"
18909 ac_ext=c
18910 ac_cpp='$CPP $CPPFLAGS'
18911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18919 ac_ext=cpp
18920 ac_cpp='$CXXCPP $CPPFLAGS'
18921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18925 ac_save_CXXFLAGS="$CXXFLAGS"
18926 CXXFLAGS="$CXXFLAGS -std=c++11"
18928 case "$host" in
18929 *-*-solaris2.*)
18930 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18931 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18933 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18934 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18935 $as_echo_n "(cached) " >&6
18936 else
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18940 #include <math.h>
18941 #undef isfinite
18942 namespace std {
18943 inline bool isfinite(float __x)
18944 { return __builtin_isfinite(__x); }
18947 _ACEOF
18948 if ac_fn_cxx_try_compile "$LINENO"; then :
18949 glibcxx_cv_math11_fp_overload=no
18950 else
18951 glibcxx_cv_math11_fp_overload=yes
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18957 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18959 # autoheader cannot handle indented templates.
18962 if test $glibcxx_cv_math11_fp_overload = yes; then
18963 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18967 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18968 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18970 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18971 if ${glibcxx_cv_math11_int_overload+:} false; then :
18972 $as_echo_n "(cached) " >&6
18973 else
18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18976 /* end confdefs.h. */
18977 #include <math.h>
18978 namespace std {
18979 template<typename _Tp>
18980 struct __is_integer;
18981 template<>
18982 struct __is_integer<int>
18984 enum { __value = 1 };
18987 namespace __gnu_cxx {
18988 template<bool, typename>
18989 struct __enable_if;
18990 template<typename _Tp>
18991 struct __enable_if<true, _Tp>
18992 { typedef _Tp __type; };
18994 namespace std {
18995 template<typename _Tp>
18996 constexpr typename __gnu_cxx::__enable_if
18997 <__is_integer<_Tp>::__value, double>::__type
18998 log2(_Tp __x)
18999 { return __builtin_log2(__x); }
19002 main (void)
19004 int i = 1000;
19005 return std::log2(i);
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 glibcxx_cv_math11_int_overload=no
19011 else
19012 glibcxx_cv_math11_int_overload=yes
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19018 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19020 # autoheader cannot handle indented templates.
19023 if test $glibcxx_cv_math11_int_overload = yes; then
19024 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19029 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19030 # functions (instead of or as well as the C99 generic macros) then we
19031 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19032 # and must use the ones from <math.h> instead.
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19034 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19035 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19036 $as_echo_n "(cached) " >&6
19037 else
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19042 #include <math.h>
19043 #undef isinf
19044 namespace std {
19045 using ::isinf;
19046 bool isinf(float);
19047 bool isinf(long double);
19049 using std::isinf;
19050 bool b = isinf(0.0);
19052 _ACEOF
19053 if ac_fn_cxx_try_compile "$LINENO"; then :
19054 glibcxx_cv_obsolete_isinf=yes
19055 else
19056 glibcxx_cv_obsolete_isinf=no
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19062 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19063 if test $glibcxx_cv_obsolete_isinf = yes; then
19065 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19070 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19071 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19072 $as_echo_n "(cached) " >&6
19073 else
19075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19076 /* end confdefs.h. */
19077 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19078 #include <math.h>
19079 #undef isnan
19080 namespace std {
19081 using ::isnan;
19082 bool isnan(float);
19083 bool isnan(long double);
19085 using std::isnan;
19086 bool b = isnan(0.0);
19088 _ACEOF
19089 if ac_fn_cxx_try_compile "$LINENO"; then :
19090 glibcxx_cv_obsolete_isnan=yes
19091 else
19092 glibcxx_cv_obsolete_isnan=no
19095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19098 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19099 if test $glibcxx_cv_obsolete_isnan = yes; then
19101 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19105 esac
19107 CXXFLAGS="$ac_save_CXXFLAGS"
19108 ac_ext=c
19109 ac_cpp='$CPP $CPPFLAGS'
19110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19117 # Test uchar.h.
19118 for ac_header in uchar.h
19119 do :
19120 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19121 if test "x$ac_cv_header_uchar_h" = xyes; then :
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_UCHAR_H 1
19124 _ACEOF
19125 ac_has_uchar_h=yes
19126 else
19127 ac_has_uchar_h=no
19130 done
19134 ac_ext=cpp
19135 ac_cpp='$CXXCPP $CPPFLAGS'
19136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19140 ac_save_CXXFLAGS="$CXXFLAGS"
19141 CXXFLAGS="$CXXFLAGS -std=c++11"
19143 if test x"$ac_has_uchar_h" = x"yes"; then
19144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19145 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19147 /* end confdefs.h. */
19148 #include <uchar.h>
19149 #ifdef __STDC_UTF_16__
19150 long i = __STDC_UTF_16__;
19151 #endif
19152 #ifdef __STDC_UTF_32__
19153 long j = __STDC_UTF_32__;
19154 #endif
19155 namespace test
19157 using ::c16rtomb;
19158 using ::c32rtomb;
19159 using ::mbrtoc16;
19160 using ::mbrtoc32;
19164 main ()
19168 return 0;
19170 _ACEOF
19171 if ac_fn_cxx_try_compile "$LINENO"; then :
19172 ac_c11_uchar_cxx11=yes
19173 else
19174 ac_c11_uchar_cxx11=no
19176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19178 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19179 else
19180 ac_c11_uchar_cxx11=no
19182 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19184 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19188 CXXFLAGS="$CXXFLAGS -fchar8_t"
19189 if test x"$ac_has_uchar_h" = x"yes"; then
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19191 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19194 #include <uchar.h>
19195 namespace test
19197 using ::c8rtomb;
19198 using ::mbrtoc8;
19202 main ()
19206 return 0;
19208 _ACEOF
19209 if ac_fn_cxx_try_compile "$LINENO"; then :
19210 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19211 else
19212 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19215 else
19216 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19219 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19220 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19222 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19226 CXXFLAGS="$CXXFLAGS -std=c++20"
19227 if test x"$ac_has_uchar_h" = x"yes"; then
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19229 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h. */
19232 #include <uchar.h>
19233 namespace test
19235 using ::c8rtomb;
19236 using ::mbrtoc8;
19240 main ()
19244 return 0;
19246 _ACEOF
19247 if ac_fn_cxx_try_compile "$LINENO"; then :
19248 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19249 else
19250 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 else
19254 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19257 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19258 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19260 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19264 CXXFLAGS="$ac_save_CXXFLAGS"
19265 ac_ext=c
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273 # For LFS support.
19276 ac_ext=cpp
19277 ac_cpp='$CXXCPP $CPPFLAGS'
19278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19282 ac_save_CXXFLAGS="$CXXFLAGS"
19283 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19285 $as_echo_n "checking for LFS support... " >&6; }
19286 if ${glibcxx_cv_LFS+:} false; then :
19287 $as_echo_n "(cached) " >&6
19288 else
19290 if test x$gcc_no_link = xyes; then
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h. */
19293 #include <unistd.h>
19294 #include <stdio.h>
19295 #include <sys/stat.h>
19298 main ()
19300 FILE* fp;
19301 fopen64("t", "w");
19302 fseeko64(fp, 0, SEEK_CUR);
19303 ftello64(fp);
19304 lseek64(1, 0, SEEK_CUR);
19305 struct stat64 buf;
19306 fstat64(1, &buf);
19308 return 0;
19310 _ACEOF
19311 if ac_fn_cxx_try_compile "$LINENO"; then :
19312 glibcxx_cv_LFS=yes
19313 else
19314 glibcxx_cv_LFS=no
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 else
19318 if test x$gcc_no_link = xyes; then
19319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <unistd.h>
19324 #include <stdio.h>
19325 #include <sys/stat.h>
19328 main ()
19330 FILE* fp;
19331 fopen64("t", "w");
19332 fseeko64(fp, 0, SEEK_CUR);
19333 ftello64(fp);
19334 lseek64(1, 0, SEEK_CUR);
19335 struct stat64 buf;
19336 fstat64(1, &buf);
19338 return 0;
19340 _ACEOF
19341 if ac_fn_cxx_try_link "$LINENO"; then :
19342 glibcxx_cv_LFS=yes
19343 else
19344 glibcxx_cv_LFS=no
19346 rm -f core conftest.err conftest.$ac_objext \
19347 conftest$ac_exeext conftest.$ac_ext
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19352 $as_echo "$glibcxx_cv_LFS" >&6; }
19353 if test $glibcxx_cv_LFS = yes; then
19355 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19358 CXXFLAGS="$ac_save_CXXFLAGS"
19359 ac_ext=c
19360 ac_cpp='$CPP $CPPFLAGS'
19361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19367 # For showmanyc_helper().
19368 for ac_header in sys/ioctl.h sys/filio.h
19369 do :
19370 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19371 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19372 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19375 _ACEOF
19379 done
19384 ac_ext=cpp
19385 ac_cpp='$CXXCPP $CPPFLAGS'
19386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19390 ac_save_CXXFLAGS="$CXXFLAGS"
19391 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19394 $as_echo_n "checking for poll... " >&6; }
19395 if ${glibcxx_cv_POLL+:} false; then :
19396 $as_echo_n "(cached) " >&6
19397 else
19399 if test x$gcc_no_link = xyes; then
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <poll.h>
19404 main ()
19406 struct pollfd pfd[1];
19407 pfd[0].events = POLLIN;
19408 poll(pfd, 1, 0);
19410 return 0;
19412 _ACEOF
19413 if ac_fn_cxx_try_compile "$LINENO"; then :
19414 glibcxx_cv_POLL=yes
19415 else
19416 glibcxx_cv_POLL=no
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19419 else
19420 if test x$gcc_no_link = xyes; then
19421 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19425 #include <poll.h>
19427 main ()
19429 struct pollfd pfd[1];
19430 pfd[0].events = POLLIN;
19431 poll(pfd, 1, 0);
19433 return 0;
19435 _ACEOF
19436 if ac_fn_cxx_try_link "$LINENO"; then :
19437 glibcxx_cv_POLL=yes
19438 else
19439 glibcxx_cv_POLL=no
19441 rm -f core conftest.err conftest.$ac_objext \
19442 conftest$ac_exeext conftest.$ac_ext
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19447 $as_echo "$glibcxx_cv_POLL" >&6; }
19448 if test $glibcxx_cv_POLL = yes; then
19450 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19454 CXXFLAGS="$ac_save_CXXFLAGS"
19455 ac_ext=c
19456 ac_cpp='$CPP $CPPFLAGS'
19457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19465 ac_ext=cpp
19466 ac_cpp='$CXXCPP $CPPFLAGS'
19467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19471 ac_save_CXXFLAGS="$CXXFLAGS"
19472 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19475 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19476 if ${glibcxx_cv_S_ISREG+:} false; then :
19477 $as_echo_n "(cached) " >&6
19478 else
19480 if test x$gcc_no_link = xyes; then
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <sys/stat.h>
19485 main ()
19487 struct stat buffer;
19488 fstat(0, &buffer);
19489 S_ISREG(buffer.st_mode);
19491 return 0;
19493 _ACEOF
19494 if ac_fn_cxx_try_compile "$LINENO"; then :
19495 glibcxx_cv_S_ISREG=yes
19496 else
19497 glibcxx_cv_S_ISREG=no
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 else
19501 if test x$gcc_no_link = xyes; then
19502 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <sys/stat.h>
19508 main ()
19510 struct stat buffer;
19511 fstat(0, &buffer);
19512 S_ISREG(buffer.st_mode);
19514 return 0;
19516 _ACEOF
19517 if ac_fn_cxx_try_link "$LINENO"; then :
19518 glibcxx_cv_S_ISREG=yes
19519 else
19520 glibcxx_cv_S_ISREG=no
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext conftest.$ac_ext
19528 if ${glibcxx_cv_S_IFREG+:} false; then :
19529 $as_echo_n "(cached) " >&6
19530 else
19532 if test x$gcc_no_link = xyes; then
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <sys/stat.h>
19537 main ()
19539 struct stat buffer;
19540 fstat(0, &buffer);
19541 S_IFREG & buffer.st_mode;
19543 return 0;
19545 _ACEOF
19546 if ac_fn_cxx_try_compile "$LINENO"; then :
19547 glibcxx_cv_S_IFREG=yes
19548 else
19549 glibcxx_cv_S_IFREG=no
19551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 else
19553 if test x$gcc_no_link = xyes; then
19554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <sys/stat.h>
19560 main ()
19562 struct stat buffer;
19563 fstat(0, &buffer);
19564 S_IFREG & buffer.st_mode;
19566 return 0;
19568 _ACEOF
19569 if ac_fn_cxx_try_link "$LINENO"; then :
19570 glibcxx_cv_S_IFREG=yes
19571 else
19572 glibcxx_cv_S_IFREG=no
19574 rm -f core conftest.err conftest.$ac_objext \
19575 conftest$ac_exeext conftest.$ac_ext
19580 res=no
19581 if test $glibcxx_cv_S_ISREG = yes; then
19583 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19585 res=S_ISREG
19586 elif test $glibcxx_cv_S_IFREG = yes; then
19588 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19590 res=S_IFREG
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19593 $as_echo "$res" >&6; }
19595 CXXFLAGS="$ac_save_CXXFLAGS"
19596 ac_ext=c
19597 ac_cpp='$CPP $CPPFLAGS'
19598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19604 # For xsputn_2().
19605 for ac_header in sys/uio.h
19606 do :
19607 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19608 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_SYS_UIO_H 1
19611 _ACEOF
19615 done
19620 ac_ext=cpp
19621 ac_cpp='$CXXCPP $CPPFLAGS'
19622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19626 ac_save_CXXFLAGS="$CXXFLAGS"
19627 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19630 $as_echo_n "checking for writev... " >&6; }
19631 if ${glibcxx_cv_WRITEV+:} false; then :
19632 $as_echo_n "(cached) " >&6
19633 else
19635 if test x$gcc_no_link = xyes; then
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <sys/uio.h>
19640 main ()
19642 struct iovec iov[2];
19643 writev(0, iov, 0);
19645 return 0;
19647 _ACEOF
19648 if ac_fn_cxx_try_compile "$LINENO"; then :
19649 glibcxx_cv_WRITEV=yes
19650 else
19651 glibcxx_cv_WRITEV=no
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 else
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <sys/uio.h>
19662 main ()
19664 struct iovec iov[2];
19665 writev(0, iov, 0);
19667 return 0;
19669 _ACEOF
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 glibcxx_cv_WRITEV=yes
19672 else
19673 glibcxx_cv_WRITEV=no
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19681 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19682 if test $glibcxx_cv_WRITEV = yes; then
19684 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19688 CXXFLAGS="$ac_save_CXXFLAGS"
19689 ac_ext=c
19690 ac_cpp='$CPP $CPPFLAGS'
19691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19697 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19698 # so that the check is done with the C compiler (not C++).
19699 # Checking with C++ can break a canadian cross build if either
19700 # file does not exist in C but does in C++.
19701 for ac_header in fenv.h complex.h
19702 do :
19703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19704 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19706 cat >>confdefs.h <<_ACEOF
19707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19708 _ACEOF
19712 done
19715 # For C99 support to TR1.
19719 ac_ext=cpp
19720 ac_cpp='$CXXCPP $CPPFLAGS'
19721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19726 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19727 # undefined and fake C99 facilities may be spuriously enabled.
19728 ac_save_CXXFLAGS="$CXXFLAGS"
19729 CXXFLAGS="$CXXFLAGS -std=c++98"
19731 # Check for the existence of <complex.h> complex math functions used
19732 # by tr1/complex.
19733 for ac_header in complex.h
19734 do :
19735 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19736 if test "x$ac_cv_header_complex_h" = xyes; then :
19737 cat >>confdefs.h <<_ACEOF
19738 #define HAVE_COMPLEX_H 1
19739 _ACEOF
19740 ac_has_complex_h=yes
19741 else
19742 ac_has_complex_h=no
19745 done
19747 ac_c99_complex_tr1=no;
19748 if test x"$ac_has_complex_h" = x"yes"; then
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19750 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19753 #include <complex.h>
19755 main ()
19757 typedef __complex__ float float_type; float_type tmpf;
19758 cacosf(tmpf);
19759 casinf(tmpf);
19760 catanf(tmpf);
19761 cacoshf(tmpf);
19762 casinhf(tmpf);
19763 catanhf(tmpf);
19764 typedef __complex__ double double_type; double_type tmpd;
19765 cacos(tmpd);
19766 casin(tmpd);
19767 catan(tmpd);
19768 cacosh(tmpd);
19769 casinh(tmpd);
19770 catanh(tmpd);
19771 typedef __complex__ long double ld_type; ld_type tmpld;
19772 cacosl(tmpld);
19773 casinl(tmpld);
19774 catanl(tmpld);
19775 cacoshl(tmpld);
19776 casinhl(tmpld);
19777 catanhl(tmpld);
19780 return 0;
19782 _ACEOF
19783 if ac_fn_cxx_try_compile "$LINENO"; then :
19784 ac_c99_complex_tr1=yes
19785 else
19786 ac_c99_complex_tr1=no
19788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19791 $as_echo "$ac_c99_complex_tr1" >&6; }
19792 if test x"$ac_c99_complex_tr1" = x"yes"; then
19794 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19798 # Check for the existence of <ctype.h> functions.
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19800 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19801 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19802 $as_echo_n "(cached) " >&6
19803 else
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #include <ctype.h>
19809 main ()
19811 int ch;
19812 int ret;
19813 ret = isblank(ch);
19816 return 0;
19818 _ACEOF
19819 if ac_fn_cxx_try_compile "$LINENO"; then :
19820 glibcxx_cv_c99_ctype_tr1=yes
19821 else
19822 glibcxx_cv_c99_ctype_tr1=no
19824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19828 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19829 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19831 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19835 # Check for the existence of <fenv.h> functions.
19836 for ac_header in fenv.h
19837 do :
19838 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19839 if test "x$ac_cv_header_fenv_h" = xyes; then :
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_FENV_H 1
19842 _ACEOF
19843 ac_has_fenv_h=yes
19844 else
19845 ac_has_fenv_h=no
19848 done
19850 ac_c99_fenv_tr1=no;
19851 if test x"$ac_has_fenv_h" = x"yes"; then
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19853 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19856 #include <fenv.h>
19858 main ()
19860 int except, mode;
19861 fexcept_t* pflag;
19862 fenv_t* penv;
19863 int ret;
19864 ret = feclearexcept(except);
19865 ret = fegetexceptflag(pflag, except);
19866 ret = feraiseexcept(except);
19867 ret = fesetexceptflag(pflag, except);
19868 ret = fetestexcept(except);
19869 ret = fegetround();
19870 ret = fesetround(mode);
19871 ret = fegetenv(penv);
19872 ret = feholdexcept(penv);
19873 ret = fesetenv(penv);
19874 ret = feupdateenv(penv);
19877 return 0;
19879 _ACEOF
19880 if ac_fn_cxx_try_compile "$LINENO"; then :
19881 ac_c99_fenv_tr1=yes
19882 else
19883 ac_c99_fenv_tr1=no
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19887 $as_echo "$ac_c99_fenv_tr1" >&6; }
19889 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19891 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19895 # Check for the existence of <stdint.h> types.
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19897 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19898 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19899 $as_echo_n "(cached) " >&6
19900 else
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19904 #define __STDC_LIMIT_MACROS
19905 #define __STDC_CONSTANT_MACROS
19906 #include <stdint.h>
19908 main ()
19910 typedef int8_t my_int8_t;
19911 my_int8_t i8 = INT8_MIN;
19912 i8 = INT8_MAX;
19913 typedef int16_t my_int16_t;
19914 my_int16_t i16 = INT16_MIN;
19915 i16 = INT16_MAX;
19916 typedef int32_t my_int32_t;
19917 my_int32_t i32 = INT32_MIN;
19918 i32 = INT32_MAX;
19919 typedef int64_t my_int64_t;
19920 my_int64_t i64 = INT64_MIN;
19921 i64 = INT64_MAX;
19922 typedef int_fast8_t my_int_fast8_t;
19923 my_int_fast8_t if8 = INT_FAST8_MIN;
19924 if8 = INT_FAST8_MAX;
19925 typedef int_fast16_t my_int_fast16_t;
19926 my_int_fast16_t if16 = INT_FAST16_MIN;
19927 if16 = INT_FAST16_MAX;
19928 typedef int_fast32_t my_int_fast32_t;
19929 my_int_fast32_t if32 = INT_FAST32_MIN;
19930 if32 = INT_FAST32_MAX;
19931 typedef int_fast64_t my_int_fast64_t;
19932 my_int_fast64_t if64 = INT_FAST64_MIN;
19933 if64 = INT_FAST64_MAX;
19934 typedef int_least8_t my_int_least8_t;
19935 my_int_least8_t il8 = INT_LEAST8_MIN;
19936 il8 = INT_LEAST8_MAX;
19937 typedef int_least16_t my_int_least16_t;
19938 my_int_least16_t il16 = INT_LEAST16_MIN;
19939 il16 = INT_LEAST16_MAX;
19940 typedef int_least32_t my_int_least32_t;
19941 my_int_least32_t il32 = INT_LEAST32_MIN;
19942 il32 = INT_LEAST32_MAX;
19943 typedef int_least64_t my_int_least64_t;
19944 my_int_least64_t il64 = INT_LEAST64_MIN;
19945 il64 = INT_LEAST64_MAX;
19946 typedef intmax_t my_intmax_t;
19947 my_intmax_t im = INTMAX_MAX;
19948 im = INTMAX_MIN;
19949 typedef intptr_t my_intptr_t;
19950 my_intptr_t ip = INTPTR_MAX;
19951 ip = INTPTR_MIN;
19952 typedef uint8_t my_uint8_t;
19953 my_uint8_t ui8 = UINT8_MAX;
19954 ui8 = UINT8_MAX;
19955 typedef uint16_t my_uint16_t;
19956 my_uint16_t ui16 = UINT16_MAX;
19957 ui16 = UINT16_MAX;
19958 typedef uint32_t my_uint32_t;
19959 my_uint32_t ui32 = UINT32_MAX;
19960 ui32 = UINT32_MAX;
19961 typedef uint64_t my_uint64_t;
19962 my_uint64_t ui64 = UINT64_MAX;
19963 ui64 = UINT64_MAX;
19964 typedef uint_fast8_t my_uint_fast8_t;
19965 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19966 uif8 = UINT_FAST8_MAX;
19967 typedef uint_fast16_t my_uint_fast16_t;
19968 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19969 uif16 = UINT_FAST16_MAX;
19970 typedef uint_fast32_t my_uint_fast32_t;
19971 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19972 uif32 = UINT_FAST32_MAX;
19973 typedef uint_fast64_t my_uint_fast64_t;
19974 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19975 uif64 = UINT_FAST64_MAX;
19976 typedef uint_least8_t my_uint_least8_t;
19977 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19978 uil8 = UINT_LEAST8_MAX;
19979 typedef uint_least16_t my_uint_least16_t;
19980 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19981 uil16 = UINT_LEAST16_MAX;
19982 typedef uint_least32_t my_uint_least32_t;
19983 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19984 uil32 = UINT_LEAST32_MAX;
19985 typedef uint_least64_t my_uint_least64_t;
19986 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19987 uil64 = UINT_LEAST64_MAX;
19988 typedef uintmax_t my_uintmax_t;
19989 my_uintmax_t uim = UINTMAX_MAX;
19990 uim = UINTMAX_MAX;
19991 typedef uintptr_t my_uintptr_t;
19992 my_uintptr_t uip = UINTPTR_MAX;
19993 uip = UINTPTR_MAX;
19996 return 0;
19998 _ACEOF
19999 if ac_fn_cxx_try_compile "$LINENO"; then :
20000 glibcxx_cv_c99_stdint_tr1=yes
20001 else
20002 glibcxx_cv_c99_stdint_tr1=no
20004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20008 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20009 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20011 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20015 # Check for the existence of <math.h> functions.
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20017 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20018 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20019 $as_echo_n "(cached) " >&6
20020 else
20022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20023 /* end confdefs.h. */
20024 #include <math.h>
20026 main ()
20028 typedef double_t my_double_t;
20029 typedef float_t my_float_t;
20030 acosh(0.0);
20031 acoshf(0.0f);
20032 acoshl(0.0l);
20033 asinh(0.0);
20034 asinhf(0.0f);
20035 asinhl(0.0l);
20036 atanh(0.0);
20037 atanhf(0.0f);
20038 atanhl(0.0l);
20039 cbrt(0.0);
20040 cbrtf(0.0f);
20041 cbrtl(0.0l);
20042 copysign(0.0, 0.0);
20043 copysignf(0.0f, 0.0f);
20044 copysignl(0.0l, 0.0l);
20045 erf(0.0);
20046 erff(0.0f);
20047 erfl(0.0l);
20048 erfc(0.0);
20049 erfcf(0.0f);
20050 erfcl(0.0l);
20051 exp2(0.0);
20052 exp2f(0.0f);
20053 exp2l(0.0l);
20054 expm1(0.0);
20055 expm1f(0.0f);
20056 expm1l(0.0l);
20057 fdim(0.0, 0.0);
20058 fdimf(0.0f, 0.0f);
20059 fdiml(0.0l, 0.0l);
20060 fma(0.0, 0.0, 0.0);
20061 fmaf(0.0f, 0.0f, 0.0f);
20062 fmal(0.0l, 0.0l, 0.0l);
20063 fmax(0.0, 0.0);
20064 fmaxf(0.0f, 0.0f);
20065 fmaxl(0.0l, 0.0l);
20066 fmin(0.0, 0.0);
20067 fminf(0.0f, 0.0f);
20068 fminl(0.0l, 0.0l);
20069 hypot(0.0, 0.0);
20070 hypotf(0.0f, 0.0f);
20071 hypotl(0.0l, 0.0l);
20072 ilogb(0.0);
20073 ilogbf(0.0f);
20074 ilogbl(0.0l);
20075 lgamma(0.0);
20076 lgammaf(0.0f);
20077 lgammal(0.0l);
20078 #ifndef __APPLE__ /* see below */
20079 llrint(0.0);
20080 llrintf(0.0f);
20081 llrintl(0.0l);
20082 llround(0.0);
20083 llroundf(0.0f);
20084 llroundl(0.0l);
20085 #endif
20086 log1p(0.0);
20087 log1pf(0.0f);
20088 log1pl(0.0l);
20089 log2(0.0);
20090 log2f(0.0f);
20091 log2l(0.0l);
20092 logb(0.0);
20093 logbf(0.0f);
20094 logbl(0.0l);
20095 lrint(0.0);
20096 lrintf(0.0f);
20097 lrintl(0.0l);
20098 lround(0.0);
20099 lroundf(0.0f);
20100 lroundl(0.0l);
20101 nan(0);
20102 nanf(0);
20103 nanl(0);
20104 nearbyint(0.0);
20105 nearbyintf(0.0f);
20106 nearbyintl(0.0l);
20107 nextafter(0.0, 0.0);
20108 nextafterf(0.0f, 0.0f);
20109 nextafterl(0.0l, 0.0l);
20110 nexttoward(0.0, 0.0);
20111 nexttowardf(0.0f, 0.0f);
20112 nexttowardl(0.0l, 0.0l);
20113 remainder(0.0, 0.0);
20114 remainderf(0.0f, 0.0f);
20115 remainderl(0.0l, 0.0l);
20116 remquo(0.0, 0.0, 0);
20117 remquof(0.0f, 0.0f, 0);
20118 remquol(0.0l, 0.0l, 0);
20119 rint(0.0);
20120 rintf(0.0f);
20121 rintl(0.0l);
20122 round(0.0);
20123 roundf(0.0f);
20124 roundl(0.0l);
20125 scalbln(0.0, 0l);
20126 scalblnf(0.0f, 0l);
20127 scalblnl(0.0l, 0l);
20128 scalbn(0.0, 0);
20129 scalbnf(0.0f, 0);
20130 scalbnl(0.0l, 0);
20131 tgamma(0.0);
20132 tgammaf(0.0f);
20133 tgammal(0.0l);
20134 trunc(0.0);
20135 truncf(0.0f);
20136 truncl(0.0l);
20139 return 0;
20141 _ACEOF
20142 if ac_fn_cxx_try_compile "$LINENO"; then :
20143 glibcxx_cv_c99_math_tr1=yes
20144 else
20145 glibcxx_cv_c99_math_tr1=no
20147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20151 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20152 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20154 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20157 case "${target_os}" in
20158 darwin*)
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20160 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20161 if ${glibcxx_cv_c99_math_llround+:} false; then :
20162 $as_echo_n "(cached) " >&6
20163 else
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h. */
20167 #include <math.h>
20169 main ()
20171 llrint(0.0);
20172 llrintf(0.0f);
20173 llrintl(0.0l);
20174 llround(0.0);
20175 llroundf(0.0f);
20176 llroundl(0.0l);
20179 return 0;
20181 _ACEOF
20182 if ac_fn_cxx_try_compile "$LINENO"; then :
20183 glibcxx_cv_c99_math_llround=yes
20184 else
20185 glibcxx_cv_c99_math_llround=no
20187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20191 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20193 esac
20194 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20196 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20201 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20202 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20203 ac_c99_inttypes_tr1=no;
20204 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20206 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20208 /* end confdefs.h. */
20209 #include <inttypes.h>
20211 main ()
20213 intmax_t i, numer, denom, base;
20214 const char* s;
20215 char** endptr;
20216 intmax_t ret = imaxabs(i);
20217 imaxdiv_t dret = imaxdiv(numer, denom);
20218 ret = strtoimax(s, endptr, base);
20219 uintmax_t uret = strtoumax(s, endptr, base);
20222 return 0;
20224 _ACEOF
20225 if ac_fn_cxx_try_compile "$LINENO"; then :
20226 ac_c99_inttypes_tr1=yes
20227 else
20228 ac_c99_inttypes_tr1=no
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20232 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20234 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20236 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20240 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20241 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20242 ac_c99_inttypes_wchar_t_tr1=no;
20243 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20245 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20247 /* end confdefs.h. */
20248 #include <inttypes.h>
20250 main ()
20252 intmax_t base;
20253 const wchar_t* s;
20254 wchar_t** endptr;
20255 intmax_t ret = wcstoimax(s, endptr, base);
20256 uintmax_t uret = wcstoumax(s, endptr, base);
20259 return 0;
20261 _ACEOF
20262 if ac_fn_cxx_try_compile "$LINENO"; then :
20263 ac_c99_inttypes_wchar_t_tr1=yes
20264 else
20265 ac_c99_inttypes_wchar_t_tr1=no
20267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20269 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20271 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20273 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20277 # Check for the existence of the <stdbool.h> header.
20278 for ac_header in stdbool.h
20279 do :
20280 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20281 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20282 cat >>confdefs.h <<_ACEOF
20283 #define HAVE_STDBOOL_H 1
20284 _ACEOF
20288 done
20291 # Check for the existence of the <stdalign.h> header.
20292 for ac_header in stdalign.h
20293 do :
20294 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20295 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20296 cat >>confdefs.h <<_ACEOF
20297 #define HAVE_STDALIGN_H 1
20298 _ACEOF
20302 done
20305 CXXFLAGS="$ac_save_CXXFLAGS"
20306 ac_ext=c
20307 ac_cpp='$CPP $CPPFLAGS'
20308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20314 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20317 if test "$is_hosted" = yes; then
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20319 $as_echo_n "checking for the value of EOF... " >&6; }
20320 if ${glibcxx_cv_stdio_eof+:} false; then :
20321 $as_echo_n "(cached) " >&6
20322 else
20324 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20326 else
20327 as_fn_error $? "computing EOF failed" "$LINENO" 5
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20333 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20335 cat >>confdefs.h <<_ACEOF
20336 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20337 _ACEOF
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20341 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20342 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20343 $as_echo_n "(cached) " >&6
20344 else
20346 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20348 else
20349 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20355 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20357 cat >>confdefs.h <<_ACEOF
20358 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20359 _ACEOF
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20363 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20364 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20365 $as_echo_n "(cached) " >&6
20366 else
20368 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20370 else
20371 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20377 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20379 cat >>confdefs.h <<_ACEOF
20380 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20381 _ACEOF
20386 # For gettimeofday support.
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20390 $as_echo_n "checking for gettimeofday... " >&6; }
20393 ac_ext=cpp
20394 ac_cpp='$CXXCPP $CPPFLAGS'
20395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20399 ac_save_CXXFLAGS="$CXXFLAGS"
20400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20402 ac_has_gettimeofday=no;
20403 for ac_header in sys/time.h
20404 do :
20405 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20406 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20407 cat >>confdefs.h <<_ACEOF
20408 #define HAVE_SYS_TIME_H 1
20409 _ACEOF
20410 ac_has_sys_time_h=yes
20411 else
20412 ac_has_sys_time_h=no
20415 done
20417 if test x"$ac_has_sys_time_h" = x"yes"; then
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20419 $as_echo_n "checking for gettimeofday... " >&6; }
20420 if test x$gcc_no_link = xyes; then
20421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20422 /* end confdefs.h. */
20423 #include <sys/time.h>
20425 main ()
20427 timeval tv; gettimeofday(&tv, 0);
20429 return 0;
20431 _ACEOF
20432 if ac_fn_cxx_try_compile "$LINENO"; then :
20433 ac_has_gettimeofday=yes
20434 else
20435 ac_has_gettimeofday=no
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 else
20439 if test x$gcc_no_link = xyes; then
20440 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20444 #include <sys/time.h>
20446 main ()
20448 timeval tv; gettimeofday(&tv, 0);
20450 return 0;
20452 _ACEOF
20453 if ac_fn_cxx_try_link "$LINENO"; then :
20454 ac_has_gettimeofday=yes
20455 else
20456 ac_has_gettimeofday=no
20458 rm -f core conftest.err conftest.$ac_objext \
20459 conftest$ac_exeext conftest.$ac_ext
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20463 $as_echo "$ac_has_gettimeofday" >&6; }
20466 if test x"$ac_has_gettimeofday" = x"yes"; then
20468 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20472 CXXFLAGS="$ac_save_CXXFLAGS"
20473 ac_ext=c
20474 ac_cpp='$CPP $CPPFLAGS'
20475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20481 # For clock_gettime, nanosleep and sched_yield support.
20484 # Check whether --enable-libstdcxx-time was given.
20485 if test "${enable_libstdcxx_time+set}" = set; then :
20486 enableval=$enable_libstdcxx_time;
20487 case "$enableval" in
20488 yes|no|rt) ;;
20489 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20490 esac
20492 else
20493 enable_libstdcxx_time=auto
20499 ac_ext=cpp
20500 ac_cpp='$CXXCPP $CPPFLAGS'
20501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20505 ac_save_CXXFLAGS="$CXXFLAGS"
20506 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20507 ac_save_LIBS="$LIBS"
20509 ac_has_clock_monotonic=no
20510 ac_has_clock_realtime=no
20511 ac_has_nanosleep=no
20512 ac_has_sched_yield=no
20514 if test x"$enable_libstdcxx_time" = x"auto"; then
20516 case "${target_os}" in
20517 cygwin*)
20518 ac_has_nanosleep=yes
20520 darwin*)
20521 ac_has_nanosleep=yes
20522 ac_has_sched_yield=yes
20524 # VxWorks has nanosleep as soon as the kernel is configured with
20525 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20526 vxworks*)
20527 ac_has_nanosleep=yes
20529 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20530 # Don't use link test for freestanding library, in case gcc_no_link=yes
20531 if test x"$is_hosted" = xyes; then
20532 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20534 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20535 if ${ac_cv_search_clock_gettime+:} false; then :
20536 $as_echo_n "(cached) " >&6
20537 else
20538 ac_func_search_save_LIBS=$LIBS
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20542 /* Override any GCC internal prototype to avoid an error.
20543 Use char because int might match the return type of a GCC
20544 builtin and then its argument prototype would still apply. */
20545 #ifdef __cplusplus
20546 extern "C"
20547 #endif
20548 char clock_gettime ();
20550 main ()
20552 return clock_gettime ();
20554 return 0;
20556 _ACEOF
20557 for ac_lib in '' rt; do
20558 if test -z "$ac_lib"; then
20559 ac_res="none required"
20560 else
20561 ac_res=-l$ac_lib
20562 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20564 if test x$gcc_no_link = xyes; then
20565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20567 if ac_fn_cxx_try_link "$LINENO"; then :
20568 ac_cv_search_clock_gettime=$ac_res
20570 rm -f core conftest.err conftest.$ac_objext \
20571 conftest$ac_exeext
20572 if ${ac_cv_search_clock_gettime+:} false; then :
20573 break
20575 done
20576 if ${ac_cv_search_clock_gettime+:} false; then :
20578 else
20579 ac_cv_search_clock_gettime=no
20581 rm conftest.$ac_ext
20582 LIBS=$ac_func_search_save_LIBS
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20585 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20586 ac_res=$ac_cv_search_clock_gettime
20587 if test "$ac_res" != no; then :
20588 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20592 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20593 ac_has_clock_monotonic=yes
20594 ac_has_clock_realtime=yes
20597 ac_has_nanosleep=yes
20598 ac_has_sched_yield=yes
20600 freebsd*|netbsd*|dragonfly*|rtems*)
20601 ac_has_clock_monotonic=yes
20602 ac_has_clock_realtime=yes
20603 ac_has_nanosleep=yes
20604 ac_has_sched_yield=yes
20606 openbsd*)
20607 ac_has_clock_monotonic=yes
20608 ac_has_clock_realtime=yes
20609 ac_has_nanosleep=yes
20611 solaris*)
20612 ac_has_clock_monotonic=yes
20613 ac_has_clock_realtime=yes
20614 ac_has_nanosleep=yes
20615 ac_has_sched_yield=yes
20617 uclinux*)
20618 ac_has_nanosleep=yes
20619 ac_has_sched_yield=yes
20620 esac
20622 elif test x"$enable_libstdcxx_time" != x"no"; then
20624 if test x"$enable_libstdcxx_time" = x"rt"; then
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20626 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20627 if ${ac_cv_search_clock_gettime+:} false; then :
20628 $as_echo_n "(cached) " >&6
20629 else
20630 ac_func_search_save_LIBS=$LIBS
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20634 /* Override any GCC internal prototype to avoid an error.
20635 Use char because int might match the return type of a GCC
20636 builtin and then its argument prototype would still apply. */
20637 #ifdef __cplusplus
20638 extern "C"
20639 #endif
20640 char clock_gettime ();
20642 main ()
20644 return clock_gettime ();
20646 return 0;
20648 _ACEOF
20649 for ac_lib in '' rt; do
20650 if test -z "$ac_lib"; then
20651 ac_res="none required"
20652 else
20653 ac_res=-l$ac_lib
20654 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20656 if test x$gcc_no_link = xyes; then
20657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20659 if ac_fn_cxx_try_link "$LINENO"; then :
20660 ac_cv_search_clock_gettime=$ac_res
20662 rm -f core conftest.err conftest.$ac_objext \
20663 conftest$ac_exeext
20664 if ${ac_cv_search_clock_gettime+:} false; then :
20665 break
20667 done
20668 if ${ac_cv_search_clock_gettime+:} false; then :
20670 else
20671 ac_cv_search_clock_gettime=no
20673 rm conftest.$ac_ext
20674 LIBS=$ac_func_search_save_LIBS
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20677 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20678 ac_res=$ac_cv_search_clock_gettime
20679 if test "$ac_res" != no; then :
20680 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20685 $as_echo_n "checking for library containing nanosleep... " >&6; }
20686 if ${ac_cv_search_nanosleep+:} false; then :
20687 $as_echo_n "(cached) " >&6
20688 else
20689 ac_func_search_save_LIBS=$LIBS
20690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20691 /* end confdefs.h. */
20693 /* Override any GCC internal prototype to avoid an error.
20694 Use char because int might match the return type of a GCC
20695 builtin and then its argument prototype would still apply. */
20696 #ifdef __cplusplus
20697 extern "C"
20698 #endif
20699 char nanosleep ();
20701 main ()
20703 return nanosleep ();
20705 return 0;
20707 _ACEOF
20708 for ac_lib in '' rt; do
20709 if test -z "$ac_lib"; then
20710 ac_res="none required"
20711 else
20712 ac_res=-l$ac_lib
20713 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20715 if test x$gcc_no_link = xyes; then
20716 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20718 if ac_fn_cxx_try_link "$LINENO"; then :
20719 ac_cv_search_nanosleep=$ac_res
20721 rm -f core conftest.err conftest.$ac_objext \
20722 conftest$ac_exeext
20723 if ${ac_cv_search_nanosleep+:} false; then :
20724 break
20726 done
20727 if ${ac_cv_search_nanosleep+:} false; then :
20729 else
20730 ac_cv_search_nanosleep=no
20732 rm conftest.$ac_ext
20733 LIBS=$ac_func_search_save_LIBS
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20736 $as_echo "$ac_cv_search_nanosleep" >&6; }
20737 ac_res=$ac_cv_search_nanosleep
20738 if test "$ac_res" != no; then :
20739 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20743 else
20744 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20745 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20749 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20750 if test "x$ac_cv_func_nanosleep" = xyes; then :
20756 case "$ac_cv_search_clock_gettime" in
20757 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20759 esac
20760 case "$ac_cv_search_nanosleep" in
20761 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20763 esac
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20766 $as_echo_n "checking for library containing sched_yield... " >&6; }
20767 if ${ac_cv_search_sched_yield+:} false; then :
20768 $as_echo_n "(cached) " >&6
20769 else
20770 ac_func_search_save_LIBS=$LIBS
20771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20772 /* end confdefs.h. */
20774 /* Override any GCC internal prototype to avoid an error.
20775 Use char because int might match the return type of a GCC
20776 builtin and then its argument prototype would still apply. */
20777 #ifdef __cplusplus
20778 extern "C"
20779 #endif
20780 char sched_yield ();
20782 main ()
20784 return sched_yield ();
20786 return 0;
20788 _ACEOF
20789 for ac_lib in '' rt; do
20790 if test -z "$ac_lib"; then
20791 ac_res="none required"
20792 else
20793 ac_res=-l$ac_lib
20794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20796 if test x$gcc_no_link = xyes; then
20797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20799 if ac_fn_cxx_try_link "$LINENO"; then :
20800 ac_cv_search_sched_yield=$ac_res
20802 rm -f core conftest.err conftest.$ac_objext \
20803 conftest$ac_exeext
20804 if ${ac_cv_search_sched_yield+:} false; then :
20805 break
20807 done
20808 if ${ac_cv_search_sched_yield+:} false; then :
20810 else
20811 ac_cv_search_sched_yield=no
20813 rm conftest.$ac_ext
20814 LIBS=$ac_func_search_save_LIBS
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20817 $as_echo "$ac_cv_search_sched_yield" >&6; }
20818 ac_res=$ac_cv_search_sched_yield
20819 if test "$ac_res" != no; then :
20820 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20825 case "$ac_cv_search_sched_yield" in
20826 -lrt*)
20827 if test x"$enable_libstdcxx_time" = x"rt"; then
20828 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20829 ac_has_sched_yield=yes
20833 ac_has_sched_yield=yes
20835 esac
20837 for ac_header in unistd.h
20838 do :
20839 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20840 if test "x$ac_cv_header_unistd_h" = xyes; then :
20841 cat >>confdefs.h <<_ACEOF
20842 #define HAVE_UNISTD_H 1
20843 _ACEOF
20844 ac_has_unistd_h=yes
20845 else
20846 ac_has_unistd_h=no
20849 done
20852 if test x"$ac_has_unistd_h" = x"yes"; then
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20854 $as_echo_n "checking for monotonic clock... " >&6; }
20855 if test x$gcc_no_link = xyes; then
20856 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20859 /* end confdefs.h. */
20860 #include <unistd.h>
20861 #include <time.h>
20864 main ()
20866 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20867 timespec tp;
20868 #endif
20869 clock_gettime(CLOCK_MONOTONIC, &tp);
20872 return 0;
20874 _ACEOF
20875 if ac_fn_cxx_try_link "$LINENO"; then :
20876 ac_has_clock_monotonic=yes
20877 else
20878 ac_has_clock_monotonic=no
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20884 $as_echo "$ac_has_clock_monotonic" >&6; }
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20887 $as_echo_n "checking for realtime clock... " >&6; }
20888 if test x$gcc_no_link = xyes; then
20889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20892 /* end confdefs.h. */
20893 #include <unistd.h>
20894 #include <time.h>
20897 main ()
20899 #if _POSIX_TIMERS > 0
20900 timespec tp;
20901 #endif
20902 clock_gettime(CLOCK_REALTIME, &tp);
20905 return 0;
20907 _ACEOF
20908 if ac_fn_cxx_try_link "$LINENO"; then :
20909 ac_has_clock_realtime=yes
20910 else
20911 ac_has_clock_realtime=no
20913 rm -f core conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext conftest.$ac_ext
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20917 $as_echo "$ac_has_clock_realtime" >&6; }
20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20920 $as_echo_n "checking for nanosleep... " >&6; }
20921 if test x$gcc_no_link = xyes; then
20922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20925 /* end confdefs.h. */
20926 #include <unistd.h>
20927 #include <time.h>
20930 main ()
20932 #if _POSIX_TIMERS > 0
20933 timespec tp;
20934 #endif
20935 nanosleep(&tp, 0);
20938 return 0;
20940 _ACEOF
20941 if ac_fn_cxx_try_link "$LINENO"; then :
20942 ac_has_nanosleep=yes
20943 else
20944 ac_has_nanosleep=no
20946 rm -f core conftest.err conftest.$ac_objext \
20947 conftest$ac_exeext conftest.$ac_ext
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20950 $as_echo "$ac_has_nanosleep" >&6; }
20954 if test x"$ac_has_clock_monotonic" != x"yes"; then
20955 case ${target_os} in
20956 linux* | uclinux*)
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20958 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961 #include <unistd.h>
20962 #include <time.h>
20963 #include <sys/syscall.h>
20966 main ()
20968 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20969 timespec tp;
20970 #endif
20971 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20972 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20975 return 0;
20977 _ACEOF
20978 if ac_fn_cxx_try_compile "$LINENO"; then :
20979 ac_has_clock_gettime_syscall=yes
20980 else
20981 ac_has_clock_gettime_syscall=no
20983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20985 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20986 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20988 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20990 ac_has_clock_monotonic=yes
20991 ac_has_clock_realtime=yes
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20993 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20995 /* end confdefs.h. */
20996 #include <time.h>
20997 #include <sys/syscall.h>
21000 main ()
21002 #ifdef SYS_clock_gettime64
21003 #if SYS_clock_gettime64 != SYS_clock_gettime
21004 // We need to use SYS_clock_gettime and libc appears to
21005 // also know about the SYS_clock_gettime64 syscall.
21006 // Check that userspace doesn't use time64 version of timespec.
21007 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21008 "struct timespec must be compatible with SYS_clock_gettime");
21009 #endif
21010 #endif
21013 return 0;
21015 _ACEOF
21016 if ac_fn_cxx_try_compile "$LINENO"; then :
21017 ac_timespec_matches_syscall=yes
21018 else
21019 ac_timespec_matches_syscall=no
21021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21023 $as_echo "$ac_timespec_matches_syscall" >&6; }
21024 if test x"$ac_timespec_matches_syscall" = no; then
21025 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21027 fi;;
21028 esac
21031 if test x"$ac_has_clock_monotonic" = x"yes"; then
21033 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21037 if test x"$ac_has_clock_realtime" = x"yes"; then
21039 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21043 if test x"$ac_has_sched_yield" = x"yes"; then
21045 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21049 if test x"$ac_has_nanosleep" = x"yes"; then
21051 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21053 else
21054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21055 $as_echo_n "checking for sleep... " >&6; }
21056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21057 /* end confdefs.h. */
21058 #include <unistd.h>
21060 main ()
21062 sleep(1)
21064 return 0;
21066 _ACEOF
21067 if ac_fn_cxx_try_compile "$LINENO"; then :
21068 ac_has_sleep=yes
21069 else
21070 ac_has_sleep=no
21072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21073 if test x"$ac_has_sleep" = x"yes"; then
21075 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21079 $as_echo "$ac_has_sleep" >&6; }
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21081 $as_echo_n "checking for usleep... " >&6; }
21082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21083 /* end confdefs.h. */
21084 #include <unistd.h>
21086 main ()
21088 sleep(1);
21089 usleep(100);
21091 return 0;
21093 _ACEOF
21094 if ac_fn_cxx_try_compile "$LINENO"; then :
21095 ac_has_usleep=yes
21096 else
21097 ac_has_usleep=no
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 if test x"$ac_has_usleep" = x"yes"; then
21102 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21106 $as_echo "$ac_has_usleep" >&6; }
21109 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21110 ac_no_sleep=yes
21111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21112 $as_echo_n "checking for Sleep... " >&6; }
21113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21114 /* end confdefs.h. */
21115 #include <windows.h>
21117 main ()
21119 Sleep(1)
21121 return 0;
21123 _ACEOF
21124 if ac_fn_cxx_try_compile "$LINENO"; then :
21125 ac_has_win32_sleep=yes
21126 else
21127 ac_has_win32_sleep=no
21129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21130 if test x"$ac_has_win32_sleep" = x"yes"; then
21132 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21134 ac_no_sleep=no
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21137 $as_echo "$ac_has_win32_sleep" >&6; }
21140 if test x"$ac_no_sleep" = x"yes"; then
21142 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21148 CXXFLAGS="$ac_save_CXXFLAGS"
21149 LIBS="$ac_save_LIBS"
21150 ac_ext=c
21151 ac_cpp='$CPP $CPPFLAGS'
21152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21158 # Check for tmpnam which is obsolescent in POSIX.1-2008
21160 ac_ext=cpp
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166 ac_save_CXXFLAGS="$CXXFLAGS"
21167 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21169 $as_echo_n "checking for tmpnam... " >&6; }
21170 if ${glibcxx_cv_TMPNAM+:} false; then :
21171 $as_echo_n "(cached) " >&6
21172 else
21173 if test x$gcc_no_link = xyes; then
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176 #include <stdio.h>
21178 main ()
21180 char *tmp = tmpnam(NULL);
21182 return 0;
21184 _ACEOF
21185 if ac_fn_cxx_try_compile "$LINENO"; then :
21186 glibcxx_cv_TMPNAM=yes
21187 else
21188 glibcxx_cv_TMPNAM=no
21190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21191 else
21192 if test x$gcc_no_link = xyes; then
21193 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197 #include <stdio.h>
21199 main ()
21201 char *tmp = tmpnam(NULL);
21203 return 0;
21205 _ACEOF
21206 if ac_fn_cxx_try_link "$LINENO"; then :
21207 glibcxx_cv_TMPNAM=yes
21208 else
21209 glibcxx_cv_TMPNAM=no
21211 rm -f core conftest.err conftest.$ac_objext \
21212 conftest$ac_exeext conftest.$ac_ext
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21217 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21218 if test $glibcxx_cv_TMPNAM = yes; then
21220 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21223 CXXFLAGS="$ac_save_CXXFLAGS"
21224 ac_ext=c
21225 ac_cpp='$CPP $CPPFLAGS'
21226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21232 # For pthread_cond_clockwait
21236 ac_ext=cpp
21237 ac_cpp='$CXXCPP $CPPFLAGS'
21238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21242 ac_save_CXXFLAGS="$CXXFLAGS"
21243 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21244 ac_save_LIBS="$LIBS"
21245 LIBS="$LIBS -lpthread"
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21248 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21249 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21253 if test x$gcc_no_link = xyes; then
21254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21255 /* end confdefs.h. */
21256 #include <pthread.h>
21258 main ()
21260 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21262 return 0;
21264 _ACEOF
21265 if ac_fn_cxx_try_compile "$LINENO"; then :
21266 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21267 else
21268 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21271 else
21272 if test x$gcc_no_link = xyes; then
21273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21276 /* end confdefs.h. */
21277 #include <pthread.h>
21279 main ()
21281 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21283 return 0;
21285 _ACEOF
21286 if ac_fn_cxx_try_link "$LINENO"; then :
21287 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21288 else
21289 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21291 rm -f core conftest.err conftest.$ac_objext \
21292 conftest$ac_exeext conftest.$ac_ext
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21297 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21298 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21300 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21304 CXXFLAGS="$ac_save_CXXFLAGS"
21305 LIBS="$ac_save_LIBS"
21306 ac_ext=c
21307 ac_cpp='$CPP $CPPFLAGS'
21308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21314 # For pthread_mutex_clocklock
21318 ac_ext=cpp
21319 ac_cpp='$CXXCPP $CPPFLAGS'
21320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21324 ac_save_CXXFLAGS="$CXXFLAGS"
21325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21326 ac_save_LIBS="$LIBS"
21327 LIBS="$LIBS -lpthread"
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21330 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21331 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21332 $as_echo_n "(cached) " >&6
21333 else
21335 if test x$gcc_no_link = xyes; then
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21338 #include <pthread.h>
21340 main ()
21342 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21344 return 0;
21346 _ACEOF
21347 if ac_fn_cxx_try_compile "$LINENO"; then :
21348 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21349 else
21350 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21353 else
21354 if test x$gcc_no_link = xyes; then
21355 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h. */
21359 #include <pthread.h>
21361 main ()
21363 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21365 return 0;
21367 _ACEOF
21368 if ac_fn_cxx_try_link "$LINENO"; then :
21369 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21370 else
21371 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21373 rm -f core conftest.err conftest.$ac_objext \
21374 conftest$ac_exeext conftest.$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21379 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21380 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21382 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21386 CXXFLAGS="$ac_save_CXXFLAGS"
21387 LIBS="$ac_save_LIBS"
21388 ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21396 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21400 ac_ext=cpp
21401 ac_cpp='$CXXCPP $CPPFLAGS'
21402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21406 ac_save_CXXFLAGS="$CXXFLAGS"
21407 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21408 ac_save_LIBS="$LIBS"
21409 LIBS="$LIBS -lpthread"
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21412 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21413 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21414 $as_echo_n "(cached) " >&6
21415 else
21417 if test x$gcc_no_link = xyes; then
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h. */
21420 #include <pthread.h>
21422 main ()
21424 pthread_rwlock_t rwl; struct timespec ts;
21425 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21426 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21428 return 0;
21430 _ACEOF
21431 if ac_fn_cxx_try_compile "$LINENO"; then :
21432 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21433 else
21434 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21437 else
21438 if test x$gcc_no_link = xyes; then
21439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #include <pthread.h>
21445 main ()
21447 pthread_rwlock_t rwl; struct timespec ts;
21448 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21449 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21451 return 0;
21453 _ACEOF
21454 if ac_fn_cxx_try_link "$LINENO"; then :
21455 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21456 else
21457 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21459 rm -f core conftest.err conftest.$ac_objext \
21460 conftest$ac_exeext conftest.$ac_ext
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21465 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21466 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21468 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21472 CXXFLAGS="$ac_save_CXXFLAGS"
21473 LIBS="$ac_save_LIBS"
21474 ac_ext=c
21475 ac_cpp='$CPP $CPPFLAGS'
21476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21484 if test "x$ac_cv_header_locale_h" = xyes; then :
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21487 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21488 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21489 $as_echo_n "(cached) " >&6
21490 else
21491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21492 /* end confdefs.h. */
21493 #include <locale.h>
21495 main ()
21497 return LC_MESSAGES
21499 return 0;
21501 _ACEOF
21502 if ac_fn_c_try_compile "$LINENO"; then :
21503 ac_cv_val_LC_MESSAGES=yes
21504 else
21505 ac_cv_val_LC_MESSAGES=no
21507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21510 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21511 if test $ac_cv_val_LC_MESSAGES = yes; then
21513 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21522 # For hardware_concurrency
21523 for ac_header in sys/sysinfo.h
21524 do :
21525 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21526 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21527 cat >>confdefs.h <<_ACEOF
21528 #define HAVE_SYS_SYSINFO_H 1
21529 _ACEOF
21533 done
21538 ac_ext=cpp
21539 ac_cpp='$CXXCPP $CPPFLAGS'
21540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21544 ac_save_CXXFLAGS="$CXXFLAGS"
21545 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21548 $as_echo_n "checking for get_nprocs... " >&6; }
21549 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21550 $as_echo_n "(cached) " >&6
21551 else
21553 if test x$gcc_no_link = xyes; then
21554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21555 /* end confdefs.h. */
21556 #include <sys/sysinfo.h>
21558 main ()
21560 int n = get_nprocs();
21562 return 0;
21564 _ACEOF
21565 if ac_fn_cxx_try_compile "$LINENO"; then :
21566 glibcxx_cv_GET_NPROCS=yes
21567 else
21568 glibcxx_cv_GET_NPROCS=no
21570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21571 else
21572 if test x$gcc_no_link = xyes; then
21573 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21576 /* end confdefs.h. */
21577 #include <sys/sysinfo.h>
21579 main ()
21581 int n = get_nprocs();
21583 return 0;
21585 _ACEOF
21586 if ac_fn_cxx_try_link "$LINENO"; then :
21587 glibcxx_cv_GET_NPROCS=yes
21588 else
21589 glibcxx_cv_GET_NPROCS=no
21591 rm -f core conftest.err conftest.$ac_objext \
21592 conftest$ac_exeext conftest.$ac_ext
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21597 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21598 if test $glibcxx_cv_GET_NPROCS = yes; then
21600 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21604 CXXFLAGS="$ac_save_CXXFLAGS"
21605 ac_ext=c
21606 ac_cpp='$CPP $CPPFLAGS'
21607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21612 for ac_header in unistd.h
21613 do :
21614 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21615 if test "x$ac_cv_header_unistd_h" = xyes; then :
21616 cat >>confdefs.h <<_ACEOF
21617 #define HAVE_UNISTD_H 1
21618 _ACEOF
21622 done
21627 ac_ext=cpp
21628 ac_cpp='$CXXCPP $CPPFLAGS'
21629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21633 ac_save_CXXFLAGS="$CXXFLAGS"
21634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21637 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21638 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21639 $as_echo_n "(cached) " >&6
21640 else
21642 if test x$gcc_no_link = xyes; then
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <unistd.h>
21647 main ()
21649 int n = sysconf(_SC_NPROCESSORS_ONLN);
21651 return 0;
21653 _ACEOF
21654 if ac_fn_cxx_try_compile "$LINENO"; then :
21655 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21656 else
21657 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 else
21661 if test x$gcc_no_link = xyes; then
21662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <unistd.h>
21668 main ()
21670 int n = sysconf(_SC_NPROCESSORS_ONLN);
21672 return 0;
21674 _ACEOF
21675 if ac_fn_cxx_try_link "$LINENO"; then :
21676 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21677 else
21678 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21680 rm -f core conftest.err conftest.$ac_objext \
21681 conftest$ac_exeext conftest.$ac_ext
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21686 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21687 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21689 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21693 CXXFLAGS="$ac_save_CXXFLAGS"
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21704 ac_ext=cpp
21705 ac_cpp='$CXXCPP $CPPFLAGS'
21706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21710 ac_save_CXXFLAGS="$CXXFLAGS"
21711 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21714 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21715 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21716 $as_echo_n "(cached) " >&6
21717 else
21719 if test x$gcc_no_link = xyes; then
21720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21721 /* end confdefs.h. */
21722 #include <unistd.h>
21724 main ()
21726 int n = sysconf(_SC_NPROC_ONLN);
21728 return 0;
21730 _ACEOF
21731 if ac_fn_cxx_try_compile "$LINENO"; then :
21732 glibcxx_cv_SC_NPROC_ONLN=yes
21733 else
21734 glibcxx_cv_SC_NPROC_ONLN=no
21736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21737 else
21738 if test x$gcc_no_link = xyes; then
21739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 #include <unistd.h>
21745 main ()
21747 int n = sysconf(_SC_NPROC_ONLN);
21749 return 0;
21751 _ACEOF
21752 if ac_fn_cxx_try_link "$LINENO"; then :
21753 glibcxx_cv_SC_NPROC_ONLN=yes
21754 else
21755 glibcxx_cv_SC_NPROC_ONLN=no
21757 rm -f core conftest.err conftest.$ac_objext \
21758 conftest$ac_exeext conftest.$ac_ext
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21763 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21764 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21766 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21770 CXXFLAGS="$ac_save_CXXFLAGS"
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21781 ac_ext=cpp
21782 ac_cpp='$CXXCPP $CPPFLAGS'
21783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21787 ac_save_CXXFLAGS="$CXXFLAGS"
21788 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21791 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21792 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21793 $as_echo_n "(cached) " >&6
21794 else
21796 if test x$gcc_no_link = xyes; then
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21799 #include <pthread.h>
21801 main ()
21803 int n = pthread_num_processors_np();
21805 return 0;
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21810 else
21811 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 else
21815 if test x$gcc_no_link = xyes; then
21816 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h. */
21820 #include <pthread.h>
21822 main ()
21824 int n = pthread_num_processors_np();
21826 return 0;
21828 _ACEOF
21829 if ac_fn_cxx_try_link "$LINENO"; then :
21830 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21831 else
21832 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21834 rm -f core conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21840 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21841 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21843 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21847 CXXFLAGS="$ac_save_CXXFLAGS"
21848 ac_ext=c
21849 ac_cpp='$CPP $CPPFLAGS'
21850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21858 ac_ext=cpp
21859 ac_cpp='$CXXCPP $CPPFLAGS'
21860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21864 ac_save_CXXFLAGS="$CXXFLAGS"
21865 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21868 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21869 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21870 $as_echo_n "(cached) " >&6
21871 else
21873 if test x$gcc_no_link = xyes; then
21874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21875 /* end confdefs.h. */
21877 #include <stddef.h>
21878 #include <sys/sysctl.h>
21881 main ()
21884 int count;
21885 size_t size = sizeof(count);
21886 int mib[] = { CTL_HW, HW_NCPU };
21887 sysctl(mib, 2, &count, &size, NULL, 0);
21890 return 0;
21892 _ACEOF
21893 if ac_fn_cxx_try_compile "$LINENO"; then :
21894 glibcxx_cv_SYSCTL_HW_NCPU=yes
21895 else
21896 glibcxx_cv_SYSCTL_HW_NCPU=no
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 else
21900 if test x$gcc_no_link = xyes; then
21901 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21904 /* end confdefs.h. */
21906 #include <stddef.h>
21907 #include <sys/sysctl.h>
21910 main ()
21913 int count;
21914 size_t size = sizeof(count);
21915 int mib[] = { CTL_HW, HW_NCPU };
21916 sysctl(mib, 2, &count, &size, NULL, 0);
21919 return 0;
21921 _ACEOF
21922 if ac_fn_cxx_try_link "$LINENO"; then :
21923 glibcxx_cv_SYSCTL_HW_NCPU=yes
21924 else
21925 glibcxx_cv_SYSCTL_HW_NCPU=no
21927 rm -f core conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21933 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21934 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21936 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21940 CXXFLAGS="$ac_save_CXXFLAGS"
21941 ac_ext=c
21942 ac_cpp='$CPP $CPPFLAGS'
21943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21949 # Note that this test has to be run with the C language.
21950 # Otherwise, sdt.h will try to include some headers from
21951 # libstdc++ itself.
21953 ac_ext=c
21954 ac_cpp='$CPP $CPPFLAGS'
21955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21960 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21961 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21965 # Because we have to run the test in C, we use grep rather
21966 # than the compiler to check for the bug. The bug is that
21967 # were strings without trailing whitespace, causing g++
21968 # to look for operator"". The pattern searches for the fixed
21969 # output.
21970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21971 /* end confdefs.h. */
21973 #include <sys/sdt.h>
21974 int f() { STAP_PROBE(hi, bob); }
21976 _ACEOF
21977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21978 $EGREP " \",\" " >/dev/null 2>&1; then :
21979 glibcxx_cv_sys_sdt_h=yes
21980 else
21981 glibcxx_cv_sys_sdt_h=no
21983 rm -f conftest*
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21988 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21995 if test $glibcxx_cv_sys_sdt_h = yes; then
21997 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22002 # Check for available headers.
22003 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22004 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22005 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22006 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22007 wchar.h wctype.h linux/types.h
22008 do :
22009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22010 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22014 _ACEOF
22018 done
22021 for ac_header in linux/random.h
22022 do :
22023 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22024 # include <linux/types.h>
22025 #endif
22028 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22029 cat >>confdefs.h <<_ACEOF
22030 #define HAVE_LINUX_RANDOM_H 1
22031 _ACEOF
22035 done
22038 for ac_header in xlocale.h
22039 do :
22040 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22041 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22042 cat >>confdefs.h <<_ACEOF
22043 #define HAVE_XLOCALE_H 1
22044 _ACEOF
22048 done
22051 # Only do link tests if native. Else, hardcode.
22052 if $GLIBCXX_IS_NATIVE; then
22054 # We can do more elaborate tests that assume a working linker.
22055 CANADIAN=no
22059 # Check whether --with-gnu-ld was given.
22060 if test "${with_gnu_ld+set}" = set; then :
22061 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22062 else
22063 with_gnu_ld=no
22066 ac_prog=ld
22067 if test "$GCC" = yes; then
22068 # Check if gcc -print-prog-name=ld gives a path.
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22070 $as_echo_n "checking for ld used by $CC... " >&6; }
22071 case $host in
22072 *-*-mingw*)
22073 # gcc leaves a trailing carriage return which upsets mingw
22074 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22076 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22077 esac
22078 case $ac_prog in
22079 # Accept absolute paths.
22080 [\\/]* | ?:[\\/]*)
22081 re_direlt='/[^/][^/]*/\.\./'
22082 # Canonicalize the pathname of ld
22083 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22084 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22085 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22086 done
22087 test -z "$LD" && LD="$ac_prog"
22090 # If it fails, then pretend we aren't using GCC.
22091 ac_prog=ld
22094 # If it is relative, then search for the first ld in PATH.
22095 with_gnu_ld=unknown
22097 esac
22098 elif test "$with_gnu_ld" = yes; then
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22100 $as_echo_n "checking for GNU ld... " >&6; }
22101 else
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22103 $as_echo_n "checking for non-GNU ld... " >&6; }
22105 if ${lt_cv_path_LD+:} false; then :
22106 $as_echo_n "(cached) " >&6
22107 else
22108 if test -z "$LD"; then
22109 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22110 for ac_dir in $PATH; do
22111 IFS="$lt_save_ifs"
22112 test -z "$ac_dir" && ac_dir=.
22113 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22114 lt_cv_path_LD="$ac_dir/$ac_prog"
22115 # Check to see if the program is GNU ld. I'd rather use --version,
22116 # but apparently some variants of GNU ld only accept -v.
22117 # Break only if it was the GNU/non-GNU ld that we prefer.
22118 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22119 *GNU* | *'with BFD'*)
22120 test "$with_gnu_ld" != no && break
22123 test "$with_gnu_ld" != yes && break
22125 esac
22127 done
22128 IFS="$lt_save_ifs"
22129 else
22130 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22134 LD="$lt_cv_path_LD"
22135 if test -n "$LD"; then
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22137 $as_echo "$LD" >&6; }
22138 else
22139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22140 $as_echo "no" >&6; }
22142 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22144 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22145 if ${lt_cv_prog_gnu_ld+:} false; then :
22146 $as_echo_n "(cached) " >&6
22147 else
22148 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22149 case `$LD -v 2>&1 </dev/null` in
22150 *GNU* | *'with BFD'*)
22151 lt_cv_prog_gnu_ld=yes
22154 lt_cv_prog_gnu_ld=no
22156 esac
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22159 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22160 with_gnu_ld=$lt_cv_prog_gnu_ld
22168 # If we're not using GNU ld, then there's no point in even trying these
22169 # tests. Check for that first. We should have already tested for gld
22170 # by now (in libtool), but require it now just to be safe...
22171 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22172 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22176 # The name set by libtool depends on the version of libtool. Shame on us
22177 # for depending on an impl detail, but c'est la vie. Older versions used
22178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22181 # set (hence we're using an older libtool), then set it.
22182 if test x${with_gnu_ld+set} != xset; then
22183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22185 with_gnu_ld=no
22186 else
22187 with_gnu_ld=$ac_cv_prog_gnu_ld
22191 # Start by getting the version number. I think the libtool test already
22192 # does some of this, but throws away the result.
22193 glibcxx_ld_is_gold=no
22194 glibcxx_ld_is_mold=no
22195 if test x"$with_gnu_ld" = x"yes"; then
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22197 $as_echo_n "checking for ld version... " >&6; }
22199 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22200 glibcxx_ld_is_gold=yes
22201 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22202 glibcxx_ld_is_mold=yes
22204 ldver=`$LD --version 2>/dev/null |
22205 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22207 glibcxx_gnu_ld_version=`echo $ldver | \
22208 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22210 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22213 # Set --gc-sections.
22214 glibcxx_have_gc_sections=no
22215 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22216 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22217 glibcxx_have_gc_sections=yes
22219 else
22220 glibcxx_gcsections_min_ld=21602
22221 if test x"$with_gnu_ld" = x"yes" &&
22222 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22223 glibcxx_have_gc_sections=yes
22226 if test "$glibcxx_have_gc_sections" = "yes"; then
22227 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22228 # NB: This flag only works reliably after 2.16.1. Configure tests
22229 # for this are difficult, so hard wire a value that should work.
22231 ac_test_CFLAGS="${CFLAGS+set}"
22232 ac_save_CFLAGS="$CFLAGS"
22233 CFLAGS='-Wl,--gc-sections'
22235 # Check for -Wl,--gc-sections
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22237 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22238 if test x$gcc_no_link = xyes; then
22239 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h. */
22243 int one(void) { return 1; }
22244 int two(void) { return 2; }
22247 main ()
22249 two();
22251 return 0;
22253 _ACEOF
22254 if ac_fn_c_try_link "$LINENO"; then :
22255 ac_gcsections=yes
22256 else
22257 ac_gcsections=no
22259 rm -f core conftest.err conftest.$ac_objext \
22260 conftest$ac_exeext conftest.$ac_ext
22261 if test "$ac_gcsections" = "yes"; then
22262 rm -f conftest.c
22263 touch conftest.c
22264 if $CC -c conftest.c; then
22265 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22266 grep "Warning: gc-sections option ignored" > /dev/null; then
22267 ac_gcsections=no
22270 rm -f conftest.c conftest.o conftest
22272 if test "$ac_gcsections" = "yes"; then
22273 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22276 $as_echo "$ac_gcsections" >&6; }
22278 if test "$ac_test_CFLAGS" = set; then
22279 CFLAGS="$ac_save_CFLAGS"
22280 else
22281 # this is the suspicious part
22282 CFLAGS=''
22286 # Set -z,relro.
22287 # Note this is only for shared objects.
22288 ac_ld_relro=no
22289 if test x"$with_gnu_ld" = x"yes"; then
22290 # cygwin and mingw uses PE, which has no ELF relro support,
22291 # multi target ld may confuse configure machinery
22292 case "$host" in
22293 *-*-cygwin*)
22295 *-*-mingw*)
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22299 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22300 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22301 if test -n "$cxx_z_relo"; then
22302 OPT_LDFLAGS="-Wl,-z,relro"
22303 ac_ld_relro=yes
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22306 $as_echo "$ac_ld_relro" >&6; }
22307 esac
22310 # Set linker optimization flags.
22311 if test x"$with_gnu_ld" = x"yes"; then
22312 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22319 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22320 ac_save_CXXFLAGS="$CXXFLAGS"
22321 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22324 $as_echo_n "checking for sin in -lm... " >&6; }
22325 if ${ac_cv_lib_m_sin+:} false; then :
22326 $as_echo_n "(cached) " >&6
22327 else
22328 ac_check_lib_save_LIBS=$LIBS
22329 LIBS="-lm $LIBS"
22330 if test x$gcc_no_link = xyes; then
22331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22334 /* end confdefs.h. */
22336 /* Override any GCC internal prototype to avoid an error.
22337 Use char because int might match the return type of a GCC
22338 builtin and then its argument prototype would still apply. */
22339 #ifdef __cplusplus
22340 extern "C"
22341 #endif
22342 char sin ();
22344 main ()
22346 return sin ();
22348 return 0;
22350 _ACEOF
22351 if ac_fn_c_try_link "$LINENO"; then :
22352 ac_cv_lib_m_sin=yes
22353 else
22354 ac_cv_lib_m_sin=no
22356 rm -f core conftest.err conftest.$ac_objext \
22357 conftest$ac_exeext conftest.$ac_ext
22358 LIBS=$ac_check_lib_save_LIBS
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22361 $as_echo "$ac_cv_lib_m_sin" >&6; }
22362 if test "x$ac_cv_lib_m_sin" = xyes; then :
22363 libm="-lm"
22366 ac_save_LIBS="$LIBS"
22367 LIBS="$LIBS $libm"
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22372 $as_echo_n "checking for isinf declaration... " >&6; }
22373 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22374 if ${glibcxx_cv_func_isinf_use+:} false; then :
22375 $as_echo_n "(cached) " >&6
22376 else
22379 ac_ext=cpp
22380 ac_cpp='$CXXCPP $CPPFLAGS'
22381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22386 /* end confdefs.h. */
22387 #include <math.h>
22388 #ifdef HAVE_IEEEFP_H
22389 #include <ieeefp.h>
22390 #endif
22393 main ()
22395 isinf(0);
22397 return 0;
22399 _ACEOF
22400 if ac_fn_cxx_try_compile "$LINENO"; then :
22401 glibcxx_cv_func_isinf_use=yes
22402 else
22403 glibcxx_cv_func_isinf_use=no
22405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22406 ac_ext=c
22407 ac_cpp='$CPP $CPPFLAGS'
22408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22417 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22419 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22420 for ac_func in isinf
22421 do :
22422 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22423 if test "x$ac_cv_func_isinf" = xyes; then :
22424 cat >>confdefs.h <<_ACEOF
22425 #define HAVE_ISINF 1
22426 _ACEOF
22429 done
22431 else
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22434 $as_echo_n "checking for _isinf declaration... " >&6; }
22435 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22436 if ${glibcxx_cv_func__isinf_use+:} false; then :
22437 $as_echo_n "(cached) " >&6
22438 else
22441 ac_ext=cpp
22442 ac_cpp='$CXXCPP $CPPFLAGS'
22443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22448 /* end confdefs.h. */
22449 #include <math.h>
22450 #ifdef HAVE_IEEEFP_H
22451 #include <ieeefp.h>
22452 #endif
22455 main ()
22457 _isinf(0);
22459 return 0;
22461 _ACEOF
22462 if ac_fn_cxx_try_compile "$LINENO"; then :
22463 glibcxx_cv_func__isinf_use=yes
22464 else
22465 glibcxx_cv_func__isinf_use=no
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22468 ac_ext=c
22469 ac_cpp='$CPP $CPPFLAGS'
22470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22479 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22481 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22482 for ac_func in _isinf
22483 do :
22484 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22485 if test "x$ac_cv_func__isinf" = xyes; then :
22486 cat >>confdefs.h <<_ACEOF
22487 #define HAVE__ISINF 1
22488 _ACEOF
22491 done
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22501 $as_echo_n "checking for isnan declaration... " >&6; }
22502 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22503 if ${glibcxx_cv_func_isnan_use+:} false; then :
22504 $as_echo_n "(cached) " >&6
22505 else
22508 ac_ext=cpp
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h. */
22516 #include <math.h>
22517 #ifdef HAVE_IEEEFP_H
22518 #include <ieeefp.h>
22519 #endif
22522 main ()
22524 isnan(0);
22526 return 0;
22528 _ACEOF
22529 if ac_fn_cxx_try_compile "$LINENO"; then :
22530 glibcxx_cv_func_isnan_use=yes
22531 else
22532 glibcxx_cv_func_isnan_use=no
22534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22535 ac_ext=c
22536 ac_cpp='$CPP $CPPFLAGS'
22537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22546 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22548 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22549 for ac_func in isnan
22550 do :
22551 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22552 if test "x$ac_cv_func_isnan" = xyes; then :
22553 cat >>confdefs.h <<_ACEOF
22554 #define HAVE_ISNAN 1
22555 _ACEOF
22558 done
22560 else
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22563 $as_echo_n "checking for _isnan declaration... " >&6; }
22564 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22565 if ${glibcxx_cv_func__isnan_use+:} false; then :
22566 $as_echo_n "(cached) " >&6
22567 else
22570 ac_ext=cpp
22571 ac_cpp='$CXXCPP $CPPFLAGS'
22572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22577 /* end confdefs.h. */
22578 #include <math.h>
22579 #ifdef HAVE_IEEEFP_H
22580 #include <ieeefp.h>
22581 #endif
22584 main ()
22586 _isnan(0);
22588 return 0;
22590 _ACEOF
22591 if ac_fn_cxx_try_compile "$LINENO"; then :
22592 glibcxx_cv_func__isnan_use=yes
22593 else
22594 glibcxx_cv_func__isnan_use=no
22596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 ac_ext=c
22598 ac_cpp='$CPP $CPPFLAGS'
22599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22608 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22610 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22611 for ac_func in _isnan
22612 do :
22613 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22614 if test "x$ac_cv_func__isnan" = xyes; then :
22615 cat >>confdefs.h <<_ACEOF
22616 #define HAVE__ISNAN 1
22617 _ACEOF
22620 done
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22630 $as_echo_n "checking for finite declaration... " >&6; }
22631 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22632 if ${glibcxx_cv_func_finite_use+:} false; then :
22633 $as_echo_n "(cached) " >&6
22634 else
22637 ac_ext=cpp
22638 ac_cpp='$CXXCPP $CPPFLAGS'
22639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644 /* end confdefs.h. */
22645 #include <math.h>
22646 #ifdef HAVE_IEEEFP_H
22647 #include <ieeefp.h>
22648 #endif
22651 main ()
22653 finite(0);
22655 return 0;
22657 _ACEOF
22658 if ac_fn_cxx_try_compile "$LINENO"; then :
22659 glibcxx_cv_func_finite_use=yes
22660 else
22661 glibcxx_cv_func_finite_use=no
22663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22664 ac_ext=c
22665 ac_cpp='$CPP $CPPFLAGS'
22666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22675 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22677 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22678 for ac_func in finite
22679 do :
22680 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22681 if test "x$ac_cv_func_finite" = xyes; then :
22682 cat >>confdefs.h <<_ACEOF
22683 #define HAVE_FINITE 1
22684 _ACEOF
22687 done
22689 else
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22692 $as_echo_n "checking for _finite declaration... " >&6; }
22693 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22694 if ${glibcxx_cv_func__finite_use+:} false; then :
22695 $as_echo_n "(cached) " >&6
22696 else
22699 ac_ext=cpp
22700 ac_cpp='$CXXCPP $CPPFLAGS'
22701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22707 #include <math.h>
22708 #ifdef HAVE_IEEEFP_H
22709 #include <ieeefp.h>
22710 #endif
22713 main ()
22715 _finite(0);
22717 return 0;
22719 _ACEOF
22720 if ac_fn_cxx_try_compile "$LINENO"; then :
22721 glibcxx_cv_func__finite_use=yes
22722 else
22723 glibcxx_cv_func__finite_use=no
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22726 ac_ext=c
22727 ac_cpp='$CPP $CPPFLAGS'
22728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22737 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22739 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22740 for ac_func in _finite
22741 do :
22742 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22743 if test "x$ac_cv_func__finite" = xyes; then :
22744 cat >>confdefs.h <<_ACEOF
22745 #define HAVE__FINITE 1
22746 _ACEOF
22749 done
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22759 $as_echo_n "checking for sincos declaration... " >&6; }
22760 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22761 if ${glibcxx_cv_func_sincos_use+:} false; then :
22762 $as_echo_n "(cached) " >&6
22763 else
22766 ac_ext=cpp
22767 ac_cpp='$CXXCPP $CPPFLAGS'
22768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22773 /* end confdefs.h. */
22774 #include <math.h>
22776 main ()
22778 sincos(0, 0, 0);
22780 return 0;
22782 _ACEOF
22783 if ac_fn_cxx_try_compile "$LINENO"; then :
22784 glibcxx_cv_func_sincos_use=yes
22785 else
22786 glibcxx_cv_func_sincos_use=no
22788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22789 ac_ext=c
22790 ac_cpp='$CPP $CPPFLAGS'
22791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22800 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22802 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22803 for ac_func in sincos
22804 do :
22805 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22806 if test "x$ac_cv_func_sincos" = xyes; then :
22807 cat >>confdefs.h <<_ACEOF
22808 #define HAVE_SINCOS 1
22809 _ACEOF
22812 done
22814 else
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22817 $as_echo_n "checking for _sincos declaration... " >&6; }
22818 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22819 if ${glibcxx_cv_func__sincos_use+:} false; then :
22820 $as_echo_n "(cached) " >&6
22821 else
22824 ac_ext=cpp
22825 ac_cpp='$CXXCPP $CPPFLAGS'
22826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22831 /* end confdefs.h. */
22832 #include <math.h>
22834 main ()
22836 _sincos(0, 0, 0);
22838 return 0;
22840 _ACEOF
22841 if ac_fn_cxx_try_compile "$LINENO"; then :
22842 glibcxx_cv_func__sincos_use=yes
22843 else
22844 glibcxx_cv_func__sincos_use=no
22846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22847 ac_ext=c
22848 ac_cpp='$CPP $CPPFLAGS'
22849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22858 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22860 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22861 for ac_func in _sincos
22862 do :
22863 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22864 if test "x$ac_cv_func__sincos" = xyes; then :
22865 cat >>confdefs.h <<_ACEOF
22866 #define HAVE__SINCOS 1
22867 _ACEOF
22870 done
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22880 $as_echo_n "checking for fpclass declaration... " >&6; }
22881 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22882 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22883 $as_echo_n "(cached) " >&6
22884 else
22887 ac_ext=cpp
22888 ac_cpp='$CXXCPP $CPPFLAGS'
22889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22894 /* end confdefs.h. */
22895 #include <math.h>
22896 #ifdef HAVE_IEEEFP_H
22897 #include <ieeefp.h>
22898 #endif
22901 main ()
22903 fpclass(0);
22905 return 0;
22907 _ACEOF
22908 if ac_fn_cxx_try_compile "$LINENO"; then :
22909 glibcxx_cv_func_fpclass_use=yes
22910 else
22911 glibcxx_cv_func_fpclass_use=no
22913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22914 ac_ext=c
22915 ac_cpp='$CPP $CPPFLAGS'
22916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22925 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22927 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22928 for ac_func in fpclass
22929 do :
22930 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22931 if test "x$ac_cv_func_fpclass" = xyes; then :
22932 cat >>confdefs.h <<_ACEOF
22933 #define HAVE_FPCLASS 1
22934 _ACEOF
22937 done
22939 else
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22942 $as_echo_n "checking for _fpclass declaration... " >&6; }
22943 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22944 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22945 $as_echo_n "(cached) " >&6
22946 else
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <math.h>
22958 #ifdef HAVE_IEEEFP_H
22959 #include <ieeefp.h>
22960 #endif
22963 main ()
22965 _fpclass(0);
22967 return 0;
22969 _ACEOF
22970 if ac_fn_cxx_try_compile "$LINENO"; then :
22971 glibcxx_cv_func__fpclass_use=yes
22972 else
22973 glibcxx_cv_func__fpclass_use=no
22975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22976 ac_ext=c
22977 ac_cpp='$CPP $CPPFLAGS'
22978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22987 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22989 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22990 for ac_func in _fpclass
22991 do :
22992 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22993 if test "x$ac_cv_func__fpclass" = xyes; then :
22994 cat >>confdefs.h <<_ACEOF
22995 #define HAVE__FPCLASS 1
22996 _ACEOF
22999 done
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23009 $as_echo_n "checking for qfpclass declaration... " >&6; }
23010 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23011 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23012 $as_echo_n "(cached) " >&6
23013 else
23016 ac_ext=cpp
23017 ac_cpp='$CXXCPP $CPPFLAGS'
23018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23023 /* end confdefs.h. */
23024 #include <math.h>
23025 #ifdef HAVE_IEEEFP_H
23026 #include <ieeefp.h>
23027 #endif
23030 main ()
23032 qfpclass(0);
23034 return 0;
23036 _ACEOF
23037 if ac_fn_cxx_try_compile "$LINENO"; then :
23038 glibcxx_cv_func_qfpclass_use=yes
23039 else
23040 glibcxx_cv_func_qfpclass_use=no
23042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043 ac_ext=c
23044 ac_cpp='$CPP $CPPFLAGS'
23045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23054 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23056 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23057 for ac_func in qfpclass
23058 do :
23059 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23060 if test "x$ac_cv_func_qfpclass" = xyes; then :
23061 cat >>confdefs.h <<_ACEOF
23062 #define HAVE_QFPCLASS 1
23063 _ACEOF
23066 done
23068 else
23070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23071 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23072 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23073 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23074 $as_echo_n "(cached) " >&6
23075 else
23078 ac_ext=cpp
23079 ac_cpp='$CXXCPP $CPPFLAGS'
23080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23085 /* end confdefs.h. */
23086 #include <math.h>
23087 #ifdef HAVE_IEEEFP_H
23088 #include <ieeefp.h>
23089 #endif
23092 main ()
23094 _qfpclass(0);
23096 return 0;
23098 _ACEOF
23099 if ac_fn_cxx_try_compile "$LINENO"; then :
23100 glibcxx_cv_func__qfpclass_use=yes
23101 else
23102 glibcxx_cv_func__qfpclass_use=no
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23116 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23118 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23119 for ac_func in _qfpclass
23120 do :
23121 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23122 if test "x$ac_cv_func__qfpclass" = xyes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define HAVE__QFPCLASS 1
23125 _ACEOF
23128 done
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23138 $as_echo_n "checking for hypot declaration... " >&6; }
23139 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23140 if ${glibcxx_cv_func_hypot_use+:} false; then :
23141 $as_echo_n "(cached) " >&6
23142 else
23145 ac_ext=cpp
23146 ac_cpp='$CXXCPP $CPPFLAGS'
23147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23153 #include <math.h>
23155 main ()
23157 hypot(0, 0);
23159 return 0;
23161 _ACEOF
23162 if ac_fn_cxx_try_compile "$LINENO"; then :
23163 glibcxx_cv_func_hypot_use=yes
23164 else
23165 glibcxx_cv_func_hypot_use=no
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 ac_ext=c
23169 ac_cpp='$CPP $CPPFLAGS'
23170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23179 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23181 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23182 for ac_func in hypot
23183 do :
23184 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23185 if test "x$ac_cv_func_hypot" = xyes; then :
23186 cat >>confdefs.h <<_ACEOF
23187 #define HAVE_HYPOT 1
23188 _ACEOF
23191 done
23193 else
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23196 $as_echo_n "checking for _hypot declaration... " >&6; }
23197 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23198 if ${glibcxx_cv_func__hypot_use+:} false; then :
23199 $as_echo_n "(cached) " >&6
23200 else
23203 ac_ext=cpp
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23211 #include <math.h>
23213 main ()
23215 _hypot(0, 0);
23217 return 0;
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221 glibcxx_cv_func__hypot_use=yes
23222 else
23223 glibcxx_cv_func__hypot_use=no
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226 ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23237 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23239 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23240 for ac_func in _hypot
23241 do :
23242 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23243 if test "x$ac_cv_func__hypot" = xyes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE__HYPOT 1
23246 _ACEOF
23249 done
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23259 $as_echo_n "checking for float trig functions... " >&6; }
23260 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23261 $as_echo_n "(cached) " >&6
23262 else
23265 ac_ext=cpp
23266 ac_cpp='$CXXCPP $CPPFLAGS'
23267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23273 #include <math.h>
23275 main ()
23277 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23279 return 0;
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283 glibcxx_cv_func_float_trig_use=yes
23284 else
23285 glibcxx_cv_func_float_trig_use=no
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23297 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23298 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23299 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23300 do :
23301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23303 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23304 cat >>confdefs.h <<_ACEOF
23305 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23306 _ACEOF
23309 done
23311 else
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23313 $as_echo_n "checking for _float trig functions... " >&6; }
23314 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23315 $as_echo_n "(cached) " >&6
23316 else
23319 ac_ext=cpp
23320 ac_cpp='$CXXCPP $CPPFLAGS'
23321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23326 /* end confdefs.h. */
23327 #include <math.h>
23329 main ()
23331 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23333 return 0;
23335 _ACEOF
23336 if ac_fn_cxx_try_compile "$LINENO"; then :
23337 glibcxx_cv_func__float_trig_use=yes
23338 else
23339 glibcxx_cv_func__float_trig_use=no
23341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23342 ac_ext=c
23343 ac_cpp='$CPP $CPPFLAGS'
23344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23351 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23352 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23353 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23354 do :
23355 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23356 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23357 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23358 cat >>confdefs.h <<_ACEOF
23359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23360 _ACEOF
23363 done
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23373 $as_echo_n "checking for float round functions... " >&6; }
23374 if ${glibcxx_cv_func_float_round_use+:} false; then :
23375 $as_echo_n "(cached) " >&6
23376 else
23379 ac_ext=cpp
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23386 /* end confdefs.h. */
23387 #include <math.h>
23389 main ()
23391 ceilf (0); floorf (0);
23393 return 0;
23395 _ACEOF
23396 if ac_fn_cxx_try_compile "$LINENO"; then :
23397 glibcxx_cv_func_float_round_use=yes
23398 else
23399 glibcxx_cv_func_float_round_use=no
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402 ac_ext=c
23403 ac_cpp='$CPP $CPPFLAGS'
23404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23411 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23412 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23413 for ac_func in ceilf floorf
23414 do :
23415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23417 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23418 cat >>confdefs.h <<_ACEOF
23419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23420 _ACEOF
23423 done
23425 else
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23427 $as_echo_n "checking for _float round functions... " >&6; }
23428 if ${glibcxx_cv_func__float_round_use+:} false; then :
23429 $as_echo_n "(cached) " >&6
23430 else
23433 ac_ext=cpp
23434 ac_cpp='$CXXCPP $CPPFLAGS'
23435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23440 /* end confdefs.h. */
23441 #include <math.h>
23443 main ()
23445 _ceilf (0); _floorf (0);
23447 return 0;
23449 _ACEOF
23450 if ac_fn_cxx_try_compile "$LINENO"; then :
23451 glibcxx_cv_func__float_round_use=yes
23452 else
23453 glibcxx_cv_func__float_round_use=no
23455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23456 ac_ext=c
23457 ac_cpp='$CPP $CPPFLAGS'
23458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23465 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23466 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23467 for ac_func in _ceilf _floorf
23468 do :
23469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23471 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23472 cat >>confdefs.h <<_ACEOF
23473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23474 _ACEOF
23477 done
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23488 $as_echo_n "checking for expf declaration... " >&6; }
23489 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23490 if ${glibcxx_cv_func_expf_use+:} false; then :
23491 $as_echo_n "(cached) " >&6
23492 else
23495 ac_ext=cpp
23496 ac_cpp='$CXXCPP $CPPFLAGS'
23497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23502 /* end confdefs.h. */
23503 #include <math.h>
23504 #ifdef HAVE_IEEEFP_H
23505 #include <ieeefp.h>
23506 #endif
23509 main ()
23511 expf(0);
23513 return 0;
23515 _ACEOF
23516 if ac_fn_cxx_try_compile "$LINENO"; then :
23517 glibcxx_cv_func_expf_use=yes
23518 else
23519 glibcxx_cv_func_expf_use=no
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23522 ac_ext=c
23523 ac_cpp='$CPP $CPPFLAGS'
23524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23533 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23535 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23536 for ac_func in expf
23537 do :
23538 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23539 if test "x$ac_cv_func_expf" = xyes; then :
23540 cat >>confdefs.h <<_ACEOF
23541 #define HAVE_EXPF 1
23542 _ACEOF
23545 done
23547 else
23549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23550 $as_echo_n "checking for _expf declaration... " >&6; }
23551 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23552 if ${glibcxx_cv_func__expf_use+:} false; then :
23553 $as_echo_n "(cached) " >&6
23554 else
23557 ac_ext=cpp
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23564 /* end confdefs.h. */
23565 #include <math.h>
23566 #ifdef HAVE_IEEEFP_H
23567 #include <ieeefp.h>
23568 #endif
23571 main ()
23573 _expf(0);
23575 return 0;
23577 _ACEOF
23578 if ac_fn_cxx_try_compile "$LINENO"; then :
23579 glibcxx_cv_func__expf_use=yes
23580 else
23581 glibcxx_cv_func__expf_use=no
23583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23584 ac_ext=c
23585 ac_cpp='$CPP $CPPFLAGS'
23586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23595 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23597 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23598 for ac_func in _expf
23599 do :
23600 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23601 if test "x$ac_cv_func__expf" = xyes; then :
23602 cat >>confdefs.h <<_ACEOF
23603 #define HAVE__EXPF 1
23604 _ACEOF
23607 done
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23617 $as_echo_n "checking for isnanf declaration... " >&6; }
23618 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23619 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23620 $as_echo_n "(cached) " >&6
23621 else
23624 ac_ext=cpp
23625 ac_cpp='$CXXCPP $CPPFLAGS'
23626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23631 /* end confdefs.h. */
23632 #include <math.h>
23633 #ifdef HAVE_IEEEFP_H
23634 #include <ieeefp.h>
23635 #endif
23638 main ()
23640 isnanf(0);
23642 return 0;
23644 _ACEOF
23645 if ac_fn_cxx_try_compile "$LINENO"; then :
23646 glibcxx_cv_func_isnanf_use=yes
23647 else
23648 glibcxx_cv_func_isnanf_use=no
23650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23651 ac_ext=c
23652 ac_cpp='$CPP $CPPFLAGS'
23653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23662 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23664 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23665 for ac_func in isnanf
23666 do :
23667 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23668 if test "x$ac_cv_func_isnanf" = xyes; then :
23669 cat >>confdefs.h <<_ACEOF
23670 #define HAVE_ISNANF 1
23671 _ACEOF
23674 done
23676 else
23678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23679 $as_echo_n "checking for _isnanf declaration... " >&6; }
23680 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23681 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23682 $as_echo_n "(cached) " >&6
23683 else
23686 ac_ext=cpp
23687 ac_cpp='$CXXCPP $CPPFLAGS'
23688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23693 /* end confdefs.h. */
23694 #include <math.h>
23695 #ifdef HAVE_IEEEFP_H
23696 #include <ieeefp.h>
23697 #endif
23700 main ()
23702 _isnanf(0);
23704 return 0;
23706 _ACEOF
23707 if ac_fn_cxx_try_compile "$LINENO"; then :
23708 glibcxx_cv_func__isnanf_use=yes
23709 else
23710 glibcxx_cv_func__isnanf_use=no
23712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23713 ac_ext=c
23714 ac_cpp='$CPP $CPPFLAGS'
23715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23724 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23726 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23727 for ac_func in _isnanf
23728 do :
23729 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23730 if test "x$ac_cv_func__isnanf" = xyes; then :
23731 cat >>confdefs.h <<_ACEOF
23732 #define HAVE__ISNANF 1
23733 _ACEOF
23736 done
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23746 $as_echo_n "checking for isinff declaration... " >&6; }
23747 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23748 if ${glibcxx_cv_func_isinff_use+:} false; then :
23749 $as_echo_n "(cached) " >&6
23750 else
23753 ac_ext=cpp
23754 ac_cpp='$CXXCPP $CPPFLAGS'
23755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23760 /* end confdefs.h. */
23761 #include <math.h>
23762 #ifdef HAVE_IEEEFP_H
23763 #include <ieeefp.h>
23764 #endif
23767 main ()
23769 isinff(0);
23771 return 0;
23773 _ACEOF
23774 if ac_fn_cxx_try_compile "$LINENO"; then :
23775 glibcxx_cv_func_isinff_use=yes
23776 else
23777 glibcxx_cv_func_isinff_use=no
23779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23780 ac_ext=c
23781 ac_cpp='$CPP $CPPFLAGS'
23782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23791 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23793 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23794 for ac_func in isinff
23795 do :
23796 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23797 if test "x$ac_cv_func_isinff" = xyes; then :
23798 cat >>confdefs.h <<_ACEOF
23799 #define HAVE_ISINFF 1
23800 _ACEOF
23803 done
23805 else
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23808 $as_echo_n "checking for _isinff declaration... " >&6; }
23809 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23810 if ${glibcxx_cv_func__isinff_use+:} false; then :
23811 $as_echo_n "(cached) " >&6
23812 else
23815 ac_ext=cpp
23816 ac_cpp='$CXXCPP $CPPFLAGS'
23817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23822 /* end confdefs.h. */
23823 #include <math.h>
23824 #ifdef HAVE_IEEEFP_H
23825 #include <ieeefp.h>
23826 #endif
23829 main ()
23831 _isinff(0);
23833 return 0;
23835 _ACEOF
23836 if ac_fn_cxx_try_compile "$LINENO"; then :
23837 glibcxx_cv_func__isinff_use=yes
23838 else
23839 glibcxx_cv_func__isinff_use=no
23841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23842 ac_ext=c
23843 ac_cpp='$CPP $CPPFLAGS'
23844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23853 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23855 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23856 for ac_func in _isinff
23857 do :
23858 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23859 if test "x$ac_cv_func__isinff" = xyes; then :
23860 cat >>confdefs.h <<_ACEOF
23861 #define HAVE__ISINFF 1
23862 _ACEOF
23865 done
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23875 $as_echo_n "checking for atan2f declaration... " >&6; }
23876 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23877 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23892 main ()
23894 atan2f(0, 0);
23896 return 0;
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func_atan2f_use=yes
23901 else
23902 glibcxx_cv_func_atan2f_use=no
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23916 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23918 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23919 for ac_func in atan2f
23920 do :
23921 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23922 if test "x$ac_cv_func_atan2f" = xyes; then :
23923 cat >>confdefs.h <<_ACEOF
23924 #define HAVE_ATAN2F 1
23925 _ACEOF
23928 done
23930 else
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23933 $as_echo_n "checking for _atan2f declaration... " >&6; }
23934 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23935 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23936 $as_echo_n "(cached) " >&6
23937 else
23940 ac_ext=cpp
23941 ac_cpp='$CXXCPP $CPPFLAGS'
23942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23947 /* end confdefs.h. */
23948 #include <math.h>
23950 main ()
23952 _atan2f(0, 0);
23954 return 0;
23956 _ACEOF
23957 if ac_fn_cxx_try_compile "$LINENO"; then :
23958 glibcxx_cv_func__atan2f_use=yes
23959 else
23960 glibcxx_cv_func__atan2f_use=no
23962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23963 ac_ext=c
23964 ac_cpp='$CPP $CPPFLAGS'
23965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23974 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23976 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23977 for ac_func in _atan2f
23978 do :
23979 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23980 if test "x$ac_cv_func__atan2f" = xyes; then :
23981 cat >>confdefs.h <<_ACEOF
23982 #define HAVE__ATAN2F 1
23983 _ACEOF
23986 done
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23996 $as_echo_n "checking for fabsf declaration... " >&6; }
23997 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23998 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23999 $as_echo_n "(cached) " >&6
24000 else
24003 ac_ext=cpp
24004 ac_cpp='$CXXCPP $CPPFLAGS'
24005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24010 /* end confdefs.h. */
24011 #include <math.h>
24012 #ifdef HAVE_IEEEFP_H
24013 #include <ieeefp.h>
24014 #endif
24017 main ()
24019 fabsf(0);
24021 return 0;
24023 _ACEOF
24024 if ac_fn_cxx_try_compile "$LINENO"; then :
24025 glibcxx_cv_func_fabsf_use=yes
24026 else
24027 glibcxx_cv_func_fabsf_use=no
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24041 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24043 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24044 for ac_func in fabsf
24045 do :
24046 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24047 if test "x$ac_cv_func_fabsf" = xyes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define HAVE_FABSF 1
24050 _ACEOF
24053 done
24055 else
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24058 $as_echo_n "checking for _fabsf declaration... " >&6; }
24059 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24060 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24061 $as_echo_n "(cached) " >&6
24062 else
24065 ac_ext=cpp
24066 ac_cpp='$CXXCPP $CPPFLAGS'
24067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24072 /* end confdefs.h. */
24073 #include <math.h>
24074 #ifdef HAVE_IEEEFP_H
24075 #include <ieeefp.h>
24076 #endif
24079 main ()
24081 _fabsf(0);
24083 return 0;
24085 _ACEOF
24086 if ac_fn_cxx_try_compile "$LINENO"; then :
24087 glibcxx_cv_func__fabsf_use=yes
24088 else
24089 glibcxx_cv_func__fabsf_use=no
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092 ac_ext=c
24093 ac_cpp='$CPP $CPPFLAGS'
24094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24103 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24105 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24106 for ac_func in _fabsf
24107 do :
24108 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24109 if test "x$ac_cv_func__fabsf" = xyes; then :
24110 cat >>confdefs.h <<_ACEOF
24111 #define HAVE__FABSF 1
24112 _ACEOF
24115 done
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24125 $as_echo_n "checking for fmodf declaration... " >&6; }
24126 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24127 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24142 main ()
24144 fmodf(0, 0);
24146 return 0;
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150 glibcxx_cv_func_fmodf_use=yes
24151 else
24152 glibcxx_cv_func_fmodf_use=no
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24166 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24168 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24169 for ac_func in fmodf
24170 do :
24171 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24172 if test "x$ac_cv_func_fmodf" = xyes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define HAVE_FMODF 1
24175 _ACEOF
24178 done
24180 else
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24183 $as_echo_n "checking for _fmodf declaration... " >&6; }
24184 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24185 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24186 $as_echo_n "(cached) " >&6
24187 else
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24198 #include <math.h>
24200 main ()
24202 _fmodf(0, 0);
24204 return 0;
24206 _ACEOF
24207 if ac_fn_cxx_try_compile "$LINENO"; then :
24208 glibcxx_cv_func__fmodf_use=yes
24209 else
24210 glibcxx_cv_func__fmodf_use=no
24212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24213 ac_ext=c
24214 ac_cpp='$CPP $CPPFLAGS'
24215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24224 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24226 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24227 for ac_func in _fmodf
24228 do :
24229 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24230 if test "x$ac_cv_func__fmodf" = xyes; then :
24231 cat >>confdefs.h <<_ACEOF
24232 #define HAVE__FMODF 1
24233 _ACEOF
24236 done
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24246 $as_echo_n "checking for frexpf declaration... " >&6; }
24247 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24248 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24249 $as_echo_n "(cached) " >&6
24250 else
24253 ac_ext=cpp
24254 ac_cpp='$CXXCPP $CPPFLAGS'
24255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24260 /* end confdefs.h. */
24261 #include <math.h>
24263 main ()
24265 frexpf(0, 0);
24267 return 0;
24269 _ACEOF
24270 if ac_fn_cxx_try_compile "$LINENO"; then :
24271 glibcxx_cv_func_frexpf_use=yes
24272 else
24273 glibcxx_cv_func_frexpf_use=no
24275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24276 ac_ext=c
24277 ac_cpp='$CPP $CPPFLAGS'
24278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24287 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24289 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24290 for ac_func in frexpf
24291 do :
24292 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24293 if test "x$ac_cv_func_frexpf" = xyes; then :
24294 cat >>confdefs.h <<_ACEOF
24295 #define HAVE_FREXPF 1
24296 _ACEOF
24299 done
24301 else
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24304 $as_echo_n "checking for _frexpf declaration... " >&6; }
24305 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24306 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24307 $as_echo_n "(cached) " >&6
24308 else
24311 ac_ext=cpp
24312 ac_cpp='$CXXCPP $CPPFLAGS'
24313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24319 #include <math.h>
24321 main ()
24323 _frexpf(0, 0);
24325 return 0;
24327 _ACEOF
24328 if ac_fn_cxx_try_compile "$LINENO"; then :
24329 glibcxx_cv_func__frexpf_use=yes
24330 else
24331 glibcxx_cv_func__frexpf_use=no
24333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24334 ac_ext=c
24335 ac_cpp='$CPP $CPPFLAGS'
24336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24345 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24347 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24348 for ac_func in _frexpf
24349 do :
24350 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24351 if test "x$ac_cv_func__frexpf" = xyes; then :
24352 cat >>confdefs.h <<_ACEOF
24353 #define HAVE__FREXPF 1
24354 _ACEOF
24357 done
24366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24367 $as_echo_n "checking for hypotf declaration... " >&6; }
24368 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24369 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24370 $as_echo_n "(cached) " >&6
24371 else
24374 ac_ext=cpp
24375 ac_cpp='$CXXCPP $CPPFLAGS'
24376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24381 /* end confdefs.h. */
24382 #include <math.h>
24384 main ()
24386 hypotf(0, 0);
24388 return 0;
24390 _ACEOF
24391 if ac_fn_cxx_try_compile "$LINENO"; then :
24392 glibcxx_cv_func_hypotf_use=yes
24393 else
24394 glibcxx_cv_func_hypotf_use=no
24396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24397 ac_ext=c
24398 ac_cpp='$CPP $CPPFLAGS'
24399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24408 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24410 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24411 for ac_func in hypotf
24412 do :
24413 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24414 if test "x$ac_cv_func_hypotf" = xyes; then :
24415 cat >>confdefs.h <<_ACEOF
24416 #define HAVE_HYPOTF 1
24417 _ACEOF
24420 done
24422 else
24424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24425 $as_echo_n "checking for _hypotf declaration... " >&6; }
24426 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24427 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24428 $as_echo_n "(cached) " >&6
24429 else
24432 ac_ext=cpp
24433 ac_cpp='$CXXCPP $CPPFLAGS'
24434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24440 #include <math.h>
24442 main ()
24444 _hypotf(0, 0);
24446 return 0;
24448 _ACEOF
24449 if ac_fn_cxx_try_compile "$LINENO"; then :
24450 glibcxx_cv_func__hypotf_use=yes
24451 else
24452 glibcxx_cv_func__hypotf_use=no
24454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24455 ac_ext=c
24456 ac_cpp='$CPP $CPPFLAGS'
24457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24466 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24468 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24469 for ac_func in _hypotf
24470 do :
24471 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24472 if test "x$ac_cv_func__hypotf" = xyes; then :
24473 cat >>confdefs.h <<_ACEOF
24474 #define HAVE__HYPOTF 1
24475 _ACEOF
24478 done
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24488 $as_echo_n "checking for ldexpf declaration... " >&6; }
24489 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24490 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24491 $as_echo_n "(cached) " >&6
24492 else
24495 ac_ext=cpp
24496 ac_cpp='$CXXCPP $CPPFLAGS'
24497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24503 #include <math.h>
24505 main ()
24507 ldexpf(0, 0);
24509 return 0;
24511 _ACEOF
24512 if ac_fn_cxx_try_compile "$LINENO"; then :
24513 glibcxx_cv_func_ldexpf_use=yes
24514 else
24515 glibcxx_cv_func_ldexpf_use=no
24517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24518 ac_ext=c
24519 ac_cpp='$CPP $CPPFLAGS'
24520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24529 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24531 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24532 for ac_func in ldexpf
24533 do :
24534 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24535 if test "x$ac_cv_func_ldexpf" = xyes; then :
24536 cat >>confdefs.h <<_ACEOF
24537 #define HAVE_LDEXPF 1
24538 _ACEOF
24541 done
24543 else
24545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24546 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24547 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24548 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24549 $as_echo_n "(cached) " >&6
24550 else
24553 ac_ext=cpp
24554 ac_cpp='$CXXCPP $CPPFLAGS'
24555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24560 /* end confdefs.h. */
24561 #include <math.h>
24563 main ()
24565 _ldexpf(0, 0);
24567 return 0;
24569 _ACEOF
24570 if ac_fn_cxx_try_compile "$LINENO"; then :
24571 glibcxx_cv_func__ldexpf_use=yes
24572 else
24573 glibcxx_cv_func__ldexpf_use=no
24575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24576 ac_ext=c
24577 ac_cpp='$CPP $CPPFLAGS'
24578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24587 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24589 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24590 for ac_func in _ldexpf
24591 do :
24592 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24593 if test "x$ac_cv_func__ldexpf" = xyes; then :
24594 cat >>confdefs.h <<_ACEOF
24595 #define HAVE__LDEXPF 1
24596 _ACEOF
24599 done
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24609 $as_echo_n "checking for logf declaration... " >&6; }
24610 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24611 if ${glibcxx_cv_func_logf_use+:} false; then :
24612 $as_echo_n "(cached) " >&6
24613 else
24616 ac_ext=cpp
24617 ac_cpp='$CXXCPP $CPPFLAGS'
24618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24623 /* end confdefs.h. */
24624 #include <math.h>
24625 #ifdef HAVE_IEEEFP_H
24626 #include <ieeefp.h>
24627 #endif
24630 main ()
24632 logf(0);
24634 return 0;
24636 _ACEOF
24637 if ac_fn_cxx_try_compile "$LINENO"; then :
24638 glibcxx_cv_func_logf_use=yes
24639 else
24640 glibcxx_cv_func_logf_use=no
24642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24643 ac_ext=c
24644 ac_cpp='$CPP $CPPFLAGS'
24645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24654 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24656 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24657 for ac_func in logf
24658 do :
24659 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24660 if test "x$ac_cv_func_logf" = xyes; then :
24661 cat >>confdefs.h <<_ACEOF
24662 #define HAVE_LOGF 1
24663 _ACEOF
24666 done
24668 else
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24671 $as_echo_n "checking for _logf declaration... " >&6; }
24672 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24673 if ${glibcxx_cv_func__logf_use+:} false; then :
24674 $as_echo_n "(cached) " >&6
24675 else
24678 ac_ext=cpp
24679 ac_cpp='$CXXCPP $CPPFLAGS'
24680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24685 /* end confdefs.h. */
24686 #include <math.h>
24687 #ifdef HAVE_IEEEFP_H
24688 #include <ieeefp.h>
24689 #endif
24692 main ()
24694 _logf(0);
24696 return 0;
24698 _ACEOF
24699 if ac_fn_cxx_try_compile "$LINENO"; then :
24700 glibcxx_cv_func__logf_use=yes
24701 else
24702 glibcxx_cv_func__logf_use=no
24704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705 ac_ext=c
24706 ac_cpp='$CPP $CPPFLAGS'
24707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24716 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24718 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24719 for ac_func in _logf
24720 do :
24721 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24722 if test "x$ac_cv_func__logf" = xyes; then :
24723 cat >>confdefs.h <<_ACEOF
24724 #define HAVE__LOGF 1
24725 _ACEOF
24728 done
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24738 $as_echo_n "checking for log10f declaration... " >&6; }
24739 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24740 if ${glibcxx_cv_func_log10f_use+:} false; then :
24741 $as_echo_n "(cached) " >&6
24742 else
24745 ac_ext=cpp
24746 ac_cpp='$CXXCPP $CPPFLAGS'
24747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24752 /* end confdefs.h. */
24753 #include <math.h>
24754 #ifdef HAVE_IEEEFP_H
24755 #include <ieeefp.h>
24756 #endif
24759 main ()
24761 log10f(0);
24763 return 0;
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func_log10f_use=yes
24768 else
24769 glibcxx_cv_func_log10f_use=no
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24783 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24785 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24786 for ac_func in log10f
24787 do :
24788 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24789 if test "x$ac_cv_func_log10f" = xyes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE_LOG10F 1
24792 _ACEOF
24795 done
24797 else
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24800 $as_echo_n "checking for _log10f declaration... " >&6; }
24801 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24802 if ${glibcxx_cv_func__log10f_use+:} false; then :
24803 $as_echo_n "(cached) " >&6
24804 else
24807 ac_ext=cpp
24808 ac_cpp='$CXXCPP $CPPFLAGS'
24809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24815 #include <math.h>
24816 #ifdef HAVE_IEEEFP_H
24817 #include <ieeefp.h>
24818 #endif
24821 main ()
24823 _log10f(0);
24825 return 0;
24827 _ACEOF
24828 if ac_fn_cxx_try_compile "$LINENO"; then :
24829 glibcxx_cv_func__log10f_use=yes
24830 else
24831 glibcxx_cv_func__log10f_use=no
24833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24834 ac_ext=c
24835 ac_cpp='$CPP $CPPFLAGS'
24836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24845 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24847 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24848 for ac_func in _log10f
24849 do :
24850 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24851 if test "x$ac_cv_func__log10f" = xyes; then :
24852 cat >>confdefs.h <<_ACEOF
24853 #define HAVE__LOG10F 1
24854 _ACEOF
24857 done
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24867 $as_echo_n "checking for modff declaration... " >&6; }
24868 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24869 if ${glibcxx_cv_func_modff_use+:} false; then :
24870 $as_echo_n "(cached) " >&6
24871 else
24874 ac_ext=cpp
24875 ac_cpp='$CXXCPP $CPPFLAGS'
24876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24881 /* end confdefs.h. */
24882 #include <math.h>
24884 main ()
24886 modff(0, 0);
24888 return 0;
24890 _ACEOF
24891 if ac_fn_cxx_try_compile "$LINENO"; then :
24892 glibcxx_cv_func_modff_use=yes
24893 else
24894 glibcxx_cv_func_modff_use=no
24896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24897 ac_ext=c
24898 ac_cpp='$CPP $CPPFLAGS'
24899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24908 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24910 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24911 for ac_func in modff
24912 do :
24913 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24914 if test "x$ac_cv_func_modff" = xyes; then :
24915 cat >>confdefs.h <<_ACEOF
24916 #define HAVE_MODFF 1
24917 _ACEOF
24920 done
24922 else
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24925 $as_echo_n "checking for _modff declaration... " >&6; }
24926 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24927 if ${glibcxx_cv_func__modff_use+:} false; then :
24928 $as_echo_n "(cached) " >&6
24929 else
24932 ac_ext=cpp
24933 ac_cpp='$CXXCPP $CPPFLAGS'
24934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24939 /* end confdefs.h. */
24940 #include <math.h>
24942 main ()
24944 _modff(0, 0);
24946 return 0;
24948 _ACEOF
24949 if ac_fn_cxx_try_compile "$LINENO"; then :
24950 glibcxx_cv_func__modff_use=yes
24951 else
24952 glibcxx_cv_func__modff_use=no
24954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24955 ac_ext=c
24956 ac_cpp='$CPP $CPPFLAGS'
24957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24966 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24968 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24969 for ac_func in _modff
24970 do :
24971 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24972 if test "x$ac_cv_func__modff" = xyes; then :
24973 cat >>confdefs.h <<_ACEOF
24974 #define HAVE__MODFF 1
24975 _ACEOF
24978 done
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24988 $as_echo_n "checking for modf declaration... " >&6; }
24989 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24990 if ${glibcxx_cv_func_modf_use+:} false; then :
24991 $as_echo_n "(cached) " >&6
24992 else
24995 ac_ext=cpp
24996 ac_cpp='$CXXCPP $CPPFLAGS'
24997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25002 /* end confdefs.h. */
25003 #include <math.h>
25005 main ()
25007 modf(0, 0);
25009 return 0;
25011 _ACEOF
25012 if ac_fn_cxx_try_compile "$LINENO"; then :
25013 glibcxx_cv_func_modf_use=yes
25014 else
25015 glibcxx_cv_func_modf_use=no
25017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25018 ac_ext=c
25019 ac_cpp='$CPP $CPPFLAGS'
25020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25029 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25031 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25032 for ac_func in modf
25033 do :
25034 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25035 if test "x$ac_cv_func_modf" = xyes; then :
25036 cat >>confdefs.h <<_ACEOF
25037 #define HAVE_MODF 1
25038 _ACEOF
25041 done
25043 else
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25046 $as_echo_n "checking for _modf declaration... " >&6; }
25047 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25048 if ${glibcxx_cv_func__modf_use+:} false; then :
25049 $as_echo_n "(cached) " >&6
25050 else
25053 ac_ext=cpp
25054 ac_cpp='$CXXCPP $CPPFLAGS'
25055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h. */
25061 #include <math.h>
25063 main ()
25065 _modf(0, 0);
25067 return 0;
25069 _ACEOF
25070 if ac_fn_cxx_try_compile "$LINENO"; then :
25071 glibcxx_cv_func__modf_use=yes
25072 else
25073 glibcxx_cv_func__modf_use=no
25075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25076 ac_ext=c
25077 ac_cpp='$CPP $CPPFLAGS'
25078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25087 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25089 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25090 for ac_func in _modf
25091 do :
25092 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25093 if test "x$ac_cv_func__modf" = xyes; then :
25094 cat >>confdefs.h <<_ACEOF
25095 #define HAVE__MODF 1
25096 _ACEOF
25099 done
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25109 $as_echo_n "checking for powf declaration... " >&6; }
25110 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25111 if ${glibcxx_cv_func_powf_use+:} false; then :
25112 $as_echo_n "(cached) " >&6
25113 else
25116 ac_ext=cpp
25117 ac_cpp='$CXXCPP $CPPFLAGS'
25118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25123 /* end confdefs.h. */
25124 #include <math.h>
25126 main ()
25128 powf(0, 0);
25130 return 0;
25132 _ACEOF
25133 if ac_fn_cxx_try_compile "$LINENO"; then :
25134 glibcxx_cv_func_powf_use=yes
25135 else
25136 glibcxx_cv_func_powf_use=no
25138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25139 ac_ext=c
25140 ac_cpp='$CPP $CPPFLAGS'
25141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25150 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25152 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25153 for ac_func in powf
25154 do :
25155 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25156 if test "x$ac_cv_func_powf" = xyes; then :
25157 cat >>confdefs.h <<_ACEOF
25158 #define HAVE_POWF 1
25159 _ACEOF
25162 done
25164 else
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25167 $as_echo_n "checking for _powf declaration... " >&6; }
25168 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25169 if ${glibcxx_cv_func__powf_use+:} false; then :
25170 $as_echo_n "(cached) " >&6
25171 else
25174 ac_ext=cpp
25175 ac_cpp='$CXXCPP $CPPFLAGS'
25176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25181 /* end confdefs.h. */
25182 #include <math.h>
25184 main ()
25186 _powf(0, 0);
25188 return 0;
25190 _ACEOF
25191 if ac_fn_cxx_try_compile "$LINENO"; then :
25192 glibcxx_cv_func__powf_use=yes
25193 else
25194 glibcxx_cv_func__powf_use=no
25196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25197 ac_ext=c
25198 ac_cpp='$CPP $CPPFLAGS'
25199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25208 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25210 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25211 for ac_func in _powf
25212 do :
25213 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25214 if test "x$ac_cv_func__powf" = xyes; then :
25215 cat >>confdefs.h <<_ACEOF
25216 #define HAVE__POWF 1
25217 _ACEOF
25220 done
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25230 $as_echo_n "checking for sqrtf declaration... " >&6; }
25231 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25232 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25233 $as_echo_n "(cached) " >&6
25234 else
25237 ac_ext=cpp
25238 ac_cpp='$CXXCPP $CPPFLAGS'
25239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25244 /* end confdefs.h. */
25245 #include <math.h>
25246 #ifdef HAVE_IEEEFP_H
25247 #include <ieeefp.h>
25248 #endif
25251 main ()
25253 sqrtf(0);
25255 return 0;
25257 _ACEOF
25258 if ac_fn_cxx_try_compile "$LINENO"; then :
25259 glibcxx_cv_func_sqrtf_use=yes
25260 else
25261 glibcxx_cv_func_sqrtf_use=no
25263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 ac_ext=c
25265 ac_cpp='$CPP $CPPFLAGS'
25266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25275 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25277 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25278 for ac_func in sqrtf
25279 do :
25280 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25281 if test "x$ac_cv_func_sqrtf" = xyes; then :
25282 cat >>confdefs.h <<_ACEOF
25283 #define HAVE_SQRTF 1
25284 _ACEOF
25287 done
25289 else
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25292 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25293 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25294 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25295 $as_echo_n "(cached) " >&6
25296 else
25299 ac_ext=cpp
25300 ac_cpp='$CXXCPP $CPPFLAGS'
25301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25306 /* end confdefs.h. */
25307 #include <math.h>
25308 #ifdef HAVE_IEEEFP_H
25309 #include <ieeefp.h>
25310 #endif
25313 main ()
25315 _sqrtf(0);
25317 return 0;
25319 _ACEOF
25320 if ac_fn_cxx_try_compile "$LINENO"; then :
25321 glibcxx_cv_func__sqrtf_use=yes
25322 else
25323 glibcxx_cv_func__sqrtf_use=no
25325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25326 ac_ext=c
25327 ac_cpp='$CPP $CPPFLAGS'
25328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25337 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25339 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25340 for ac_func in _sqrtf
25341 do :
25342 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25343 if test "x$ac_cv_func__sqrtf" = xyes; then :
25344 cat >>confdefs.h <<_ACEOF
25345 #define HAVE__SQRTF 1
25346 _ACEOF
25349 done
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25359 $as_echo_n "checking for sincosf declaration... " >&6; }
25360 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25361 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25366 ac_ext=cpp
25367 ac_cpp='$CXXCPP $CPPFLAGS'
25368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <math.h>
25376 main ()
25378 sincosf(0, 0, 0);
25380 return 0;
25382 _ACEOF
25383 if ac_fn_cxx_try_compile "$LINENO"; then :
25384 glibcxx_cv_func_sincosf_use=yes
25385 else
25386 glibcxx_cv_func_sincosf_use=no
25388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25389 ac_ext=c
25390 ac_cpp='$CPP $CPPFLAGS'
25391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25400 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25402 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25403 for ac_func in sincosf
25404 do :
25405 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25406 if test "x$ac_cv_func_sincosf" = xyes; then :
25407 cat >>confdefs.h <<_ACEOF
25408 #define HAVE_SINCOSF 1
25409 _ACEOF
25412 done
25414 else
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25417 $as_echo_n "checking for _sincosf declaration... " >&6; }
25418 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25419 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25420 $as_echo_n "(cached) " >&6
25421 else
25424 ac_ext=cpp
25425 ac_cpp='$CXXCPP $CPPFLAGS'
25426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25431 /* end confdefs.h. */
25432 #include <math.h>
25434 main ()
25436 _sincosf(0, 0, 0);
25438 return 0;
25440 _ACEOF
25441 if ac_fn_cxx_try_compile "$LINENO"; then :
25442 glibcxx_cv_func__sincosf_use=yes
25443 else
25444 glibcxx_cv_func__sincosf_use=no
25446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25447 ac_ext=c
25448 ac_cpp='$CPP $CPPFLAGS'
25449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25458 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25460 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25461 for ac_func in _sincosf
25462 do :
25463 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25464 if test "x$ac_cv_func__sincosf" = xyes; then :
25465 cat >>confdefs.h <<_ACEOF
25466 #define HAVE__SINCOSF 1
25467 _ACEOF
25470 done
25479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25480 $as_echo_n "checking for finitef declaration... " >&6; }
25481 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25482 if ${glibcxx_cv_func_finitef_use+:} false; then :
25483 $as_echo_n "(cached) " >&6
25484 else
25487 ac_ext=cpp
25488 ac_cpp='$CXXCPP $CPPFLAGS'
25489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25494 /* end confdefs.h. */
25495 #include <math.h>
25496 #ifdef HAVE_IEEEFP_H
25497 #include <ieeefp.h>
25498 #endif
25501 main ()
25503 finitef(0);
25505 return 0;
25507 _ACEOF
25508 if ac_fn_cxx_try_compile "$LINENO"; then :
25509 glibcxx_cv_func_finitef_use=yes
25510 else
25511 glibcxx_cv_func_finitef_use=no
25513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25514 ac_ext=c
25515 ac_cpp='$CPP $CPPFLAGS'
25516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25525 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25527 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25528 for ac_func in finitef
25529 do :
25530 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25531 if test "x$ac_cv_func_finitef" = xyes; then :
25532 cat >>confdefs.h <<_ACEOF
25533 #define HAVE_FINITEF 1
25534 _ACEOF
25537 done
25539 else
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25542 $as_echo_n "checking for _finitef declaration... " >&6; }
25543 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25544 if ${glibcxx_cv_func__finitef_use+:} false; then :
25545 $as_echo_n "(cached) " >&6
25546 else
25549 ac_ext=cpp
25550 ac_cpp='$CXXCPP $CPPFLAGS'
25551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25556 /* end confdefs.h. */
25557 #include <math.h>
25558 #ifdef HAVE_IEEEFP_H
25559 #include <ieeefp.h>
25560 #endif
25563 main ()
25565 _finitef(0);
25567 return 0;
25569 _ACEOF
25570 if ac_fn_cxx_try_compile "$LINENO"; then :
25571 glibcxx_cv_func__finitef_use=yes
25572 else
25573 glibcxx_cv_func__finitef_use=no
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 ac_ext=c
25577 ac_cpp='$CPP $CPPFLAGS'
25578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25587 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25589 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25590 for ac_func in _finitef
25591 do :
25592 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25593 if test "x$ac_cv_func__finitef" = xyes; then :
25594 cat >>confdefs.h <<_ACEOF
25595 #define HAVE__FINITEF 1
25596 _ACEOF
25599 done
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25609 $as_echo_n "checking for long double trig functions... " >&6; }
25610 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25611 $as_echo_n "(cached) " >&6
25612 else
25615 ac_ext=cpp
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25623 #include <math.h>
25625 main ()
25627 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25629 return 0;
25631 _ACEOF
25632 if ac_fn_cxx_try_compile "$LINENO"; then :
25633 glibcxx_cv_func_long_double_trig_use=yes
25634 else
25635 glibcxx_cv_func_long_double_trig_use=no
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 ac_ext=c
25639 ac_cpp='$CPP $CPPFLAGS'
25640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25647 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25648 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25649 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25650 do :
25651 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25653 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25654 cat >>confdefs.h <<_ACEOF
25655 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25656 _ACEOF
25659 done
25661 else
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25663 $as_echo_n "checking for _long double trig functions... " >&6; }
25664 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25665 $as_echo_n "(cached) " >&6
25666 else
25669 ac_ext=cpp
25670 ac_cpp='$CXXCPP $CPPFLAGS'
25671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25676 /* end confdefs.h. */
25677 #include <math.h>
25679 main ()
25681 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25683 return 0;
25685 _ACEOF
25686 if ac_fn_cxx_try_compile "$LINENO"; then :
25687 glibcxx_cv_func__long_double_trig_use=yes
25688 else
25689 glibcxx_cv_func__long_double_trig_use=no
25691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25692 ac_ext=c
25693 ac_cpp='$CPP $CPPFLAGS'
25694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25701 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25702 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25703 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25704 do :
25705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25708 cat >>confdefs.h <<_ACEOF
25709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25710 _ACEOF
25713 done
25722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25723 $as_echo_n "checking for long double round functions... " >&6; }
25724 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25725 $as_echo_n "(cached) " >&6
25726 else
25729 ac_ext=cpp
25730 ac_cpp='$CXXCPP $CPPFLAGS'
25731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25736 /* end confdefs.h. */
25737 #include <math.h>
25739 main ()
25741 ceill (0); floorl (0);
25743 return 0;
25745 _ACEOF
25746 if ac_fn_cxx_try_compile "$LINENO"; then :
25747 glibcxx_cv_func_long_double_round_use=yes
25748 else
25749 glibcxx_cv_func_long_double_round_use=no
25751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25752 ac_ext=c
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25761 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25762 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25763 for ac_func in ceill floorl
25764 do :
25765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25767 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25768 cat >>confdefs.h <<_ACEOF
25769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25770 _ACEOF
25773 done
25775 else
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25777 $as_echo_n "checking for _long double round functions... " >&6; }
25778 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25779 $as_echo_n "(cached) " >&6
25780 else
25783 ac_ext=cpp
25784 ac_cpp='$CXXCPP $CPPFLAGS'
25785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25790 /* end confdefs.h. */
25791 #include <math.h>
25793 main ()
25795 _ceill (0); _floorl (0);
25797 return 0;
25799 _ACEOF
25800 if ac_fn_cxx_try_compile "$LINENO"; then :
25801 glibcxx_cv_func__long_double_round_use=yes
25802 else
25803 glibcxx_cv_func__long_double_round_use=no
25805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25806 ac_ext=c
25807 ac_cpp='$CPP $CPPFLAGS'
25808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25815 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25816 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25817 for ac_func in _ceill _floorl
25818 do :
25819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25821 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25822 cat >>confdefs.h <<_ACEOF
25823 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25824 _ACEOF
25827 done
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25838 $as_echo_n "checking for isnanl declaration... " >&6; }
25839 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25840 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25841 $as_echo_n "(cached) " >&6
25842 else
25845 ac_ext=cpp
25846 ac_cpp='$CXXCPP $CPPFLAGS'
25847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h. */
25853 #include <math.h>
25854 #ifdef HAVE_IEEEFP_H
25855 #include <ieeefp.h>
25856 #endif
25859 main ()
25861 isnanl(0);
25863 return 0;
25865 _ACEOF
25866 if ac_fn_cxx_try_compile "$LINENO"; then :
25867 glibcxx_cv_func_isnanl_use=yes
25868 else
25869 glibcxx_cv_func_isnanl_use=no
25871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25872 ac_ext=c
25873 ac_cpp='$CPP $CPPFLAGS'
25874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25883 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25885 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25886 for ac_func in isnanl
25887 do :
25888 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25889 if test "x$ac_cv_func_isnanl" = xyes; then :
25890 cat >>confdefs.h <<_ACEOF
25891 #define HAVE_ISNANL 1
25892 _ACEOF
25895 done
25897 else
25899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25900 $as_echo_n "checking for _isnanl declaration... " >&6; }
25901 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25902 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25903 $as_echo_n "(cached) " >&6
25904 else
25907 ac_ext=cpp
25908 ac_cpp='$CXXCPP $CPPFLAGS'
25909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25914 /* end confdefs.h. */
25915 #include <math.h>
25916 #ifdef HAVE_IEEEFP_H
25917 #include <ieeefp.h>
25918 #endif
25921 main ()
25923 _isnanl(0);
25925 return 0;
25927 _ACEOF
25928 if ac_fn_cxx_try_compile "$LINENO"; then :
25929 glibcxx_cv_func__isnanl_use=yes
25930 else
25931 glibcxx_cv_func__isnanl_use=no
25933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25934 ac_ext=c
25935 ac_cpp='$CPP $CPPFLAGS'
25936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25945 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25947 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25948 for ac_func in _isnanl
25949 do :
25950 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25951 if test "x$ac_cv_func__isnanl" = xyes; then :
25952 cat >>confdefs.h <<_ACEOF
25953 #define HAVE__ISNANL 1
25954 _ACEOF
25957 done
25966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25967 $as_echo_n "checking for isinfl declaration... " >&6; }
25968 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25969 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25970 $as_echo_n "(cached) " >&6
25971 else
25974 ac_ext=cpp
25975 ac_cpp='$CXXCPP $CPPFLAGS'
25976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25981 /* end confdefs.h. */
25982 #include <math.h>
25983 #ifdef HAVE_IEEEFP_H
25984 #include <ieeefp.h>
25985 #endif
25988 main ()
25990 isinfl(0);
25992 return 0;
25994 _ACEOF
25995 if ac_fn_cxx_try_compile "$LINENO"; then :
25996 glibcxx_cv_func_isinfl_use=yes
25997 else
25998 glibcxx_cv_func_isinfl_use=no
26000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26001 ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26012 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26014 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26015 for ac_func in isinfl
26016 do :
26017 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26018 if test "x$ac_cv_func_isinfl" = xyes; then :
26019 cat >>confdefs.h <<_ACEOF
26020 #define HAVE_ISINFL 1
26021 _ACEOF
26024 done
26026 else
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26029 $as_echo_n "checking for _isinfl declaration... " >&6; }
26030 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26031 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26032 $as_echo_n "(cached) " >&6
26033 else
26036 ac_ext=cpp
26037 ac_cpp='$CXXCPP $CPPFLAGS'
26038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26043 /* end confdefs.h. */
26044 #include <math.h>
26045 #ifdef HAVE_IEEEFP_H
26046 #include <ieeefp.h>
26047 #endif
26050 main ()
26052 _isinfl(0);
26054 return 0;
26056 _ACEOF
26057 if ac_fn_cxx_try_compile "$LINENO"; then :
26058 glibcxx_cv_func__isinfl_use=yes
26059 else
26060 glibcxx_cv_func__isinfl_use=no
26062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26063 ac_ext=c
26064 ac_cpp='$CPP $CPPFLAGS'
26065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26074 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26076 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26077 for ac_func in _isinfl
26078 do :
26079 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26080 if test "x$ac_cv_func__isinfl" = xyes; then :
26081 cat >>confdefs.h <<_ACEOF
26082 #define HAVE__ISINFL 1
26083 _ACEOF
26086 done
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26096 $as_echo_n "checking for atan2l declaration... " >&6; }
26097 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26098 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26099 $as_echo_n "(cached) " >&6
26100 else
26103 ac_ext=cpp
26104 ac_cpp='$CXXCPP $CPPFLAGS'
26105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26110 /* end confdefs.h. */
26111 #include <math.h>
26113 main ()
26115 atan2l(0, 0);
26117 return 0;
26119 _ACEOF
26120 if ac_fn_cxx_try_compile "$LINENO"; then :
26121 glibcxx_cv_func_atan2l_use=yes
26122 else
26123 glibcxx_cv_func_atan2l_use=no
26125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26126 ac_ext=c
26127 ac_cpp='$CPP $CPPFLAGS'
26128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26137 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26139 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26140 for ac_func in atan2l
26141 do :
26142 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26143 if test "x$ac_cv_func_atan2l" = xyes; then :
26144 cat >>confdefs.h <<_ACEOF
26145 #define HAVE_ATAN2L 1
26146 _ACEOF
26149 done
26151 else
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26154 $as_echo_n "checking for _atan2l declaration... " >&6; }
26155 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26156 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26157 $as_echo_n "(cached) " >&6
26158 else
26161 ac_ext=cpp
26162 ac_cpp='$CXXCPP $CPPFLAGS'
26163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26168 /* end confdefs.h. */
26169 #include <math.h>
26171 main ()
26173 _atan2l(0, 0);
26175 return 0;
26177 _ACEOF
26178 if ac_fn_cxx_try_compile "$LINENO"; then :
26179 glibcxx_cv_func__atan2l_use=yes
26180 else
26181 glibcxx_cv_func__atan2l_use=no
26183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26184 ac_ext=c
26185 ac_cpp='$CPP $CPPFLAGS'
26186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26195 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26197 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26198 for ac_func in _atan2l
26199 do :
26200 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26201 if test "x$ac_cv_func__atan2l" = xyes; then :
26202 cat >>confdefs.h <<_ACEOF
26203 #define HAVE__ATAN2L 1
26204 _ACEOF
26207 done
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26217 $as_echo_n "checking for expl declaration... " >&6; }
26218 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26219 if ${glibcxx_cv_func_expl_use+:} false; then :
26220 $as_echo_n "(cached) " >&6
26221 else
26224 ac_ext=cpp
26225 ac_cpp='$CXXCPP $CPPFLAGS'
26226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26231 /* end confdefs.h. */
26232 #include <math.h>
26233 #ifdef HAVE_IEEEFP_H
26234 #include <ieeefp.h>
26235 #endif
26238 main ()
26240 expl(0);
26242 return 0;
26244 _ACEOF
26245 if ac_fn_cxx_try_compile "$LINENO"; then :
26246 glibcxx_cv_func_expl_use=yes
26247 else
26248 glibcxx_cv_func_expl_use=no
26250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26251 ac_ext=c
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26262 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26264 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26265 for ac_func in expl
26266 do :
26267 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26268 if test "x$ac_cv_func_expl" = xyes; then :
26269 cat >>confdefs.h <<_ACEOF
26270 #define HAVE_EXPL 1
26271 _ACEOF
26274 done
26276 else
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26279 $as_echo_n "checking for _expl declaration... " >&6; }
26280 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26281 if ${glibcxx_cv_func__expl_use+:} false; then :
26282 $as_echo_n "(cached) " >&6
26283 else
26286 ac_ext=cpp
26287 ac_cpp='$CXXCPP $CPPFLAGS'
26288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26293 /* end confdefs.h. */
26294 #include <math.h>
26295 #ifdef HAVE_IEEEFP_H
26296 #include <ieeefp.h>
26297 #endif
26300 main ()
26302 _expl(0);
26304 return 0;
26306 _ACEOF
26307 if ac_fn_cxx_try_compile "$LINENO"; then :
26308 glibcxx_cv_func__expl_use=yes
26309 else
26310 glibcxx_cv_func__expl_use=no
26312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26313 ac_ext=c
26314 ac_cpp='$CPP $CPPFLAGS'
26315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26324 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26326 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26327 for ac_func in _expl
26328 do :
26329 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26330 if test "x$ac_cv_func__expl" = xyes; then :
26331 cat >>confdefs.h <<_ACEOF
26332 #define HAVE__EXPL 1
26333 _ACEOF
26336 done
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26346 $as_echo_n "checking for fabsl declaration... " >&6; }
26347 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26348 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26349 $as_echo_n "(cached) " >&6
26350 else
26353 ac_ext=cpp
26354 ac_cpp='$CXXCPP $CPPFLAGS'
26355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h. */
26361 #include <math.h>
26362 #ifdef HAVE_IEEEFP_H
26363 #include <ieeefp.h>
26364 #endif
26367 main ()
26369 fabsl(0);
26371 return 0;
26373 _ACEOF
26374 if ac_fn_cxx_try_compile "$LINENO"; then :
26375 glibcxx_cv_func_fabsl_use=yes
26376 else
26377 glibcxx_cv_func_fabsl_use=no
26379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26380 ac_ext=c
26381 ac_cpp='$CPP $CPPFLAGS'
26382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26391 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26393 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26394 for ac_func in fabsl
26395 do :
26396 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26397 if test "x$ac_cv_func_fabsl" = xyes; then :
26398 cat >>confdefs.h <<_ACEOF
26399 #define HAVE_FABSL 1
26400 _ACEOF
26403 done
26405 else
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26408 $as_echo_n "checking for _fabsl declaration... " >&6; }
26409 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26410 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26411 $as_echo_n "(cached) " >&6
26412 else
26415 ac_ext=cpp
26416 ac_cpp='$CXXCPP $CPPFLAGS'
26417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h. */
26423 #include <math.h>
26424 #ifdef HAVE_IEEEFP_H
26425 #include <ieeefp.h>
26426 #endif
26429 main ()
26431 _fabsl(0);
26433 return 0;
26435 _ACEOF
26436 if ac_fn_cxx_try_compile "$LINENO"; then :
26437 glibcxx_cv_func__fabsl_use=yes
26438 else
26439 glibcxx_cv_func__fabsl_use=no
26441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26442 ac_ext=c
26443 ac_cpp='$CPP $CPPFLAGS'
26444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26453 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26455 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26456 for ac_func in _fabsl
26457 do :
26458 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26459 if test "x$ac_cv_func__fabsl" = xyes; then :
26460 cat >>confdefs.h <<_ACEOF
26461 #define HAVE__FABSL 1
26462 _ACEOF
26465 done
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26475 $as_echo_n "checking for fmodl declaration... " >&6; }
26476 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26477 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26478 $as_echo_n "(cached) " >&6
26479 else
26482 ac_ext=cpp
26483 ac_cpp='$CXXCPP $CPPFLAGS'
26484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26489 /* end confdefs.h. */
26490 #include <math.h>
26492 main ()
26494 fmodl(0, 0);
26496 return 0;
26498 _ACEOF
26499 if ac_fn_cxx_try_compile "$LINENO"; then :
26500 glibcxx_cv_func_fmodl_use=yes
26501 else
26502 glibcxx_cv_func_fmodl_use=no
26504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26505 ac_ext=c
26506 ac_cpp='$CPP $CPPFLAGS'
26507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26516 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26518 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26519 for ac_func in fmodl
26520 do :
26521 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26522 if test "x$ac_cv_func_fmodl" = xyes; then :
26523 cat >>confdefs.h <<_ACEOF
26524 #define HAVE_FMODL 1
26525 _ACEOF
26528 done
26530 else
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26533 $as_echo_n "checking for _fmodl declaration... " >&6; }
26534 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26535 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26540 ac_ext=cpp
26541 ac_cpp='$CXXCPP $CPPFLAGS'
26542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26547 /* end confdefs.h. */
26548 #include <math.h>
26550 main ()
26552 _fmodl(0, 0);
26554 return 0;
26556 _ACEOF
26557 if ac_fn_cxx_try_compile "$LINENO"; then :
26558 glibcxx_cv_func__fmodl_use=yes
26559 else
26560 glibcxx_cv_func__fmodl_use=no
26562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26563 ac_ext=c
26564 ac_cpp='$CPP $CPPFLAGS'
26565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26574 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26576 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26577 for ac_func in _fmodl
26578 do :
26579 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26580 if test "x$ac_cv_func__fmodl" = xyes; then :
26581 cat >>confdefs.h <<_ACEOF
26582 #define HAVE__FMODL 1
26583 _ACEOF
26586 done
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26596 $as_echo_n "checking for frexpl declaration... " >&6; }
26597 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26598 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26599 $as_echo_n "(cached) " >&6
26600 else
26603 ac_ext=cpp
26604 ac_cpp='$CXXCPP $CPPFLAGS'
26605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26610 /* end confdefs.h. */
26611 #include <math.h>
26613 main ()
26615 frexpl(0, 0);
26617 return 0;
26619 _ACEOF
26620 if ac_fn_cxx_try_compile "$LINENO"; then :
26621 glibcxx_cv_func_frexpl_use=yes
26622 else
26623 glibcxx_cv_func_frexpl_use=no
26625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26626 ac_ext=c
26627 ac_cpp='$CPP $CPPFLAGS'
26628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26637 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26639 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26640 for ac_func in frexpl
26641 do :
26642 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26643 if test "x$ac_cv_func_frexpl" = xyes; then :
26644 cat >>confdefs.h <<_ACEOF
26645 #define HAVE_FREXPL 1
26646 _ACEOF
26649 done
26651 else
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26654 $as_echo_n "checking for _frexpl declaration... " >&6; }
26655 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26656 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26657 $as_echo_n "(cached) " >&6
26658 else
26661 ac_ext=cpp
26662 ac_cpp='$CXXCPP $CPPFLAGS'
26663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26668 /* end confdefs.h. */
26669 #include <math.h>
26671 main ()
26673 _frexpl(0, 0);
26675 return 0;
26677 _ACEOF
26678 if ac_fn_cxx_try_compile "$LINENO"; then :
26679 glibcxx_cv_func__frexpl_use=yes
26680 else
26681 glibcxx_cv_func__frexpl_use=no
26683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26684 ac_ext=c
26685 ac_cpp='$CPP $CPPFLAGS'
26686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26695 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26697 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26698 for ac_func in _frexpl
26699 do :
26700 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26701 if test "x$ac_cv_func__frexpl" = xyes; then :
26702 cat >>confdefs.h <<_ACEOF
26703 #define HAVE__FREXPL 1
26704 _ACEOF
26707 done
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26717 $as_echo_n "checking for hypotl declaration... " >&6; }
26718 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26719 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26720 $as_echo_n "(cached) " >&6
26721 else
26724 ac_ext=cpp
26725 ac_cpp='$CXXCPP $CPPFLAGS'
26726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26731 /* end confdefs.h. */
26732 #include <math.h>
26734 main ()
26736 hypotl(0, 0);
26738 return 0;
26740 _ACEOF
26741 if ac_fn_cxx_try_compile "$LINENO"; then :
26742 glibcxx_cv_func_hypotl_use=yes
26743 else
26744 glibcxx_cv_func_hypotl_use=no
26746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26747 ac_ext=c
26748 ac_cpp='$CPP $CPPFLAGS'
26749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26758 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26760 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26761 for ac_func in hypotl
26762 do :
26763 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26764 if test "x$ac_cv_func_hypotl" = xyes; then :
26765 cat >>confdefs.h <<_ACEOF
26766 #define HAVE_HYPOTL 1
26767 _ACEOF
26770 done
26772 else
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26775 $as_echo_n "checking for _hypotl declaration... " >&6; }
26776 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26777 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26778 $as_echo_n "(cached) " >&6
26779 else
26782 ac_ext=cpp
26783 ac_cpp='$CXXCPP $CPPFLAGS'
26784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h. */
26790 #include <math.h>
26792 main ()
26794 _hypotl(0, 0);
26796 return 0;
26798 _ACEOF
26799 if ac_fn_cxx_try_compile "$LINENO"; then :
26800 glibcxx_cv_func__hypotl_use=yes
26801 else
26802 glibcxx_cv_func__hypotl_use=no
26804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26805 ac_ext=c
26806 ac_cpp='$CPP $CPPFLAGS'
26807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26816 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26818 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26819 for ac_func in _hypotl
26820 do :
26821 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26822 if test "x$ac_cv_func__hypotl" = xyes; then :
26823 cat >>confdefs.h <<_ACEOF
26824 #define HAVE__HYPOTL 1
26825 _ACEOF
26828 done
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26838 $as_echo_n "checking for ldexpl declaration... " >&6; }
26839 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26840 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26841 $as_echo_n "(cached) " >&6
26842 else
26845 ac_ext=cpp
26846 ac_cpp='$CXXCPP $CPPFLAGS'
26847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26852 /* end confdefs.h. */
26853 #include <math.h>
26855 main ()
26857 ldexpl(0, 0);
26859 return 0;
26861 _ACEOF
26862 if ac_fn_cxx_try_compile "$LINENO"; then :
26863 glibcxx_cv_func_ldexpl_use=yes
26864 else
26865 glibcxx_cv_func_ldexpl_use=no
26867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26868 ac_ext=c
26869 ac_cpp='$CPP $CPPFLAGS'
26870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26879 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26881 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26882 for ac_func in ldexpl
26883 do :
26884 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26885 if test "x$ac_cv_func_ldexpl" = xyes; then :
26886 cat >>confdefs.h <<_ACEOF
26887 #define HAVE_LDEXPL 1
26888 _ACEOF
26891 done
26893 else
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26896 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26897 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26898 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26899 $as_echo_n "(cached) " >&6
26900 else
26903 ac_ext=cpp
26904 ac_cpp='$CXXCPP $CPPFLAGS'
26905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26910 /* end confdefs.h. */
26911 #include <math.h>
26913 main ()
26915 _ldexpl(0, 0);
26917 return 0;
26919 _ACEOF
26920 if ac_fn_cxx_try_compile "$LINENO"; then :
26921 glibcxx_cv_func__ldexpl_use=yes
26922 else
26923 glibcxx_cv_func__ldexpl_use=no
26925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26926 ac_ext=c
26927 ac_cpp='$CPP $CPPFLAGS'
26928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26937 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26939 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26940 for ac_func in _ldexpl
26941 do :
26942 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26943 if test "x$ac_cv_func__ldexpl" = xyes; then :
26944 cat >>confdefs.h <<_ACEOF
26945 #define HAVE__LDEXPL 1
26946 _ACEOF
26949 done
26958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26959 $as_echo_n "checking for logl declaration... " >&6; }
26960 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26961 if ${glibcxx_cv_func_logl_use+:} false; then :
26962 $as_echo_n "(cached) " >&6
26963 else
26966 ac_ext=cpp
26967 ac_cpp='$CXXCPP $CPPFLAGS'
26968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26973 /* end confdefs.h. */
26974 #include <math.h>
26975 #ifdef HAVE_IEEEFP_H
26976 #include <ieeefp.h>
26977 #endif
26980 main ()
26982 logl(0);
26984 return 0;
26986 _ACEOF
26987 if ac_fn_cxx_try_compile "$LINENO"; then :
26988 glibcxx_cv_func_logl_use=yes
26989 else
26990 glibcxx_cv_func_logl_use=no
26992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26993 ac_ext=c
26994 ac_cpp='$CPP $CPPFLAGS'
26995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27004 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27006 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27007 for ac_func in logl
27008 do :
27009 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27010 if test "x$ac_cv_func_logl" = xyes; then :
27011 cat >>confdefs.h <<_ACEOF
27012 #define HAVE_LOGL 1
27013 _ACEOF
27016 done
27018 else
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27021 $as_echo_n "checking for _logl declaration... " >&6; }
27022 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27023 if ${glibcxx_cv_func__logl_use+:} false; then :
27024 $as_echo_n "(cached) " >&6
27025 else
27028 ac_ext=cpp
27029 ac_cpp='$CXXCPP $CPPFLAGS'
27030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27035 /* end confdefs.h. */
27036 #include <math.h>
27037 #ifdef HAVE_IEEEFP_H
27038 #include <ieeefp.h>
27039 #endif
27042 main ()
27044 _logl(0);
27046 return 0;
27048 _ACEOF
27049 if ac_fn_cxx_try_compile "$LINENO"; then :
27050 glibcxx_cv_func__logl_use=yes
27051 else
27052 glibcxx_cv_func__logl_use=no
27054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27055 ac_ext=c
27056 ac_cpp='$CPP $CPPFLAGS'
27057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27066 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27068 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27069 for ac_func in _logl
27070 do :
27071 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27072 if test "x$ac_cv_func__logl" = xyes; then :
27073 cat >>confdefs.h <<_ACEOF
27074 #define HAVE__LOGL 1
27075 _ACEOF
27078 done
27087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27088 $as_echo_n "checking for log10l declaration... " >&6; }
27089 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27090 if ${glibcxx_cv_func_log10l_use+:} false; then :
27091 $as_echo_n "(cached) " >&6
27092 else
27095 ac_ext=cpp
27096 ac_cpp='$CXXCPP $CPPFLAGS'
27097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27102 /* end confdefs.h. */
27103 #include <math.h>
27104 #ifdef HAVE_IEEEFP_H
27105 #include <ieeefp.h>
27106 #endif
27109 main ()
27111 log10l(0);
27113 return 0;
27115 _ACEOF
27116 if ac_fn_cxx_try_compile "$LINENO"; then :
27117 glibcxx_cv_func_log10l_use=yes
27118 else
27119 glibcxx_cv_func_log10l_use=no
27121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27122 ac_ext=c
27123 ac_cpp='$CPP $CPPFLAGS'
27124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27133 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27135 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27136 for ac_func in log10l
27137 do :
27138 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27139 if test "x$ac_cv_func_log10l" = xyes; then :
27140 cat >>confdefs.h <<_ACEOF
27141 #define HAVE_LOG10L 1
27142 _ACEOF
27145 done
27147 else
27149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27150 $as_echo_n "checking for _log10l declaration... " >&6; }
27151 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27152 if ${glibcxx_cv_func__log10l_use+:} false; then :
27153 $as_echo_n "(cached) " >&6
27154 else
27157 ac_ext=cpp
27158 ac_cpp='$CXXCPP $CPPFLAGS'
27159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27164 /* end confdefs.h. */
27165 #include <math.h>
27166 #ifdef HAVE_IEEEFP_H
27167 #include <ieeefp.h>
27168 #endif
27171 main ()
27173 _log10l(0);
27175 return 0;
27177 _ACEOF
27178 if ac_fn_cxx_try_compile "$LINENO"; then :
27179 glibcxx_cv_func__log10l_use=yes
27180 else
27181 glibcxx_cv_func__log10l_use=no
27183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27184 ac_ext=c
27185 ac_cpp='$CPP $CPPFLAGS'
27186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27195 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27197 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27198 for ac_func in _log10l
27199 do :
27200 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27201 if test "x$ac_cv_func__log10l" = xyes; then :
27202 cat >>confdefs.h <<_ACEOF
27203 #define HAVE__LOG10L 1
27204 _ACEOF
27207 done
27216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27217 $as_echo_n "checking for modfl declaration... " >&6; }
27218 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27219 if ${glibcxx_cv_func_modfl_use+:} false; then :
27220 $as_echo_n "(cached) " >&6
27221 else
27224 ac_ext=cpp
27225 ac_cpp='$CXXCPP $CPPFLAGS'
27226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27231 /* end confdefs.h. */
27232 #include <math.h>
27234 main ()
27236 modfl(0, 0);
27238 return 0;
27240 _ACEOF
27241 if ac_fn_cxx_try_compile "$LINENO"; then :
27242 glibcxx_cv_func_modfl_use=yes
27243 else
27244 glibcxx_cv_func_modfl_use=no
27246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27247 ac_ext=c
27248 ac_cpp='$CPP $CPPFLAGS'
27249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27258 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27260 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27261 for ac_func in modfl
27262 do :
27263 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27264 if test "x$ac_cv_func_modfl" = xyes; then :
27265 cat >>confdefs.h <<_ACEOF
27266 #define HAVE_MODFL 1
27267 _ACEOF
27270 done
27272 else
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27275 $as_echo_n "checking for _modfl declaration... " >&6; }
27276 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27277 if ${glibcxx_cv_func__modfl_use+:} false; then :
27278 $as_echo_n "(cached) " >&6
27279 else
27282 ac_ext=cpp
27283 ac_cpp='$CXXCPP $CPPFLAGS'
27284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27289 /* end confdefs.h. */
27290 #include <math.h>
27292 main ()
27294 _modfl(0, 0);
27296 return 0;
27298 _ACEOF
27299 if ac_fn_cxx_try_compile "$LINENO"; then :
27300 glibcxx_cv_func__modfl_use=yes
27301 else
27302 glibcxx_cv_func__modfl_use=no
27304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27305 ac_ext=c
27306 ac_cpp='$CPP $CPPFLAGS'
27307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27316 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27318 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27319 for ac_func in _modfl
27320 do :
27321 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27322 if test "x$ac_cv_func__modfl" = xyes; then :
27323 cat >>confdefs.h <<_ACEOF
27324 #define HAVE__MODFL 1
27325 _ACEOF
27328 done
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27338 $as_echo_n "checking for powl declaration... " >&6; }
27339 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27340 if ${glibcxx_cv_func_powl_use+:} false; then :
27341 $as_echo_n "(cached) " >&6
27342 else
27345 ac_ext=cpp
27346 ac_cpp='$CXXCPP $CPPFLAGS'
27347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27352 /* end confdefs.h. */
27353 #include <math.h>
27355 main ()
27357 powl(0, 0);
27359 return 0;
27361 _ACEOF
27362 if ac_fn_cxx_try_compile "$LINENO"; then :
27363 glibcxx_cv_func_powl_use=yes
27364 else
27365 glibcxx_cv_func_powl_use=no
27367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27368 ac_ext=c
27369 ac_cpp='$CPP $CPPFLAGS'
27370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27379 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27381 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27382 for ac_func in powl
27383 do :
27384 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27385 if test "x$ac_cv_func_powl" = xyes; then :
27386 cat >>confdefs.h <<_ACEOF
27387 #define HAVE_POWL 1
27388 _ACEOF
27391 done
27393 else
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27396 $as_echo_n "checking for _powl declaration... " >&6; }
27397 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27398 if ${glibcxx_cv_func__powl_use+:} false; then :
27399 $as_echo_n "(cached) " >&6
27400 else
27403 ac_ext=cpp
27404 ac_cpp='$CXXCPP $CPPFLAGS'
27405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27410 /* end confdefs.h. */
27411 #include <math.h>
27413 main ()
27415 _powl(0, 0);
27417 return 0;
27419 _ACEOF
27420 if ac_fn_cxx_try_compile "$LINENO"; then :
27421 glibcxx_cv_func__powl_use=yes
27422 else
27423 glibcxx_cv_func__powl_use=no
27425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27426 ac_ext=c
27427 ac_cpp='$CPP $CPPFLAGS'
27428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27437 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27439 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27440 for ac_func in _powl
27441 do :
27442 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27443 if test "x$ac_cv_func__powl" = xyes; then :
27444 cat >>confdefs.h <<_ACEOF
27445 #define HAVE__POWL 1
27446 _ACEOF
27449 done
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27459 $as_echo_n "checking for sqrtl declaration... " >&6; }
27460 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27461 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27462 $as_echo_n "(cached) " >&6
27463 else
27466 ac_ext=cpp
27467 ac_cpp='$CXXCPP $CPPFLAGS'
27468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27473 /* end confdefs.h. */
27474 #include <math.h>
27475 #ifdef HAVE_IEEEFP_H
27476 #include <ieeefp.h>
27477 #endif
27480 main ()
27482 sqrtl(0);
27484 return 0;
27486 _ACEOF
27487 if ac_fn_cxx_try_compile "$LINENO"; then :
27488 glibcxx_cv_func_sqrtl_use=yes
27489 else
27490 glibcxx_cv_func_sqrtl_use=no
27492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27493 ac_ext=c
27494 ac_cpp='$CPP $CPPFLAGS'
27495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27504 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27506 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27507 for ac_func in sqrtl
27508 do :
27509 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27510 if test "x$ac_cv_func_sqrtl" = xyes; then :
27511 cat >>confdefs.h <<_ACEOF
27512 #define HAVE_SQRTL 1
27513 _ACEOF
27516 done
27518 else
27520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27521 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27522 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27523 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27524 $as_echo_n "(cached) " >&6
27525 else
27528 ac_ext=cpp
27529 ac_cpp='$CXXCPP $CPPFLAGS'
27530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27535 /* end confdefs.h. */
27536 #include <math.h>
27537 #ifdef HAVE_IEEEFP_H
27538 #include <ieeefp.h>
27539 #endif
27542 main ()
27544 _sqrtl(0);
27546 return 0;
27548 _ACEOF
27549 if ac_fn_cxx_try_compile "$LINENO"; then :
27550 glibcxx_cv_func__sqrtl_use=yes
27551 else
27552 glibcxx_cv_func__sqrtl_use=no
27554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27555 ac_ext=c
27556 ac_cpp='$CPP $CPPFLAGS'
27557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27566 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27568 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27569 for ac_func in _sqrtl
27570 do :
27571 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27572 if test "x$ac_cv_func__sqrtl" = xyes; then :
27573 cat >>confdefs.h <<_ACEOF
27574 #define HAVE__SQRTL 1
27575 _ACEOF
27578 done
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27588 $as_echo_n "checking for sincosl declaration... " >&6; }
27589 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27590 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27591 $as_echo_n "(cached) " >&6
27592 else
27595 ac_ext=cpp
27596 ac_cpp='$CXXCPP $CPPFLAGS'
27597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27602 /* end confdefs.h. */
27603 #include <math.h>
27605 main ()
27607 sincosl(0, 0, 0);
27609 return 0;
27611 _ACEOF
27612 if ac_fn_cxx_try_compile "$LINENO"; then :
27613 glibcxx_cv_func_sincosl_use=yes
27614 else
27615 glibcxx_cv_func_sincosl_use=no
27617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618 ac_ext=c
27619 ac_cpp='$CPP $CPPFLAGS'
27620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27629 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27631 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27632 for ac_func in sincosl
27633 do :
27634 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27635 if test "x$ac_cv_func_sincosl" = xyes; then :
27636 cat >>confdefs.h <<_ACEOF
27637 #define HAVE_SINCOSL 1
27638 _ACEOF
27641 done
27643 else
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27646 $as_echo_n "checking for _sincosl declaration... " >&6; }
27647 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27648 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27649 $as_echo_n "(cached) " >&6
27650 else
27653 ac_ext=cpp
27654 ac_cpp='$CXXCPP $CPPFLAGS'
27655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27660 /* end confdefs.h. */
27661 #include <math.h>
27663 main ()
27665 _sincosl(0, 0, 0);
27667 return 0;
27669 _ACEOF
27670 if ac_fn_cxx_try_compile "$LINENO"; then :
27671 glibcxx_cv_func__sincosl_use=yes
27672 else
27673 glibcxx_cv_func__sincosl_use=no
27675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27676 ac_ext=c
27677 ac_cpp='$CPP $CPPFLAGS'
27678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27687 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27689 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27690 for ac_func in _sincosl
27691 do :
27692 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27693 if test "x$ac_cv_func__sincosl" = xyes; then :
27694 cat >>confdefs.h <<_ACEOF
27695 #define HAVE__SINCOSL 1
27696 _ACEOF
27699 done
27708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27709 $as_echo_n "checking for finitel declaration... " >&6; }
27710 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27711 if ${glibcxx_cv_func_finitel_use+:} false; then :
27712 $as_echo_n "(cached) " >&6
27713 else
27716 ac_ext=cpp
27717 ac_cpp='$CXXCPP $CPPFLAGS'
27718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723 /* end confdefs.h. */
27724 #include <math.h>
27725 #ifdef HAVE_IEEEFP_H
27726 #include <ieeefp.h>
27727 #endif
27730 main ()
27732 finitel(0);
27734 return 0;
27736 _ACEOF
27737 if ac_fn_cxx_try_compile "$LINENO"; then :
27738 glibcxx_cv_func_finitel_use=yes
27739 else
27740 glibcxx_cv_func_finitel_use=no
27742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27743 ac_ext=c
27744 ac_cpp='$CPP $CPPFLAGS'
27745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27754 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27756 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27757 for ac_func in finitel
27758 do :
27759 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27760 if test "x$ac_cv_func_finitel" = xyes; then :
27761 cat >>confdefs.h <<_ACEOF
27762 #define HAVE_FINITEL 1
27763 _ACEOF
27766 done
27768 else
27770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27771 $as_echo_n "checking for _finitel declaration... " >&6; }
27772 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27773 if ${glibcxx_cv_func__finitel_use+:} false; then :
27774 $as_echo_n "(cached) " >&6
27775 else
27778 ac_ext=cpp
27779 ac_cpp='$CXXCPP $CPPFLAGS'
27780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h. */
27786 #include <math.h>
27787 #ifdef HAVE_IEEEFP_H
27788 #include <ieeefp.h>
27789 #endif
27792 main ()
27794 _finitel(0);
27796 return 0;
27798 _ACEOF
27799 if ac_fn_cxx_try_compile "$LINENO"; then :
27800 glibcxx_cv_func__finitel_use=yes
27801 else
27802 glibcxx_cv_func__finitel_use=no
27804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27805 ac_ext=c
27806 ac_cpp='$CPP $CPPFLAGS'
27807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27816 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27818 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27819 for ac_func in _finitel
27820 do :
27821 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27822 if test "x$ac_cv_func__finitel" = xyes; then :
27823 cat >>confdefs.h <<_ACEOF
27824 #define HAVE__FINITEL 1
27825 _ACEOF
27828 done
27836 LIBS="$ac_save_LIBS"
27837 CXXFLAGS="$ac_save_CXXFLAGS"
27840 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27841 ac_save_CXXFLAGS="$CXXFLAGS"
27842 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27846 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27847 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27848 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27849 $as_echo_n "(cached) " >&6
27850 else
27853 ac_ext=cpp
27854 ac_cpp='$CXXCPP $CPPFLAGS'
27855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 #include <stdlib.h>
27863 main ()
27865 at_quick_exit(0);
27867 return 0;
27869 _ACEOF
27870 if ac_fn_cxx_try_compile "$LINENO"; then :
27871 glibcxx_cv_func_at_quick_exit_use=yes
27872 else
27873 glibcxx_cv_func_at_quick_exit_use=no
27875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27876 ac_ext=c
27877 ac_cpp='$CPP $CPPFLAGS'
27878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27887 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27888 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27889 for ac_func in at_quick_exit
27890 do :
27891 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27892 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27893 cat >>confdefs.h <<_ACEOF
27894 #define HAVE_AT_QUICK_EXIT 1
27895 _ACEOF
27898 done
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27904 $as_echo_n "checking for quick_exit declaration... " >&6; }
27905 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27906 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27907 $as_echo_n "(cached) " >&6
27908 else
27911 ac_ext=cpp
27912 ac_cpp='$CXXCPP $CPPFLAGS'
27913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27918 /* end confdefs.h. */
27919 #include <stdlib.h>
27921 main ()
27923 quick_exit(0);
27925 return 0;
27927 _ACEOF
27928 if ac_fn_cxx_try_compile "$LINENO"; then :
27929 glibcxx_cv_func_quick_exit_use=yes
27930 else
27931 glibcxx_cv_func_quick_exit_use=no
27933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27934 ac_ext=c
27935 ac_cpp='$CPP $CPPFLAGS'
27936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27945 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27946 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27947 for ac_func in quick_exit
27948 do :
27949 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27950 if test "x$ac_cv_func_quick_exit" = xyes; then :
27951 cat >>confdefs.h <<_ACEOF
27952 #define HAVE_QUICK_EXIT 1
27953 _ACEOF
27956 done
27961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27962 $as_echo_n "checking for strtold declaration... " >&6; }
27963 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27964 if ${glibcxx_cv_func_strtold_use+:} false; then :
27965 $as_echo_n "(cached) " >&6
27966 else
27969 ac_ext=cpp
27970 ac_cpp='$CXXCPP $CPPFLAGS'
27971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27976 /* end confdefs.h. */
27977 #include <stdlib.h>
27979 main ()
27981 strtold(0, 0);
27983 return 0;
27985 _ACEOF
27986 if ac_fn_cxx_try_compile "$LINENO"; then :
27987 glibcxx_cv_func_strtold_use=yes
27988 else
27989 glibcxx_cv_func_strtold_use=no
27991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27992 ac_ext=c
27993 ac_cpp='$CPP $CPPFLAGS'
27994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28003 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28004 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28005 for ac_func in strtold
28006 do :
28007 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28008 if test "x$ac_cv_func_strtold" = xyes; then :
28009 cat >>confdefs.h <<_ACEOF
28010 #define HAVE_STRTOLD 1
28011 _ACEOF
28014 done
28021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28022 $as_echo_n "checking for strtof declaration... " >&6; }
28023 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28024 if ${glibcxx_cv_func_strtof_use+:} false; then :
28025 $as_echo_n "(cached) " >&6
28026 else
28029 ac_ext=cpp
28030 ac_cpp='$CXXCPP $CPPFLAGS'
28031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28036 /* end confdefs.h. */
28037 #include <stdlib.h>
28039 main ()
28041 strtof(0, 0);
28043 return 0;
28045 _ACEOF
28046 if ac_fn_cxx_try_compile "$LINENO"; then :
28047 glibcxx_cv_func_strtof_use=yes
28048 else
28049 glibcxx_cv_func_strtof_use=no
28051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28052 ac_ext=c
28053 ac_cpp='$CPP $CPPFLAGS'
28054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28063 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28064 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28065 for ac_func in strtof
28066 do :
28067 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28068 if test "x$ac_cv_func_strtof" = xyes; then :
28069 cat >>confdefs.h <<_ACEOF
28070 #define HAVE_STRTOF 1
28071 _ACEOF
28074 done
28081 CXXFLAGS="$ac_save_CXXFLAGS"
28084 # For /dev/random and /dev/urandom for std::random_device.
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28088 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28089 if ${glibcxx_cv_dev_random+:} false; then :
28090 $as_echo_n "(cached) " >&6
28091 else
28093 if test -r /dev/random && test -r /dev/urandom; then
28094 ## For MSys environment the test above is detected as false-positive
28095 ## on mingw-targets. So disable it explicitly for them.
28096 case ${target_os} in
28097 *mingw*) glibcxx_cv_dev_random=no ;;
28098 *) glibcxx_cv_dev_random=yes ;;
28099 esac
28100 else
28101 glibcxx_cv_dev_random=no;
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28106 $as_echo "$glibcxx_cv_dev_random" >&6; }
28108 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28110 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28113 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28119 # For TLS support.
28122 # Check whether --enable-tls was given.
28123 if test "${enable_tls+set}" = set; then :
28124 enableval=$enable_tls;
28125 case "$enableval" in
28126 yes|no) ;;
28127 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28128 esac
28130 else
28131 enable_tls=yes
28135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28136 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28137 if ${gcc_cv_have_tls+:} false; then :
28138 $as_echo_n "(cached) " >&6
28139 else
28141 if test "$cross_compiling" = yes; then :
28142 if test x$gcc_no_link = xyes; then
28143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28146 /* end confdefs.h. */
28147 __thread int a; int b; int main() { return a = b; }
28148 _ACEOF
28149 if ac_fn_c_try_link "$LINENO"; then :
28150 chktls_save_LDFLAGS="$LDFLAGS"
28151 case $host in
28152 *-*-linux* | -*-uclinuxfdpic*)
28153 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28155 esac
28156 chktls_save_CFLAGS="$CFLAGS"
28157 CFLAGS="-fPIC $CFLAGS"
28158 if test x$gcc_no_link = xyes; then
28159 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28162 /* end confdefs.h. */
28163 int f() { return 0; }
28164 _ACEOF
28165 if ac_fn_c_try_link "$LINENO"; then :
28166 if test x$gcc_no_link = xyes; then
28167 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28170 /* end confdefs.h. */
28171 __thread int a; int b; int f() { return a = b; }
28172 _ACEOF
28173 if ac_fn_c_try_link "$LINENO"; then :
28174 gcc_cv_have_tls=yes
28175 else
28176 gcc_cv_have_tls=no
28178 rm -f core conftest.err conftest.$ac_objext \
28179 conftest$ac_exeext conftest.$ac_ext
28180 else
28181 gcc_cv_have_tls=yes
28183 rm -f core conftest.err conftest.$ac_objext \
28184 conftest$ac_exeext conftest.$ac_ext
28185 CFLAGS="$chktls_save_CFLAGS"
28186 LDFLAGS="$chktls_save_LDFLAGS"
28187 else
28188 gcc_cv_have_tls=no
28190 rm -f core conftest.err conftest.$ac_objext \
28191 conftest$ac_exeext conftest.$ac_ext
28194 else
28195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28196 /* end confdefs.h. */
28197 __thread int a; int b; int main() { return a = b; }
28198 _ACEOF
28199 if ac_fn_c_try_run "$LINENO"; then :
28200 chktls_save_LDFLAGS="$LDFLAGS"
28201 LDFLAGS="-static $LDFLAGS"
28202 if test x$gcc_no_link = xyes; then
28203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28206 /* end confdefs.h. */
28207 int main() { return 0; }
28208 _ACEOF
28209 if ac_fn_c_try_link "$LINENO"; then :
28210 if test "$cross_compiling" = yes; then :
28211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28213 as_fn_error $? "cannot run test program while cross compiling
28214 See \`config.log' for more details" "$LINENO" 5; }
28215 else
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28218 __thread int a; int b; int main() { return a = b; }
28219 _ACEOF
28220 if ac_fn_c_try_run "$LINENO"; then :
28221 gcc_cv_have_tls=yes
28222 else
28223 gcc_cv_have_tls=no
28225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28226 conftest.$ac_objext conftest.beam conftest.$ac_ext
28229 else
28230 gcc_cv_have_tls=yes
28232 rm -f core conftest.err conftest.$ac_objext \
28233 conftest$ac_exeext conftest.$ac_ext
28234 LDFLAGS="$chktls_save_LDFLAGS"
28235 if test $gcc_cv_have_tls = yes; then
28236 chktls_save_CFLAGS="$CFLAGS"
28237 thread_CFLAGS=failed
28238 for flag in '' '-pthread' '-lpthread'; do
28239 CFLAGS="$flag $chktls_save_CFLAGS"
28240 if test x$gcc_no_link = xyes; then
28241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28244 /* end confdefs.h. */
28245 #include <pthread.h>
28246 void *g(void *d) { return NULL; }
28248 main ()
28250 pthread_t t; pthread_create(&t,NULL,g,NULL);
28252 return 0;
28254 _ACEOF
28255 if ac_fn_c_try_link "$LINENO"; then :
28256 thread_CFLAGS="$flag"
28258 rm -f core conftest.err conftest.$ac_objext \
28259 conftest$ac_exeext conftest.$ac_ext
28260 if test "X$thread_CFLAGS" != Xfailed; then
28261 break
28263 done
28264 CFLAGS="$chktls_save_CFLAGS"
28265 if test "X$thread_CFLAGS" != Xfailed; then
28266 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28267 if test "$cross_compiling" = yes; then :
28268 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28269 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28270 as_fn_error $? "cannot run test program while cross compiling
28271 See \`config.log' for more details" "$LINENO" 5; }
28272 else
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28275 #include <pthread.h>
28276 __thread int a;
28277 static int *volatile a_in_other_thread;
28278 static void *
28279 thread_func (void *arg)
28281 a_in_other_thread = &a;
28282 return (void *)0;
28285 main ()
28287 pthread_t thread;
28288 void *thread_retval;
28289 int *volatile a_in_main_thread;
28290 a_in_main_thread = &a;
28291 if (pthread_create (&thread, (pthread_attr_t *)0,
28292 thread_func, (void *)0))
28293 return 0;
28294 if (pthread_join (thread, &thread_retval))
28295 return 0;
28296 return (a_in_other_thread == a_in_main_thread);
28298 return 0;
28300 _ACEOF
28301 if ac_fn_c_try_run "$LINENO"; then :
28302 gcc_cv_have_tls=yes
28303 else
28304 gcc_cv_have_tls=no
28306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28307 conftest.$ac_objext conftest.beam conftest.$ac_ext
28310 CFLAGS="$chktls_save_CFLAGS"
28313 else
28314 gcc_cv_have_tls=no
28316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28317 conftest.$ac_objext conftest.beam conftest.$ac_ext
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28322 $as_echo "$gcc_cv_have_tls" >&6; }
28323 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28325 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28329 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28330 do :
28331 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28332 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28333 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28334 cat >>confdefs.h <<_ACEOF
28335 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28336 _ACEOF
28339 done
28341 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28342 do :
28343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28345 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28346 cat >>confdefs.h <<_ACEOF
28347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28348 _ACEOF
28351 done
28353 for ac_func in _wfopen
28354 do :
28355 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28356 if test "x$ac_cv_func__wfopen" = xyes; then :
28357 cat >>confdefs.h <<_ACEOF
28358 #define HAVE__WFOPEN 1
28359 _ACEOF
28362 done
28364 for ac_func in secure_getenv
28365 do :
28366 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28367 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE_SECURE_GETENV 1
28370 _ACEOF
28373 done
28376 # C11 functions for C++17 library
28377 for ac_func in timespec_get
28378 do :
28379 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28380 if test "x$ac_cv_func_timespec_get" = xyes; then :
28381 cat >>confdefs.h <<_ACEOF
28382 #define HAVE_TIMESPEC_GET 1
28383 _ACEOF
28386 done
28389 # For Networking TS.
28390 for ac_func in sockatmark
28391 do :
28392 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28393 if test "x$ac_cv_func_sockatmark" = xyes; then :
28394 cat >>confdefs.h <<_ACEOF
28395 #define HAVE_SOCKATMARK 1
28396 _ACEOF
28399 done
28402 # Non-standard functions used by C++17 std::from_chars
28403 for ac_func in uselocale
28404 do :
28405 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28406 if test "x$ac_cv_func_uselocale" = xyes; then :
28407 cat >>confdefs.h <<_ACEOF
28408 #define HAVE_USELOCALE 1
28409 _ACEOF
28412 done
28415 # For iconv support.
28417 if test "X$prefix" = "XNONE"; then
28418 acl_final_prefix="$ac_default_prefix"
28419 else
28420 acl_final_prefix="$prefix"
28422 if test "X$exec_prefix" = "XNONE"; then
28423 acl_final_exec_prefix='${prefix}'
28424 else
28425 acl_final_exec_prefix="$exec_prefix"
28427 acl_save_prefix="$prefix"
28428 prefix="$acl_final_prefix"
28429 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28430 prefix="$acl_save_prefix"
28433 # Check whether --with-gnu-ld was given.
28434 if test "${with_gnu_ld+set}" = set; then :
28435 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28436 else
28437 with_gnu_ld=no
28440 # Prepare PATH_SEPARATOR.
28441 # The user is always right.
28442 if test "${PATH_SEPARATOR+set}" != set; then
28443 echo "#! /bin/sh" >conf$$.sh
28444 echo "exit 0" >>conf$$.sh
28445 chmod +x conf$$.sh
28446 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28447 PATH_SEPARATOR=';'
28448 else
28449 PATH_SEPARATOR=:
28451 rm -f conf$$.sh
28453 ac_prog=ld
28454 if test "$GCC" = yes; then
28455 # Check if gcc -print-prog-name=ld gives a path.
28456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28457 $as_echo_n "checking for ld used by GCC... " >&6; }
28458 case $host in
28459 *-*-mingw*)
28460 # gcc leaves a trailing carriage return which upsets mingw
28461 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28463 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28464 esac
28465 case $ac_prog in
28466 # Accept absolute paths.
28467 [\\/]* | [A-Za-z]:[\\/]*)
28468 re_direlt='/[^/][^/]*/\.\./'
28469 # Canonicalize the path of ld
28470 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28471 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28472 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28473 done
28474 test -z "$LD" && LD="$ac_prog"
28477 # If it fails, then pretend we aren't using GCC.
28478 ac_prog=ld
28481 # If it is relative, then search for the first ld in PATH.
28482 with_gnu_ld=unknown
28484 esac
28485 elif test "$with_gnu_ld" = yes; then
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28487 $as_echo_n "checking for GNU ld... " >&6; }
28488 else
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28490 $as_echo_n "checking for non-GNU ld... " >&6; }
28492 if ${acl_cv_path_LD+:} false; then :
28493 $as_echo_n "(cached) " >&6
28494 else
28495 if test -z "$LD"; then
28496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28497 for ac_dir in $PATH; do
28498 test -z "$ac_dir" && ac_dir=.
28499 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28500 acl_cv_path_LD="$ac_dir/$ac_prog"
28501 # Check to see if the program is GNU ld. I'd rather use --version,
28502 # but apparently some GNU ld's only accept -v.
28503 # Break only if it was the GNU/non-GNU ld that we prefer.
28504 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28505 test "$with_gnu_ld" != no && break
28506 else
28507 test "$with_gnu_ld" != yes && break
28510 done
28511 IFS="$ac_save_ifs"
28512 else
28513 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28517 LD="$acl_cv_path_LD"
28518 if test -n "$LD"; then
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28520 $as_echo "$LD" >&6; }
28521 else
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28523 $as_echo "no" >&6; }
28525 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28528 if ${acl_cv_prog_gnu_ld+:} false; then :
28529 $as_echo_n "(cached) " >&6
28530 else
28531 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28532 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28533 acl_cv_prog_gnu_ld=yes
28534 else
28535 acl_cv_prog_gnu_ld=no
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28539 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28540 with_gnu_ld=$acl_cv_prog_gnu_ld
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28545 $as_echo_n "checking for shared library run path origin... " >&6; }
28546 if ${acl_cv_rpath+:} false; then :
28547 $as_echo_n "(cached) " >&6
28548 else
28550 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28551 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28552 . ./conftest.sh
28553 rm -f ./conftest.sh
28554 acl_cv_rpath=done
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28558 $as_echo "$acl_cv_rpath" >&6; }
28559 wl="$acl_cv_wl"
28560 libext="$acl_cv_libext"
28561 shlibext="$acl_cv_shlibext"
28562 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28563 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28564 hardcode_direct="$acl_cv_hardcode_direct"
28565 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28566 # Check whether --enable-rpath was given.
28567 if test "${enable_rpath+set}" = set; then :
28568 enableval=$enable_rpath; :
28569 else
28570 enable_rpath=yes
28580 use_additional=yes
28582 acl_save_prefix="$prefix"
28583 prefix="$acl_final_prefix"
28584 acl_save_exec_prefix="$exec_prefix"
28585 exec_prefix="$acl_final_exec_prefix"
28587 eval additional_includedir=\"$includedir\"
28588 eval additional_libdir=\"$libdir\"
28590 exec_prefix="$acl_save_exec_prefix"
28591 prefix="$acl_save_prefix"
28594 # Check whether --with-libiconv-prefix was given.
28595 if test "${with_libiconv_prefix+set}" = set; then :
28596 withval=$with_libiconv_prefix;
28597 if test "X$withval" = "Xno"; then
28598 use_additional=no
28599 else
28600 if test "X$withval" = "X"; then
28602 acl_save_prefix="$prefix"
28603 prefix="$acl_final_prefix"
28604 acl_save_exec_prefix="$exec_prefix"
28605 exec_prefix="$acl_final_exec_prefix"
28607 eval additional_includedir=\"$includedir\"
28608 eval additional_libdir=\"$libdir\"
28610 exec_prefix="$acl_save_exec_prefix"
28611 prefix="$acl_save_prefix"
28613 else
28614 additional_includedir="$withval/include"
28615 additional_libdir="$withval/lib"
28622 # Check whether --with-libiconv-type was given.
28623 if test "${with_libiconv_type+set}" = set; then :
28624 withval=$with_libiconv_type; with_libiconv_type=$withval
28625 else
28626 with_libiconv_type=auto
28629 lib_type=`eval echo \$with_libiconv_type`
28631 LIBICONV=
28632 LTLIBICONV=
28633 INCICONV=
28634 rpathdirs=
28635 ltrpathdirs=
28636 names_already_handled=
28637 names_next_round='iconv '
28638 while test -n "$names_next_round"; do
28639 names_this_round="$names_next_round"
28640 names_next_round=
28641 for name in $names_this_round; do
28642 already_handled=
28643 for n in $names_already_handled; do
28644 if test "$n" = "$name"; then
28645 already_handled=yes
28646 break
28648 done
28649 if test -z "$already_handled"; then
28650 names_already_handled="$names_already_handled $name"
28651 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28652 eval value=\"\$HAVE_LIB$uppername\"
28653 if test -n "$value"; then
28654 if test "$value" = yes; then
28655 eval value=\"\$LIB$uppername\"
28656 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28657 eval value=\"\$LTLIB$uppername\"
28658 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28659 else
28662 else
28663 found_dir=
28664 found_la=
28665 found_so=
28666 found_a=
28667 if test $use_additional = yes; then
28668 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28669 found_dir="$additional_libdir"
28670 found_so="$additional_libdir/lib$name.$shlibext"
28671 if test -f "$additional_libdir/lib$name.la"; then
28672 found_la="$additional_libdir/lib$name.la"
28674 elif test x$lib_type != xshared; then
28675 if test -f "$additional_libdir/lib$name.$libext"; then
28676 found_dir="$additional_libdir"
28677 found_a="$additional_libdir/lib$name.$libext"
28678 if test -f "$additional_libdir/lib$name.la"; then
28679 found_la="$additional_libdir/lib$name.la"
28684 if test "X$found_dir" = "X"; then
28685 for x in $LDFLAGS $LTLIBICONV; do
28687 acl_save_prefix="$prefix"
28688 prefix="$acl_final_prefix"
28689 acl_save_exec_prefix="$exec_prefix"
28690 exec_prefix="$acl_final_exec_prefix"
28691 eval x=\"$x\"
28692 exec_prefix="$acl_save_exec_prefix"
28693 prefix="$acl_save_prefix"
28695 case "$x" in
28696 -L*)
28697 dir=`echo "X$x" | sed -e 's/^X-L//'`
28698 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28699 found_dir="$dir"
28700 found_so="$dir/lib$name.$shlibext"
28701 if test -f "$dir/lib$name.la"; then
28702 found_la="$dir/lib$name.la"
28704 elif test x$lib_type != xshared; then
28705 if test -f "$dir/lib$name.$libext"; then
28706 found_dir="$dir"
28707 found_a="$dir/lib$name.$libext"
28708 if test -f "$dir/lib$name.la"; then
28709 found_la="$dir/lib$name.la"
28714 esac
28715 if test "X$found_dir" != "X"; then
28716 break
28718 done
28720 if test "X$found_dir" != "X"; then
28721 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28722 if test "X$found_so" != "X"; then
28723 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28724 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28725 else
28726 haveit=
28727 for x in $ltrpathdirs; do
28728 if test "X$x" = "X$found_dir"; then
28729 haveit=yes
28730 break
28732 done
28733 if test -z "$haveit"; then
28734 ltrpathdirs="$ltrpathdirs $found_dir"
28736 if test "$hardcode_direct" = yes; then
28737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28738 else
28739 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28740 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28741 haveit=
28742 for x in $rpathdirs; do
28743 if test "X$x" = "X$found_dir"; then
28744 haveit=yes
28745 break
28747 done
28748 if test -z "$haveit"; then
28749 rpathdirs="$rpathdirs $found_dir"
28751 else
28752 haveit=
28753 for x in $LDFLAGS $LIBICONV; do
28755 acl_save_prefix="$prefix"
28756 prefix="$acl_final_prefix"
28757 acl_save_exec_prefix="$exec_prefix"
28758 exec_prefix="$acl_final_exec_prefix"
28759 eval x=\"$x\"
28760 exec_prefix="$acl_save_exec_prefix"
28761 prefix="$acl_save_prefix"
28763 if test "X$x" = "X-L$found_dir"; then
28764 haveit=yes
28765 break
28767 done
28768 if test -z "$haveit"; then
28769 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28771 if test "$hardcode_minus_L" != no; then
28772 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28773 else
28774 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28779 else
28780 if test "X$found_a" != "X"; then
28781 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28782 else
28783 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28786 additional_includedir=
28787 case "$found_dir" in
28788 */lib | */lib/)
28789 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28790 additional_includedir="$basedir/include"
28792 esac
28793 if test "X$additional_includedir" != "X"; then
28794 if test "X$additional_includedir" != "X/usr/include"; then
28795 haveit=
28796 if test "X$additional_includedir" = "X/usr/local/include"; then
28797 if test -n "$GCC"; then
28798 case $host_os in
28799 linux*) haveit=yes;;
28800 esac
28803 if test -z "$haveit"; then
28804 for x in $CPPFLAGS $INCICONV; do
28806 acl_save_prefix="$prefix"
28807 prefix="$acl_final_prefix"
28808 acl_save_exec_prefix="$exec_prefix"
28809 exec_prefix="$acl_final_exec_prefix"
28810 eval x=\"$x\"
28811 exec_prefix="$acl_save_exec_prefix"
28812 prefix="$acl_save_prefix"
28814 if test "X$x" = "X-I$additional_includedir"; then
28815 haveit=yes
28816 break
28818 done
28819 if test -z "$haveit"; then
28820 if test -d "$additional_includedir"; then
28821 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28827 if test -n "$found_la"; then
28828 save_libdir="$libdir"
28829 case "$found_la" in
28830 */* | *\\*) . "$found_la" ;;
28831 *) . "./$found_la" ;;
28832 esac
28833 libdir="$save_libdir"
28834 for dep in $dependency_libs; do
28835 case "$dep" in
28836 -L*)
28837 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28838 if test "X$additional_libdir" != "X/usr/lib"; then
28839 haveit=
28840 if test "X$additional_libdir" = "X/usr/local/lib"; then
28841 if test -n "$GCC"; then
28842 case $host_os in
28843 linux*) haveit=yes;;
28844 esac
28847 if test -z "$haveit"; then
28848 haveit=
28849 for x in $LDFLAGS $LIBICONV; do
28851 acl_save_prefix="$prefix"
28852 prefix="$acl_final_prefix"
28853 acl_save_exec_prefix="$exec_prefix"
28854 exec_prefix="$acl_final_exec_prefix"
28855 eval x=\"$x\"
28856 exec_prefix="$acl_save_exec_prefix"
28857 prefix="$acl_save_prefix"
28859 if test "X$x" = "X-L$additional_libdir"; then
28860 haveit=yes
28861 break
28863 done
28864 if test -z "$haveit"; then
28865 if test -d "$additional_libdir"; then
28866 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28869 haveit=
28870 for x in $LDFLAGS $LTLIBICONV; do
28872 acl_save_prefix="$prefix"
28873 prefix="$acl_final_prefix"
28874 acl_save_exec_prefix="$exec_prefix"
28875 exec_prefix="$acl_final_exec_prefix"
28876 eval x=\"$x\"
28877 exec_prefix="$acl_save_exec_prefix"
28878 prefix="$acl_save_prefix"
28880 if test "X$x" = "X-L$additional_libdir"; then
28881 haveit=yes
28882 break
28884 done
28885 if test -z "$haveit"; then
28886 if test -d "$additional_libdir"; then
28887 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28893 -R*)
28894 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28895 if test "$enable_rpath" != no; then
28896 haveit=
28897 for x in $rpathdirs; do
28898 if test "X$x" = "X$dir"; then
28899 haveit=yes
28900 break
28902 done
28903 if test -z "$haveit"; then
28904 rpathdirs="$rpathdirs $dir"
28906 haveit=
28907 for x in $ltrpathdirs; do
28908 if test "X$x" = "X$dir"; then
28909 haveit=yes
28910 break
28912 done
28913 if test -z "$haveit"; then
28914 ltrpathdirs="$ltrpathdirs $dir"
28918 -l*)
28919 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28921 *.la)
28922 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28925 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28926 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28928 esac
28929 done
28931 else
28932 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28933 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28934 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28935 else
28936 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28937 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28942 done
28943 done
28944 if test "X$rpathdirs" != "X"; then
28945 if test -n "$hardcode_libdir_separator"; then
28946 alldirs=
28947 for found_dir in $rpathdirs; do
28948 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28949 done
28950 acl_save_libdir="$libdir"
28951 libdir="$alldirs"
28952 eval flag=\"$hardcode_libdir_flag_spec\"
28953 libdir="$acl_save_libdir"
28954 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28955 else
28956 for found_dir in $rpathdirs; do
28957 acl_save_libdir="$libdir"
28958 libdir="$found_dir"
28959 eval flag=\"$hardcode_libdir_flag_spec\"
28960 libdir="$acl_save_libdir"
28961 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28962 done
28965 if test "X$ltrpathdirs" != "X"; then
28966 for found_dir in $ltrpathdirs; do
28967 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28968 done
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28978 $as_echo_n "checking for iconv... " >&6; }
28979 if ${am_cv_func_iconv+:} false; then :
28980 $as_echo_n "(cached) " >&6
28981 else
28983 am_cv_func_iconv="no, consider installing GNU libiconv"
28984 am_cv_lib_iconv=no
28985 am_save_CPPFLAGS="$CPPFLAGS"
28986 CPPFLAGS="$CPPFLAGS $INCICONV"
28987 if test x$gcc_no_link = xyes; then
28988 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28991 /* end confdefs.h. */
28992 #include <stdlib.h>
28993 #include <iconv.h>
28995 main ()
28997 iconv_t cd = iconv_open("","");
28998 iconv(cd,NULL,NULL,NULL,NULL);
28999 iconv_close(cd);
29001 return 0;
29003 _ACEOF
29004 if ac_fn_c_try_link "$LINENO"; then :
29005 am_cv_func_iconv=yes
29007 rm -f core conftest.err conftest.$ac_objext \
29008 conftest$ac_exeext conftest.$ac_ext
29009 CPPFLAGS="$am_save_CPPFLAGS"
29011 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29012 for _libs in .libs _libs; do
29013 am_save_CPPFLAGS="$CPPFLAGS"
29014 am_save_LIBS="$LIBS"
29015 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29016 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29017 if test x$gcc_no_link = xyes; then
29018 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29021 /* end confdefs.h. */
29022 #include <stdlib.h>
29023 #include <iconv.h>
29025 main ()
29027 iconv_t cd = iconv_open("","");
29028 iconv(cd,NULL,NULL,NULL,NULL);
29029 iconv_close(cd);
29031 return 0;
29033 _ACEOF
29034 if ac_fn_c_try_link "$LINENO"; then :
29035 INCICONV="-I../libiconv/include"
29036 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29037 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29038 am_cv_lib_iconv=yes
29039 am_cv_func_iconv=yes
29041 rm -f core conftest.err conftest.$ac_objext \
29042 conftest$ac_exeext conftest.$ac_ext
29043 CPPFLAGS="$am_save_CPPFLAGS"
29044 LIBS="$am_save_LIBS"
29045 if test "$am_cv_func_iconv" = "yes"; then
29046 break
29048 done
29051 if test "$am_cv_func_iconv" != yes; then
29052 am_save_CPPFLAGS="$CPPFLAGS"
29053 am_save_LIBS="$LIBS"
29054 CPPFLAGS="$CPPFLAGS $INCICONV"
29055 LIBS="$LIBS $LIBICONV"
29056 if test x$gcc_no_link = xyes; then
29057 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29060 /* end confdefs.h. */
29061 #include <stdlib.h>
29062 #include <iconv.h>
29064 main ()
29066 iconv_t cd = iconv_open("","");
29067 iconv(cd,NULL,NULL,NULL,NULL);
29068 iconv_close(cd);
29070 return 0;
29072 _ACEOF
29073 if ac_fn_c_try_link "$LINENO"; then :
29074 am_cv_lib_iconv=yes
29075 am_cv_func_iconv=yes
29077 rm -f core conftest.err conftest.$ac_objext \
29078 conftest$ac_exeext conftest.$ac_ext
29079 CPPFLAGS="$am_save_CPPFLAGS"
29080 LIBS="$am_save_LIBS"
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29085 $as_echo "$am_cv_func_iconv" >&6; }
29086 if test "$am_cv_func_iconv" = yes; then
29088 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29091 if test "$am_cv_lib_iconv" = yes; then
29093 for element in $INCICONV; do
29094 haveit=
29095 for x in $CPPFLAGS; do
29097 acl_save_prefix="$prefix"
29098 prefix="$acl_final_prefix"
29099 acl_save_exec_prefix="$exec_prefix"
29100 exec_prefix="$acl_final_exec_prefix"
29101 eval x=\"$x\"
29102 exec_prefix="$acl_save_exec_prefix"
29103 prefix="$acl_save_prefix"
29105 if test "X$x" = "X$element"; then
29106 haveit=yes
29107 break
29109 done
29110 if test -z "$haveit"; then
29111 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29113 done
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29116 $as_echo_n "checking how to link with libiconv... " >&6; }
29117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29118 $as_echo "$LIBICONV" >&6; }
29119 else
29120 LIBICONV=
29121 LTLIBICONV=
29126 if test "$am_cv_func_iconv" = yes; then
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29128 $as_echo_n "checking for iconv declaration... " >&6; }
29129 if ${am_cv_proto_iconv+:} false; then :
29130 $as_echo_n "(cached) " >&6
29131 else
29133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29134 /* end confdefs.h. */
29136 #include <stdlib.h>
29137 #include <iconv.h>
29138 extern
29139 #ifdef __cplusplus
29141 #endif
29142 #if defined(__STDC__) || defined(__cplusplus)
29143 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29144 #else
29145 size_t iconv();
29146 #endif
29149 main ()
29153 return 0;
29155 _ACEOF
29156 if ac_fn_c_try_compile "$LINENO"; then :
29157 am_cv_proto_iconv_arg1=""
29158 else
29159 am_cv_proto_iconv_arg1="const"
29161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29162 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);"
29165 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29167 }$am_cv_proto_iconv" >&5
29168 $as_echo "${ac_t:-
29169 }$am_cv_proto_iconv" >&6; }
29171 cat >>confdefs.h <<_ACEOF
29172 #define ICONV_CONST $am_cv_proto_iconv_arg1
29173 _ACEOF
29178 else
29180 # This lets us hard-code the functionality we know we'll have in the cross
29181 # target environment. "Let" is a sugar-coated word placed on an especially
29182 # dull and tedious hack, actually.
29184 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29185 # that involve linking, can't be used:
29186 # "cannot open sim-crt0.o"
29187 # "cannot open crt0.o"
29188 # etc. All this is because there currently exists no unified, consistent
29189 # way for top level CC information to be passed down to target directories:
29190 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29191 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29192 # crosses can be removed.
29194 # If Canadian cross, then don't pick up tools from the build directory.
29195 # Used only in GLIBCXX_EXPORT_INCLUDES.
29196 if test -n "$with_cross_host" &&
29197 test x"$build_alias" != x"$with_cross_host" &&
29198 test x"$build" != x"$target";
29199 then
29200 CANADIAN=yes
29201 else
29202 CANADIAN=no
29205 # Construct crosses by hand, eliminating bits that need ld...
29206 # GLIBCXX_CHECK_MATH_SUPPORT
29208 # First, test for "known" system libraries. We may be using newlib even
29209 # on a hosted environment.
29210 if test "x${with_newlib}" = "xyes"; then
29211 os_include_dir="os/newlib"
29212 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29215 # GLIBCXX_CHECK_STDLIB_SUPPORT
29216 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29219 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29221 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29223 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29225 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29227 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29229 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29231 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29233 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29235 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29237 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29239 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29241 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29243 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29245 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29247 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29249 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29251 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29253 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29255 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29257 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29259 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29261 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29264 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29266 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29269 case "${target}" in
29270 *-rtems*)
29271 case "${target}" in
29272 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29275 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29278 esac
29279 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29281 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29283 $as_echo "#define HAVE_LINK 1" >>confdefs.h
29285 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29287 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29289 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29291 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29293 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29295 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29297 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29299 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29301 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29304 esac
29305 elif test "x$with_headers" != "xno"; then
29307 # Base decisions on target environment.
29308 case "${host}" in
29309 arm*-*-symbianelf*)
29310 # This is a freestanding configuration; there is nothing to do here.
29313 avr*-*-*)
29314 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29316 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29318 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29320 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29322 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29324 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29326 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29328 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29330 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29332 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29334 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29336 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29338 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29340 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29342 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29344 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29346 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29348 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29350 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29352 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29354 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29356 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29358 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29362 mips*-sde-elf*)
29363 # These definitions are for the SDE C library rather than newlib.
29364 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29367 # All these tests are for C++; save the language and the compiler flags.
29368 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29369 # found in GLIBCXX_CONFIGURE.
29371 ac_ext=cpp
29372 ac_cpp='$CXXCPP $CPPFLAGS'
29373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29377 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29378 ac_save_CXXFLAGS="$CXXFLAGS"
29380 # Check for -ffunction-sections -fdata-sections
29381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29382 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29383 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386 int foo; void bar() { };
29388 main ()
29392 return 0;
29394 _ACEOF
29395 if ac_fn_cxx_try_compile "$LINENO"; then :
29396 ac_fdsections=yes
29397 else
29398 ac_fdsections=no
29400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29401 if test "$ac_test_CXXFLAGS" = set; then
29402 CXXFLAGS="$ac_save_CXXFLAGS"
29403 else
29404 # this is the suspicious part
29405 CXXFLAGS=''
29407 if test x"$ac_fdsections" = x"yes"; then
29408 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29411 $as_echo "$ac_fdsections" >&6; }
29413 ac_ext=c
29414 ac_cpp='$CPP $CPPFLAGS'
29415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29422 # If we're not using GNU ld, then there's no point in even trying these
29423 # tests. Check for that first. We should have already tested for gld
29424 # by now (in libtool), but require it now just to be safe...
29425 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29426 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29430 # The name set by libtool depends on the version of libtool. Shame on us
29431 # for depending on an impl detail, but c'est la vie. Older versions used
29432 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29433 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29434 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29435 # set (hence we're using an older libtool), then set it.
29436 if test x${with_gnu_ld+set} != xset; then
29437 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29438 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29439 with_gnu_ld=no
29440 else
29441 with_gnu_ld=$ac_cv_prog_gnu_ld
29445 # Start by getting the version number. I think the libtool test already
29446 # does some of this, but throws away the result.
29447 glibcxx_ld_is_gold=no
29448 glibcxx_ld_is_mold=no
29449 if test x"$with_gnu_ld" = x"yes"; then
29450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29451 $as_echo_n "checking for ld version... " >&6; }
29453 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29454 glibcxx_ld_is_gold=yes
29455 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29456 glibcxx_ld_is_mold=yes
29458 ldver=`$LD --version 2>/dev/null |
29459 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29461 glibcxx_gnu_ld_version=`echo $ldver | \
29462 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29464 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29467 # Set --gc-sections.
29468 glibcxx_have_gc_sections=no
29469 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29470 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29471 glibcxx_have_gc_sections=yes
29473 else
29474 glibcxx_gcsections_min_ld=21602
29475 if test x"$with_gnu_ld" = x"yes" &&
29476 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29477 glibcxx_have_gc_sections=yes
29480 if test "$glibcxx_have_gc_sections" = "yes"; then
29481 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29482 # NB: This flag only works reliably after 2.16.1. Configure tests
29483 # for this are difficult, so hard wire a value that should work.
29485 ac_test_CFLAGS="${CFLAGS+set}"
29486 ac_save_CFLAGS="$CFLAGS"
29487 CFLAGS='-Wl,--gc-sections'
29489 # Check for -Wl,--gc-sections
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29491 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29492 if test x$gcc_no_link = xyes; then
29493 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29496 /* end confdefs.h. */
29497 int one(void) { return 1; }
29498 int two(void) { return 2; }
29501 main ()
29503 two();
29505 return 0;
29507 _ACEOF
29508 if ac_fn_c_try_link "$LINENO"; then :
29509 ac_gcsections=yes
29510 else
29511 ac_gcsections=no
29513 rm -f core conftest.err conftest.$ac_objext \
29514 conftest$ac_exeext conftest.$ac_ext
29515 if test "$ac_gcsections" = "yes"; then
29516 rm -f conftest.c
29517 touch conftest.c
29518 if $CC -c conftest.c; then
29519 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29520 grep "Warning: gc-sections option ignored" > /dev/null; then
29521 ac_gcsections=no
29524 rm -f conftest.c conftest.o conftest
29526 if test "$ac_gcsections" = "yes"; then
29527 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29530 $as_echo "$ac_gcsections" >&6; }
29532 if test "$ac_test_CFLAGS" = set; then
29533 CFLAGS="$ac_save_CFLAGS"
29534 else
29535 # this is the suspicious part
29536 CFLAGS=''
29540 # Set -z,relro.
29541 # Note this is only for shared objects.
29542 ac_ld_relro=no
29543 if test x"$with_gnu_ld" = x"yes"; then
29544 # cygwin and mingw uses PE, which has no ELF relro support,
29545 # multi target ld may confuse configure machinery
29546 case "$host" in
29547 *-*-cygwin*)
29549 *-*-mingw*)
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29553 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29554 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29555 if test -n "$cxx_z_relo"; then
29556 OPT_LDFLAGS="-Wl,-z,relro"
29557 ac_ld_relro=yes
29559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29560 $as_echo "$ac_ld_relro" >&6; }
29561 esac
29564 # Set linker optimization flags.
29565 if test x"$with_gnu_ld" = x"yes"; then
29566 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29573 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29574 ac_save_CXXFLAGS="$CXXFLAGS"
29575 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29578 $as_echo_n "checking for sin in -lm... " >&6; }
29579 if ${ac_cv_lib_m_sin+:} false; then :
29580 $as_echo_n "(cached) " >&6
29581 else
29582 ac_check_lib_save_LIBS=$LIBS
29583 LIBS="-lm $LIBS"
29584 if test x$gcc_no_link = xyes; then
29585 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29588 /* end confdefs.h. */
29590 /* Override any GCC internal prototype to avoid an error.
29591 Use char because int might match the return type of a GCC
29592 builtin and then its argument prototype would still apply. */
29593 #ifdef __cplusplus
29594 extern "C"
29595 #endif
29596 char sin ();
29598 main ()
29600 return sin ();
29602 return 0;
29604 _ACEOF
29605 if ac_fn_c_try_link "$LINENO"; then :
29606 ac_cv_lib_m_sin=yes
29607 else
29608 ac_cv_lib_m_sin=no
29610 rm -f core conftest.err conftest.$ac_objext \
29611 conftest$ac_exeext conftest.$ac_ext
29612 LIBS=$ac_check_lib_save_LIBS
29614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29615 $as_echo "$ac_cv_lib_m_sin" >&6; }
29616 if test "x$ac_cv_lib_m_sin" = xyes; then :
29617 libm="-lm"
29620 ac_save_LIBS="$LIBS"
29621 LIBS="$LIBS $libm"
29625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29626 $as_echo_n "checking for isinf declaration... " >&6; }
29627 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29628 if ${glibcxx_cv_func_isinf_use+:} false; then :
29629 $as_echo_n "(cached) " >&6
29630 else
29633 ac_ext=cpp
29634 ac_cpp='$CXXCPP $CPPFLAGS'
29635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29640 /* end confdefs.h. */
29641 #include <math.h>
29642 #ifdef HAVE_IEEEFP_H
29643 #include <ieeefp.h>
29644 #endif
29647 main ()
29649 isinf(0);
29651 return 0;
29653 _ACEOF
29654 if ac_fn_cxx_try_compile "$LINENO"; then :
29655 glibcxx_cv_func_isinf_use=yes
29656 else
29657 glibcxx_cv_func_isinf_use=no
29659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29660 ac_ext=c
29661 ac_cpp='$CPP $CPPFLAGS'
29662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29671 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29673 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29674 for ac_func in isinf
29675 do :
29676 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29677 if test "x$ac_cv_func_isinf" = xyes; then :
29678 cat >>confdefs.h <<_ACEOF
29679 #define HAVE_ISINF 1
29680 _ACEOF
29683 done
29685 else
29687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29688 $as_echo_n "checking for _isinf declaration... " >&6; }
29689 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29690 if ${glibcxx_cv_func__isinf_use+:} false; then :
29691 $as_echo_n "(cached) " >&6
29692 else
29695 ac_ext=cpp
29696 ac_cpp='$CXXCPP $CPPFLAGS'
29697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29702 /* end confdefs.h. */
29703 #include <math.h>
29704 #ifdef HAVE_IEEEFP_H
29705 #include <ieeefp.h>
29706 #endif
29709 main ()
29711 _isinf(0);
29713 return 0;
29715 _ACEOF
29716 if ac_fn_cxx_try_compile "$LINENO"; then :
29717 glibcxx_cv_func__isinf_use=yes
29718 else
29719 glibcxx_cv_func__isinf_use=no
29721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29722 ac_ext=c
29723 ac_cpp='$CPP $CPPFLAGS'
29724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29733 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29735 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29736 for ac_func in _isinf
29737 do :
29738 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29739 if test "x$ac_cv_func__isinf" = xyes; then :
29740 cat >>confdefs.h <<_ACEOF
29741 #define HAVE__ISINF 1
29742 _ACEOF
29745 done
29754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29755 $as_echo_n "checking for isnan declaration... " >&6; }
29756 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29757 if ${glibcxx_cv_func_isnan_use+:} false; then :
29758 $as_echo_n "(cached) " >&6
29759 else
29762 ac_ext=cpp
29763 ac_cpp='$CXXCPP $CPPFLAGS'
29764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29770 #include <math.h>
29771 #ifdef HAVE_IEEEFP_H
29772 #include <ieeefp.h>
29773 #endif
29776 main ()
29778 isnan(0);
29780 return 0;
29782 _ACEOF
29783 if ac_fn_cxx_try_compile "$LINENO"; then :
29784 glibcxx_cv_func_isnan_use=yes
29785 else
29786 glibcxx_cv_func_isnan_use=no
29788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29789 ac_ext=c
29790 ac_cpp='$CPP $CPPFLAGS'
29791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29800 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29802 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29803 for ac_func in isnan
29804 do :
29805 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29806 if test "x$ac_cv_func_isnan" = xyes; then :
29807 cat >>confdefs.h <<_ACEOF
29808 #define HAVE_ISNAN 1
29809 _ACEOF
29812 done
29814 else
29816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29817 $as_echo_n "checking for _isnan declaration... " >&6; }
29818 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29819 if ${glibcxx_cv_func__isnan_use+:} false; then :
29820 $as_echo_n "(cached) " >&6
29821 else
29824 ac_ext=cpp
29825 ac_cpp='$CXXCPP $CPPFLAGS'
29826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29831 /* end confdefs.h. */
29832 #include <math.h>
29833 #ifdef HAVE_IEEEFP_H
29834 #include <ieeefp.h>
29835 #endif
29838 main ()
29840 _isnan(0);
29842 return 0;
29844 _ACEOF
29845 if ac_fn_cxx_try_compile "$LINENO"; then :
29846 glibcxx_cv_func__isnan_use=yes
29847 else
29848 glibcxx_cv_func__isnan_use=no
29850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29851 ac_ext=c
29852 ac_cpp='$CPP $CPPFLAGS'
29853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29862 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29864 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29865 for ac_func in _isnan
29866 do :
29867 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29868 if test "x$ac_cv_func__isnan" = xyes; then :
29869 cat >>confdefs.h <<_ACEOF
29870 #define HAVE__ISNAN 1
29871 _ACEOF
29874 done
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29884 $as_echo_n "checking for finite declaration... " >&6; }
29885 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29886 if ${glibcxx_cv_func_finite_use+:} false; then :
29887 $as_echo_n "(cached) " >&6
29888 else
29891 ac_ext=cpp
29892 ac_cpp='$CXXCPP $CPPFLAGS'
29893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29898 /* end confdefs.h. */
29899 #include <math.h>
29900 #ifdef HAVE_IEEEFP_H
29901 #include <ieeefp.h>
29902 #endif
29905 main ()
29907 finite(0);
29909 return 0;
29911 _ACEOF
29912 if ac_fn_cxx_try_compile "$LINENO"; then :
29913 glibcxx_cv_func_finite_use=yes
29914 else
29915 glibcxx_cv_func_finite_use=no
29917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29918 ac_ext=c
29919 ac_cpp='$CPP $CPPFLAGS'
29920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29929 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29931 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29932 for ac_func in finite
29933 do :
29934 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29935 if test "x$ac_cv_func_finite" = xyes; then :
29936 cat >>confdefs.h <<_ACEOF
29937 #define HAVE_FINITE 1
29938 _ACEOF
29941 done
29943 else
29945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29946 $as_echo_n "checking for _finite declaration... " >&6; }
29947 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29948 if ${glibcxx_cv_func__finite_use+:} false; then :
29949 $as_echo_n "(cached) " >&6
29950 else
29953 ac_ext=cpp
29954 ac_cpp='$CXXCPP $CPPFLAGS'
29955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29960 /* end confdefs.h. */
29961 #include <math.h>
29962 #ifdef HAVE_IEEEFP_H
29963 #include <ieeefp.h>
29964 #endif
29967 main ()
29969 _finite(0);
29971 return 0;
29973 _ACEOF
29974 if ac_fn_cxx_try_compile "$LINENO"; then :
29975 glibcxx_cv_func__finite_use=yes
29976 else
29977 glibcxx_cv_func__finite_use=no
29979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29980 ac_ext=c
29981 ac_cpp='$CPP $CPPFLAGS'
29982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29991 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29993 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29994 for ac_func in _finite
29995 do :
29996 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29997 if test "x$ac_cv_func__finite" = xyes; then :
29998 cat >>confdefs.h <<_ACEOF
29999 #define HAVE__FINITE 1
30000 _ACEOF
30003 done
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30013 $as_echo_n "checking for sincos declaration... " >&6; }
30014 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30015 if ${glibcxx_cv_func_sincos_use+:} false; then :
30016 $as_echo_n "(cached) " >&6
30017 else
30020 ac_ext=cpp
30021 ac_cpp='$CXXCPP $CPPFLAGS'
30022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30027 /* end confdefs.h. */
30028 #include <math.h>
30030 main ()
30032 sincos(0, 0, 0);
30034 return 0;
30036 _ACEOF
30037 if ac_fn_cxx_try_compile "$LINENO"; then :
30038 glibcxx_cv_func_sincos_use=yes
30039 else
30040 glibcxx_cv_func_sincos_use=no
30042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30043 ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30054 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30056 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30057 for ac_func in sincos
30058 do :
30059 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30060 if test "x$ac_cv_func_sincos" = xyes; then :
30061 cat >>confdefs.h <<_ACEOF
30062 #define HAVE_SINCOS 1
30063 _ACEOF
30066 done
30068 else
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30071 $as_echo_n "checking for _sincos declaration... " >&6; }
30072 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30073 if ${glibcxx_cv_func__sincos_use+:} false; then :
30074 $as_echo_n "(cached) " >&6
30075 else
30078 ac_ext=cpp
30079 ac_cpp='$CXXCPP $CPPFLAGS'
30080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30085 /* end confdefs.h. */
30086 #include <math.h>
30088 main ()
30090 _sincos(0, 0, 0);
30092 return 0;
30094 _ACEOF
30095 if ac_fn_cxx_try_compile "$LINENO"; then :
30096 glibcxx_cv_func__sincos_use=yes
30097 else
30098 glibcxx_cv_func__sincos_use=no
30100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30101 ac_ext=c
30102 ac_cpp='$CPP $CPPFLAGS'
30103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30112 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30114 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30115 for ac_func in _sincos
30116 do :
30117 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30118 if test "x$ac_cv_func__sincos" = xyes; then :
30119 cat >>confdefs.h <<_ACEOF
30120 #define HAVE__SINCOS 1
30121 _ACEOF
30124 done
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30134 $as_echo_n "checking for fpclass declaration... " >&6; }
30135 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30136 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30137 $as_echo_n "(cached) " >&6
30138 else
30141 ac_ext=cpp
30142 ac_cpp='$CXXCPP $CPPFLAGS'
30143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30148 /* end confdefs.h. */
30149 #include <math.h>
30150 #ifdef HAVE_IEEEFP_H
30151 #include <ieeefp.h>
30152 #endif
30155 main ()
30157 fpclass(0);
30159 return 0;
30161 _ACEOF
30162 if ac_fn_cxx_try_compile "$LINENO"; then :
30163 glibcxx_cv_func_fpclass_use=yes
30164 else
30165 glibcxx_cv_func_fpclass_use=no
30167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30168 ac_ext=c
30169 ac_cpp='$CPP $CPPFLAGS'
30170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30179 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30181 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30182 for ac_func in fpclass
30183 do :
30184 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30185 if test "x$ac_cv_func_fpclass" = xyes; then :
30186 cat >>confdefs.h <<_ACEOF
30187 #define HAVE_FPCLASS 1
30188 _ACEOF
30191 done
30193 else
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30196 $as_echo_n "checking for _fpclass declaration... " >&6; }
30197 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30198 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30199 $as_echo_n "(cached) " >&6
30200 else
30203 ac_ext=cpp
30204 ac_cpp='$CXXCPP $CPPFLAGS'
30205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30210 /* end confdefs.h. */
30211 #include <math.h>
30212 #ifdef HAVE_IEEEFP_H
30213 #include <ieeefp.h>
30214 #endif
30217 main ()
30219 _fpclass(0);
30221 return 0;
30223 _ACEOF
30224 if ac_fn_cxx_try_compile "$LINENO"; then :
30225 glibcxx_cv_func__fpclass_use=yes
30226 else
30227 glibcxx_cv_func__fpclass_use=no
30229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30230 ac_ext=c
30231 ac_cpp='$CPP $CPPFLAGS'
30232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30241 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30243 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30244 for ac_func in _fpclass
30245 do :
30246 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30247 if test "x$ac_cv_func__fpclass" = xyes; then :
30248 cat >>confdefs.h <<_ACEOF
30249 #define HAVE__FPCLASS 1
30250 _ACEOF
30253 done
30262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30263 $as_echo_n "checking for qfpclass declaration... " >&6; }
30264 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30265 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30266 $as_echo_n "(cached) " >&6
30267 else
30270 ac_ext=cpp
30271 ac_cpp='$CXXCPP $CPPFLAGS'
30272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30277 /* end confdefs.h. */
30278 #include <math.h>
30279 #ifdef HAVE_IEEEFP_H
30280 #include <ieeefp.h>
30281 #endif
30284 main ()
30286 qfpclass(0);
30288 return 0;
30290 _ACEOF
30291 if ac_fn_cxx_try_compile "$LINENO"; then :
30292 glibcxx_cv_func_qfpclass_use=yes
30293 else
30294 glibcxx_cv_func_qfpclass_use=no
30296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30297 ac_ext=c
30298 ac_cpp='$CPP $CPPFLAGS'
30299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30308 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30310 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30311 for ac_func in qfpclass
30312 do :
30313 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30314 if test "x$ac_cv_func_qfpclass" = xyes; then :
30315 cat >>confdefs.h <<_ACEOF
30316 #define HAVE_QFPCLASS 1
30317 _ACEOF
30320 done
30322 else
30324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30325 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30326 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30327 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30328 $as_echo_n "(cached) " >&6
30329 else
30332 ac_ext=cpp
30333 ac_cpp='$CXXCPP $CPPFLAGS'
30334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30339 /* end confdefs.h. */
30340 #include <math.h>
30341 #ifdef HAVE_IEEEFP_H
30342 #include <ieeefp.h>
30343 #endif
30346 main ()
30348 _qfpclass(0);
30350 return 0;
30352 _ACEOF
30353 if ac_fn_cxx_try_compile "$LINENO"; then :
30354 glibcxx_cv_func__qfpclass_use=yes
30355 else
30356 glibcxx_cv_func__qfpclass_use=no
30358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30359 ac_ext=c
30360 ac_cpp='$CPP $CPPFLAGS'
30361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30370 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30372 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30373 for ac_func in _qfpclass
30374 do :
30375 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30376 if test "x$ac_cv_func__qfpclass" = xyes; then :
30377 cat >>confdefs.h <<_ACEOF
30378 #define HAVE__QFPCLASS 1
30379 _ACEOF
30382 done
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30392 $as_echo_n "checking for hypot declaration... " >&6; }
30393 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30394 if ${glibcxx_cv_func_hypot_use+:} false; then :
30395 $as_echo_n "(cached) " >&6
30396 else
30399 ac_ext=cpp
30400 ac_cpp='$CXXCPP $CPPFLAGS'
30401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30406 /* end confdefs.h. */
30407 #include <math.h>
30409 main ()
30411 hypot(0, 0);
30413 return 0;
30415 _ACEOF
30416 if ac_fn_cxx_try_compile "$LINENO"; then :
30417 glibcxx_cv_func_hypot_use=yes
30418 else
30419 glibcxx_cv_func_hypot_use=no
30421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30422 ac_ext=c
30423 ac_cpp='$CPP $CPPFLAGS'
30424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30433 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30435 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30436 for ac_func in hypot
30437 do :
30438 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30439 if test "x$ac_cv_func_hypot" = xyes; then :
30440 cat >>confdefs.h <<_ACEOF
30441 #define HAVE_HYPOT 1
30442 _ACEOF
30445 done
30447 else
30449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30450 $as_echo_n "checking for _hypot declaration... " >&6; }
30451 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30452 if ${glibcxx_cv_func__hypot_use+:} false; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30467 main ()
30469 _hypot(0, 0);
30471 return 0;
30473 _ACEOF
30474 if ac_fn_cxx_try_compile "$LINENO"; then :
30475 glibcxx_cv_func__hypot_use=yes
30476 else
30477 glibcxx_cv_func__hypot_use=no
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30491 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30493 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30494 for ac_func in _hypot
30495 do :
30496 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30497 if test "x$ac_cv_func__hypot" = xyes; then :
30498 cat >>confdefs.h <<_ACEOF
30499 #define HAVE__HYPOT 1
30500 _ACEOF
30503 done
30512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30513 $as_echo_n "checking for float trig functions... " >&6; }
30514 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30515 $as_echo_n "(cached) " >&6
30516 else
30519 ac_ext=cpp
30520 ac_cpp='$CXXCPP $CPPFLAGS'
30521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526 /* end confdefs.h. */
30527 #include <math.h>
30529 main ()
30531 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30533 return 0;
30535 _ACEOF
30536 if ac_fn_cxx_try_compile "$LINENO"; then :
30537 glibcxx_cv_func_float_trig_use=yes
30538 else
30539 glibcxx_cv_func_float_trig_use=no
30541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30542 ac_ext=c
30543 ac_cpp='$CPP $CPPFLAGS'
30544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30551 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30552 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30553 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30554 do :
30555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30557 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30558 cat >>confdefs.h <<_ACEOF
30559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30560 _ACEOF
30563 done
30565 else
30566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30567 $as_echo_n "checking for _float trig functions... " >&6; }
30568 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30569 $as_echo_n "(cached) " >&6
30570 else
30573 ac_ext=cpp
30574 ac_cpp='$CXXCPP $CPPFLAGS'
30575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30580 /* end confdefs.h. */
30581 #include <math.h>
30583 main ()
30585 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30587 return 0;
30589 _ACEOF
30590 if ac_fn_cxx_try_compile "$LINENO"; then :
30591 glibcxx_cv_func__float_trig_use=yes
30592 else
30593 glibcxx_cv_func__float_trig_use=no
30595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30596 ac_ext=c
30597 ac_cpp='$CPP $CPPFLAGS'
30598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30605 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30606 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30607 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30608 do :
30609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30612 cat >>confdefs.h <<_ACEOF
30613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30614 _ACEOF
30617 done
30626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30627 $as_echo_n "checking for float round functions... " >&6; }
30628 if ${glibcxx_cv_func_float_round_use+:} false; then :
30629 $as_echo_n "(cached) " >&6
30630 else
30633 ac_ext=cpp
30634 ac_cpp='$CXXCPP $CPPFLAGS'
30635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30640 /* end confdefs.h. */
30641 #include <math.h>
30643 main ()
30645 ceilf (0); floorf (0);
30647 return 0;
30649 _ACEOF
30650 if ac_fn_cxx_try_compile "$LINENO"; then :
30651 glibcxx_cv_func_float_round_use=yes
30652 else
30653 glibcxx_cv_func_float_round_use=no
30655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30656 ac_ext=c
30657 ac_cpp='$CPP $CPPFLAGS'
30658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30665 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30666 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30667 for ac_func in ceilf floorf
30668 do :
30669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30672 cat >>confdefs.h <<_ACEOF
30673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30674 _ACEOF
30677 done
30679 else
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30681 $as_echo_n "checking for _float round functions... " >&6; }
30682 if ${glibcxx_cv_func__float_round_use+:} false; then :
30683 $as_echo_n "(cached) " >&6
30684 else
30687 ac_ext=cpp
30688 ac_cpp='$CXXCPP $CPPFLAGS'
30689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30694 /* end confdefs.h. */
30695 #include <math.h>
30697 main ()
30699 _ceilf (0); _floorf (0);
30701 return 0;
30703 _ACEOF
30704 if ac_fn_cxx_try_compile "$LINENO"; then :
30705 glibcxx_cv_func__float_round_use=yes
30706 else
30707 glibcxx_cv_func__float_round_use=no
30709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30710 ac_ext=c
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30719 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30720 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30721 for ac_func in _ceilf _floorf
30722 do :
30723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30725 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30726 cat >>confdefs.h <<_ACEOF
30727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30728 _ACEOF
30731 done
30741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30742 $as_echo_n "checking for expf declaration... " >&6; }
30743 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30744 if ${glibcxx_cv_func_expf_use+:} false; then :
30745 $as_echo_n "(cached) " >&6
30746 else
30749 ac_ext=cpp
30750 ac_cpp='$CXXCPP $CPPFLAGS'
30751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30756 /* end confdefs.h. */
30757 #include <math.h>
30758 #ifdef HAVE_IEEEFP_H
30759 #include <ieeefp.h>
30760 #endif
30763 main ()
30765 expf(0);
30767 return 0;
30769 _ACEOF
30770 if ac_fn_cxx_try_compile "$LINENO"; then :
30771 glibcxx_cv_func_expf_use=yes
30772 else
30773 glibcxx_cv_func_expf_use=no
30775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30776 ac_ext=c
30777 ac_cpp='$CPP $CPPFLAGS'
30778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30787 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30789 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30790 for ac_func in expf
30791 do :
30792 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30793 if test "x$ac_cv_func_expf" = xyes; then :
30794 cat >>confdefs.h <<_ACEOF
30795 #define HAVE_EXPF 1
30796 _ACEOF
30799 done
30801 else
30803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30804 $as_echo_n "checking for _expf declaration... " >&6; }
30805 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30806 if ${glibcxx_cv_func__expf_use+:} false; then :
30807 $as_echo_n "(cached) " >&6
30808 else
30811 ac_ext=cpp
30812 ac_cpp='$CXXCPP $CPPFLAGS'
30813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30818 /* end confdefs.h. */
30819 #include <math.h>
30820 #ifdef HAVE_IEEEFP_H
30821 #include <ieeefp.h>
30822 #endif
30825 main ()
30827 _expf(0);
30829 return 0;
30831 _ACEOF
30832 if ac_fn_cxx_try_compile "$LINENO"; then :
30833 glibcxx_cv_func__expf_use=yes
30834 else
30835 glibcxx_cv_func__expf_use=no
30837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30838 ac_ext=c
30839 ac_cpp='$CPP $CPPFLAGS'
30840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30849 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30851 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30852 for ac_func in _expf
30853 do :
30854 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30855 if test "x$ac_cv_func__expf" = xyes; then :
30856 cat >>confdefs.h <<_ACEOF
30857 #define HAVE__EXPF 1
30858 _ACEOF
30861 done
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30871 $as_echo_n "checking for isnanf declaration... " >&6; }
30872 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30873 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30874 $as_echo_n "(cached) " >&6
30875 else
30878 ac_ext=cpp
30879 ac_cpp='$CXXCPP $CPPFLAGS'
30880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30885 /* end confdefs.h. */
30886 #include <math.h>
30887 #ifdef HAVE_IEEEFP_H
30888 #include <ieeefp.h>
30889 #endif
30892 main ()
30894 isnanf(0);
30896 return 0;
30898 _ACEOF
30899 if ac_fn_cxx_try_compile "$LINENO"; then :
30900 glibcxx_cv_func_isnanf_use=yes
30901 else
30902 glibcxx_cv_func_isnanf_use=no
30904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30905 ac_ext=c
30906 ac_cpp='$CPP $CPPFLAGS'
30907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30916 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30918 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30919 for ac_func in isnanf
30920 do :
30921 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30922 if test "x$ac_cv_func_isnanf" = xyes; then :
30923 cat >>confdefs.h <<_ACEOF
30924 #define HAVE_ISNANF 1
30925 _ACEOF
30928 done
30930 else
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30933 $as_echo_n "checking for _isnanf declaration... " >&6; }
30934 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30935 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30936 $as_echo_n "(cached) " >&6
30937 else
30940 ac_ext=cpp
30941 ac_cpp='$CXXCPP $CPPFLAGS'
30942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30947 /* end confdefs.h. */
30948 #include <math.h>
30949 #ifdef HAVE_IEEEFP_H
30950 #include <ieeefp.h>
30951 #endif
30954 main ()
30956 _isnanf(0);
30958 return 0;
30960 _ACEOF
30961 if ac_fn_cxx_try_compile "$LINENO"; then :
30962 glibcxx_cv_func__isnanf_use=yes
30963 else
30964 glibcxx_cv_func__isnanf_use=no
30966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30967 ac_ext=c
30968 ac_cpp='$CPP $CPPFLAGS'
30969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30978 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30980 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30981 for ac_func in _isnanf
30982 do :
30983 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30984 if test "x$ac_cv_func__isnanf" = xyes; then :
30985 cat >>confdefs.h <<_ACEOF
30986 #define HAVE__ISNANF 1
30987 _ACEOF
30990 done
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31000 $as_echo_n "checking for isinff declaration... " >&6; }
31001 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31002 if ${glibcxx_cv_func_isinff_use+:} false; then :
31003 $as_echo_n "(cached) " >&6
31004 else
31007 ac_ext=cpp
31008 ac_cpp='$CXXCPP $CPPFLAGS'
31009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31014 /* end confdefs.h. */
31015 #include <math.h>
31016 #ifdef HAVE_IEEEFP_H
31017 #include <ieeefp.h>
31018 #endif
31021 main ()
31023 isinff(0);
31025 return 0;
31027 _ACEOF
31028 if ac_fn_cxx_try_compile "$LINENO"; then :
31029 glibcxx_cv_func_isinff_use=yes
31030 else
31031 glibcxx_cv_func_isinff_use=no
31033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31034 ac_ext=c
31035 ac_cpp='$CPP $CPPFLAGS'
31036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31045 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31047 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31048 for ac_func in isinff
31049 do :
31050 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31051 if test "x$ac_cv_func_isinff" = xyes; then :
31052 cat >>confdefs.h <<_ACEOF
31053 #define HAVE_ISINFF 1
31054 _ACEOF
31057 done
31059 else
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31062 $as_echo_n "checking for _isinff declaration... " >&6; }
31063 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31064 if ${glibcxx_cv_func__isinff_use+:} false; then :
31065 $as_echo_n "(cached) " >&6
31066 else
31069 ac_ext=cpp
31070 ac_cpp='$CXXCPP $CPPFLAGS'
31071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31076 /* end confdefs.h. */
31077 #include <math.h>
31078 #ifdef HAVE_IEEEFP_H
31079 #include <ieeefp.h>
31080 #endif
31083 main ()
31085 _isinff(0);
31087 return 0;
31089 _ACEOF
31090 if ac_fn_cxx_try_compile "$LINENO"; then :
31091 glibcxx_cv_func__isinff_use=yes
31092 else
31093 glibcxx_cv_func__isinff_use=no
31095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31096 ac_ext=c
31097 ac_cpp='$CPP $CPPFLAGS'
31098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31107 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31109 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31110 for ac_func in _isinff
31111 do :
31112 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31113 if test "x$ac_cv_func__isinff" = xyes; then :
31114 cat >>confdefs.h <<_ACEOF
31115 #define HAVE__ISINFF 1
31116 _ACEOF
31119 done
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31129 $as_echo_n "checking for atan2f declaration... " >&6; }
31130 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31131 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31132 $as_echo_n "(cached) " >&6
31133 else
31136 ac_ext=cpp
31137 ac_cpp='$CXXCPP $CPPFLAGS'
31138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31143 /* end confdefs.h. */
31144 #include <math.h>
31146 main ()
31148 atan2f(0, 0);
31150 return 0;
31152 _ACEOF
31153 if ac_fn_cxx_try_compile "$LINENO"; then :
31154 glibcxx_cv_func_atan2f_use=yes
31155 else
31156 glibcxx_cv_func_atan2f_use=no
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159 ac_ext=c
31160 ac_cpp='$CPP $CPPFLAGS'
31161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31170 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31172 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31173 for ac_func in atan2f
31174 do :
31175 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31176 if test "x$ac_cv_func_atan2f" = xyes; then :
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE_ATAN2F 1
31179 _ACEOF
31182 done
31184 else
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31187 $as_echo_n "checking for _atan2f declaration... " >&6; }
31188 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31189 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31190 $as_echo_n "(cached) " >&6
31191 else
31194 ac_ext=cpp
31195 ac_cpp='$CXXCPP $CPPFLAGS'
31196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31201 /* end confdefs.h. */
31202 #include <math.h>
31204 main ()
31206 _atan2f(0, 0);
31208 return 0;
31210 _ACEOF
31211 if ac_fn_cxx_try_compile "$LINENO"; then :
31212 glibcxx_cv_func__atan2f_use=yes
31213 else
31214 glibcxx_cv_func__atan2f_use=no
31216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31217 ac_ext=c
31218 ac_cpp='$CPP $CPPFLAGS'
31219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31228 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31230 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31231 for ac_func in _atan2f
31232 do :
31233 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31234 if test "x$ac_cv_func__atan2f" = xyes; then :
31235 cat >>confdefs.h <<_ACEOF
31236 #define HAVE__ATAN2F 1
31237 _ACEOF
31240 done
31249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31250 $as_echo_n "checking for fabsf declaration... " >&6; }
31251 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31252 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31253 $as_echo_n "(cached) " >&6
31254 else
31257 ac_ext=cpp
31258 ac_cpp='$CXXCPP $CPPFLAGS'
31259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31264 /* end confdefs.h. */
31265 #include <math.h>
31266 #ifdef HAVE_IEEEFP_H
31267 #include <ieeefp.h>
31268 #endif
31271 main ()
31273 fabsf(0);
31275 return 0;
31277 _ACEOF
31278 if ac_fn_cxx_try_compile "$LINENO"; then :
31279 glibcxx_cv_func_fabsf_use=yes
31280 else
31281 glibcxx_cv_func_fabsf_use=no
31283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31284 ac_ext=c
31285 ac_cpp='$CPP $CPPFLAGS'
31286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31295 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31297 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31298 for ac_func in fabsf
31299 do :
31300 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31301 if test "x$ac_cv_func_fabsf" = xyes; then :
31302 cat >>confdefs.h <<_ACEOF
31303 #define HAVE_FABSF 1
31304 _ACEOF
31307 done
31309 else
31311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31312 $as_echo_n "checking for _fabsf declaration... " >&6; }
31313 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31314 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31315 $as_echo_n "(cached) " >&6
31316 else
31319 ac_ext=cpp
31320 ac_cpp='$CXXCPP $CPPFLAGS'
31321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31326 /* end confdefs.h. */
31327 #include <math.h>
31328 #ifdef HAVE_IEEEFP_H
31329 #include <ieeefp.h>
31330 #endif
31333 main ()
31335 _fabsf(0);
31337 return 0;
31339 _ACEOF
31340 if ac_fn_cxx_try_compile "$LINENO"; then :
31341 glibcxx_cv_func__fabsf_use=yes
31342 else
31343 glibcxx_cv_func__fabsf_use=no
31345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31346 ac_ext=c
31347 ac_cpp='$CPP $CPPFLAGS'
31348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31357 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31359 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31360 for ac_func in _fabsf
31361 do :
31362 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31363 if test "x$ac_cv_func__fabsf" = xyes; then :
31364 cat >>confdefs.h <<_ACEOF
31365 #define HAVE__FABSF 1
31366 _ACEOF
31369 done
31378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31379 $as_echo_n "checking for fmodf declaration... " >&6; }
31380 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31381 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31382 $as_echo_n "(cached) " >&6
31383 else
31386 ac_ext=cpp
31387 ac_cpp='$CXXCPP $CPPFLAGS'
31388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31393 /* end confdefs.h. */
31394 #include <math.h>
31396 main ()
31398 fmodf(0, 0);
31400 return 0;
31402 _ACEOF
31403 if ac_fn_cxx_try_compile "$LINENO"; then :
31404 glibcxx_cv_func_fmodf_use=yes
31405 else
31406 glibcxx_cv_func_fmodf_use=no
31408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31409 ac_ext=c
31410 ac_cpp='$CPP $CPPFLAGS'
31411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31420 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31422 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31423 for ac_func in fmodf
31424 do :
31425 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31426 if test "x$ac_cv_func_fmodf" = xyes; then :
31427 cat >>confdefs.h <<_ACEOF
31428 #define HAVE_FMODF 1
31429 _ACEOF
31432 done
31434 else
31436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31437 $as_echo_n "checking for _fmodf declaration... " >&6; }
31438 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31439 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31440 $as_echo_n "(cached) " >&6
31441 else
31444 ac_ext=cpp
31445 ac_cpp='$CXXCPP $CPPFLAGS'
31446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31451 /* end confdefs.h. */
31452 #include <math.h>
31454 main ()
31456 _fmodf(0, 0);
31458 return 0;
31460 _ACEOF
31461 if ac_fn_cxx_try_compile "$LINENO"; then :
31462 glibcxx_cv_func__fmodf_use=yes
31463 else
31464 glibcxx_cv_func__fmodf_use=no
31466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31467 ac_ext=c
31468 ac_cpp='$CPP $CPPFLAGS'
31469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31478 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31480 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31481 for ac_func in _fmodf
31482 do :
31483 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31484 if test "x$ac_cv_func__fmodf" = xyes; then :
31485 cat >>confdefs.h <<_ACEOF
31486 #define HAVE__FMODF 1
31487 _ACEOF
31490 done
31499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31500 $as_echo_n "checking for frexpf declaration... " >&6; }
31501 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31502 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31517 main ()
31519 frexpf(0, 0);
31521 return 0;
31523 _ACEOF
31524 if ac_fn_cxx_try_compile "$LINENO"; then :
31525 glibcxx_cv_func_frexpf_use=yes
31526 else
31527 glibcxx_cv_func_frexpf_use=no
31529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530 ac_ext=c
31531 ac_cpp='$CPP $CPPFLAGS'
31532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31541 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31543 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31544 for ac_func in frexpf
31545 do :
31546 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31547 if test "x$ac_cv_func_frexpf" = xyes; then :
31548 cat >>confdefs.h <<_ACEOF
31549 #define HAVE_FREXPF 1
31550 _ACEOF
31553 done
31555 else
31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31558 $as_echo_n "checking for _frexpf declaration... " >&6; }
31559 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31560 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31561 $as_echo_n "(cached) " >&6
31562 else
31565 ac_ext=cpp
31566 ac_cpp='$CXXCPP $CPPFLAGS'
31567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31572 /* end confdefs.h. */
31573 #include <math.h>
31575 main ()
31577 _frexpf(0, 0);
31579 return 0;
31581 _ACEOF
31582 if ac_fn_cxx_try_compile "$LINENO"; then :
31583 glibcxx_cv_func__frexpf_use=yes
31584 else
31585 glibcxx_cv_func__frexpf_use=no
31587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31588 ac_ext=c
31589 ac_cpp='$CPP $CPPFLAGS'
31590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31599 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31601 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31602 for ac_func in _frexpf
31603 do :
31604 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31605 if test "x$ac_cv_func__frexpf" = xyes; then :
31606 cat >>confdefs.h <<_ACEOF
31607 #define HAVE__FREXPF 1
31608 _ACEOF
31611 done
31620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31621 $as_echo_n "checking for hypotf declaration... " >&6; }
31622 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31623 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31624 $as_echo_n "(cached) " >&6
31625 else
31628 ac_ext=cpp
31629 ac_cpp='$CXXCPP $CPPFLAGS'
31630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31635 /* end confdefs.h. */
31636 #include <math.h>
31638 main ()
31640 hypotf(0, 0);
31642 return 0;
31644 _ACEOF
31645 if ac_fn_cxx_try_compile "$LINENO"; then :
31646 glibcxx_cv_func_hypotf_use=yes
31647 else
31648 glibcxx_cv_func_hypotf_use=no
31650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31651 ac_ext=c
31652 ac_cpp='$CPP $CPPFLAGS'
31653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31662 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31664 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31665 for ac_func in hypotf
31666 do :
31667 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31668 if test "x$ac_cv_func_hypotf" = xyes; then :
31669 cat >>confdefs.h <<_ACEOF
31670 #define HAVE_HYPOTF 1
31671 _ACEOF
31674 done
31676 else
31678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31679 $as_echo_n "checking for _hypotf declaration... " >&6; }
31680 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31681 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31682 $as_echo_n "(cached) " >&6
31683 else
31686 ac_ext=cpp
31687 ac_cpp='$CXXCPP $CPPFLAGS'
31688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31693 /* end confdefs.h. */
31694 #include <math.h>
31696 main ()
31698 _hypotf(0, 0);
31700 return 0;
31702 _ACEOF
31703 if ac_fn_cxx_try_compile "$LINENO"; then :
31704 glibcxx_cv_func__hypotf_use=yes
31705 else
31706 glibcxx_cv_func__hypotf_use=no
31708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31709 ac_ext=c
31710 ac_cpp='$CPP $CPPFLAGS'
31711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31720 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31722 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31723 for ac_func in _hypotf
31724 do :
31725 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31726 if test "x$ac_cv_func__hypotf" = xyes; then :
31727 cat >>confdefs.h <<_ACEOF
31728 #define HAVE__HYPOTF 1
31729 _ACEOF
31732 done
31741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31742 $as_echo_n "checking for ldexpf declaration... " >&6; }
31743 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31744 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31745 $as_echo_n "(cached) " >&6
31746 else
31749 ac_ext=cpp
31750 ac_cpp='$CXXCPP $CPPFLAGS'
31751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31756 /* end confdefs.h. */
31757 #include <math.h>
31759 main ()
31761 ldexpf(0, 0);
31763 return 0;
31765 _ACEOF
31766 if ac_fn_cxx_try_compile "$LINENO"; then :
31767 glibcxx_cv_func_ldexpf_use=yes
31768 else
31769 glibcxx_cv_func_ldexpf_use=no
31771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31772 ac_ext=c
31773 ac_cpp='$CPP $CPPFLAGS'
31774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31783 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31785 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31786 for ac_func in ldexpf
31787 do :
31788 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31789 if test "x$ac_cv_func_ldexpf" = xyes; then :
31790 cat >>confdefs.h <<_ACEOF
31791 #define HAVE_LDEXPF 1
31792 _ACEOF
31795 done
31797 else
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31800 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31801 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31802 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31803 $as_echo_n "(cached) " >&6
31804 else
31807 ac_ext=cpp
31808 ac_cpp='$CXXCPP $CPPFLAGS'
31809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31814 /* end confdefs.h. */
31815 #include <math.h>
31817 main ()
31819 _ldexpf(0, 0);
31821 return 0;
31823 _ACEOF
31824 if ac_fn_cxx_try_compile "$LINENO"; then :
31825 glibcxx_cv_func__ldexpf_use=yes
31826 else
31827 glibcxx_cv_func__ldexpf_use=no
31829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31830 ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31841 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31843 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31844 for ac_func in _ldexpf
31845 do :
31846 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31847 if test "x$ac_cv_func__ldexpf" = xyes; then :
31848 cat >>confdefs.h <<_ACEOF
31849 #define HAVE__LDEXPF 1
31850 _ACEOF
31853 done
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31863 $as_echo_n "checking for logf declaration... " >&6; }
31864 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31865 if ${glibcxx_cv_func_logf_use+:} false; then :
31866 $as_echo_n "(cached) " >&6
31867 else
31870 ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h. */
31878 #include <math.h>
31879 #ifdef HAVE_IEEEFP_H
31880 #include <ieeefp.h>
31881 #endif
31884 main ()
31886 logf(0);
31888 return 0;
31890 _ACEOF
31891 if ac_fn_cxx_try_compile "$LINENO"; then :
31892 glibcxx_cv_func_logf_use=yes
31893 else
31894 glibcxx_cv_func_logf_use=no
31896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31897 ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31908 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31910 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31911 for ac_func in logf
31912 do :
31913 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31914 if test "x$ac_cv_func_logf" = xyes; then :
31915 cat >>confdefs.h <<_ACEOF
31916 #define HAVE_LOGF 1
31917 _ACEOF
31920 done
31922 else
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31925 $as_echo_n "checking for _logf declaration... " >&6; }
31926 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31927 if ${glibcxx_cv_func__logf_use+:} false; then :
31928 $as_echo_n "(cached) " >&6
31929 else
31932 ac_ext=cpp
31933 ac_cpp='$CXXCPP $CPPFLAGS'
31934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31939 /* end confdefs.h. */
31940 #include <math.h>
31941 #ifdef HAVE_IEEEFP_H
31942 #include <ieeefp.h>
31943 #endif
31946 main ()
31948 _logf(0);
31950 return 0;
31952 _ACEOF
31953 if ac_fn_cxx_try_compile "$LINENO"; then :
31954 glibcxx_cv_func__logf_use=yes
31955 else
31956 glibcxx_cv_func__logf_use=no
31958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31959 ac_ext=c
31960 ac_cpp='$CPP $CPPFLAGS'
31961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31970 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31972 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31973 for ac_func in _logf
31974 do :
31975 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31976 if test "x$ac_cv_func__logf" = xyes; then :
31977 cat >>confdefs.h <<_ACEOF
31978 #define HAVE__LOGF 1
31979 _ACEOF
31982 done
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31992 $as_echo_n "checking for log10f declaration... " >&6; }
31993 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31994 if ${glibcxx_cv_func_log10f_use+:} false; then :
31995 $as_echo_n "(cached) " >&6
31996 else
31999 ac_ext=cpp
32000 ac_cpp='$CXXCPP $CPPFLAGS'
32001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32006 /* end confdefs.h. */
32007 #include <math.h>
32008 #ifdef HAVE_IEEEFP_H
32009 #include <ieeefp.h>
32010 #endif
32013 main ()
32015 log10f(0);
32017 return 0;
32019 _ACEOF
32020 if ac_fn_cxx_try_compile "$LINENO"; then :
32021 glibcxx_cv_func_log10f_use=yes
32022 else
32023 glibcxx_cv_func_log10f_use=no
32025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32026 ac_ext=c
32027 ac_cpp='$CPP $CPPFLAGS'
32028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32037 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32039 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32040 for ac_func in log10f
32041 do :
32042 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32043 if test "x$ac_cv_func_log10f" = xyes; then :
32044 cat >>confdefs.h <<_ACEOF
32045 #define HAVE_LOG10F 1
32046 _ACEOF
32049 done
32051 else
32053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32054 $as_echo_n "checking for _log10f declaration... " >&6; }
32055 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32056 if ${glibcxx_cv_func__log10f_use+:} false; then :
32057 $as_echo_n "(cached) " >&6
32058 else
32061 ac_ext=cpp
32062 ac_cpp='$CXXCPP $CPPFLAGS'
32063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32068 /* end confdefs.h. */
32069 #include <math.h>
32070 #ifdef HAVE_IEEEFP_H
32071 #include <ieeefp.h>
32072 #endif
32075 main ()
32077 _log10f(0);
32079 return 0;
32081 _ACEOF
32082 if ac_fn_cxx_try_compile "$LINENO"; then :
32083 glibcxx_cv_func__log10f_use=yes
32084 else
32085 glibcxx_cv_func__log10f_use=no
32087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32088 ac_ext=c
32089 ac_cpp='$CPP $CPPFLAGS'
32090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32099 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32101 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32102 for ac_func in _log10f
32103 do :
32104 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32105 if test "x$ac_cv_func__log10f" = xyes; then :
32106 cat >>confdefs.h <<_ACEOF
32107 #define HAVE__LOG10F 1
32108 _ACEOF
32111 done
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32121 $as_echo_n "checking for modff declaration... " >&6; }
32122 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32123 if ${glibcxx_cv_func_modff_use+:} false; then :
32124 $as_echo_n "(cached) " >&6
32125 else
32128 ac_ext=cpp
32129 ac_cpp='$CXXCPP $CPPFLAGS'
32130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32135 /* end confdefs.h. */
32136 #include <math.h>
32138 main ()
32140 modff(0, 0);
32142 return 0;
32144 _ACEOF
32145 if ac_fn_cxx_try_compile "$LINENO"; then :
32146 glibcxx_cv_func_modff_use=yes
32147 else
32148 glibcxx_cv_func_modff_use=no
32150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32151 ac_ext=c
32152 ac_cpp='$CPP $CPPFLAGS'
32153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32162 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32164 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32165 for ac_func in modff
32166 do :
32167 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32168 if test "x$ac_cv_func_modff" = xyes; then :
32169 cat >>confdefs.h <<_ACEOF
32170 #define HAVE_MODFF 1
32171 _ACEOF
32174 done
32176 else
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32179 $as_echo_n "checking for _modff declaration... " >&6; }
32180 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32181 if ${glibcxx_cv_func__modff_use+:} false; then :
32182 $as_echo_n "(cached) " >&6
32183 else
32186 ac_ext=cpp
32187 ac_cpp='$CXXCPP $CPPFLAGS'
32188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32193 /* end confdefs.h. */
32194 #include <math.h>
32196 main ()
32198 _modff(0, 0);
32200 return 0;
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204 glibcxx_cv_func__modff_use=yes
32205 else
32206 glibcxx_cv_func__modff_use=no
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32220 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32222 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32223 for ac_func in _modff
32224 do :
32225 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32226 if test "x$ac_cv_func__modff" = xyes; then :
32227 cat >>confdefs.h <<_ACEOF
32228 #define HAVE__MODFF 1
32229 _ACEOF
32232 done
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32242 $as_echo_n "checking for modf declaration... " >&6; }
32243 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32244 if ${glibcxx_cv_func_modf_use+:} false; then :
32245 $as_echo_n "(cached) " >&6
32246 else
32249 ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h. */
32257 #include <math.h>
32259 main ()
32261 modf(0, 0);
32263 return 0;
32265 _ACEOF
32266 if ac_fn_cxx_try_compile "$LINENO"; then :
32267 glibcxx_cv_func_modf_use=yes
32268 else
32269 glibcxx_cv_func_modf_use=no
32271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32272 ac_ext=c
32273 ac_cpp='$CPP $CPPFLAGS'
32274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32283 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32285 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32286 for ac_func in modf
32287 do :
32288 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32289 if test "x$ac_cv_func_modf" = xyes; then :
32290 cat >>confdefs.h <<_ACEOF
32291 #define HAVE_MODF 1
32292 _ACEOF
32295 done
32297 else
32299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32300 $as_echo_n "checking for _modf declaration... " >&6; }
32301 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32302 if ${glibcxx_cv_func__modf_use+:} false; then :
32303 $as_echo_n "(cached) " >&6
32304 else
32307 ac_ext=cpp
32308 ac_cpp='$CXXCPP $CPPFLAGS'
32309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32314 /* end confdefs.h. */
32315 #include <math.h>
32317 main ()
32319 _modf(0, 0);
32321 return 0;
32323 _ACEOF
32324 if ac_fn_cxx_try_compile "$LINENO"; then :
32325 glibcxx_cv_func__modf_use=yes
32326 else
32327 glibcxx_cv_func__modf_use=no
32329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32330 ac_ext=c
32331 ac_cpp='$CPP $CPPFLAGS'
32332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32341 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32343 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32344 for ac_func in _modf
32345 do :
32346 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32347 if test "x$ac_cv_func__modf" = xyes; then :
32348 cat >>confdefs.h <<_ACEOF
32349 #define HAVE__MODF 1
32350 _ACEOF
32353 done
32362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32363 $as_echo_n "checking for powf declaration... " >&6; }
32364 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32365 if ${glibcxx_cv_func_powf_use+:} false; then :
32366 $as_echo_n "(cached) " >&6
32367 else
32370 ac_ext=cpp
32371 ac_cpp='$CXXCPP $CPPFLAGS'
32372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32377 /* end confdefs.h. */
32378 #include <math.h>
32380 main ()
32382 powf(0, 0);
32384 return 0;
32386 _ACEOF
32387 if ac_fn_cxx_try_compile "$LINENO"; then :
32388 glibcxx_cv_func_powf_use=yes
32389 else
32390 glibcxx_cv_func_powf_use=no
32392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32393 ac_ext=c
32394 ac_cpp='$CPP $CPPFLAGS'
32395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32404 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32406 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32407 for ac_func in powf
32408 do :
32409 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32410 if test "x$ac_cv_func_powf" = xyes; then :
32411 cat >>confdefs.h <<_ACEOF
32412 #define HAVE_POWF 1
32413 _ACEOF
32416 done
32418 else
32420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32421 $as_echo_n "checking for _powf declaration... " >&6; }
32422 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32423 if ${glibcxx_cv_func__powf_use+:} false; then :
32424 $as_echo_n "(cached) " >&6
32425 else
32428 ac_ext=cpp
32429 ac_cpp='$CXXCPP $CPPFLAGS'
32430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32435 /* end confdefs.h. */
32436 #include <math.h>
32438 main ()
32440 _powf(0, 0);
32442 return 0;
32444 _ACEOF
32445 if ac_fn_cxx_try_compile "$LINENO"; then :
32446 glibcxx_cv_func__powf_use=yes
32447 else
32448 glibcxx_cv_func__powf_use=no
32450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32451 ac_ext=c
32452 ac_cpp='$CPP $CPPFLAGS'
32453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32462 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32464 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32465 for ac_func in _powf
32466 do :
32467 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32468 if test "x$ac_cv_func__powf" = xyes; then :
32469 cat >>confdefs.h <<_ACEOF
32470 #define HAVE__POWF 1
32471 _ACEOF
32474 done
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32484 $as_echo_n "checking for sqrtf declaration... " >&6; }
32485 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32486 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32487 $as_echo_n "(cached) " >&6
32488 else
32491 ac_ext=cpp
32492 ac_cpp='$CXXCPP $CPPFLAGS'
32493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32498 /* end confdefs.h. */
32499 #include <math.h>
32500 #ifdef HAVE_IEEEFP_H
32501 #include <ieeefp.h>
32502 #endif
32505 main ()
32507 sqrtf(0);
32509 return 0;
32511 _ACEOF
32512 if ac_fn_cxx_try_compile "$LINENO"; then :
32513 glibcxx_cv_func_sqrtf_use=yes
32514 else
32515 glibcxx_cv_func_sqrtf_use=no
32517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32518 ac_ext=c
32519 ac_cpp='$CPP $CPPFLAGS'
32520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32529 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32531 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32532 for ac_func in sqrtf
32533 do :
32534 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32535 if test "x$ac_cv_func_sqrtf" = xyes; then :
32536 cat >>confdefs.h <<_ACEOF
32537 #define HAVE_SQRTF 1
32538 _ACEOF
32541 done
32543 else
32545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32546 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32547 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32548 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32549 $as_echo_n "(cached) " >&6
32550 else
32553 ac_ext=cpp
32554 ac_cpp='$CXXCPP $CPPFLAGS'
32555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32560 /* end confdefs.h. */
32561 #include <math.h>
32562 #ifdef HAVE_IEEEFP_H
32563 #include <ieeefp.h>
32564 #endif
32567 main ()
32569 _sqrtf(0);
32571 return 0;
32573 _ACEOF
32574 if ac_fn_cxx_try_compile "$LINENO"; then :
32575 glibcxx_cv_func__sqrtf_use=yes
32576 else
32577 glibcxx_cv_func__sqrtf_use=no
32579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32580 ac_ext=c
32581 ac_cpp='$CPP $CPPFLAGS'
32582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32591 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32593 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32594 for ac_func in _sqrtf
32595 do :
32596 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32597 if test "x$ac_cv_func__sqrtf" = xyes; then :
32598 cat >>confdefs.h <<_ACEOF
32599 #define HAVE__SQRTF 1
32600 _ACEOF
32603 done
32612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32613 $as_echo_n "checking for sincosf declaration... " >&6; }
32614 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32615 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32616 $as_echo_n "(cached) " >&6
32617 else
32620 ac_ext=cpp
32621 ac_cpp='$CXXCPP $CPPFLAGS'
32622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32627 /* end confdefs.h. */
32628 #include <math.h>
32630 main ()
32632 sincosf(0, 0, 0);
32634 return 0;
32636 _ACEOF
32637 if ac_fn_cxx_try_compile "$LINENO"; then :
32638 glibcxx_cv_func_sincosf_use=yes
32639 else
32640 glibcxx_cv_func_sincosf_use=no
32642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32643 ac_ext=c
32644 ac_cpp='$CPP $CPPFLAGS'
32645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32654 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32656 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32657 for ac_func in sincosf
32658 do :
32659 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32660 if test "x$ac_cv_func_sincosf" = xyes; then :
32661 cat >>confdefs.h <<_ACEOF
32662 #define HAVE_SINCOSF 1
32663 _ACEOF
32666 done
32668 else
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32671 $as_echo_n "checking for _sincosf declaration... " >&6; }
32672 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32673 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32674 $as_echo_n "(cached) " >&6
32675 else
32678 ac_ext=cpp
32679 ac_cpp='$CXXCPP $CPPFLAGS'
32680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32685 /* end confdefs.h. */
32686 #include <math.h>
32688 main ()
32690 _sincosf(0, 0, 0);
32692 return 0;
32694 _ACEOF
32695 if ac_fn_cxx_try_compile "$LINENO"; then :
32696 glibcxx_cv_func__sincosf_use=yes
32697 else
32698 glibcxx_cv_func__sincosf_use=no
32700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32701 ac_ext=c
32702 ac_cpp='$CPP $CPPFLAGS'
32703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32712 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32714 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32715 for ac_func in _sincosf
32716 do :
32717 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32718 if test "x$ac_cv_func__sincosf" = xyes; then :
32719 cat >>confdefs.h <<_ACEOF
32720 #define HAVE__SINCOSF 1
32721 _ACEOF
32724 done
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32734 $as_echo_n "checking for finitef declaration... " >&6; }
32735 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32736 if ${glibcxx_cv_func_finitef_use+:} false; then :
32737 $as_echo_n "(cached) " >&6
32738 else
32741 ac_ext=cpp
32742 ac_cpp='$CXXCPP $CPPFLAGS'
32743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32748 /* end confdefs.h. */
32749 #include <math.h>
32750 #ifdef HAVE_IEEEFP_H
32751 #include <ieeefp.h>
32752 #endif
32755 main ()
32757 finitef(0);
32759 return 0;
32761 _ACEOF
32762 if ac_fn_cxx_try_compile "$LINENO"; then :
32763 glibcxx_cv_func_finitef_use=yes
32764 else
32765 glibcxx_cv_func_finitef_use=no
32767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32768 ac_ext=c
32769 ac_cpp='$CPP $CPPFLAGS'
32770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32779 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32781 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32782 for ac_func in finitef
32783 do :
32784 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32785 if test "x$ac_cv_func_finitef" = xyes; then :
32786 cat >>confdefs.h <<_ACEOF
32787 #define HAVE_FINITEF 1
32788 _ACEOF
32791 done
32793 else
32795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32796 $as_echo_n "checking for _finitef declaration... " >&6; }
32797 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32798 if ${glibcxx_cv_func__finitef_use+:} false; then :
32799 $as_echo_n "(cached) " >&6
32800 else
32803 ac_ext=cpp
32804 ac_cpp='$CXXCPP $CPPFLAGS'
32805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32810 /* end confdefs.h. */
32811 #include <math.h>
32812 #ifdef HAVE_IEEEFP_H
32813 #include <ieeefp.h>
32814 #endif
32817 main ()
32819 _finitef(0);
32821 return 0;
32823 _ACEOF
32824 if ac_fn_cxx_try_compile "$LINENO"; then :
32825 glibcxx_cv_func__finitef_use=yes
32826 else
32827 glibcxx_cv_func__finitef_use=no
32829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32830 ac_ext=c
32831 ac_cpp='$CPP $CPPFLAGS'
32832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32841 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32843 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32844 for ac_func in _finitef
32845 do :
32846 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32847 if test "x$ac_cv_func__finitef" = xyes; then :
32848 cat >>confdefs.h <<_ACEOF
32849 #define HAVE__FINITEF 1
32850 _ACEOF
32853 done
32862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32863 $as_echo_n "checking for long double trig functions... " >&6; }
32864 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32865 $as_echo_n "(cached) " >&6
32866 else
32869 ac_ext=cpp
32870 ac_cpp='$CXXCPP $CPPFLAGS'
32871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32876 /* end confdefs.h. */
32877 #include <math.h>
32879 main ()
32881 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32883 return 0;
32885 _ACEOF
32886 if ac_fn_cxx_try_compile "$LINENO"; then :
32887 glibcxx_cv_func_long_double_trig_use=yes
32888 else
32889 glibcxx_cv_func_long_double_trig_use=no
32891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32892 ac_ext=c
32893 ac_cpp='$CPP $CPPFLAGS'
32894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32901 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32902 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32903 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32904 do :
32905 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32907 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32908 cat >>confdefs.h <<_ACEOF
32909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32910 _ACEOF
32913 done
32915 else
32916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32917 $as_echo_n "checking for _long double trig functions... " >&6; }
32918 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32919 $as_echo_n "(cached) " >&6
32920 else
32923 ac_ext=cpp
32924 ac_cpp='$CXXCPP $CPPFLAGS'
32925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32930 /* end confdefs.h. */
32931 #include <math.h>
32933 main ()
32935 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32937 return 0;
32939 _ACEOF
32940 if ac_fn_cxx_try_compile "$LINENO"; then :
32941 glibcxx_cv_func__long_double_trig_use=yes
32942 else
32943 glibcxx_cv_func__long_double_trig_use=no
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946 ac_ext=c
32947 ac_cpp='$CPP $CPPFLAGS'
32948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32955 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32956 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32957 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32958 do :
32959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32961 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32962 cat >>confdefs.h <<_ACEOF
32963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32964 _ACEOF
32967 done
32976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32977 $as_echo_n "checking for long double round functions... " >&6; }
32978 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32979 $as_echo_n "(cached) " >&6
32980 else
32983 ac_ext=cpp
32984 ac_cpp='$CXXCPP $CPPFLAGS'
32985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32990 /* end confdefs.h. */
32991 #include <math.h>
32993 main ()
32995 ceill (0); floorl (0);
32997 return 0;
32999 _ACEOF
33000 if ac_fn_cxx_try_compile "$LINENO"; then :
33001 glibcxx_cv_func_long_double_round_use=yes
33002 else
33003 glibcxx_cv_func_long_double_round_use=no
33005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 ac_ext=c
33007 ac_cpp='$CPP $CPPFLAGS'
33008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33015 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33016 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33017 for ac_func in ceill floorl
33018 do :
33019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33021 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33022 cat >>confdefs.h <<_ACEOF
33023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33024 _ACEOF
33027 done
33029 else
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33031 $as_echo_n "checking for _long double round functions... " >&6; }
33032 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33033 $as_echo_n "(cached) " >&6
33034 else
33037 ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33045 #include <math.h>
33047 main ()
33049 _ceill (0); _floorl (0);
33051 return 0;
33053 _ACEOF
33054 if ac_fn_cxx_try_compile "$LINENO"; then :
33055 glibcxx_cv_func__long_double_round_use=yes
33056 else
33057 glibcxx_cv_func__long_double_round_use=no
33059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33060 ac_ext=c
33061 ac_cpp='$CPP $CPPFLAGS'
33062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33069 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33070 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33071 for ac_func in _ceill _floorl
33072 do :
33073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33075 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33076 cat >>confdefs.h <<_ACEOF
33077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33078 _ACEOF
33081 done
33091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33092 $as_echo_n "checking for isnanl declaration... " >&6; }
33093 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33094 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33095 $as_echo_n "(cached) " >&6
33096 else
33099 ac_ext=cpp
33100 ac_cpp='$CXXCPP $CPPFLAGS'
33101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33106 /* end confdefs.h. */
33107 #include <math.h>
33108 #ifdef HAVE_IEEEFP_H
33109 #include <ieeefp.h>
33110 #endif
33113 main ()
33115 isnanl(0);
33117 return 0;
33119 _ACEOF
33120 if ac_fn_cxx_try_compile "$LINENO"; then :
33121 glibcxx_cv_func_isnanl_use=yes
33122 else
33123 glibcxx_cv_func_isnanl_use=no
33125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33126 ac_ext=c
33127 ac_cpp='$CPP $CPPFLAGS'
33128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33137 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33139 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33140 for ac_func in isnanl
33141 do :
33142 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33143 if test "x$ac_cv_func_isnanl" = xyes; then :
33144 cat >>confdefs.h <<_ACEOF
33145 #define HAVE_ISNANL 1
33146 _ACEOF
33149 done
33151 else
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33154 $as_echo_n "checking for _isnanl declaration... " >&6; }
33155 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33156 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33157 $as_echo_n "(cached) " >&6
33158 else
33161 ac_ext=cpp
33162 ac_cpp='$CXXCPP $CPPFLAGS'
33163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33168 /* end confdefs.h. */
33169 #include <math.h>
33170 #ifdef HAVE_IEEEFP_H
33171 #include <ieeefp.h>
33172 #endif
33175 main ()
33177 _isnanl(0);
33179 return 0;
33181 _ACEOF
33182 if ac_fn_cxx_try_compile "$LINENO"; then :
33183 glibcxx_cv_func__isnanl_use=yes
33184 else
33185 glibcxx_cv_func__isnanl_use=no
33187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33188 ac_ext=c
33189 ac_cpp='$CPP $CPPFLAGS'
33190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33199 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33201 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33202 for ac_func in _isnanl
33203 do :
33204 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33205 if test "x$ac_cv_func__isnanl" = xyes; then :
33206 cat >>confdefs.h <<_ACEOF
33207 #define HAVE__ISNANL 1
33208 _ACEOF
33211 done
33220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33221 $as_echo_n "checking for isinfl declaration... " >&6; }
33222 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33223 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33224 $as_echo_n "(cached) " >&6
33225 else
33228 ac_ext=cpp
33229 ac_cpp='$CXXCPP $CPPFLAGS'
33230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33235 /* end confdefs.h. */
33236 #include <math.h>
33237 #ifdef HAVE_IEEEFP_H
33238 #include <ieeefp.h>
33239 #endif
33242 main ()
33244 isinfl(0);
33246 return 0;
33248 _ACEOF
33249 if ac_fn_cxx_try_compile "$LINENO"; then :
33250 glibcxx_cv_func_isinfl_use=yes
33251 else
33252 glibcxx_cv_func_isinfl_use=no
33254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33255 ac_ext=c
33256 ac_cpp='$CPP $CPPFLAGS'
33257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33266 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33268 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33269 for ac_func in isinfl
33270 do :
33271 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33272 if test "x$ac_cv_func_isinfl" = xyes; then :
33273 cat >>confdefs.h <<_ACEOF
33274 #define HAVE_ISINFL 1
33275 _ACEOF
33278 done
33280 else
33282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33283 $as_echo_n "checking for _isinfl declaration... " >&6; }
33284 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33285 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33286 $as_echo_n "(cached) " >&6
33287 else
33290 ac_ext=cpp
33291 ac_cpp='$CXXCPP $CPPFLAGS'
33292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33297 /* end confdefs.h. */
33298 #include <math.h>
33299 #ifdef HAVE_IEEEFP_H
33300 #include <ieeefp.h>
33301 #endif
33304 main ()
33306 _isinfl(0);
33308 return 0;
33310 _ACEOF
33311 if ac_fn_cxx_try_compile "$LINENO"; then :
33312 glibcxx_cv_func__isinfl_use=yes
33313 else
33314 glibcxx_cv_func__isinfl_use=no
33316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33317 ac_ext=c
33318 ac_cpp='$CPP $CPPFLAGS'
33319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33328 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33330 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33331 for ac_func in _isinfl
33332 do :
33333 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33334 if test "x$ac_cv_func__isinfl" = xyes; then :
33335 cat >>confdefs.h <<_ACEOF
33336 #define HAVE__ISINFL 1
33337 _ACEOF
33340 done
33349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33350 $as_echo_n "checking for atan2l declaration... " >&6; }
33351 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33352 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33353 $as_echo_n "(cached) " >&6
33354 else
33357 ac_ext=cpp
33358 ac_cpp='$CXXCPP $CPPFLAGS'
33359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33364 /* end confdefs.h. */
33365 #include <math.h>
33367 main ()
33369 atan2l(0, 0);
33371 return 0;
33373 _ACEOF
33374 if ac_fn_cxx_try_compile "$LINENO"; then :
33375 glibcxx_cv_func_atan2l_use=yes
33376 else
33377 glibcxx_cv_func_atan2l_use=no
33379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33380 ac_ext=c
33381 ac_cpp='$CPP $CPPFLAGS'
33382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33391 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33393 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33394 for ac_func in atan2l
33395 do :
33396 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33397 if test "x$ac_cv_func_atan2l" = xyes; then :
33398 cat >>confdefs.h <<_ACEOF
33399 #define HAVE_ATAN2L 1
33400 _ACEOF
33403 done
33405 else
33407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33408 $as_echo_n "checking for _atan2l declaration... " >&6; }
33409 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33410 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33411 $as_echo_n "(cached) " >&6
33412 else
33415 ac_ext=cpp
33416 ac_cpp='$CXXCPP $CPPFLAGS'
33417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33422 /* end confdefs.h. */
33423 #include <math.h>
33425 main ()
33427 _atan2l(0, 0);
33429 return 0;
33431 _ACEOF
33432 if ac_fn_cxx_try_compile "$LINENO"; then :
33433 glibcxx_cv_func__atan2l_use=yes
33434 else
33435 glibcxx_cv_func__atan2l_use=no
33437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33438 ac_ext=c
33439 ac_cpp='$CPP $CPPFLAGS'
33440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33449 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33451 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33452 for ac_func in _atan2l
33453 do :
33454 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33455 if test "x$ac_cv_func__atan2l" = xyes; then :
33456 cat >>confdefs.h <<_ACEOF
33457 #define HAVE__ATAN2L 1
33458 _ACEOF
33461 done
33470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33471 $as_echo_n "checking for expl declaration... " >&6; }
33472 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33473 if ${glibcxx_cv_func_expl_use+:} false; then :
33474 $as_echo_n "(cached) " >&6
33475 else
33478 ac_ext=cpp
33479 ac_cpp='$CXXCPP $CPPFLAGS'
33480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33485 /* end confdefs.h. */
33486 #include <math.h>
33487 #ifdef HAVE_IEEEFP_H
33488 #include <ieeefp.h>
33489 #endif
33492 main ()
33494 expl(0);
33496 return 0;
33498 _ACEOF
33499 if ac_fn_cxx_try_compile "$LINENO"; then :
33500 glibcxx_cv_func_expl_use=yes
33501 else
33502 glibcxx_cv_func_expl_use=no
33504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33505 ac_ext=c
33506 ac_cpp='$CPP $CPPFLAGS'
33507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33516 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33518 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33519 for ac_func in expl
33520 do :
33521 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33522 if test "x$ac_cv_func_expl" = xyes; then :
33523 cat >>confdefs.h <<_ACEOF
33524 #define HAVE_EXPL 1
33525 _ACEOF
33528 done
33530 else
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33533 $as_echo_n "checking for _expl declaration... " >&6; }
33534 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33535 if ${glibcxx_cv_func__expl_use+:} false; then :
33536 $as_echo_n "(cached) " >&6
33537 else
33540 ac_ext=cpp
33541 ac_cpp='$CXXCPP $CPPFLAGS'
33542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33547 /* end confdefs.h. */
33548 #include <math.h>
33549 #ifdef HAVE_IEEEFP_H
33550 #include <ieeefp.h>
33551 #endif
33554 main ()
33556 _expl(0);
33558 return 0;
33560 _ACEOF
33561 if ac_fn_cxx_try_compile "$LINENO"; then :
33562 glibcxx_cv_func__expl_use=yes
33563 else
33564 glibcxx_cv_func__expl_use=no
33566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33567 ac_ext=c
33568 ac_cpp='$CPP $CPPFLAGS'
33569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33578 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33580 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33581 for ac_func in _expl
33582 do :
33583 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33584 if test "x$ac_cv_func__expl" = xyes; then :
33585 cat >>confdefs.h <<_ACEOF
33586 #define HAVE__EXPL 1
33587 _ACEOF
33590 done
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33600 $as_echo_n "checking for fabsl declaration... " >&6; }
33601 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33602 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33603 $as_echo_n "(cached) " >&6
33604 else
33607 ac_ext=cpp
33608 ac_cpp='$CXXCPP $CPPFLAGS'
33609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33614 /* end confdefs.h. */
33615 #include <math.h>
33616 #ifdef HAVE_IEEEFP_H
33617 #include <ieeefp.h>
33618 #endif
33621 main ()
33623 fabsl(0);
33625 return 0;
33627 _ACEOF
33628 if ac_fn_cxx_try_compile "$LINENO"; then :
33629 glibcxx_cv_func_fabsl_use=yes
33630 else
33631 glibcxx_cv_func_fabsl_use=no
33633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33634 ac_ext=c
33635 ac_cpp='$CPP $CPPFLAGS'
33636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33645 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33647 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33648 for ac_func in fabsl
33649 do :
33650 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33651 if test "x$ac_cv_func_fabsl" = xyes; then :
33652 cat >>confdefs.h <<_ACEOF
33653 #define HAVE_FABSL 1
33654 _ACEOF
33657 done
33659 else
33661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33662 $as_echo_n "checking for _fabsl declaration... " >&6; }
33663 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33664 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33665 $as_echo_n "(cached) " >&6
33666 else
33669 ac_ext=cpp
33670 ac_cpp='$CXXCPP $CPPFLAGS'
33671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33676 /* end confdefs.h. */
33677 #include <math.h>
33678 #ifdef HAVE_IEEEFP_H
33679 #include <ieeefp.h>
33680 #endif
33683 main ()
33685 _fabsl(0);
33687 return 0;
33689 _ACEOF
33690 if ac_fn_cxx_try_compile "$LINENO"; then :
33691 glibcxx_cv_func__fabsl_use=yes
33692 else
33693 glibcxx_cv_func__fabsl_use=no
33695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33696 ac_ext=c
33697 ac_cpp='$CPP $CPPFLAGS'
33698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33707 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33709 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33710 for ac_func in _fabsl
33711 do :
33712 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33713 if test "x$ac_cv_func__fabsl" = xyes; then :
33714 cat >>confdefs.h <<_ACEOF
33715 #define HAVE__FABSL 1
33716 _ACEOF
33719 done
33728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33729 $as_echo_n "checking for fmodl declaration... " >&6; }
33730 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33731 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33732 $as_echo_n "(cached) " >&6
33733 else
33736 ac_ext=cpp
33737 ac_cpp='$CXXCPP $CPPFLAGS'
33738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33743 /* end confdefs.h. */
33744 #include <math.h>
33746 main ()
33748 fmodl(0, 0);
33750 return 0;
33752 _ACEOF
33753 if ac_fn_cxx_try_compile "$LINENO"; then :
33754 glibcxx_cv_func_fmodl_use=yes
33755 else
33756 glibcxx_cv_func_fmodl_use=no
33758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33759 ac_ext=c
33760 ac_cpp='$CPP $CPPFLAGS'
33761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33770 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33772 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33773 for ac_func in fmodl
33774 do :
33775 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33776 if test "x$ac_cv_func_fmodl" = xyes; then :
33777 cat >>confdefs.h <<_ACEOF
33778 #define HAVE_FMODL 1
33779 _ACEOF
33782 done
33784 else
33786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33787 $as_echo_n "checking for _fmodl declaration... " >&6; }
33788 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33789 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33790 $as_echo_n "(cached) " >&6
33791 else
33794 ac_ext=cpp
33795 ac_cpp='$CXXCPP $CPPFLAGS'
33796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33801 /* end confdefs.h. */
33802 #include <math.h>
33804 main ()
33806 _fmodl(0, 0);
33808 return 0;
33810 _ACEOF
33811 if ac_fn_cxx_try_compile "$LINENO"; then :
33812 glibcxx_cv_func__fmodl_use=yes
33813 else
33814 glibcxx_cv_func__fmodl_use=no
33816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33817 ac_ext=c
33818 ac_cpp='$CPP $CPPFLAGS'
33819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33828 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33830 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33831 for ac_func in _fmodl
33832 do :
33833 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33834 if test "x$ac_cv_func__fmodl" = xyes; then :
33835 cat >>confdefs.h <<_ACEOF
33836 #define HAVE__FMODL 1
33837 _ACEOF
33840 done
33849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33850 $as_echo_n "checking for frexpl declaration... " >&6; }
33851 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33852 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33853 $as_echo_n "(cached) " >&6
33854 else
33857 ac_ext=cpp
33858 ac_cpp='$CXXCPP $CPPFLAGS'
33859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33864 /* end confdefs.h. */
33865 #include <math.h>
33867 main ()
33869 frexpl(0, 0);
33871 return 0;
33873 _ACEOF
33874 if ac_fn_cxx_try_compile "$LINENO"; then :
33875 glibcxx_cv_func_frexpl_use=yes
33876 else
33877 glibcxx_cv_func_frexpl_use=no
33879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33880 ac_ext=c
33881 ac_cpp='$CPP $CPPFLAGS'
33882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33891 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33893 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33894 for ac_func in frexpl
33895 do :
33896 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33897 if test "x$ac_cv_func_frexpl" = xyes; then :
33898 cat >>confdefs.h <<_ACEOF
33899 #define HAVE_FREXPL 1
33900 _ACEOF
33903 done
33905 else
33907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33908 $as_echo_n "checking for _frexpl declaration... " >&6; }
33909 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33910 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33911 $as_echo_n "(cached) " >&6
33912 else
33915 ac_ext=cpp
33916 ac_cpp='$CXXCPP $CPPFLAGS'
33917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33922 /* end confdefs.h. */
33923 #include <math.h>
33925 main ()
33927 _frexpl(0, 0);
33929 return 0;
33931 _ACEOF
33932 if ac_fn_cxx_try_compile "$LINENO"; then :
33933 glibcxx_cv_func__frexpl_use=yes
33934 else
33935 glibcxx_cv_func__frexpl_use=no
33937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33938 ac_ext=c
33939 ac_cpp='$CPP $CPPFLAGS'
33940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33949 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33951 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33952 for ac_func in _frexpl
33953 do :
33954 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33955 if test "x$ac_cv_func__frexpl" = xyes; then :
33956 cat >>confdefs.h <<_ACEOF
33957 #define HAVE__FREXPL 1
33958 _ACEOF
33961 done
33970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33971 $as_echo_n "checking for hypotl declaration... " >&6; }
33972 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33973 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33974 $as_echo_n "(cached) " >&6
33975 else
33978 ac_ext=cpp
33979 ac_cpp='$CXXCPP $CPPFLAGS'
33980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33985 /* end confdefs.h. */
33986 #include <math.h>
33988 main ()
33990 hypotl(0, 0);
33992 return 0;
33994 _ACEOF
33995 if ac_fn_cxx_try_compile "$LINENO"; then :
33996 glibcxx_cv_func_hypotl_use=yes
33997 else
33998 glibcxx_cv_func_hypotl_use=no
34000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34001 ac_ext=c
34002 ac_cpp='$CPP $CPPFLAGS'
34003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34012 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34014 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34015 for ac_func in hypotl
34016 do :
34017 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34018 if test "x$ac_cv_func_hypotl" = xyes; then :
34019 cat >>confdefs.h <<_ACEOF
34020 #define HAVE_HYPOTL 1
34021 _ACEOF
34024 done
34026 else
34028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34029 $as_echo_n "checking for _hypotl declaration... " >&6; }
34030 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34031 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34032 $as_echo_n "(cached) " >&6
34033 else
34036 ac_ext=cpp
34037 ac_cpp='$CXXCPP $CPPFLAGS'
34038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34043 /* end confdefs.h. */
34044 #include <math.h>
34046 main ()
34048 _hypotl(0, 0);
34050 return 0;
34052 _ACEOF
34053 if ac_fn_cxx_try_compile "$LINENO"; then :
34054 glibcxx_cv_func__hypotl_use=yes
34055 else
34056 glibcxx_cv_func__hypotl_use=no
34058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34059 ac_ext=c
34060 ac_cpp='$CPP $CPPFLAGS'
34061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34070 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34072 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34073 for ac_func in _hypotl
34074 do :
34075 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34076 if test "x$ac_cv_func__hypotl" = xyes; then :
34077 cat >>confdefs.h <<_ACEOF
34078 #define HAVE__HYPOTL 1
34079 _ACEOF
34082 done
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34092 $as_echo_n "checking for ldexpl declaration... " >&6; }
34093 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34094 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34095 $as_echo_n "(cached) " >&6
34096 else
34099 ac_ext=cpp
34100 ac_cpp='$CXXCPP $CPPFLAGS'
34101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34106 /* end confdefs.h. */
34107 #include <math.h>
34109 main ()
34111 ldexpl(0, 0);
34113 return 0;
34115 _ACEOF
34116 if ac_fn_cxx_try_compile "$LINENO"; then :
34117 glibcxx_cv_func_ldexpl_use=yes
34118 else
34119 glibcxx_cv_func_ldexpl_use=no
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122 ac_ext=c
34123 ac_cpp='$CPP $CPPFLAGS'
34124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34133 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34135 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34136 for ac_func in ldexpl
34137 do :
34138 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34139 if test "x$ac_cv_func_ldexpl" = xyes; then :
34140 cat >>confdefs.h <<_ACEOF
34141 #define HAVE_LDEXPL 1
34142 _ACEOF
34145 done
34147 else
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34150 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34151 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34152 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34153 $as_echo_n "(cached) " >&6
34154 else
34157 ac_ext=cpp
34158 ac_cpp='$CXXCPP $CPPFLAGS'
34159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34164 /* end confdefs.h. */
34165 #include <math.h>
34167 main ()
34169 _ldexpl(0, 0);
34171 return 0;
34173 _ACEOF
34174 if ac_fn_cxx_try_compile "$LINENO"; then :
34175 glibcxx_cv_func__ldexpl_use=yes
34176 else
34177 glibcxx_cv_func__ldexpl_use=no
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34191 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34193 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34194 for ac_func in _ldexpl
34195 do :
34196 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34197 if test "x$ac_cv_func__ldexpl" = xyes; then :
34198 cat >>confdefs.h <<_ACEOF
34199 #define HAVE__LDEXPL 1
34200 _ACEOF
34203 done
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34213 $as_echo_n "checking for logl declaration... " >&6; }
34214 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34215 if ${glibcxx_cv_func_logl_use+:} false; then :
34216 $as_echo_n "(cached) " >&6
34217 else
34220 ac_ext=cpp
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34227 /* end confdefs.h. */
34228 #include <math.h>
34229 #ifdef HAVE_IEEEFP_H
34230 #include <ieeefp.h>
34231 #endif
34234 main ()
34236 logl(0);
34238 return 0;
34240 _ACEOF
34241 if ac_fn_cxx_try_compile "$LINENO"; then :
34242 glibcxx_cv_func_logl_use=yes
34243 else
34244 glibcxx_cv_func_logl_use=no
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34247 ac_ext=c
34248 ac_cpp='$CPP $CPPFLAGS'
34249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34258 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34260 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34261 for ac_func in logl
34262 do :
34263 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34264 if test "x$ac_cv_func_logl" = xyes; then :
34265 cat >>confdefs.h <<_ACEOF
34266 #define HAVE_LOGL 1
34267 _ACEOF
34270 done
34272 else
34274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34275 $as_echo_n "checking for _logl declaration... " >&6; }
34276 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34277 if ${glibcxx_cv_func__logl_use+:} false; then :
34278 $as_echo_n "(cached) " >&6
34279 else
34282 ac_ext=cpp
34283 ac_cpp='$CXXCPP $CPPFLAGS'
34284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34289 /* end confdefs.h. */
34290 #include <math.h>
34291 #ifdef HAVE_IEEEFP_H
34292 #include <ieeefp.h>
34293 #endif
34296 main ()
34298 _logl(0);
34300 return 0;
34302 _ACEOF
34303 if ac_fn_cxx_try_compile "$LINENO"; then :
34304 glibcxx_cv_func__logl_use=yes
34305 else
34306 glibcxx_cv_func__logl_use=no
34308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34309 ac_ext=c
34310 ac_cpp='$CPP $CPPFLAGS'
34311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34320 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34322 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34323 for ac_func in _logl
34324 do :
34325 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34326 if test "x$ac_cv_func__logl" = xyes; then :
34327 cat >>confdefs.h <<_ACEOF
34328 #define HAVE__LOGL 1
34329 _ACEOF
34332 done
34341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34342 $as_echo_n "checking for log10l declaration... " >&6; }
34343 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34344 if ${glibcxx_cv_func_log10l_use+:} false; then :
34345 $as_echo_n "(cached) " >&6
34346 else
34349 ac_ext=cpp
34350 ac_cpp='$CXXCPP $CPPFLAGS'
34351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34356 /* end confdefs.h. */
34357 #include <math.h>
34358 #ifdef HAVE_IEEEFP_H
34359 #include <ieeefp.h>
34360 #endif
34363 main ()
34365 log10l(0);
34367 return 0;
34369 _ACEOF
34370 if ac_fn_cxx_try_compile "$LINENO"; then :
34371 glibcxx_cv_func_log10l_use=yes
34372 else
34373 glibcxx_cv_func_log10l_use=no
34375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34376 ac_ext=c
34377 ac_cpp='$CPP $CPPFLAGS'
34378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34387 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34389 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34390 for ac_func in log10l
34391 do :
34392 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34393 if test "x$ac_cv_func_log10l" = xyes; then :
34394 cat >>confdefs.h <<_ACEOF
34395 #define HAVE_LOG10L 1
34396 _ACEOF
34399 done
34401 else
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34404 $as_echo_n "checking for _log10l declaration... " >&6; }
34405 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34406 if ${glibcxx_cv_func__log10l_use+:} false; then :
34407 $as_echo_n "(cached) " >&6
34408 else
34411 ac_ext=cpp
34412 ac_cpp='$CXXCPP $CPPFLAGS'
34413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34418 /* end confdefs.h. */
34419 #include <math.h>
34420 #ifdef HAVE_IEEEFP_H
34421 #include <ieeefp.h>
34422 #endif
34425 main ()
34427 _log10l(0);
34429 return 0;
34431 _ACEOF
34432 if ac_fn_cxx_try_compile "$LINENO"; then :
34433 glibcxx_cv_func__log10l_use=yes
34434 else
34435 glibcxx_cv_func__log10l_use=no
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 ac_ext=c
34439 ac_cpp='$CPP $CPPFLAGS'
34440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34449 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34451 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34452 for ac_func in _log10l
34453 do :
34454 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34455 if test "x$ac_cv_func__log10l" = xyes; then :
34456 cat >>confdefs.h <<_ACEOF
34457 #define HAVE__LOG10L 1
34458 _ACEOF
34461 done
34470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34471 $as_echo_n "checking for modfl declaration... " >&6; }
34472 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34473 if ${glibcxx_cv_func_modfl_use+:} false; then :
34474 $as_echo_n "(cached) " >&6
34475 else
34478 ac_ext=cpp
34479 ac_cpp='$CXXCPP $CPPFLAGS'
34480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34485 /* end confdefs.h. */
34486 #include <math.h>
34488 main ()
34490 modfl(0, 0);
34492 return 0;
34494 _ACEOF
34495 if ac_fn_cxx_try_compile "$LINENO"; then :
34496 glibcxx_cv_func_modfl_use=yes
34497 else
34498 glibcxx_cv_func_modfl_use=no
34500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34501 ac_ext=c
34502 ac_cpp='$CPP $CPPFLAGS'
34503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34512 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34514 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34515 for ac_func in modfl
34516 do :
34517 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34518 if test "x$ac_cv_func_modfl" = xyes; then :
34519 cat >>confdefs.h <<_ACEOF
34520 #define HAVE_MODFL 1
34521 _ACEOF
34524 done
34526 else
34528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34529 $as_echo_n "checking for _modfl declaration... " >&6; }
34530 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34531 if ${glibcxx_cv_func__modfl_use+:} false; then :
34532 $as_echo_n "(cached) " >&6
34533 else
34536 ac_ext=cpp
34537 ac_cpp='$CXXCPP $CPPFLAGS'
34538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34543 /* end confdefs.h. */
34544 #include <math.h>
34546 main ()
34548 _modfl(0, 0);
34550 return 0;
34552 _ACEOF
34553 if ac_fn_cxx_try_compile "$LINENO"; then :
34554 glibcxx_cv_func__modfl_use=yes
34555 else
34556 glibcxx_cv_func__modfl_use=no
34558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34559 ac_ext=c
34560 ac_cpp='$CPP $CPPFLAGS'
34561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34570 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34572 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34573 for ac_func in _modfl
34574 do :
34575 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34576 if test "x$ac_cv_func__modfl" = xyes; then :
34577 cat >>confdefs.h <<_ACEOF
34578 #define HAVE__MODFL 1
34579 _ACEOF
34582 done
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34592 $as_echo_n "checking for powl declaration... " >&6; }
34593 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34594 if ${glibcxx_cv_func_powl_use+:} false; then :
34595 $as_echo_n "(cached) " >&6
34596 else
34599 ac_ext=cpp
34600 ac_cpp='$CXXCPP $CPPFLAGS'
34601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34606 /* end confdefs.h. */
34607 #include <math.h>
34609 main ()
34611 powl(0, 0);
34613 return 0;
34615 _ACEOF
34616 if ac_fn_cxx_try_compile "$LINENO"; then :
34617 glibcxx_cv_func_powl_use=yes
34618 else
34619 glibcxx_cv_func_powl_use=no
34621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34622 ac_ext=c
34623 ac_cpp='$CPP $CPPFLAGS'
34624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34633 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34635 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34636 for ac_func in powl
34637 do :
34638 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34639 if test "x$ac_cv_func_powl" = xyes; then :
34640 cat >>confdefs.h <<_ACEOF
34641 #define HAVE_POWL 1
34642 _ACEOF
34645 done
34647 else
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34650 $as_echo_n "checking for _powl declaration... " >&6; }
34651 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34652 if ${glibcxx_cv_func__powl_use+:} false; then :
34653 $as_echo_n "(cached) " >&6
34654 else
34657 ac_ext=cpp
34658 ac_cpp='$CXXCPP $CPPFLAGS'
34659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34664 /* end confdefs.h. */
34665 #include <math.h>
34667 main ()
34669 _powl(0, 0);
34671 return 0;
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675 glibcxx_cv_func__powl_use=yes
34676 else
34677 glibcxx_cv_func__powl_use=no
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34680 ac_ext=c
34681 ac_cpp='$CPP $CPPFLAGS'
34682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34691 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34693 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34694 for ac_func in _powl
34695 do :
34696 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34697 if test "x$ac_cv_func__powl" = xyes; then :
34698 cat >>confdefs.h <<_ACEOF
34699 #define HAVE__POWL 1
34700 _ACEOF
34703 done
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34713 $as_echo_n "checking for sqrtl declaration... " >&6; }
34714 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34715 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34716 $as_echo_n "(cached) " >&6
34717 else
34720 ac_ext=cpp
34721 ac_cpp='$CXXCPP $CPPFLAGS'
34722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34727 /* end confdefs.h. */
34728 #include <math.h>
34729 #ifdef HAVE_IEEEFP_H
34730 #include <ieeefp.h>
34731 #endif
34734 main ()
34736 sqrtl(0);
34738 return 0;
34740 _ACEOF
34741 if ac_fn_cxx_try_compile "$LINENO"; then :
34742 glibcxx_cv_func_sqrtl_use=yes
34743 else
34744 glibcxx_cv_func_sqrtl_use=no
34746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34747 ac_ext=c
34748 ac_cpp='$CPP $CPPFLAGS'
34749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34758 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34760 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34761 for ac_func in sqrtl
34762 do :
34763 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34764 if test "x$ac_cv_func_sqrtl" = xyes; then :
34765 cat >>confdefs.h <<_ACEOF
34766 #define HAVE_SQRTL 1
34767 _ACEOF
34770 done
34772 else
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34775 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34776 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34777 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34778 $as_echo_n "(cached) " >&6
34779 else
34782 ac_ext=cpp
34783 ac_cpp='$CXXCPP $CPPFLAGS'
34784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34789 /* end confdefs.h. */
34790 #include <math.h>
34791 #ifdef HAVE_IEEEFP_H
34792 #include <ieeefp.h>
34793 #endif
34796 main ()
34798 _sqrtl(0);
34800 return 0;
34802 _ACEOF
34803 if ac_fn_cxx_try_compile "$LINENO"; then :
34804 glibcxx_cv_func__sqrtl_use=yes
34805 else
34806 glibcxx_cv_func__sqrtl_use=no
34808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34809 ac_ext=c
34810 ac_cpp='$CPP $CPPFLAGS'
34811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34820 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34822 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34823 for ac_func in _sqrtl
34824 do :
34825 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34826 if test "x$ac_cv_func__sqrtl" = xyes; then :
34827 cat >>confdefs.h <<_ACEOF
34828 #define HAVE__SQRTL 1
34829 _ACEOF
34832 done
34841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34842 $as_echo_n "checking for sincosl declaration... " >&6; }
34843 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34844 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34845 $as_echo_n "(cached) " >&6
34846 else
34849 ac_ext=cpp
34850 ac_cpp='$CXXCPP $CPPFLAGS'
34851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34856 /* end confdefs.h. */
34857 #include <math.h>
34859 main ()
34861 sincosl(0, 0, 0);
34863 return 0;
34865 _ACEOF
34866 if ac_fn_cxx_try_compile "$LINENO"; then :
34867 glibcxx_cv_func_sincosl_use=yes
34868 else
34869 glibcxx_cv_func_sincosl_use=no
34871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34872 ac_ext=c
34873 ac_cpp='$CPP $CPPFLAGS'
34874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34883 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34885 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34886 for ac_func in sincosl
34887 do :
34888 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34889 if test "x$ac_cv_func_sincosl" = xyes; then :
34890 cat >>confdefs.h <<_ACEOF
34891 #define HAVE_SINCOSL 1
34892 _ACEOF
34895 done
34897 else
34899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34900 $as_echo_n "checking for _sincosl declaration... " >&6; }
34901 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34902 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34903 $as_echo_n "(cached) " >&6
34904 else
34907 ac_ext=cpp
34908 ac_cpp='$CXXCPP $CPPFLAGS'
34909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34914 /* end confdefs.h. */
34915 #include <math.h>
34917 main ()
34919 _sincosl(0, 0, 0);
34921 return 0;
34923 _ACEOF
34924 if ac_fn_cxx_try_compile "$LINENO"; then :
34925 glibcxx_cv_func__sincosl_use=yes
34926 else
34927 glibcxx_cv_func__sincosl_use=no
34929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34930 ac_ext=c
34931 ac_cpp='$CPP $CPPFLAGS'
34932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34941 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34943 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34944 for ac_func in _sincosl
34945 do :
34946 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34947 if test "x$ac_cv_func__sincosl" = xyes; then :
34948 cat >>confdefs.h <<_ACEOF
34949 #define HAVE__SINCOSL 1
34950 _ACEOF
34953 done
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34963 $as_echo_n "checking for finitel declaration... " >&6; }
34964 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34965 if ${glibcxx_cv_func_finitel_use+:} false; then :
34966 $as_echo_n "(cached) " >&6
34967 else
34970 ac_ext=cpp
34971 ac_cpp='$CXXCPP $CPPFLAGS'
34972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34977 /* end confdefs.h. */
34978 #include <math.h>
34979 #ifdef HAVE_IEEEFP_H
34980 #include <ieeefp.h>
34981 #endif
34984 main ()
34986 finitel(0);
34988 return 0;
34990 _ACEOF
34991 if ac_fn_cxx_try_compile "$LINENO"; then :
34992 glibcxx_cv_func_finitel_use=yes
34993 else
34994 glibcxx_cv_func_finitel_use=no
34996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34997 ac_ext=c
34998 ac_cpp='$CPP $CPPFLAGS'
34999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35008 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35010 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35011 for ac_func in finitel
35012 do :
35013 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35014 if test "x$ac_cv_func_finitel" = xyes; then :
35015 cat >>confdefs.h <<_ACEOF
35016 #define HAVE_FINITEL 1
35017 _ACEOF
35020 done
35022 else
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35025 $as_echo_n "checking for _finitel declaration... " >&6; }
35026 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35027 if ${glibcxx_cv_func__finitel_use+:} false; then :
35028 $as_echo_n "(cached) " >&6
35029 else
35032 ac_ext=cpp
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35039 /* end confdefs.h. */
35040 #include <math.h>
35041 #ifdef HAVE_IEEEFP_H
35042 #include <ieeefp.h>
35043 #endif
35046 main ()
35048 _finitel(0);
35050 return 0;
35052 _ACEOF
35053 if ac_fn_cxx_try_compile "$LINENO"; then :
35054 glibcxx_cv_func__finitel_use=yes
35055 else
35056 glibcxx_cv_func__finitel_use=no
35058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35059 ac_ext=c
35060 ac_cpp='$CPP $CPPFLAGS'
35061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35070 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35072 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35073 for ac_func in _finitel
35074 do :
35075 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35076 if test "x$ac_cv_func__finitel" = xyes; then :
35077 cat >>confdefs.h <<_ACEOF
35078 #define HAVE__FINITEL 1
35079 _ACEOF
35082 done
35090 LIBS="$ac_save_LIBS"
35091 CXXFLAGS="$ac_save_CXXFLAGS"
35094 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35095 ac_save_CXXFLAGS="$CXXFLAGS"
35096 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35100 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35101 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35102 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35103 $as_echo_n "(cached) " >&6
35104 else
35107 ac_ext=cpp
35108 ac_cpp='$CXXCPP $CPPFLAGS'
35109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35114 /* end confdefs.h. */
35115 #include <stdlib.h>
35117 main ()
35119 at_quick_exit(0);
35121 return 0;
35123 _ACEOF
35124 if ac_fn_cxx_try_compile "$LINENO"; then :
35125 glibcxx_cv_func_at_quick_exit_use=yes
35126 else
35127 glibcxx_cv_func_at_quick_exit_use=no
35129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35130 ac_ext=c
35131 ac_cpp='$CPP $CPPFLAGS'
35132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35141 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35142 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35143 for ac_func in at_quick_exit
35144 do :
35145 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35146 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35147 cat >>confdefs.h <<_ACEOF
35148 #define HAVE_AT_QUICK_EXIT 1
35149 _ACEOF
35152 done
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35158 $as_echo_n "checking for quick_exit declaration... " >&6; }
35159 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35160 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35161 $as_echo_n "(cached) " >&6
35162 else
35165 ac_ext=cpp
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35172 /* end confdefs.h. */
35173 #include <stdlib.h>
35175 main ()
35177 quick_exit(0);
35179 return 0;
35181 _ACEOF
35182 if ac_fn_cxx_try_compile "$LINENO"; then :
35183 glibcxx_cv_func_quick_exit_use=yes
35184 else
35185 glibcxx_cv_func_quick_exit_use=no
35187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35188 ac_ext=c
35189 ac_cpp='$CPP $CPPFLAGS'
35190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35199 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35200 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35201 for ac_func in quick_exit
35202 do :
35203 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35204 if test "x$ac_cv_func_quick_exit" = xyes; then :
35205 cat >>confdefs.h <<_ACEOF
35206 #define HAVE_QUICK_EXIT 1
35207 _ACEOF
35210 done
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35216 $as_echo_n "checking for strtold declaration... " >&6; }
35217 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35218 if ${glibcxx_cv_func_strtold_use+:} false; then :
35219 $as_echo_n "(cached) " >&6
35220 else
35223 ac_ext=cpp
35224 ac_cpp='$CXXCPP $CPPFLAGS'
35225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35230 /* end confdefs.h. */
35231 #include <stdlib.h>
35233 main ()
35235 strtold(0, 0);
35237 return 0;
35239 _ACEOF
35240 if ac_fn_cxx_try_compile "$LINENO"; then :
35241 glibcxx_cv_func_strtold_use=yes
35242 else
35243 glibcxx_cv_func_strtold_use=no
35245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35246 ac_ext=c
35247 ac_cpp='$CPP $CPPFLAGS'
35248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35257 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35258 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35259 for ac_func in strtold
35260 do :
35261 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35262 if test "x$ac_cv_func_strtold" = xyes; then :
35263 cat >>confdefs.h <<_ACEOF
35264 #define HAVE_STRTOLD 1
35265 _ACEOF
35268 done
35275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35276 $as_echo_n "checking for strtof declaration... " >&6; }
35277 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35278 if ${glibcxx_cv_func_strtof_use+:} false; then :
35279 $as_echo_n "(cached) " >&6
35280 else
35283 ac_ext=cpp
35284 ac_cpp='$CXXCPP $CPPFLAGS'
35285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35290 /* end confdefs.h. */
35291 #include <stdlib.h>
35293 main ()
35295 strtof(0, 0);
35297 return 0;
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301 glibcxx_cv_func_strtof_use=yes
35302 else
35303 glibcxx_cv_func_strtof_use=no
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306 ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35317 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35318 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35319 for ac_func in strtof
35320 do :
35321 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35322 if test "x$ac_cv_func_strtof" = xyes; then :
35323 cat >>confdefs.h <<_ACEOF
35324 #define HAVE_STRTOF 1
35325 _ACEOF
35328 done
35335 CXXFLAGS="$ac_save_CXXFLAGS"
35338 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35340 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35342 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35344 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35347 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35349 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35351 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35355 *-aix*)
35357 # If we're not using GNU ld, then there's no point in even trying these
35358 # tests. Check for that first. We should have already tested for gld
35359 # by now (in libtool), but require it now just to be safe...
35360 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35361 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35365 # The name set by libtool depends on the version of libtool. Shame on us
35366 # for depending on an impl detail, but c'est la vie. Older versions used
35367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35370 # set (hence we're using an older libtool), then set it.
35371 if test x${with_gnu_ld+set} != xset; then
35372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35374 with_gnu_ld=no
35375 else
35376 with_gnu_ld=$ac_cv_prog_gnu_ld
35380 # Start by getting the version number. I think the libtool test already
35381 # does some of this, but throws away the result.
35382 glibcxx_ld_is_gold=no
35383 glibcxx_ld_is_mold=no
35384 if test x"$with_gnu_ld" = x"yes"; then
35385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35386 $as_echo_n "checking for ld version... " >&6; }
35388 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35389 glibcxx_ld_is_gold=yes
35390 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35391 glibcxx_ld_is_mold=yes
35393 ldver=`$LD --version 2>/dev/null |
35394 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35396 glibcxx_gnu_ld_version=`echo $ldver | \
35397 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35399 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35402 # Set --gc-sections.
35403 glibcxx_have_gc_sections=no
35404 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35405 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35406 glibcxx_have_gc_sections=yes
35408 else
35409 glibcxx_gcsections_min_ld=21602
35410 if test x"$with_gnu_ld" = x"yes" &&
35411 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35412 glibcxx_have_gc_sections=yes
35415 if test "$glibcxx_have_gc_sections" = "yes"; then
35416 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35417 # NB: This flag only works reliably after 2.16.1. Configure tests
35418 # for this are difficult, so hard wire a value that should work.
35420 ac_test_CFLAGS="${CFLAGS+set}"
35421 ac_save_CFLAGS="$CFLAGS"
35422 CFLAGS='-Wl,--gc-sections'
35424 # Check for -Wl,--gc-sections
35425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35426 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35427 if test x$gcc_no_link = xyes; then
35428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 int one(void) { return 1; }
35433 int two(void) { return 2; }
35436 main ()
35438 two();
35440 return 0;
35442 _ACEOF
35443 if ac_fn_c_try_link "$LINENO"; then :
35444 ac_gcsections=yes
35445 else
35446 ac_gcsections=no
35448 rm -f core conftest.err conftest.$ac_objext \
35449 conftest$ac_exeext conftest.$ac_ext
35450 if test "$ac_gcsections" = "yes"; then
35451 rm -f conftest.c
35452 touch conftest.c
35453 if $CC -c conftest.c; then
35454 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35455 grep "Warning: gc-sections option ignored" > /dev/null; then
35456 ac_gcsections=no
35459 rm -f conftest.c conftest.o conftest
35461 if test "$ac_gcsections" = "yes"; then
35462 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35465 $as_echo "$ac_gcsections" >&6; }
35467 if test "$ac_test_CFLAGS" = set; then
35468 CFLAGS="$ac_save_CFLAGS"
35469 else
35470 # this is the suspicious part
35471 CFLAGS=''
35475 # Set -z,relro.
35476 # Note this is only for shared objects.
35477 ac_ld_relro=no
35478 if test x"$with_gnu_ld" = x"yes"; then
35479 # cygwin and mingw uses PE, which has no ELF relro support,
35480 # multi target ld may confuse configure machinery
35481 case "$host" in
35482 *-*-cygwin*)
35484 *-*-mingw*)
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35488 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35489 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35490 if test -n "$cxx_z_relo"; then
35491 OPT_LDFLAGS="-Wl,-z,relro"
35492 ac_ld_relro=yes
35494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35495 $as_echo "$ac_ld_relro" >&6; }
35496 esac
35499 # Set linker optimization flags.
35500 if test x"$with_gnu_ld" = x"yes"; then
35501 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35509 ac_save_CXXFLAGS="$CXXFLAGS"
35510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35513 $as_echo_n "checking for sin in -lm... " >&6; }
35514 if ${ac_cv_lib_m_sin+:} false; then :
35515 $as_echo_n "(cached) " >&6
35516 else
35517 ac_check_lib_save_LIBS=$LIBS
35518 LIBS="-lm $LIBS"
35519 if test x$gcc_no_link = xyes; then
35520 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523 /* end confdefs.h. */
35525 /* Override any GCC internal prototype to avoid an error.
35526 Use char because int might match the return type of a GCC
35527 builtin and then its argument prototype would still apply. */
35528 #ifdef __cplusplus
35529 extern "C"
35530 #endif
35531 char sin ();
35533 main ()
35535 return sin ();
35537 return 0;
35539 _ACEOF
35540 if ac_fn_c_try_link "$LINENO"; then :
35541 ac_cv_lib_m_sin=yes
35542 else
35543 ac_cv_lib_m_sin=no
35545 rm -f core conftest.err conftest.$ac_objext \
35546 conftest$ac_exeext conftest.$ac_ext
35547 LIBS=$ac_check_lib_save_LIBS
35549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35550 $as_echo "$ac_cv_lib_m_sin" >&6; }
35551 if test "x$ac_cv_lib_m_sin" = xyes; then :
35552 libm="-lm"
35555 ac_save_LIBS="$LIBS"
35556 LIBS="$LIBS $libm"
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35561 $as_echo_n "checking for isinf declaration... " >&6; }
35562 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35563 if ${glibcxx_cv_func_isinf_use+:} false; then :
35564 $as_echo_n "(cached) " >&6
35565 else
35568 ac_ext=cpp
35569 ac_cpp='$CXXCPP $CPPFLAGS'
35570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35575 /* end confdefs.h. */
35576 #include <math.h>
35577 #ifdef HAVE_IEEEFP_H
35578 #include <ieeefp.h>
35579 #endif
35582 main ()
35584 isinf(0);
35586 return 0;
35588 _ACEOF
35589 if ac_fn_cxx_try_compile "$LINENO"; then :
35590 glibcxx_cv_func_isinf_use=yes
35591 else
35592 glibcxx_cv_func_isinf_use=no
35594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35595 ac_ext=c
35596 ac_cpp='$CPP $CPPFLAGS'
35597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35606 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35608 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35609 for ac_func in isinf
35610 do :
35611 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35612 if test "x$ac_cv_func_isinf" = xyes; then :
35613 cat >>confdefs.h <<_ACEOF
35614 #define HAVE_ISINF 1
35615 _ACEOF
35618 done
35620 else
35622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35623 $as_echo_n "checking for _isinf declaration... " >&6; }
35624 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35625 if ${glibcxx_cv_func__isinf_use+:} false; then :
35626 $as_echo_n "(cached) " >&6
35627 else
35630 ac_ext=cpp
35631 ac_cpp='$CXXCPP $CPPFLAGS'
35632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35637 /* end confdefs.h. */
35638 #include <math.h>
35639 #ifdef HAVE_IEEEFP_H
35640 #include <ieeefp.h>
35641 #endif
35644 main ()
35646 _isinf(0);
35648 return 0;
35650 _ACEOF
35651 if ac_fn_cxx_try_compile "$LINENO"; then :
35652 glibcxx_cv_func__isinf_use=yes
35653 else
35654 glibcxx_cv_func__isinf_use=no
35656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35657 ac_ext=c
35658 ac_cpp='$CPP $CPPFLAGS'
35659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35668 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35670 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35671 for ac_func in _isinf
35672 do :
35673 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35674 if test "x$ac_cv_func__isinf" = xyes; then :
35675 cat >>confdefs.h <<_ACEOF
35676 #define HAVE__ISINF 1
35677 _ACEOF
35680 done
35689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35690 $as_echo_n "checking for isnan declaration... " >&6; }
35691 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35692 if ${glibcxx_cv_func_isnan_use+:} false; then :
35693 $as_echo_n "(cached) " >&6
35694 else
35697 ac_ext=cpp
35698 ac_cpp='$CXXCPP $CPPFLAGS'
35699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35704 /* end confdefs.h. */
35705 #include <math.h>
35706 #ifdef HAVE_IEEEFP_H
35707 #include <ieeefp.h>
35708 #endif
35711 main ()
35713 isnan(0);
35715 return 0;
35717 _ACEOF
35718 if ac_fn_cxx_try_compile "$LINENO"; then :
35719 glibcxx_cv_func_isnan_use=yes
35720 else
35721 glibcxx_cv_func_isnan_use=no
35723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35724 ac_ext=c
35725 ac_cpp='$CPP $CPPFLAGS'
35726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35735 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35737 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35738 for ac_func in isnan
35739 do :
35740 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35741 if test "x$ac_cv_func_isnan" = xyes; then :
35742 cat >>confdefs.h <<_ACEOF
35743 #define HAVE_ISNAN 1
35744 _ACEOF
35747 done
35749 else
35751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35752 $as_echo_n "checking for _isnan declaration... " >&6; }
35753 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35754 if ${glibcxx_cv_func__isnan_use+:} false; then :
35755 $as_echo_n "(cached) " >&6
35756 else
35759 ac_ext=cpp
35760 ac_cpp='$CXXCPP $CPPFLAGS'
35761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35766 /* end confdefs.h. */
35767 #include <math.h>
35768 #ifdef HAVE_IEEEFP_H
35769 #include <ieeefp.h>
35770 #endif
35773 main ()
35775 _isnan(0);
35777 return 0;
35779 _ACEOF
35780 if ac_fn_cxx_try_compile "$LINENO"; then :
35781 glibcxx_cv_func__isnan_use=yes
35782 else
35783 glibcxx_cv_func__isnan_use=no
35785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35786 ac_ext=c
35787 ac_cpp='$CPP $CPPFLAGS'
35788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35797 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35799 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35800 for ac_func in _isnan
35801 do :
35802 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35803 if test "x$ac_cv_func__isnan" = xyes; then :
35804 cat >>confdefs.h <<_ACEOF
35805 #define HAVE__ISNAN 1
35806 _ACEOF
35809 done
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35819 $as_echo_n "checking for finite declaration... " >&6; }
35820 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35821 if ${glibcxx_cv_func_finite_use+:} false; then :
35822 $as_echo_n "(cached) " >&6
35823 else
35826 ac_ext=cpp
35827 ac_cpp='$CXXCPP $CPPFLAGS'
35828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35833 /* end confdefs.h. */
35834 #include <math.h>
35835 #ifdef HAVE_IEEEFP_H
35836 #include <ieeefp.h>
35837 #endif
35840 main ()
35842 finite(0);
35844 return 0;
35846 _ACEOF
35847 if ac_fn_cxx_try_compile "$LINENO"; then :
35848 glibcxx_cv_func_finite_use=yes
35849 else
35850 glibcxx_cv_func_finite_use=no
35852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35853 ac_ext=c
35854 ac_cpp='$CPP $CPPFLAGS'
35855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35864 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35866 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35867 for ac_func in finite
35868 do :
35869 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35870 if test "x$ac_cv_func_finite" = xyes; then :
35871 cat >>confdefs.h <<_ACEOF
35872 #define HAVE_FINITE 1
35873 _ACEOF
35876 done
35878 else
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35881 $as_echo_n "checking for _finite declaration... " >&6; }
35882 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35883 if ${glibcxx_cv_func__finite_use+:} false; then :
35884 $as_echo_n "(cached) " >&6
35885 else
35888 ac_ext=cpp
35889 ac_cpp='$CXXCPP $CPPFLAGS'
35890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35895 /* end confdefs.h. */
35896 #include <math.h>
35897 #ifdef HAVE_IEEEFP_H
35898 #include <ieeefp.h>
35899 #endif
35902 main ()
35904 _finite(0);
35906 return 0;
35908 _ACEOF
35909 if ac_fn_cxx_try_compile "$LINENO"; then :
35910 glibcxx_cv_func__finite_use=yes
35911 else
35912 glibcxx_cv_func__finite_use=no
35914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35915 ac_ext=c
35916 ac_cpp='$CPP $CPPFLAGS'
35917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35926 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35928 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35929 for ac_func in _finite
35930 do :
35931 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35932 if test "x$ac_cv_func__finite" = xyes; then :
35933 cat >>confdefs.h <<_ACEOF
35934 #define HAVE__FINITE 1
35935 _ACEOF
35938 done
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35948 $as_echo_n "checking for sincos declaration... " >&6; }
35949 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35950 if ${glibcxx_cv_func_sincos_use+:} false; then :
35951 $as_echo_n "(cached) " >&6
35952 else
35955 ac_ext=cpp
35956 ac_cpp='$CXXCPP $CPPFLAGS'
35957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35962 /* end confdefs.h. */
35963 #include <math.h>
35965 main ()
35967 sincos(0, 0, 0);
35969 return 0;
35971 _ACEOF
35972 if ac_fn_cxx_try_compile "$LINENO"; then :
35973 glibcxx_cv_func_sincos_use=yes
35974 else
35975 glibcxx_cv_func_sincos_use=no
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35978 ac_ext=c
35979 ac_cpp='$CPP $CPPFLAGS'
35980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35989 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35991 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35992 for ac_func in sincos
35993 do :
35994 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35995 if test "x$ac_cv_func_sincos" = xyes; then :
35996 cat >>confdefs.h <<_ACEOF
35997 #define HAVE_SINCOS 1
35998 _ACEOF
36001 done
36003 else
36005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36006 $as_echo_n "checking for _sincos declaration... " >&6; }
36007 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36008 if ${glibcxx_cv_func__sincos_use+:} false; then :
36009 $as_echo_n "(cached) " >&6
36010 else
36013 ac_ext=cpp
36014 ac_cpp='$CXXCPP $CPPFLAGS'
36015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36020 /* end confdefs.h. */
36021 #include <math.h>
36023 main ()
36025 _sincos(0, 0, 0);
36027 return 0;
36029 _ACEOF
36030 if ac_fn_cxx_try_compile "$LINENO"; then :
36031 glibcxx_cv_func__sincos_use=yes
36032 else
36033 glibcxx_cv_func__sincos_use=no
36035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36036 ac_ext=c
36037 ac_cpp='$CPP $CPPFLAGS'
36038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36047 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36049 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36050 for ac_func in _sincos
36051 do :
36052 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36053 if test "x$ac_cv_func__sincos" = xyes; then :
36054 cat >>confdefs.h <<_ACEOF
36055 #define HAVE__SINCOS 1
36056 _ACEOF
36059 done
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36069 $as_echo_n "checking for fpclass declaration... " >&6; }
36070 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36071 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36072 $as_echo_n "(cached) " >&6
36073 else
36076 ac_ext=cpp
36077 ac_cpp='$CXXCPP $CPPFLAGS'
36078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36083 /* end confdefs.h. */
36084 #include <math.h>
36085 #ifdef HAVE_IEEEFP_H
36086 #include <ieeefp.h>
36087 #endif
36090 main ()
36092 fpclass(0);
36094 return 0;
36096 _ACEOF
36097 if ac_fn_cxx_try_compile "$LINENO"; then :
36098 glibcxx_cv_func_fpclass_use=yes
36099 else
36100 glibcxx_cv_func_fpclass_use=no
36102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36103 ac_ext=c
36104 ac_cpp='$CPP $CPPFLAGS'
36105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36114 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36116 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36117 for ac_func in fpclass
36118 do :
36119 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36120 if test "x$ac_cv_func_fpclass" = xyes; then :
36121 cat >>confdefs.h <<_ACEOF
36122 #define HAVE_FPCLASS 1
36123 _ACEOF
36126 done
36128 else
36130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36131 $as_echo_n "checking for _fpclass declaration... " >&6; }
36132 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36133 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36134 $as_echo_n "(cached) " >&6
36135 else
36138 ac_ext=cpp
36139 ac_cpp='$CXXCPP $CPPFLAGS'
36140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36145 /* end confdefs.h. */
36146 #include <math.h>
36147 #ifdef HAVE_IEEEFP_H
36148 #include <ieeefp.h>
36149 #endif
36152 main ()
36154 _fpclass(0);
36156 return 0;
36158 _ACEOF
36159 if ac_fn_cxx_try_compile "$LINENO"; then :
36160 glibcxx_cv_func__fpclass_use=yes
36161 else
36162 glibcxx_cv_func__fpclass_use=no
36164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36165 ac_ext=c
36166 ac_cpp='$CPP $CPPFLAGS'
36167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36176 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36178 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36179 for ac_func in _fpclass
36180 do :
36181 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36182 if test "x$ac_cv_func__fpclass" = xyes; then :
36183 cat >>confdefs.h <<_ACEOF
36184 #define HAVE__FPCLASS 1
36185 _ACEOF
36188 done
36197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36198 $as_echo_n "checking for qfpclass declaration... " >&6; }
36199 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36200 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36201 $as_echo_n "(cached) " >&6
36202 else
36205 ac_ext=cpp
36206 ac_cpp='$CXXCPP $CPPFLAGS'
36207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36212 /* end confdefs.h. */
36213 #include <math.h>
36214 #ifdef HAVE_IEEEFP_H
36215 #include <ieeefp.h>
36216 #endif
36219 main ()
36221 qfpclass(0);
36223 return 0;
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func_qfpclass_use=yes
36228 else
36229 glibcxx_cv_func_qfpclass_use=no
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36243 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36245 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36246 for ac_func in qfpclass
36247 do :
36248 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36249 if test "x$ac_cv_func_qfpclass" = xyes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE_QFPCLASS 1
36252 _ACEOF
36255 done
36257 else
36259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36260 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36261 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36262 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36263 $as_echo_n "(cached) " >&6
36264 else
36267 ac_ext=cpp
36268 ac_cpp='$CXXCPP $CPPFLAGS'
36269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36274 /* end confdefs.h. */
36275 #include <math.h>
36276 #ifdef HAVE_IEEEFP_H
36277 #include <ieeefp.h>
36278 #endif
36281 main ()
36283 _qfpclass(0);
36285 return 0;
36287 _ACEOF
36288 if ac_fn_cxx_try_compile "$LINENO"; then :
36289 glibcxx_cv_func__qfpclass_use=yes
36290 else
36291 glibcxx_cv_func__qfpclass_use=no
36293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36294 ac_ext=c
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36305 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36307 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36308 for ac_func in _qfpclass
36309 do :
36310 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36311 if test "x$ac_cv_func__qfpclass" = xyes; then :
36312 cat >>confdefs.h <<_ACEOF
36313 #define HAVE__QFPCLASS 1
36314 _ACEOF
36317 done
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36327 $as_echo_n "checking for hypot declaration... " >&6; }
36328 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36329 if ${glibcxx_cv_func_hypot_use+:} false; then :
36330 $as_echo_n "(cached) " >&6
36331 else
36334 ac_ext=cpp
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36341 /* end confdefs.h. */
36342 #include <math.h>
36344 main ()
36346 hypot(0, 0);
36348 return 0;
36350 _ACEOF
36351 if ac_fn_cxx_try_compile "$LINENO"; then :
36352 glibcxx_cv_func_hypot_use=yes
36353 else
36354 glibcxx_cv_func_hypot_use=no
36356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 ac_ext=c
36358 ac_cpp='$CPP $CPPFLAGS'
36359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36368 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36370 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36371 for ac_func in hypot
36372 do :
36373 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36374 if test "x$ac_cv_func_hypot" = xyes; then :
36375 cat >>confdefs.h <<_ACEOF
36376 #define HAVE_HYPOT 1
36377 _ACEOF
36380 done
36382 else
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36385 $as_echo_n "checking for _hypot declaration... " >&6; }
36386 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36387 if ${glibcxx_cv_func__hypot_use+:} false; then :
36388 $as_echo_n "(cached) " >&6
36389 else
36392 ac_ext=cpp
36393 ac_cpp='$CXXCPP $CPPFLAGS'
36394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36399 /* end confdefs.h. */
36400 #include <math.h>
36402 main ()
36404 _hypot(0, 0);
36406 return 0;
36408 _ACEOF
36409 if ac_fn_cxx_try_compile "$LINENO"; then :
36410 glibcxx_cv_func__hypot_use=yes
36411 else
36412 glibcxx_cv_func__hypot_use=no
36414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36415 ac_ext=c
36416 ac_cpp='$CPP $CPPFLAGS'
36417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36426 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36428 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36429 for ac_func in _hypot
36430 do :
36431 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36432 if test "x$ac_cv_func__hypot" = xyes; then :
36433 cat >>confdefs.h <<_ACEOF
36434 #define HAVE__HYPOT 1
36435 _ACEOF
36438 done
36447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36448 $as_echo_n "checking for float trig functions... " >&6; }
36449 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36450 $as_echo_n "(cached) " >&6
36451 else
36454 ac_ext=cpp
36455 ac_cpp='$CXXCPP $CPPFLAGS'
36456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36461 /* end confdefs.h. */
36462 #include <math.h>
36464 main ()
36466 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36468 return 0;
36470 _ACEOF
36471 if ac_fn_cxx_try_compile "$LINENO"; then :
36472 glibcxx_cv_func_float_trig_use=yes
36473 else
36474 glibcxx_cv_func_float_trig_use=no
36476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36477 ac_ext=c
36478 ac_cpp='$CPP $CPPFLAGS'
36479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36486 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36487 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36488 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36489 do :
36490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36492 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36493 cat >>confdefs.h <<_ACEOF
36494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36495 _ACEOF
36498 done
36500 else
36501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36502 $as_echo_n "checking for _float trig functions... " >&6; }
36503 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36504 $as_echo_n "(cached) " >&6
36505 else
36508 ac_ext=cpp
36509 ac_cpp='$CXXCPP $CPPFLAGS'
36510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36515 /* end confdefs.h. */
36516 #include <math.h>
36518 main ()
36520 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36522 return 0;
36524 _ACEOF
36525 if ac_fn_cxx_try_compile "$LINENO"; then :
36526 glibcxx_cv_func__float_trig_use=yes
36527 else
36528 glibcxx_cv_func__float_trig_use=no
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531 ac_ext=c
36532 ac_cpp='$CPP $CPPFLAGS'
36533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36540 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36541 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36542 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36543 do :
36544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36546 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36547 cat >>confdefs.h <<_ACEOF
36548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36549 _ACEOF
36552 done
36561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36562 $as_echo_n "checking for float round functions... " >&6; }
36563 if ${glibcxx_cv_func_float_round_use+:} false; then :
36564 $as_echo_n "(cached) " >&6
36565 else
36568 ac_ext=cpp
36569 ac_cpp='$CXXCPP $CPPFLAGS'
36570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36575 /* end confdefs.h. */
36576 #include <math.h>
36578 main ()
36580 ceilf (0); floorf (0);
36582 return 0;
36584 _ACEOF
36585 if ac_fn_cxx_try_compile "$LINENO"; then :
36586 glibcxx_cv_func_float_round_use=yes
36587 else
36588 glibcxx_cv_func_float_round_use=no
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36600 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36601 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36602 for ac_func in ceilf floorf
36603 do :
36604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36606 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36607 cat >>confdefs.h <<_ACEOF
36608 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36609 _ACEOF
36612 done
36614 else
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36616 $as_echo_n "checking for _float round functions... " >&6; }
36617 if ${glibcxx_cv_func__float_round_use+:} false; then :
36618 $as_echo_n "(cached) " >&6
36619 else
36622 ac_ext=cpp
36623 ac_cpp='$CXXCPP $CPPFLAGS'
36624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36629 /* end confdefs.h. */
36630 #include <math.h>
36632 main ()
36634 _ceilf (0); _floorf (0);
36636 return 0;
36638 _ACEOF
36639 if ac_fn_cxx_try_compile "$LINENO"; then :
36640 glibcxx_cv_func__float_round_use=yes
36641 else
36642 glibcxx_cv_func__float_round_use=no
36644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36645 ac_ext=c
36646 ac_cpp='$CPP $CPPFLAGS'
36647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36654 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36655 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36656 for ac_func in _ceilf _floorf
36657 do :
36658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36661 cat >>confdefs.h <<_ACEOF
36662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36663 _ACEOF
36666 done
36676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36677 $as_echo_n "checking for expf declaration... " >&6; }
36678 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36679 if ${glibcxx_cv_func_expf_use+:} false; then :
36680 $as_echo_n "(cached) " >&6
36681 else
36684 ac_ext=cpp
36685 ac_cpp='$CXXCPP $CPPFLAGS'
36686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36691 /* end confdefs.h. */
36692 #include <math.h>
36693 #ifdef HAVE_IEEEFP_H
36694 #include <ieeefp.h>
36695 #endif
36698 main ()
36700 expf(0);
36702 return 0;
36704 _ACEOF
36705 if ac_fn_cxx_try_compile "$LINENO"; then :
36706 glibcxx_cv_func_expf_use=yes
36707 else
36708 glibcxx_cv_func_expf_use=no
36710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36711 ac_ext=c
36712 ac_cpp='$CPP $CPPFLAGS'
36713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36722 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36724 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36725 for ac_func in expf
36726 do :
36727 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36728 if test "x$ac_cv_func_expf" = xyes; then :
36729 cat >>confdefs.h <<_ACEOF
36730 #define HAVE_EXPF 1
36731 _ACEOF
36734 done
36736 else
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36739 $as_echo_n "checking for _expf declaration... " >&6; }
36740 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36741 if ${glibcxx_cv_func__expf_use+:} false; then :
36742 $as_echo_n "(cached) " >&6
36743 else
36746 ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36754 #include <math.h>
36755 #ifdef HAVE_IEEEFP_H
36756 #include <ieeefp.h>
36757 #endif
36760 main ()
36762 _expf(0);
36764 return 0;
36766 _ACEOF
36767 if ac_fn_cxx_try_compile "$LINENO"; then :
36768 glibcxx_cv_func__expf_use=yes
36769 else
36770 glibcxx_cv_func__expf_use=no
36772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36773 ac_ext=c
36774 ac_cpp='$CPP $CPPFLAGS'
36775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36784 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36786 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36787 for ac_func in _expf
36788 do :
36789 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36790 if test "x$ac_cv_func__expf" = xyes; then :
36791 cat >>confdefs.h <<_ACEOF
36792 #define HAVE__EXPF 1
36793 _ACEOF
36796 done
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36806 $as_echo_n "checking for isnanf declaration... " >&6; }
36807 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36808 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36809 $as_echo_n "(cached) " >&6
36810 else
36813 ac_ext=cpp
36814 ac_cpp='$CXXCPP $CPPFLAGS'
36815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36820 /* end confdefs.h. */
36821 #include <math.h>
36822 #ifdef HAVE_IEEEFP_H
36823 #include <ieeefp.h>
36824 #endif
36827 main ()
36829 isnanf(0);
36831 return 0;
36833 _ACEOF
36834 if ac_fn_cxx_try_compile "$LINENO"; then :
36835 glibcxx_cv_func_isnanf_use=yes
36836 else
36837 glibcxx_cv_func_isnanf_use=no
36839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36840 ac_ext=c
36841 ac_cpp='$CPP $CPPFLAGS'
36842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36851 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36853 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36854 for ac_func in isnanf
36855 do :
36856 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36857 if test "x$ac_cv_func_isnanf" = xyes; then :
36858 cat >>confdefs.h <<_ACEOF
36859 #define HAVE_ISNANF 1
36860 _ACEOF
36863 done
36865 else
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36868 $as_echo_n "checking for _isnanf declaration... " >&6; }
36869 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36870 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36871 $as_echo_n "(cached) " >&6
36872 else
36875 ac_ext=cpp
36876 ac_cpp='$CXXCPP $CPPFLAGS'
36877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36882 /* end confdefs.h. */
36883 #include <math.h>
36884 #ifdef HAVE_IEEEFP_H
36885 #include <ieeefp.h>
36886 #endif
36889 main ()
36891 _isnanf(0);
36893 return 0;
36895 _ACEOF
36896 if ac_fn_cxx_try_compile "$LINENO"; then :
36897 glibcxx_cv_func__isnanf_use=yes
36898 else
36899 glibcxx_cv_func__isnanf_use=no
36901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 ac_ext=c
36903 ac_cpp='$CPP $CPPFLAGS'
36904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36913 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36915 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36916 for ac_func in _isnanf
36917 do :
36918 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36919 if test "x$ac_cv_func__isnanf" = xyes; then :
36920 cat >>confdefs.h <<_ACEOF
36921 #define HAVE__ISNANF 1
36922 _ACEOF
36925 done
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36935 $as_echo_n "checking for isinff declaration... " >&6; }
36936 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36937 if ${glibcxx_cv_func_isinff_use+:} false; then :
36938 $as_echo_n "(cached) " >&6
36939 else
36942 ac_ext=cpp
36943 ac_cpp='$CXXCPP $CPPFLAGS'
36944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36949 /* end confdefs.h. */
36950 #include <math.h>
36951 #ifdef HAVE_IEEEFP_H
36952 #include <ieeefp.h>
36953 #endif
36956 main ()
36958 isinff(0);
36960 return 0;
36962 _ACEOF
36963 if ac_fn_cxx_try_compile "$LINENO"; then :
36964 glibcxx_cv_func_isinff_use=yes
36965 else
36966 glibcxx_cv_func_isinff_use=no
36968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36969 ac_ext=c
36970 ac_cpp='$CPP $CPPFLAGS'
36971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36980 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36982 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36983 for ac_func in isinff
36984 do :
36985 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36986 if test "x$ac_cv_func_isinff" = xyes; then :
36987 cat >>confdefs.h <<_ACEOF
36988 #define HAVE_ISINFF 1
36989 _ACEOF
36992 done
36994 else
36996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36997 $as_echo_n "checking for _isinff declaration... " >&6; }
36998 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36999 if ${glibcxx_cv_func__isinff_use+:} false; then :
37000 $as_echo_n "(cached) " >&6
37001 else
37004 ac_ext=cpp
37005 ac_cpp='$CXXCPP $CPPFLAGS'
37006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37011 /* end confdefs.h. */
37012 #include <math.h>
37013 #ifdef HAVE_IEEEFP_H
37014 #include <ieeefp.h>
37015 #endif
37018 main ()
37020 _isinff(0);
37022 return 0;
37024 _ACEOF
37025 if ac_fn_cxx_try_compile "$LINENO"; then :
37026 glibcxx_cv_func__isinff_use=yes
37027 else
37028 glibcxx_cv_func__isinff_use=no
37030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37031 ac_ext=c
37032 ac_cpp='$CPP $CPPFLAGS'
37033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37042 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37044 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37045 for ac_func in _isinff
37046 do :
37047 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37048 if test "x$ac_cv_func__isinff" = xyes; then :
37049 cat >>confdefs.h <<_ACEOF
37050 #define HAVE__ISINFF 1
37051 _ACEOF
37054 done
37063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37064 $as_echo_n "checking for atan2f declaration... " >&6; }
37065 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37066 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37067 $as_echo_n "(cached) " >&6
37068 else
37071 ac_ext=cpp
37072 ac_cpp='$CXXCPP $CPPFLAGS'
37073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37078 /* end confdefs.h. */
37079 #include <math.h>
37081 main ()
37083 atan2f(0, 0);
37085 return 0;
37087 _ACEOF
37088 if ac_fn_cxx_try_compile "$LINENO"; then :
37089 glibcxx_cv_func_atan2f_use=yes
37090 else
37091 glibcxx_cv_func_atan2f_use=no
37093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37094 ac_ext=c
37095 ac_cpp='$CPP $CPPFLAGS'
37096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37105 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37107 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37108 for ac_func in atan2f
37109 do :
37110 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37111 if test "x$ac_cv_func_atan2f" = xyes; then :
37112 cat >>confdefs.h <<_ACEOF
37113 #define HAVE_ATAN2F 1
37114 _ACEOF
37117 done
37119 else
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37122 $as_echo_n "checking for _atan2f declaration... " >&6; }
37123 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37124 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37125 $as_echo_n "(cached) " >&6
37126 else
37129 ac_ext=cpp
37130 ac_cpp='$CXXCPP $CPPFLAGS'
37131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37136 /* end confdefs.h. */
37137 #include <math.h>
37139 main ()
37141 _atan2f(0, 0);
37143 return 0;
37145 _ACEOF
37146 if ac_fn_cxx_try_compile "$LINENO"; then :
37147 glibcxx_cv_func__atan2f_use=yes
37148 else
37149 glibcxx_cv_func__atan2f_use=no
37151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152 ac_ext=c
37153 ac_cpp='$CPP $CPPFLAGS'
37154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37163 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37165 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37166 for ac_func in _atan2f
37167 do :
37168 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37169 if test "x$ac_cv_func__atan2f" = xyes; then :
37170 cat >>confdefs.h <<_ACEOF
37171 #define HAVE__ATAN2F 1
37172 _ACEOF
37175 done
37184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37185 $as_echo_n "checking for fabsf declaration... " >&6; }
37186 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37187 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37188 $as_echo_n "(cached) " >&6
37189 else
37192 ac_ext=cpp
37193 ac_cpp='$CXXCPP $CPPFLAGS'
37194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37199 /* end confdefs.h. */
37200 #include <math.h>
37201 #ifdef HAVE_IEEEFP_H
37202 #include <ieeefp.h>
37203 #endif
37206 main ()
37208 fabsf(0);
37210 return 0;
37212 _ACEOF
37213 if ac_fn_cxx_try_compile "$LINENO"; then :
37214 glibcxx_cv_func_fabsf_use=yes
37215 else
37216 glibcxx_cv_func_fabsf_use=no
37218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37219 ac_ext=c
37220 ac_cpp='$CPP $CPPFLAGS'
37221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37230 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37232 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37233 for ac_func in fabsf
37234 do :
37235 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37236 if test "x$ac_cv_func_fabsf" = xyes; then :
37237 cat >>confdefs.h <<_ACEOF
37238 #define HAVE_FABSF 1
37239 _ACEOF
37242 done
37244 else
37246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37247 $as_echo_n "checking for _fabsf declaration... " >&6; }
37248 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37249 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37250 $as_echo_n "(cached) " >&6
37251 else
37254 ac_ext=cpp
37255 ac_cpp='$CXXCPP $CPPFLAGS'
37256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37261 /* end confdefs.h. */
37262 #include <math.h>
37263 #ifdef HAVE_IEEEFP_H
37264 #include <ieeefp.h>
37265 #endif
37268 main ()
37270 _fabsf(0);
37272 return 0;
37274 _ACEOF
37275 if ac_fn_cxx_try_compile "$LINENO"; then :
37276 glibcxx_cv_func__fabsf_use=yes
37277 else
37278 glibcxx_cv_func__fabsf_use=no
37280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37281 ac_ext=c
37282 ac_cpp='$CPP $CPPFLAGS'
37283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37292 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37294 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37295 for ac_func in _fabsf
37296 do :
37297 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37298 if test "x$ac_cv_func__fabsf" = xyes; then :
37299 cat >>confdefs.h <<_ACEOF
37300 #define HAVE__FABSF 1
37301 _ACEOF
37304 done
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37314 $as_echo_n "checking for fmodf declaration... " >&6; }
37315 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37316 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37331 main ()
37333 fmodf(0, 0);
37335 return 0;
37337 _ACEOF
37338 if ac_fn_cxx_try_compile "$LINENO"; then :
37339 glibcxx_cv_func_fmodf_use=yes
37340 else
37341 glibcxx_cv_func_fmodf_use=no
37343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37344 ac_ext=c
37345 ac_cpp='$CPP $CPPFLAGS'
37346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37355 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37357 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37358 for ac_func in fmodf
37359 do :
37360 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37361 if test "x$ac_cv_func_fmodf" = xyes; then :
37362 cat >>confdefs.h <<_ACEOF
37363 #define HAVE_FMODF 1
37364 _ACEOF
37367 done
37369 else
37371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37372 $as_echo_n "checking for _fmodf declaration... " >&6; }
37373 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37374 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37375 $as_echo_n "(cached) " >&6
37376 else
37379 ac_ext=cpp
37380 ac_cpp='$CXXCPP $CPPFLAGS'
37381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37386 /* end confdefs.h. */
37387 #include <math.h>
37389 main ()
37391 _fmodf(0, 0);
37393 return 0;
37395 _ACEOF
37396 if ac_fn_cxx_try_compile "$LINENO"; then :
37397 glibcxx_cv_func__fmodf_use=yes
37398 else
37399 glibcxx_cv_func__fmodf_use=no
37401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37402 ac_ext=c
37403 ac_cpp='$CPP $CPPFLAGS'
37404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37413 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37415 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37416 for ac_func in _fmodf
37417 do :
37418 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37419 if test "x$ac_cv_func__fmodf" = xyes; then :
37420 cat >>confdefs.h <<_ACEOF
37421 #define HAVE__FMODF 1
37422 _ACEOF
37425 done
37434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37435 $as_echo_n "checking for frexpf declaration... " >&6; }
37436 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37437 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37438 $as_echo_n "(cached) " >&6
37439 else
37442 ac_ext=cpp
37443 ac_cpp='$CXXCPP $CPPFLAGS'
37444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37449 /* end confdefs.h. */
37450 #include <math.h>
37452 main ()
37454 frexpf(0, 0);
37456 return 0;
37458 _ACEOF
37459 if ac_fn_cxx_try_compile "$LINENO"; then :
37460 glibcxx_cv_func_frexpf_use=yes
37461 else
37462 glibcxx_cv_func_frexpf_use=no
37464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_ext=c
37466 ac_cpp='$CPP $CPPFLAGS'
37467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37476 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37478 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37479 for ac_func in frexpf
37480 do :
37481 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37482 if test "x$ac_cv_func_frexpf" = xyes; then :
37483 cat >>confdefs.h <<_ACEOF
37484 #define HAVE_FREXPF 1
37485 _ACEOF
37488 done
37490 else
37492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37493 $as_echo_n "checking for _frexpf declaration... " >&6; }
37494 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37495 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37496 $as_echo_n "(cached) " >&6
37497 else
37500 ac_ext=cpp
37501 ac_cpp='$CXXCPP $CPPFLAGS'
37502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37507 /* end confdefs.h. */
37508 #include <math.h>
37510 main ()
37512 _frexpf(0, 0);
37514 return 0;
37516 _ACEOF
37517 if ac_fn_cxx_try_compile "$LINENO"; then :
37518 glibcxx_cv_func__frexpf_use=yes
37519 else
37520 glibcxx_cv_func__frexpf_use=no
37522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37523 ac_ext=c
37524 ac_cpp='$CPP $CPPFLAGS'
37525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37534 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37536 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37537 for ac_func in _frexpf
37538 do :
37539 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37540 if test "x$ac_cv_func__frexpf" = xyes; then :
37541 cat >>confdefs.h <<_ACEOF
37542 #define HAVE__FREXPF 1
37543 _ACEOF
37546 done
37555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37556 $as_echo_n "checking for hypotf declaration... " >&6; }
37557 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37558 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37559 $as_echo_n "(cached) " >&6
37560 else
37563 ac_ext=cpp
37564 ac_cpp='$CXXCPP $CPPFLAGS'
37565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570 /* end confdefs.h. */
37571 #include <math.h>
37573 main ()
37575 hypotf(0, 0);
37577 return 0;
37579 _ACEOF
37580 if ac_fn_cxx_try_compile "$LINENO"; then :
37581 glibcxx_cv_func_hypotf_use=yes
37582 else
37583 glibcxx_cv_func_hypotf_use=no
37585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37586 ac_ext=c
37587 ac_cpp='$CPP $CPPFLAGS'
37588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37597 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37599 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37600 for ac_func in hypotf
37601 do :
37602 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37603 if test "x$ac_cv_func_hypotf" = xyes; then :
37604 cat >>confdefs.h <<_ACEOF
37605 #define HAVE_HYPOTF 1
37606 _ACEOF
37609 done
37611 else
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37614 $as_echo_n "checking for _hypotf declaration... " >&6; }
37615 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37616 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37617 $as_echo_n "(cached) " >&6
37618 else
37621 ac_ext=cpp
37622 ac_cpp='$CXXCPP $CPPFLAGS'
37623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37628 /* end confdefs.h. */
37629 #include <math.h>
37631 main ()
37633 _hypotf(0, 0);
37635 return 0;
37637 _ACEOF
37638 if ac_fn_cxx_try_compile "$LINENO"; then :
37639 glibcxx_cv_func__hypotf_use=yes
37640 else
37641 glibcxx_cv_func__hypotf_use=no
37643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37644 ac_ext=c
37645 ac_cpp='$CPP $CPPFLAGS'
37646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37655 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37657 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37658 for ac_func in _hypotf
37659 do :
37660 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37661 if test "x$ac_cv_func__hypotf" = xyes; then :
37662 cat >>confdefs.h <<_ACEOF
37663 #define HAVE__HYPOTF 1
37664 _ACEOF
37667 done
37676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37677 $as_echo_n "checking for ldexpf declaration... " >&6; }
37678 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37679 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37680 $as_echo_n "(cached) " >&6
37681 else
37684 ac_ext=cpp
37685 ac_cpp='$CXXCPP $CPPFLAGS'
37686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37691 /* end confdefs.h. */
37692 #include <math.h>
37694 main ()
37696 ldexpf(0, 0);
37698 return 0;
37700 _ACEOF
37701 if ac_fn_cxx_try_compile "$LINENO"; then :
37702 glibcxx_cv_func_ldexpf_use=yes
37703 else
37704 glibcxx_cv_func_ldexpf_use=no
37706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37707 ac_ext=c
37708 ac_cpp='$CPP $CPPFLAGS'
37709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37718 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37720 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37721 for ac_func in ldexpf
37722 do :
37723 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37724 if test "x$ac_cv_func_ldexpf" = xyes; then :
37725 cat >>confdefs.h <<_ACEOF
37726 #define HAVE_LDEXPF 1
37727 _ACEOF
37730 done
37732 else
37734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37735 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37736 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37737 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37738 $as_echo_n "(cached) " >&6
37739 else
37742 ac_ext=cpp
37743 ac_cpp='$CXXCPP $CPPFLAGS'
37744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37749 /* end confdefs.h. */
37750 #include <math.h>
37752 main ()
37754 _ldexpf(0, 0);
37756 return 0;
37758 _ACEOF
37759 if ac_fn_cxx_try_compile "$LINENO"; then :
37760 glibcxx_cv_func__ldexpf_use=yes
37761 else
37762 glibcxx_cv_func__ldexpf_use=no
37764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37765 ac_ext=c
37766 ac_cpp='$CPP $CPPFLAGS'
37767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37776 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37778 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37779 for ac_func in _ldexpf
37780 do :
37781 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37782 if test "x$ac_cv_func__ldexpf" = xyes; then :
37783 cat >>confdefs.h <<_ACEOF
37784 #define HAVE__LDEXPF 1
37785 _ACEOF
37788 done
37797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37798 $as_echo_n "checking for logf declaration... " >&6; }
37799 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37800 if ${glibcxx_cv_func_logf_use+:} false; then :
37801 $as_echo_n "(cached) " >&6
37802 else
37805 ac_ext=cpp
37806 ac_cpp='$CXXCPP $CPPFLAGS'
37807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37812 /* end confdefs.h. */
37813 #include <math.h>
37814 #ifdef HAVE_IEEEFP_H
37815 #include <ieeefp.h>
37816 #endif
37819 main ()
37821 logf(0);
37823 return 0;
37825 _ACEOF
37826 if ac_fn_cxx_try_compile "$LINENO"; then :
37827 glibcxx_cv_func_logf_use=yes
37828 else
37829 glibcxx_cv_func_logf_use=no
37831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37832 ac_ext=c
37833 ac_cpp='$CPP $CPPFLAGS'
37834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37843 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37845 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37846 for ac_func in logf
37847 do :
37848 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37849 if test "x$ac_cv_func_logf" = xyes; then :
37850 cat >>confdefs.h <<_ACEOF
37851 #define HAVE_LOGF 1
37852 _ACEOF
37855 done
37857 else
37859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37860 $as_echo_n "checking for _logf declaration... " >&6; }
37861 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37862 if ${glibcxx_cv_func__logf_use+:} false; then :
37863 $as_echo_n "(cached) " >&6
37864 else
37867 ac_ext=cpp
37868 ac_cpp='$CXXCPP $CPPFLAGS'
37869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37874 /* end confdefs.h. */
37875 #include <math.h>
37876 #ifdef HAVE_IEEEFP_H
37877 #include <ieeefp.h>
37878 #endif
37881 main ()
37883 _logf(0);
37885 return 0;
37887 _ACEOF
37888 if ac_fn_cxx_try_compile "$LINENO"; then :
37889 glibcxx_cv_func__logf_use=yes
37890 else
37891 glibcxx_cv_func__logf_use=no
37893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37894 ac_ext=c
37895 ac_cpp='$CPP $CPPFLAGS'
37896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37905 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37907 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37908 for ac_func in _logf
37909 do :
37910 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37911 if test "x$ac_cv_func__logf" = xyes; then :
37912 cat >>confdefs.h <<_ACEOF
37913 #define HAVE__LOGF 1
37914 _ACEOF
37917 done
37926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37927 $as_echo_n "checking for log10f declaration... " >&6; }
37928 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37929 if ${glibcxx_cv_func_log10f_use+:} false; then :
37930 $as_echo_n "(cached) " >&6
37931 else
37934 ac_ext=cpp
37935 ac_cpp='$CXXCPP $CPPFLAGS'
37936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37941 /* end confdefs.h. */
37942 #include <math.h>
37943 #ifdef HAVE_IEEEFP_H
37944 #include <ieeefp.h>
37945 #endif
37948 main ()
37950 log10f(0);
37952 return 0;
37954 _ACEOF
37955 if ac_fn_cxx_try_compile "$LINENO"; then :
37956 glibcxx_cv_func_log10f_use=yes
37957 else
37958 glibcxx_cv_func_log10f_use=no
37960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37961 ac_ext=c
37962 ac_cpp='$CPP $CPPFLAGS'
37963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37972 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37974 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37975 for ac_func in log10f
37976 do :
37977 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37978 if test "x$ac_cv_func_log10f" = xyes; then :
37979 cat >>confdefs.h <<_ACEOF
37980 #define HAVE_LOG10F 1
37981 _ACEOF
37984 done
37986 else
37988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37989 $as_echo_n "checking for _log10f declaration... " >&6; }
37990 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37991 if ${glibcxx_cv_func__log10f_use+:} false; then :
37992 $as_echo_n "(cached) " >&6
37993 else
37996 ac_ext=cpp
37997 ac_cpp='$CXXCPP $CPPFLAGS'
37998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38003 /* end confdefs.h. */
38004 #include <math.h>
38005 #ifdef HAVE_IEEEFP_H
38006 #include <ieeefp.h>
38007 #endif
38010 main ()
38012 _log10f(0);
38014 return 0;
38016 _ACEOF
38017 if ac_fn_cxx_try_compile "$LINENO"; then :
38018 glibcxx_cv_func__log10f_use=yes
38019 else
38020 glibcxx_cv_func__log10f_use=no
38022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38023 ac_ext=c
38024 ac_cpp='$CPP $CPPFLAGS'
38025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38034 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38036 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38037 for ac_func in _log10f
38038 do :
38039 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38040 if test "x$ac_cv_func__log10f" = xyes; then :
38041 cat >>confdefs.h <<_ACEOF
38042 #define HAVE__LOG10F 1
38043 _ACEOF
38046 done
38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38056 $as_echo_n "checking for modff declaration... " >&6; }
38057 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38058 if ${glibcxx_cv_func_modff_use+:} false; then :
38059 $as_echo_n "(cached) " >&6
38060 else
38063 ac_ext=cpp
38064 ac_cpp='$CXXCPP $CPPFLAGS'
38065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38070 /* end confdefs.h. */
38071 #include <math.h>
38073 main ()
38075 modff(0, 0);
38077 return 0;
38079 _ACEOF
38080 if ac_fn_cxx_try_compile "$LINENO"; then :
38081 glibcxx_cv_func_modff_use=yes
38082 else
38083 glibcxx_cv_func_modff_use=no
38085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38086 ac_ext=c
38087 ac_cpp='$CPP $CPPFLAGS'
38088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38097 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38099 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38100 for ac_func in modff
38101 do :
38102 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38103 if test "x$ac_cv_func_modff" = xyes; then :
38104 cat >>confdefs.h <<_ACEOF
38105 #define HAVE_MODFF 1
38106 _ACEOF
38109 done
38111 else
38113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38114 $as_echo_n "checking for _modff declaration... " >&6; }
38115 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38116 if ${glibcxx_cv_func__modff_use+:} false; then :
38117 $as_echo_n "(cached) " >&6
38118 else
38121 ac_ext=cpp
38122 ac_cpp='$CXXCPP $CPPFLAGS'
38123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38128 /* end confdefs.h. */
38129 #include <math.h>
38131 main ()
38133 _modff(0, 0);
38135 return 0;
38137 _ACEOF
38138 if ac_fn_cxx_try_compile "$LINENO"; then :
38139 glibcxx_cv_func__modff_use=yes
38140 else
38141 glibcxx_cv_func__modff_use=no
38143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38144 ac_ext=c
38145 ac_cpp='$CPP $CPPFLAGS'
38146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38155 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38157 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38158 for ac_func in _modff
38159 do :
38160 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38161 if test "x$ac_cv_func__modff" = xyes; then :
38162 cat >>confdefs.h <<_ACEOF
38163 #define HAVE__MODFF 1
38164 _ACEOF
38167 done
38176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38177 $as_echo_n "checking for modf declaration... " >&6; }
38178 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38179 if ${glibcxx_cv_func_modf_use+:} false; then :
38180 $as_echo_n "(cached) " >&6
38181 else
38184 ac_ext=cpp
38185 ac_cpp='$CXXCPP $CPPFLAGS'
38186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38191 /* end confdefs.h. */
38192 #include <math.h>
38194 main ()
38196 modf(0, 0);
38198 return 0;
38200 _ACEOF
38201 if ac_fn_cxx_try_compile "$LINENO"; then :
38202 glibcxx_cv_func_modf_use=yes
38203 else
38204 glibcxx_cv_func_modf_use=no
38206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38207 ac_ext=c
38208 ac_cpp='$CPP $CPPFLAGS'
38209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38218 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38220 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38221 for ac_func in modf
38222 do :
38223 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38224 if test "x$ac_cv_func_modf" = xyes; then :
38225 cat >>confdefs.h <<_ACEOF
38226 #define HAVE_MODF 1
38227 _ACEOF
38230 done
38232 else
38234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38235 $as_echo_n "checking for _modf declaration... " >&6; }
38236 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38237 if ${glibcxx_cv_func__modf_use+:} false; then :
38238 $as_echo_n "(cached) " >&6
38239 else
38242 ac_ext=cpp
38243 ac_cpp='$CXXCPP $CPPFLAGS'
38244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38249 /* end confdefs.h. */
38250 #include <math.h>
38252 main ()
38254 _modf(0, 0);
38256 return 0;
38258 _ACEOF
38259 if ac_fn_cxx_try_compile "$LINENO"; then :
38260 glibcxx_cv_func__modf_use=yes
38261 else
38262 glibcxx_cv_func__modf_use=no
38264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38265 ac_ext=c
38266 ac_cpp='$CPP $CPPFLAGS'
38267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38276 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38278 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38279 for ac_func in _modf
38280 do :
38281 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38282 if test "x$ac_cv_func__modf" = xyes; then :
38283 cat >>confdefs.h <<_ACEOF
38284 #define HAVE__MODF 1
38285 _ACEOF
38288 done
38297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38298 $as_echo_n "checking for powf declaration... " >&6; }
38299 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38300 if ${glibcxx_cv_func_powf_use+:} false; then :
38301 $as_echo_n "(cached) " >&6
38302 else
38305 ac_ext=cpp
38306 ac_cpp='$CXXCPP $CPPFLAGS'
38307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38312 /* end confdefs.h. */
38313 #include <math.h>
38315 main ()
38317 powf(0, 0);
38319 return 0;
38321 _ACEOF
38322 if ac_fn_cxx_try_compile "$LINENO"; then :
38323 glibcxx_cv_func_powf_use=yes
38324 else
38325 glibcxx_cv_func_powf_use=no
38327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38328 ac_ext=c
38329 ac_cpp='$CPP $CPPFLAGS'
38330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38339 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38341 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38342 for ac_func in powf
38343 do :
38344 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38345 if test "x$ac_cv_func_powf" = xyes; then :
38346 cat >>confdefs.h <<_ACEOF
38347 #define HAVE_POWF 1
38348 _ACEOF
38351 done
38353 else
38355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38356 $as_echo_n "checking for _powf declaration... " >&6; }
38357 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38358 if ${glibcxx_cv_func__powf_use+:} false; then :
38359 $as_echo_n "(cached) " >&6
38360 else
38363 ac_ext=cpp
38364 ac_cpp='$CXXCPP $CPPFLAGS'
38365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38370 /* end confdefs.h. */
38371 #include <math.h>
38373 main ()
38375 _powf(0, 0);
38377 return 0;
38379 _ACEOF
38380 if ac_fn_cxx_try_compile "$LINENO"; then :
38381 glibcxx_cv_func__powf_use=yes
38382 else
38383 glibcxx_cv_func__powf_use=no
38385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38386 ac_ext=c
38387 ac_cpp='$CPP $CPPFLAGS'
38388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38397 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38399 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38400 for ac_func in _powf
38401 do :
38402 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38403 if test "x$ac_cv_func__powf" = xyes; then :
38404 cat >>confdefs.h <<_ACEOF
38405 #define HAVE__POWF 1
38406 _ACEOF
38409 done
38418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38419 $as_echo_n "checking for sqrtf declaration... " >&6; }
38420 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38421 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38422 $as_echo_n "(cached) " >&6
38423 else
38426 ac_ext=cpp
38427 ac_cpp='$CXXCPP $CPPFLAGS'
38428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38433 /* end confdefs.h. */
38434 #include <math.h>
38435 #ifdef HAVE_IEEEFP_H
38436 #include <ieeefp.h>
38437 #endif
38440 main ()
38442 sqrtf(0);
38444 return 0;
38446 _ACEOF
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448 glibcxx_cv_func_sqrtf_use=yes
38449 else
38450 glibcxx_cv_func_sqrtf_use=no
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453 ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38464 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38466 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38467 for ac_func in sqrtf
38468 do :
38469 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38470 if test "x$ac_cv_func_sqrtf" = xyes; then :
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE_SQRTF 1
38473 _ACEOF
38476 done
38478 else
38480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38481 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38482 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38483 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38484 $as_echo_n "(cached) " >&6
38485 else
38488 ac_ext=cpp
38489 ac_cpp='$CXXCPP $CPPFLAGS'
38490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38495 /* end confdefs.h. */
38496 #include <math.h>
38497 #ifdef HAVE_IEEEFP_H
38498 #include <ieeefp.h>
38499 #endif
38502 main ()
38504 _sqrtf(0);
38506 return 0;
38508 _ACEOF
38509 if ac_fn_cxx_try_compile "$LINENO"; then :
38510 glibcxx_cv_func__sqrtf_use=yes
38511 else
38512 glibcxx_cv_func__sqrtf_use=no
38514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38515 ac_ext=c
38516 ac_cpp='$CPP $CPPFLAGS'
38517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38526 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38528 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38529 for ac_func in _sqrtf
38530 do :
38531 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38532 if test "x$ac_cv_func__sqrtf" = xyes; then :
38533 cat >>confdefs.h <<_ACEOF
38534 #define HAVE__SQRTF 1
38535 _ACEOF
38538 done
38547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38548 $as_echo_n "checking for sincosf declaration... " >&6; }
38549 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38550 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38551 $as_echo_n "(cached) " >&6
38552 else
38555 ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38562 /* end confdefs.h. */
38563 #include <math.h>
38565 main ()
38567 sincosf(0, 0, 0);
38569 return 0;
38571 _ACEOF
38572 if ac_fn_cxx_try_compile "$LINENO"; then :
38573 glibcxx_cv_func_sincosf_use=yes
38574 else
38575 glibcxx_cv_func_sincosf_use=no
38577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38578 ac_ext=c
38579 ac_cpp='$CPP $CPPFLAGS'
38580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38589 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38591 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38592 for ac_func in sincosf
38593 do :
38594 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38595 if test "x$ac_cv_func_sincosf" = xyes; then :
38596 cat >>confdefs.h <<_ACEOF
38597 #define HAVE_SINCOSF 1
38598 _ACEOF
38601 done
38603 else
38605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38606 $as_echo_n "checking for _sincosf declaration... " >&6; }
38607 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38608 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38609 $as_echo_n "(cached) " >&6
38610 else
38613 ac_ext=cpp
38614 ac_cpp='$CXXCPP $CPPFLAGS'
38615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38620 /* end confdefs.h. */
38621 #include <math.h>
38623 main ()
38625 _sincosf(0, 0, 0);
38627 return 0;
38629 _ACEOF
38630 if ac_fn_cxx_try_compile "$LINENO"; then :
38631 glibcxx_cv_func__sincosf_use=yes
38632 else
38633 glibcxx_cv_func__sincosf_use=no
38635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38636 ac_ext=c
38637 ac_cpp='$CPP $CPPFLAGS'
38638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38647 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38649 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38650 for ac_func in _sincosf
38651 do :
38652 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38653 if test "x$ac_cv_func__sincosf" = xyes; then :
38654 cat >>confdefs.h <<_ACEOF
38655 #define HAVE__SINCOSF 1
38656 _ACEOF
38659 done
38668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38669 $as_echo_n "checking for finitef declaration... " >&6; }
38670 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38671 if ${glibcxx_cv_func_finitef_use+:} false; then :
38672 $as_echo_n "(cached) " >&6
38673 else
38676 ac_ext=cpp
38677 ac_cpp='$CXXCPP $CPPFLAGS'
38678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38683 /* end confdefs.h. */
38684 #include <math.h>
38685 #ifdef HAVE_IEEEFP_H
38686 #include <ieeefp.h>
38687 #endif
38690 main ()
38692 finitef(0);
38694 return 0;
38696 _ACEOF
38697 if ac_fn_cxx_try_compile "$LINENO"; then :
38698 glibcxx_cv_func_finitef_use=yes
38699 else
38700 glibcxx_cv_func_finitef_use=no
38702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38703 ac_ext=c
38704 ac_cpp='$CPP $CPPFLAGS'
38705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38714 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38716 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38717 for ac_func in finitef
38718 do :
38719 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38720 if test "x$ac_cv_func_finitef" = xyes; then :
38721 cat >>confdefs.h <<_ACEOF
38722 #define HAVE_FINITEF 1
38723 _ACEOF
38726 done
38728 else
38730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38731 $as_echo_n "checking for _finitef declaration... " >&6; }
38732 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38733 if ${glibcxx_cv_func__finitef_use+:} false; then :
38734 $as_echo_n "(cached) " >&6
38735 else
38738 ac_ext=cpp
38739 ac_cpp='$CXXCPP $CPPFLAGS'
38740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38745 /* end confdefs.h. */
38746 #include <math.h>
38747 #ifdef HAVE_IEEEFP_H
38748 #include <ieeefp.h>
38749 #endif
38752 main ()
38754 _finitef(0);
38756 return 0;
38758 _ACEOF
38759 if ac_fn_cxx_try_compile "$LINENO"; then :
38760 glibcxx_cv_func__finitef_use=yes
38761 else
38762 glibcxx_cv_func__finitef_use=no
38764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38765 ac_ext=c
38766 ac_cpp='$CPP $CPPFLAGS'
38767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38776 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38778 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38779 for ac_func in _finitef
38780 do :
38781 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38782 if test "x$ac_cv_func__finitef" = xyes; then :
38783 cat >>confdefs.h <<_ACEOF
38784 #define HAVE__FINITEF 1
38785 _ACEOF
38788 done
38797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38798 $as_echo_n "checking for long double trig functions... " >&6; }
38799 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38800 $as_echo_n "(cached) " >&6
38801 else
38804 ac_ext=cpp
38805 ac_cpp='$CXXCPP $CPPFLAGS'
38806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38811 /* end confdefs.h. */
38812 #include <math.h>
38814 main ()
38816 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38818 return 0;
38820 _ACEOF
38821 if ac_fn_cxx_try_compile "$LINENO"; then :
38822 glibcxx_cv_func_long_double_trig_use=yes
38823 else
38824 glibcxx_cv_func_long_double_trig_use=no
38826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38827 ac_ext=c
38828 ac_cpp='$CPP $CPPFLAGS'
38829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38836 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38837 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38838 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38839 do :
38840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38843 cat >>confdefs.h <<_ACEOF
38844 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38845 _ACEOF
38848 done
38850 else
38851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38852 $as_echo_n "checking for _long double trig functions... " >&6; }
38853 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38854 $as_echo_n "(cached) " >&6
38855 else
38858 ac_ext=cpp
38859 ac_cpp='$CXXCPP $CPPFLAGS'
38860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38865 /* end confdefs.h. */
38866 #include <math.h>
38868 main ()
38870 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38872 return 0;
38874 _ACEOF
38875 if ac_fn_cxx_try_compile "$LINENO"; then :
38876 glibcxx_cv_func__long_double_trig_use=yes
38877 else
38878 glibcxx_cv_func__long_double_trig_use=no
38880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38881 ac_ext=c
38882 ac_cpp='$CPP $CPPFLAGS'
38883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38890 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38891 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38892 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38893 do :
38894 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38895 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38896 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38897 cat >>confdefs.h <<_ACEOF
38898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38899 _ACEOF
38902 done
38911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38912 $as_echo_n "checking for long double round functions... " >&6; }
38913 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38914 $as_echo_n "(cached) " >&6
38915 else
38918 ac_ext=cpp
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38925 /* end confdefs.h. */
38926 #include <math.h>
38928 main ()
38930 ceill (0); floorl (0);
38932 return 0;
38934 _ACEOF
38935 if ac_fn_cxx_try_compile "$LINENO"; then :
38936 glibcxx_cv_func_long_double_round_use=yes
38937 else
38938 glibcxx_cv_func_long_double_round_use=no
38940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38941 ac_ext=c
38942 ac_cpp='$CPP $CPPFLAGS'
38943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38950 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38951 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38952 for ac_func in ceill floorl
38953 do :
38954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38956 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38957 cat >>confdefs.h <<_ACEOF
38958 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38959 _ACEOF
38962 done
38964 else
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38966 $as_echo_n "checking for _long double round functions... " >&6; }
38967 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38968 $as_echo_n "(cached) " >&6
38969 else
38972 ac_ext=cpp
38973 ac_cpp='$CXXCPP $CPPFLAGS'
38974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38979 /* end confdefs.h. */
38980 #include <math.h>
38982 main ()
38984 _ceill (0); _floorl (0);
38986 return 0;
38988 _ACEOF
38989 if ac_fn_cxx_try_compile "$LINENO"; then :
38990 glibcxx_cv_func__long_double_round_use=yes
38991 else
38992 glibcxx_cv_func__long_double_round_use=no
38994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38995 ac_ext=c
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39004 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39005 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39006 for ac_func in _ceill _floorl
39007 do :
39008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39009 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39010 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39013 _ACEOF
39016 done
39026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39027 $as_echo_n "checking for isnanl declaration... " >&6; }
39028 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39029 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39030 $as_echo_n "(cached) " >&6
39031 else
39034 ac_ext=cpp
39035 ac_cpp='$CXXCPP $CPPFLAGS'
39036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39041 /* end confdefs.h. */
39042 #include <math.h>
39043 #ifdef HAVE_IEEEFP_H
39044 #include <ieeefp.h>
39045 #endif
39048 main ()
39050 isnanl(0);
39052 return 0;
39054 _ACEOF
39055 if ac_fn_cxx_try_compile "$LINENO"; then :
39056 glibcxx_cv_func_isnanl_use=yes
39057 else
39058 glibcxx_cv_func_isnanl_use=no
39060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39061 ac_ext=c
39062 ac_cpp='$CPP $CPPFLAGS'
39063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39072 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39074 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39075 for ac_func in isnanl
39076 do :
39077 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39078 if test "x$ac_cv_func_isnanl" = xyes; then :
39079 cat >>confdefs.h <<_ACEOF
39080 #define HAVE_ISNANL 1
39081 _ACEOF
39084 done
39086 else
39088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39089 $as_echo_n "checking for _isnanl declaration... " >&6; }
39090 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39091 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39092 $as_echo_n "(cached) " >&6
39093 else
39096 ac_ext=cpp
39097 ac_cpp='$CXXCPP $CPPFLAGS'
39098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39103 /* end confdefs.h. */
39104 #include <math.h>
39105 #ifdef HAVE_IEEEFP_H
39106 #include <ieeefp.h>
39107 #endif
39110 main ()
39112 _isnanl(0);
39114 return 0;
39116 _ACEOF
39117 if ac_fn_cxx_try_compile "$LINENO"; then :
39118 glibcxx_cv_func__isnanl_use=yes
39119 else
39120 glibcxx_cv_func__isnanl_use=no
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123 ac_ext=c
39124 ac_cpp='$CPP $CPPFLAGS'
39125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39134 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39136 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39137 for ac_func in _isnanl
39138 do :
39139 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39140 if test "x$ac_cv_func__isnanl" = xyes; then :
39141 cat >>confdefs.h <<_ACEOF
39142 #define HAVE__ISNANL 1
39143 _ACEOF
39146 done
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39156 $as_echo_n "checking for isinfl declaration... " >&6; }
39157 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39158 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39159 $as_echo_n "(cached) " >&6
39160 else
39163 ac_ext=cpp
39164 ac_cpp='$CXXCPP $CPPFLAGS'
39165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39170 /* end confdefs.h. */
39171 #include <math.h>
39172 #ifdef HAVE_IEEEFP_H
39173 #include <ieeefp.h>
39174 #endif
39177 main ()
39179 isinfl(0);
39181 return 0;
39183 _ACEOF
39184 if ac_fn_cxx_try_compile "$LINENO"; then :
39185 glibcxx_cv_func_isinfl_use=yes
39186 else
39187 glibcxx_cv_func_isinfl_use=no
39189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39190 ac_ext=c
39191 ac_cpp='$CPP $CPPFLAGS'
39192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39201 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39203 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39204 for ac_func in isinfl
39205 do :
39206 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39207 if test "x$ac_cv_func_isinfl" = xyes; then :
39208 cat >>confdefs.h <<_ACEOF
39209 #define HAVE_ISINFL 1
39210 _ACEOF
39213 done
39215 else
39217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39218 $as_echo_n "checking for _isinfl declaration... " >&6; }
39219 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39220 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39221 $as_echo_n "(cached) " >&6
39222 else
39225 ac_ext=cpp
39226 ac_cpp='$CXXCPP $CPPFLAGS'
39227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39232 /* end confdefs.h. */
39233 #include <math.h>
39234 #ifdef HAVE_IEEEFP_H
39235 #include <ieeefp.h>
39236 #endif
39239 main ()
39241 _isinfl(0);
39243 return 0;
39245 _ACEOF
39246 if ac_fn_cxx_try_compile "$LINENO"; then :
39247 glibcxx_cv_func__isinfl_use=yes
39248 else
39249 glibcxx_cv_func__isinfl_use=no
39251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39252 ac_ext=c
39253 ac_cpp='$CPP $CPPFLAGS'
39254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39263 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39265 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39266 for ac_func in _isinfl
39267 do :
39268 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39269 if test "x$ac_cv_func__isinfl" = xyes; then :
39270 cat >>confdefs.h <<_ACEOF
39271 #define HAVE__ISINFL 1
39272 _ACEOF
39275 done
39284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39285 $as_echo_n "checking for atan2l declaration... " >&6; }
39286 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39287 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39288 $as_echo_n "(cached) " >&6
39289 else
39292 ac_ext=cpp
39293 ac_cpp='$CXXCPP $CPPFLAGS'
39294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39299 /* end confdefs.h. */
39300 #include <math.h>
39302 main ()
39304 atan2l(0, 0);
39306 return 0;
39308 _ACEOF
39309 if ac_fn_cxx_try_compile "$LINENO"; then :
39310 glibcxx_cv_func_atan2l_use=yes
39311 else
39312 glibcxx_cv_func_atan2l_use=no
39314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39315 ac_ext=c
39316 ac_cpp='$CPP $CPPFLAGS'
39317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39326 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39328 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39329 for ac_func in atan2l
39330 do :
39331 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39332 if test "x$ac_cv_func_atan2l" = xyes; then :
39333 cat >>confdefs.h <<_ACEOF
39334 #define HAVE_ATAN2L 1
39335 _ACEOF
39338 done
39340 else
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39343 $as_echo_n "checking for _atan2l declaration... " >&6; }
39344 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39345 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39346 $as_echo_n "(cached) " >&6
39347 else
39350 ac_ext=cpp
39351 ac_cpp='$CXXCPP $CPPFLAGS'
39352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39357 /* end confdefs.h. */
39358 #include <math.h>
39360 main ()
39362 _atan2l(0, 0);
39364 return 0;
39366 _ACEOF
39367 if ac_fn_cxx_try_compile "$LINENO"; then :
39368 glibcxx_cv_func__atan2l_use=yes
39369 else
39370 glibcxx_cv_func__atan2l_use=no
39372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39373 ac_ext=c
39374 ac_cpp='$CPP $CPPFLAGS'
39375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39384 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39386 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39387 for ac_func in _atan2l
39388 do :
39389 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39390 if test "x$ac_cv_func__atan2l" = xyes; then :
39391 cat >>confdefs.h <<_ACEOF
39392 #define HAVE__ATAN2L 1
39393 _ACEOF
39396 done
39405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39406 $as_echo_n "checking for expl declaration... " >&6; }
39407 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39408 if ${glibcxx_cv_func_expl_use+:} false; then :
39409 $as_echo_n "(cached) " >&6
39410 else
39413 ac_ext=cpp
39414 ac_cpp='$CXXCPP $CPPFLAGS'
39415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39420 /* end confdefs.h. */
39421 #include <math.h>
39422 #ifdef HAVE_IEEEFP_H
39423 #include <ieeefp.h>
39424 #endif
39427 main ()
39429 expl(0);
39431 return 0;
39433 _ACEOF
39434 if ac_fn_cxx_try_compile "$LINENO"; then :
39435 glibcxx_cv_func_expl_use=yes
39436 else
39437 glibcxx_cv_func_expl_use=no
39439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39440 ac_ext=c
39441 ac_cpp='$CPP $CPPFLAGS'
39442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39451 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39453 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39454 for ac_func in expl
39455 do :
39456 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39457 if test "x$ac_cv_func_expl" = xyes; then :
39458 cat >>confdefs.h <<_ACEOF
39459 #define HAVE_EXPL 1
39460 _ACEOF
39463 done
39465 else
39467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39468 $as_echo_n "checking for _expl declaration... " >&6; }
39469 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39470 if ${glibcxx_cv_func__expl_use+:} false; then :
39471 $as_echo_n "(cached) " >&6
39472 else
39475 ac_ext=cpp
39476 ac_cpp='$CXXCPP $CPPFLAGS'
39477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39482 /* end confdefs.h. */
39483 #include <math.h>
39484 #ifdef HAVE_IEEEFP_H
39485 #include <ieeefp.h>
39486 #endif
39489 main ()
39491 _expl(0);
39493 return 0;
39495 _ACEOF
39496 if ac_fn_cxx_try_compile "$LINENO"; then :
39497 glibcxx_cv_func__expl_use=yes
39498 else
39499 glibcxx_cv_func__expl_use=no
39501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39502 ac_ext=c
39503 ac_cpp='$CPP $CPPFLAGS'
39504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39513 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39515 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39516 for ac_func in _expl
39517 do :
39518 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39519 if test "x$ac_cv_func__expl" = xyes; then :
39520 cat >>confdefs.h <<_ACEOF
39521 #define HAVE__EXPL 1
39522 _ACEOF
39525 done
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39535 $as_echo_n "checking for fabsl declaration... " >&6; }
39536 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39537 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39538 $as_echo_n "(cached) " >&6
39539 else
39542 ac_ext=cpp
39543 ac_cpp='$CXXCPP $CPPFLAGS'
39544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39549 /* end confdefs.h. */
39550 #include <math.h>
39551 #ifdef HAVE_IEEEFP_H
39552 #include <ieeefp.h>
39553 #endif
39556 main ()
39558 fabsl(0);
39560 return 0;
39562 _ACEOF
39563 if ac_fn_cxx_try_compile "$LINENO"; then :
39564 glibcxx_cv_func_fabsl_use=yes
39565 else
39566 glibcxx_cv_func_fabsl_use=no
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569 ac_ext=c
39570 ac_cpp='$CPP $CPPFLAGS'
39571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39580 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39582 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39583 for ac_func in fabsl
39584 do :
39585 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39586 if test "x$ac_cv_func_fabsl" = xyes; then :
39587 cat >>confdefs.h <<_ACEOF
39588 #define HAVE_FABSL 1
39589 _ACEOF
39592 done
39594 else
39596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39597 $as_echo_n "checking for _fabsl declaration... " >&6; }
39598 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39599 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39600 $as_echo_n "(cached) " >&6
39601 else
39604 ac_ext=cpp
39605 ac_cpp='$CXXCPP $CPPFLAGS'
39606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39611 /* end confdefs.h. */
39612 #include <math.h>
39613 #ifdef HAVE_IEEEFP_H
39614 #include <ieeefp.h>
39615 #endif
39618 main ()
39620 _fabsl(0);
39622 return 0;
39624 _ACEOF
39625 if ac_fn_cxx_try_compile "$LINENO"; then :
39626 glibcxx_cv_func__fabsl_use=yes
39627 else
39628 glibcxx_cv_func__fabsl_use=no
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631 ac_ext=c
39632 ac_cpp='$CPP $CPPFLAGS'
39633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39642 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39644 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39645 for ac_func in _fabsl
39646 do :
39647 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39648 if test "x$ac_cv_func__fabsl" = xyes; then :
39649 cat >>confdefs.h <<_ACEOF
39650 #define HAVE__FABSL 1
39651 _ACEOF
39654 done
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39664 $as_echo_n "checking for fmodl declaration... " >&6; }
39665 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39666 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39667 $as_echo_n "(cached) " >&6
39668 else
39671 ac_ext=cpp
39672 ac_cpp='$CXXCPP $CPPFLAGS'
39673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39678 /* end confdefs.h. */
39679 #include <math.h>
39681 main ()
39683 fmodl(0, 0);
39685 return 0;
39687 _ACEOF
39688 if ac_fn_cxx_try_compile "$LINENO"; then :
39689 glibcxx_cv_func_fmodl_use=yes
39690 else
39691 glibcxx_cv_func_fmodl_use=no
39693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39694 ac_ext=c
39695 ac_cpp='$CPP $CPPFLAGS'
39696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39705 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39707 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39708 for ac_func in fmodl
39709 do :
39710 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39711 if test "x$ac_cv_func_fmodl" = xyes; then :
39712 cat >>confdefs.h <<_ACEOF
39713 #define HAVE_FMODL 1
39714 _ACEOF
39717 done
39719 else
39721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39722 $as_echo_n "checking for _fmodl declaration... " >&6; }
39723 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39724 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39725 $as_echo_n "(cached) " >&6
39726 else
39729 ac_ext=cpp
39730 ac_cpp='$CXXCPP $CPPFLAGS'
39731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39736 /* end confdefs.h. */
39737 #include <math.h>
39739 main ()
39741 _fmodl(0, 0);
39743 return 0;
39745 _ACEOF
39746 if ac_fn_cxx_try_compile "$LINENO"; then :
39747 glibcxx_cv_func__fmodl_use=yes
39748 else
39749 glibcxx_cv_func__fmodl_use=no
39751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39752 ac_ext=c
39753 ac_cpp='$CPP $CPPFLAGS'
39754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39763 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39765 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39766 for ac_func in _fmodl
39767 do :
39768 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39769 if test "x$ac_cv_func__fmodl" = xyes; then :
39770 cat >>confdefs.h <<_ACEOF
39771 #define HAVE__FMODL 1
39772 _ACEOF
39775 done
39784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39785 $as_echo_n "checking for frexpl declaration... " >&6; }
39786 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39787 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39788 $as_echo_n "(cached) " >&6
39789 else
39792 ac_ext=cpp
39793 ac_cpp='$CXXCPP $CPPFLAGS'
39794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39799 /* end confdefs.h. */
39800 #include <math.h>
39802 main ()
39804 frexpl(0, 0);
39806 return 0;
39808 _ACEOF
39809 if ac_fn_cxx_try_compile "$LINENO"; then :
39810 glibcxx_cv_func_frexpl_use=yes
39811 else
39812 glibcxx_cv_func_frexpl_use=no
39814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39815 ac_ext=c
39816 ac_cpp='$CPP $CPPFLAGS'
39817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39826 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39828 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39829 for ac_func in frexpl
39830 do :
39831 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39832 if test "x$ac_cv_func_frexpl" = xyes; then :
39833 cat >>confdefs.h <<_ACEOF
39834 #define HAVE_FREXPL 1
39835 _ACEOF
39838 done
39840 else
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39843 $as_echo_n "checking for _frexpl declaration... " >&6; }
39844 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39845 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39846 $as_echo_n "(cached) " >&6
39847 else
39850 ac_ext=cpp
39851 ac_cpp='$CXXCPP $CPPFLAGS'
39852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39857 /* end confdefs.h. */
39858 #include <math.h>
39860 main ()
39862 _frexpl(0, 0);
39864 return 0;
39866 _ACEOF
39867 if ac_fn_cxx_try_compile "$LINENO"; then :
39868 glibcxx_cv_func__frexpl_use=yes
39869 else
39870 glibcxx_cv_func__frexpl_use=no
39872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39873 ac_ext=c
39874 ac_cpp='$CPP $CPPFLAGS'
39875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39884 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39886 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39887 for ac_func in _frexpl
39888 do :
39889 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39890 if test "x$ac_cv_func__frexpl" = xyes; then :
39891 cat >>confdefs.h <<_ACEOF
39892 #define HAVE__FREXPL 1
39893 _ACEOF
39896 done
39905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39906 $as_echo_n "checking for hypotl declaration... " >&6; }
39907 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39908 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39909 $as_echo_n "(cached) " >&6
39910 else
39913 ac_ext=cpp
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39920 /* end confdefs.h. */
39921 #include <math.h>
39923 main ()
39925 hypotl(0, 0);
39927 return 0;
39929 _ACEOF
39930 if ac_fn_cxx_try_compile "$LINENO"; then :
39931 glibcxx_cv_func_hypotl_use=yes
39932 else
39933 glibcxx_cv_func_hypotl_use=no
39935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39936 ac_ext=c
39937 ac_cpp='$CPP $CPPFLAGS'
39938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39947 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39949 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39950 for ac_func in hypotl
39951 do :
39952 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39953 if test "x$ac_cv_func_hypotl" = xyes; then :
39954 cat >>confdefs.h <<_ACEOF
39955 #define HAVE_HYPOTL 1
39956 _ACEOF
39959 done
39961 else
39963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39964 $as_echo_n "checking for _hypotl declaration... " >&6; }
39965 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39966 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39967 $as_echo_n "(cached) " >&6
39968 else
39971 ac_ext=cpp
39972 ac_cpp='$CXXCPP $CPPFLAGS'
39973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39978 /* end confdefs.h. */
39979 #include <math.h>
39981 main ()
39983 _hypotl(0, 0);
39985 return 0;
39987 _ACEOF
39988 if ac_fn_cxx_try_compile "$LINENO"; then :
39989 glibcxx_cv_func__hypotl_use=yes
39990 else
39991 glibcxx_cv_func__hypotl_use=no
39993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39994 ac_ext=c
39995 ac_cpp='$CPP $CPPFLAGS'
39996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40005 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40007 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40008 for ac_func in _hypotl
40009 do :
40010 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40011 if test "x$ac_cv_func__hypotl" = xyes; then :
40012 cat >>confdefs.h <<_ACEOF
40013 #define HAVE__HYPOTL 1
40014 _ACEOF
40017 done
40026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40027 $as_echo_n "checking for ldexpl declaration... " >&6; }
40028 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40029 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40030 $as_echo_n "(cached) " >&6
40031 else
40034 ac_ext=cpp
40035 ac_cpp='$CXXCPP $CPPFLAGS'
40036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40041 /* end confdefs.h. */
40042 #include <math.h>
40044 main ()
40046 ldexpl(0, 0);
40048 return 0;
40050 _ACEOF
40051 if ac_fn_cxx_try_compile "$LINENO"; then :
40052 glibcxx_cv_func_ldexpl_use=yes
40053 else
40054 glibcxx_cv_func_ldexpl_use=no
40056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40057 ac_ext=c
40058 ac_cpp='$CPP $CPPFLAGS'
40059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40068 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40070 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40071 for ac_func in ldexpl
40072 do :
40073 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40074 if test "x$ac_cv_func_ldexpl" = xyes; then :
40075 cat >>confdefs.h <<_ACEOF
40076 #define HAVE_LDEXPL 1
40077 _ACEOF
40080 done
40082 else
40084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40085 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40086 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40087 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40088 $as_echo_n "(cached) " >&6
40089 else
40092 ac_ext=cpp
40093 ac_cpp='$CXXCPP $CPPFLAGS'
40094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40099 /* end confdefs.h. */
40100 #include <math.h>
40102 main ()
40104 _ldexpl(0, 0);
40106 return 0;
40108 _ACEOF
40109 if ac_fn_cxx_try_compile "$LINENO"; then :
40110 glibcxx_cv_func__ldexpl_use=yes
40111 else
40112 glibcxx_cv_func__ldexpl_use=no
40114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40115 ac_ext=c
40116 ac_cpp='$CPP $CPPFLAGS'
40117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40126 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40128 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40129 for ac_func in _ldexpl
40130 do :
40131 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40132 if test "x$ac_cv_func__ldexpl" = xyes; then :
40133 cat >>confdefs.h <<_ACEOF
40134 #define HAVE__LDEXPL 1
40135 _ACEOF
40138 done
40147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40148 $as_echo_n "checking for logl declaration... " >&6; }
40149 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40150 if ${glibcxx_cv_func_logl_use+:} false; then :
40151 $as_echo_n "(cached) " >&6
40152 else
40155 ac_ext=cpp
40156 ac_cpp='$CXXCPP $CPPFLAGS'
40157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40162 /* end confdefs.h. */
40163 #include <math.h>
40164 #ifdef HAVE_IEEEFP_H
40165 #include <ieeefp.h>
40166 #endif
40169 main ()
40171 logl(0);
40173 return 0;
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177 glibcxx_cv_func_logl_use=yes
40178 else
40179 glibcxx_cv_func_logl_use=no
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182 ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40193 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40195 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40196 for ac_func in logl
40197 do :
40198 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40199 if test "x$ac_cv_func_logl" = xyes; then :
40200 cat >>confdefs.h <<_ACEOF
40201 #define HAVE_LOGL 1
40202 _ACEOF
40205 done
40207 else
40209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40210 $as_echo_n "checking for _logl declaration... " >&6; }
40211 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40212 if ${glibcxx_cv_func__logl_use+:} false; then :
40213 $as_echo_n "(cached) " >&6
40214 else
40217 ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h. */
40225 #include <math.h>
40226 #ifdef HAVE_IEEEFP_H
40227 #include <ieeefp.h>
40228 #endif
40231 main ()
40233 _logl(0);
40235 return 0;
40237 _ACEOF
40238 if ac_fn_cxx_try_compile "$LINENO"; then :
40239 glibcxx_cv_func__logl_use=yes
40240 else
40241 glibcxx_cv_func__logl_use=no
40243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40244 ac_ext=c
40245 ac_cpp='$CPP $CPPFLAGS'
40246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40255 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40257 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40258 for ac_func in _logl
40259 do :
40260 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40261 if test "x$ac_cv_func__logl" = xyes; then :
40262 cat >>confdefs.h <<_ACEOF
40263 #define HAVE__LOGL 1
40264 _ACEOF
40267 done
40276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40277 $as_echo_n "checking for log10l declaration... " >&6; }
40278 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40279 if ${glibcxx_cv_func_log10l_use+:} false; then :
40280 $as_echo_n "(cached) " >&6
40281 else
40284 ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h. */
40292 #include <math.h>
40293 #ifdef HAVE_IEEEFP_H
40294 #include <ieeefp.h>
40295 #endif
40298 main ()
40300 log10l(0);
40302 return 0;
40304 _ACEOF
40305 if ac_fn_cxx_try_compile "$LINENO"; then :
40306 glibcxx_cv_func_log10l_use=yes
40307 else
40308 glibcxx_cv_func_log10l_use=no
40310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40311 ac_ext=c
40312 ac_cpp='$CPP $CPPFLAGS'
40313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40322 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40324 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40325 for ac_func in log10l
40326 do :
40327 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40328 if test "x$ac_cv_func_log10l" = xyes; then :
40329 cat >>confdefs.h <<_ACEOF
40330 #define HAVE_LOG10L 1
40331 _ACEOF
40334 done
40336 else
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40339 $as_echo_n "checking for _log10l declaration... " >&6; }
40340 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40341 if ${glibcxx_cv_func__log10l_use+:} false; then :
40342 $as_echo_n "(cached) " >&6
40343 else
40346 ac_ext=cpp
40347 ac_cpp='$CXXCPP $CPPFLAGS'
40348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40353 /* end confdefs.h. */
40354 #include <math.h>
40355 #ifdef HAVE_IEEEFP_H
40356 #include <ieeefp.h>
40357 #endif
40360 main ()
40362 _log10l(0);
40364 return 0;
40366 _ACEOF
40367 if ac_fn_cxx_try_compile "$LINENO"; then :
40368 glibcxx_cv_func__log10l_use=yes
40369 else
40370 glibcxx_cv_func__log10l_use=no
40372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40373 ac_ext=c
40374 ac_cpp='$CPP $CPPFLAGS'
40375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40384 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40386 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40387 for ac_func in _log10l
40388 do :
40389 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40390 if test "x$ac_cv_func__log10l" = xyes; then :
40391 cat >>confdefs.h <<_ACEOF
40392 #define HAVE__LOG10L 1
40393 _ACEOF
40396 done
40405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40406 $as_echo_n "checking for modfl declaration... " >&6; }
40407 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40408 if ${glibcxx_cv_func_modfl_use+:} false; then :
40409 $as_echo_n "(cached) " >&6
40410 else
40413 ac_ext=cpp
40414 ac_cpp='$CXXCPP $CPPFLAGS'
40415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40420 /* end confdefs.h. */
40421 #include <math.h>
40423 main ()
40425 modfl(0, 0);
40427 return 0;
40429 _ACEOF
40430 if ac_fn_cxx_try_compile "$LINENO"; then :
40431 glibcxx_cv_func_modfl_use=yes
40432 else
40433 glibcxx_cv_func_modfl_use=no
40435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40436 ac_ext=c
40437 ac_cpp='$CPP $CPPFLAGS'
40438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40447 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40449 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40450 for ac_func in modfl
40451 do :
40452 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40453 if test "x$ac_cv_func_modfl" = xyes; then :
40454 cat >>confdefs.h <<_ACEOF
40455 #define HAVE_MODFL 1
40456 _ACEOF
40459 done
40461 else
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40464 $as_echo_n "checking for _modfl declaration... " >&6; }
40465 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40466 if ${glibcxx_cv_func__modfl_use+:} false; then :
40467 $as_echo_n "(cached) " >&6
40468 else
40471 ac_ext=cpp
40472 ac_cpp='$CXXCPP $CPPFLAGS'
40473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40478 /* end confdefs.h. */
40479 #include <math.h>
40481 main ()
40483 _modfl(0, 0);
40485 return 0;
40487 _ACEOF
40488 if ac_fn_cxx_try_compile "$LINENO"; then :
40489 glibcxx_cv_func__modfl_use=yes
40490 else
40491 glibcxx_cv_func__modfl_use=no
40493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40494 ac_ext=c
40495 ac_cpp='$CPP $CPPFLAGS'
40496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40505 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40507 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40508 for ac_func in _modfl
40509 do :
40510 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40511 if test "x$ac_cv_func__modfl" = xyes; then :
40512 cat >>confdefs.h <<_ACEOF
40513 #define HAVE__MODFL 1
40514 _ACEOF
40517 done
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40527 $as_echo_n "checking for powl declaration... " >&6; }
40528 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40529 if ${glibcxx_cv_func_powl_use+:} false; then :
40530 $as_echo_n "(cached) " >&6
40531 else
40534 ac_ext=cpp
40535 ac_cpp='$CXXCPP $CPPFLAGS'
40536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40541 /* end confdefs.h. */
40542 #include <math.h>
40544 main ()
40546 powl(0, 0);
40548 return 0;
40550 _ACEOF
40551 if ac_fn_cxx_try_compile "$LINENO"; then :
40552 glibcxx_cv_func_powl_use=yes
40553 else
40554 glibcxx_cv_func_powl_use=no
40556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40557 ac_ext=c
40558 ac_cpp='$CPP $CPPFLAGS'
40559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40568 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40570 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40571 for ac_func in powl
40572 do :
40573 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40574 if test "x$ac_cv_func_powl" = xyes; then :
40575 cat >>confdefs.h <<_ACEOF
40576 #define HAVE_POWL 1
40577 _ACEOF
40580 done
40582 else
40584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40585 $as_echo_n "checking for _powl declaration... " >&6; }
40586 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40587 if ${glibcxx_cv_func__powl_use+:} false; then :
40588 $as_echo_n "(cached) " >&6
40589 else
40592 ac_ext=cpp
40593 ac_cpp='$CXXCPP $CPPFLAGS'
40594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40599 /* end confdefs.h. */
40600 #include <math.h>
40602 main ()
40604 _powl(0, 0);
40606 return 0;
40608 _ACEOF
40609 if ac_fn_cxx_try_compile "$LINENO"; then :
40610 glibcxx_cv_func__powl_use=yes
40611 else
40612 glibcxx_cv_func__powl_use=no
40614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40615 ac_ext=c
40616 ac_cpp='$CPP $CPPFLAGS'
40617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40626 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40628 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40629 for ac_func in _powl
40630 do :
40631 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40632 if test "x$ac_cv_func__powl" = xyes; then :
40633 cat >>confdefs.h <<_ACEOF
40634 #define HAVE__POWL 1
40635 _ACEOF
40638 done
40647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40648 $as_echo_n "checking for sqrtl declaration... " >&6; }
40649 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40650 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40651 $as_echo_n "(cached) " >&6
40652 else
40655 ac_ext=cpp
40656 ac_cpp='$CXXCPP $CPPFLAGS'
40657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40662 /* end confdefs.h. */
40663 #include <math.h>
40664 #ifdef HAVE_IEEEFP_H
40665 #include <ieeefp.h>
40666 #endif
40669 main ()
40671 sqrtl(0);
40673 return 0;
40675 _ACEOF
40676 if ac_fn_cxx_try_compile "$LINENO"; then :
40677 glibcxx_cv_func_sqrtl_use=yes
40678 else
40679 glibcxx_cv_func_sqrtl_use=no
40681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40682 ac_ext=c
40683 ac_cpp='$CPP $CPPFLAGS'
40684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40693 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40695 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40696 for ac_func in sqrtl
40697 do :
40698 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40699 if test "x$ac_cv_func_sqrtl" = xyes; then :
40700 cat >>confdefs.h <<_ACEOF
40701 #define HAVE_SQRTL 1
40702 _ACEOF
40705 done
40707 else
40709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40710 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40711 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40712 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40713 $as_echo_n "(cached) " >&6
40714 else
40717 ac_ext=cpp
40718 ac_cpp='$CXXCPP $CPPFLAGS'
40719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40724 /* end confdefs.h. */
40725 #include <math.h>
40726 #ifdef HAVE_IEEEFP_H
40727 #include <ieeefp.h>
40728 #endif
40731 main ()
40733 _sqrtl(0);
40735 return 0;
40737 _ACEOF
40738 if ac_fn_cxx_try_compile "$LINENO"; then :
40739 glibcxx_cv_func__sqrtl_use=yes
40740 else
40741 glibcxx_cv_func__sqrtl_use=no
40743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40744 ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40755 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40757 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40758 for ac_func in _sqrtl
40759 do :
40760 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40761 if test "x$ac_cv_func__sqrtl" = xyes; then :
40762 cat >>confdefs.h <<_ACEOF
40763 #define HAVE__SQRTL 1
40764 _ACEOF
40767 done
40776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40777 $as_echo_n "checking for sincosl declaration... " >&6; }
40778 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40779 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40780 $as_echo_n "(cached) " >&6
40781 else
40784 ac_ext=cpp
40785 ac_cpp='$CXXCPP $CPPFLAGS'
40786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40791 /* end confdefs.h. */
40792 #include <math.h>
40794 main ()
40796 sincosl(0, 0, 0);
40798 return 0;
40800 _ACEOF
40801 if ac_fn_cxx_try_compile "$LINENO"; then :
40802 glibcxx_cv_func_sincosl_use=yes
40803 else
40804 glibcxx_cv_func_sincosl_use=no
40806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40807 ac_ext=c
40808 ac_cpp='$CPP $CPPFLAGS'
40809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40818 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40820 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40821 for ac_func in sincosl
40822 do :
40823 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40824 if test "x$ac_cv_func_sincosl" = xyes; then :
40825 cat >>confdefs.h <<_ACEOF
40826 #define HAVE_SINCOSL 1
40827 _ACEOF
40830 done
40832 else
40834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40835 $as_echo_n "checking for _sincosl declaration... " >&6; }
40836 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40837 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40838 $as_echo_n "(cached) " >&6
40839 else
40842 ac_ext=cpp
40843 ac_cpp='$CXXCPP $CPPFLAGS'
40844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40849 /* end confdefs.h. */
40850 #include <math.h>
40852 main ()
40854 _sincosl(0, 0, 0);
40856 return 0;
40858 _ACEOF
40859 if ac_fn_cxx_try_compile "$LINENO"; then :
40860 glibcxx_cv_func__sincosl_use=yes
40861 else
40862 glibcxx_cv_func__sincosl_use=no
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40865 ac_ext=c
40866 ac_cpp='$CPP $CPPFLAGS'
40867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40876 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40878 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40879 for ac_func in _sincosl
40880 do :
40881 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40882 if test "x$ac_cv_func__sincosl" = xyes; then :
40883 cat >>confdefs.h <<_ACEOF
40884 #define HAVE__SINCOSL 1
40885 _ACEOF
40888 done
40897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40898 $as_echo_n "checking for finitel declaration... " >&6; }
40899 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40900 if ${glibcxx_cv_func_finitel_use+:} false; then :
40901 $as_echo_n "(cached) " >&6
40902 else
40905 ac_ext=cpp
40906 ac_cpp='$CXXCPP $CPPFLAGS'
40907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40912 /* end confdefs.h. */
40913 #include <math.h>
40914 #ifdef HAVE_IEEEFP_H
40915 #include <ieeefp.h>
40916 #endif
40919 main ()
40921 finitel(0);
40923 return 0;
40925 _ACEOF
40926 if ac_fn_cxx_try_compile "$LINENO"; then :
40927 glibcxx_cv_func_finitel_use=yes
40928 else
40929 glibcxx_cv_func_finitel_use=no
40931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40932 ac_ext=c
40933 ac_cpp='$CPP $CPPFLAGS'
40934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40943 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40945 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40946 for ac_func in finitel
40947 do :
40948 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40949 if test "x$ac_cv_func_finitel" = xyes; then :
40950 cat >>confdefs.h <<_ACEOF
40951 #define HAVE_FINITEL 1
40952 _ACEOF
40955 done
40957 else
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40960 $as_echo_n "checking for _finitel declaration... " >&6; }
40961 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40962 if ${glibcxx_cv_func__finitel_use+:} false; then :
40963 $as_echo_n "(cached) " >&6
40964 else
40967 ac_ext=cpp
40968 ac_cpp='$CXXCPP $CPPFLAGS'
40969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40974 /* end confdefs.h. */
40975 #include <math.h>
40976 #ifdef HAVE_IEEEFP_H
40977 #include <ieeefp.h>
40978 #endif
40981 main ()
40983 _finitel(0);
40985 return 0;
40987 _ACEOF
40988 if ac_fn_cxx_try_compile "$LINENO"; then :
40989 glibcxx_cv_func__finitel_use=yes
40990 else
40991 glibcxx_cv_func__finitel_use=no
40993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40994 ac_ext=c
40995 ac_cpp='$CPP $CPPFLAGS'
40996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41005 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41008 for ac_func in _finitel
41009 do :
41010 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41011 if test "x$ac_cv_func__finitel" = xyes; then :
41012 cat >>confdefs.h <<_ACEOF
41013 #define HAVE__FINITEL 1
41014 _ACEOF
41017 done
41025 LIBS="$ac_save_LIBS"
41026 CXXFLAGS="$ac_save_CXXFLAGS"
41029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41030 ac_save_CXXFLAGS="$CXXFLAGS"
41031 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41035 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41036 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41037 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41038 $as_echo_n "(cached) " >&6
41039 else
41042 ac_ext=cpp
41043 ac_cpp='$CXXCPP $CPPFLAGS'
41044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41049 /* end confdefs.h. */
41050 #include <stdlib.h>
41052 main ()
41054 at_quick_exit(0);
41056 return 0;
41058 _ACEOF
41059 if ac_fn_cxx_try_compile "$LINENO"; then :
41060 glibcxx_cv_func_at_quick_exit_use=yes
41061 else
41062 glibcxx_cv_func_at_quick_exit_use=no
41064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41065 ac_ext=c
41066 ac_cpp='$CPP $CPPFLAGS'
41067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41076 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41077 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41078 for ac_func in at_quick_exit
41079 do :
41080 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41081 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41082 cat >>confdefs.h <<_ACEOF
41083 #define HAVE_AT_QUICK_EXIT 1
41084 _ACEOF
41087 done
41092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41093 $as_echo_n "checking for quick_exit declaration... " >&6; }
41094 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41095 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41096 $as_echo_n "(cached) " >&6
41097 else
41100 ac_ext=cpp
41101 ac_cpp='$CXXCPP $CPPFLAGS'
41102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41107 /* end confdefs.h. */
41108 #include <stdlib.h>
41110 main ()
41112 quick_exit(0);
41114 return 0;
41116 _ACEOF
41117 if ac_fn_cxx_try_compile "$LINENO"; then :
41118 glibcxx_cv_func_quick_exit_use=yes
41119 else
41120 glibcxx_cv_func_quick_exit_use=no
41122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41123 ac_ext=c
41124 ac_cpp='$CPP $CPPFLAGS'
41125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41134 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41135 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41136 for ac_func in quick_exit
41137 do :
41138 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41139 if test "x$ac_cv_func_quick_exit" = xyes; then :
41140 cat >>confdefs.h <<_ACEOF
41141 #define HAVE_QUICK_EXIT 1
41142 _ACEOF
41145 done
41150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41151 $as_echo_n "checking for strtold declaration... " >&6; }
41152 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41153 if ${glibcxx_cv_func_strtold_use+:} false; then :
41154 $as_echo_n "(cached) " >&6
41155 else
41158 ac_ext=cpp
41159 ac_cpp='$CXXCPP $CPPFLAGS'
41160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41165 /* end confdefs.h. */
41166 #include <stdlib.h>
41168 main ()
41170 strtold(0, 0);
41172 return 0;
41174 _ACEOF
41175 if ac_fn_cxx_try_compile "$LINENO"; then :
41176 glibcxx_cv_func_strtold_use=yes
41177 else
41178 glibcxx_cv_func_strtold_use=no
41180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41181 ac_ext=c
41182 ac_cpp='$CPP $CPPFLAGS'
41183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41192 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41193 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41194 for ac_func in strtold
41195 do :
41196 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41197 if test "x$ac_cv_func_strtold" = xyes; then :
41198 cat >>confdefs.h <<_ACEOF
41199 #define HAVE_STRTOLD 1
41200 _ACEOF
41203 done
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41211 $as_echo_n "checking for strtof declaration... " >&6; }
41212 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41213 if ${glibcxx_cv_func_strtof_use+:} false; then :
41214 $as_echo_n "(cached) " >&6
41215 else
41218 ac_ext=cpp
41219 ac_cpp='$CXXCPP $CPPFLAGS'
41220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41225 /* end confdefs.h. */
41226 #include <stdlib.h>
41228 main ()
41230 strtof(0, 0);
41232 return 0;
41234 _ACEOF
41235 if ac_fn_cxx_try_compile "$LINENO"; then :
41236 glibcxx_cv_func_strtof_use=yes
41237 else
41238 glibcxx_cv_func_strtof_use=no
41240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41241 ac_ext=c
41242 ac_cpp='$CPP $CPPFLAGS'
41243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41252 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41253 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41254 for ac_func in strtof
41255 do :
41256 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41257 if test "x$ac_cv_func_strtof" = xyes; then :
41258 cat >>confdefs.h <<_ACEOF
41259 #define HAVE_STRTOF 1
41260 _ACEOF
41263 done
41270 CXXFLAGS="$ac_save_CXXFLAGS"
41272 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41274 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41276 # We don't yet support AIX's TLS ABI.
41277 #GCC_CHECK_TLS
41283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41284 $as_echo_n "checking for iconv... " >&6; }
41285 if ${am_cv_func_iconv+:} false; then :
41286 $as_echo_n "(cached) " >&6
41287 else
41289 am_cv_func_iconv="no, consider installing GNU libiconv"
41290 am_cv_lib_iconv=no
41291 am_save_CPPFLAGS="$CPPFLAGS"
41292 CPPFLAGS="$CPPFLAGS $INCICONV"
41293 if test x$gcc_no_link = xyes; then
41294 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41297 /* end confdefs.h. */
41298 #include <stdlib.h>
41299 #include <iconv.h>
41301 main ()
41303 iconv_t cd = iconv_open("","");
41304 iconv(cd,NULL,NULL,NULL,NULL);
41305 iconv_close(cd);
41307 return 0;
41309 _ACEOF
41310 if ac_fn_c_try_link "$LINENO"; then :
41311 am_cv_func_iconv=yes
41313 rm -f core conftest.err conftest.$ac_objext \
41314 conftest$ac_exeext conftest.$ac_ext
41315 CPPFLAGS="$am_save_CPPFLAGS"
41317 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41318 for _libs in .libs _libs; do
41319 am_save_CPPFLAGS="$CPPFLAGS"
41320 am_save_LIBS="$LIBS"
41321 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41322 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41323 if test x$gcc_no_link = xyes; then
41324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41327 /* end confdefs.h. */
41328 #include <stdlib.h>
41329 #include <iconv.h>
41331 main ()
41333 iconv_t cd = iconv_open("","");
41334 iconv(cd,NULL,NULL,NULL,NULL);
41335 iconv_close(cd);
41337 return 0;
41339 _ACEOF
41340 if ac_fn_c_try_link "$LINENO"; then :
41341 INCICONV="-I../libiconv/include"
41342 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41343 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41344 am_cv_lib_iconv=yes
41345 am_cv_func_iconv=yes
41347 rm -f core conftest.err conftest.$ac_objext \
41348 conftest$ac_exeext conftest.$ac_ext
41349 CPPFLAGS="$am_save_CPPFLAGS"
41350 LIBS="$am_save_LIBS"
41351 if test "$am_cv_func_iconv" = "yes"; then
41352 break
41354 done
41357 if test "$am_cv_func_iconv" != yes; then
41358 am_save_CPPFLAGS="$CPPFLAGS"
41359 am_save_LIBS="$LIBS"
41360 CPPFLAGS="$CPPFLAGS $INCICONV"
41361 LIBS="$LIBS $LIBICONV"
41362 if test x$gcc_no_link = xyes; then
41363 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41366 /* end confdefs.h. */
41367 #include <stdlib.h>
41368 #include <iconv.h>
41370 main ()
41372 iconv_t cd = iconv_open("","");
41373 iconv(cd,NULL,NULL,NULL,NULL);
41374 iconv_close(cd);
41376 return 0;
41378 _ACEOF
41379 if ac_fn_c_try_link "$LINENO"; then :
41380 am_cv_lib_iconv=yes
41381 am_cv_func_iconv=yes
41383 rm -f core conftest.err conftest.$ac_objext \
41384 conftest$ac_exeext conftest.$ac_ext
41385 CPPFLAGS="$am_save_CPPFLAGS"
41386 LIBS="$am_save_LIBS"
41390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41391 $as_echo "$am_cv_func_iconv" >&6; }
41392 if test "$am_cv_func_iconv" = yes; then
41394 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41397 if test "$am_cv_lib_iconv" = yes; then
41399 for element in $INCICONV; do
41400 haveit=
41401 for x in $CPPFLAGS; do
41403 acl_save_prefix="$prefix"
41404 prefix="$acl_final_prefix"
41405 acl_save_exec_prefix="$exec_prefix"
41406 exec_prefix="$acl_final_exec_prefix"
41407 eval x=\"$x\"
41408 exec_prefix="$acl_save_exec_prefix"
41409 prefix="$acl_save_prefix"
41411 if test "X$x" = "X$element"; then
41412 haveit=yes
41413 break
41415 done
41416 if test -z "$haveit"; then
41417 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41419 done
41421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41422 $as_echo_n "checking how to link with libiconv... " >&6; }
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41424 $as_echo "$LIBICONV" >&6; }
41425 else
41426 LIBICONV=
41427 LTLIBICONV=
41432 if test "$am_cv_func_iconv" = yes; then
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41434 $as_echo_n "checking for iconv declaration... " >&6; }
41435 if ${am_cv_proto_iconv+:} false; then :
41436 $as_echo_n "(cached) " >&6
41437 else
41439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41440 /* end confdefs.h. */
41442 #include <stdlib.h>
41443 #include <iconv.h>
41444 extern
41445 #ifdef __cplusplus
41447 #endif
41448 #if defined(__STDC__) || defined(__cplusplus)
41449 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41450 #else
41451 size_t iconv();
41452 #endif
41455 main ()
41459 return 0;
41461 _ACEOF
41462 if ac_fn_c_try_compile "$LINENO"; then :
41463 am_cv_proto_iconv_arg1=""
41464 else
41465 am_cv_proto_iconv_arg1="const"
41467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41468 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);"
41471 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41473 }$am_cv_proto_iconv" >&5
41474 $as_echo "${ac_t:-
41475 }$am_cv_proto_iconv" >&6; }
41477 cat >>confdefs.h <<_ACEOF
41478 #define ICONV_CONST $am_cv_proto_iconv_arg1
41479 _ACEOF
41484 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41488 *-darwin*)
41489 # Darwin versions vary, but the linker should work in a cross environment,
41490 # so we just check for all the features here.
41491 # Check for available headers.
41493 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41495 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41496 ac_save_CXXFLAGS="$CXXFLAGS"
41497 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41500 $as_echo_n "checking for sin in -lm... " >&6; }
41501 if ${ac_cv_lib_m_sin+:} false; then :
41502 $as_echo_n "(cached) " >&6
41503 else
41504 ac_check_lib_save_LIBS=$LIBS
41505 LIBS="-lm $LIBS"
41506 if test x$gcc_no_link = xyes; then
41507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41510 /* end confdefs.h. */
41512 /* Override any GCC internal prototype to avoid an error.
41513 Use char because int might match the return type of a GCC
41514 builtin and then its argument prototype would still apply. */
41515 #ifdef __cplusplus
41516 extern "C"
41517 #endif
41518 char sin ();
41520 main ()
41522 return sin ();
41524 return 0;
41526 _ACEOF
41527 if ac_fn_c_try_link "$LINENO"; then :
41528 ac_cv_lib_m_sin=yes
41529 else
41530 ac_cv_lib_m_sin=no
41532 rm -f core conftest.err conftest.$ac_objext \
41533 conftest$ac_exeext conftest.$ac_ext
41534 LIBS=$ac_check_lib_save_LIBS
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41537 $as_echo "$ac_cv_lib_m_sin" >&6; }
41538 if test "x$ac_cv_lib_m_sin" = xyes; then :
41539 libm="-lm"
41542 ac_save_LIBS="$LIBS"
41543 LIBS="$LIBS $libm"
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41548 $as_echo_n "checking for isinf declaration... " >&6; }
41549 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41550 if ${glibcxx_cv_func_isinf_use+:} false; then :
41551 $as_echo_n "(cached) " >&6
41552 else
41555 ac_ext=cpp
41556 ac_cpp='$CXXCPP $CPPFLAGS'
41557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41562 /* end confdefs.h. */
41563 #include <math.h>
41564 #ifdef HAVE_IEEEFP_H
41565 #include <ieeefp.h>
41566 #endif
41569 main ()
41571 isinf(0);
41573 return 0;
41575 _ACEOF
41576 if ac_fn_cxx_try_compile "$LINENO"; then :
41577 glibcxx_cv_func_isinf_use=yes
41578 else
41579 glibcxx_cv_func_isinf_use=no
41581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41582 ac_ext=c
41583 ac_cpp='$CPP $CPPFLAGS'
41584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41593 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41595 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41596 for ac_func in isinf
41597 do :
41598 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41599 if test "x$ac_cv_func_isinf" = xyes; then :
41600 cat >>confdefs.h <<_ACEOF
41601 #define HAVE_ISINF 1
41602 _ACEOF
41605 done
41607 else
41609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41610 $as_echo_n "checking for _isinf declaration... " >&6; }
41611 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41612 if ${glibcxx_cv_func__isinf_use+:} false; then :
41613 $as_echo_n "(cached) " >&6
41614 else
41617 ac_ext=cpp
41618 ac_cpp='$CXXCPP $CPPFLAGS'
41619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41624 /* end confdefs.h. */
41625 #include <math.h>
41626 #ifdef HAVE_IEEEFP_H
41627 #include <ieeefp.h>
41628 #endif
41631 main ()
41633 _isinf(0);
41635 return 0;
41637 _ACEOF
41638 if ac_fn_cxx_try_compile "$LINENO"; then :
41639 glibcxx_cv_func__isinf_use=yes
41640 else
41641 glibcxx_cv_func__isinf_use=no
41643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41644 ac_ext=c
41645 ac_cpp='$CPP $CPPFLAGS'
41646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41655 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41657 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41658 for ac_func in _isinf
41659 do :
41660 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41661 if test "x$ac_cv_func__isinf" = xyes; then :
41662 cat >>confdefs.h <<_ACEOF
41663 #define HAVE__ISINF 1
41664 _ACEOF
41667 done
41676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41677 $as_echo_n "checking for isnan declaration... " >&6; }
41678 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41679 if ${glibcxx_cv_func_isnan_use+:} false; then :
41680 $as_echo_n "(cached) " >&6
41681 else
41684 ac_ext=cpp
41685 ac_cpp='$CXXCPP $CPPFLAGS'
41686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41691 /* end confdefs.h. */
41692 #include <math.h>
41693 #ifdef HAVE_IEEEFP_H
41694 #include <ieeefp.h>
41695 #endif
41698 main ()
41700 isnan(0);
41702 return 0;
41704 _ACEOF
41705 if ac_fn_cxx_try_compile "$LINENO"; then :
41706 glibcxx_cv_func_isnan_use=yes
41707 else
41708 glibcxx_cv_func_isnan_use=no
41710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41711 ac_ext=c
41712 ac_cpp='$CPP $CPPFLAGS'
41713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41722 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41724 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41725 for ac_func in isnan
41726 do :
41727 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41728 if test "x$ac_cv_func_isnan" = xyes; then :
41729 cat >>confdefs.h <<_ACEOF
41730 #define HAVE_ISNAN 1
41731 _ACEOF
41734 done
41736 else
41738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41739 $as_echo_n "checking for _isnan declaration... " >&6; }
41740 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41741 if ${glibcxx_cv_func__isnan_use+:} false; then :
41742 $as_echo_n "(cached) " >&6
41743 else
41746 ac_ext=cpp
41747 ac_cpp='$CXXCPP $CPPFLAGS'
41748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41753 /* end confdefs.h. */
41754 #include <math.h>
41755 #ifdef HAVE_IEEEFP_H
41756 #include <ieeefp.h>
41757 #endif
41760 main ()
41762 _isnan(0);
41764 return 0;
41766 _ACEOF
41767 if ac_fn_cxx_try_compile "$LINENO"; then :
41768 glibcxx_cv_func__isnan_use=yes
41769 else
41770 glibcxx_cv_func__isnan_use=no
41772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41773 ac_ext=c
41774 ac_cpp='$CPP $CPPFLAGS'
41775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41784 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41786 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41787 for ac_func in _isnan
41788 do :
41789 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41790 if test "x$ac_cv_func__isnan" = xyes; then :
41791 cat >>confdefs.h <<_ACEOF
41792 #define HAVE__ISNAN 1
41793 _ACEOF
41796 done
41805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41806 $as_echo_n "checking for finite declaration... " >&6; }
41807 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41808 if ${glibcxx_cv_func_finite_use+:} false; then :
41809 $as_echo_n "(cached) " >&6
41810 else
41813 ac_ext=cpp
41814 ac_cpp='$CXXCPP $CPPFLAGS'
41815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41820 /* end confdefs.h. */
41821 #include <math.h>
41822 #ifdef HAVE_IEEEFP_H
41823 #include <ieeefp.h>
41824 #endif
41827 main ()
41829 finite(0);
41831 return 0;
41833 _ACEOF
41834 if ac_fn_cxx_try_compile "$LINENO"; then :
41835 glibcxx_cv_func_finite_use=yes
41836 else
41837 glibcxx_cv_func_finite_use=no
41839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41840 ac_ext=c
41841 ac_cpp='$CPP $CPPFLAGS'
41842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41851 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41853 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41854 for ac_func in finite
41855 do :
41856 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41857 if test "x$ac_cv_func_finite" = xyes; then :
41858 cat >>confdefs.h <<_ACEOF
41859 #define HAVE_FINITE 1
41860 _ACEOF
41863 done
41865 else
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41868 $as_echo_n "checking for _finite declaration... " >&6; }
41869 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41870 if ${glibcxx_cv_func__finite_use+:} false; then :
41871 $as_echo_n "(cached) " >&6
41872 else
41875 ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <math.h>
41884 #ifdef HAVE_IEEEFP_H
41885 #include <ieeefp.h>
41886 #endif
41889 main ()
41891 _finite(0);
41893 return 0;
41895 _ACEOF
41896 if ac_fn_cxx_try_compile "$LINENO"; then :
41897 glibcxx_cv_func__finite_use=yes
41898 else
41899 glibcxx_cv_func__finite_use=no
41901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41902 ac_ext=c
41903 ac_cpp='$CPP $CPPFLAGS'
41904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41913 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41915 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41916 for ac_func in _finite
41917 do :
41918 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41919 if test "x$ac_cv_func__finite" = xyes; then :
41920 cat >>confdefs.h <<_ACEOF
41921 #define HAVE__FINITE 1
41922 _ACEOF
41925 done
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41935 $as_echo_n "checking for sincos declaration... " >&6; }
41936 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41937 if ${glibcxx_cv_func_sincos_use+:} false; then :
41938 $as_echo_n "(cached) " >&6
41939 else
41942 ac_ext=cpp
41943 ac_cpp='$CXXCPP $CPPFLAGS'
41944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41949 /* end confdefs.h. */
41950 #include <math.h>
41952 main ()
41954 sincos(0, 0, 0);
41956 return 0;
41958 _ACEOF
41959 if ac_fn_cxx_try_compile "$LINENO"; then :
41960 glibcxx_cv_func_sincos_use=yes
41961 else
41962 glibcxx_cv_func_sincos_use=no
41964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41965 ac_ext=c
41966 ac_cpp='$CPP $CPPFLAGS'
41967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41976 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41978 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41979 for ac_func in sincos
41980 do :
41981 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41982 if test "x$ac_cv_func_sincos" = xyes; then :
41983 cat >>confdefs.h <<_ACEOF
41984 #define HAVE_SINCOS 1
41985 _ACEOF
41988 done
41990 else
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41993 $as_echo_n "checking for _sincos declaration... " >&6; }
41994 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41995 if ${glibcxx_cv_func__sincos_use+:} false; then :
41996 $as_echo_n "(cached) " >&6
41997 else
42000 ac_ext=cpp
42001 ac_cpp='$CXXCPP $CPPFLAGS'
42002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42007 /* end confdefs.h. */
42008 #include <math.h>
42010 main ()
42012 _sincos(0, 0, 0);
42014 return 0;
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018 glibcxx_cv_func__sincos_use=yes
42019 else
42020 glibcxx_cv_func__sincos_use=no
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42034 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42036 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42037 for ac_func in _sincos
42038 do :
42039 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42040 if test "x$ac_cv_func__sincos" = xyes; then :
42041 cat >>confdefs.h <<_ACEOF
42042 #define HAVE__SINCOS 1
42043 _ACEOF
42046 done
42055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42056 $as_echo_n "checking for fpclass declaration... " >&6; }
42057 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42058 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42059 $as_echo_n "(cached) " >&6
42060 else
42063 ac_ext=cpp
42064 ac_cpp='$CXXCPP $CPPFLAGS'
42065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42070 /* end confdefs.h. */
42071 #include <math.h>
42072 #ifdef HAVE_IEEEFP_H
42073 #include <ieeefp.h>
42074 #endif
42077 main ()
42079 fpclass(0);
42081 return 0;
42083 _ACEOF
42084 if ac_fn_cxx_try_compile "$LINENO"; then :
42085 glibcxx_cv_func_fpclass_use=yes
42086 else
42087 glibcxx_cv_func_fpclass_use=no
42089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42090 ac_ext=c
42091 ac_cpp='$CPP $CPPFLAGS'
42092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42101 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42103 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42104 for ac_func in fpclass
42105 do :
42106 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42107 if test "x$ac_cv_func_fpclass" = xyes; then :
42108 cat >>confdefs.h <<_ACEOF
42109 #define HAVE_FPCLASS 1
42110 _ACEOF
42113 done
42115 else
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42118 $as_echo_n "checking for _fpclass declaration... " >&6; }
42119 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42120 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42121 $as_echo_n "(cached) " >&6
42122 else
42125 ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h. */
42133 #include <math.h>
42134 #ifdef HAVE_IEEEFP_H
42135 #include <ieeefp.h>
42136 #endif
42139 main ()
42141 _fpclass(0);
42143 return 0;
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147 glibcxx_cv_func__fpclass_use=yes
42148 else
42149 glibcxx_cv_func__fpclass_use=no
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42163 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42165 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42166 for ac_func in _fpclass
42167 do :
42168 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42169 if test "x$ac_cv_func__fpclass" = xyes; then :
42170 cat >>confdefs.h <<_ACEOF
42171 #define HAVE__FPCLASS 1
42172 _ACEOF
42175 done
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42185 $as_echo_n "checking for qfpclass declaration... " >&6; }
42186 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42187 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 #ifdef HAVE_IEEEFP_H
42202 #include <ieeefp.h>
42203 #endif
42206 main ()
42208 qfpclass(0);
42210 return 0;
42212 _ACEOF
42213 if ac_fn_cxx_try_compile "$LINENO"; then :
42214 glibcxx_cv_func_qfpclass_use=yes
42215 else
42216 glibcxx_cv_func_qfpclass_use=no
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219 ac_ext=c
42220 ac_cpp='$CPP $CPPFLAGS'
42221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42230 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42232 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42233 for ac_func in qfpclass
42234 do :
42235 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42236 if test "x$ac_cv_func_qfpclass" = xyes; then :
42237 cat >>confdefs.h <<_ACEOF
42238 #define HAVE_QFPCLASS 1
42239 _ACEOF
42242 done
42244 else
42246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42247 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42248 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42249 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42250 $as_echo_n "(cached) " >&6
42251 else
42254 ac_ext=cpp
42255 ac_cpp='$CXXCPP $CPPFLAGS'
42256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42261 /* end confdefs.h. */
42262 #include <math.h>
42263 #ifdef HAVE_IEEEFP_H
42264 #include <ieeefp.h>
42265 #endif
42268 main ()
42270 _qfpclass(0);
42272 return 0;
42274 _ACEOF
42275 if ac_fn_cxx_try_compile "$LINENO"; then :
42276 glibcxx_cv_func__qfpclass_use=yes
42277 else
42278 glibcxx_cv_func__qfpclass_use=no
42280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42281 ac_ext=c
42282 ac_cpp='$CPP $CPPFLAGS'
42283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42292 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42294 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42295 for ac_func in _qfpclass
42296 do :
42297 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42298 if test "x$ac_cv_func__qfpclass" = xyes; then :
42299 cat >>confdefs.h <<_ACEOF
42300 #define HAVE__QFPCLASS 1
42301 _ACEOF
42304 done
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42314 $as_echo_n "checking for hypot declaration... " >&6; }
42315 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42316 if ${glibcxx_cv_func_hypot_use+:} false; then :
42317 $as_echo_n "(cached) " >&6
42318 else
42321 ac_ext=cpp
42322 ac_cpp='$CXXCPP $CPPFLAGS'
42323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42328 /* end confdefs.h. */
42329 #include <math.h>
42331 main ()
42333 hypot(0, 0);
42335 return 0;
42337 _ACEOF
42338 if ac_fn_cxx_try_compile "$LINENO"; then :
42339 glibcxx_cv_func_hypot_use=yes
42340 else
42341 glibcxx_cv_func_hypot_use=no
42343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42344 ac_ext=c
42345 ac_cpp='$CPP $CPPFLAGS'
42346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42355 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42357 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42358 for ac_func in hypot
42359 do :
42360 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42361 if test "x$ac_cv_func_hypot" = xyes; then :
42362 cat >>confdefs.h <<_ACEOF
42363 #define HAVE_HYPOT 1
42364 _ACEOF
42367 done
42369 else
42371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42372 $as_echo_n "checking for _hypot declaration... " >&6; }
42373 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42374 if ${glibcxx_cv_func__hypot_use+:} false; then :
42375 $as_echo_n "(cached) " >&6
42376 else
42379 ac_ext=cpp
42380 ac_cpp='$CXXCPP $CPPFLAGS'
42381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42386 /* end confdefs.h. */
42387 #include <math.h>
42389 main ()
42391 _hypot(0, 0);
42393 return 0;
42395 _ACEOF
42396 if ac_fn_cxx_try_compile "$LINENO"; then :
42397 glibcxx_cv_func__hypot_use=yes
42398 else
42399 glibcxx_cv_func__hypot_use=no
42401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42402 ac_ext=c
42403 ac_cpp='$CPP $CPPFLAGS'
42404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42413 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42415 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42416 for ac_func in _hypot
42417 do :
42418 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42419 if test "x$ac_cv_func__hypot" = xyes; then :
42420 cat >>confdefs.h <<_ACEOF
42421 #define HAVE__HYPOT 1
42422 _ACEOF
42425 done
42434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42435 $as_echo_n "checking for float trig functions... " >&6; }
42436 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42437 $as_echo_n "(cached) " >&6
42438 else
42441 ac_ext=cpp
42442 ac_cpp='$CXXCPP $CPPFLAGS'
42443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42448 /* end confdefs.h. */
42449 #include <math.h>
42451 main ()
42453 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42455 return 0;
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_float_trig_use=yes
42460 else
42461 glibcxx_cv_func_float_trig_use=no
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42473 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42474 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42475 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42476 do :
42477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42480 cat >>confdefs.h <<_ACEOF
42481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42482 _ACEOF
42485 done
42487 else
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42489 $as_echo_n "checking for _float trig functions... " >&6; }
42490 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42491 $as_echo_n "(cached) " >&6
42492 else
42495 ac_ext=cpp
42496 ac_cpp='$CXXCPP $CPPFLAGS'
42497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42502 /* end confdefs.h. */
42503 #include <math.h>
42505 main ()
42507 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42509 return 0;
42511 _ACEOF
42512 if ac_fn_cxx_try_compile "$LINENO"; then :
42513 glibcxx_cv_func__float_trig_use=yes
42514 else
42515 glibcxx_cv_func__float_trig_use=no
42517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42518 ac_ext=c
42519 ac_cpp='$CPP $CPPFLAGS'
42520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42527 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42528 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42529 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42530 do :
42531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42533 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42534 cat >>confdefs.h <<_ACEOF
42535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42536 _ACEOF
42539 done
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42549 $as_echo_n "checking for float round functions... " >&6; }
42550 if ${glibcxx_cv_func_float_round_use+:} false; then :
42551 $as_echo_n "(cached) " >&6
42552 else
42555 ac_ext=cpp
42556 ac_cpp='$CXXCPP $CPPFLAGS'
42557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42562 /* end confdefs.h. */
42563 #include <math.h>
42565 main ()
42567 ceilf (0); floorf (0);
42569 return 0;
42571 _ACEOF
42572 if ac_fn_cxx_try_compile "$LINENO"; then :
42573 glibcxx_cv_func_float_round_use=yes
42574 else
42575 glibcxx_cv_func_float_round_use=no
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42578 ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42587 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42588 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42589 for ac_func in ceilf floorf
42590 do :
42591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42593 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42594 cat >>confdefs.h <<_ACEOF
42595 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42596 _ACEOF
42599 done
42601 else
42602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42603 $as_echo_n "checking for _float round functions... " >&6; }
42604 if ${glibcxx_cv_func__float_round_use+:} false; then :
42605 $as_echo_n "(cached) " >&6
42606 else
42609 ac_ext=cpp
42610 ac_cpp='$CXXCPP $CPPFLAGS'
42611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42616 /* end confdefs.h. */
42617 #include <math.h>
42619 main ()
42621 _ceilf (0); _floorf (0);
42623 return 0;
42625 _ACEOF
42626 if ac_fn_cxx_try_compile "$LINENO"; then :
42627 glibcxx_cv_func__float_round_use=yes
42628 else
42629 glibcxx_cv_func__float_round_use=no
42631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42632 ac_ext=c
42633 ac_cpp='$CPP $CPPFLAGS'
42634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42641 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42642 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42643 for ac_func in _ceilf _floorf
42644 do :
42645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42647 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42648 cat >>confdefs.h <<_ACEOF
42649 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42650 _ACEOF
42653 done
42663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42664 $as_echo_n "checking for expf declaration... " >&6; }
42665 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42666 if ${glibcxx_cv_func_expf_use+:} false; then :
42667 $as_echo_n "(cached) " >&6
42668 else
42671 ac_ext=cpp
42672 ac_cpp='$CXXCPP $CPPFLAGS'
42673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42678 /* end confdefs.h. */
42679 #include <math.h>
42680 #ifdef HAVE_IEEEFP_H
42681 #include <ieeefp.h>
42682 #endif
42685 main ()
42687 expf(0);
42689 return 0;
42691 _ACEOF
42692 if ac_fn_cxx_try_compile "$LINENO"; then :
42693 glibcxx_cv_func_expf_use=yes
42694 else
42695 glibcxx_cv_func_expf_use=no
42697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42698 ac_ext=c
42699 ac_cpp='$CPP $CPPFLAGS'
42700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42709 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42711 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42712 for ac_func in expf
42713 do :
42714 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42715 if test "x$ac_cv_func_expf" = xyes; then :
42716 cat >>confdefs.h <<_ACEOF
42717 #define HAVE_EXPF 1
42718 _ACEOF
42721 done
42723 else
42725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42726 $as_echo_n "checking for _expf declaration... " >&6; }
42727 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42728 if ${glibcxx_cv_func__expf_use+:} false; then :
42729 $as_echo_n "(cached) " >&6
42730 else
42733 ac_ext=cpp
42734 ac_cpp='$CXXCPP $CPPFLAGS'
42735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42740 /* end confdefs.h. */
42741 #include <math.h>
42742 #ifdef HAVE_IEEEFP_H
42743 #include <ieeefp.h>
42744 #endif
42747 main ()
42749 _expf(0);
42751 return 0;
42753 _ACEOF
42754 if ac_fn_cxx_try_compile "$LINENO"; then :
42755 glibcxx_cv_func__expf_use=yes
42756 else
42757 glibcxx_cv_func__expf_use=no
42759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42760 ac_ext=c
42761 ac_cpp='$CPP $CPPFLAGS'
42762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42771 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42773 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42774 for ac_func in _expf
42775 do :
42776 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42777 if test "x$ac_cv_func__expf" = xyes; then :
42778 cat >>confdefs.h <<_ACEOF
42779 #define HAVE__EXPF 1
42780 _ACEOF
42783 done
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42793 $as_echo_n "checking for isnanf declaration... " >&6; }
42794 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42795 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42796 $as_echo_n "(cached) " >&6
42797 else
42800 ac_ext=cpp
42801 ac_cpp='$CXXCPP $CPPFLAGS'
42802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42807 /* end confdefs.h. */
42808 #include <math.h>
42809 #ifdef HAVE_IEEEFP_H
42810 #include <ieeefp.h>
42811 #endif
42814 main ()
42816 isnanf(0);
42818 return 0;
42820 _ACEOF
42821 if ac_fn_cxx_try_compile "$LINENO"; then :
42822 glibcxx_cv_func_isnanf_use=yes
42823 else
42824 glibcxx_cv_func_isnanf_use=no
42826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42827 ac_ext=c
42828 ac_cpp='$CPP $CPPFLAGS'
42829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42838 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42840 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42841 for ac_func in isnanf
42842 do :
42843 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42844 if test "x$ac_cv_func_isnanf" = xyes; then :
42845 cat >>confdefs.h <<_ACEOF
42846 #define HAVE_ISNANF 1
42847 _ACEOF
42850 done
42852 else
42854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42855 $as_echo_n "checking for _isnanf declaration... " >&6; }
42856 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42857 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42858 $as_echo_n "(cached) " >&6
42859 else
42862 ac_ext=cpp
42863 ac_cpp='$CXXCPP $CPPFLAGS'
42864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42869 /* end confdefs.h. */
42870 #include <math.h>
42871 #ifdef HAVE_IEEEFP_H
42872 #include <ieeefp.h>
42873 #endif
42876 main ()
42878 _isnanf(0);
42880 return 0;
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func__isnanf_use=yes
42885 else
42886 glibcxx_cv_func__isnanf_use=no
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42900 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42902 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42903 for ac_func in _isnanf
42904 do :
42905 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42906 if test "x$ac_cv_func__isnanf" = xyes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE__ISNANF 1
42909 _ACEOF
42912 done
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42922 $as_echo_n "checking for isinff declaration... " >&6; }
42923 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42924 if ${glibcxx_cv_func_isinff_use+:} false; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42938 #ifdef HAVE_IEEEFP_H
42939 #include <ieeefp.h>
42940 #endif
42943 main ()
42945 isinff(0);
42947 return 0;
42949 _ACEOF
42950 if ac_fn_cxx_try_compile "$LINENO"; then :
42951 glibcxx_cv_func_isinff_use=yes
42952 else
42953 glibcxx_cv_func_isinff_use=no
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956 ac_ext=c
42957 ac_cpp='$CPP $CPPFLAGS'
42958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42967 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42969 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42970 for ac_func in isinff
42971 do :
42972 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42973 if test "x$ac_cv_func_isinff" = xyes; then :
42974 cat >>confdefs.h <<_ACEOF
42975 #define HAVE_ISINFF 1
42976 _ACEOF
42979 done
42981 else
42983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42984 $as_echo_n "checking for _isinff declaration... " >&6; }
42985 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42986 if ${glibcxx_cv_func__isinff_use+:} false; then :
42987 $as_echo_n "(cached) " >&6
42988 else
42991 ac_ext=cpp
42992 ac_cpp='$CXXCPP $CPPFLAGS'
42993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42998 /* end confdefs.h. */
42999 #include <math.h>
43000 #ifdef HAVE_IEEEFP_H
43001 #include <ieeefp.h>
43002 #endif
43005 main ()
43007 _isinff(0);
43009 return 0;
43011 _ACEOF
43012 if ac_fn_cxx_try_compile "$LINENO"; then :
43013 glibcxx_cv_func__isinff_use=yes
43014 else
43015 glibcxx_cv_func__isinff_use=no
43017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43018 ac_ext=c
43019 ac_cpp='$CPP $CPPFLAGS'
43020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43029 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43031 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43032 for ac_func in _isinff
43033 do :
43034 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43035 if test "x$ac_cv_func__isinff" = xyes; then :
43036 cat >>confdefs.h <<_ACEOF
43037 #define HAVE__ISINFF 1
43038 _ACEOF
43041 done
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43051 $as_echo_n "checking for atan2f declaration... " >&6; }
43052 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43053 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43054 $as_echo_n "(cached) " >&6
43055 else
43058 ac_ext=cpp
43059 ac_cpp='$CXXCPP $CPPFLAGS'
43060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43065 /* end confdefs.h. */
43066 #include <math.h>
43068 main ()
43070 atan2f(0, 0);
43072 return 0;
43074 _ACEOF
43075 if ac_fn_cxx_try_compile "$LINENO"; then :
43076 glibcxx_cv_func_atan2f_use=yes
43077 else
43078 glibcxx_cv_func_atan2f_use=no
43080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43081 ac_ext=c
43082 ac_cpp='$CPP $CPPFLAGS'
43083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43092 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43094 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43095 for ac_func in atan2f
43096 do :
43097 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43098 if test "x$ac_cv_func_atan2f" = xyes; then :
43099 cat >>confdefs.h <<_ACEOF
43100 #define HAVE_ATAN2F 1
43101 _ACEOF
43104 done
43106 else
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43109 $as_echo_n "checking for _atan2f declaration... " >&6; }
43110 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43111 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43126 main ()
43128 _atan2f(0, 0);
43130 return 0;
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__atan2f_use=yes
43135 else
43136 glibcxx_cv_func__atan2f_use=no
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43150 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43152 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43153 for ac_func in _atan2f
43154 do :
43155 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43156 if test "x$ac_cv_func__atan2f" = xyes; then :
43157 cat >>confdefs.h <<_ACEOF
43158 #define HAVE__ATAN2F 1
43159 _ACEOF
43162 done
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43172 $as_echo_n "checking for fabsf declaration... " >&6; }
43173 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43174 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43188 #ifdef HAVE_IEEEFP_H
43189 #include <ieeefp.h>
43190 #endif
43193 main ()
43195 fabsf(0);
43197 return 0;
43199 _ACEOF
43200 if ac_fn_cxx_try_compile "$LINENO"; then :
43201 glibcxx_cv_func_fabsf_use=yes
43202 else
43203 glibcxx_cv_func_fabsf_use=no
43205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43206 ac_ext=c
43207 ac_cpp='$CPP $CPPFLAGS'
43208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43217 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43219 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43220 for ac_func in fabsf
43221 do :
43222 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43223 if test "x$ac_cv_func_fabsf" = xyes; then :
43224 cat >>confdefs.h <<_ACEOF
43225 #define HAVE_FABSF 1
43226 _ACEOF
43229 done
43231 else
43233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43234 $as_echo_n "checking for _fabsf declaration... " >&6; }
43235 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43236 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43237 $as_echo_n "(cached) " >&6
43238 else
43241 ac_ext=cpp
43242 ac_cpp='$CXXCPP $CPPFLAGS'
43243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43248 /* end confdefs.h. */
43249 #include <math.h>
43250 #ifdef HAVE_IEEEFP_H
43251 #include <ieeefp.h>
43252 #endif
43255 main ()
43257 _fabsf(0);
43259 return 0;
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func__fabsf_use=yes
43264 else
43265 glibcxx_cv_func__fabsf_use=no
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43279 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43281 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43282 for ac_func in _fabsf
43283 do :
43284 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43285 if test "x$ac_cv_func__fabsf" = xyes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE__FABSF 1
43288 _ACEOF
43291 done
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43301 $as_echo_n "checking for fmodf declaration... " >&6; }
43302 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43303 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43318 main ()
43320 fmodf(0, 0);
43322 return 0;
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func_fmodf_use=yes
43327 else
43328 glibcxx_cv_func_fmodf_use=no
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43342 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43344 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43345 for ac_func in fmodf
43346 do :
43347 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43348 if test "x$ac_cv_func_fmodf" = xyes; then :
43349 cat >>confdefs.h <<_ACEOF
43350 #define HAVE_FMODF 1
43351 _ACEOF
43354 done
43356 else
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43359 $as_echo_n "checking for _fmodf declaration... " >&6; }
43360 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43361 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43362 $as_echo_n "(cached) " >&6
43363 else
43366 ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h. */
43374 #include <math.h>
43376 main ()
43378 _fmodf(0, 0);
43380 return 0;
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func__fmodf_use=yes
43385 else
43386 glibcxx_cv_func__fmodf_use=no
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43400 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43402 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43403 for ac_func in _fmodf
43404 do :
43405 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43406 if test "x$ac_cv_func__fmodf" = xyes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE__FMODF 1
43409 _ACEOF
43412 done
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43422 $as_echo_n "checking for frexpf declaration... " >&6; }
43423 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43424 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43425 $as_echo_n "(cached) " >&6
43426 else
43429 ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h. */
43437 #include <math.h>
43439 main ()
43441 frexpf(0, 0);
43443 return 0;
43445 _ACEOF
43446 if ac_fn_cxx_try_compile "$LINENO"; then :
43447 glibcxx_cv_func_frexpf_use=yes
43448 else
43449 glibcxx_cv_func_frexpf_use=no
43451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43452 ac_ext=c
43453 ac_cpp='$CPP $CPPFLAGS'
43454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43463 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43465 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43466 for ac_func in frexpf
43467 do :
43468 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43469 if test "x$ac_cv_func_frexpf" = xyes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define HAVE_FREXPF 1
43472 _ACEOF
43475 done
43477 else
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43480 $as_echo_n "checking for _frexpf declaration... " >&6; }
43481 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43482 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43483 $as_echo_n "(cached) " >&6
43484 else
43487 ac_ext=cpp
43488 ac_cpp='$CXXCPP $CPPFLAGS'
43489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43494 /* end confdefs.h. */
43495 #include <math.h>
43497 main ()
43499 _frexpf(0, 0);
43501 return 0;
43503 _ACEOF
43504 if ac_fn_cxx_try_compile "$LINENO"; then :
43505 glibcxx_cv_func__frexpf_use=yes
43506 else
43507 glibcxx_cv_func__frexpf_use=no
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43521 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43523 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43524 for ac_func in _frexpf
43525 do :
43526 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43527 if test "x$ac_cv_func__frexpf" = xyes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define HAVE__FREXPF 1
43530 _ACEOF
43533 done
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43543 $as_echo_n "checking for hypotf declaration... " >&6; }
43544 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43545 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43546 $as_echo_n "(cached) " >&6
43547 else
43550 ac_ext=cpp
43551 ac_cpp='$CXXCPP $CPPFLAGS'
43552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43557 /* end confdefs.h. */
43558 #include <math.h>
43560 main ()
43562 hypotf(0, 0);
43564 return 0;
43566 _ACEOF
43567 if ac_fn_cxx_try_compile "$LINENO"; then :
43568 glibcxx_cv_func_hypotf_use=yes
43569 else
43570 glibcxx_cv_func_hypotf_use=no
43572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43584 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43586 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43587 for ac_func in hypotf
43588 do :
43589 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43590 if test "x$ac_cv_func_hypotf" = xyes; then :
43591 cat >>confdefs.h <<_ACEOF
43592 #define HAVE_HYPOTF 1
43593 _ACEOF
43596 done
43598 else
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43601 $as_echo_n "checking for _hypotf declaration... " >&6; }
43602 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43603 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43604 $as_echo_n "(cached) " >&6
43605 else
43608 ac_ext=cpp
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43615 /* end confdefs.h. */
43616 #include <math.h>
43618 main ()
43620 _hypotf(0, 0);
43622 return 0;
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func__hypotf_use=yes
43627 else
43628 glibcxx_cv_func__hypotf_use=no
43630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43642 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43644 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43645 for ac_func in _hypotf
43646 do :
43647 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43648 if test "x$ac_cv_func__hypotf" = xyes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE__HYPOTF 1
43651 _ACEOF
43654 done
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43664 $as_echo_n "checking for ldexpf declaration... " >&6; }
43665 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43666 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43667 $as_echo_n "(cached) " >&6
43668 else
43671 ac_ext=cpp
43672 ac_cpp='$CXXCPP $CPPFLAGS'
43673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43678 /* end confdefs.h. */
43679 #include <math.h>
43681 main ()
43683 ldexpf(0, 0);
43685 return 0;
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func_ldexpf_use=yes
43690 else
43691 glibcxx_cv_func_ldexpf_use=no
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43705 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43707 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43708 for ac_func in ldexpf
43709 do :
43710 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43711 if test "x$ac_cv_func_ldexpf" = xyes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE_LDEXPF 1
43714 _ACEOF
43717 done
43719 else
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43722 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43723 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43724 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43739 main ()
43741 _ldexpf(0, 0);
43743 return 0;
43745 _ACEOF
43746 if ac_fn_cxx_try_compile "$LINENO"; then :
43747 glibcxx_cv_func__ldexpf_use=yes
43748 else
43749 glibcxx_cv_func__ldexpf_use=no
43751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43752 ac_ext=c
43753 ac_cpp='$CPP $CPPFLAGS'
43754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43763 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43765 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43766 for ac_func in _ldexpf
43767 do :
43768 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43769 if test "x$ac_cv_func__ldexpf" = xyes; then :
43770 cat >>confdefs.h <<_ACEOF
43771 #define HAVE__LDEXPF 1
43772 _ACEOF
43775 done
43784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43785 $as_echo_n "checking for logf declaration... " >&6; }
43786 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43787 if ${glibcxx_cv_func_logf_use+:} false; then :
43788 $as_echo_n "(cached) " >&6
43789 else
43792 ac_ext=cpp
43793 ac_cpp='$CXXCPP $CPPFLAGS'
43794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43799 /* end confdefs.h. */
43800 #include <math.h>
43801 #ifdef HAVE_IEEEFP_H
43802 #include <ieeefp.h>
43803 #endif
43806 main ()
43808 logf(0);
43810 return 0;
43812 _ACEOF
43813 if ac_fn_cxx_try_compile "$LINENO"; then :
43814 glibcxx_cv_func_logf_use=yes
43815 else
43816 glibcxx_cv_func_logf_use=no
43818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43819 ac_ext=c
43820 ac_cpp='$CPP $CPPFLAGS'
43821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43830 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43832 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43833 for ac_func in logf
43834 do :
43835 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43836 if test "x$ac_cv_func_logf" = xyes; then :
43837 cat >>confdefs.h <<_ACEOF
43838 #define HAVE_LOGF 1
43839 _ACEOF
43842 done
43844 else
43846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43847 $as_echo_n "checking for _logf declaration... " >&6; }
43848 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43849 if ${glibcxx_cv_func__logf_use+:} false; then :
43850 $as_echo_n "(cached) " >&6
43851 else
43854 ac_ext=cpp
43855 ac_cpp='$CXXCPP $CPPFLAGS'
43856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43861 /* end confdefs.h. */
43862 #include <math.h>
43863 #ifdef HAVE_IEEEFP_H
43864 #include <ieeefp.h>
43865 #endif
43868 main ()
43870 _logf(0);
43872 return 0;
43874 _ACEOF
43875 if ac_fn_cxx_try_compile "$LINENO"; then :
43876 glibcxx_cv_func__logf_use=yes
43877 else
43878 glibcxx_cv_func__logf_use=no
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43881 ac_ext=c
43882 ac_cpp='$CPP $CPPFLAGS'
43883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43892 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43894 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43895 for ac_func in _logf
43896 do :
43897 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43898 if test "x$ac_cv_func__logf" = xyes; then :
43899 cat >>confdefs.h <<_ACEOF
43900 #define HAVE__LOGF 1
43901 _ACEOF
43904 done
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43914 $as_echo_n "checking for log10f declaration... " >&6; }
43915 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43916 if ${glibcxx_cv_func_log10f_use+:} false; then :
43917 $as_echo_n "(cached) " >&6
43918 else
43921 ac_ext=cpp
43922 ac_cpp='$CXXCPP $CPPFLAGS'
43923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43928 /* end confdefs.h. */
43929 #include <math.h>
43930 #ifdef HAVE_IEEEFP_H
43931 #include <ieeefp.h>
43932 #endif
43935 main ()
43937 log10f(0);
43939 return 0;
43941 _ACEOF
43942 if ac_fn_cxx_try_compile "$LINENO"; then :
43943 glibcxx_cv_func_log10f_use=yes
43944 else
43945 glibcxx_cv_func_log10f_use=no
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_ext=c
43949 ac_cpp='$CPP $CPPFLAGS'
43950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43959 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43961 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43962 for ac_func in log10f
43963 do :
43964 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43965 if test "x$ac_cv_func_log10f" = xyes; then :
43966 cat >>confdefs.h <<_ACEOF
43967 #define HAVE_LOG10F 1
43968 _ACEOF
43971 done
43973 else
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43976 $as_echo_n "checking for _log10f declaration... " >&6; }
43977 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43978 if ${glibcxx_cv_func__log10f_use+:} false; then :
43979 $as_echo_n "(cached) " >&6
43980 else
43983 ac_ext=cpp
43984 ac_cpp='$CXXCPP $CPPFLAGS'
43985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43990 /* end confdefs.h. */
43991 #include <math.h>
43992 #ifdef HAVE_IEEEFP_H
43993 #include <ieeefp.h>
43994 #endif
43997 main ()
43999 _log10f(0);
44001 return 0;
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func__log10f_use=yes
44006 else
44007 glibcxx_cv_func__log10f_use=no
44009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44021 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44023 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44024 for ac_func in _log10f
44025 do :
44026 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44027 if test "x$ac_cv_func__log10f" = xyes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE__LOG10F 1
44030 _ACEOF
44033 done
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44043 $as_echo_n "checking for modff declaration... " >&6; }
44044 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44045 if ${glibcxx_cv_func_modff_use+:} false; then :
44046 $as_echo_n "(cached) " >&6
44047 else
44050 ac_ext=cpp
44051 ac_cpp='$CXXCPP $CPPFLAGS'
44052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44057 /* end confdefs.h. */
44058 #include <math.h>
44060 main ()
44062 modff(0, 0);
44064 return 0;
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func_modff_use=yes
44069 else
44070 glibcxx_cv_func_modff_use=no
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44084 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44086 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44087 for ac_func in modff
44088 do :
44089 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44090 if test "x$ac_cv_func_modff" = xyes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE_MODFF 1
44093 _ACEOF
44096 done
44098 else
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44101 $as_echo_n "checking for _modff declaration... " >&6; }
44102 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44103 if ${glibcxx_cv_func__modff_use+:} false; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44118 main ()
44120 _modff(0, 0);
44122 return 0;
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func__modff_use=yes
44127 else
44128 glibcxx_cv_func__modff_use=no
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 ac_ext=c
44132 ac_cpp='$CPP $CPPFLAGS'
44133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44142 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44144 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44145 for ac_func in _modff
44146 do :
44147 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44148 if test "x$ac_cv_func__modff" = xyes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE__MODFF 1
44151 _ACEOF
44154 done
44163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44164 $as_echo_n "checking for modf declaration... " >&6; }
44165 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44166 if ${glibcxx_cv_func_modf_use+:} false; then :
44167 $as_echo_n "(cached) " >&6
44168 else
44171 ac_ext=cpp
44172 ac_cpp='$CXXCPP $CPPFLAGS'
44173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44178 /* end confdefs.h. */
44179 #include <math.h>
44181 main ()
44183 modf(0, 0);
44185 return 0;
44187 _ACEOF
44188 if ac_fn_cxx_try_compile "$LINENO"; then :
44189 glibcxx_cv_func_modf_use=yes
44190 else
44191 glibcxx_cv_func_modf_use=no
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194 ac_ext=c
44195 ac_cpp='$CPP $CPPFLAGS'
44196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44205 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44207 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44208 for ac_func in modf
44209 do :
44210 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44211 if test "x$ac_cv_func_modf" = xyes; then :
44212 cat >>confdefs.h <<_ACEOF
44213 #define HAVE_MODF 1
44214 _ACEOF
44217 done
44219 else
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44222 $as_echo_n "checking for _modf declaration... " >&6; }
44223 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44224 if ${glibcxx_cv_func__modf_use+:} false; then :
44225 $as_echo_n "(cached) " >&6
44226 else
44229 ac_ext=cpp
44230 ac_cpp='$CXXCPP $CPPFLAGS'
44231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44236 /* end confdefs.h. */
44237 #include <math.h>
44239 main ()
44241 _modf(0, 0);
44243 return 0;
44245 _ACEOF
44246 if ac_fn_cxx_try_compile "$LINENO"; then :
44247 glibcxx_cv_func__modf_use=yes
44248 else
44249 glibcxx_cv_func__modf_use=no
44251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44252 ac_ext=c
44253 ac_cpp='$CPP $CPPFLAGS'
44254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44263 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44265 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44266 for ac_func in _modf
44267 do :
44268 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44269 if test "x$ac_cv_func__modf" = xyes; then :
44270 cat >>confdefs.h <<_ACEOF
44271 #define HAVE__MODF 1
44272 _ACEOF
44275 done
44284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44285 $as_echo_n "checking for powf declaration... " >&6; }
44286 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44287 if ${glibcxx_cv_func_powf_use+:} false; then :
44288 $as_echo_n "(cached) " >&6
44289 else
44292 ac_ext=cpp
44293 ac_cpp='$CXXCPP $CPPFLAGS'
44294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44299 /* end confdefs.h. */
44300 #include <math.h>
44302 main ()
44304 powf(0, 0);
44306 return 0;
44308 _ACEOF
44309 if ac_fn_cxx_try_compile "$LINENO"; then :
44310 glibcxx_cv_func_powf_use=yes
44311 else
44312 glibcxx_cv_func_powf_use=no
44314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44315 ac_ext=c
44316 ac_cpp='$CPP $CPPFLAGS'
44317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44326 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44328 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44329 for ac_func in powf
44330 do :
44331 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44332 if test "x$ac_cv_func_powf" = xyes; then :
44333 cat >>confdefs.h <<_ACEOF
44334 #define HAVE_POWF 1
44335 _ACEOF
44338 done
44340 else
44342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44343 $as_echo_n "checking for _powf declaration... " >&6; }
44344 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44345 if ${glibcxx_cv_func__powf_use+:} false; then :
44346 $as_echo_n "(cached) " >&6
44347 else
44350 ac_ext=cpp
44351 ac_cpp='$CXXCPP $CPPFLAGS'
44352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44357 /* end confdefs.h. */
44358 #include <math.h>
44360 main ()
44362 _powf(0, 0);
44364 return 0;
44366 _ACEOF
44367 if ac_fn_cxx_try_compile "$LINENO"; then :
44368 glibcxx_cv_func__powf_use=yes
44369 else
44370 glibcxx_cv_func__powf_use=no
44372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373 ac_ext=c
44374 ac_cpp='$CPP $CPPFLAGS'
44375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44384 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44386 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44387 for ac_func in _powf
44388 do :
44389 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44390 if test "x$ac_cv_func__powf" = xyes; then :
44391 cat >>confdefs.h <<_ACEOF
44392 #define HAVE__POWF 1
44393 _ACEOF
44396 done
44405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44406 $as_echo_n "checking for sqrtf declaration... " >&6; }
44407 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44408 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44409 $as_echo_n "(cached) " >&6
44410 else
44413 ac_ext=cpp
44414 ac_cpp='$CXXCPP $CPPFLAGS'
44415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44420 /* end confdefs.h. */
44421 #include <math.h>
44422 #ifdef HAVE_IEEEFP_H
44423 #include <ieeefp.h>
44424 #endif
44427 main ()
44429 sqrtf(0);
44431 return 0;
44433 _ACEOF
44434 if ac_fn_cxx_try_compile "$LINENO"; then :
44435 glibcxx_cv_func_sqrtf_use=yes
44436 else
44437 glibcxx_cv_func_sqrtf_use=no
44439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44440 ac_ext=c
44441 ac_cpp='$CPP $CPPFLAGS'
44442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44451 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44453 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44454 for ac_func in sqrtf
44455 do :
44456 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44457 if test "x$ac_cv_func_sqrtf" = xyes; then :
44458 cat >>confdefs.h <<_ACEOF
44459 #define HAVE_SQRTF 1
44460 _ACEOF
44463 done
44465 else
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44468 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44469 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44470 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44471 $as_echo_n "(cached) " >&6
44472 else
44475 ac_ext=cpp
44476 ac_cpp='$CXXCPP $CPPFLAGS'
44477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44482 /* end confdefs.h. */
44483 #include <math.h>
44484 #ifdef HAVE_IEEEFP_H
44485 #include <ieeefp.h>
44486 #endif
44489 main ()
44491 _sqrtf(0);
44493 return 0;
44495 _ACEOF
44496 if ac_fn_cxx_try_compile "$LINENO"; then :
44497 glibcxx_cv_func__sqrtf_use=yes
44498 else
44499 glibcxx_cv_func__sqrtf_use=no
44501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44502 ac_ext=c
44503 ac_cpp='$CPP $CPPFLAGS'
44504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44513 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44515 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44516 for ac_func in _sqrtf
44517 do :
44518 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44519 if test "x$ac_cv_func__sqrtf" = xyes; then :
44520 cat >>confdefs.h <<_ACEOF
44521 #define HAVE__SQRTF 1
44522 _ACEOF
44525 done
44534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44535 $as_echo_n "checking for sincosf declaration... " >&6; }
44536 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44537 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44538 $as_echo_n "(cached) " >&6
44539 else
44542 ac_ext=cpp
44543 ac_cpp='$CXXCPP $CPPFLAGS'
44544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44549 /* end confdefs.h. */
44550 #include <math.h>
44552 main ()
44554 sincosf(0, 0, 0);
44556 return 0;
44558 _ACEOF
44559 if ac_fn_cxx_try_compile "$LINENO"; then :
44560 glibcxx_cv_func_sincosf_use=yes
44561 else
44562 glibcxx_cv_func_sincosf_use=no
44564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44565 ac_ext=c
44566 ac_cpp='$CPP $CPPFLAGS'
44567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44576 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44578 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44579 for ac_func in sincosf
44580 do :
44581 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44582 if test "x$ac_cv_func_sincosf" = xyes; then :
44583 cat >>confdefs.h <<_ACEOF
44584 #define HAVE_SINCOSF 1
44585 _ACEOF
44588 done
44590 else
44592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44593 $as_echo_n "checking for _sincosf declaration... " >&6; }
44594 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44595 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44596 $as_echo_n "(cached) " >&6
44597 else
44600 ac_ext=cpp
44601 ac_cpp='$CXXCPP $CPPFLAGS'
44602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44607 /* end confdefs.h. */
44608 #include <math.h>
44610 main ()
44612 _sincosf(0, 0, 0);
44614 return 0;
44616 _ACEOF
44617 if ac_fn_cxx_try_compile "$LINENO"; then :
44618 glibcxx_cv_func__sincosf_use=yes
44619 else
44620 glibcxx_cv_func__sincosf_use=no
44622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44623 ac_ext=c
44624 ac_cpp='$CPP $CPPFLAGS'
44625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44634 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44636 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44637 for ac_func in _sincosf
44638 do :
44639 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44640 if test "x$ac_cv_func__sincosf" = xyes; then :
44641 cat >>confdefs.h <<_ACEOF
44642 #define HAVE__SINCOSF 1
44643 _ACEOF
44646 done
44655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44656 $as_echo_n "checking for finitef declaration... " >&6; }
44657 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44658 if ${glibcxx_cv_func_finitef_use+:} false; then :
44659 $as_echo_n "(cached) " >&6
44660 else
44663 ac_ext=cpp
44664 ac_cpp='$CXXCPP $CPPFLAGS'
44665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44670 /* end confdefs.h. */
44671 #include <math.h>
44672 #ifdef HAVE_IEEEFP_H
44673 #include <ieeefp.h>
44674 #endif
44677 main ()
44679 finitef(0);
44681 return 0;
44683 _ACEOF
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44685 glibcxx_cv_func_finitef_use=yes
44686 else
44687 glibcxx_cv_func_finitef_use=no
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 ac_ext=c
44691 ac_cpp='$CPP $CPPFLAGS'
44692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44701 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44703 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44704 for ac_func in finitef
44705 do :
44706 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44707 if test "x$ac_cv_func_finitef" = xyes; then :
44708 cat >>confdefs.h <<_ACEOF
44709 #define HAVE_FINITEF 1
44710 _ACEOF
44713 done
44715 else
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44718 $as_echo_n "checking for _finitef declaration... " >&6; }
44719 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44720 if ${glibcxx_cv_func__finitef_use+:} false; then :
44721 $as_echo_n "(cached) " >&6
44722 else
44725 ac_ext=cpp
44726 ac_cpp='$CXXCPP $CPPFLAGS'
44727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44732 /* end confdefs.h. */
44733 #include <math.h>
44734 #ifdef HAVE_IEEEFP_H
44735 #include <ieeefp.h>
44736 #endif
44739 main ()
44741 _finitef(0);
44743 return 0;
44745 _ACEOF
44746 if ac_fn_cxx_try_compile "$LINENO"; then :
44747 glibcxx_cv_func__finitef_use=yes
44748 else
44749 glibcxx_cv_func__finitef_use=no
44751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44752 ac_ext=c
44753 ac_cpp='$CPP $CPPFLAGS'
44754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44763 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44765 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44766 for ac_func in _finitef
44767 do :
44768 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44769 if test "x$ac_cv_func__finitef" = xyes; then :
44770 cat >>confdefs.h <<_ACEOF
44771 #define HAVE__FINITEF 1
44772 _ACEOF
44775 done
44784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44785 $as_echo_n "checking for long double trig functions... " >&6; }
44786 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44787 $as_echo_n "(cached) " >&6
44788 else
44791 ac_ext=cpp
44792 ac_cpp='$CXXCPP $CPPFLAGS'
44793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44798 /* end confdefs.h. */
44799 #include <math.h>
44801 main ()
44803 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44805 return 0;
44807 _ACEOF
44808 if ac_fn_cxx_try_compile "$LINENO"; then :
44809 glibcxx_cv_func_long_double_trig_use=yes
44810 else
44811 glibcxx_cv_func_long_double_trig_use=no
44813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44814 ac_ext=c
44815 ac_cpp='$CPP $CPPFLAGS'
44816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44823 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44824 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44825 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44826 do :
44827 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44828 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44829 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44830 cat >>confdefs.h <<_ACEOF
44831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44832 _ACEOF
44835 done
44837 else
44838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44839 $as_echo_n "checking for _long double trig functions... " >&6; }
44840 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44841 $as_echo_n "(cached) " >&6
44842 else
44845 ac_ext=cpp
44846 ac_cpp='$CXXCPP $CPPFLAGS'
44847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44852 /* end confdefs.h. */
44853 #include <math.h>
44855 main ()
44857 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44859 return 0;
44861 _ACEOF
44862 if ac_fn_cxx_try_compile "$LINENO"; then :
44863 glibcxx_cv_func__long_double_trig_use=yes
44864 else
44865 glibcxx_cv_func__long_double_trig_use=no
44867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44868 ac_ext=c
44869 ac_cpp='$CPP $CPPFLAGS'
44870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44877 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44878 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44879 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44880 do :
44881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44883 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44884 cat >>confdefs.h <<_ACEOF
44885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44886 _ACEOF
44889 done
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44899 $as_echo_n "checking for long double round functions... " >&6; }
44900 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44901 $as_echo_n "(cached) " >&6
44902 else
44905 ac_ext=cpp
44906 ac_cpp='$CXXCPP $CPPFLAGS'
44907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44912 /* end confdefs.h. */
44913 #include <math.h>
44915 main ()
44917 ceill (0); floorl (0);
44919 return 0;
44921 _ACEOF
44922 if ac_fn_cxx_try_compile "$LINENO"; then :
44923 glibcxx_cv_func_long_double_round_use=yes
44924 else
44925 glibcxx_cv_func_long_double_round_use=no
44927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44928 ac_ext=c
44929 ac_cpp='$CPP $CPPFLAGS'
44930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44937 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44938 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44939 for ac_func in ceill floorl
44940 do :
44941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44943 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44944 cat >>confdefs.h <<_ACEOF
44945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44946 _ACEOF
44949 done
44951 else
44952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44953 $as_echo_n "checking for _long double round functions... " >&6; }
44954 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44955 $as_echo_n "(cached) " >&6
44956 else
44959 ac_ext=cpp
44960 ac_cpp='$CXXCPP $CPPFLAGS'
44961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44966 /* end confdefs.h. */
44967 #include <math.h>
44969 main ()
44971 _ceill (0); _floorl (0);
44973 return 0;
44975 _ACEOF
44976 if ac_fn_cxx_try_compile "$LINENO"; then :
44977 glibcxx_cv_func__long_double_round_use=yes
44978 else
44979 glibcxx_cv_func__long_double_round_use=no
44981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44982 ac_ext=c
44983 ac_cpp='$CPP $CPPFLAGS'
44984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44991 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44992 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44993 for ac_func in _ceill _floorl
44994 do :
44995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44998 cat >>confdefs.h <<_ACEOF
44999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45000 _ACEOF
45003 done
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45014 $as_echo_n "checking for isnanl declaration... " >&6; }
45015 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45016 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45017 $as_echo_n "(cached) " >&6
45018 else
45021 ac_ext=cpp
45022 ac_cpp='$CXXCPP $CPPFLAGS'
45023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028 /* end confdefs.h. */
45029 #include <math.h>
45030 #ifdef HAVE_IEEEFP_H
45031 #include <ieeefp.h>
45032 #endif
45035 main ()
45037 isnanl(0);
45039 return 0;
45041 _ACEOF
45042 if ac_fn_cxx_try_compile "$LINENO"; then :
45043 glibcxx_cv_func_isnanl_use=yes
45044 else
45045 glibcxx_cv_func_isnanl_use=no
45047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45048 ac_ext=c
45049 ac_cpp='$CPP $CPPFLAGS'
45050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45059 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45061 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45062 for ac_func in isnanl
45063 do :
45064 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45065 if test "x$ac_cv_func_isnanl" = xyes; then :
45066 cat >>confdefs.h <<_ACEOF
45067 #define HAVE_ISNANL 1
45068 _ACEOF
45071 done
45073 else
45075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45076 $as_echo_n "checking for _isnanl declaration... " >&6; }
45077 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45078 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45079 $as_echo_n "(cached) " >&6
45080 else
45083 ac_ext=cpp
45084 ac_cpp='$CXXCPP $CPPFLAGS'
45085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45090 /* end confdefs.h. */
45091 #include <math.h>
45092 #ifdef HAVE_IEEEFP_H
45093 #include <ieeefp.h>
45094 #endif
45097 main ()
45099 _isnanl(0);
45101 return 0;
45103 _ACEOF
45104 if ac_fn_cxx_try_compile "$LINENO"; then :
45105 glibcxx_cv_func__isnanl_use=yes
45106 else
45107 glibcxx_cv_func__isnanl_use=no
45109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45110 ac_ext=c
45111 ac_cpp='$CPP $CPPFLAGS'
45112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45121 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45123 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45124 for ac_func in _isnanl
45125 do :
45126 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45127 if test "x$ac_cv_func__isnanl" = xyes; then :
45128 cat >>confdefs.h <<_ACEOF
45129 #define HAVE__ISNANL 1
45130 _ACEOF
45133 done
45142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45143 $as_echo_n "checking for isinfl declaration... " >&6; }
45144 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45145 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45146 $as_echo_n "(cached) " >&6
45147 else
45150 ac_ext=cpp
45151 ac_cpp='$CXXCPP $CPPFLAGS'
45152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45157 /* end confdefs.h. */
45158 #include <math.h>
45159 #ifdef HAVE_IEEEFP_H
45160 #include <ieeefp.h>
45161 #endif
45164 main ()
45166 isinfl(0);
45168 return 0;
45170 _ACEOF
45171 if ac_fn_cxx_try_compile "$LINENO"; then :
45172 glibcxx_cv_func_isinfl_use=yes
45173 else
45174 glibcxx_cv_func_isinfl_use=no
45176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45177 ac_ext=c
45178 ac_cpp='$CPP $CPPFLAGS'
45179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45188 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45190 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45191 for ac_func in isinfl
45192 do :
45193 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45194 if test "x$ac_cv_func_isinfl" = xyes; then :
45195 cat >>confdefs.h <<_ACEOF
45196 #define HAVE_ISINFL 1
45197 _ACEOF
45200 done
45202 else
45204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45205 $as_echo_n "checking for _isinfl declaration... " >&6; }
45206 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45207 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45208 $as_echo_n "(cached) " >&6
45209 else
45212 ac_ext=cpp
45213 ac_cpp='$CXXCPP $CPPFLAGS'
45214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45219 /* end confdefs.h. */
45220 #include <math.h>
45221 #ifdef HAVE_IEEEFP_H
45222 #include <ieeefp.h>
45223 #endif
45226 main ()
45228 _isinfl(0);
45230 return 0;
45232 _ACEOF
45233 if ac_fn_cxx_try_compile "$LINENO"; then :
45234 glibcxx_cv_func__isinfl_use=yes
45235 else
45236 glibcxx_cv_func__isinfl_use=no
45238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45239 ac_ext=c
45240 ac_cpp='$CPP $CPPFLAGS'
45241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45250 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45252 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45253 for ac_func in _isinfl
45254 do :
45255 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45256 if test "x$ac_cv_func__isinfl" = xyes; then :
45257 cat >>confdefs.h <<_ACEOF
45258 #define HAVE__ISINFL 1
45259 _ACEOF
45262 done
45271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45272 $as_echo_n "checking for atan2l declaration... " >&6; }
45273 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45274 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45275 $as_echo_n "(cached) " >&6
45276 else
45279 ac_ext=cpp
45280 ac_cpp='$CXXCPP $CPPFLAGS'
45281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45286 /* end confdefs.h. */
45287 #include <math.h>
45289 main ()
45291 atan2l(0, 0);
45293 return 0;
45295 _ACEOF
45296 if ac_fn_cxx_try_compile "$LINENO"; then :
45297 glibcxx_cv_func_atan2l_use=yes
45298 else
45299 glibcxx_cv_func_atan2l_use=no
45301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45302 ac_ext=c
45303 ac_cpp='$CPP $CPPFLAGS'
45304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45313 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45315 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45316 for ac_func in atan2l
45317 do :
45318 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45319 if test "x$ac_cv_func_atan2l" = xyes; then :
45320 cat >>confdefs.h <<_ACEOF
45321 #define HAVE_ATAN2L 1
45322 _ACEOF
45325 done
45327 else
45329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45330 $as_echo_n "checking for _atan2l declaration... " >&6; }
45331 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45332 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45333 $as_echo_n "(cached) " >&6
45334 else
45337 ac_ext=cpp
45338 ac_cpp='$CXXCPP $CPPFLAGS'
45339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45344 /* end confdefs.h. */
45345 #include <math.h>
45347 main ()
45349 _atan2l(0, 0);
45351 return 0;
45353 _ACEOF
45354 if ac_fn_cxx_try_compile "$LINENO"; then :
45355 glibcxx_cv_func__atan2l_use=yes
45356 else
45357 glibcxx_cv_func__atan2l_use=no
45359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45360 ac_ext=c
45361 ac_cpp='$CPP $CPPFLAGS'
45362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45371 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45373 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45374 for ac_func in _atan2l
45375 do :
45376 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45377 if test "x$ac_cv_func__atan2l" = xyes; then :
45378 cat >>confdefs.h <<_ACEOF
45379 #define HAVE__ATAN2L 1
45380 _ACEOF
45383 done
45392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45393 $as_echo_n "checking for expl declaration... " >&6; }
45394 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45395 if ${glibcxx_cv_func_expl_use+:} false; then :
45396 $as_echo_n "(cached) " >&6
45397 else
45400 ac_ext=cpp
45401 ac_cpp='$CXXCPP $CPPFLAGS'
45402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45407 /* end confdefs.h. */
45408 #include <math.h>
45409 #ifdef HAVE_IEEEFP_H
45410 #include <ieeefp.h>
45411 #endif
45414 main ()
45416 expl(0);
45418 return 0;
45420 _ACEOF
45421 if ac_fn_cxx_try_compile "$LINENO"; then :
45422 glibcxx_cv_func_expl_use=yes
45423 else
45424 glibcxx_cv_func_expl_use=no
45426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45427 ac_ext=c
45428 ac_cpp='$CPP $CPPFLAGS'
45429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45438 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45440 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45441 for ac_func in expl
45442 do :
45443 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45444 if test "x$ac_cv_func_expl" = xyes; then :
45445 cat >>confdefs.h <<_ACEOF
45446 #define HAVE_EXPL 1
45447 _ACEOF
45450 done
45452 else
45454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45455 $as_echo_n "checking for _expl declaration... " >&6; }
45456 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45457 if ${glibcxx_cv_func__expl_use+:} false; then :
45458 $as_echo_n "(cached) " >&6
45459 else
45462 ac_ext=cpp
45463 ac_cpp='$CXXCPP $CPPFLAGS'
45464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45469 /* end confdefs.h. */
45470 #include <math.h>
45471 #ifdef HAVE_IEEEFP_H
45472 #include <ieeefp.h>
45473 #endif
45476 main ()
45478 _expl(0);
45480 return 0;
45482 _ACEOF
45483 if ac_fn_cxx_try_compile "$LINENO"; then :
45484 glibcxx_cv_func__expl_use=yes
45485 else
45486 glibcxx_cv_func__expl_use=no
45488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45489 ac_ext=c
45490 ac_cpp='$CPP $CPPFLAGS'
45491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45500 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45502 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45503 for ac_func in _expl
45504 do :
45505 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45506 if test "x$ac_cv_func__expl" = xyes; then :
45507 cat >>confdefs.h <<_ACEOF
45508 #define HAVE__EXPL 1
45509 _ACEOF
45512 done
45521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45522 $as_echo_n "checking for fabsl declaration... " >&6; }
45523 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45524 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45525 $as_echo_n "(cached) " >&6
45526 else
45529 ac_ext=cpp
45530 ac_cpp='$CXXCPP $CPPFLAGS'
45531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45536 /* end confdefs.h. */
45537 #include <math.h>
45538 #ifdef HAVE_IEEEFP_H
45539 #include <ieeefp.h>
45540 #endif
45543 main ()
45545 fabsl(0);
45547 return 0;
45549 _ACEOF
45550 if ac_fn_cxx_try_compile "$LINENO"; then :
45551 glibcxx_cv_func_fabsl_use=yes
45552 else
45553 glibcxx_cv_func_fabsl_use=no
45555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45556 ac_ext=c
45557 ac_cpp='$CPP $CPPFLAGS'
45558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45567 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45569 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45570 for ac_func in fabsl
45571 do :
45572 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45573 if test "x$ac_cv_func_fabsl" = xyes; then :
45574 cat >>confdefs.h <<_ACEOF
45575 #define HAVE_FABSL 1
45576 _ACEOF
45579 done
45581 else
45583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45584 $as_echo_n "checking for _fabsl declaration... " >&6; }
45585 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45586 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45587 $as_echo_n "(cached) " >&6
45588 else
45591 ac_ext=cpp
45592 ac_cpp='$CXXCPP $CPPFLAGS'
45593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45598 /* end confdefs.h. */
45599 #include <math.h>
45600 #ifdef HAVE_IEEEFP_H
45601 #include <ieeefp.h>
45602 #endif
45605 main ()
45607 _fabsl(0);
45609 return 0;
45611 _ACEOF
45612 if ac_fn_cxx_try_compile "$LINENO"; then :
45613 glibcxx_cv_func__fabsl_use=yes
45614 else
45615 glibcxx_cv_func__fabsl_use=no
45617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45618 ac_ext=c
45619 ac_cpp='$CPP $CPPFLAGS'
45620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45629 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45631 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45632 for ac_func in _fabsl
45633 do :
45634 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45635 if test "x$ac_cv_func__fabsl" = xyes; then :
45636 cat >>confdefs.h <<_ACEOF
45637 #define HAVE__FABSL 1
45638 _ACEOF
45641 done
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45651 $as_echo_n "checking for fmodl declaration... " >&6; }
45652 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45653 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45654 $as_echo_n "(cached) " >&6
45655 else
45658 ac_ext=cpp
45659 ac_cpp='$CXXCPP $CPPFLAGS'
45660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45665 /* end confdefs.h. */
45666 #include <math.h>
45668 main ()
45670 fmodl(0, 0);
45672 return 0;
45674 _ACEOF
45675 if ac_fn_cxx_try_compile "$LINENO"; then :
45676 glibcxx_cv_func_fmodl_use=yes
45677 else
45678 glibcxx_cv_func_fmodl_use=no
45680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45681 ac_ext=c
45682 ac_cpp='$CPP $CPPFLAGS'
45683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45692 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45694 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45695 for ac_func in fmodl
45696 do :
45697 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45698 if test "x$ac_cv_func_fmodl" = xyes; then :
45699 cat >>confdefs.h <<_ACEOF
45700 #define HAVE_FMODL 1
45701 _ACEOF
45704 done
45706 else
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45709 $as_echo_n "checking for _fmodl declaration... " >&6; }
45710 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45711 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45712 $as_echo_n "(cached) " >&6
45713 else
45716 ac_ext=cpp
45717 ac_cpp='$CXXCPP $CPPFLAGS'
45718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45723 /* end confdefs.h. */
45724 #include <math.h>
45726 main ()
45728 _fmodl(0, 0);
45730 return 0;
45732 _ACEOF
45733 if ac_fn_cxx_try_compile "$LINENO"; then :
45734 glibcxx_cv_func__fmodl_use=yes
45735 else
45736 glibcxx_cv_func__fmodl_use=no
45738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45739 ac_ext=c
45740 ac_cpp='$CPP $CPPFLAGS'
45741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45750 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45752 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45753 for ac_func in _fmodl
45754 do :
45755 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45756 if test "x$ac_cv_func__fmodl" = xyes; then :
45757 cat >>confdefs.h <<_ACEOF
45758 #define HAVE__FMODL 1
45759 _ACEOF
45762 done
45771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45772 $as_echo_n "checking for frexpl declaration... " >&6; }
45773 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45774 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45775 $as_echo_n "(cached) " >&6
45776 else
45779 ac_ext=cpp
45780 ac_cpp='$CXXCPP $CPPFLAGS'
45781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45786 /* end confdefs.h. */
45787 #include <math.h>
45789 main ()
45791 frexpl(0, 0);
45793 return 0;
45795 _ACEOF
45796 if ac_fn_cxx_try_compile "$LINENO"; then :
45797 glibcxx_cv_func_frexpl_use=yes
45798 else
45799 glibcxx_cv_func_frexpl_use=no
45801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45802 ac_ext=c
45803 ac_cpp='$CPP $CPPFLAGS'
45804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45813 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45815 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45816 for ac_func in frexpl
45817 do :
45818 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45819 if test "x$ac_cv_func_frexpl" = xyes; then :
45820 cat >>confdefs.h <<_ACEOF
45821 #define HAVE_FREXPL 1
45822 _ACEOF
45825 done
45827 else
45829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45830 $as_echo_n "checking for _frexpl declaration... " >&6; }
45831 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45832 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45833 $as_echo_n "(cached) " >&6
45834 else
45837 ac_ext=cpp
45838 ac_cpp='$CXXCPP $CPPFLAGS'
45839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45844 /* end confdefs.h. */
45845 #include <math.h>
45847 main ()
45849 _frexpl(0, 0);
45851 return 0;
45853 _ACEOF
45854 if ac_fn_cxx_try_compile "$LINENO"; then :
45855 glibcxx_cv_func__frexpl_use=yes
45856 else
45857 glibcxx_cv_func__frexpl_use=no
45859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45860 ac_ext=c
45861 ac_cpp='$CPP $CPPFLAGS'
45862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45871 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45873 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45874 for ac_func in _frexpl
45875 do :
45876 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45877 if test "x$ac_cv_func__frexpl" = xyes; then :
45878 cat >>confdefs.h <<_ACEOF
45879 #define HAVE__FREXPL 1
45880 _ACEOF
45883 done
45892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45893 $as_echo_n "checking for hypotl declaration... " >&6; }
45894 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45895 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45896 $as_echo_n "(cached) " >&6
45897 else
45900 ac_ext=cpp
45901 ac_cpp='$CXXCPP $CPPFLAGS'
45902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45907 /* end confdefs.h. */
45908 #include <math.h>
45910 main ()
45912 hypotl(0, 0);
45914 return 0;
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918 glibcxx_cv_func_hypotl_use=yes
45919 else
45920 glibcxx_cv_func_hypotl_use=no
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45934 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45936 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45937 for ac_func in hypotl
45938 do :
45939 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45940 if test "x$ac_cv_func_hypotl" = xyes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define HAVE_HYPOTL 1
45943 _ACEOF
45946 done
45948 else
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45951 $as_echo_n "checking for _hypotl declaration... " >&6; }
45952 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45953 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45954 $as_echo_n "(cached) " >&6
45955 else
45958 ac_ext=cpp
45959 ac_cpp='$CXXCPP $CPPFLAGS'
45960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45965 /* end confdefs.h. */
45966 #include <math.h>
45968 main ()
45970 _hypotl(0, 0);
45972 return 0;
45974 _ACEOF
45975 if ac_fn_cxx_try_compile "$LINENO"; then :
45976 glibcxx_cv_func__hypotl_use=yes
45977 else
45978 glibcxx_cv_func__hypotl_use=no
45980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45981 ac_ext=c
45982 ac_cpp='$CPP $CPPFLAGS'
45983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45992 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45994 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45995 for ac_func in _hypotl
45996 do :
45997 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45998 if test "x$ac_cv_func__hypotl" = xyes; then :
45999 cat >>confdefs.h <<_ACEOF
46000 #define HAVE__HYPOTL 1
46001 _ACEOF
46004 done
46013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46014 $as_echo_n "checking for ldexpl declaration... " >&6; }
46015 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46016 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46017 $as_echo_n "(cached) " >&6
46018 else
46021 ac_ext=cpp
46022 ac_cpp='$CXXCPP $CPPFLAGS'
46023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46028 /* end confdefs.h. */
46029 #include <math.h>
46031 main ()
46033 ldexpl(0, 0);
46035 return 0;
46037 _ACEOF
46038 if ac_fn_cxx_try_compile "$LINENO"; then :
46039 glibcxx_cv_func_ldexpl_use=yes
46040 else
46041 glibcxx_cv_func_ldexpl_use=no
46043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46044 ac_ext=c
46045 ac_cpp='$CPP $CPPFLAGS'
46046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46055 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46057 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46058 for ac_func in ldexpl
46059 do :
46060 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46061 if test "x$ac_cv_func_ldexpl" = xyes; then :
46062 cat >>confdefs.h <<_ACEOF
46063 #define HAVE_LDEXPL 1
46064 _ACEOF
46067 done
46069 else
46071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46072 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46073 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46074 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46075 $as_echo_n "(cached) " >&6
46076 else
46079 ac_ext=cpp
46080 ac_cpp='$CXXCPP $CPPFLAGS'
46081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46086 /* end confdefs.h. */
46087 #include <math.h>
46089 main ()
46091 _ldexpl(0, 0);
46093 return 0;
46095 _ACEOF
46096 if ac_fn_cxx_try_compile "$LINENO"; then :
46097 glibcxx_cv_func__ldexpl_use=yes
46098 else
46099 glibcxx_cv_func__ldexpl_use=no
46101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46102 ac_ext=c
46103 ac_cpp='$CPP $CPPFLAGS'
46104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46113 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46115 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46116 for ac_func in _ldexpl
46117 do :
46118 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46119 if test "x$ac_cv_func__ldexpl" = xyes; then :
46120 cat >>confdefs.h <<_ACEOF
46121 #define HAVE__LDEXPL 1
46122 _ACEOF
46125 done
46134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46135 $as_echo_n "checking for logl declaration... " >&6; }
46136 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46137 if ${glibcxx_cv_func_logl_use+:} false; then :
46138 $as_echo_n "(cached) " >&6
46139 else
46142 ac_ext=cpp
46143 ac_cpp='$CXXCPP $CPPFLAGS'
46144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46149 /* end confdefs.h. */
46150 #include <math.h>
46151 #ifdef HAVE_IEEEFP_H
46152 #include <ieeefp.h>
46153 #endif
46156 main ()
46158 logl(0);
46160 return 0;
46162 _ACEOF
46163 if ac_fn_cxx_try_compile "$LINENO"; then :
46164 glibcxx_cv_func_logl_use=yes
46165 else
46166 glibcxx_cv_func_logl_use=no
46168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46169 ac_ext=c
46170 ac_cpp='$CPP $CPPFLAGS'
46171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46180 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46182 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46183 for ac_func in logl
46184 do :
46185 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46186 if test "x$ac_cv_func_logl" = xyes; then :
46187 cat >>confdefs.h <<_ACEOF
46188 #define HAVE_LOGL 1
46189 _ACEOF
46192 done
46194 else
46196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46197 $as_echo_n "checking for _logl declaration... " >&6; }
46198 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46199 if ${glibcxx_cv_func__logl_use+:} false; then :
46200 $as_echo_n "(cached) " >&6
46201 else
46204 ac_ext=cpp
46205 ac_cpp='$CXXCPP $CPPFLAGS'
46206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46211 /* end confdefs.h. */
46212 #include <math.h>
46213 #ifdef HAVE_IEEEFP_H
46214 #include <ieeefp.h>
46215 #endif
46218 main ()
46220 _logl(0);
46222 return 0;
46224 _ACEOF
46225 if ac_fn_cxx_try_compile "$LINENO"; then :
46226 glibcxx_cv_func__logl_use=yes
46227 else
46228 glibcxx_cv_func__logl_use=no
46230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46231 ac_ext=c
46232 ac_cpp='$CPP $CPPFLAGS'
46233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46242 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46244 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46245 for ac_func in _logl
46246 do :
46247 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46248 if test "x$ac_cv_func__logl" = xyes; then :
46249 cat >>confdefs.h <<_ACEOF
46250 #define HAVE__LOGL 1
46251 _ACEOF
46254 done
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46264 $as_echo_n "checking for log10l declaration... " >&6; }
46265 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46266 if ${glibcxx_cv_func_log10l_use+:} false; then :
46267 $as_echo_n "(cached) " >&6
46268 else
46271 ac_ext=cpp
46272 ac_cpp='$CXXCPP $CPPFLAGS'
46273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46278 /* end confdefs.h. */
46279 #include <math.h>
46280 #ifdef HAVE_IEEEFP_H
46281 #include <ieeefp.h>
46282 #endif
46285 main ()
46287 log10l(0);
46289 return 0;
46291 _ACEOF
46292 if ac_fn_cxx_try_compile "$LINENO"; then :
46293 glibcxx_cv_func_log10l_use=yes
46294 else
46295 glibcxx_cv_func_log10l_use=no
46297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46298 ac_ext=c
46299 ac_cpp='$CPP $CPPFLAGS'
46300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46309 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46311 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46312 for ac_func in log10l
46313 do :
46314 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46315 if test "x$ac_cv_func_log10l" = xyes; then :
46316 cat >>confdefs.h <<_ACEOF
46317 #define HAVE_LOG10L 1
46318 _ACEOF
46321 done
46323 else
46325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46326 $as_echo_n "checking for _log10l declaration... " >&6; }
46327 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46328 if ${glibcxx_cv_func__log10l_use+:} false; then :
46329 $as_echo_n "(cached) " >&6
46330 else
46333 ac_ext=cpp
46334 ac_cpp='$CXXCPP $CPPFLAGS'
46335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46340 /* end confdefs.h. */
46341 #include <math.h>
46342 #ifdef HAVE_IEEEFP_H
46343 #include <ieeefp.h>
46344 #endif
46347 main ()
46349 _log10l(0);
46351 return 0;
46353 _ACEOF
46354 if ac_fn_cxx_try_compile "$LINENO"; then :
46355 glibcxx_cv_func__log10l_use=yes
46356 else
46357 glibcxx_cv_func__log10l_use=no
46359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46360 ac_ext=c
46361 ac_cpp='$CPP $CPPFLAGS'
46362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46371 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46373 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46374 for ac_func in _log10l
46375 do :
46376 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46377 if test "x$ac_cv_func__log10l" = xyes; then :
46378 cat >>confdefs.h <<_ACEOF
46379 #define HAVE__LOG10L 1
46380 _ACEOF
46383 done
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46393 $as_echo_n "checking for modfl declaration... " >&6; }
46394 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46395 if ${glibcxx_cv_func_modfl_use+:} false; then :
46396 $as_echo_n "(cached) " >&6
46397 else
46400 ac_ext=cpp
46401 ac_cpp='$CXXCPP $CPPFLAGS'
46402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46407 /* end confdefs.h. */
46408 #include <math.h>
46410 main ()
46412 modfl(0, 0);
46414 return 0;
46416 _ACEOF
46417 if ac_fn_cxx_try_compile "$LINENO"; then :
46418 glibcxx_cv_func_modfl_use=yes
46419 else
46420 glibcxx_cv_func_modfl_use=no
46422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46423 ac_ext=c
46424 ac_cpp='$CPP $CPPFLAGS'
46425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46434 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46436 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46437 for ac_func in modfl
46438 do :
46439 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46440 if test "x$ac_cv_func_modfl" = xyes; then :
46441 cat >>confdefs.h <<_ACEOF
46442 #define HAVE_MODFL 1
46443 _ACEOF
46446 done
46448 else
46450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46451 $as_echo_n "checking for _modfl declaration... " >&6; }
46452 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46453 if ${glibcxx_cv_func__modfl_use+:} false; then :
46454 $as_echo_n "(cached) " >&6
46455 else
46458 ac_ext=cpp
46459 ac_cpp='$CXXCPP $CPPFLAGS'
46460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46465 /* end confdefs.h. */
46466 #include <math.h>
46468 main ()
46470 _modfl(0, 0);
46472 return 0;
46474 _ACEOF
46475 if ac_fn_cxx_try_compile "$LINENO"; then :
46476 glibcxx_cv_func__modfl_use=yes
46477 else
46478 glibcxx_cv_func__modfl_use=no
46480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46481 ac_ext=c
46482 ac_cpp='$CPP $CPPFLAGS'
46483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46492 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46494 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46495 for ac_func in _modfl
46496 do :
46497 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46498 if test "x$ac_cv_func__modfl" = xyes; then :
46499 cat >>confdefs.h <<_ACEOF
46500 #define HAVE__MODFL 1
46501 _ACEOF
46504 done
46513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46514 $as_echo_n "checking for powl declaration... " >&6; }
46515 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46516 if ${glibcxx_cv_func_powl_use+:} false; then :
46517 $as_echo_n "(cached) " >&6
46518 else
46521 ac_ext=cpp
46522 ac_cpp='$CXXCPP $CPPFLAGS'
46523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46528 /* end confdefs.h. */
46529 #include <math.h>
46531 main ()
46533 powl(0, 0);
46535 return 0;
46537 _ACEOF
46538 if ac_fn_cxx_try_compile "$LINENO"; then :
46539 glibcxx_cv_func_powl_use=yes
46540 else
46541 glibcxx_cv_func_powl_use=no
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46555 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46557 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46558 for ac_func in powl
46559 do :
46560 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46561 if test "x$ac_cv_func_powl" = xyes; then :
46562 cat >>confdefs.h <<_ACEOF
46563 #define HAVE_POWL 1
46564 _ACEOF
46567 done
46569 else
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46572 $as_echo_n "checking for _powl declaration... " >&6; }
46573 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46574 if ${glibcxx_cv_func__powl_use+:} false; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46589 main ()
46591 _powl(0, 0);
46593 return 0;
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__powl_use=yes
46598 else
46599 glibcxx_cv_func__powl_use=no
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46613 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46615 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46616 for ac_func in _powl
46617 do :
46618 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46619 if test "x$ac_cv_func__powl" = xyes; then :
46620 cat >>confdefs.h <<_ACEOF
46621 #define HAVE__POWL 1
46622 _ACEOF
46625 done
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46635 $as_echo_n "checking for sqrtl declaration... " >&6; }
46636 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46637 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 #ifdef HAVE_IEEEFP_H
46652 #include <ieeefp.h>
46653 #endif
46656 main ()
46658 sqrtl(0);
46660 return 0;
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func_sqrtl_use=yes
46665 else
46666 glibcxx_cv_func_sqrtl_use=no
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46680 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46682 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46683 for ac_func in sqrtl
46684 do :
46685 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46686 if test "x$ac_cv_func_sqrtl" = xyes; then :
46687 cat >>confdefs.h <<_ACEOF
46688 #define HAVE_SQRTL 1
46689 _ACEOF
46692 done
46694 else
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46697 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46698 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46699 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46700 $as_echo_n "(cached) " >&6
46701 else
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711 /* end confdefs.h. */
46712 #include <math.h>
46713 #ifdef HAVE_IEEEFP_H
46714 #include <ieeefp.h>
46715 #endif
46718 main ()
46720 _sqrtl(0);
46722 return 0;
46724 _ACEOF
46725 if ac_fn_cxx_try_compile "$LINENO"; then :
46726 glibcxx_cv_func__sqrtl_use=yes
46727 else
46728 glibcxx_cv_func__sqrtl_use=no
46730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46742 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46744 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46745 for ac_func in _sqrtl
46746 do :
46747 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46748 if test "x$ac_cv_func__sqrtl" = xyes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE__SQRTL 1
46751 _ACEOF
46754 done
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46764 $as_echo_n "checking for sincosl declaration... " >&6; }
46765 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46766 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46767 $as_echo_n "(cached) " >&6
46768 else
46771 ac_ext=cpp
46772 ac_cpp='$CXXCPP $CPPFLAGS'
46773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46778 /* end confdefs.h. */
46779 #include <math.h>
46781 main ()
46783 sincosl(0, 0, 0);
46785 return 0;
46787 _ACEOF
46788 if ac_fn_cxx_try_compile "$LINENO"; then :
46789 glibcxx_cv_func_sincosl_use=yes
46790 else
46791 glibcxx_cv_func_sincosl_use=no
46793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46794 ac_ext=c
46795 ac_cpp='$CPP $CPPFLAGS'
46796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46805 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46807 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46808 for ac_func in sincosl
46809 do :
46810 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46811 if test "x$ac_cv_func_sincosl" = xyes; then :
46812 cat >>confdefs.h <<_ACEOF
46813 #define HAVE_SINCOSL 1
46814 _ACEOF
46817 done
46819 else
46821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46822 $as_echo_n "checking for _sincosl declaration... " >&6; }
46823 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46824 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46825 $as_echo_n "(cached) " >&6
46826 else
46829 ac_ext=cpp
46830 ac_cpp='$CXXCPP $CPPFLAGS'
46831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46836 /* end confdefs.h. */
46837 #include <math.h>
46839 main ()
46841 _sincosl(0, 0, 0);
46843 return 0;
46845 _ACEOF
46846 if ac_fn_cxx_try_compile "$LINENO"; then :
46847 glibcxx_cv_func__sincosl_use=yes
46848 else
46849 glibcxx_cv_func__sincosl_use=no
46851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46852 ac_ext=c
46853 ac_cpp='$CPP $CPPFLAGS'
46854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46863 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46865 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46866 for ac_func in _sincosl
46867 do :
46868 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46869 if test "x$ac_cv_func__sincosl" = xyes; then :
46870 cat >>confdefs.h <<_ACEOF
46871 #define HAVE__SINCOSL 1
46872 _ACEOF
46875 done
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46885 $as_echo_n "checking for finitel declaration... " >&6; }
46886 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46887 if ${glibcxx_cv_func_finitel_use+:} false; then :
46888 $as_echo_n "(cached) " >&6
46889 else
46892 ac_ext=cpp
46893 ac_cpp='$CXXCPP $CPPFLAGS'
46894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46899 /* end confdefs.h. */
46900 #include <math.h>
46901 #ifdef HAVE_IEEEFP_H
46902 #include <ieeefp.h>
46903 #endif
46906 main ()
46908 finitel(0);
46910 return 0;
46912 _ACEOF
46913 if ac_fn_cxx_try_compile "$LINENO"; then :
46914 glibcxx_cv_func_finitel_use=yes
46915 else
46916 glibcxx_cv_func_finitel_use=no
46918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46919 ac_ext=c
46920 ac_cpp='$CPP $CPPFLAGS'
46921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46930 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46932 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46933 for ac_func in finitel
46934 do :
46935 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46936 if test "x$ac_cv_func_finitel" = xyes; then :
46937 cat >>confdefs.h <<_ACEOF
46938 #define HAVE_FINITEL 1
46939 _ACEOF
46942 done
46944 else
46946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46947 $as_echo_n "checking for _finitel declaration... " >&6; }
46948 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46949 if ${glibcxx_cv_func__finitel_use+:} false; then :
46950 $as_echo_n "(cached) " >&6
46951 else
46954 ac_ext=cpp
46955 ac_cpp='$CXXCPP $CPPFLAGS'
46956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46961 /* end confdefs.h. */
46962 #include <math.h>
46963 #ifdef HAVE_IEEEFP_H
46964 #include <ieeefp.h>
46965 #endif
46968 main ()
46970 _finitel(0);
46972 return 0;
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976 glibcxx_cv_func__finitel_use=yes
46977 else
46978 glibcxx_cv_func__finitel_use=no
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46992 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46994 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46995 for ac_func in _finitel
46996 do :
46997 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46998 if test "x$ac_cv_func__finitel" = xyes; then :
46999 cat >>confdefs.h <<_ACEOF
47000 #define HAVE__FINITEL 1
47001 _ACEOF
47004 done
47012 LIBS="$ac_save_LIBS"
47013 CXXFLAGS="$ac_save_CXXFLAGS"
47016 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47017 ac_save_CXXFLAGS="$CXXFLAGS"
47018 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47022 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47023 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47024 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47025 $as_echo_n "(cached) " >&6
47026 else
47029 ac_ext=cpp
47030 ac_cpp='$CXXCPP $CPPFLAGS'
47031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47036 /* end confdefs.h. */
47037 #include <stdlib.h>
47039 main ()
47041 at_quick_exit(0);
47043 return 0;
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func_at_quick_exit_use=yes
47048 else
47049 glibcxx_cv_func_at_quick_exit_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47063 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47064 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47065 for ac_func in at_quick_exit
47066 do :
47067 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47068 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47069 cat >>confdefs.h <<_ACEOF
47070 #define HAVE_AT_QUICK_EXIT 1
47071 _ACEOF
47074 done
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47080 $as_echo_n "checking for quick_exit declaration... " >&6; }
47081 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47082 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47083 $as_echo_n "(cached) " >&6
47084 else
47087 ac_ext=cpp
47088 ac_cpp='$CXXCPP $CPPFLAGS'
47089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47094 /* end confdefs.h. */
47095 #include <stdlib.h>
47097 main ()
47099 quick_exit(0);
47101 return 0;
47103 _ACEOF
47104 if ac_fn_cxx_try_compile "$LINENO"; then :
47105 glibcxx_cv_func_quick_exit_use=yes
47106 else
47107 glibcxx_cv_func_quick_exit_use=no
47109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47110 ac_ext=c
47111 ac_cpp='$CPP $CPPFLAGS'
47112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47121 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47122 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47123 for ac_func in quick_exit
47124 do :
47125 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47126 if test "x$ac_cv_func_quick_exit" = xyes; then :
47127 cat >>confdefs.h <<_ACEOF
47128 #define HAVE_QUICK_EXIT 1
47129 _ACEOF
47132 done
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47138 $as_echo_n "checking for strtold declaration... " >&6; }
47139 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47140 if ${glibcxx_cv_func_strtold_use+:} false; then :
47141 $as_echo_n "(cached) " >&6
47142 else
47145 ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h. */
47153 #include <stdlib.h>
47155 main ()
47157 strtold(0, 0);
47159 return 0;
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163 glibcxx_cv_func_strtold_use=yes
47164 else
47165 glibcxx_cv_func_strtold_use=no
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47179 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47180 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47181 for ac_func in strtold
47182 do :
47183 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47184 if test "x$ac_cv_func_strtold" = xyes; then :
47185 cat >>confdefs.h <<_ACEOF
47186 #define HAVE_STRTOLD 1
47187 _ACEOF
47190 done
47197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47198 $as_echo_n "checking for strtof declaration... " >&6; }
47199 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47200 if ${glibcxx_cv_func_strtof_use+:} false; then :
47201 $as_echo_n "(cached) " >&6
47202 else
47205 ac_ext=cpp
47206 ac_cpp='$CXXCPP $CPPFLAGS'
47207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47212 /* end confdefs.h. */
47213 #include <stdlib.h>
47215 main ()
47217 strtof(0, 0);
47219 return 0;
47221 _ACEOF
47222 if ac_fn_cxx_try_compile "$LINENO"; then :
47223 glibcxx_cv_func_strtof_use=yes
47224 else
47225 glibcxx_cv_func_strtof_use=no
47227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47228 ac_ext=c
47229 ac_cpp='$CPP $CPPFLAGS'
47230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47239 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47240 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47241 for ac_func in strtof
47242 do :
47243 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47244 if test "x$ac_cv_func_strtof" = xyes; then :
47245 cat >>confdefs.h <<_ACEOF
47246 #define HAVE_STRTOF 1
47247 _ACEOF
47250 done
47257 CXXFLAGS="$ac_save_CXXFLAGS"
47260 for ac_func in uselocale
47261 do :
47262 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47263 if test "x$ac_cv_func_uselocale" = xyes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define HAVE_USELOCALE 1
47266 _ACEOF
47269 done
47273 *djgpp)
47274 # GLIBCXX_CHECK_MATH_SUPPORT
47275 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47277 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47279 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47281 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47283 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47287 *-freebsd*)
47288 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47291 # If we're not using GNU ld, then there's no point in even trying these
47292 # tests. Check for that first. We should have already tested for gld
47293 # by now (in libtool), but require it now just to be safe...
47294 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47295 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47299 # The name set by libtool depends on the version of libtool. Shame on us
47300 # for depending on an impl detail, but c'est la vie. Older versions used
47301 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47302 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47303 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47304 # set (hence we're using an older libtool), then set it.
47305 if test x${with_gnu_ld+set} != xset; then
47306 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47307 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47308 with_gnu_ld=no
47309 else
47310 with_gnu_ld=$ac_cv_prog_gnu_ld
47314 # Start by getting the version number. I think the libtool test already
47315 # does some of this, but throws away the result.
47316 glibcxx_ld_is_gold=no
47317 glibcxx_ld_is_mold=no
47318 if test x"$with_gnu_ld" = x"yes"; then
47319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47320 $as_echo_n "checking for ld version... " >&6; }
47322 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47323 glibcxx_ld_is_gold=yes
47324 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47325 glibcxx_ld_is_mold=yes
47327 ldver=`$LD --version 2>/dev/null |
47328 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47330 glibcxx_gnu_ld_version=`echo $ldver | \
47331 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47333 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47336 # Set --gc-sections.
47337 glibcxx_have_gc_sections=no
47338 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47339 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47340 glibcxx_have_gc_sections=yes
47342 else
47343 glibcxx_gcsections_min_ld=21602
47344 if test x"$with_gnu_ld" = x"yes" &&
47345 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47346 glibcxx_have_gc_sections=yes
47349 if test "$glibcxx_have_gc_sections" = "yes"; then
47350 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47351 # NB: This flag only works reliably after 2.16.1. Configure tests
47352 # for this are difficult, so hard wire a value that should work.
47354 ac_test_CFLAGS="${CFLAGS+set}"
47355 ac_save_CFLAGS="$CFLAGS"
47356 CFLAGS='-Wl,--gc-sections'
47358 # Check for -Wl,--gc-sections
47359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47360 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47361 if test x$gcc_no_link = xyes; then
47362 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47365 /* end confdefs.h. */
47366 int one(void) { return 1; }
47367 int two(void) { return 2; }
47370 main ()
47372 two();
47374 return 0;
47376 _ACEOF
47377 if ac_fn_c_try_link "$LINENO"; then :
47378 ac_gcsections=yes
47379 else
47380 ac_gcsections=no
47382 rm -f core conftest.err conftest.$ac_objext \
47383 conftest$ac_exeext conftest.$ac_ext
47384 if test "$ac_gcsections" = "yes"; then
47385 rm -f conftest.c
47386 touch conftest.c
47387 if $CC -c conftest.c; then
47388 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47389 grep "Warning: gc-sections option ignored" > /dev/null; then
47390 ac_gcsections=no
47393 rm -f conftest.c conftest.o conftest
47395 if test "$ac_gcsections" = "yes"; then
47396 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47399 $as_echo "$ac_gcsections" >&6; }
47401 if test "$ac_test_CFLAGS" = set; then
47402 CFLAGS="$ac_save_CFLAGS"
47403 else
47404 # this is the suspicious part
47405 CFLAGS=''
47409 # Set -z,relro.
47410 # Note this is only for shared objects.
47411 ac_ld_relro=no
47412 if test x"$with_gnu_ld" = x"yes"; then
47413 # cygwin and mingw uses PE, which has no ELF relro support,
47414 # multi target ld may confuse configure machinery
47415 case "$host" in
47416 *-*-cygwin*)
47418 *-*-mingw*)
47421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47422 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47423 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47424 if test -n "$cxx_z_relo"; then
47425 OPT_LDFLAGS="-Wl,-z,relro"
47426 ac_ld_relro=yes
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47429 $as_echo "$ac_ld_relro" >&6; }
47430 esac
47433 # Set linker optimization flags.
47434 if test x"$with_gnu_ld" = x"yes"; then
47435 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47441 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47443 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47445 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47447 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47449 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47451 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47453 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47455 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47457 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47460 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47462 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47464 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47466 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47468 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47470 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47472 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47474 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47476 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47478 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47480 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47482 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47484 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47486 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47488 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47490 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47492 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47494 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47496 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47498 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47500 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47502 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47504 if test x"long_double_math_on_this_cpu" = x"yes"; then
47505 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47507 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47509 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47512 for ac_func in __cxa_thread_atexit
47513 do :
47514 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47515 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47516 cat >>confdefs.h <<_ACEOF
47517 #define HAVE___CXA_THREAD_ATEXIT 1
47518 _ACEOF
47521 done
47523 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47524 do :
47525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47528 cat >>confdefs.h <<_ACEOF
47529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47530 _ACEOF
47533 done
47535 for ac_func in timespec_get
47536 do :
47537 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47538 if test "x$ac_cv_func_timespec_get" = xyes; then :
47539 cat >>confdefs.h <<_ACEOF
47540 #define HAVE_TIMESPEC_GET 1
47541 _ACEOF
47544 done
47546 for ac_func in sockatmark
47547 do :
47548 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47549 if test "x$ac_cv_func_sockatmark" = xyes; then :
47550 cat >>confdefs.h <<_ACEOF
47551 #define HAVE_SOCKATMARK 1
47552 _ACEOF
47555 done
47557 for ac_func in uselocale
47558 do :
47559 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47560 if test "x$ac_cv_func_uselocale" = xyes; then :
47561 cat >>confdefs.h <<_ACEOF
47562 #define HAVE_USELOCALE 1
47563 _ACEOF
47566 done
47570 *-fuchsia*)
47571 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47575 *-hpux*)
47576 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47579 # If we're not using GNU ld, then there's no point in even trying these
47580 # tests. Check for that first. We should have already tested for gld
47581 # by now (in libtool), but require it now just to be safe...
47582 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47583 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47587 # The name set by libtool depends on the version of libtool. Shame on us
47588 # for depending on an impl detail, but c'est la vie. Older versions used
47589 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47590 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47591 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47592 # set (hence we're using an older libtool), then set it.
47593 if test x${with_gnu_ld+set} != xset; then
47594 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47595 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47596 with_gnu_ld=no
47597 else
47598 with_gnu_ld=$ac_cv_prog_gnu_ld
47602 # Start by getting the version number. I think the libtool test already
47603 # does some of this, but throws away the result.
47604 glibcxx_ld_is_gold=no
47605 glibcxx_ld_is_mold=no
47606 if test x"$with_gnu_ld" = x"yes"; then
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47608 $as_echo_n "checking for ld version... " >&6; }
47610 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47611 glibcxx_ld_is_gold=yes
47612 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47613 glibcxx_ld_is_mold=yes
47615 ldver=`$LD --version 2>/dev/null |
47616 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47618 glibcxx_gnu_ld_version=`echo $ldver | \
47619 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47621 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47624 # Set --gc-sections.
47625 glibcxx_have_gc_sections=no
47626 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47627 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47628 glibcxx_have_gc_sections=yes
47630 else
47631 glibcxx_gcsections_min_ld=21602
47632 if test x"$with_gnu_ld" = x"yes" &&
47633 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47634 glibcxx_have_gc_sections=yes
47637 if test "$glibcxx_have_gc_sections" = "yes"; then
47638 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47639 # NB: This flag only works reliably after 2.16.1. Configure tests
47640 # for this are difficult, so hard wire a value that should work.
47642 ac_test_CFLAGS="${CFLAGS+set}"
47643 ac_save_CFLAGS="$CFLAGS"
47644 CFLAGS='-Wl,--gc-sections'
47646 # Check for -Wl,--gc-sections
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47648 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47649 if test x$gcc_no_link = xyes; then
47650 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47653 /* end confdefs.h. */
47654 int one(void) { return 1; }
47655 int two(void) { return 2; }
47658 main ()
47660 two();
47662 return 0;
47664 _ACEOF
47665 if ac_fn_c_try_link "$LINENO"; then :
47666 ac_gcsections=yes
47667 else
47668 ac_gcsections=no
47670 rm -f core conftest.err conftest.$ac_objext \
47671 conftest$ac_exeext conftest.$ac_ext
47672 if test "$ac_gcsections" = "yes"; then
47673 rm -f conftest.c
47674 touch conftest.c
47675 if $CC -c conftest.c; then
47676 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47677 grep "Warning: gc-sections option ignored" > /dev/null; then
47678 ac_gcsections=no
47681 rm -f conftest.c conftest.o conftest
47683 if test "$ac_gcsections" = "yes"; then
47684 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47687 $as_echo "$ac_gcsections" >&6; }
47689 if test "$ac_test_CFLAGS" = set; then
47690 CFLAGS="$ac_save_CFLAGS"
47691 else
47692 # this is the suspicious part
47693 CFLAGS=''
47697 # Set -z,relro.
47698 # Note this is only for shared objects.
47699 ac_ld_relro=no
47700 if test x"$with_gnu_ld" = x"yes"; then
47701 # cygwin and mingw uses PE, which has no ELF relro support,
47702 # multi target ld may confuse configure machinery
47703 case "$host" in
47704 *-*-cygwin*)
47706 *-*-mingw*)
47709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47710 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47711 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47712 if test -n "$cxx_z_relo"; then
47713 OPT_LDFLAGS="-Wl,-z,relro"
47714 ac_ld_relro=yes
47716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47717 $as_echo "$ac_ld_relro" >&6; }
47718 esac
47721 # Set linker optimization flags.
47722 if test x"$with_gnu_ld" = x"yes"; then
47723 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47730 # GLIBCXX_CHECK_MATH_SUPPORT
47731 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47733 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47735 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47737 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47739 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47741 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47743 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47745 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47747 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47749 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47751 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47753 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47755 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47757 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47759 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47761 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47763 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47765 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47767 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47769 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47771 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47774 # GLIBCXX_CHECK_STDLIB_SUPPORT
47775 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47780 # Check whether --enable-tls was given.
47781 if test "${enable_tls+set}" = set; then :
47782 enableval=$enable_tls;
47783 case "$enableval" in
47784 yes|no) ;;
47785 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47786 esac
47788 else
47789 enable_tls=yes
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47794 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47795 if ${gcc_cv_have_tls+:} false; then :
47796 $as_echo_n "(cached) " >&6
47797 else
47799 if test "$cross_compiling" = yes; then :
47800 if test x$gcc_no_link = xyes; then
47801 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47804 /* end confdefs.h. */
47805 __thread int a; int b; int main() { return a = b; }
47806 _ACEOF
47807 if ac_fn_c_try_link "$LINENO"; then :
47808 chktls_save_LDFLAGS="$LDFLAGS"
47809 case $host in
47810 *-*-linux* | -*-uclinuxfdpic*)
47811 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47813 esac
47814 chktls_save_CFLAGS="$CFLAGS"
47815 CFLAGS="-fPIC $CFLAGS"
47816 if test x$gcc_no_link = xyes; then
47817 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47820 /* end confdefs.h. */
47821 int f() { return 0; }
47822 _ACEOF
47823 if ac_fn_c_try_link "$LINENO"; then :
47824 if test x$gcc_no_link = xyes; then
47825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47828 /* end confdefs.h. */
47829 __thread int a; int b; int f() { return a = b; }
47830 _ACEOF
47831 if ac_fn_c_try_link "$LINENO"; then :
47832 gcc_cv_have_tls=yes
47833 else
47834 gcc_cv_have_tls=no
47836 rm -f core conftest.err conftest.$ac_objext \
47837 conftest$ac_exeext conftest.$ac_ext
47838 else
47839 gcc_cv_have_tls=yes
47841 rm -f core conftest.err conftest.$ac_objext \
47842 conftest$ac_exeext conftest.$ac_ext
47843 CFLAGS="$chktls_save_CFLAGS"
47844 LDFLAGS="$chktls_save_LDFLAGS"
47845 else
47846 gcc_cv_have_tls=no
47848 rm -f core conftest.err conftest.$ac_objext \
47849 conftest$ac_exeext conftest.$ac_ext
47852 else
47853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47854 /* end confdefs.h. */
47855 __thread int a; int b; int main() { return a = b; }
47856 _ACEOF
47857 if ac_fn_c_try_run "$LINENO"; then :
47858 chktls_save_LDFLAGS="$LDFLAGS"
47859 LDFLAGS="-static $LDFLAGS"
47860 if test x$gcc_no_link = xyes; then
47861 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47864 /* end confdefs.h. */
47865 int main() { return 0; }
47866 _ACEOF
47867 if ac_fn_c_try_link "$LINENO"; then :
47868 if test "$cross_compiling" = yes; then :
47869 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47871 as_fn_error $? "cannot run test program while cross compiling
47872 See \`config.log' for more details" "$LINENO" 5; }
47873 else
47874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47875 /* end confdefs.h. */
47876 __thread int a; int b; int main() { return a = b; }
47877 _ACEOF
47878 if ac_fn_c_try_run "$LINENO"; then :
47879 gcc_cv_have_tls=yes
47880 else
47881 gcc_cv_have_tls=no
47883 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47884 conftest.$ac_objext conftest.beam conftest.$ac_ext
47887 else
47888 gcc_cv_have_tls=yes
47890 rm -f core conftest.err conftest.$ac_objext \
47891 conftest$ac_exeext conftest.$ac_ext
47892 LDFLAGS="$chktls_save_LDFLAGS"
47893 if test $gcc_cv_have_tls = yes; then
47894 chktls_save_CFLAGS="$CFLAGS"
47895 thread_CFLAGS=failed
47896 for flag in '' '-pthread' '-lpthread'; do
47897 CFLAGS="$flag $chktls_save_CFLAGS"
47898 if test x$gcc_no_link = xyes; then
47899 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47902 /* end confdefs.h. */
47903 #include <pthread.h>
47904 void *g(void *d) { return NULL; }
47906 main ()
47908 pthread_t t; pthread_create(&t,NULL,g,NULL);
47910 return 0;
47912 _ACEOF
47913 if ac_fn_c_try_link "$LINENO"; then :
47914 thread_CFLAGS="$flag"
47916 rm -f core conftest.err conftest.$ac_objext \
47917 conftest$ac_exeext conftest.$ac_ext
47918 if test "X$thread_CFLAGS" != Xfailed; then
47919 break
47921 done
47922 CFLAGS="$chktls_save_CFLAGS"
47923 if test "X$thread_CFLAGS" != Xfailed; then
47924 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47925 if test "$cross_compiling" = yes; then :
47926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47928 as_fn_error $? "cannot run test program while cross compiling
47929 See \`config.log' for more details" "$LINENO" 5; }
47930 else
47931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47932 /* end confdefs.h. */
47933 #include <pthread.h>
47934 __thread int a;
47935 static int *volatile a_in_other_thread;
47936 static void *
47937 thread_func (void *arg)
47939 a_in_other_thread = &a;
47940 return (void *)0;
47943 main ()
47945 pthread_t thread;
47946 void *thread_retval;
47947 int *volatile a_in_main_thread;
47948 a_in_main_thread = &a;
47949 if (pthread_create (&thread, (pthread_attr_t *)0,
47950 thread_func, (void *)0))
47951 return 0;
47952 if (pthread_join (thread, &thread_retval))
47953 return 0;
47954 return (a_in_other_thread == a_in_main_thread);
47956 return 0;
47958 _ACEOF
47959 if ac_fn_c_try_run "$LINENO"; then :
47960 gcc_cv_have_tls=yes
47961 else
47962 gcc_cv_have_tls=no
47964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47965 conftest.$ac_objext conftest.beam conftest.$ac_ext
47968 CFLAGS="$chktls_save_CFLAGS"
47971 else
47972 gcc_cv_have_tls=no
47974 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47975 conftest.$ac_objext conftest.beam conftest.$ac_ext
47979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47980 $as_echo "$gcc_cv_have_tls" >&6; }
47981 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47983 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47987 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47989 # All these tests are for C++; save the language and the compiler flags.
47990 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47991 # found in GLIBCXX_CONFIGURE.
47993 ac_ext=cpp
47994 ac_cpp='$CXXCPP $CPPFLAGS'
47995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47999 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48000 ac_save_CXXFLAGS="$CXXFLAGS"
48002 # Check for -ffunction-sections -fdata-sections
48003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48004 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48005 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48007 /* end confdefs.h. */
48008 int foo; void bar() { };
48010 main ()
48014 return 0;
48016 _ACEOF
48017 if ac_fn_cxx_try_compile "$LINENO"; then :
48018 ac_fdsections=yes
48019 else
48020 ac_fdsections=no
48022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48023 if test "$ac_test_CXXFLAGS" = set; then
48024 CXXFLAGS="$ac_save_CXXFLAGS"
48025 else
48026 # this is the suspicious part
48027 CXXFLAGS=''
48029 if test x"$ac_fdsections" = x"yes"; then
48030 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48033 $as_echo "$ac_fdsections" >&6; }
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48044 # If we're not using GNU ld, then there's no point in even trying these
48045 # tests. Check for that first. We should have already tested for gld
48046 # by now (in libtool), but require it now just to be safe...
48047 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48048 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48052 # The name set by libtool depends on the version of libtool. Shame on us
48053 # for depending on an impl detail, but c'est la vie. Older versions used
48054 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48055 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48056 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48057 # set (hence we're using an older libtool), then set it.
48058 if test x${with_gnu_ld+set} != xset; then
48059 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48060 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48061 with_gnu_ld=no
48062 else
48063 with_gnu_ld=$ac_cv_prog_gnu_ld
48067 # Start by getting the version number. I think the libtool test already
48068 # does some of this, but throws away the result.
48069 glibcxx_ld_is_gold=no
48070 glibcxx_ld_is_mold=no
48071 if test x"$with_gnu_ld" = x"yes"; then
48072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48073 $as_echo_n "checking for ld version... " >&6; }
48075 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48076 glibcxx_ld_is_gold=yes
48077 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48078 glibcxx_ld_is_mold=yes
48080 ldver=`$LD --version 2>/dev/null |
48081 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48083 glibcxx_gnu_ld_version=`echo $ldver | \
48084 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48086 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48089 # Set --gc-sections.
48090 glibcxx_have_gc_sections=no
48091 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48092 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48093 glibcxx_have_gc_sections=yes
48095 else
48096 glibcxx_gcsections_min_ld=21602
48097 if test x"$with_gnu_ld" = x"yes" &&
48098 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48099 glibcxx_have_gc_sections=yes
48102 if test "$glibcxx_have_gc_sections" = "yes"; then
48103 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48104 # NB: This flag only works reliably after 2.16.1. Configure tests
48105 # for this are difficult, so hard wire a value that should work.
48107 ac_test_CFLAGS="${CFLAGS+set}"
48108 ac_save_CFLAGS="$CFLAGS"
48109 CFLAGS='-Wl,--gc-sections'
48111 # Check for -Wl,--gc-sections
48112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48113 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48114 if test x$gcc_no_link = xyes; then
48115 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48118 /* end confdefs.h. */
48119 int one(void) { return 1; }
48120 int two(void) { return 2; }
48123 main ()
48125 two();
48127 return 0;
48129 _ACEOF
48130 if ac_fn_c_try_link "$LINENO"; then :
48131 ac_gcsections=yes
48132 else
48133 ac_gcsections=no
48135 rm -f core conftest.err conftest.$ac_objext \
48136 conftest$ac_exeext conftest.$ac_ext
48137 if test "$ac_gcsections" = "yes"; then
48138 rm -f conftest.c
48139 touch conftest.c
48140 if $CC -c conftest.c; then
48141 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48142 grep "Warning: gc-sections option ignored" > /dev/null; then
48143 ac_gcsections=no
48146 rm -f conftest.c conftest.o conftest
48148 if test "$ac_gcsections" = "yes"; then
48149 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48152 $as_echo "$ac_gcsections" >&6; }
48154 if test "$ac_test_CFLAGS" = set; then
48155 CFLAGS="$ac_save_CFLAGS"
48156 else
48157 # this is the suspicious part
48158 CFLAGS=''
48162 # Set -z,relro.
48163 # Note this is only for shared objects.
48164 ac_ld_relro=no
48165 if test x"$with_gnu_ld" = x"yes"; then
48166 # cygwin and mingw uses PE, which has no ELF relro support,
48167 # multi target ld may confuse configure machinery
48168 case "$host" in
48169 *-*-cygwin*)
48171 *-*-mingw*)
48174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48175 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48176 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48177 if test -n "$cxx_z_relo"; then
48178 OPT_LDFLAGS="-Wl,-z,relro"
48179 ac_ld_relro=yes
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48182 $as_echo "$ac_ld_relro" >&6; }
48183 esac
48186 # Set linker optimization flags.
48187 if test x"$with_gnu_ld" = x"yes"; then
48188 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48196 ac_save_CXXFLAGS="$CXXFLAGS"
48197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48200 $as_echo_n "checking for sin in -lm... " >&6; }
48201 if ${ac_cv_lib_m_sin+:} false; then :
48202 $as_echo_n "(cached) " >&6
48203 else
48204 ac_check_lib_save_LIBS=$LIBS
48205 LIBS="-lm $LIBS"
48206 if test x$gcc_no_link = xyes; then
48207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48210 /* end confdefs.h. */
48212 /* Override any GCC internal prototype to avoid an error.
48213 Use char because int might match the return type of a GCC
48214 builtin and then its argument prototype would still apply. */
48215 #ifdef __cplusplus
48216 extern "C"
48217 #endif
48218 char sin ();
48220 main ()
48222 return sin ();
48224 return 0;
48226 _ACEOF
48227 if ac_fn_c_try_link "$LINENO"; then :
48228 ac_cv_lib_m_sin=yes
48229 else
48230 ac_cv_lib_m_sin=no
48232 rm -f core conftest.err conftest.$ac_objext \
48233 conftest$ac_exeext conftest.$ac_ext
48234 LIBS=$ac_check_lib_save_LIBS
48236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48237 $as_echo "$ac_cv_lib_m_sin" >&6; }
48238 if test "x$ac_cv_lib_m_sin" = xyes; then :
48239 libm="-lm"
48242 ac_save_LIBS="$LIBS"
48243 LIBS="$LIBS $libm"
48247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48248 $as_echo_n "checking for isinf declaration... " >&6; }
48249 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48250 if ${glibcxx_cv_func_isinf_use+:} false; then :
48251 $as_echo_n "(cached) " >&6
48252 else
48255 ac_ext=cpp
48256 ac_cpp='$CXXCPP $CPPFLAGS'
48257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262 /* end confdefs.h. */
48263 #include <math.h>
48264 #ifdef HAVE_IEEEFP_H
48265 #include <ieeefp.h>
48266 #endif
48269 main ()
48271 isinf(0);
48273 return 0;
48275 _ACEOF
48276 if ac_fn_cxx_try_compile "$LINENO"; then :
48277 glibcxx_cv_func_isinf_use=yes
48278 else
48279 glibcxx_cv_func_isinf_use=no
48281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48282 ac_ext=c
48283 ac_cpp='$CPP $CPPFLAGS'
48284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48293 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48295 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48296 for ac_func in isinf
48297 do :
48298 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48299 if test "x$ac_cv_func_isinf" = xyes; then :
48300 cat >>confdefs.h <<_ACEOF
48301 #define HAVE_ISINF 1
48302 _ACEOF
48305 done
48307 else
48309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48310 $as_echo_n "checking for _isinf declaration... " >&6; }
48311 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48312 if ${glibcxx_cv_func__isinf_use+:} false; then :
48313 $as_echo_n "(cached) " >&6
48314 else
48317 ac_ext=cpp
48318 ac_cpp='$CXXCPP $CPPFLAGS'
48319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48324 /* end confdefs.h. */
48325 #include <math.h>
48326 #ifdef HAVE_IEEEFP_H
48327 #include <ieeefp.h>
48328 #endif
48331 main ()
48333 _isinf(0);
48335 return 0;
48337 _ACEOF
48338 if ac_fn_cxx_try_compile "$LINENO"; then :
48339 glibcxx_cv_func__isinf_use=yes
48340 else
48341 glibcxx_cv_func__isinf_use=no
48343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48344 ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48355 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48357 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48358 for ac_func in _isinf
48359 do :
48360 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48361 if test "x$ac_cv_func__isinf" = xyes; then :
48362 cat >>confdefs.h <<_ACEOF
48363 #define HAVE__ISINF 1
48364 _ACEOF
48367 done
48376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48377 $as_echo_n "checking for isnan declaration... " >&6; }
48378 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48379 if ${glibcxx_cv_func_isnan_use+:} false; then :
48380 $as_echo_n "(cached) " >&6
48381 else
48384 ac_ext=cpp
48385 ac_cpp='$CXXCPP $CPPFLAGS'
48386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48391 /* end confdefs.h. */
48392 #include <math.h>
48393 #ifdef HAVE_IEEEFP_H
48394 #include <ieeefp.h>
48395 #endif
48398 main ()
48400 isnan(0);
48402 return 0;
48404 _ACEOF
48405 if ac_fn_cxx_try_compile "$LINENO"; then :
48406 glibcxx_cv_func_isnan_use=yes
48407 else
48408 glibcxx_cv_func_isnan_use=no
48410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48411 ac_ext=c
48412 ac_cpp='$CPP $CPPFLAGS'
48413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48422 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48424 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48425 for ac_func in isnan
48426 do :
48427 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48428 if test "x$ac_cv_func_isnan" = xyes; then :
48429 cat >>confdefs.h <<_ACEOF
48430 #define HAVE_ISNAN 1
48431 _ACEOF
48434 done
48436 else
48438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48439 $as_echo_n "checking for _isnan declaration... " >&6; }
48440 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48441 if ${glibcxx_cv_func__isnan_use+:} false; then :
48442 $as_echo_n "(cached) " >&6
48443 else
48446 ac_ext=cpp
48447 ac_cpp='$CXXCPP $CPPFLAGS'
48448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48453 /* end confdefs.h. */
48454 #include <math.h>
48455 #ifdef HAVE_IEEEFP_H
48456 #include <ieeefp.h>
48457 #endif
48460 main ()
48462 _isnan(0);
48464 return 0;
48466 _ACEOF
48467 if ac_fn_cxx_try_compile "$LINENO"; then :
48468 glibcxx_cv_func__isnan_use=yes
48469 else
48470 glibcxx_cv_func__isnan_use=no
48472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48473 ac_ext=c
48474 ac_cpp='$CPP $CPPFLAGS'
48475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48484 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48486 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48487 for ac_func in _isnan
48488 do :
48489 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48490 if test "x$ac_cv_func__isnan" = xyes; then :
48491 cat >>confdefs.h <<_ACEOF
48492 #define HAVE__ISNAN 1
48493 _ACEOF
48496 done
48505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48506 $as_echo_n "checking for finite declaration... " >&6; }
48507 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48508 if ${glibcxx_cv_func_finite_use+:} false; then :
48509 $as_echo_n "(cached) " >&6
48510 else
48513 ac_ext=cpp
48514 ac_cpp='$CXXCPP $CPPFLAGS'
48515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48520 /* end confdefs.h. */
48521 #include <math.h>
48522 #ifdef HAVE_IEEEFP_H
48523 #include <ieeefp.h>
48524 #endif
48527 main ()
48529 finite(0);
48531 return 0;
48533 _ACEOF
48534 if ac_fn_cxx_try_compile "$LINENO"; then :
48535 glibcxx_cv_func_finite_use=yes
48536 else
48537 glibcxx_cv_func_finite_use=no
48539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48540 ac_ext=c
48541 ac_cpp='$CPP $CPPFLAGS'
48542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48551 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48553 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48554 for ac_func in finite
48555 do :
48556 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48557 if test "x$ac_cv_func_finite" = xyes; then :
48558 cat >>confdefs.h <<_ACEOF
48559 #define HAVE_FINITE 1
48560 _ACEOF
48563 done
48565 else
48567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48568 $as_echo_n "checking for _finite declaration... " >&6; }
48569 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48570 if ${glibcxx_cv_func__finite_use+:} false; then :
48571 $as_echo_n "(cached) " >&6
48572 else
48575 ac_ext=cpp
48576 ac_cpp='$CXXCPP $CPPFLAGS'
48577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48582 /* end confdefs.h. */
48583 #include <math.h>
48584 #ifdef HAVE_IEEEFP_H
48585 #include <ieeefp.h>
48586 #endif
48589 main ()
48591 _finite(0);
48593 return 0;
48595 _ACEOF
48596 if ac_fn_cxx_try_compile "$LINENO"; then :
48597 glibcxx_cv_func__finite_use=yes
48598 else
48599 glibcxx_cv_func__finite_use=no
48601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48602 ac_ext=c
48603 ac_cpp='$CPP $CPPFLAGS'
48604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48613 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48615 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48616 for ac_func in _finite
48617 do :
48618 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48619 if test "x$ac_cv_func__finite" = xyes; then :
48620 cat >>confdefs.h <<_ACEOF
48621 #define HAVE__FINITE 1
48622 _ACEOF
48625 done
48634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48635 $as_echo_n "checking for sincos declaration... " >&6; }
48636 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48637 if ${glibcxx_cv_func_sincos_use+:} false; then :
48638 $as_echo_n "(cached) " >&6
48639 else
48642 ac_ext=cpp
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48649 /* end confdefs.h. */
48650 #include <math.h>
48652 main ()
48654 sincos(0, 0, 0);
48656 return 0;
48658 _ACEOF
48659 if ac_fn_cxx_try_compile "$LINENO"; then :
48660 glibcxx_cv_func_sincos_use=yes
48661 else
48662 glibcxx_cv_func_sincos_use=no
48664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48665 ac_ext=c
48666 ac_cpp='$CPP $CPPFLAGS'
48667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48676 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48678 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48679 for ac_func in sincos
48680 do :
48681 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48682 if test "x$ac_cv_func_sincos" = xyes; then :
48683 cat >>confdefs.h <<_ACEOF
48684 #define HAVE_SINCOS 1
48685 _ACEOF
48688 done
48690 else
48692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48693 $as_echo_n "checking for _sincos declaration... " >&6; }
48694 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48695 if ${glibcxx_cv_func__sincos_use+:} false; then :
48696 $as_echo_n "(cached) " >&6
48697 else
48700 ac_ext=cpp
48701 ac_cpp='$CXXCPP $CPPFLAGS'
48702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48707 /* end confdefs.h. */
48708 #include <math.h>
48710 main ()
48712 _sincos(0, 0, 0);
48714 return 0;
48716 _ACEOF
48717 if ac_fn_cxx_try_compile "$LINENO"; then :
48718 glibcxx_cv_func__sincos_use=yes
48719 else
48720 glibcxx_cv_func__sincos_use=no
48722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48723 ac_ext=c
48724 ac_cpp='$CPP $CPPFLAGS'
48725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48734 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48736 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48737 for ac_func in _sincos
48738 do :
48739 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48740 if test "x$ac_cv_func__sincos" = xyes; then :
48741 cat >>confdefs.h <<_ACEOF
48742 #define HAVE__SINCOS 1
48743 _ACEOF
48746 done
48755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48756 $as_echo_n "checking for fpclass declaration... " >&6; }
48757 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48758 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48759 $as_echo_n "(cached) " >&6
48760 else
48763 ac_ext=cpp
48764 ac_cpp='$CXXCPP $CPPFLAGS'
48765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48770 /* end confdefs.h. */
48771 #include <math.h>
48772 #ifdef HAVE_IEEEFP_H
48773 #include <ieeefp.h>
48774 #endif
48777 main ()
48779 fpclass(0);
48781 return 0;
48783 _ACEOF
48784 if ac_fn_cxx_try_compile "$LINENO"; then :
48785 glibcxx_cv_func_fpclass_use=yes
48786 else
48787 glibcxx_cv_func_fpclass_use=no
48789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48790 ac_ext=c
48791 ac_cpp='$CPP $CPPFLAGS'
48792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48801 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48803 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48804 for ac_func in fpclass
48805 do :
48806 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48807 if test "x$ac_cv_func_fpclass" = xyes; then :
48808 cat >>confdefs.h <<_ACEOF
48809 #define HAVE_FPCLASS 1
48810 _ACEOF
48813 done
48815 else
48817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48818 $as_echo_n "checking for _fpclass declaration... " >&6; }
48819 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48820 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48821 $as_echo_n "(cached) " >&6
48822 else
48825 ac_ext=cpp
48826 ac_cpp='$CXXCPP $CPPFLAGS'
48827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48832 /* end confdefs.h. */
48833 #include <math.h>
48834 #ifdef HAVE_IEEEFP_H
48835 #include <ieeefp.h>
48836 #endif
48839 main ()
48841 _fpclass(0);
48843 return 0;
48845 _ACEOF
48846 if ac_fn_cxx_try_compile "$LINENO"; then :
48847 glibcxx_cv_func__fpclass_use=yes
48848 else
48849 glibcxx_cv_func__fpclass_use=no
48851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48852 ac_ext=c
48853 ac_cpp='$CPP $CPPFLAGS'
48854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48863 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48865 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48866 for ac_func in _fpclass
48867 do :
48868 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48869 if test "x$ac_cv_func__fpclass" = xyes; then :
48870 cat >>confdefs.h <<_ACEOF
48871 #define HAVE__FPCLASS 1
48872 _ACEOF
48875 done
48884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48885 $as_echo_n "checking for qfpclass declaration... " >&6; }
48886 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48887 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48888 $as_echo_n "(cached) " >&6
48889 else
48892 ac_ext=cpp
48893 ac_cpp='$CXXCPP $CPPFLAGS'
48894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48899 /* end confdefs.h. */
48900 #include <math.h>
48901 #ifdef HAVE_IEEEFP_H
48902 #include <ieeefp.h>
48903 #endif
48906 main ()
48908 qfpclass(0);
48910 return 0;
48912 _ACEOF
48913 if ac_fn_cxx_try_compile "$LINENO"; then :
48914 glibcxx_cv_func_qfpclass_use=yes
48915 else
48916 glibcxx_cv_func_qfpclass_use=no
48918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48919 ac_ext=c
48920 ac_cpp='$CPP $CPPFLAGS'
48921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48930 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48932 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48933 for ac_func in qfpclass
48934 do :
48935 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48936 if test "x$ac_cv_func_qfpclass" = xyes; then :
48937 cat >>confdefs.h <<_ACEOF
48938 #define HAVE_QFPCLASS 1
48939 _ACEOF
48942 done
48944 else
48946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48947 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48948 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48949 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48950 $as_echo_n "(cached) " >&6
48951 else
48954 ac_ext=cpp
48955 ac_cpp='$CXXCPP $CPPFLAGS'
48956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48961 /* end confdefs.h. */
48962 #include <math.h>
48963 #ifdef HAVE_IEEEFP_H
48964 #include <ieeefp.h>
48965 #endif
48968 main ()
48970 _qfpclass(0);
48972 return 0;
48974 _ACEOF
48975 if ac_fn_cxx_try_compile "$LINENO"; then :
48976 glibcxx_cv_func__qfpclass_use=yes
48977 else
48978 glibcxx_cv_func__qfpclass_use=no
48980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48981 ac_ext=c
48982 ac_cpp='$CPP $CPPFLAGS'
48983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48992 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48994 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48995 for ac_func in _qfpclass
48996 do :
48997 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48998 if test "x$ac_cv_func__qfpclass" = xyes; then :
48999 cat >>confdefs.h <<_ACEOF
49000 #define HAVE__QFPCLASS 1
49001 _ACEOF
49004 done
49013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49014 $as_echo_n "checking for hypot declaration... " >&6; }
49015 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49016 if ${glibcxx_cv_func_hypot_use+:} false; then :
49017 $as_echo_n "(cached) " >&6
49018 else
49021 ac_ext=cpp
49022 ac_cpp='$CXXCPP $CPPFLAGS'
49023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49028 /* end confdefs.h. */
49029 #include <math.h>
49031 main ()
49033 hypot(0, 0);
49035 return 0;
49037 _ACEOF
49038 if ac_fn_cxx_try_compile "$LINENO"; then :
49039 glibcxx_cv_func_hypot_use=yes
49040 else
49041 glibcxx_cv_func_hypot_use=no
49043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49044 ac_ext=c
49045 ac_cpp='$CPP $CPPFLAGS'
49046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49055 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49057 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49058 for ac_func in hypot
49059 do :
49060 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49061 if test "x$ac_cv_func_hypot" = xyes; then :
49062 cat >>confdefs.h <<_ACEOF
49063 #define HAVE_HYPOT 1
49064 _ACEOF
49067 done
49069 else
49071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49072 $as_echo_n "checking for _hypot declaration... " >&6; }
49073 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49074 if ${glibcxx_cv_func__hypot_use+:} false; then :
49075 $as_echo_n "(cached) " >&6
49076 else
49079 ac_ext=cpp
49080 ac_cpp='$CXXCPP $CPPFLAGS'
49081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49086 /* end confdefs.h. */
49087 #include <math.h>
49089 main ()
49091 _hypot(0, 0);
49093 return 0;
49095 _ACEOF
49096 if ac_fn_cxx_try_compile "$LINENO"; then :
49097 glibcxx_cv_func__hypot_use=yes
49098 else
49099 glibcxx_cv_func__hypot_use=no
49101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49102 ac_ext=c
49103 ac_cpp='$CPP $CPPFLAGS'
49104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49113 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49115 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49116 for ac_func in _hypot
49117 do :
49118 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49119 if test "x$ac_cv_func__hypot" = xyes; then :
49120 cat >>confdefs.h <<_ACEOF
49121 #define HAVE__HYPOT 1
49122 _ACEOF
49125 done
49134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49135 $as_echo_n "checking for float trig functions... " >&6; }
49136 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49137 $as_echo_n "(cached) " >&6
49138 else
49141 ac_ext=cpp
49142 ac_cpp='$CXXCPP $CPPFLAGS'
49143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49148 /* end confdefs.h. */
49149 #include <math.h>
49151 main ()
49153 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49155 return 0;
49157 _ACEOF
49158 if ac_fn_cxx_try_compile "$LINENO"; then :
49159 glibcxx_cv_func_float_trig_use=yes
49160 else
49161 glibcxx_cv_func_float_trig_use=no
49163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49164 ac_ext=c
49165 ac_cpp='$CPP $CPPFLAGS'
49166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49173 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49174 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49175 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49176 do :
49177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49179 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49182 _ACEOF
49185 done
49187 else
49188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49189 $as_echo_n "checking for _float trig functions... " >&6; }
49190 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49191 $as_echo_n "(cached) " >&6
49192 else
49195 ac_ext=cpp
49196 ac_cpp='$CXXCPP $CPPFLAGS'
49197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49202 /* end confdefs.h. */
49203 #include <math.h>
49205 main ()
49207 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49209 return 0;
49211 _ACEOF
49212 if ac_fn_cxx_try_compile "$LINENO"; then :
49213 glibcxx_cv_func__float_trig_use=yes
49214 else
49215 glibcxx_cv_func__float_trig_use=no
49217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49218 ac_ext=c
49219 ac_cpp='$CPP $CPPFLAGS'
49220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49227 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49228 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49229 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49230 do :
49231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49233 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49234 cat >>confdefs.h <<_ACEOF
49235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49236 _ACEOF
49239 done
49248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49249 $as_echo_n "checking for float round functions... " >&6; }
49250 if ${glibcxx_cv_func_float_round_use+:} false; then :
49251 $as_echo_n "(cached) " >&6
49252 else
49255 ac_ext=cpp
49256 ac_cpp='$CXXCPP $CPPFLAGS'
49257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49262 /* end confdefs.h. */
49263 #include <math.h>
49265 main ()
49267 ceilf (0); floorf (0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func_float_round_use=yes
49274 else
49275 glibcxx_cv_func_float_round_use=no
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49287 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49288 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49289 for ac_func in ceilf floorf
49290 do :
49291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49293 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49294 cat >>confdefs.h <<_ACEOF
49295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49296 _ACEOF
49299 done
49301 else
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49303 $as_echo_n "checking for _float round functions... " >&6; }
49304 if ${glibcxx_cv_func__float_round_use+:} false; then :
49305 $as_echo_n "(cached) " >&6
49306 else
49309 ac_ext=cpp
49310 ac_cpp='$CXXCPP $CPPFLAGS'
49311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49316 /* end confdefs.h. */
49317 #include <math.h>
49319 main ()
49321 _ceilf (0); _floorf (0);
49323 return 0;
49325 _ACEOF
49326 if ac_fn_cxx_try_compile "$LINENO"; then :
49327 glibcxx_cv_func__float_round_use=yes
49328 else
49329 glibcxx_cv_func__float_round_use=no
49331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49332 ac_ext=c
49333 ac_cpp='$CPP $CPPFLAGS'
49334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49341 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49342 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49343 for ac_func in _ceilf _floorf
49344 do :
49345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49348 cat >>confdefs.h <<_ACEOF
49349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49350 _ACEOF
49353 done
49363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49364 $as_echo_n "checking for expf declaration... " >&6; }
49365 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49366 if ${glibcxx_cv_func_expf_use+:} false; then :
49367 $as_echo_n "(cached) " >&6
49368 else
49371 ac_ext=cpp
49372 ac_cpp='$CXXCPP $CPPFLAGS'
49373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49378 /* end confdefs.h. */
49379 #include <math.h>
49380 #ifdef HAVE_IEEEFP_H
49381 #include <ieeefp.h>
49382 #endif
49385 main ()
49387 expf(0);
49389 return 0;
49391 _ACEOF
49392 if ac_fn_cxx_try_compile "$LINENO"; then :
49393 glibcxx_cv_func_expf_use=yes
49394 else
49395 glibcxx_cv_func_expf_use=no
49397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49398 ac_ext=c
49399 ac_cpp='$CPP $CPPFLAGS'
49400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49409 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49411 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49412 for ac_func in expf
49413 do :
49414 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49415 if test "x$ac_cv_func_expf" = xyes; then :
49416 cat >>confdefs.h <<_ACEOF
49417 #define HAVE_EXPF 1
49418 _ACEOF
49421 done
49423 else
49425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49426 $as_echo_n "checking for _expf declaration... " >&6; }
49427 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49428 if ${glibcxx_cv_func__expf_use+:} false; then :
49429 $as_echo_n "(cached) " >&6
49430 else
49433 ac_ext=cpp
49434 ac_cpp='$CXXCPP $CPPFLAGS'
49435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49440 /* end confdefs.h. */
49441 #include <math.h>
49442 #ifdef HAVE_IEEEFP_H
49443 #include <ieeefp.h>
49444 #endif
49447 main ()
49449 _expf(0);
49451 return 0;
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455 glibcxx_cv_func__expf_use=yes
49456 else
49457 glibcxx_cv_func__expf_use=no
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460 ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49471 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49473 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49474 for ac_func in _expf
49475 do :
49476 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49477 if test "x$ac_cv_func__expf" = xyes; then :
49478 cat >>confdefs.h <<_ACEOF
49479 #define HAVE__EXPF 1
49480 _ACEOF
49483 done
49492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49493 $as_echo_n "checking for isnanf declaration... " >&6; }
49494 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49495 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49496 $as_echo_n "(cached) " >&6
49497 else
49500 ac_ext=cpp
49501 ac_cpp='$CXXCPP $CPPFLAGS'
49502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49507 /* end confdefs.h. */
49508 #include <math.h>
49509 #ifdef HAVE_IEEEFP_H
49510 #include <ieeefp.h>
49511 #endif
49514 main ()
49516 isnanf(0);
49518 return 0;
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522 glibcxx_cv_func_isnanf_use=yes
49523 else
49524 glibcxx_cv_func_isnanf_use=no
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527 ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49538 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49540 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49541 for ac_func in isnanf
49542 do :
49543 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49544 if test "x$ac_cv_func_isnanf" = xyes; then :
49545 cat >>confdefs.h <<_ACEOF
49546 #define HAVE_ISNANF 1
49547 _ACEOF
49550 done
49552 else
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49555 $as_echo_n "checking for _isnanf declaration... " >&6; }
49556 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49557 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49558 $as_echo_n "(cached) " >&6
49559 else
49562 ac_ext=cpp
49563 ac_cpp='$CXXCPP $CPPFLAGS'
49564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49569 /* end confdefs.h. */
49570 #include <math.h>
49571 #ifdef HAVE_IEEEFP_H
49572 #include <ieeefp.h>
49573 #endif
49576 main ()
49578 _isnanf(0);
49580 return 0;
49582 _ACEOF
49583 if ac_fn_cxx_try_compile "$LINENO"; then :
49584 glibcxx_cv_func__isnanf_use=yes
49585 else
49586 glibcxx_cv_func__isnanf_use=no
49588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49589 ac_ext=c
49590 ac_cpp='$CPP $CPPFLAGS'
49591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49600 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49602 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49603 for ac_func in _isnanf
49604 do :
49605 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49606 if test "x$ac_cv_func__isnanf" = xyes; then :
49607 cat >>confdefs.h <<_ACEOF
49608 #define HAVE__ISNANF 1
49609 _ACEOF
49612 done
49621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49622 $as_echo_n "checking for isinff declaration... " >&6; }
49623 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49624 if ${glibcxx_cv_func_isinff_use+:} false; then :
49625 $as_echo_n "(cached) " >&6
49626 else
49629 ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h. */
49637 #include <math.h>
49638 #ifdef HAVE_IEEEFP_H
49639 #include <ieeefp.h>
49640 #endif
49643 main ()
49645 isinff(0);
49647 return 0;
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func_isinff_use=yes
49652 else
49653 glibcxx_cv_func_isinff_use=no
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49667 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49669 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49670 for ac_func in isinff
49671 do :
49672 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49673 if test "x$ac_cv_func_isinff" = xyes; then :
49674 cat >>confdefs.h <<_ACEOF
49675 #define HAVE_ISINFF 1
49676 _ACEOF
49679 done
49681 else
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49684 $as_echo_n "checking for _isinff declaration... " >&6; }
49685 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49686 if ${glibcxx_cv_func__isinff_use+:} false; then :
49687 $as_echo_n "(cached) " >&6
49688 else
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h. */
49699 #include <math.h>
49700 #ifdef HAVE_IEEEFP_H
49701 #include <ieeefp.h>
49702 #endif
49705 main ()
49707 _isinff(0);
49709 return 0;
49711 _ACEOF
49712 if ac_fn_cxx_try_compile "$LINENO"; then :
49713 glibcxx_cv_func__isinff_use=yes
49714 else
49715 glibcxx_cv_func__isinff_use=no
49717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49718 ac_ext=c
49719 ac_cpp='$CPP $CPPFLAGS'
49720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49729 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49731 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49732 for ac_func in _isinff
49733 do :
49734 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49735 if test "x$ac_cv_func__isinff" = xyes; then :
49736 cat >>confdefs.h <<_ACEOF
49737 #define HAVE__ISINFF 1
49738 _ACEOF
49741 done
49750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49751 $as_echo_n "checking for atan2f declaration... " >&6; }
49752 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49753 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49754 $as_echo_n "(cached) " >&6
49755 else
49758 ac_ext=cpp
49759 ac_cpp='$CXXCPP $CPPFLAGS'
49760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49765 /* end confdefs.h. */
49766 #include <math.h>
49768 main ()
49770 atan2f(0, 0);
49772 return 0;
49774 _ACEOF
49775 if ac_fn_cxx_try_compile "$LINENO"; then :
49776 glibcxx_cv_func_atan2f_use=yes
49777 else
49778 glibcxx_cv_func_atan2f_use=no
49780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49781 ac_ext=c
49782 ac_cpp='$CPP $CPPFLAGS'
49783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49792 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49794 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49795 for ac_func in atan2f
49796 do :
49797 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49798 if test "x$ac_cv_func_atan2f" = xyes; then :
49799 cat >>confdefs.h <<_ACEOF
49800 #define HAVE_ATAN2F 1
49801 _ACEOF
49804 done
49806 else
49808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49809 $as_echo_n "checking for _atan2f declaration... " >&6; }
49810 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49811 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49812 $as_echo_n "(cached) " >&6
49813 else
49816 ac_ext=cpp
49817 ac_cpp='$CXXCPP $CPPFLAGS'
49818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49823 /* end confdefs.h. */
49824 #include <math.h>
49826 main ()
49828 _atan2f(0, 0);
49830 return 0;
49832 _ACEOF
49833 if ac_fn_cxx_try_compile "$LINENO"; then :
49834 glibcxx_cv_func__atan2f_use=yes
49835 else
49836 glibcxx_cv_func__atan2f_use=no
49838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49839 ac_ext=c
49840 ac_cpp='$CPP $CPPFLAGS'
49841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49850 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49852 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49853 for ac_func in _atan2f
49854 do :
49855 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49856 if test "x$ac_cv_func__atan2f" = xyes; then :
49857 cat >>confdefs.h <<_ACEOF
49858 #define HAVE__ATAN2F 1
49859 _ACEOF
49862 done
49871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49872 $as_echo_n "checking for fabsf declaration... " >&6; }
49873 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49874 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49875 $as_echo_n "(cached) " >&6
49876 else
49879 ac_ext=cpp
49880 ac_cpp='$CXXCPP $CPPFLAGS'
49881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49886 /* end confdefs.h. */
49887 #include <math.h>
49888 #ifdef HAVE_IEEEFP_H
49889 #include <ieeefp.h>
49890 #endif
49893 main ()
49895 fabsf(0);
49897 return 0;
49899 _ACEOF
49900 if ac_fn_cxx_try_compile "$LINENO"; then :
49901 glibcxx_cv_func_fabsf_use=yes
49902 else
49903 glibcxx_cv_func_fabsf_use=no
49905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49906 ac_ext=c
49907 ac_cpp='$CPP $CPPFLAGS'
49908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49917 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49919 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49920 for ac_func in fabsf
49921 do :
49922 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49923 if test "x$ac_cv_func_fabsf" = xyes; then :
49924 cat >>confdefs.h <<_ACEOF
49925 #define HAVE_FABSF 1
49926 _ACEOF
49929 done
49931 else
49933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49934 $as_echo_n "checking for _fabsf declaration... " >&6; }
49935 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49936 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49937 $as_echo_n "(cached) " >&6
49938 else
49941 ac_ext=cpp
49942 ac_cpp='$CXXCPP $CPPFLAGS'
49943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49948 /* end confdefs.h. */
49949 #include <math.h>
49950 #ifdef HAVE_IEEEFP_H
49951 #include <ieeefp.h>
49952 #endif
49955 main ()
49957 _fabsf(0);
49959 return 0;
49961 _ACEOF
49962 if ac_fn_cxx_try_compile "$LINENO"; then :
49963 glibcxx_cv_func__fabsf_use=yes
49964 else
49965 glibcxx_cv_func__fabsf_use=no
49967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49968 ac_ext=c
49969 ac_cpp='$CPP $CPPFLAGS'
49970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49979 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49981 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49982 for ac_func in _fabsf
49983 do :
49984 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49985 if test "x$ac_cv_func__fabsf" = xyes; then :
49986 cat >>confdefs.h <<_ACEOF
49987 #define HAVE__FABSF 1
49988 _ACEOF
49991 done
50000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50001 $as_echo_n "checking for fmodf declaration... " >&6; }
50002 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50003 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50004 $as_echo_n "(cached) " >&6
50005 else
50008 ac_ext=cpp
50009 ac_cpp='$CXXCPP $CPPFLAGS'
50010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50015 /* end confdefs.h. */
50016 #include <math.h>
50018 main ()
50020 fmodf(0, 0);
50022 return 0;
50024 _ACEOF
50025 if ac_fn_cxx_try_compile "$LINENO"; then :
50026 glibcxx_cv_func_fmodf_use=yes
50027 else
50028 glibcxx_cv_func_fmodf_use=no
50030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50031 ac_ext=c
50032 ac_cpp='$CPP $CPPFLAGS'
50033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50042 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50044 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50045 for ac_func in fmodf
50046 do :
50047 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50048 if test "x$ac_cv_func_fmodf" = xyes; then :
50049 cat >>confdefs.h <<_ACEOF
50050 #define HAVE_FMODF 1
50051 _ACEOF
50054 done
50056 else
50058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50059 $as_echo_n "checking for _fmodf declaration... " >&6; }
50060 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50061 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50062 $as_echo_n "(cached) " >&6
50063 else
50066 ac_ext=cpp
50067 ac_cpp='$CXXCPP $CPPFLAGS'
50068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50073 /* end confdefs.h. */
50074 #include <math.h>
50076 main ()
50078 _fmodf(0, 0);
50080 return 0;
50082 _ACEOF
50083 if ac_fn_cxx_try_compile "$LINENO"; then :
50084 glibcxx_cv_func__fmodf_use=yes
50085 else
50086 glibcxx_cv_func__fmodf_use=no
50088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50089 ac_ext=c
50090 ac_cpp='$CPP $CPPFLAGS'
50091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50100 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50102 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50103 for ac_func in _fmodf
50104 do :
50105 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50106 if test "x$ac_cv_func__fmodf" = xyes; then :
50107 cat >>confdefs.h <<_ACEOF
50108 #define HAVE__FMODF 1
50109 _ACEOF
50112 done
50121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50122 $as_echo_n "checking for frexpf declaration... " >&6; }
50123 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50124 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50125 $as_echo_n "(cached) " >&6
50126 else
50129 ac_ext=cpp
50130 ac_cpp='$CXXCPP $CPPFLAGS'
50131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50136 /* end confdefs.h. */
50137 #include <math.h>
50139 main ()
50141 frexpf(0, 0);
50143 return 0;
50145 _ACEOF
50146 if ac_fn_cxx_try_compile "$LINENO"; then :
50147 glibcxx_cv_func_frexpf_use=yes
50148 else
50149 glibcxx_cv_func_frexpf_use=no
50151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50152 ac_ext=c
50153 ac_cpp='$CPP $CPPFLAGS'
50154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50163 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50165 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50166 for ac_func in frexpf
50167 do :
50168 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50169 if test "x$ac_cv_func_frexpf" = xyes; then :
50170 cat >>confdefs.h <<_ACEOF
50171 #define HAVE_FREXPF 1
50172 _ACEOF
50175 done
50177 else
50179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50180 $as_echo_n "checking for _frexpf declaration... " >&6; }
50181 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50182 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50183 $as_echo_n "(cached) " >&6
50184 else
50187 ac_ext=cpp
50188 ac_cpp='$CXXCPP $CPPFLAGS'
50189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50194 /* end confdefs.h. */
50195 #include <math.h>
50197 main ()
50199 _frexpf(0, 0);
50201 return 0;
50203 _ACEOF
50204 if ac_fn_cxx_try_compile "$LINENO"; then :
50205 glibcxx_cv_func__frexpf_use=yes
50206 else
50207 glibcxx_cv_func__frexpf_use=no
50209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50210 ac_ext=c
50211 ac_cpp='$CPP $CPPFLAGS'
50212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50221 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50223 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50224 for ac_func in _frexpf
50225 do :
50226 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50227 if test "x$ac_cv_func__frexpf" = xyes; then :
50228 cat >>confdefs.h <<_ACEOF
50229 #define HAVE__FREXPF 1
50230 _ACEOF
50233 done
50242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50243 $as_echo_n "checking for hypotf declaration... " >&6; }
50244 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50245 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50246 $as_echo_n "(cached) " >&6
50247 else
50250 ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h. */
50258 #include <math.h>
50260 main ()
50262 hypotf(0, 0);
50264 return 0;
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func_hypotf_use=yes
50269 else
50270 glibcxx_cv_func_hypotf_use=no
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50284 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50286 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50287 for ac_func in hypotf
50288 do :
50289 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50290 if test "x$ac_cv_func_hypotf" = xyes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE_HYPOTF 1
50293 _ACEOF
50296 done
50298 else
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50301 $as_echo_n "checking for _hypotf declaration... " >&6; }
50302 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50303 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50304 $as_echo_n "(cached) " >&6
50305 else
50308 ac_ext=cpp
50309 ac_cpp='$CXXCPP $CPPFLAGS'
50310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50315 /* end confdefs.h. */
50316 #include <math.h>
50318 main ()
50320 _hypotf(0, 0);
50322 return 0;
50324 _ACEOF
50325 if ac_fn_cxx_try_compile "$LINENO"; then :
50326 glibcxx_cv_func__hypotf_use=yes
50327 else
50328 glibcxx_cv_func__hypotf_use=no
50330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50331 ac_ext=c
50332 ac_cpp='$CPP $CPPFLAGS'
50333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50342 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50344 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50345 for ac_func in _hypotf
50346 do :
50347 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50348 if test "x$ac_cv_func__hypotf" = xyes; then :
50349 cat >>confdefs.h <<_ACEOF
50350 #define HAVE__HYPOTF 1
50351 _ACEOF
50354 done
50363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50364 $as_echo_n "checking for ldexpf declaration... " >&6; }
50365 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50366 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50367 $as_echo_n "(cached) " >&6
50368 else
50371 ac_ext=cpp
50372 ac_cpp='$CXXCPP $CPPFLAGS'
50373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50378 /* end confdefs.h. */
50379 #include <math.h>
50381 main ()
50383 ldexpf(0, 0);
50385 return 0;
50387 _ACEOF
50388 if ac_fn_cxx_try_compile "$LINENO"; then :
50389 glibcxx_cv_func_ldexpf_use=yes
50390 else
50391 glibcxx_cv_func_ldexpf_use=no
50393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50394 ac_ext=c
50395 ac_cpp='$CPP $CPPFLAGS'
50396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50405 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50407 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50408 for ac_func in ldexpf
50409 do :
50410 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50411 if test "x$ac_cv_func_ldexpf" = xyes; then :
50412 cat >>confdefs.h <<_ACEOF
50413 #define HAVE_LDEXPF 1
50414 _ACEOF
50417 done
50419 else
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50422 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50423 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50424 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50425 $as_echo_n "(cached) " >&6
50426 else
50429 ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h. */
50437 #include <math.h>
50439 main ()
50441 _ldexpf(0, 0);
50443 return 0;
50445 _ACEOF
50446 if ac_fn_cxx_try_compile "$LINENO"; then :
50447 glibcxx_cv_func__ldexpf_use=yes
50448 else
50449 glibcxx_cv_func__ldexpf_use=no
50451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50452 ac_ext=c
50453 ac_cpp='$CPP $CPPFLAGS'
50454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50463 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50465 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50466 for ac_func in _ldexpf
50467 do :
50468 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50469 if test "x$ac_cv_func__ldexpf" = xyes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define HAVE__LDEXPF 1
50472 _ACEOF
50475 done
50484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50485 $as_echo_n "checking for logf declaration... " >&6; }
50486 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50487 if ${glibcxx_cv_func_logf_use+:} false; then :
50488 $as_echo_n "(cached) " >&6
50489 else
50492 ac_ext=cpp
50493 ac_cpp='$CXXCPP $CPPFLAGS'
50494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50499 /* end confdefs.h. */
50500 #include <math.h>
50501 #ifdef HAVE_IEEEFP_H
50502 #include <ieeefp.h>
50503 #endif
50506 main ()
50508 logf(0);
50510 return 0;
50512 _ACEOF
50513 if ac_fn_cxx_try_compile "$LINENO"; then :
50514 glibcxx_cv_func_logf_use=yes
50515 else
50516 glibcxx_cv_func_logf_use=no
50518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50519 ac_ext=c
50520 ac_cpp='$CPP $CPPFLAGS'
50521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50530 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50532 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50533 for ac_func in logf
50534 do :
50535 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50536 if test "x$ac_cv_func_logf" = xyes; then :
50537 cat >>confdefs.h <<_ACEOF
50538 #define HAVE_LOGF 1
50539 _ACEOF
50542 done
50544 else
50546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50547 $as_echo_n "checking for _logf declaration... " >&6; }
50548 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50549 if ${glibcxx_cv_func__logf_use+:} false; then :
50550 $as_echo_n "(cached) " >&6
50551 else
50554 ac_ext=cpp
50555 ac_cpp='$CXXCPP $CPPFLAGS'
50556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50561 /* end confdefs.h. */
50562 #include <math.h>
50563 #ifdef HAVE_IEEEFP_H
50564 #include <ieeefp.h>
50565 #endif
50568 main ()
50570 _logf(0);
50572 return 0;
50574 _ACEOF
50575 if ac_fn_cxx_try_compile "$LINENO"; then :
50576 glibcxx_cv_func__logf_use=yes
50577 else
50578 glibcxx_cv_func__logf_use=no
50580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50581 ac_ext=c
50582 ac_cpp='$CPP $CPPFLAGS'
50583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50592 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50594 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50595 for ac_func in _logf
50596 do :
50597 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50598 if test "x$ac_cv_func__logf" = xyes; then :
50599 cat >>confdefs.h <<_ACEOF
50600 #define HAVE__LOGF 1
50601 _ACEOF
50604 done
50613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50614 $as_echo_n "checking for log10f declaration... " >&6; }
50615 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50616 if ${glibcxx_cv_func_log10f_use+:} false; then :
50617 $as_echo_n "(cached) " >&6
50618 else
50621 ac_ext=cpp
50622 ac_cpp='$CXXCPP $CPPFLAGS'
50623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50628 /* end confdefs.h. */
50629 #include <math.h>
50630 #ifdef HAVE_IEEEFP_H
50631 #include <ieeefp.h>
50632 #endif
50635 main ()
50637 log10f(0);
50639 return 0;
50641 _ACEOF
50642 if ac_fn_cxx_try_compile "$LINENO"; then :
50643 glibcxx_cv_func_log10f_use=yes
50644 else
50645 glibcxx_cv_func_log10f_use=no
50647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50648 ac_ext=c
50649 ac_cpp='$CPP $CPPFLAGS'
50650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50659 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50661 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50662 for ac_func in log10f
50663 do :
50664 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50665 if test "x$ac_cv_func_log10f" = xyes; then :
50666 cat >>confdefs.h <<_ACEOF
50667 #define HAVE_LOG10F 1
50668 _ACEOF
50671 done
50673 else
50675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50676 $as_echo_n "checking for _log10f declaration... " >&6; }
50677 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50678 if ${glibcxx_cv_func__log10f_use+:} false; then :
50679 $as_echo_n "(cached) " >&6
50680 else
50683 ac_ext=cpp
50684 ac_cpp='$CXXCPP $CPPFLAGS'
50685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50690 /* end confdefs.h. */
50691 #include <math.h>
50692 #ifdef HAVE_IEEEFP_H
50693 #include <ieeefp.h>
50694 #endif
50697 main ()
50699 _log10f(0);
50701 return 0;
50703 _ACEOF
50704 if ac_fn_cxx_try_compile "$LINENO"; then :
50705 glibcxx_cv_func__log10f_use=yes
50706 else
50707 glibcxx_cv_func__log10f_use=no
50709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50710 ac_ext=c
50711 ac_cpp='$CPP $CPPFLAGS'
50712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50721 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50723 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50724 for ac_func in _log10f
50725 do :
50726 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50727 if test "x$ac_cv_func__log10f" = xyes; then :
50728 cat >>confdefs.h <<_ACEOF
50729 #define HAVE__LOG10F 1
50730 _ACEOF
50733 done
50742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50743 $as_echo_n "checking for modff declaration... " >&6; }
50744 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50745 if ${glibcxx_cv_func_modff_use+:} false; then :
50746 $as_echo_n "(cached) " >&6
50747 else
50750 ac_ext=cpp
50751 ac_cpp='$CXXCPP $CPPFLAGS'
50752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50757 /* end confdefs.h. */
50758 #include <math.h>
50760 main ()
50762 modff(0, 0);
50764 return 0;
50766 _ACEOF
50767 if ac_fn_cxx_try_compile "$LINENO"; then :
50768 glibcxx_cv_func_modff_use=yes
50769 else
50770 glibcxx_cv_func_modff_use=no
50772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50773 ac_ext=c
50774 ac_cpp='$CPP $CPPFLAGS'
50775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50784 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50786 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50787 for ac_func in modff
50788 do :
50789 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50790 if test "x$ac_cv_func_modff" = xyes; then :
50791 cat >>confdefs.h <<_ACEOF
50792 #define HAVE_MODFF 1
50793 _ACEOF
50796 done
50798 else
50800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50801 $as_echo_n "checking for _modff declaration... " >&6; }
50802 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50803 if ${glibcxx_cv_func__modff_use+:} false; then :
50804 $as_echo_n "(cached) " >&6
50805 else
50808 ac_ext=cpp
50809 ac_cpp='$CXXCPP $CPPFLAGS'
50810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50815 /* end confdefs.h. */
50816 #include <math.h>
50818 main ()
50820 _modff(0, 0);
50822 return 0;
50824 _ACEOF
50825 if ac_fn_cxx_try_compile "$LINENO"; then :
50826 glibcxx_cv_func__modff_use=yes
50827 else
50828 glibcxx_cv_func__modff_use=no
50830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50831 ac_ext=c
50832 ac_cpp='$CPP $CPPFLAGS'
50833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50842 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50844 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50845 for ac_func in _modff
50846 do :
50847 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50848 if test "x$ac_cv_func__modff" = xyes; then :
50849 cat >>confdefs.h <<_ACEOF
50850 #define HAVE__MODFF 1
50851 _ACEOF
50854 done
50863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50864 $as_echo_n "checking for modf declaration... " >&6; }
50865 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50866 if ${glibcxx_cv_func_modf_use+:} false; then :
50867 $as_echo_n "(cached) " >&6
50868 else
50871 ac_ext=cpp
50872 ac_cpp='$CXXCPP $CPPFLAGS'
50873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50878 /* end confdefs.h. */
50879 #include <math.h>
50881 main ()
50883 modf(0, 0);
50885 return 0;
50887 _ACEOF
50888 if ac_fn_cxx_try_compile "$LINENO"; then :
50889 glibcxx_cv_func_modf_use=yes
50890 else
50891 glibcxx_cv_func_modf_use=no
50893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50894 ac_ext=c
50895 ac_cpp='$CPP $CPPFLAGS'
50896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50905 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50907 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50908 for ac_func in modf
50909 do :
50910 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50911 if test "x$ac_cv_func_modf" = xyes; then :
50912 cat >>confdefs.h <<_ACEOF
50913 #define HAVE_MODF 1
50914 _ACEOF
50917 done
50919 else
50921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50922 $as_echo_n "checking for _modf declaration... " >&6; }
50923 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50924 if ${glibcxx_cv_func__modf_use+:} false; then :
50925 $as_echo_n "(cached) " >&6
50926 else
50929 ac_ext=cpp
50930 ac_cpp='$CXXCPP $CPPFLAGS'
50931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50936 /* end confdefs.h. */
50937 #include <math.h>
50939 main ()
50941 _modf(0, 0);
50943 return 0;
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947 glibcxx_cv_func__modf_use=yes
50948 else
50949 glibcxx_cv_func__modf_use=no
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952 ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50963 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50965 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50966 for ac_func in _modf
50967 do :
50968 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50969 if test "x$ac_cv_func__modf" = xyes; then :
50970 cat >>confdefs.h <<_ACEOF
50971 #define HAVE__MODF 1
50972 _ACEOF
50975 done
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50985 $as_echo_n "checking for powf declaration... " >&6; }
50986 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50987 if ${glibcxx_cv_func_powf_use+:} false; then :
50988 $as_echo_n "(cached) " >&6
50989 else
50992 ac_ext=cpp
50993 ac_cpp='$CXXCPP $CPPFLAGS'
50994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50999 /* end confdefs.h. */
51000 #include <math.h>
51002 main ()
51004 powf(0, 0);
51006 return 0;
51008 _ACEOF
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_powf_use=yes
51011 else
51012 glibcxx_cv_func_powf_use=no
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51015 ac_ext=c
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51026 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51028 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51029 for ac_func in powf
51030 do :
51031 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51032 if test "x$ac_cv_func_powf" = xyes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_POWF 1
51035 _ACEOF
51038 done
51040 else
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51043 $as_echo_n "checking for _powf declaration... " >&6; }
51044 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51045 if ${glibcxx_cv_func__powf_use+:} false; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51060 main ()
51062 _powf(0, 0);
51064 return 0;
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func__powf_use=yes
51069 else
51070 glibcxx_cv_func__powf_use=no
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51084 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51086 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51087 for ac_func in _powf
51088 do :
51089 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51090 if test "x$ac_cv_func__powf" = xyes; then :
51091 cat >>confdefs.h <<_ACEOF
51092 #define HAVE__POWF 1
51093 _ACEOF
51096 done
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51106 $as_echo_n "checking for sqrtf declaration... " >&6; }
51107 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51108 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <math.h>
51122 #ifdef HAVE_IEEEFP_H
51123 #include <ieeefp.h>
51124 #endif
51127 main ()
51129 sqrtf(0);
51131 return 0;
51133 _ACEOF
51134 if ac_fn_cxx_try_compile "$LINENO"; then :
51135 glibcxx_cv_func_sqrtf_use=yes
51136 else
51137 glibcxx_cv_func_sqrtf_use=no
51139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51140 ac_ext=c
51141 ac_cpp='$CPP $CPPFLAGS'
51142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51151 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51153 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51154 for ac_func in sqrtf
51155 do :
51156 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51157 if test "x$ac_cv_func_sqrtf" = xyes; then :
51158 cat >>confdefs.h <<_ACEOF
51159 #define HAVE_SQRTF 1
51160 _ACEOF
51163 done
51165 else
51167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51168 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51169 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51170 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51171 $as_echo_n "(cached) " >&6
51172 else
51175 ac_ext=cpp
51176 ac_cpp='$CXXCPP $CPPFLAGS'
51177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51182 /* end confdefs.h. */
51183 #include <math.h>
51184 #ifdef HAVE_IEEEFP_H
51185 #include <ieeefp.h>
51186 #endif
51189 main ()
51191 _sqrtf(0);
51193 return 0;
51195 _ACEOF
51196 if ac_fn_cxx_try_compile "$LINENO"; then :
51197 glibcxx_cv_func__sqrtf_use=yes
51198 else
51199 glibcxx_cv_func__sqrtf_use=no
51201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51202 ac_ext=c
51203 ac_cpp='$CPP $CPPFLAGS'
51204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51213 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51215 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51216 for ac_func in _sqrtf
51217 do :
51218 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51219 if test "x$ac_cv_func__sqrtf" = xyes; then :
51220 cat >>confdefs.h <<_ACEOF
51221 #define HAVE__SQRTF 1
51222 _ACEOF
51225 done
51234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51235 $as_echo_n "checking for sincosf declaration... " >&6; }
51236 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51237 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51238 $as_echo_n "(cached) " >&6
51239 else
51242 ac_ext=cpp
51243 ac_cpp='$CXXCPP $CPPFLAGS'
51244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51249 /* end confdefs.h. */
51250 #include <math.h>
51252 main ()
51254 sincosf(0, 0, 0);
51256 return 0;
51258 _ACEOF
51259 if ac_fn_cxx_try_compile "$LINENO"; then :
51260 glibcxx_cv_func_sincosf_use=yes
51261 else
51262 glibcxx_cv_func_sincosf_use=no
51264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51265 ac_ext=c
51266 ac_cpp='$CPP $CPPFLAGS'
51267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51276 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51278 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51279 for ac_func in sincosf
51280 do :
51281 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51282 if test "x$ac_cv_func_sincosf" = xyes; then :
51283 cat >>confdefs.h <<_ACEOF
51284 #define HAVE_SINCOSF 1
51285 _ACEOF
51288 done
51290 else
51292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51293 $as_echo_n "checking for _sincosf declaration... " >&6; }
51294 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51295 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51296 $as_echo_n "(cached) " >&6
51297 else
51300 ac_ext=cpp
51301 ac_cpp='$CXXCPP $CPPFLAGS'
51302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51307 /* end confdefs.h. */
51308 #include <math.h>
51310 main ()
51312 _sincosf(0, 0, 0);
51314 return 0;
51316 _ACEOF
51317 if ac_fn_cxx_try_compile "$LINENO"; then :
51318 glibcxx_cv_func__sincosf_use=yes
51319 else
51320 glibcxx_cv_func__sincosf_use=no
51322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51334 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51336 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51337 for ac_func in _sincosf
51338 do :
51339 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51340 if test "x$ac_cv_func__sincosf" = xyes; then :
51341 cat >>confdefs.h <<_ACEOF
51342 #define HAVE__SINCOSF 1
51343 _ACEOF
51346 done
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51356 $as_echo_n "checking for finitef declaration... " >&6; }
51357 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51358 if ${glibcxx_cv_func_finitef_use+:} false; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51372 #ifdef HAVE_IEEEFP_H
51373 #include <ieeefp.h>
51374 #endif
51377 main ()
51379 finitef(0);
51381 return 0;
51383 _ACEOF
51384 if ac_fn_cxx_try_compile "$LINENO"; then :
51385 glibcxx_cv_func_finitef_use=yes
51386 else
51387 glibcxx_cv_func_finitef_use=no
51389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51390 ac_ext=c
51391 ac_cpp='$CPP $CPPFLAGS'
51392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51401 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51403 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51404 for ac_func in finitef
51405 do :
51406 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51407 if test "x$ac_cv_func_finitef" = xyes; then :
51408 cat >>confdefs.h <<_ACEOF
51409 #define HAVE_FINITEF 1
51410 _ACEOF
51413 done
51415 else
51417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51418 $as_echo_n "checking for _finitef declaration... " >&6; }
51419 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51420 if ${glibcxx_cv_func__finitef_use+:} false; then :
51421 $as_echo_n "(cached) " >&6
51422 else
51425 ac_ext=cpp
51426 ac_cpp='$CXXCPP $CPPFLAGS'
51427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51432 /* end confdefs.h. */
51433 #include <math.h>
51434 #ifdef HAVE_IEEEFP_H
51435 #include <ieeefp.h>
51436 #endif
51439 main ()
51441 _finitef(0);
51443 return 0;
51445 _ACEOF
51446 if ac_fn_cxx_try_compile "$LINENO"; then :
51447 glibcxx_cv_func__finitef_use=yes
51448 else
51449 glibcxx_cv_func__finitef_use=no
51451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51452 ac_ext=c
51453 ac_cpp='$CPP $CPPFLAGS'
51454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51463 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51465 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51466 for ac_func in _finitef
51467 do :
51468 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51469 if test "x$ac_cv_func__finitef" = xyes; then :
51470 cat >>confdefs.h <<_ACEOF
51471 #define HAVE__FINITEF 1
51472 _ACEOF
51475 done
51484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51485 $as_echo_n "checking for long double trig functions... " >&6; }
51486 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51487 $as_echo_n "(cached) " >&6
51488 else
51491 ac_ext=cpp
51492 ac_cpp='$CXXCPP $CPPFLAGS'
51493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51498 /* end confdefs.h. */
51499 #include <math.h>
51501 main ()
51503 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51505 return 0;
51507 _ACEOF
51508 if ac_fn_cxx_try_compile "$LINENO"; then :
51509 glibcxx_cv_func_long_double_trig_use=yes
51510 else
51511 glibcxx_cv_func_long_double_trig_use=no
51513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 ac_ext=c
51515 ac_cpp='$CPP $CPPFLAGS'
51516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51523 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51524 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51525 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51526 do :
51527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51530 cat >>confdefs.h <<_ACEOF
51531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51532 _ACEOF
51535 done
51537 else
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51539 $as_echo_n "checking for _long double trig functions... " >&6; }
51540 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51541 $as_echo_n "(cached) " >&6
51542 else
51545 ac_ext=cpp
51546 ac_cpp='$CXXCPP $CPPFLAGS'
51547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51552 /* end confdefs.h. */
51553 #include <math.h>
51555 main ()
51557 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51559 return 0;
51561 _ACEOF
51562 if ac_fn_cxx_try_compile "$LINENO"; then :
51563 glibcxx_cv_func__long_double_trig_use=yes
51564 else
51565 glibcxx_cv_func__long_double_trig_use=no
51567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51568 ac_ext=c
51569 ac_cpp='$CPP $CPPFLAGS'
51570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51577 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51578 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51579 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51580 do :
51581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51584 cat >>confdefs.h <<_ACEOF
51585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51586 _ACEOF
51589 done
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51599 $as_echo_n "checking for long double round functions... " >&6; }
51600 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51601 $as_echo_n "(cached) " >&6
51602 else
51605 ac_ext=cpp
51606 ac_cpp='$CXXCPP $CPPFLAGS'
51607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51612 /* end confdefs.h. */
51613 #include <math.h>
51615 main ()
51617 ceill (0); floorl (0);
51619 return 0;
51621 _ACEOF
51622 if ac_fn_cxx_try_compile "$LINENO"; then :
51623 glibcxx_cv_func_long_double_round_use=yes
51624 else
51625 glibcxx_cv_func_long_double_round_use=no
51627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51628 ac_ext=c
51629 ac_cpp='$CPP $CPPFLAGS'
51630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51637 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51638 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51639 for ac_func in ceill floorl
51640 do :
51641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51644 cat >>confdefs.h <<_ACEOF
51645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51646 _ACEOF
51649 done
51651 else
51652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51653 $as_echo_n "checking for _long double round functions... " >&6; }
51654 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51655 $as_echo_n "(cached) " >&6
51656 else
51659 ac_ext=cpp
51660 ac_cpp='$CXXCPP $CPPFLAGS'
51661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51666 /* end confdefs.h. */
51667 #include <math.h>
51669 main ()
51671 _ceill (0); _floorl (0);
51673 return 0;
51675 _ACEOF
51676 if ac_fn_cxx_try_compile "$LINENO"; then :
51677 glibcxx_cv_func__long_double_round_use=yes
51678 else
51679 glibcxx_cv_func__long_double_round_use=no
51681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51682 ac_ext=c
51683 ac_cpp='$CPP $CPPFLAGS'
51684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51691 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51692 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51693 for ac_func in _ceill _floorl
51694 do :
51695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51697 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51698 cat >>confdefs.h <<_ACEOF
51699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51700 _ACEOF
51703 done
51713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51714 $as_echo_n "checking for isnanl declaration... " >&6; }
51715 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51716 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51717 $as_echo_n "(cached) " >&6
51718 else
51721 ac_ext=cpp
51722 ac_cpp='$CXXCPP $CPPFLAGS'
51723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51728 /* end confdefs.h. */
51729 #include <math.h>
51730 #ifdef HAVE_IEEEFP_H
51731 #include <ieeefp.h>
51732 #endif
51735 main ()
51737 isnanl(0);
51739 return 0;
51741 _ACEOF
51742 if ac_fn_cxx_try_compile "$LINENO"; then :
51743 glibcxx_cv_func_isnanl_use=yes
51744 else
51745 glibcxx_cv_func_isnanl_use=no
51747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51748 ac_ext=c
51749 ac_cpp='$CPP $CPPFLAGS'
51750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51759 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51761 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51762 for ac_func in isnanl
51763 do :
51764 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51765 if test "x$ac_cv_func_isnanl" = xyes; then :
51766 cat >>confdefs.h <<_ACEOF
51767 #define HAVE_ISNANL 1
51768 _ACEOF
51771 done
51773 else
51775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51776 $as_echo_n "checking for _isnanl declaration... " >&6; }
51777 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51778 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51779 $as_echo_n "(cached) " >&6
51780 else
51783 ac_ext=cpp
51784 ac_cpp='$CXXCPP $CPPFLAGS'
51785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51790 /* end confdefs.h. */
51791 #include <math.h>
51792 #ifdef HAVE_IEEEFP_H
51793 #include <ieeefp.h>
51794 #endif
51797 main ()
51799 _isnanl(0);
51801 return 0;
51803 _ACEOF
51804 if ac_fn_cxx_try_compile "$LINENO"; then :
51805 glibcxx_cv_func__isnanl_use=yes
51806 else
51807 glibcxx_cv_func__isnanl_use=no
51809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51810 ac_ext=c
51811 ac_cpp='$CPP $CPPFLAGS'
51812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51821 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51823 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51824 for ac_func in _isnanl
51825 do :
51826 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51827 if test "x$ac_cv_func__isnanl" = xyes; then :
51828 cat >>confdefs.h <<_ACEOF
51829 #define HAVE__ISNANL 1
51830 _ACEOF
51833 done
51842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51843 $as_echo_n "checking for isinfl declaration... " >&6; }
51844 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51845 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51846 $as_echo_n "(cached) " >&6
51847 else
51850 ac_ext=cpp
51851 ac_cpp='$CXXCPP $CPPFLAGS'
51852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51857 /* end confdefs.h. */
51858 #include <math.h>
51859 #ifdef HAVE_IEEEFP_H
51860 #include <ieeefp.h>
51861 #endif
51864 main ()
51866 isinfl(0);
51868 return 0;
51870 _ACEOF
51871 if ac_fn_cxx_try_compile "$LINENO"; then :
51872 glibcxx_cv_func_isinfl_use=yes
51873 else
51874 glibcxx_cv_func_isinfl_use=no
51876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51877 ac_ext=c
51878 ac_cpp='$CPP $CPPFLAGS'
51879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51888 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51890 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51891 for ac_func in isinfl
51892 do :
51893 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51894 if test "x$ac_cv_func_isinfl" = xyes; then :
51895 cat >>confdefs.h <<_ACEOF
51896 #define HAVE_ISINFL 1
51897 _ACEOF
51900 done
51902 else
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51905 $as_echo_n "checking for _isinfl declaration... " >&6; }
51906 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51907 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51908 $as_echo_n "(cached) " >&6
51909 else
51912 ac_ext=cpp
51913 ac_cpp='$CXXCPP $CPPFLAGS'
51914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51919 /* end confdefs.h. */
51920 #include <math.h>
51921 #ifdef HAVE_IEEEFP_H
51922 #include <ieeefp.h>
51923 #endif
51926 main ()
51928 _isinfl(0);
51930 return 0;
51932 _ACEOF
51933 if ac_fn_cxx_try_compile "$LINENO"; then :
51934 glibcxx_cv_func__isinfl_use=yes
51935 else
51936 glibcxx_cv_func__isinfl_use=no
51938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51939 ac_ext=c
51940 ac_cpp='$CPP $CPPFLAGS'
51941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51950 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51952 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51953 for ac_func in _isinfl
51954 do :
51955 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51956 if test "x$ac_cv_func__isinfl" = xyes; then :
51957 cat >>confdefs.h <<_ACEOF
51958 #define HAVE__ISINFL 1
51959 _ACEOF
51962 done
51971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51972 $as_echo_n "checking for atan2l declaration... " >&6; }
51973 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51974 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51975 $as_echo_n "(cached) " >&6
51976 else
51979 ac_ext=cpp
51980 ac_cpp='$CXXCPP $CPPFLAGS'
51981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51986 /* end confdefs.h. */
51987 #include <math.h>
51989 main ()
51991 atan2l(0, 0);
51993 return 0;
51995 _ACEOF
51996 if ac_fn_cxx_try_compile "$LINENO"; then :
51997 glibcxx_cv_func_atan2l_use=yes
51998 else
51999 glibcxx_cv_func_atan2l_use=no
52001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52002 ac_ext=c
52003 ac_cpp='$CPP $CPPFLAGS'
52004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52013 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52015 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52016 for ac_func in atan2l
52017 do :
52018 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52019 if test "x$ac_cv_func_atan2l" = xyes; then :
52020 cat >>confdefs.h <<_ACEOF
52021 #define HAVE_ATAN2L 1
52022 _ACEOF
52025 done
52027 else
52029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52030 $as_echo_n "checking for _atan2l declaration... " >&6; }
52031 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52032 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52033 $as_echo_n "(cached) " >&6
52034 else
52037 ac_ext=cpp
52038 ac_cpp='$CXXCPP $CPPFLAGS'
52039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52044 /* end confdefs.h. */
52045 #include <math.h>
52047 main ()
52049 _atan2l(0, 0);
52051 return 0;
52053 _ACEOF
52054 if ac_fn_cxx_try_compile "$LINENO"; then :
52055 glibcxx_cv_func__atan2l_use=yes
52056 else
52057 glibcxx_cv_func__atan2l_use=no
52059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52060 ac_ext=c
52061 ac_cpp='$CPP $CPPFLAGS'
52062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52071 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52073 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52074 for ac_func in _atan2l
52075 do :
52076 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52077 if test "x$ac_cv_func__atan2l" = xyes; then :
52078 cat >>confdefs.h <<_ACEOF
52079 #define HAVE__ATAN2L 1
52080 _ACEOF
52083 done
52092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52093 $as_echo_n "checking for expl declaration... " >&6; }
52094 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52095 if ${glibcxx_cv_func_expl_use+:} false; then :
52096 $as_echo_n "(cached) " >&6
52097 else
52100 ac_ext=cpp
52101 ac_cpp='$CXXCPP $CPPFLAGS'
52102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52107 /* end confdefs.h. */
52108 #include <math.h>
52109 #ifdef HAVE_IEEEFP_H
52110 #include <ieeefp.h>
52111 #endif
52114 main ()
52116 expl(0);
52118 return 0;
52120 _ACEOF
52121 if ac_fn_cxx_try_compile "$LINENO"; then :
52122 glibcxx_cv_func_expl_use=yes
52123 else
52124 glibcxx_cv_func_expl_use=no
52126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52127 ac_ext=c
52128 ac_cpp='$CPP $CPPFLAGS'
52129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52138 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52140 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52141 for ac_func in expl
52142 do :
52143 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52144 if test "x$ac_cv_func_expl" = xyes; then :
52145 cat >>confdefs.h <<_ACEOF
52146 #define HAVE_EXPL 1
52147 _ACEOF
52150 done
52152 else
52154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52155 $as_echo_n "checking for _expl declaration... " >&6; }
52156 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52157 if ${glibcxx_cv_func__expl_use+:} false; then :
52158 $as_echo_n "(cached) " >&6
52159 else
52162 ac_ext=cpp
52163 ac_cpp='$CXXCPP $CPPFLAGS'
52164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52169 /* end confdefs.h. */
52170 #include <math.h>
52171 #ifdef HAVE_IEEEFP_H
52172 #include <ieeefp.h>
52173 #endif
52176 main ()
52178 _expl(0);
52180 return 0;
52182 _ACEOF
52183 if ac_fn_cxx_try_compile "$LINENO"; then :
52184 glibcxx_cv_func__expl_use=yes
52185 else
52186 glibcxx_cv_func__expl_use=no
52188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52189 ac_ext=c
52190 ac_cpp='$CPP $CPPFLAGS'
52191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52200 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52202 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52203 for ac_func in _expl
52204 do :
52205 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52206 if test "x$ac_cv_func__expl" = xyes; then :
52207 cat >>confdefs.h <<_ACEOF
52208 #define HAVE__EXPL 1
52209 _ACEOF
52212 done
52221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52222 $as_echo_n "checking for fabsl declaration... " >&6; }
52223 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52224 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52225 $as_echo_n "(cached) " >&6
52226 else
52229 ac_ext=cpp
52230 ac_cpp='$CXXCPP $CPPFLAGS'
52231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52236 /* end confdefs.h. */
52237 #include <math.h>
52238 #ifdef HAVE_IEEEFP_H
52239 #include <ieeefp.h>
52240 #endif
52243 main ()
52245 fabsl(0);
52247 return 0;
52249 _ACEOF
52250 if ac_fn_cxx_try_compile "$LINENO"; then :
52251 glibcxx_cv_func_fabsl_use=yes
52252 else
52253 glibcxx_cv_func_fabsl_use=no
52255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52256 ac_ext=c
52257 ac_cpp='$CPP $CPPFLAGS'
52258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52267 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52269 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52270 for ac_func in fabsl
52271 do :
52272 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52273 if test "x$ac_cv_func_fabsl" = xyes; then :
52274 cat >>confdefs.h <<_ACEOF
52275 #define HAVE_FABSL 1
52276 _ACEOF
52279 done
52281 else
52283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52284 $as_echo_n "checking for _fabsl declaration... " >&6; }
52285 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52286 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52287 $as_echo_n "(cached) " >&6
52288 else
52291 ac_ext=cpp
52292 ac_cpp='$CXXCPP $CPPFLAGS'
52293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52298 /* end confdefs.h. */
52299 #include <math.h>
52300 #ifdef HAVE_IEEEFP_H
52301 #include <ieeefp.h>
52302 #endif
52305 main ()
52307 _fabsl(0);
52309 return 0;
52311 _ACEOF
52312 if ac_fn_cxx_try_compile "$LINENO"; then :
52313 glibcxx_cv_func__fabsl_use=yes
52314 else
52315 glibcxx_cv_func__fabsl_use=no
52317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52318 ac_ext=c
52319 ac_cpp='$CPP $CPPFLAGS'
52320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52329 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52331 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52332 for ac_func in _fabsl
52333 do :
52334 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52335 if test "x$ac_cv_func__fabsl" = xyes; then :
52336 cat >>confdefs.h <<_ACEOF
52337 #define HAVE__FABSL 1
52338 _ACEOF
52341 done
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52351 $as_echo_n "checking for fmodl declaration... " >&6; }
52352 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52353 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52354 $as_echo_n "(cached) " >&6
52355 else
52358 ac_ext=cpp
52359 ac_cpp='$CXXCPP $CPPFLAGS'
52360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52365 /* end confdefs.h. */
52366 #include <math.h>
52368 main ()
52370 fmodl(0, 0);
52372 return 0;
52374 _ACEOF
52375 if ac_fn_cxx_try_compile "$LINENO"; then :
52376 glibcxx_cv_func_fmodl_use=yes
52377 else
52378 glibcxx_cv_func_fmodl_use=no
52380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52381 ac_ext=c
52382 ac_cpp='$CPP $CPPFLAGS'
52383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52392 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52394 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52395 for ac_func in fmodl
52396 do :
52397 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52398 if test "x$ac_cv_func_fmodl" = xyes; then :
52399 cat >>confdefs.h <<_ACEOF
52400 #define HAVE_FMODL 1
52401 _ACEOF
52404 done
52406 else
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52409 $as_echo_n "checking for _fmodl declaration... " >&6; }
52410 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52411 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52412 $as_echo_n "(cached) " >&6
52413 else
52416 ac_ext=cpp
52417 ac_cpp='$CXXCPP $CPPFLAGS'
52418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52423 /* end confdefs.h. */
52424 #include <math.h>
52426 main ()
52428 _fmodl(0, 0);
52430 return 0;
52432 _ACEOF
52433 if ac_fn_cxx_try_compile "$LINENO"; then :
52434 glibcxx_cv_func__fmodl_use=yes
52435 else
52436 glibcxx_cv_func__fmodl_use=no
52438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52439 ac_ext=c
52440 ac_cpp='$CPP $CPPFLAGS'
52441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52450 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52452 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52453 for ac_func in _fmodl
52454 do :
52455 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52456 if test "x$ac_cv_func__fmodl" = xyes; then :
52457 cat >>confdefs.h <<_ACEOF
52458 #define HAVE__FMODL 1
52459 _ACEOF
52462 done
52471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52472 $as_echo_n "checking for frexpl declaration... " >&6; }
52473 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52474 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52475 $as_echo_n "(cached) " >&6
52476 else
52479 ac_ext=cpp
52480 ac_cpp='$CXXCPP $CPPFLAGS'
52481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52486 /* end confdefs.h. */
52487 #include <math.h>
52489 main ()
52491 frexpl(0, 0);
52493 return 0;
52495 _ACEOF
52496 if ac_fn_cxx_try_compile "$LINENO"; then :
52497 glibcxx_cv_func_frexpl_use=yes
52498 else
52499 glibcxx_cv_func_frexpl_use=no
52501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52502 ac_ext=c
52503 ac_cpp='$CPP $CPPFLAGS'
52504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52513 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52515 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52516 for ac_func in frexpl
52517 do :
52518 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52519 if test "x$ac_cv_func_frexpl" = xyes; then :
52520 cat >>confdefs.h <<_ACEOF
52521 #define HAVE_FREXPL 1
52522 _ACEOF
52525 done
52527 else
52529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52530 $as_echo_n "checking for _frexpl declaration... " >&6; }
52531 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52532 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52533 $as_echo_n "(cached) " >&6
52534 else
52537 ac_ext=cpp
52538 ac_cpp='$CXXCPP $CPPFLAGS'
52539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52544 /* end confdefs.h. */
52545 #include <math.h>
52547 main ()
52549 _frexpl(0, 0);
52551 return 0;
52553 _ACEOF
52554 if ac_fn_cxx_try_compile "$LINENO"; then :
52555 glibcxx_cv_func__frexpl_use=yes
52556 else
52557 glibcxx_cv_func__frexpl_use=no
52559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52560 ac_ext=c
52561 ac_cpp='$CPP $CPPFLAGS'
52562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52571 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52573 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52574 for ac_func in _frexpl
52575 do :
52576 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52577 if test "x$ac_cv_func__frexpl" = xyes; then :
52578 cat >>confdefs.h <<_ACEOF
52579 #define HAVE__FREXPL 1
52580 _ACEOF
52583 done
52592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52593 $as_echo_n "checking for hypotl declaration... " >&6; }
52594 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52595 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52596 $as_echo_n "(cached) " >&6
52597 else
52600 ac_ext=cpp
52601 ac_cpp='$CXXCPP $CPPFLAGS'
52602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52607 /* end confdefs.h. */
52608 #include <math.h>
52610 main ()
52612 hypotl(0, 0);
52614 return 0;
52616 _ACEOF
52617 if ac_fn_cxx_try_compile "$LINENO"; then :
52618 glibcxx_cv_func_hypotl_use=yes
52619 else
52620 glibcxx_cv_func_hypotl_use=no
52622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52623 ac_ext=c
52624 ac_cpp='$CPP $CPPFLAGS'
52625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52634 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52636 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52637 for ac_func in hypotl
52638 do :
52639 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52640 if test "x$ac_cv_func_hypotl" = xyes; then :
52641 cat >>confdefs.h <<_ACEOF
52642 #define HAVE_HYPOTL 1
52643 _ACEOF
52646 done
52648 else
52650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52651 $as_echo_n "checking for _hypotl declaration... " >&6; }
52652 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52653 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52654 $as_echo_n "(cached) " >&6
52655 else
52658 ac_ext=cpp
52659 ac_cpp='$CXXCPP $CPPFLAGS'
52660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52665 /* end confdefs.h. */
52666 #include <math.h>
52668 main ()
52670 _hypotl(0, 0);
52672 return 0;
52674 _ACEOF
52675 if ac_fn_cxx_try_compile "$LINENO"; then :
52676 glibcxx_cv_func__hypotl_use=yes
52677 else
52678 glibcxx_cv_func__hypotl_use=no
52680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52681 ac_ext=c
52682 ac_cpp='$CPP $CPPFLAGS'
52683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52692 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52694 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52695 for ac_func in _hypotl
52696 do :
52697 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52698 if test "x$ac_cv_func__hypotl" = xyes; then :
52699 cat >>confdefs.h <<_ACEOF
52700 #define HAVE__HYPOTL 1
52701 _ACEOF
52704 done
52713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52714 $as_echo_n "checking for ldexpl declaration... " >&6; }
52715 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52716 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52717 $as_echo_n "(cached) " >&6
52718 else
52721 ac_ext=cpp
52722 ac_cpp='$CXXCPP $CPPFLAGS'
52723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52728 /* end confdefs.h. */
52729 #include <math.h>
52731 main ()
52733 ldexpl(0, 0);
52735 return 0;
52737 _ACEOF
52738 if ac_fn_cxx_try_compile "$LINENO"; then :
52739 glibcxx_cv_func_ldexpl_use=yes
52740 else
52741 glibcxx_cv_func_ldexpl_use=no
52743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52744 ac_ext=c
52745 ac_cpp='$CPP $CPPFLAGS'
52746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52755 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52757 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52758 for ac_func in ldexpl
52759 do :
52760 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52761 if test "x$ac_cv_func_ldexpl" = xyes; then :
52762 cat >>confdefs.h <<_ACEOF
52763 #define HAVE_LDEXPL 1
52764 _ACEOF
52767 done
52769 else
52771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52772 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52773 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52774 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52775 $as_echo_n "(cached) " >&6
52776 else
52779 ac_ext=cpp
52780 ac_cpp='$CXXCPP $CPPFLAGS'
52781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52786 /* end confdefs.h. */
52787 #include <math.h>
52789 main ()
52791 _ldexpl(0, 0);
52793 return 0;
52795 _ACEOF
52796 if ac_fn_cxx_try_compile "$LINENO"; then :
52797 glibcxx_cv_func__ldexpl_use=yes
52798 else
52799 glibcxx_cv_func__ldexpl_use=no
52801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52802 ac_ext=c
52803 ac_cpp='$CPP $CPPFLAGS'
52804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52813 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52815 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52816 for ac_func in _ldexpl
52817 do :
52818 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52819 if test "x$ac_cv_func__ldexpl" = xyes; then :
52820 cat >>confdefs.h <<_ACEOF
52821 #define HAVE__LDEXPL 1
52822 _ACEOF
52825 done
52834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52835 $as_echo_n "checking for logl declaration... " >&6; }
52836 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52837 if ${glibcxx_cv_func_logl_use+:} false; then :
52838 $as_echo_n "(cached) " >&6
52839 else
52842 ac_ext=cpp
52843 ac_cpp='$CXXCPP $CPPFLAGS'
52844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52849 /* end confdefs.h. */
52850 #include <math.h>
52851 #ifdef HAVE_IEEEFP_H
52852 #include <ieeefp.h>
52853 #endif
52856 main ()
52858 logl(0);
52860 return 0;
52862 _ACEOF
52863 if ac_fn_cxx_try_compile "$LINENO"; then :
52864 glibcxx_cv_func_logl_use=yes
52865 else
52866 glibcxx_cv_func_logl_use=no
52868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52869 ac_ext=c
52870 ac_cpp='$CPP $CPPFLAGS'
52871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52880 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52882 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52883 for ac_func in logl
52884 do :
52885 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52886 if test "x$ac_cv_func_logl" = xyes; then :
52887 cat >>confdefs.h <<_ACEOF
52888 #define HAVE_LOGL 1
52889 _ACEOF
52892 done
52894 else
52896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52897 $as_echo_n "checking for _logl declaration... " >&6; }
52898 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52899 if ${glibcxx_cv_func__logl_use+:} false; then :
52900 $as_echo_n "(cached) " >&6
52901 else
52904 ac_ext=cpp
52905 ac_cpp='$CXXCPP $CPPFLAGS'
52906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52911 /* end confdefs.h. */
52912 #include <math.h>
52913 #ifdef HAVE_IEEEFP_H
52914 #include <ieeefp.h>
52915 #endif
52918 main ()
52920 _logl(0);
52922 return 0;
52924 _ACEOF
52925 if ac_fn_cxx_try_compile "$LINENO"; then :
52926 glibcxx_cv_func__logl_use=yes
52927 else
52928 glibcxx_cv_func__logl_use=no
52930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52931 ac_ext=c
52932 ac_cpp='$CPP $CPPFLAGS'
52933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52942 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52944 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52945 for ac_func in _logl
52946 do :
52947 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52948 if test "x$ac_cv_func__logl" = xyes; then :
52949 cat >>confdefs.h <<_ACEOF
52950 #define HAVE__LOGL 1
52951 _ACEOF
52954 done
52963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52964 $as_echo_n "checking for log10l declaration... " >&6; }
52965 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52966 if ${glibcxx_cv_func_log10l_use+:} false; then :
52967 $as_echo_n "(cached) " >&6
52968 else
52971 ac_ext=cpp
52972 ac_cpp='$CXXCPP $CPPFLAGS'
52973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52978 /* end confdefs.h. */
52979 #include <math.h>
52980 #ifdef HAVE_IEEEFP_H
52981 #include <ieeefp.h>
52982 #endif
52985 main ()
52987 log10l(0);
52989 return 0;
52991 _ACEOF
52992 if ac_fn_cxx_try_compile "$LINENO"; then :
52993 glibcxx_cv_func_log10l_use=yes
52994 else
52995 glibcxx_cv_func_log10l_use=no
52997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52998 ac_ext=c
52999 ac_cpp='$CPP $CPPFLAGS'
53000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53009 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53011 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53012 for ac_func in log10l
53013 do :
53014 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53015 if test "x$ac_cv_func_log10l" = xyes; then :
53016 cat >>confdefs.h <<_ACEOF
53017 #define HAVE_LOG10L 1
53018 _ACEOF
53021 done
53023 else
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53026 $as_echo_n "checking for _log10l declaration... " >&6; }
53027 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53028 if ${glibcxx_cv_func__log10l_use+:} false; then :
53029 $as_echo_n "(cached) " >&6
53030 else
53033 ac_ext=cpp
53034 ac_cpp='$CXXCPP $CPPFLAGS'
53035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53040 /* end confdefs.h. */
53041 #include <math.h>
53042 #ifdef HAVE_IEEEFP_H
53043 #include <ieeefp.h>
53044 #endif
53047 main ()
53049 _log10l(0);
53051 return 0;
53053 _ACEOF
53054 if ac_fn_cxx_try_compile "$LINENO"; then :
53055 glibcxx_cv_func__log10l_use=yes
53056 else
53057 glibcxx_cv_func__log10l_use=no
53059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53060 ac_ext=c
53061 ac_cpp='$CPP $CPPFLAGS'
53062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53071 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53073 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53074 for ac_func in _log10l
53075 do :
53076 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53077 if test "x$ac_cv_func__log10l" = xyes; then :
53078 cat >>confdefs.h <<_ACEOF
53079 #define HAVE__LOG10L 1
53080 _ACEOF
53083 done
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53093 $as_echo_n "checking for modfl declaration... " >&6; }
53094 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53095 if ${glibcxx_cv_func_modfl_use+:} false; then :
53096 $as_echo_n "(cached) " >&6
53097 else
53100 ac_ext=cpp
53101 ac_cpp='$CXXCPP $CPPFLAGS'
53102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53107 /* end confdefs.h. */
53108 #include <math.h>
53110 main ()
53112 modfl(0, 0);
53114 return 0;
53116 _ACEOF
53117 if ac_fn_cxx_try_compile "$LINENO"; then :
53118 glibcxx_cv_func_modfl_use=yes
53119 else
53120 glibcxx_cv_func_modfl_use=no
53122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53123 ac_ext=c
53124 ac_cpp='$CPP $CPPFLAGS'
53125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53134 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53136 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53137 for ac_func in modfl
53138 do :
53139 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53140 if test "x$ac_cv_func_modfl" = xyes; then :
53141 cat >>confdefs.h <<_ACEOF
53142 #define HAVE_MODFL 1
53143 _ACEOF
53146 done
53148 else
53150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53151 $as_echo_n "checking for _modfl declaration... " >&6; }
53152 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53153 if ${glibcxx_cv_func__modfl_use+:} false; then :
53154 $as_echo_n "(cached) " >&6
53155 else
53158 ac_ext=cpp
53159 ac_cpp='$CXXCPP $CPPFLAGS'
53160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53165 /* end confdefs.h. */
53166 #include <math.h>
53168 main ()
53170 _modfl(0, 0);
53172 return 0;
53174 _ACEOF
53175 if ac_fn_cxx_try_compile "$LINENO"; then :
53176 glibcxx_cv_func__modfl_use=yes
53177 else
53178 glibcxx_cv_func__modfl_use=no
53180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53181 ac_ext=c
53182 ac_cpp='$CPP $CPPFLAGS'
53183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53192 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53194 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53195 for ac_func in _modfl
53196 do :
53197 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53198 if test "x$ac_cv_func__modfl" = xyes; then :
53199 cat >>confdefs.h <<_ACEOF
53200 #define HAVE__MODFL 1
53201 _ACEOF
53204 done
53213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53214 $as_echo_n "checking for powl declaration... " >&6; }
53215 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53216 if ${glibcxx_cv_func_powl_use+:} false; then :
53217 $as_echo_n "(cached) " >&6
53218 else
53221 ac_ext=cpp
53222 ac_cpp='$CXXCPP $CPPFLAGS'
53223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53228 /* end confdefs.h. */
53229 #include <math.h>
53231 main ()
53233 powl(0, 0);
53235 return 0;
53237 _ACEOF
53238 if ac_fn_cxx_try_compile "$LINENO"; then :
53239 glibcxx_cv_func_powl_use=yes
53240 else
53241 glibcxx_cv_func_powl_use=no
53243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53244 ac_ext=c
53245 ac_cpp='$CPP $CPPFLAGS'
53246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53255 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53257 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53258 for ac_func in powl
53259 do :
53260 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53261 if test "x$ac_cv_func_powl" = xyes; then :
53262 cat >>confdefs.h <<_ACEOF
53263 #define HAVE_POWL 1
53264 _ACEOF
53267 done
53269 else
53271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53272 $as_echo_n "checking for _powl declaration... " >&6; }
53273 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53274 if ${glibcxx_cv_func__powl_use+:} false; then :
53275 $as_echo_n "(cached) " >&6
53276 else
53279 ac_ext=cpp
53280 ac_cpp='$CXXCPP $CPPFLAGS'
53281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53286 /* end confdefs.h. */
53287 #include <math.h>
53289 main ()
53291 _powl(0, 0);
53293 return 0;
53295 _ACEOF
53296 if ac_fn_cxx_try_compile "$LINENO"; then :
53297 glibcxx_cv_func__powl_use=yes
53298 else
53299 glibcxx_cv_func__powl_use=no
53301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53302 ac_ext=c
53303 ac_cpp='$CPP $CPPFLAGS'
53304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53313 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53315 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53316 for ac_func in _powl
53317 do :
53318 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53319 if test "x$ac_cv_func__powl" = xyes; then :
53320 cat >>confdefs.h <<_ACEOF
53321 #define HAVE__POWL 1
53322 _ACEOF
53325 done
53334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53335 $as_echo_n "checking for sqrtl declaration... " >&6; }
53336 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53337 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53338 $as_echo_n "(cached) " >&6
53339 else
53342 ac_ext=cpp
53343 ac_cpp='$CXXCPP $CPPFLAGS'
53344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53349 /* end confdefs.h. */
53350 #include <math.h>
53351 #ifdef HAVE_IEEEFP_H
53352 #include <ieeefp.h>
53353 #endif
53356 main ()
53358 sqrtl(0);
53360 return 0;
53362 _ACEOF
53363 if ac_fn_cxx_try_compile "$LINENO"; then :
53364 glibcxx_cv_func_sqrtl_use=yes
53365 else
53366 glibcxx_cv_func_sqrtl_use=no
53368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53369 ac_ext=c
53370 ac_cpp='$CPP $CPPFLAGS'
53371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53380 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53382 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53383 for ac_func in sqrtl
53384 do :
53385 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53386 if test "x$ac_cv_func_sqrtl" = xyes; then :
53387 cat >>confdefs.h <<_ACEOF
53388 #define HAVE_SQRTL 1
53389 _ACEOF
53392 done
53394 else
53396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53397 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53398 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53399 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53400 $as_echo_n "(cached) " >&6
53401 else
53404 ac_ext=cpp
53405 ac_cpp='$CXXCPP $CPPFLAGS'
53406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53411 /* end confdefs.h. */
53412 #include <math.h>
53413 #ifdef HAVE_IEEEFP_H
53414 #include <ieeefp.h>
53415 #endif
53418 main ()
53420 _sqrtl(0);
53422 return 0;
53424 _ACEOF
53425 if ac_fn_cxx_try_compile "$LINENO"; then :
53426 glibcxx_cv_func__sqrtl_use=yes
53427 else
53428 glibcxx_cv_func__sqrtl_use=no
53430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53431 ac_ext=c
53432 ac_cpp='$CPP $CPPFLAGS'
53433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53442 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53444 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53445 for ac_func in _sqrtl
53446 do :
53447 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53448 if test "x$ac_cv_func__sqrtl" = xyes; then :
53449 cat >>confdefs.h <<_ACEOF
53450 #define HAVE__SQRTL 1
53451 _ACEOF
53454 done
53463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53464 $as_echo_n "checking for sincosl declaration... " >&6; }
53465 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53466 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53467 $as_echo_n "(cached) " >&6
53468 else
53471 ac_ext=cpp
53472 ac_cpp='$CXXCPP $CPPFLAGS'
53473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53478 /* end confdefs.h. */
53479 #include <math.h>
53481 main ()
53483 sincosl(0, 0, 0);
53485 return 0;
53487 _ACEOF
53488 if ac_fn_cxx_try_compile "$LINENO"; then :
53489 glibcxx_cv_func_sincosl_use=yes
53490 else
53491 glibcxx_cv_func_sincosl_use=no
53493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53494 ac_ext=c
53495 ac_cpp='$CPP $CPPFLAGS'
53496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53505 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53507 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53508 for ac_func in sincosl
53509 do :
53510 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53511 if test "x$ac_cv_func_sincosl" = xyes; then :
53512 cat >>confdefs.h <<_ACEOF
53513 #define HAVE_SINCOSL 1
53514 _ACEOF
53517 done
53519 else
53521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53522 $as_echo_n "checking for _sincosl declaration... " >&6; }
53523 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53524 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53525 $as_echo_n "(cached) " >&6
53526 else
53529 ac_ext=cpp
53530 ac_cpp='$CXXCPP $CPPFLAGS'
53531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53536 /* end confdefs.h. */
53537 #include <math.h>
53539 main ()
53541 _sincosl(0, 0, 0);
53543 return 0;
53545 _ACEOF
53546 if ac_fn_cxx_try_compile "$LINENO"; then :
53547 glibcxx_cv_func__sincosl_use=yes
53548 else
53549 glibcxx_cv_func__sincosl_use=no
53551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53552 ac_ext=c
53553 ac_cpp='$CPP $CPPFLAGS'
53554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53563 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53565 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53566 for ac_func in _sincosl
53567 do :
53568 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53569 if test "x$ac_cv_func__sincosl" = xyes; then :
53570 cat >>confdefs.h <<_ACEOF
53571 #define HAVE__SINCOSL 1
53572 _ACEOF
53575 done
53584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53585 $as_echo_n "checking for finitel declaration... " >&6; }
53586 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53587 if ${glibcxx_cv_func_finitel_use+:} false; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53592 ac_ext=cpp
53593 ac_cpp='$CXXCPP $CPPFLAGS'
53594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 #include <math.h>
53601 #ifdef HAVE_IEEEFP_H
53602 #include <ieeefp.h>
53603 #endif
53606 main ()
53608 finitel(0);
53610 return 0;
53612 _ACEOF
53613 if ac_fn_cxx_try_compile "$LINENO"; then :
53614 glibcxx_cv_func_finitel_use=yes
53615 else
53616 glibcxx_cv_func_finitel_use=no
53618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53619 ac_ext=c
53620 ac_cpp='$CPP $CPPFLAGS'
53621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53630 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53632 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53633 for ac_func in finitel
53634 do :
53635 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53636 if test "x$ac_cv_func_finitel" = xyes; then :
53637 cat >>confdefs.h <<_ACEOF
53638 #define HAVE_FINITEL 1
53639 _ACEOF
53642 done
53644 else
53646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53647 $as_echo_n "checking for _finitel declaration... " >&6; }
53648 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53649 if ${glibcxx_cv_func__finitel_use+:} false; then :
53650 $as_echo_n "(cached) " >&6
53651 else
53654 ac_ext=cpp
53655 ac_cpp='$CXXCPP $CPPFLAGS'
53656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661 /* end confdefs.h. */
53662 #include <math.h>
53663 #ifdef HAVE_IEEEFP_H
53664 #include <ieeefp.h>
53665 #endif
53668 main ()
53670 _finitel(0);
53672 return 0;
53674 _ACEOF
53675 if ac_fn_cxx_try_compile "$LINENO"; then :
53676 glibcxx_cv_func__finitel_use=yes
53677 else
53678 glibcxx_cv_func__finitel_use=no
53680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53681 ac_ext=c
53682 ac_cpp='$CPP $CPPFLAGS'
53683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53692 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53694 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53695 for ac_func in _finitel
53696 do :
53697 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53698 if test "x$ac_cv_func__finitel" = xyes; then :
53699 cat >>confdefs.h <<_ACEOF
53700 #define HAVE__FINITEL 1
53701 _ACEOF
53704 done
53712 LIBS="$ac_save_LIBS"
53713 CXXFLAGS="$ac_save_CXXFLAGS"
53716 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53717 ac_save_CXXFLAGS="$CXXFLAGS"
53718 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53722 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53723 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53724 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53725 $as_echo_n "(cached) " >&6
53726 else
53729 ac_ext=cpp
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53736 /* end confdefs.h. */
53737 #include <stdlib.h>
53739 main ()
53741 at_quick_exit(0);
53743 return 0;
53745 _ACEOF
53746 if ac_fn_cxx_try_compile "$LINENO"; then :
53747 glibcxx_cv_func_at_quick_exit_use=yes
53748 else
53749 glibcxx_cv_func_at_quick_exit_use=no
53751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53752 ac_ext=c
53753 ac_cpp='$CPP $CPPFLAGS'
53754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53763 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53764 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53765 for ac_func in at_quick_exit
53766 do :
53767 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53768 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53769 cat >>confdefs.h <<_ACEOF
53770 #define HAVE_AT_QUICK_EXIT 1
53771 _ACEOF
53774 done
53779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53780 $as_echo_n "checking for quick_exit declaration... " >&6; }
53781 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53782 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53783 $as_echo_n "(cached) " >&6
53784 else
53787 ac_ext=cpp
53788 ac_cpp='$CXXCPP $CPPFLAGS'
53789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53794 /* end confdefs.h. */
53795 #include <stdlib.h>
53797 main ()
53799 quick_exit(0);
53801 return 0;
53803 _ACEOF
53804 if ac_fn_cxx_try_compile "$LINENO"; then :
53805 glibcxx_cv_func_quick_exit_use=yes
53806 else
53807 glibcxx_cv_func_quick_exit_use=no
53809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53810 ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53821 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53822 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53823 for ac_func in quick_exit
53824 do :
53825 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53826 if test "x$ac_cv_func_quick_exit" = xyes; then :
53827 cat >>confdefs.h <<_ACEOF
53828 #define HAVE_QUICK_EXIT 1
53829 _ACEOF
53832 done
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53838 $as_echo_n "checking for strtold declaration... " >&6; }
53839 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53840 if ${glibcxx_cv_func_strtold_use+:} false; then :
53841 $as_echo_n "(cached) " >&6
53842 else
53845 ac_ext=cpp
53846 ac_cpp='$CXXCPP $CPPFLAGS'
53847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53852 /* end confdefs.h. */
53853 #include <stdlib.h>
53855 main ()
53857 strtold(0, 0);
53859 return 0;
53861 _ACEOF
53862 if ac_fn_cxx_try_compile "$LINENO"; then :
53863 glibcxx_cv_func_strtold_use=yes
53864 else
53865 glibcxx_cv_func_strtold_use=no
53867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53868 ac_ext=c
53869 ac_cpp='$CPP $CPPFLAGS'
53870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53879 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53880 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53881 for ac_func in strtold
53882 do :
53883 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53884 if test "x$ac_cv_func_strtold" = xyes; then :
53885 cat >>confdefs.h <<_ACEOF
53886 #define HAVE_STRTOLD 1
53887 _ACEOF
53890 done
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53898 $as_echo_n "checking for strtof declaration... " >&6; }
53899 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53900 if ${glibcxx_cv_func_strtof_use+:} false; then :
53901 $as_echo_n "(cached) " >&6
53902 else
53905 ac_ext=cpp
53906 ac_cpp='$CXXCPP $CPPFLAGS'
53907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912 /* end confdefs.h. */
53913 #include <stdlib.h>
53915 main ()
53917 strtof(0, 0);
53919 return 0;
53921 _ACEOF
53922 if ac_fn_cxx_try_compile "$LINENO"; then :
53923 glibcxx_cv_func_strtof_use=yes
53924 else
53925 glibcxx_cv_func_strtof_use=no
53927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53928 ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53939 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53940 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53941 for ac_func in strtof
53942 do :
53943 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53944 if test "x$ac_cv_func_strtof" = xyes; then :
53945 cat >>confdefs.h <<_ACEOF
53946 #define HAVE_STRTOF 1
53947 _ACEOF
53950 done
53957 CXXFLAGS="$ac_save_CXXFLAGS"
53959 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53961 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53965 # Check whether --enable-tls was given.
53966 if test "${enable_tls+set}" = set; then :
53967 enableval=$enable_tls;
53968 case "$enableval" in
53969 yes|no) ;;
53970 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53971 esac
53973 else
53974 enable_tls=yes
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53979 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53980 if ${gcc_cv_have_tls+:} false; then :
53981 $as_echo_n "(cached) " >&6
53982 else
53984 if test "$cross_compiling" = yes; then :
53985 if test x$gcc_no_link = xyes; then
53986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53989 /* end confdefs.h. */
53990 __thread int a; int b; int main() { return a = b; }
53991 _ACEOF
53992 if ac_fn_c_try_link "$LINENO"; then :
53993 chktls_save_LDFLAGS="$LDFLAGS"
53994 case $host in
53995 *-*-linux* | -*-uclinuxfdpic*)
53996 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53998 esac
53999 chktls_save_CFLAGS="$CFLAGS"
54000 CFLAGS="-fPIC $CFLAGS"
54001 if test x$gcc_no_link = xyes; then
54002 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005 /* end confdefs.h. */
54006 int f() { return 0; }
54007 _ACEOF
54008 if ac_fn_c_try_link "$LINENO"; then :
54009 if test x$gcc_no_link = xyes; then
54010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54013 /* end confdefs.h. */
54014 __thread int a; int b; int f() { return a = b; }
54015 _ACEOF
54016 if ac_fn_c_try_link "$LINENO"; then :
54017 gcc_cv_have_tls=yes
54018 else
54019 gcc_cv_have_tls=no
54021 rm -f core conftest.err conftest.$ac_objext \
54022 conftest$ac_exeext conftest.$ac_ext
54023 else
54024 gcc_cv_have_tls=yes
54026 rm -f core conftest.err conftest.$ac_objext \
54027 conftest$ac_exeext conftest.$ac_ext
54028 CFLAGS="$chktls_save_CFLAGS"
54029 LDFLAGS="$chktls_save_LDFLAGS"
54030 else
54031 gcc_cv_have_tls=no
54033 rm -f core conftest.err conftest.$ac_objext \
54034 conftest$ac_exeext conftest.$ac_ext
54037 else
54038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54039 /* end confdefs.h. */
54040 __thread int a; int b; int main() { return a = b; }
54041 _ACEOF
54042 if ac_fn_c_try_run "$LINENO"; then :
54043 chktls_save_LDFLAGS="$LDFLAGS"
54044 LDFLAGS="-static $LDFLAGS"
54045 if test x$gcc_no_link = xyes; then
54046 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54049 /* end confdefs.h. */
54050 int main() { return 0; }
54051 _ACEOF
54052 if ac_fn_c_try_link "$LINENO"; then :
54053 if test "$cross_compiling" = yes; then :
54054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54056 as_fn_error $? "cannot run test program while cross compiling
54057 See \`config.log' for more details" "$LINENO" 5; }
54058 else
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 __thread int a; int b; int main() { return a = b; }
54062 _ACEOF
54063 if ac_fn_c_try_run "$LINENO"; then :
54064 gcc_cv_have_tls=yes
54065 else
54066 gcc_cv_have_tls=no
54068 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54069 conftest.$ac_objext conftest.beam conftest.$ac_ext
54072 else
54073 gcc_cv_have_tls=yes
54075 rm -f core conftest.err conftest.$ac_objext \
54076 conftest$ac_exeext conftest.$ac_ext
54077 LDFLAGS="$chktls_save_LDFLAGS"
54078 if test $gcc_cv_have_tls = yes; then
54079 chktls_save_CFLAGS="$CFLAGS"
54080 thread_CFLAGS=failed
54081 for flag in '' '-pthread' '-lpthread'; do
54082 CFLAGS="$flag $chktls_save_CFLAGS"
54083 if test x$gcc_no_link = xyes; then
54084 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54087 /* end confdefs.h. */
54088 #include <pthread.h>
54089 void *g(void *d) { return NULL; }
54091 main ()
54093 pthread_t t; pthread_create(&t,NULL,g,NULL);
54095 return 0;
54097 _ACEOF
54098 if ac_fn_c_try_link "$LINENO"; then :
54099 thread_CFLAGS="$flag"
54101 rm -f core conftest.err conftest.$ac_objext \
54102 conftest$ac_exeext conftest.$ac_ext
54103 if test "X$thread_CFLAGS" != Xfailed; then
54104 break
54106 done
54107 CFLAGS="$chktls_save_CFLAGS"
54108 if test "X$thread_CFLAGS" != Xfailed; then
54109 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54110 if test "$cross_compiling" = yes; then :
54111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54113 as_fn_error $? "cannot run test program while cross compiling
54114 See \`config.log' for more details" "$LINENO" 5; }
54115 else
54116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54117 /* end confdefs.h. */
54118 #include <pthread.h>
54119 __thread int a;
54120 static int *volatile a_in_other_thread;
54121 static void *
54122 thread_func (void *arg)
54124 a_in_other_thread = &a;
54125 return (void *)0;
54128 main ()
54130 pthread_t thread;
54131 void *thread_retval;
54132 int *volatile a_in_main_thread;
54133 a_in_main_thread = &a;
54134 if (pthread_create (&thread, (pthread_attr_t *)0,
54135 thread_func, (void *)0))
54136 return 0;
54137 if (pthread_join (thread, &thread_retval))
54138 return 0;
54139 return (a_in_other_thread == a_in_main_thread);
54141 return 0;
54143 _ACEOF
54144 if ac_fn_c_try_run "$LINENO"; then :
54145 gcc_cv_have_tls=yes
54146 else
54147 gcc_cv_have_tls=no
54149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54150 conftest.$ac_objext conftest.beam conftest.$ac_ext
54153 CFLAGS="$chktls_save_CFLAGS"
54156 else
54157 gcc_cv_have_tls=no
54159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54160 conftest.$ac_objext conftest.beam conftest.$ac_ext
54164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54165 $as_echo "$gcc_cv_have_tls" >&6; }
54166 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54168 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54171 for ac_func in __cxa_thread_atexit_impl
54172 do :
54173 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54174 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54177 _ACEOF
54180 done
54182 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54183 do :
54184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54187 cat >>confdefs.h <<_ACEOF
54188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54189 _ACEOF
54192 done
54194 for ac_func in timespec_get
54195 do :
54196 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54197 if test "x$ac_cv_func_timespec_get" = xyes; then :
54198 cat >>confdefs.h <<_ACEOF
54199 #define HAVE_TIMESPEC_GET 1
54200 _ACEOF
54203 done
54205 for ac_func in sockatmark
54206 do :
54207 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54208 if test "x$ac_cv_func_sockatmark" = xyes; then :
54209 cat >>confdefs.h <<_ACEOF
54210 #define HAVE_SOCKATMARK 1
54211 _ACEOF
54214 done
54216 for ac_func in uselocale
54217 do :
54218 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54219 if test "x$ac_cv_func_uselocale" = xyes; then :
54220 cat >>confdefs.h <<_ACEOF
54221 #define HAVE_USELOCALE 1
54222 _ACEOF
54225 done
54232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54233 $as_echo_n "checking for iconv... " >&6; }
54234 if ${am_cv_func_iconv+:} false; then :
54235 $as_echo_n "(cached) " >&6
54236 else
54238 am_cv_func_iconv="no, consider installing GNU libiconv"
54239 am_cv_lib_iconv=no
54240 am_save_CPPFLAGS="$CPPFLAGS"
54241 CPPFLAGS="$CPPFLAGS $INCICONV"
54242 if test x$gcc_no_link = xyes; then
54243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54246 /* end confdefs.h. */
54247 #include <stdlib.h>
54248 #include <iconv.h>
54250 main ()
54252 iconv_t cd = iconv_open("","");
54253 iconv(cd,NULL,NULL,NULL,NULL);
54254 iconv_close(cd);
54256 return 0;
54258 _ACEOF
54259 if ac_fn_c_try_link "$LINENO"; then :
54260 am_cv_func_iconv=yes
54262 rm -f core conftest.err conftest.$ac_objext \
54263 conftest$ac_exeext conftest.$ac_ext
54264 CPPFLAGS="$am_save_CPPFLAGS"
54266 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54267 for _libs in .libs _libs; do
54268 am_save_CPPFLAGS="$CPPFLAGS"
54269 am_save_LIBS="$LIBS"
54270 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54271 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54272 if test x$gcc_no_link = xyes; then
54273 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54276 /* end confdefs.h. */
54277 #include <stdlib.h>
54278 #include <iconv.h>
54280 main ()
54282 iconv_t cd = iconv_open("","");
54283 iconv(cd,NULL,NULL,NULL,NULL);
54284 iconv_close(cd);
54286 return 0;
54288 _ACEOF
54289 if ac_fn_c_try_link "$LINENO"; then :
54290 INCICONV="-I../libiconv/include"
54291 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54292 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54293 am_cv_lib_iconv=yes
54294 am_cv_func_iconv=yes
54296 rm -f core conftest.err conftest.$ac_objext \
54297 conftest$ac_exeext conftest.$ac_ext
54298 CPPFLAGS="$am_save_CPPFLAGS"
54299 LIBS="$am_save_LIBS"
54300 if test "$am_cv_func_iconv" = "yes"; then
54301 break
54303 done
54306 if test "$am_cv_func_iconv" != yes; then
54307 am_save_CPPFLAGS="$CPPFLAGS"
54308 am_save_LIBS="$LIBS"
54309 CPPFLAGS="$CPPFLAGS $INCICONV"
54310 LIBS="$LIBS $LIBICONV"
54311 if test x$gcc_no_link = xyes; then
54312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54315 /* end confdefs.h. */
54316 #include <stdlib.h>
54317 #include <iconv.h>
54319 main ()
54321 iconv_t cd = iconv_open("","");
54322 iconv(cd,NULL,NULL,NULL,NULL);
54323 iconv_close(cd);
54325 return 0;
54327 _ACEOF
54328 if ac_fn_c_try_link "$LINENO"; then :
54329 am_cv_lib_iconv=yes
54330 am_cv_func_iconv=yes
54332 rm -f core conftest.err conftest.$ac_objext \
54333 conftest$ac_exeext conftest.$ac_ext
54334 CPPFLAGS="$am_save_CPPFLAGS"
54335 LIBS="$am_save_LIBS"
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54340 $as_echo "$am_cv_func_iconv" >&6; }
54341 if test "$am_cv_func_iconv" = yes; then
54343 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54346 if test "$am_cv_lib_iconv" = yes; then
54348 for element in $INCICONV; do
54349 haveit=
54350 for x in $CPPFLAGS; do
54352 acl_save_prefix="$prefix"
54353 prefix="$acl_final_prefix"
54354 acl_save_exec_prefix="$exec_prefix"
54355 exec_prefix="$acl_final_exec_prefix"
54356 eval x=\"$x\"
54357 exec_prefix="$acl_save_exec_prefix"
54358 prefix="$acl_save_prefix"
54360 if test "X$x" = "X$element"; then
54361 haveit=yes
54362 break
54364 done
54365 if test -z "$haveit"; then
54366 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54368 done
54370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54371 $as_echo_n "checking how to link with libiconv... " >&6; }
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54373 $as_echo "$LIBICONV" >&6; }
54374 else
54375 LIBICONV=
54376 LTLIBICONV=
54381 if test "$am_cv_func_iconv" = yes; then
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54383 $as_echo_n "checking for iconv declaration... " >&6; }
54384 if ${am_cv_proto_iconv+:} false; then :
54385 $as_echo_n "(cached) " >&6
54386 else
54388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54389 /* end confdefs.h. */
54391 #include <stdlib.h>
54392 #include <iconv.h>
54393 extern
54394 #ifdef __cplusplus
54396 #endif
54397 #if defined(__STDC__) || defined(__cplusplus)
54398 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54399 #else
54400 size_t iconv();
54401 #endif
54404 main ()
54408 return 0;
54410 _ACEOF
54411 if ac_fn_c_try_compile "$LINENO"; then :
54412 am_cv_proto_iconv_arg1=""
54413 else
54414 am_cv_proto_iconv_arg1="const"
54416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54417 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);"
54420 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54422 }$am_cv_proto_iconv" >&5
54423 $as_echo "${ac_t:-
54424 }$am_cv_proto_iconv" >&6; }
54426 cat >>confdefs.h <<_ACEOF
54427 #define ICONV_CONST $am_cv_proto_iconv_arg1
54428 _ACEOF
54433 *-mingw32*)
54435 # If we're not using GNU ld, then there's no point in even trying these
54436 # tests. Check for that first. We should have already tested for gld
54437 # by now (in libtool), but require it now just to be safe...
54438 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54439 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54443 # The name set by libtool depends on the version of libtool. Shame on us
54444 # for depending on an impl detail, but c'est la vie. Older versions used
54445 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54446 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54447 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54448 # set (hence we're using an older libtool), then set it.
54449 if test x${with_gnu_ld+set} != xset; then
54450 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54451 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54452 with_gnu_ld=no
54453 else
54454 with_gnu_ld=$ac_cv_prog_gnu_ld
54458 # Start by getting the version number. I think the libtool test already
54459 # does some of this, but throws away the result.
54460 glibcxx_ld_is_gold=no
54461 glibcxx_ld_is_mold=no
54462 if test x"$with_gnu_ld" = x"yes"; then
54463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54464 $as_echo_n "checking for ld version... " >&6; }
54466 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54467 glibcxx_ld_is_gold=yes
54468 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54469 glibcxx_ld_is_mold=yes
54471 ldver=`$LD --version 2>/dev/null |
54472 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54474 glibcxx_gnu_ld_version=`echo $ldver | \
54475 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54477 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54480 # Set --gc-sections.
54481 glibcxx_have_gc_sections=no
54482 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
54483 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54484 glibcxx_have_gc_sections=yes
54486 else
54487 glibcxx_gcsections_min_ld=21602
54488 if test x"$with_gnu_ld" = x"yes" &&
54489 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54490 glibcxx_have_gc_sections=yes
54493 if test "$glibcxx_have_gc_sections" = "yes"; then
54494 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54495 # NB: This flag only works reliably after 2.16.1. Configure tests
54496 # for this are difficult, so hard wire a value that should work.
54498 ac_test_CFLAGS="${CFLAGS+set}"
54499 ac_save_CFLAGS="$CFLAGS"
54500 CFLAGS='-Wl,--gc-sections'
54502 # Check for -Wl,--gc-sections
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54504 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54505 if test x$gcc_no_link = xyes; then
54506 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54509 /* end confdefs.h. */
54510 int one(void) { return 1; }
54511 int two(void) { return 2; }
54514 main ()
54516 two();
54518 return 0;
54520 _ACEOF
54521 if ac_fn_c_try_link "$LINENO"; then :
54522 ac_gcsections=yes
54523 else
54524 ac_gcsections=no
54526 rm -f core conftest.err conftest.$ac_objext \
54527 conftest$ac_exeext conftest.$ac_ext
54528 if test "$ac_gcsections" = "yes"; then
54529 rm -f conftest.c
54530 touch conftest.c
54531 if $CC -c conftest.c; then
54532 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54533 grep "Warning: gc-sections option ignored" > /dev/null; then
54534 ac_gcsections=no
54537 rm -f conftest.c conftest.o conftest
54539 if test "$ac_gcsections" = "yes"; then
54540 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54543 $as_echo "$ac_gcsections" >&6; }
54545 if test "$ac_test_CFLAGS" = set; then
54546 CFLAGS="$ac_save_CFLAGS"
54547 else
54548 # this is the suspicious part
54549 CFLAGS=''
54553 # Set -z,relro.
54554 # Note this is only for shared objects.
54555 ac_ld_relro=no
54556 if test x"$with_gnu_ld" = x"yes"; then
54557 # cygwin and mingw uses PE, which has no ELF relro support,
54558 # multi target ld may confuse configure machinery
54559 case "$host" in
54560 *-*-cygwin*)
54562 *-*-mingw*)
54565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54566 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54567 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54568 if test -n "$cxx_z_relo"; then
54569 OPT_LDFLAGS="-Wl,-z,relro"
54570 ac_ld_relro=yes
54572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54573 $as_echo "$ac_ld_relro" >&6; }
54574 esac
54577 # Set linker optimization flags.
54578 if test x"$with_gnu_ld" = x"yes"; then
54579 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54586 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54587 ac_save_CXXFLAGS="$CXXFLAGS"
54588 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54591 $as_echo_n "checking for sin in -lm... " >&6; }
54592 if ${ac_cv_lib_m_sin+:} false; then :
54593 $as_echo_n "(cached) " >&6
54594 else
54595 ac_check_lib_save_LIBS=$LIBS
54596 LIBS="-lm $LIBS"
54597 if test x$gcc_no_link = xyes; then
54598 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54601 /* end confdefs.h. */
54603 /* Override any GCC internal prototype to avoid an error.
54604 Use char because int might match the return type of a GCC
54605 builtin and then its argument prototype would still apply. */
54606 #ifdef __cplusplus
54607 extern "C"
54608 #endif
54609 char sin ();
54611 main ()
54613 return sin ();
54615 return 0;
54617 _ACEOF
54618 if ac_fn_c_try_link "$LINENO"; then :
54619 ac_cv_lib_m_sin=yes
54620 else
54621 ac_cv_lib_m_sin=no
54623 rm -f core conftest.err conftest.$ac_objext \
54624 conftest$ac_exeext conftest.$ac_ext
54625 LIBS=$ac_check_lib_save_LIBS
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54628 $as_echo "$ac_cv_lib_m_sin" >&6; }
54629 if test "x$ac_cv_lib_m_sin" = xyes; then :
54630 libm="-lm"
54633 ac_save_LIBS="$LIBS"
54634 LIBS="$LIBS $libm"
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54639 $as_echo_n "checking for isinf declaration... " >&6; }
54640 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54641 if ${glibcxx_cv_func_isinf_use+:} false; then :
54642 $as_echo_n "(cached) " >&6
54643 else
54646 ac_ext=cpp
54647 ac_cpp='$CXXCPP $CPPFLAGS'
54648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 #include <math.h>
54655 #ifdef HAVE_IEEEFP_H
54656 #include <ieeefp.h>
54657 #endif
54660 main ()
54662 isinf(0);
54664 return 0;
54666 _ACEOF
54667 if ac_fn_cxx_try_compile "$LINENO"; then :
54668 glibcxx_cv_func_isinf_use=yes
54669 else
54670 glibcxx_cv_func_isinf_use=no
54672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54673 ac_ext=c
54674 ac_cpp='$CPP $CPPFLAGS'
54675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54684 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54686 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54687 for ac_func in isinf
54688 do :
54689 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54690 if test "x$ac_cv_func_isinf" = xyes; then :
54691 cat >>confdefs.h <<_ACEOF
54692 #define HAVE_ISINF 1
54693 _ACEOF
54696 done
54698 else
54700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54701 $as_echo_n "checking for _isinf declaration... " >&6; }
54702 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54703 if ${glibcxx_cv_func__isinf_use+:} false; then :
54704 $as_echo_n "(cached) " >&6
54705 else
54708 ac_ext=cpp
54709 ac_cpp='$CXXCPP $CPPFLAGS'
54710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54715 /* end confdefs.h. */
54716 #include <math.h>
54717 #ifdef HAVE_IEEEFP_H
54718 #include <ieeefp.h>
54719 #endif
54722 main ()
54724 _isinf(0);
54726 return 0;
54728 _ACEOF
54729 if ac_fn_cxx_try_compile "$LINENO"; then :
54730 glibcxx_cv_func__isinf_use=yes
54731 else
54732 glibcxx_cv_func__isinf_use=no
54734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54735 ac_ext=c
54736 ac_cpp='$CPP $CPPFLAGS'
54737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54746 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54748 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54749 for ac_func in _isinf
54750 do :
54751 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54752 if test "x$ac_cv_func__isinf" = xyes; then :
54753 cat >>confdefs.h <<_ACEOF
54754 #define HAVE__ISINF 1
54755 _ACEOF
54758 done
54767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54768 $as_echo_n "checking for isnan declaration... " >&6; }
54769 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54770 if ${glibcxx_cv_func_isnan_use+:} false; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54784 #ifdef HAVE_IEEEFP_H
54785 #include <ieeefp.h>
54786 #endif
54789 main ()
54791 isnan(0);
54793 return 0;
54795 _ACEOF
54796 if ac_fn_cxx_try_compile "$LINENO"; then :
54797 glibcxx_cv_func_isnan_use=yes
54798 else
54799 glibcxx_cv_func_isnan_use=no
54801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54802 ac_ext=c
54803 ac_cpp='$CPP $CPPFLAGS'
54804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54813 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54815 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54816 for ac_func in isnan
54817 do :
54818 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54819 if test "x$ac_cv_func_isnan" = xyes; then :
54820 cat >>confdefs.h <<_ACEOF
54821 #define HAVE_ISNAN 1
54822 _ACEOF
54825 done
54827 else
54829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54830 $as_echo_n "checking for _isnan declaration... " >&6; }
54831 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54832 if ${glibcxx_cv_func__isnan_use+:} false; then :
54833 $as_echo_n "(cached) " >&6
54834 else
54837 ac_ext=cpp
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54844 /* end confdefs.h. */
54845 #include <math.h>
54846 #ifdef HAVE_IEEEFP_H
54847 #include <ieeefp.h>
54848 #endif
54851 main ()
54853 _isnan(0);
54855 return 0;
54857 _ACEOF
54858 if ac_fn_cxx_try_compile "$LINENO"; then :
54859 glibcxx_cv_func__isnan_use=yes
54860 else
54861 glibcxx_cv_func__isnan_use=no
54863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54864 ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54875 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54877 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54878 for ac_func in _isnan
54879 do :
54880 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54881 if test "x$ac_cv_func__isnan" = xyes; then :
54882 cat >>confdefs.h <<_ACEOF
54883 #define HAVE__ISNAN 1
54884 _ACEOF
54887 done
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54897 $as_echo_n "checking for finite declaration... " >&6; }
54898 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54899 if ${glibcxx_cv_func_finite_use+:} false; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54913 #ifdef HAVE_IEEEFP_H
54914 #include <ieeefp.h>
54915 #endif
54918 main ()
54920 finite(0);
54922 return 0;
54924 _ACEOF
54925 if ac_fn_cxx_try_compile "$LINENO"; then :
54926 glibcxx_cv_func_finite_use=yes
54927 else
54928 glibcxx_cv_func_finite_use=no
54930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54931 ac_ext=c
54932 ac_cpp='$CPP $CPPFLAGS'
54933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54942 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54944 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54945 for ac_func in finite
54946 do :
54947 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54948 if test "x$ac_cv_func_finite" = xyes; then :
54949 cat >>confdefs.h <<_ACEOF
54950 #define HAVE_FINITE 1
54951 _ACEOF
54954 done
54956 else
54958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54959 $as_echo_n "checking for _finite declaration... " >&6; }
54960 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54961 if ${glibcxx_cv_func__finite_use+:} false; then :
54962 $as_echo_n "(cached) " >&6
54963 else
54966 ac_ext=cpp
54967 ac_cpp='$CXXCPP $CPPFLAGS'
54968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54973 /* end confdefs.h. */
54974 #include <math.h>
54975 #ifdef HAVE_IEEEFP_H
54976 #include <ieeefp.h>
54977 #endif
54980 main ()
54982 _finite(0);
54984 return 0;
54986 _ACEOF
54987 if ac_fn_cxx_try_compile "$LINENO"; then :
54988 glibcxx_cv_func__finite_use=yes
54989 else
54990 glibcxx_cv_func__finite_use=no
54992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54993 ac_ext=c
54994 ac_cpp='$CPP $CPPFLAGS'
54995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55004 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55006 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55007 for ac_func in _finite
55008 do :
55009 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55010 if test "x$ac_cv_func__finite" = xyes; then :
55011 cat >>confdefs.h <<_ACEOF
55012 #define HAVE__FINITE 1
55013 _ACEOF
55016 done
55025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55026 $as_echo_n "checking for sincos declaration... " >&6; }
55027 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55028 if ${glibcxx_cv_func_sincos_use+:} false; then :
55029 $as_echo_n "(cached) " >&6
55030 else
55033 ac_ext=cpp
55034 ac_cpp='$CXXCPP $CPPFLAGS'
55035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55040 /* end confdefs.h. */
55041 #include <math.h>
55043 main ()
55045 sincos(0, 0, 0);
55047 return 0;
55049 _ACEOF
55050 if ac_fn_cxx_try_compile "$LINENO"; then :
55051 glibcxx_cv_func_sincos_use=yes
55052 else
55053 glibcxx_cv_func_sincos_use=no
55055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55067 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55069 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55070 for ac_func in sincos
55071 do :
55072 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55073 if test "x$ac_cv_func_sincos" = xyes; then :
55074 cat >>confdefs.h <<_ACEOF
55075 #define HAVE_SINCOS 1
55076 _ACEOF
55079 done
55081 else
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55084 $as_echo_n "checking for _sincos declaration... " >&6; }
55085 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55086 if ${glibcxx_cv_func__sincos_use+:} false; then :
55087 $as_echo_n "(cached) " >&6
55088 else
55091 ac_ext=cpp
55092 ac_cpp='$CXXCPP $CPPFLAGS'
55093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55098 /* end confdefs.h. */
55099 #include <math.h>
55101 main ()
55103 _sincos(0, 0, 0);
55105 return 0;
55107 _ACEOF
55108 if ac_fn_cxx_try_compile "$LINENO"; then :
55109 glibcxx_cv_func__sincos_use=yes
55110 else
55111 glibcxx_cv_func__sincos_use=no
55113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55125 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55127 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55128 for ac_func in _sincos
55129 do :
55130 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55131 if test "x$ac_cv_func__sincos" = xyes; then :
55132 cat >>confdefs.h <<_ACEOF
55133 #define HAVE__SINCOS 1
55134 _ACEOF
55137 done
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55147 $as_echo_n "checking for fpclass declaration... " >&6; }
55148 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55149 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55150 $as_echo_n "(cached) " >&6
55151 else
55154 ac_ext=cpp
55155 ac_cpp='$CXXCPP $CPPFLAGS'
55156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55161 /* end confdefs.h. */
55162 #include <math.h>
55163 #ifdef HAVE_IEEEFP_H
55164 #include <ieeefp.h>
55165 #endif
55168 main ()
55170 fpclass(0);
55172 return 0;
55174 _ACEOF
55175 if ac_fn_cxx_try_compile "$LINENO"; then :
55176 glibcxx_cv_func_fpclass_use=yes
55177 else
55178 glibcxx_cv_func_fpclass_use=no
55180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55181 ac_ext=c
55182 ac_cpp='$CPP $CPPFLAGS'
55183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55192 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55194 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55195 for ac_func in fpclass
55196 do :
55197 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55198 if test "x$ac_cv_func_fpclass" = xyes; then :
55199 cat >>confdefs.h <<_ACEOF
55200 #define HAVE_FPCLASS 1
55201 _ACEOF
55204 done
55206 else
55208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55209 $as_echo_n "checking for _fpclass declaration... " >&6; }
55210 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55211 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55212 $as_echo_n "(cached) " >&6
55213 else
55216 ac_ext=cpp
55217 ac_cpp='$CXXCPP $CPPFLAGS'
55218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55223 /* end confdefs.h. */
55224 #include <math.h>
55225 #ifdef HAVE_IEEEFP_H
55226 #include <ieeefp.h>
55227 #endif
55230 main ()
55232 _fpclass(0);
55234 return 0;
55236 _ACEOF
55237 if ac_fn_cxx_try_compile "$LINENO"; then :
55238 glibcxx_cv_func__fpclass_use=yes
55239 else
55240 glibcxx_cv_func__fpclass_use=no
55242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55243 ac_ext=c
55244 ac_cpp='$CPP $CPPFLAGS'
55245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55254 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55256 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55257 for ac_func in _fpclass
55258 do :
55259 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55260 if test "x$ac_cv_func__fpclass" = xyes; then :
55261 cat >>confdefs.h <<_ACEOF
55262 #define HAVE__FPCLASS 1
55263 _ACEOF
55266 done
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55276 $as_echo_n "checking for qfpclass declaration... " >&6; }
55277 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55278 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55292 #ifdef HAVE_IEEEFP_H
55293 #include <ieeefp.h>
55294 #endif
55297 main ()
55299 qfpclass(0);
55301 return 0;
55303 _ACEOF
55304 if ac_fn_cxx_try_compile "$LINENO"; then :
55305 glibcxx_cv_func_qfpclass_use=yes
55306 else
55307 glibcxx_cv_func_qfpclass_use=no
55309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55310 ac_ext=c
55311 ac_cpp='$CPP $CPPFLAGS'
55312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55321 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55323 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55324 for ac_func in qfpclass
55325 do :
55326 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55327 if test "x$ac_cv_func_qfpclass" = xyes; then :
55328 cat >>confdefs.h <<_ACEOF
55329 #define HAVE_QFPCLASS 1
55330 _ACEOF
55333 done
55335 else
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55338 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55339 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55340 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55341 $as_echo_n "(cached) " >&6
55342 else
55345 ac_ext=cpp
55346 ac_cpp='$CXXCPP $CPPFLAGS'
55347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55352 /* end confdefs.h. */
55353 #include <math.h>
55354 #ifdef HAVE_IEEEFP_H
55355 #include <ieeefp.h>
55356 #endif
55359 main ()
55361 _qfpclass(0);
55363 return 0;
55365 _ACEOF
55366 if ac_fn_cxx_try_compile "$LINENO"; then :
55367 glibcxx_cv_func__qfpclass_use=yes
55368 else
55369 glibcxx_cv_func__qfpclass_use=no
55371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55372 ac_ext=c
55373 ac_cpp='$CPP $CPPFLAGS'
55374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55383 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55385 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55386 for ac_func in _qfpclass
55387 do :
55388 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55389 if test "x$ac_cv_func__qfpclass" = xyes; then :
55390 cat >>confdefs.h <<_ACEOF
55391 #define HAVE__QFPCLASS 1
55392 _ACEOF
55395 done
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55405 $as_echo_n "checking for hypot declaration... " >&6; }
55406 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55407 if ${glibcxx_cv_func_hypot_use+:} false; then :
55408 $as_echo_n "(cached) " >&6
55409 else
55412 ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h. */
55420 #include <math.h>
55422 main ()
55424 hypot(0, 0);
55426 return 0;
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func_hypot_use=yes
55431 else
55432 glibcxx_cv_func_hypot_use=no
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55446 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55448 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55449 for ac_func in hypot
55450 do :
55451 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55452 if test "x$ac_cv_func_hypot" = xyes; then :
55453 cat >>confdefs.h <<_ACEOF
55454 #define HAVE_HYPOT 1
55455 _ACEOF
55458 done
55460 else
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55463 $as_echo_n "checking for _hypot declaration... " >&6; }
55464 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55465 if ${glibcxx_cv_func__hypot_use+:} false; then :
55466 $as_echo_n "(cached) " >&6
55467 else
55470 ac_ext=cpp
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55477 /* end confdefs.h. */
55478 #include <math.h>
55480 main ()
55482 _hypot(0, 0);
55484 return 0;
55486 _ACEOF
55487 if ac_fn_cxx_try_compile "$LINENO"; then :
55488 glibcxx_cv_func__hypot_use=yes
55489 else
55490 glibcxx_cv_func__hypot_use=no
55492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55493 ac_ext=c
55494 ac_cpp='$CPP $CPPFLAGS'
55495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55504 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55506 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55507 for ac_func in _hypot
55508 do :
55509 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55510 if test "x$ac_cv_func__hypot" = xyes; then :
55511 cat >>confdefs.h <<_ACEOF
55512 #define HAVE__HYPOT 1
55513 _ACEOF
55516 done
55525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55526 $as_echo_n "checking for float trig functions... " >&6; }
55527 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55528 $as_echo_n "(cached) " >&6
55529 else
55532 ac_ext=cpp
55533 ac_cpp='$CXXCPP $CPPFLAGS'
55534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55539 /* end confdefs.h. */
55540 #include <math.h>
55542 main ()
55544 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55546 return 0;
55548 _ACEOF
55549 if ac_fn_cxx_try_compile "$LINENO"; then :
55550 glibcxx_cv_func_float_trig_use=yes
55551 else
55552 glibcxx_cv_func_float_trig_use=no
55554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55564 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55565 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55566 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55567 do :
55568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55570 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55571 cat >>confdefs.h <<_ACEOF
55572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55573 _ACEOF
55576 done
55578 else
55579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55580 $as_echo_n "checking for _float trig functions... " >&6; }
55581 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55582 $as_echo_n "(cached) " >&6
55583 else
55586 ac_ext=cpp
55587 ac_cpp='$CXXCPP $CPPFLAGS'
55588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55593 /* end confdefs.h. */
55594 #include <math.h>
55596 main ()
55598 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55600 return 0;
55602 _ACEOF
55603 if ac_fn_cxx_try_compile "$LINENO"; then :
55604 glibcxx_cv_func__float_trig_use=yes
55605 else
55606 glibcxx_cv_func__float_trig_use=no
55608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55609 ac_ext=c
55610 ac_cpp='$CPP $CPPFLAGS'
55611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55618 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55619 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55620 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55621 do :
55622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55625 cat >>confdefs.h <<_ACEOF
55626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55627 _ACEOF
55630 done
55639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55640 $as_echo_n "checking for float round functions... " >&6; }
55641 if ${glibcxx_cv_func_float_round_use+:} false; then :
55642 $as_echo_n "(cached) " >&6
55643 else
55646 ac_ext=cpp
55647 ac_cpp='$CXXCPP $CPPFLAGS'
55648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55653 /* end confdefs.h. */
55654 #include <math.h>
55656 main ()
55658 ceilf (0); floorf (0);
55660 return 0;
55662 _ACEOF
55663 if ac_fn_cxx_try_compile "$LINENO"; then :
55664 glibcxx_cv_func_float_round_use=yes
55665 else
55666 glibcxx_cv_func_float_round_use=no
55668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55669 ac_ext=c
55670 ac_cpp='$CPP $CPPFLAGS'
55671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55678 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55679 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55680 for ac_func in ceilf floorf
55681 do :
55682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55685 cat >>confdefs.h <<_ACEOF
55686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55687 _ACEOF
55690 done
55692 else
55693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55694 $as_echo_n "checking for _float round functions... " >&6; }
55695 if ${glibcxx_cv_func__float_round_use+:} false; then :
55696 $as_echo_n "(cached) " >&6
55697 else
55700 ac_ext=cpp
55701 ac_cpp='$CXXCPP $CPPFLAGS'
55702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55707 /* end confdefs.h. */
55708 #include <math.h>
55710 main ()
55712 _ceilf (0); _floorf (0);
55714 return 0;
55716 _ACEOF
55717 if ac_fn_cxx_try_compile "$LINENO"; then :
55718 glibcxx_cv_func__float_round_use=yes
55719 else
55720 glibcxx_cv_func__float_round_use=no
55722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55723 ac_ext=c
55724 ac_cpp='$CPP $CPPFLAGS'
55725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55732 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55733 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55734 for ac_func in _ceilf _floorf
55735 do :
55736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55739 cat >>confdefs.h <<_ACEOF
55740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55741 _ACEOF
55744 done
55754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55755 $as_echo_n "checking for expf declaration... " >&6; }
55756 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55757 if ${glibcxx_cv_func_expf_use+:} false; then :
55758 $as_echo_n "(cached) " >&6
55759 else
55762 ac_ext=cpp
55763 ac_cpp='$CXXCPP $CPPFLAGS'
55764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55769 /* end confdefs.h. */
55770 #include <math.h>
55771 #ifdef HAVE_IEEEFP_H
55772 #include <ieeefp.h>
55773 #endif
55776 main ()
55778 expf(0);
55780 return 0;
55782 _ACEOF
55783 if ac_fn_cxx_try_compile "$LINENO"; then :
55784 glibcxx_cv_func_expf_use=yes
55785 else
55786 glibcxx_cv_func_expf_use=no
55788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55789 ac_ext=c
55790 ac_cpp='$CPP $CPPFLAGS'
55791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55800 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55802 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55803 for ac_func in expf
55804 do :
55805 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55806 if test "x$ac_cv_func_expf" = xyes; then :
55807 cat >>confdefs.h <<_ACEOF
55808 #define HAVE_EXPF 1
55809 _ACEOF
55812 done
55814 else
55816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55817 $as_echo_n "checking for _expf declaration... " >&6; }
55818 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55819 if ${glibcxx_cv_func__expf_use+:} false; then :
55820 $as_echo_n "(cached) " >&6
55821 else
55824 ac_ext=cpp
55825 ac_cpp='$CXXCPP $CPPFLAGS'
55826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55831 /* end confdefs.h. */
55832 #include <math.h>
55833 #ifdef HAVE_IEEEFP_H
55834 #include <ieeefp.h>
55835 #endif
55838 main ()
55840 _expf(0);
55842 return 0;
55844 _ACEOF
55845 if ac_fn_cxx_try_compile "$LINENO"; then :
55846 glibcxx_cv_func__expf_use=yes
55847 else
55848 glibcxx_cv_func__expf_use=no
55850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55851 ac_ext=c
55852 ac_cpp='$CPP $CPPFLAGS'
55853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55862 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55864 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55865 for ac_func in _expf
55866 do :
55867 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55868 if test "x$ac_cv_func__expf" = xyes; then :
55869 cat >>confdefs.h <<_ACEOF
55870 #define HAVE__EXPF 1
55871 _ACEOF
55874 done
55883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55884 $as_echo_n "checking for isnanf declaration... " >&6; }
55885 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55886 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55887 $as_echo_n "(cached) " >&6
55888 else
55891 ac_ext=cpp
55892 ac_cpp='$CXXCPP $CPPFLAGS'
55893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55898 /* end confdefs.h. */
55899 #include <math.h>
55900 #ifdef HAVE_IEEEFP_H
55901 #include <ieeefp.h>
55902 #endif
55905 main ()
55907 isnanf(0);
55909 return 0;
55911 _ACEOF
55912 if ac_fn_cxx_try_compile "$LINENO"; then :
55913 glibcxx_cv_func_isnanf_use=yes
55914 else
55915 glibcxx_cv_func_isnanf_use=no
55917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55918 ac_ext=c
55919 ac_cpp='$CPP $CPPFLAGS'
55920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55929 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55931 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55932 for ac_func in isnanf
55933 do :
55934 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55935 if test "x$ac_cv_func_isnanf" = xyes; then :
55936 cat >>confdefs.h <<_ACEOF
55937 #define HAVE_ISNANF 1
55938 _ACEOF
55941 done
55943 else
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55946 $as_echo_n "checking for _isnanf declaration... " >&6; }
55947 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55948 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55949 $as_echo_n "(cached) " >&6
55950 else
55953 ac_ext=cpp
55954 ac_cpp='$CXXCPP $CPPFLAGS'
55955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55960 /* end confdefs.h. */
55961 #include <math.h>
55962 #ifdef HAVE_IEEEFP_H
55963 #include <ieeefp.h>
55964 #endif
55967 main ()
55969 _isnanf(0);
55971 return 0;
55973 _ACEOF
55974 if ac_fn_cxx_try_compile "$LINENO"; then :
55975 glibcxx_cv_func__isnanf_use=yes
55976 else
55977 glibcxx_cv_func__isnanf_use=no
55979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55980 ac_ext=c
55981 ac_cpp='$CPP $CPPFLAGS'
55982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55991 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55993 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55994 for ac_func in _isnanf
55995 do :
55996 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55997 if test "x$ac_cv_func__isnanf" = xyes; then :
55998 cat >>confdefs.h <<_ACEOF
55999 #define HAVE__ISNANF 1
56000 _ACEOF
56003 done
56012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56013 $as_echo_n "checking for isinff declaration... " >&6; }
56014 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56015 if ${glibcxx_cv_func_isinff_use+:} false; then :
56016 $as_echo_n "(cached) " >&6
56017 else
56020 ac_ext=cpp
56021 ac_cpp='$CXXCPP $CPPFLAGS'
56022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56027 /* end confdefs.h. */
56028 #include <math.h>
56029 #ifdef HAVE_IEEEFP_H
56030 #include <ieeefp.h>
56031 #endif
56034 main ()
56036 isinff(0);
56038 return 0;
56040 _ACEOF
56041 if ac_fn_cxx_try_compile "$LINENO"; then :
56042 glibcxx_cv_func_isinff_use=yes
56043 else
56044 glibcxx_cv_func_isinff_use=no
56046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56047 ac_ext=c
56048 ac_cpp='$CPP $CPPFLAGS'
56049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56058 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56060 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56061 for ac_func in isinff
56062 do :
56063 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56064 if test "x$ac_cv_func_isinff" = xyes; then :
56065 cat >>confdefs.h <<_ACEOF
56066 #define HAVE_ISINFF 1
56067 _ACEOF
56070 done
56072 else
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56075 $as_echo_n "checking for _isinff declaration... " >&6; }
56076 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56077 if ${glibcxx_cv_func__isinff_use+:} false; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56091 #ifdef HAVE_IEEEFP_H
56092 #include <ieeefp.h>
56093 #endif
56096 main ()
56098 _isinff(0);
56100 return 0;
56102 _ACEOF
56103 if ac_fn_cxx_try_compile "$LINENO"; then :
56104 glibcxx_cv_func__isinff_use=yes
56105 else
56106 glibcxx_cv_func__isinff_use=no
56108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56109 ac_ext=c
56110 ac_cpp='$CPP $CPPFLAGS'
56111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56120 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56122 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56123 for ac_func in _isinff
56124 do :
56125 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56126 if test "x$ac_cv_func__isinff" = xyes; then :
56127 cat >>confdefs.h <<_ACEOF
56128 #define HAVE__ISINFF 1
56129 _ACEOF
56132 done
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56142 $as_echo_n "checking for atan2f declaration... " >&6; }
56143 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56144 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56145 $as_echo_n "(cached) " >&6
56146 else
56149 ac_ext=cpp
56150 ac_cpp='$CXXCPP $CPPFLAGS'
56151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56156 /* end confdefs.h. */
56157 #include <math.h>
56159 main ()
56161 atan2f(0, 0);
56163 return 0;
56165 _ACEOF
56166 if ac_fn_cxx_try_compile "$LINENO"; then :
56167 glibcxx_cv_func_atan2f_use=yes
56168 else
56169 glibcxx_cv_func_atan2f_use=no
56171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56172 ac_ext=c
56173 ac_cpp='$CPP $CPPFLAGS'
56174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56183 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56185 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56186 for ac_func in atan2f
56187 do :
56188 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56189 if test "x$ac_cv_func_atan2f" = xyes; then :
56190 cat >>confdefs.h <<_ACEOF
56191 #define HAVE_ATAN2F 1
56192 _ACEOF
56195 done
56197 else
56199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56200 $as_echo_n "checking for _atan2f declaration... " >&6; }
56201 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56202 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56203 $as_echo_n "(cached) " >&6
56204 else
56207 ac_ext=cpp
56208 ac_cpp='$CXXCPP $CPPFLAGS'
56209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56214 /* end confdefs.h. */
56215 #include <math.h>
56217 main ()
56219 _atan2f(0, 0);
56221 return 0;
56223 _ACEOF
56224 if ac_fn_cxx_try_compile "$LINENO"; then :
56225 glibcxx_cv_func__atan2f_use=yes
56226 else
56227 glibcxx_cv_func__atan2f_use=no
56229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56230 ac_ext=c
56231 ac_cpp='$CPP $CPPFLAGS'
56232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56241 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56243 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56244 for ac_func in _atan2f
56245 do :
56246 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56247 if test "x$ac_cv_func__atan2f" = xyes; then :
56248 cat >>confdefs.h <<_ACEOF
56249 #define HAVE__ATAN2F 1
56250 _ACEOF
56253 done
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56263 $as_echo_n "checking for fabsf declaration... " >&6; }
56264 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56265 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56266 $as_echo_n "(cached) " >&6
56267 else
56270 ac_ext=cpp
56271 ac_cpp='$CXXCPP $CPPFLAGS'
56272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56277 /* end confdefs.h. */
56278 #include <math.h>
56279 #ifdef HAVE_IEEEFP_H
56280 #include <ieeefp.h>
56281 #endif
56284 main ()
56286 fabsf(0);
56288 return 0;
56290 _ACEOF
56291 if ac_fn_cxx_try_compile "$LINENO"; then :
56292 glibcxx_cv_func_fabsf_use=yes
56293 else
56294 glibcxx_cv_func_fabsf_use=no
56296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56297 ac_ext=c
56298 ac_cpp='$CPP $CPPFLAGS'
56299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56308 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56310 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56311 for ac_func in fabsf
56312 do :
56313 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56314 if test "x$ac_cv_func_fabsf" = xyes; then :
56315 cat >>confdefs.h <<_ACEOF
56316 #define HAVE_FABSF 1
56317 _ACEOF
56320 done
56322 else
56324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56325 $as_echo_n "checking for _fabsf declaration... " >&6; }
56326 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56327 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56328 $as_echo_n "(cached) " >&6
56329 else
56332 ac_ext=cpp
56333 ac_cpp='$CXXCPP $CPPFLAGS'
56334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56339 /* end confdefs.h. */
56340 #include <math.h>
56341 #ifdef HAVE_IEEEFP_H
56342 #include <ieeefp.h>
56343 #endif
56346 main ()
56348 _fabsf(0);
56350 return 0;
56352 _ACEOF
56353 if ac_fn_cxx_try_compile "$LINENO"; then :
56354 glibcxx_cv_func__fabsf_use=yes
56355 else
56356 glibcxx_cv_func__fabsf_use=no
56358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56359 ac_ext=c
56360 ac_cpp='$CPP $CPPFLAGS'
56361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56370 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56372 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56373 for ac_func in _fabsf
56374 do :
56375 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56376 if test "x$ac_cv_func__fabsf" = xyes; then :
56377 cat >>confdefs.h <<_ACEOF
56378 #define HAVE__FABSF 1
56379 _ACEOF
56382 done
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56392 $as_echo_n "checking for fmodf declaration... " >&6; }
56393 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56394 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56395 $as_echo_n "(cached) " >&6
56396 else
56399 ac_ext=cpp
56400 ac_cpp='$CXXCPP $CPPFLAGS'
56401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56406 /* end confdefs.h. */
56407 #include <math.h>
56409 main ()
56411 fmodf(0, 0);
56413 return 0;
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func_fmodf_use=yes
56418 else
56419 glibcxx_cv_func_fmodf_use=no
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422 ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56433 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56435 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56436 for ac_func in fmodf
56437 do :
56438 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56439 if test "x$ac_cv_func_fmodf" = xyes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE_FMODF 1
56442 _ACEOF
56445 done
56447 else
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56450 $as_echo_n "checking for _fmodf declaration... " >&6; }
56451 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56452 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56453 $as_echo_n "(cached) " >&6
56454 else
56457 ac_ext=cpp
56458 ac_cpp='$CXXCPP $CPPFLAGS'
56459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464 /* end confdefs.h. */
56465 #include <math.h>
56467 main ()
56469 _fmodf(0, 0);
56471 return 0;
56473 _ACEOF
56474 if ac_fn_cxx_try_compile "$LINENO"; then :
56475 glibcxx_cv_func__fmodf_use=yes
56476 else
56477 glibcxx_cv_func__fmodf_use=no
56479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56480 ac_ext=c
56481 ac_cpp='$CPP $CPPFLAGS'
56482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56491 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56493 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56494 for ac_func in _fmodf
56495 do :
56496 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56497 if test "x$ac_cv_func__fmodf" = xyes; then :
56498 cat >>confdefs.h <<_ACEOF
56499 #define HAVE__FMODF 1
56500 _ACEOF
56503 done
56512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56513 $as_echo_n "checking for frexpf declaration... " >&6; }
56514 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56515 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56516 $as_echo_n "(cached) " >&6
56517 else
56520 ac_ext=cpp
56521 ac_cpp='$CXXCPP $CPPFLAGS'
56522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56527 /* end confdefs.h. */
56528 #include <math.h>
56530 main ()
56532 frexpf(0, 0);
56534 return 0;
56536 _ACEOF
56537 if ac_fn_cxx_try_compile "$LINENO"; then :
56538 glibcxx_cv_func_frexpf_use=yes
56539 else
56540 glibcxx_cv_func_frexpf_use=no
56542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56543 ac_ext=c
56544 ac_cpp='$CPP $CPPFLAGS'
56545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56554 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56556 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56557 for ac_func in frexpf
56558 do :
56559 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56560 if test "x$ac_cv_func_frexpf" = xyes; then :
56561 cat >>confdefs.h <<_ACEOF
56562 #define HAVE_FREXPF 1
56563 _ACEOF
56566 done
56568 else
56570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56571 $as_echo_n "checking for _frexpf declaration... " >&6; }
56572 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56573 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56574 $as_echo_n "(cached) " >&6
56575 else
56578 ac_ext=cpp
56579 ac_cpp='$CXXCPP $CPPFLAGS'
56580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56585 /* end confdefs.h. */
56586 #include <math.h>
56588 main ()
56590 _frexpf(0, 0);
56592 return 0;
56594 _ACEOF
56595 if ac_fn_cxx_try_compile "$LINENO"; then :
56596 glibcxx_cv_func__frexpf_use=yes
56597 else
56598 glibcxx_cv_func__frexpf_use=no
56600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56601 ac_ext=c
56602 ac_cpp='$CPP $CPPFLAGS'
56603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56612 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56614 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56615 for ac_func in _frexpf
56616 do :
56617 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56618 if test "x$ac_cv_func__frexpf" = xyes; then :
56619 cat >>confdefs.h <<_ACEOF
56620 #define HAVE__FREXPF 1
56621 _ACEOF
56624 done
56633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56634 $as_echo_n "checking for hypotf declaration... " >&6; }
56635 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56636 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56637 $as_echo_n "(cached) " >&6
56638 else
56641 ac_ext=cpp
56642 ac_cpp='$CXXCPP $CPPFLAGS'
56643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56648 /* end confdefs.h. */
56649 #include <math.h>
56651 main ()
56653 hypotf(0, 0);
56655 return 0;
56657 _ACEOF
56658 if ac_fn_cxx_try_compile "$LINENO"; then :
56659 glibcxx_cv_func_hypotf_use=yes
56660 else
56661 glibcxx_cv_func_hypotf_use=no
56663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56664 ac_ext=c
56665 ac_cpp='$CPP $CPPFLAGS'
56666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56675 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56677 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56678 for ac_func in hypotf
56679 do :
56680 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56681 if test "x$ac_cv_func_hypotf" = xyes; then :
56682 cat >>confdefs.h <<_ACEOF
56683 #define HAVE_HYPOTF 1
56684 _ACEOF
56687 done
56689 else
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56692 $as_echo_n "checking for _hypotf declaration... " >&6; }
56693 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56694 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56695 $as_echo_n "(cached) " >&6
56696 else
56699 ac_ext=cpp
56700 ac_cpp='$CXXCPP $CPPFLAGS'
56701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56706 /* end confdefs.h. */
56707 #include <math.h>
56709 main ()
56711 _hypotf(0, 0);
56713 return 0;
56715 _ACEOF
56716 if ac_fn_cxx_try_compile "$LINENO"; then :
56717 glibcxx_cv_func__hypotf_use=yes
56718 else
56719 glibcxx_cv_func__hypotf_use=no
56721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56722 ac_ext=c
56723 ac_cpp='$CPP $CPPFLAGS'
56724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56733 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56735 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56736 for ac_func in _hypotf
56737 do :
56738 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56739 if test "x$ac_cv_func__hypotf" = xyes; then :
56740 cat >>confdefs.h <<_ACEOF
56741 #define HAVE__HYPOTF 1
56742 _ACEOF
56745 done
56754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56755 $as_echo_n "checking for ldexpf declaration... " >&6; }
56756 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56757 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56758 $as_echo_n "(cached) " >&6
56759 else
56762 ac_ext=cpp
56763 ac_cpp='$CXXCPP $CPPFLAGS'
56764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56769 /* end confdefs.h. */
56770 #include <math.h>
56772 main ()
56774 ldexpf(0, 0);
56776 return 0;
56778 _ACEOF
56779 if ac_fn_cxx_try_compile "$LINENO"; then :
56780 glibcxx_cv_func_ldexpf_use=yes
56781 else
56782 glibcxx_cv_func_ldexpf_use=no
56784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56785 ac_ext=c
56786 ac_cpp='$CPP $CPPFLAGS'
56787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56796 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56798 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56799 for ac_func in ldexpf
56800 do :
56801 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56802 if test "x$ac_cv_func_ldexpf" = xyes; then :
56803 cat >>confdefs.h <<_ACEOF
56804 #define HAVE_LDEXPF 1
56805 _ACEOF
56808 done
56810 else
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56813 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56814 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56815 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56816 $as_echo_n "(cached) " >&6
56817 else
56820 ac_ext=cpp
56821 ac_cpp='$CXXCPP $CPPFLAGS'
56822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56827 /* end confdefs.h. */
56828 #include <math.h>
56830 main ()
56832 _ldexpf(0, 0);
56834 return 0;
56836 _ACEOF
56837 if ac_fn_cxx_try_compile "$LINENO"; then :
56838 glibcxx_cv_func__ldexpf_use=yes
56839 else
56840 glibcxx_cv_func__ldexpf_use=no
56842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56843 ac_ext=c
56844 ac_cpp='$CPP $CPPFLAGS'
56845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56854 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56856 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56857 for ac_func in _ldexpf
56858 do :
56859 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56860 if test "x$ac_cv_func__ldexpf" = xyes; then :
56861 cat >>confdefs.h <<_ACEOF
56862 #define HAVE__LDEXPF 1
56863 _ACEOF
56866 done
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56876 $as_echo_n "checking for logf declaration... " >&6; }
56877 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56878 if ${glibcxx_cv_func_logf_use+:} false; then :
56879 $as_echo_n "(cached) " >&6
56880 else
56883 ac_ext=cpp
56884 ac_cpp='$CXXCPP $CPPFLAGS'
56885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56890 /* end confdefs.h. */
56891 #include <math.h>
56892 #ifdef HAVE_IEEEFP_H
56893 #include <ieeefp.h>
56894 #endif
56897 main ()
56899 logf(0);
56901 return 0;
56903 _ACEOF
56904 if ac_fn_cxx_try_compile "$LINENO"; then :
56905 glibcxx_cv_func_logf_use=yes
56906 else
56907 glibcxx_cv_func_logf_use=no
56909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56910 ac_ext=c
56911 ac_cpp='$CPP $CPPFLAGS'
56912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56921 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56923 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56924 for ac_func in logf
56925 do :
56926 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56927 if test "x$ac_cv_func_logf" = xyes; then :
56928 cat >>confdefs.h <<_ACEOF
56929 #define HAVE_LOGF 1
56930 _ACEOF
56933 done
56935 else
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56938 $as_echo_n "checking for _logf declaration... " >&6; }
56939 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56940 if ${glibcxx_cv_func__logf_use+:} false; then :
56941 $as_echo_n "(cached) " >&6
56942 else
56945 ac_ext=cpp
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56952 /* end confdefs.h. */
56953 #include <math.h>
56954 #ifdef HAVE_IEEEFP_H
56955 #include <ieeefp.h>
56956 #endif
56959 main ()
56961 _logf(0);
56963 return 0;
56965 _ACEOF
56966 if ac_fn_cxx_try_compile "$LINENO"; then :
56967 glibcxx_cv_func__logf_use=yes
56968 else
56969 glibcxx_cv_func__logf_use=no
56971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56972 ac_ext=c
56973 ac_cpp='$CPP $CPPFLAGS'
56974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56983 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56985 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56986 for ac_func in _logf
56987 do :
56988 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56989 if test "x$ac_cv_func__logf" = xyes; then :
56990 cat >>confdefs.h <<_ACEOF
56991 #define HAVE__LOGF 1
56992 _ACEOF
56995 done
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57005 $as_echo_n "checking for log10f declaration... " >&6; }
57006 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57007 if ${glibcxx_cv_func_log10f_use+:} false; then :
57008 $as_echo_n "(cached) " >&6
57009 else
57012 ac_ext=cpp
57013 ac_cpp='$CXXCPP $CPPFLAGS'
57014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57019 /* end confdefs.h. */
57020 #include <math.h>
57021 #ifdef HAVE_IEEEFP_H
57022 #include <ieeefp.h>
57023 #endif
57026 main ()
57028 log10f(0);
57030 return 0;
57032 _ACEOF
57033 if ac_fn_cxx_try_compile "$LINENO"; then :
57034 glibcxx_cv_func_log10f_use=yes
57035 else
57036 glibcxx_cv_func_log10f_use=no
57038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57039 ac_ext=c
57040 ac_cpp='$CPP $CPPFLAGS'
57041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57050 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57052 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57053 for ac_func in log10f
57054 do :
57055 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57056 if test "x$ac_cv_func_log10f" = xyes; then :
57057 cat >>confdefs.h <<_ACEOF
57058 #define HAVE_LOG10F 1
57059 _ACEOF
57062 done
57064 else
57066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57067 $as_echo_n "checking for _log10f declaration... " >&6; }
57068 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57069 if ${glibcxx_cv_func__log10f_use+:} false; then :
57070 $as_echo_n "(cached) " >&6
57071 else
57074 ac_ext=cpp
57075 ac_cpp='$CXXCPP $CPPFLAGS'
57076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57081 /* end confdefs.h. */
57082 #include <math.h>
57083 #ifdef HAVE_IEEEFP_H
57084 #include <ieeefp.h>
57085 #endif
57088 main ()
57090 _log10f(0);
57092 return 0;
57094 _ACEOF
57095 if ac_fn_cxx_try_compile "$LINENO"; then :
57096 glibcxx_cv_func__log10f_use=yes
57097 else
57098 glibcxx_cv_func__log10f_use=no
57100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57101 ac_ext=c
57102 ac_cpp='$CPP $CPPFLAGS'
57103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57112 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57114 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57115 for ac_func in _log10f
57116 do :
57117 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57118 if test "x$ac_cv_func__log10f" = xyes; then :
57119 cat >>confdefs.h <<_ACEOF
57120 #define HAVE__LOG10F 1
57121 _ACEOF
57124 done
57133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57134 $as_echo_n "checking for modff declaration... " >&6; }
57135 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57136 if ${glibcxx_cv_func_modff_use+:} false; then :
57137 $as_echo_n "(cached) " >&6
57138 else
57141 ac_ext=cpp
57142 ac_cpp='$CXXCPP $CPPFLAGS'
57143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57148 /* end confdefs.h. */
57149 #include <math.h>
57151 main ()
57153 modff(0, 0);
57155 return 0;
57157 _ACEOF
57158 if ac_fn_cxx_try_compile "$LINENO"; then :
57159 glibcxx_cv_func_modff_use=yes
57160 else
57161 glibcxx_cv_func_modff_use=no
57163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57164 ac_ext=c
57165 ac_cpp='$CPP $CPPFLAGS'
57166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57175 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57177 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57178 for ac_func in modff
57179 do :
57180 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57181 if test "x$ac_cv_func_modff" = xyes; then :
57182 cat >>confdefs.h <<_ACEOF
57183 #define HAVE_MODFF 1
57184 _ACEOF
57187 done
57189 else
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57192 $as_echo_n "checking for _modff declaration... " >&6; }
57193 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57194 if ${glibcxx_cv_func__modff_use+:} false; then :
57195 $as_echo_n "(cached) " >&6
57196 else
57199 ac_ext=cpp
57200 ac_cpp='$CXXCPP $CPPFLAGS'
57201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57206 /* end confdefs.h. */
57207 #include <math.h>
57209 main ()
57211 _modff(0, 0);
57213 return 0;
57215 _ACEOF
57216 if ac_fn_cxx_try_compile "$LINENO"; then :
57217 glibcxx_cv_func__modff_use=yes
57218 else
57219 glibcxx_cv_func__modff_use=no
57221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57222 ac_ext=c
57223 ac_cpp='$CPP $CPPFLAGS'
57224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57233 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57235 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57236 for ac_func in _modff
57237 do :
57238 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57239 if test "x$ac_cv_func__modff" = xyes; then :
57240 cat >>confdefs.h <<_ACEOF
57241 #define HAVE__MODFF 1
57242 _ACEOF
57245 done
57254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57255 $as_echo_n "checking for modf declaration... " >&6; }
57256 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57257 if ${glibcxx_cv_func_modf_use+:} false; then :
57258 $as_echo_n "(cached) " >&6
57259 else
57262 ac_ext=cpp
57263 ac_cpp='$CXXCPP $CPPFLAGS'
57264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57269 /* end confdefs.h. */
57270 #include <math.h>
57272 main ()
57274 modf(0, 0);
57276 return 0;
57278 _ACEOF
57279 if ac_fn_cxx_try_compile "$LINENO"; then :
57280 glibcxx_cv_func_modf_use=yes
57281 else
57282 glibcxx_cv_func_modf_use=no
57284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57285 ac_ext=c
57286 ac_cpp='$CPP $CPPFLAGS'
57287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57296 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57298 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57299 for ac_func in modf
57300 do :
57301 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57302 if test "x$ac_cv_func_modf" = xyes; then :
57303 cat >>confdefs.h <<_ACEOF
57304 #define HAVE_MODF 1
57305 _ACEOF
57308 done
57310 else
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57313 $as_echo_n "checking for _modf declaration... " >&6; }
57314 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57315 if ${glibcxx_cv_func__modf_use+:} false; then :
57316 $as_echo_n "(cached) " >&6
57317 else
57320 ac_ext=cpp
57321 ac_cpp='$CXXCPP $CPPFLAGS'
57322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57327 /* end confdefs.h. */
57328 #include <math.h>
57330 main ()
57332 _modf(0, 0);
57334 return 0;
57336 _ACEOF
57337 if ac_fn_cxx_try_compile "$LINENO"; then :
57338 glibcxx_cv_func__modf_use=yes
57339 else
57340 glibcxx_cv_func__modf_use=no
57342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57343 ac_ext=c
57344 ac_cpp='$CPP $CPPFLAGS'
57345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57354 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57356 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57357 for ac_func in _modf
57358 do :
57359 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57360 if test "x$ac_cv_func__modf" = xyes; then :
57361 cat >>confdefs.h <<_ACEOF
57362 #define HAVE__MODF 1
57363 _ACEOF
57366 done
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57376 $as_echo_n "checking for powf declaration... " >&6; }
57377 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57378 if ${glibcxx_cv_func_powf_use+:} false; then :
57379 $as_echo_n "(cached) " >&6
57380 else
57383 ac_ext=cpp
57384 ac_cpp='$CXXCPP $CPPFLAGS'
57385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 #include <math.h>
57393 main ()
57395 powf(0, 0);
57397 return 0;
57399 _ACEOF
57400 if ac_fn_cxx_try_compile "$LINENO"; then :
57401 glibcxx_cv_func_powf_use=yes
57402 else
57403 glibcxx_cv_func_powf_use=no
57405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57406 ac_ext=c
57407 ac_cpp='$CPP $CPPFLAGS'
57408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57417 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57419 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57420 for ac_func in powf
57421 do :
57422 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57423 if test "x$ac_cv_func_powf" = xyes; then :
57424 cat >>confdefs.h <<_ACEOF
57425 #define HAVE_POWF 1
57426 _ACEOF
57429 done
57431 else
57433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57434 $as_echo_n "checking for _powf declaration... " >&6; }
57435 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57436 if ${glibcxx_cv_func__powf_use+:} false; then :
57437 $as_echo_n "(cached) " >&6
57438 else
57441 ac_ext=cpp
57442 ac_cpp='$CXXCPP $CPPFLAGS'
57443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57448 /* end confdefs.h. */
57449 #include <math.h>
57451 main ()
57453 _powf(0, 0);
57455 return 0;
57457 _ACEOF
57458 if ac_fn_cxx_try_compile "$LINENO"; then :
57459 glibcxx_cv_func__powf_use=yes
57460 else
57461 glibcxx_cv_func__powf_use=no
57463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57464 ac_ext=c
57465 ac_cpp='$CPP $CPPFLAGS'
57466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57475 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57477 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57478 for ac_func in _powf
57479 do :
57480 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57481 if test "x$ac_cv_func__powf" = xyes; then :
57482 cat >>confdefs.h <<_ACEOF
57483 #define HAVE__POWF 1
57484 _ACEOF
57487 done
57496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57497 $as_echo_n "checking for sqrtf declaration... " >&6; }
57498 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57499 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57500 $as_echo_n "(cached) " >&6
57501 else
57504 ac_ext=cpp
57505 ac_cpp='$CXXCPP $CPPFLAGS'
57506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57511 /* end confdefs.h. */
57512 #include <math.h>
57513 #ifdef HAVE_IEEEFP_H
57514 #include <ieeefp.h>
57515 #endif
57518 main ()
57520 sqrtf(0);
57522 return 0;
57524 _ACEOF
57525 if ac_fn_cxx_try_compile "$LINENO"; then :
57526 glibcxx_cv_func_sqrtf_use=yes
57527 else
57528 glibcxx_cv_func_sqrtf_use=no
57530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57531 ac_ext=c
57532 ac_cpp='$CPP $CPPFLAGS'
57533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57542 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57544 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57545 for ac_func in sqrtf
57546 do :
57547 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57548 if test "x$ac_cv_func_sqrtf" = xyes; then :
57549 cat >>confdefs.h <<_ACEOF
57550 #define HAVE_SQRTF 1
57551 _ACEOF
57554 done
57556 else
57558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57559 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57560 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57561 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57562 $as_echo_n "(cached) " >&6
57563 else
57566 ac_ext=cpp
57567 ac_cpp='$CXXCPP $CPPFLAGS'
57568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57573 /* end confdefs.h. */
57574 #include <math.h>
57575 #ifdef HAVE_IEEEFP_H
57576 #include <ieeefp.h>
57577 #endif
57580 main ()
57582 _sqrtf(0);
57584 return 0;
57586 _ACEOF
57587 if ac_fn_cxx_try_compile "$LINENO"; then :
57588 glibcxx_cv_func__sqrtf_use=yes
57589 else
57590 glibcxx_cv_func__sqrtf_use=no
57592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57593 ac_ext=c
57594 ac_cpp='$CPP $CPPFLAGS'
57595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57604 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57606 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57607 for ac_func in _sqrtf
57608 do :
57609 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57610 if test "x$ac_cv_func__sqrtf" = xyes; then :
57611 cat >>confdefs.h <<_ACEOF
57612 #define HAVE__SQRTF 1
57613 _ACEOF
57616 done
57625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57626 $as_echo_n "checking for sincosf declaration... " >&6; }
57627 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57628 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57629 $as_echo_n "(cached) " >&6
57630 else
57633 ac_ext=cpp
57634 ac_cpp='$CXXCPP $CPPFLAGS'
57635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57640 /* end confdefs.h. */
57641 #include <math.h>
57643 main ()
57645 sincosf(0, 0, 0);
57647 return 0;
57649 _ACEOF
57650 if ac_fn_cxx_try_compile "$LINENO"; then :
57651 glibcxx_cv_func_sincosf_use=yes
57652 else
57653 glibcxx_cv_func_sincosf_use=no
57655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57656 ac_ext=c
57657 ac_cpp='$CPP $CPPFLAGS'
57658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57667 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57669 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57670 for ac_func in sincosf
57671 do :
57672 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57673 if test "x$ac_cv_func_sincosf" = xyes; then :
57674 cat >>confdefs.h <<_ACEOF
57675 #define HAVE_SINCOSF 1
57676 _ACEOF
57679 done
57681 else
57683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57684 $as_echo_n "checking for _sincosf declaration... " >&6; }
57685 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57686 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57687 $as_echo_n "(cached) " >&6
57688 else
57691 ac_ext=cpp
57692 ac_cpp='$CXXCPP $CPPFLAGS'
57693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57698 /* end confdefs.h. */
57699 #include <math.h>
57701 main ()
57703 _sincosf(0, 0, 0);
57705 return 0;
57707 _ACEOF
57708 if ac_fn_cxx_try_compile "$LINENO"; then :
57709 glibcxx_cv_func__sincosf_use=yes
57710 else
57711 glibcxx_cv_func__sincosf_use=no
57713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57714 ac_ext=c
57715 ac_cpp='$CPP $CPPFLAGS'
57716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57725 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57727 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57728 for ac_func in _sincosf
57729 do :
57730 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57731 if test "x$ac_cv_func__sincosf" = xyes; then :
57732 cat >>confdefs.h <<_ACEOF
57733 #define HAVE__SINCOSF 1
57734 _ACEOF
57737 done
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57747 $as_echo_n "checking for finitef declaration... " >&6; }
57748 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57749 if ${glibcxx_cv_func_finitef_use+:} false; then :
57750 $as_echo_n "(cached) " >&6
57751 else
57754 ac_ext=cpp
57755 ac_cpp='$CXXCPP $CPPFLAGS'
57756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57761 /* end confdefs.h. */
57762 #include <math.h>
57763 #ifdef HAVE_IEEEFP_H
57764 #include <ieeefp.h>
57765 #endif
57768 main ()
57770 finitef(0);
57772 return 0;
57774 _ACEOF
57775 if ac_fn_cxx_try_compile "$LINENO"; then :
57776 glibcxx_cv_func_finitef_use=yes
57777 else
57778 glibcxx_cv_func_finitef_use=no
57780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781 ac_ext=c
57782 ac_cpp='$CPP $CPPFLAGS'
57783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57792 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57794 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57795 for ac_func in finitef
57796 do :
57797 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57798 if test "x$ac_cv_func_finitef" = xyes; then :
57799 cat >>confdefs.h <<_ACEOF
57800 #define HAVE_FINITEF 1
57801 _ACEOF
57804 done
57806 else
57808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57809 $as_echo_n "checking for _finitef declaration... " >&6; }
57810 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57811 if ${glibcxx_cv_func__finitef_use+:} false; then :
57812 $as_echo_n "(cached) " >&6
57813 else
57816 ac_ext=cpp
57817 ac_cpp='$CXXCPP $CPPFLAGS'
57818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57823 /* end confdefs.h. */
57824 #include <math.h>
57825 #ifdef HAVE_IEEEFP_H
57826 #include <ieeefp.h>
57827 #endif
57830 main ()
57832 _finitef(0);
57834 return 0;
57836 _ACEOF
57837 if ac_fn_cxx_try_compile "$LINENO"; then :
57838 glibcxx_cv_func__finitef_use=yes
57839 else
57840 glibcxx_cv_func__finitef_use=no
57842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57843 ac_ext=c
57844 ac_cpp='$CPP $CPPFLAGS'
57845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57854 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57856 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57857 for ac_func in _finitef
57858 do :
57859 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57860 if test "x$ac_cv_func__finitef" = xyes; then :
57861 cat >>confdefs.h <<_ACEOF
57862 #define HAVE__FINITEF 1
57863 _ACEOF
57866 done
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57876 $as_echo_n "checking for long double trig functions... " >&6; }
57877 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57878 $as_echo_n "(cached) " >&6
57879 else
57882 ac_ext=cpp
57883 ac_cpp='$CXXCPP $CPPFLAGS'
57884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57889 /* end confdefs.h. */
57890 #include <math.h>
57892 main ()
57894 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func_long_double_trig_use=yes
57901 else
57902 glibcxx_cv_func_long_double_trig_use=no
57904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57905 ac_ext=c
57906 ac_cpp='$CPP $CPPFLAGS'
57907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57914 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57915 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57916 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57917 do :
57918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57920 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57921 cat >>confdefs.h <<_ACEOF
57922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57923 _ACEOF
57926 done
57928 else
57929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57930 $as_echo_n "checking for _long double trig functions... " >&6; }
57931 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57932 $as_echo_n "(cached) " >&6
57933 else
57936 ac_ext=cpp
57937 ac_cpp='$CXXCPP $CPPFLAGS'
57938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57943 /* end confdefs.h. */
57944 #include <math.h>
57946 main ()
57948 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57950 return 0;
57952 _ACEOF
57953 if ac_fn_cxx_try_compile "$LINENO"; then :
57954 glibcxx_cv_func__long_double_trig_use=yes
57955 else
57956 glibcxx_cv_func__long_double_trig_use=no
57958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57959 ac_ext=c
57960 ac_cpp='$CPP $CPPFLAGS'
57961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57968 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57969 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57970 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57971 do :
57972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57975 cat >>confdefs.h <<_ACEOF
57976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57977 _ACEOF
57980 done
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57990 $as_echo_n "checking for long double round functions... " >&6; }
57991 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57992 $as_echo_n "(cached) " >&6
57993 else
57996 ac_ext=cpp
57997 ac_cpp='$CXXCPP $CPPFLAGS'
57998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58003 /* end confdefs.h. */
58004 #include <math.h>
58006 main ()
58008 ceill (0); floorl (0);
58010 return 0;
58012 _ACEOF
58013 if ac_fn_cxx_try_compile "$LINENO"; then :
58014 glibcxx_cv_func_long_double_round_use=yes
58015 else
58016 glibcxx_cv_func_long_double_round_use=no
58018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58019 ac_ext=c
58020 ac_cpp='$CPP $CPPFLAGS'
58021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58028 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58029 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58030 for ac_func in ceill floorl
58031 do :
58032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58035 cat >>confdefs.h <<_ACEOF
58036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58037 _ACEOF
58040 done
58042 else
58043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58044 $as_echo_n "checking for _long double round functions... " >&6; }
58045 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58046 $as_echo_n "(cached) " >&6
58047 else
58050 ac_ext=cpp
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58057 /* end confdefs.h. */
58058 #include <math.h>
58060 main ()
58062 _ceill (0); _floorl (0);
58064 return 0;
58066 _ACEOF
58067 if ac_fn_cxx_try_compile "$LINENO"; then :
58068 glibcxx_cv_func__long_double_round_use=yes
58069 else
58070 glibcxx_cv_func__long_double_round_use=no
58072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58073 ac_ext=c
58074 ac_cpp='$CPP $CPPFLAGS'
58075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58082 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58083 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58084 for ac_func in _ceill _floorl
58085 do :
58086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58089 cat >>confdefs.h <<_ACEOF
58090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58091 _ACEOF
58094 done
58104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58105 $as_echo_n "checking for isnanl declaration... " >&6; }
58106 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58107 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58108 $as_echo_n "(cached) " >&6
58109 else
58112 ac_ext=cpp
58113 ac_cpp='$CXXCPP $CPPFLAGS'
58114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58119 /* end confdefs.h. */
58120 #include <math.h>
58121 #ifdef HAVE_IEEEFP_H
58122 #include <ieeefp.h>
58123 #endif
58126 main ()
58128 isnanl(0);
58130 return 0;
58132 _ACEOF
58133 if ac_fn_cxx_try_compile "$LINENO"; then :
58134 glibcxx_cv_func_isnanl_use=yes
58135 else
58136 glibcxx_cv_func_isnanl_use=no
58138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58139 ac_ext=c
58140 ac_cpp='$CPP $CPPFLAGS'
58141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58150 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58152 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58153 for ac_func in isnanl
58154 do :
58155 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58156 if test "x$ac_cv_func_isnanl" = xyes; then :
58157 cat >>confdefs.h <<_ACEOF
58158 #define HAVE_ISNANL 1
58159 _ACEOF
58162 done
58164 else
58166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58167 $as_echo_n "checking for _isnanl declaration... " >&6; }
58168 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58169 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58170 $as_echo_n "(cached) " >&6
58171 else
58174 ac_ext=cpp
58175 ac_cpp='$CXXCPP $CPPFLAGS'
58176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58181 /* end confdefs.h. */
58182 #include <math.h>
58183 #ifdef HAVE_IEEEFP_H
58184 #include <ieeefp.h>
58185 #endif
58188 main ()
58190 _isnanl(0);
58192 return 0;
58194 _ACEOF
58195 if ac_fn_cxx_try_compile "$LINENO"; then :
58196 glibcxx_cv_func__isnanl_use=yes
58197 else
58198 glibcxx_cv_func__isnanl_use=no
58200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58201 ac_ext=c
58202 ac_cpp='$CPP $CPPFLAGS'
58203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58212 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58214 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58215 for ac_func in _isnanl
58216 do :
58217 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58218 if test "x$ac_cv_func__isnanl" = xyes; then :
58219 cat >>confdefs.h <<_ACEOF
58220 #define HAVE__ISNANL 1
58221 _ACEOF
58224 done
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58234 $as_echo_n "checking for isinfl declaration... " >&6; }
58235 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58236 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58237 $as_echo_n "(cached) " >&6
58238 else
58241 ac_ext=cpp
58242 ac_cpp='$CXXCPP $CPPFLAGS'
58243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58248 /* end confdefs.h. */
58249 #include <math.h>
58250 #ifdef HAVE_IEEEFP_H
58251 #include <ieeefp.h>
58252 #endif
58255 main ()
58257 isinfl(0);
58259 return 0;
58261 _ACEOF
58262 if ac_fn_cxx_try_compile "$LINENO"; then :
58263 glibcxx_cv_func_isinfl_use=yes
58264 else
58265 glibcxx_cv_func_isinfl_use=no
58267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58268 ac_ext=c
58269 ac_cpp='$CPP $CPPFLAGS'
58270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58279 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58281 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58282 for ac_func in isinfl
58283 do :
58284 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58285 if test "x$ac_cv_func_isinfl" = xyes; then :
58286 cat >>confdefs.h <<_ACEOF
58287 #define HAVE_ISINFL 1
58288 _ACEOF
58291 done
58293 else
58295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58296 $as_echo_n "checking for _isinfl declaration... " >&6; }
58297 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58298 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58299 $as_echo_n "(cached) " >&6
58300 else
58303 ac_ext=cpp
58304 ac_cpp='$CXXCPP $CPPFLAGS'
58305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58310 /* end confdefs.h. */
58311 #include <math.h>
58312 #ifdef HAVE_IEEEFP_H
58313 #include <ieeefp.h>
58314 #endif
58317 main ()
58319 _isinfl(0);
58321 return 0;
58323 _ACEOF
58324 if ac_fn_cxx_try_compile "$LINENO"; then :
58325 glibcxx_cv_func__isinfl_use=yes
58326 else
58327 glibcxx_cv_func__isinfl_use=no
58329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58330 ac_ext=c
58331 ac_cpp='$CPP $CPPFLAGS'
58332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58341 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58343 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58344 for ac_func in _isinfl
58345 do :
58346 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58347 if test "x$ac_cv_func__isinfl" = xyes; then :
58348 cat >>confdefs.h <<_ACEOF
58349 #define HAVE__ISINFL 1
58350 _ACEOF
58353 done
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58363 $as_echo_n "checking for atan2l declaration... " >&6; }
58364 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58365 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58366 $as_echo_n "(cached) " >&6
58367 else
58370 ac_ext=cpp
58371 ac_cpp='$CXXCPP $CPPFLAGS'
58372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58377 /* end confdefs.h. */
58378 #include <math.h>
58380 main ()
58382 atan2l(0, 0);
58384 return 0;
58386 _ACEOF
58387 if ac_fn_cxx_try_compile "$LINENO"; then :
58388 glibcxx_cv_func_atan2l_use=yes
58389 else
58390 glibcxx_cv_func_atan2l_use=no
58392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58393 ac_ext=c
58394 ac_cpp='$CPP $CPPFLAGS'
58395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58404 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58406 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58407 for ac_func in atan2l
58408 do :
58409 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58410 if test "x$ac_cv_func_atan2l" = xyes; then :
58411 cat >>confdefs.h <<_ACEOF
58412 #define HAVE_ATAN2L 1
58413 _ACEOF
58416 done
58418 else
58420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58421 $as_echo_n "checking for _atan2l declaration... " >&6; }
58422 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58423 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58424 $as_echo_n "(cached) " >&6
58425 else
58428 ac_ext=cpp
58429 ac_cpp='$CXXCPP $CPPFLAGS'
58430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h. */
58436 #include <math.h>
58438 main ()
58440 _atan2l(0, 0);
58442 return 0;
58444 _ACEOF
58445 if ac_fn_cxx_try_compile "$LINENO"; then :
58446 glibcxx_cv_func__atan2l_use=yes
58447 else
58448 glibcxx_cv_func__atan2l_use=no
58450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58451 ac_ext=c
58452 ac_cpp='$CPP $CPPFLAGS'
58453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58462 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58464 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58465 for ac_func in _atan2l
58466 do :
58467 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58468 if test "x$ac_cv_func__atan2l" = xyes; then :
58469 cat >>confdefs.h <<_ACEOF
58470 #define HAVE__ATAN2L 1
58471 _ACEOF
58474 done
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58484 $as_echo_n "checking for expl declaration... " >&6; }
58485 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58486 if ${glibcxx_cv_func_expl_use+:} false; then :
58487 $as_echo_n "(cached) " >&6
58488 else
58491 ac_ext=cpp
58492 ac_cpp='$CXXCPP $CPPFLAGS'
58493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58498 /* end confdefs.h. */
58499 #include <math.h>
58500 #ifdef HAVE_IEEEFP_H
58501 #include <ieeefp.h>
58502 #endif
58505 main ()
58507 expl(0);
58509 return 0;
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func_expl_use=yes
58514 else
58515 glibcxx_cv_func_expl_use=no
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58529 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58531 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58532 for ac_func in expl
58533 do :
58534 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58535 if test "x$ac_cv_func_expl" = xyes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define HAVE_EXPL 1
58538 _ACEOF
58541 done
58543 else
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58546 $as_echo_n "checking for _expl declaration... " >&6; }
58547 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58548 if ${glibcxx_cv_func__expl_use+:} false; then :
58549 $as_echo_n "(cached) " >&6
58550 else
58553 ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h. */
58561 #include <math.h>
58562 #ifdef HAVE_IEEEFP_H
58563 #include <ieeefp.h>
58564 #endif
58567 main ()
58569 _expl(0);
58571 return 0;
58573 _ACEOF
58574 if ac_fn_cxx_try_compile "$LINENO"; then :
58575 glibcxx_cv_func__expl_use=yes
58576 else
58577 glibcxx_cv_func__expl_use=no
58579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58580 ac_ext=c
58581 ac_cpp='$CPP $CPPFLAGS'
58582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58591 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58593 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58594 for ac_func in _expl
58595 do :
58596 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58597 if test "x$ac_cv_func__expl" = xyes; then :
58598 cat >>confdefs.h <<_ACEOF
58599 #define HAVE__EXPL 1
58600 _ACEOF
58603 done
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58613 $as_echo_n "checking for fabsl declaration... " >&6; }
58614 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58615 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58616 $as_echo_n "(cached) " >&6
58617 else
58620 ac_ext=cpp
58621 ac_cpp='$CXXCPP $CPPFLAGS'
58622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <math.h>
58629 #ifdef HAVE_IEEEFP_H
58630 #include <ieeefp.h>
58631 #endif
58634 main ()
58636 fabsl(0);
58638 return 0;
58640 _ACEOF
58641 if ac_fn_cxx_try_compile "$LINENO"; then :
58642 glibcxx_cv_func_fabsl_use=yes
58643 else
58644 glibcxx_cv_func_fabsl_use=no
58646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58647 ac_ext=c
58648 ac_cpp='$CPP $CPPFLAGS'
58649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58658 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58660 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58661 for ac_func in fabsl
58662 do :
58663 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58664 if test "x$ac_cv_func_fabsl" = xyes; then :
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE_FABSL 1
58667 _ACEOF
58670 done
58672 else
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58675 $as_echo_n "checking for _fabsl declaration... " >&6; }
58676 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58677 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58678 $as_echo_n "(cached) " >&6
58679 else
58682 ac_ext=cpp
58683 ac_cpp='$CXXCPP $CPPFLAGS'
58684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58689 /* end confdefs.h. */
58690 #include <math.h>
58691 #ifdef HAVE_IEEEFP_H
58692 #include <ieeefp.h>
58693 #endif
58696 main ()
58698 _fabsl(0);
58700 return 0;
58702 _ACEOF
58703 if ac_fn_cxx_try_compile "$LINENO"; then :
58704 glibcxx_cv_func__fabsl_use=yes
58705 else
58706 glibcxx_cv_func__fabsl_use=no
58708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58709 ac_ext=c
58710 ac_cpp='$CPP $CPPFLAGS'
58711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58720 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58722 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58723 for ac_func in _fabsl
58724 do :
58725 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58726 if test "x$ac_cv_func__fabsl" = xyes; then :
58727 cat >>confdefs.h <<_ACEOF
58728 #define HAVE__FABSL 1
58729 _ACEOF
58732 done
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58742 $as_echo_n "checking for fmodl declaration... " >&6; }
58743 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58744 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58745 $as_echo_n "(cached) " >&6
58746 else
58749 ac_ext=cpp
58750 ac_cpp='$CXXCPP $CPPFLAGS'
58751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58756 /* end confdefs.h. */
58757 #include <math.h>
58759 main ()
58761 fmodl(0, 0);
58763 return 0;
58765 _ACEOF
58766 if ac_fn_cxx_try_compile "$LINENO"; then :
58767 glibcxx_cv_func_fmodl_use=yes
58768 else
58769 glibcxx_cv_func_fmodl_use=no
58771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58772 ac_ext=c
58773 ac_cpp='$CPP $CPPFLAGS'
58774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58783 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58785 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58786 for ac_func in fmodl
58787 do :
58788 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58789 if test "x$ac_cv_func_fmodl" = xyes; then :
58790 cat >>confdefs.h <<_ACEOF
58791 #define HAVE_FMODL 1
58792 _ACEOF
58795 done
58797 else
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58800 $as_echo_n "checking for _fmodl declaration... " >&6; }
58801 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58802 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58817 main ()
58819 _fmodl(0, 0);
58821 return 0;
58823 _ACEOF
58824 if ac_fn_cxx_try_compile "$LINENO"; then :
58825 glibcxx_cv_func__fmodl_use=yes
58826 else
58827 glibcxx_cv_func__fmodl_use=no
58829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58830 ac_ext=c
58831 ac_cpp='$CPP $CPPFLAGS'
58832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58841 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58843 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58844 for ac_func in _fmodl
58845 do :
58846 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58847 if test "x$ac_cv_func__fmodl" = xyes; then :
58848 cat >>confdefs.h <<_ACEOF
58849 #define HAVE__FMODL 1
58850 _ACEOF
58853 done
58862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58863 $as_echo_n "checking for frexpl declaration... " >&6; }
58864 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58865 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58866 $as_echo_n "(cached) " >&6
58867 else
58870 ac_ext=cpp
58871 ac_cpp='$CXXCPP $CPPFLAGS'
58872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58877 /* end confdefs.h. */
58878 #include <math.h>
58880 main ()
58882 frexpl(0, 0);
58884 return 0;
58886 _ACEOF
58887 if ac_fn_cxx_try_compile "$LINENO"; then :
58888 glibcxx_cv_func_frexpl_use=yes
58889 else
58890 glibcxx_cv_func_frexpl_use=no
58892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58893 ac_ext=c
58894 ac_cpp='$CPP $CPPFLAGS'
58895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58904 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58906 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58907 for ac_func in frexpl
58908 do :
58909 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58910 if test "x$ac_cv_func_frexpl" = xyes; then :
58911 cat >>confdefs.h <<_ACEOF
58912 #define HAVE_FREXPL 1
58913 _ACEOF
58916 done
58918 else
58920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58921 $as_echo_n "checking for _frexpl declaration... " >&6; }
58922 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58923 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58924 $as_echo_n "(cached) " >&6
58925 else
58928 ac_ext=cpp
58929 ac_cpp='$CXXCPP $CPPFLAGS'
58930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58935 /* end confdefs.h. */
58936 #include <math.h>
58938 main ()
58940 _frexpl(0, 0);
58942 return 0;
58944 _ACEOF
58945 if ac_fn_cxx_try_compile "$LINENO"; then :
58946 glibcxx_cv_func__frexpl_use=yes
58947 else
58948 glibcxx_cv_func__frexpl_use=no
58950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58951 ac_ext=c
58952 ac_cpp='$CPP $CPPFLAGS'
58953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58962 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58964 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58965 for ac_func in _frexpl
58966 do :
58967 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58968 if test "x$ac_cv_func__frexpl" = xyes; then :
58969 cat >>confdefs.h <<_ACEOF
58970 #define HAVE__FREXPL 1
58971 _ACEOF
58974 done
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58984 $as_echo_n "checking for hypotl declaration... " >&6; }
58985 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58986 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58987 $as_echo_n "(cached) " >&6
58988 else
58991 ac_ext=cpp
58992 ac_cpp='$CXXCPP $CPPFLAGS'
58993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h. */
58999 #include <math.h>
59001 main ()
59003 hypotl(0, 0);
59005 return 0;
59007 _ACEOF
59008 if ac_fn_cxx_try_compile "$LINENO"; then :
59009 glibcxx_cv_func_hypotl_use=yes
59010 else
59011 glibcxx_cv_func_hypotl_use=no
59013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59014 ac_ext=c
59015 ac_cpp='$CPP $CPPFLAGS'
59016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59025 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59027 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59028 for ac_func in hypotl
59029 do :
59030 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59031 if test "x$ac_cv_func_hypotl" = xyes; then :
59032 cat >>confdefs.h <<_ACEOF
59033 #define HAVE_HYPOTL 1
59034 _ACEOF
59037 done
59039 else
59041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59042 $as_echo_n "checking for _hypotl declaration... " >&6; }
59043 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59044 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59045 $as_echo_n "(cached) " >&6
59046 else
59049 ac_ext=cpp
59050 ac_cpp='$CXXCPP $CPPFLAGS'
59051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59056 /* end confdefs.h. */
59057 #include <math.h>
59059 main ()
59061 _hypotl(0, 0);
59063 return 0;
59065 _ACEOF
59066 if ac_fn_cxx_try_compile "$LINENO"; then :
59067 glibcxx_cv_func__hypotl_use=yes
59068 else
59069 glibcxx_cv_func__hypotl_use=no
59071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59072 ac_ext=c
59073 ac_cpp='$CPP $CPPFLAGS'
59074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59083 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59085 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59086 for ac_func in _hypotl
59087 do :
59088 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59089 if test "x$ac_cv_func__hypotl" = xyes; then :
59090 cat >>confdefs.h <<_ACEOF
59091 #define HAVE__HYPOTL 1
59092 _ACEOF
59095 done
59104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59105 $as_echo_n "checking for ldexpl declaration... " >&6; }
59106 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59107 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59108 $as_echo_n "(cached) " >&6
59109 else
59112 ac_ext=cpp
59113 ac_cpp='$CXXCPP $CPPFLAGS'
59114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59119 /* end confdefs.h. */
59120 #include <math.h>
59122 main ()
59124 ldexpl(0, 0);
59126 return 0;
59128 _ACEOF
59129 if ac_fn_cxx_try_compile "$LINENO"; then :
59130 glibcxx_cv_func_ldexpl_use=yes
59131 else
59132 glibcxx_cv_func_ldexpl_use=no
59134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59135 ac_ext=c
59136 ac_cpp='$CPP $CPPFLAGS'
59137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59146 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59148 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59149 for ac_func in ldexpl
59150 do :
59151 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59152 if test "x$ac_cv_func_ldexpl" = xyes; then :
59153 cat >>confdefs.h <<_ACEOF
59154 #define HAVE_LDEXPL 1
59155 _ACEOF
59158 done
59160 else
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59163 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59164 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59165 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59166 $as_echo_n "(cached) " >&6
59167 else
59170 ac_ext=cpp
59171 ac_cpp='$CXXCPP $CPPFLAGS'
59172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59177 /* end confdefs.h. */
59178 #include <math.h>
59180 main ()
59182 _ldexpl(0, 0);
59184 return 0;
59186 _ACEOF
59187 if ac_fn_cxx_try_compile "$LINENO"; then :
59188 glibcxx_cv_func__ldexpl_use=yes
59189 else
59190 glibcxx_cv_func__ldexpl_use=no
59192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59193 ac_ext=c
59194 ac_cpp='$CPP $CPPFLAGS'
59195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59204 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59206 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59207 for ac_func in _ldexpl
59208 do :
59209 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59210 if test "x$ac_cv_func__ldexpl" = xyes; then :
59211 cat >>confdefs.h <<_ACEOF
59212 #define HAVE__LDEXPL 1
59213 _ACEOF
59216 done
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59226 $as_echo_n "checking for logl declaration... " >&6; }
59227 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59228 if ${glibcxx_cv_func_logl_use+:} false; then :
59229 $as_echo_n "(cached) " >&6
59230 else
59233 ac_ext=cpp
59234 ac_cpp='$CXXCPP $CPPFLAGS'
59235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59240 /* end confdefs.h. */
59241 #include <math.h>
59242 #ifdef HAVE_IEEEFP_H
59243 #include <ieeefp.h>
59244 #endif
59247 main ()
59249 logl(0);
59251 return 0;
59253 _ACEOF
59254 if ac_fn_cxx_try_compile "$LINENO"; then :
59255 glibcxx_cv_func_logl_use=yes
59256 else
59257 glibcxx_cv_func_logl_use=no
59259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59260 ac_ext=c
59261 ac_cpp='$CPP $CPPFLAGS'
59262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59271 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59274 for ac_func in logl
59275 do :
59276 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59277 if test "x$ac_cv_func_logl" = xyes; then :
59278 cat >>confdefs.h <<_ACEOF
59279 #define HAVE_LOGL 1
59280 _ACEOF
59283 done
59285 else
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59288 $as_echo_n "checking for _logl declaration... " >&6; }
59289 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59290 if ${glibcxx_cv_func__logl_use+:} false; then :
59291 $as_echo_n "(cached) " >&6
59292 else
59295 ac_ext=cpp
59296 ac_cpp='$CXXCPP $CPPFLAGS'
59297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59302 /* end confdefs.h. */
59303 #include <math.h>
59304 #ifdef HAVE_IEEEFP_H
59305 #include <ieeefp.h>
59306 #endif
59309 main ()
59311 _logl(0);
59313 return 0;
59315 _ACEOF
59316 if ac_fn_cxx_try_compile "$LINENO"; then :
59317 glibcxx_cv_func__logl_use=yes
59318 else
59319 glibcxx_cv_func__logl_use=no
59321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59322 ac_ext=c
59323 ac_cpp='$CPP $CPPFLAGS'
59324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59333 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59335 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59336 for ac_func in _logl
59337 do :
59338 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59339 if test "x$ac_cv_func__logl" = xyes; then :
59340 cat >>confdefs.h <<_ACEOF
59341 #define HAVE__LOGL 1
59342 _ACEOF
59345 done
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59355 $as_echo_n "checking for log10l declaration... " >&6; }
59356 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59357 if ${glibcxx_cv_func_log10l_use+:} false; then :
59358 $as_echo_n "(cached) " >&6
59359 else
59362 ac_ext=cpp
59363 ac_cpp='$CXXCPP $CPPFLAGS'
59364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59369 /* end confdefs.h. */
59370 #include <math.h>
59371 #ifdef HAVE_IEEEFP_H
59372 #include <ieeefp.h>
59373 #endif
59376 main ()
59378 log10l(0);
59380 return 0;
59382 _ACEOF
59383 if ac_fn_cxx_try_compile "$LINENO"; then :
59384 glibcxx_cv_func_log10l_use=yes
59385 else
59386 glibcxx_cv_func_log10l_use=no
59388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59389 ac_ext=c
59390 ac_cpp='$CPP $CPPFLAGS'
59391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59400 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59402 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59403 for ac_func in log10l
59404 do :
59405 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59406 if test "x$ac_cv_func_log10l" = xyes; then :
59407 cat >>confdefs.h <<_ACEOF
59408 #define HAVE_LOG10L 1
59409 _ACEOF
59412 done
59414 else
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59417 $as_echo_n "checking for _log10l declaration... " >&6; }
59418 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59419 if ${glibcxx_cv_func__log10l_use+:} false; then :
59420 $as_echo_n "(cached) " >&6
59421 else
59424 ac_ext=cpp
59425 ac_cpp='$CXXCPP $CPPFLAGS'
59426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59431 /* end confdefs.h. */
59432 #include <math.h>
59433 #ifdef HAVE_IEEEFP_H
59434 #include <ieeefp.h>
59435 #endif
59438 main ()
59440 _log10l(0);
59442 return 0;
59444 _ACEOF
59445 if ac_fn_cxx_try_compile "$LINENO"; then :
59446 glibcxx_cv_func__log10l_use=yes
59447 else
59448 glibcxx_cv_func__log10l_use=no
59450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59451 ac_ext=c
59452 ac_cpp='$CPP $CPPFLAGS'
59453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59462 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59464 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59465 for ac_func in _log10l
59466 do :
59467 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59468 if test "x$ac_cv_func__log10l" = xyes; then :
59469 cat >>confdefs.h <<_ACEOF
59470 #define HAVE__LOG10L 1
59471 _ACEOF
59474 done
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59484 $as_echo_n "checking for modfl declaration... " >&6; }
59485 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59486 if ${glibcxx_cv_func_modfl_use+:} false; then :
59487 $as_echo_n "(cached) " >&6
59488 else
59491 ac_ext=cpp
59492 ac_cpp='$CXXCPP $CPPFLAGS'
59493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59498 /* end confdefs.h. */
59499 #include <math.h>
59501 main ()
59503 modfl(0, 0);
59505 return 0;
59507 _ACEOF
59508 if ac_fn_cxx_try_compile "$LINENO"; then :
59509 glibcxx_cv_func_modfl_use=yes
59510 else
59511 glibcxx_cv_func_modfl_use=no
59513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59514 ac_ext=c
59515 ac_cpp='$CPP $CPPFLAGS'
59516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59525 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59527 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59528 for ac_func in modfl
59529 do :
59530 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59531 if test "x$ac_cv_func_modfl" = xyes; then :
59532 cat >>confdefs.h <<_ACEOF
59533 #define HAVE_MODFL 1
59534 _ACEOF
59537 done
59539 else
59541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59542 $as_echo_n "checking for _modfl declaration... " >&6; }
59543 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59544 if ${glibcxx_cv_func__modfl_use+:} false; then :
59545 $as_echo_n "(cached) " >&6
59546 else
59549 ac_ext=cpp
59550 ac_cpp='$CXXCPP $CPPFLAGS'
59551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59556 /* end confdefs.h. */
59557 #include <math.h>
59559 main ()
59561 _modfl(0, 0);
59563 return 0;
59565 _ACEOF
59566 if ac_fn_cxx_try_compile "$LINENO"; then :
59567 glibcxx_cv_func__modfl_use=yes
59568 else
59569 glibcxx_cv_func__modfl_use=no
59571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59572 ac_ext=c
59573 ac_cpp='$CPP $CPPFLAGS'
59574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59583 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59585 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59586 for ac_func in _modfl
59587 do :
59588 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59589 if test "x$ac_cv_func__modfl" = xyes; then :
59590 cat >>confdefs.h <<_ACEOF
59591 #define HAVE__MODFL 1
59592 _ACEOF
59595 done
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59605 $as_echo_n "checking for powl declaration... " >&6; }
59606 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59607 if ${glibcxx_cv_func_powl_use+:} false; then :
59608 $as_echo_n "(cached) " >&6
59609 else
59612 ac_ext=cpp
59613 ac_cpp='$CXXCPP $CPPFLAGS'
59614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59619 /* end confdefs.h. */
59620 #include <math.h>
59622 main ()
59624 powl(0, 0);
59626 return 0;
59628 _ACEOF
59629 if ac_fn_cxx_try_compile "$LINENO"; then :
59630 glibcxx_cv_func_powl_use=yes
59631 else
59632 glibcxx_cv_func_powl_use=no
59634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59635 ac_ext=c
59636 ac_cpp='$CPP $CPPFLAGS'
59637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59646 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59648 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59649 for ac_func in powl
59650 do :
59651 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59652 if test "x$ac_cv_func_powl" = xyes; then :
59653 cat >>confdefs.h <<_ACEOF
59654 #define HAVE_POWL 1
59655 _ACEOF
59658 done
59660 else
59662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59663 $as_echo_n "checking for _powl declaration... " >&6; }
59664 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59665 if ${glibcxx_cv_func__powl_use+:} false; then :
59666 $as_echo_n "(cached) " >&6
59667 else
59670 ac_ext=cpp
59671 ac_cpp='$CXXCPP $CPPFLAGS'
59672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59677 /* end confdefs.h. */
59678 #include <math.h>
59680 main ()
59682 _powl(0, 0);
59684 return 0;
59686 _ACEOF
59687 if ac_fn_cxx_try_compile "$LINENO"; then :
59688 glibcxx_cv_func__powl_use=yes
59689 else
59690 glibcxx_cv_func__powl_use=no
59692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59693 ac_ext=c
59694 ac_cpp='$CPP $CPPFLAGS'
59695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59704 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59706 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59707 for ac_func in _powl
59708 do :
59709 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59710 if test "x$ac_cv_func__powl" = xyes; then :
59711 cat >>confdefs.h <<_ACEOF
59712 #define HAVE__POWL 1
59713 _ACEOF
59716 done
59725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59726 $as_echo_n "checking for sqrtl declaration... " >&6; }
59727 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59728 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59729 $as_echo_n "(cached) " >&6
59730 else
59733 ac_ext=cpp
59734 ac_cpp='$CXXCPP $CPPFLAGS'
59735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59740 /* end confdefs.h. */
59741 #include <math.h>
59742 #ifdef HAVE_IEEEFP_H
59743 #include <ieeefp.h>
59744 #endif
59747 main ()
59749 sqrtl(0);
59751 return 0;
59753 _ACEOF
59754 if ac_fn_cxx_try_compile "$LINENO"; then :
59755 glibcxx_cv_func_sqrtl_use=yes
59756 else
59757 glibcxx_cv_func_sqrtl_use=no
59759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59760 ac_ext=c
59761 ac_cpp='$CPP $CPPFLAGS'
59762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59771 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59773 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59774 for ac_func in sqrtl
59775 do :
59776 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59777 if test "x$ac_cv_func_sqrtl" = xyes; then :
59778 cat >>confdefs.h <<_ACEOF
59779 #define HAVE_SQRTL 1
59780 _ACEOF
59783 done
59785 else
59787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59788 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59789 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59790 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59791 $as_echo_n "(cached) " >&6
59792 else
59795 ac_ext=cpp
59796 ac_cpp='$CXXCPP $CPPFLAGS'
59797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59802 /* end confdefs.h. */
59803 #include <math.h>
59804 #ifdef HAVE_IEEEFP_H
59805 #include <ieeefp.h>
59806 #endif
59809 main ()
59811 _sqrtl(0);
59813 return 0;
59815 _ACEOF
59816 if ac_fn_cxx_try_compile "$LINENO"; then :
59817 glibcxx_cv_func__sqrtl_use=yes
59818 else
59819 glibcxx_cv_func__sqrtl_use=no
59821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59822 ac_ext=c
59823 ac_cpp='$CPP $CPPFLAGS'
59824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59833 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59835 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59836 for ac_func in _sqrtl
59837 do :
59838 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59839 if test "x$ac_cv_func__sqrtl" = xyes; then :
59840 cat >>confdefs.h <<_ACEOF
59841 #define HAVE__SQRTL 1
59842 _ACEOF
59845 done
59854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59855 $as_echo_n "checking for sincosl declaration... " >&6; }
59856 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59857 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59858 $as_echo_n "(cached) " >&6
59859 else
59862 ac_ext=cpp
59863 ac_cpp='$CXXCPP $CPPFLAGS'
59864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59869 /* end confdefs.h. */
59870 #include <math.h>
59872 main ()
59874 sincosl(0, 0, 0);
59876 return 0;
59878 _ACEOF
59879 if ac_fn_cxx_try_compile "$LINENO"; then :
59880 glibcxx_cv_func_sincosl_use=yes
59881 else
59882 glibcxx_cv_func_sincosl_use=no
59884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59885 ac_ext=c
59886 ac_cpp='$CPP $CPPFLAGS'
59887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59896 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59898 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59899 for ac_func in sincosl
59900 do :
59901 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59902 if test "x$ac_cv_func_sincosl" = xyes; then :
59903 cat >>confdefs.h <<_ACEOF
59904 #define HAVE_SINCOSL 1
59905 _ACEOF
59908 done
59910 else
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59913 $as_echo_n "checking for _sincosl declaration... " >&6; }
59914 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59915 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59916 $as_echo_n "(cached) " >&6
59917 else
59920 ac_ext=cpp
59921 ac_cpp='$CXXCPP $CPPFLAGS'
59922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59927 /* end confdefs.h. */
59928 #include <math.h>
59930 main ()
59932 _sincosl(0, 0, 0);
59934 return 0;
59936 _ACEOF
59937 if ac_fn_cxx_try_compile "$LINENO"; then :
59938 glibcxx_cv_func__sincosl_use=yes
59939 else
59940 glibcxx_cv_func__sincosl_use=no
59942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59943 ac_ext=c
59944 ac_cpp='$CPP $CPPFLAGS'
59945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59954 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59956 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59957 for ac_func in _sincosl
59958 do :
59959 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59960 if test "x$ac_cv_func__sincosl" = xyes; then :
59961 cat >>confdefs.h <<_ACEOF
59962 #define HAVE__SINCOSL 1
59963 _ACEOF
59966 done
59975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59976 $as_echo_n "checking for finitel declaration... " >&6; }
59977 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59978 if ${glibcxx_cv_func_finitel_use+:} false; then :
59979 $as_echo_n "(cached) " >&6
59980 else
59983 ac_ext=cpp
59984 ac_cpp='$CXXCPP $CPPFLAGS'
59985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59990 /* end confdefs.h. */
59991 #include <math.h>
59992 #ifdef HAVE_IEEEFP_H
59993 #include <ieeefp.h>
59994 #endif
59997 main ()
59999 finitel(0);
60001 return 0;
60003 _ACEOF
60004 if ac_fn_cxx_try_compile "$LINENO"; then :
60005 glibcxx_cv_func_finitel_use=yes
60006 else
60007 glibcxx_cv_func_finitel_use=no
60009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60010 ac_ext=c
60011 ac_cpp='$CPP $CPPFLAGS'
60012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60021 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60023 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60024 for ac_func in finitel
60025 do :
60026 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60027 if test "x$ac_cv_func_finitel" = xyes; then :
60028 cat >>confdefs.h <<_ACEOF
60029 #define HAVE_FINITEL 1
60030 _ACEOF
60033 done
60035 else
60037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60038 $as_echo_n "checking for _finitel declaration... " >&6; }
60039 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60040 if ${glibcxx_cv_func__finitel_use+:} false; then :
60041 $as_echo_n "(cached) " >&6
60042 else
60045 ac_ext=cpp
60046 ac_cpp='$CXXCPP $CPPFLAGS'
60047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60052 /* end confdefs.h. */
60053 #include <math.h>
60054 #ifdef HAVE_IEEEFP_H
60055 #include <ieeefp.h>
60056 #endif
60059 main ()
60061 _finitel(0);
60063 return 0;
60065 _ACEOF
60066 if ac_fn_cxx_try_compile "$LINENO"; then :
60067 glibcxx_cv_func__finitel_use=yes
60068 else
60069 glibcxx_cv_func__finitel_use=no
60071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60072 ac_ext=c
60073 ac_cpp='$CPP $CPPFLAGS'
60074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60083 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60085 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60086 for ac_func in _finitel
60087 do :
60088 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60089 if test "x$ac_cv_func__finitel" = xyes; then :
60090 cat >>confdefs.h <<_ACEOF
60091 #define HAVE__FINITEL 1
60092 _ACEOF
60095 done
60103 LIBS="$ac_save_LIBS"
60104 CXXFLAGS="$ac_save_CXXFLAGS"
60107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60108 ac_save_CXXFLAGS="$CXXFLAGS"
60109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60113 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60114 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60115 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60116 $as_echo_n "(cached) " >&6
60117 else
60120 ac_ext=cpp
60121 ac_cpp='$CXXCPP $CPPFLAGS'
60122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60127 /* end confdefs.h. */
60128 #include <stdlib.h>
60130 main ()
60132 at_quick_exit(0);
60134 return 0;
60136 _ACEOF
60137 if ac_fn_cxx_try_compile "$LINENO"; then :
60138 glibcxx_cv_func_at_quick_exit_use=yes
60139 else
60140 glibcxx_cv_func_at_quick_exit_use=no
60142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60143 ac_ext=c
60144 ac_cpp='$CPP $CPPFLAGS'
60145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60154 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60155 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60156 for ac_func in at_quick_exit
60157 do :
60158 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60159 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60160 cat >>confdefs.h <<_ACEOF
60161 #define HAVE_AT_QUICK_EXIT 1
60162 _ACEOF
60165 done
60170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60171 $as_echo_n "checking for quick_exit declaration... " >&6; }
60172 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60173 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60174 $as_echo_n "(cached) " >&6
60175 else
60178 ac_ext=cpp
60179 ac_cpp='$CXXCPP $CPPFLAGS'
60180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60185 /* end confdefs.h. */
60186 #include <stdlib.h>
60188 main ()
60190 quick_exit(0);
60192 return 0;
60194 _ACEOF
60195 if ac_fn_cxx_try_compile "$LINENO"; then :
60196 glibcxx_cv_func_quick_exit_use=yes
60197 else
60198 glibcxx_cv_func_quick_exit_use=no
60200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60201 ac_ext=c
60202 ac_cpp='$CPP $CPPFLAGS'
60203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60212 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60213 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60214 for ac_func in quick_exit
60215 do :
60216 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60217 if test "x$ac_cv_func_quick_exit" = xyes; then :
60218 cat >>confdefs.h <<_ACEOF
60219 #define HAVE_QUICK_EXIT 1
60220 _ACEOF
60223 done
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60229 $as_echo_n "checking for strtold declaration... " >&6; }
60230 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60231 if ${glibcxx_cv_func_strtold_use+:} false; then :
60232 $as_echo_n "(cached) " >&6
60233 else
60236 ac_ext=cpp
60237 ac_cpp='$CXXCPP $CPPFLAGS'
60238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60243 /* end confdefs.h. */
60244 #include <stdlib.h>
60246 main ()
60248 strtold(0, 0);
60250 return 0;
60252 _ACEOF
60253 if ac_fn_cxx_try_compile "$LINENO"; then :
60254 glibcxx_cv_func_strtold_use=yes
60255 else
60256 glibcxx_cv_func_strtold_use=no
60258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60259 ac_ext=c
60260 ac_cpp='$CPP $CPPFLAGS'
60261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60270 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60271 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60272 for ac_func in strtold
60273 do :
60274 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60275 if test "x$ac_cv_func_strtold" = xyes; then :
60276 cat >>confdefs.h <<_ACEOF
60277 #define HAVE_STRTOLD 1
60278 _ACEOF
60281 done
60288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60289 $as_echo_n "checking for strtof declaration... " >&6; }
60290 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60291 if ${glibcxx_cv_func_strtof_use+:} false; then :
60292 $as_echo_n "(cached) " >&6
60293 else
60296 ac_ext=cpp
60297 ac_cpp='$CXXCPP $CPPFLAGS'
60298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60303 /* end confdefs.h. */
60304 #include <stdlib.h>
60306 main ()
60308 strtof(0, 0);
60310 return 0;
60312 _ACEOF
60313 if ac_fn_cxx_try_compile "$LINENO"; then :
60314 glibcxx_cv_func_strtof_use=yes
60315 else
60316 glibcxx_cv_func_strtof_use=no
60318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60319 ac_ext=c
60320 ac_cpp='$CPP $CPPFLAGS'
60321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60330 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60331 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60332 for ac_func in strtof
60333 do :
60334 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60335 if test "x$ac_cv_func_strtof" = xyes; then :
60336 cat >>confdefs.h <<_ACEOF
60337 #define HAVE_STRTOF 1
60338 _ACEOF
60341 done
60348 CXXFLAGS="$ac_save_CXXFLAGS"
60350 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60351 do :
60352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60354 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60355 cat >>confdefs.h <<_ACEOF
60356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60357 _ACEOF
60360 done
60362 for ac_func in _wfopen
60363 do :
60364 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60365 if test "x$ac_cv_func__wfopen" = xyes; then :
60366 cat >>confdefs.h <<_ACEOF
60367 #define HAVE__WFOPEN 1
60368 _ACEOF
60371 done
60375 # Check whether --enable-tls was given.
60376 if test "${enable_tls+set}" = set; then :
60377 enableval=$enable_tls;
60378 case "$enableval" in
60379 yes|no) ;;
60380 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60381 esac
60383 else
60384 enable_tls=yes
60388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60389 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60390 if ${gcc_cv_have_tls+:} false; then :
60391 $as_echo_n "(cached) " >&6
60392 else
60394 if test "$cross_compiling" = yes; then :
60395 if test x$gcc_no_link = xyes; then
60396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60399 /* end confdefs.h. */
60400 __thread int a; int b; int main() { return a = b; }
60401 _ACEOF
60402 if ac_fn_c_try_link "$LINENO"; then :
60403 chktls_save_LDFLAGS="$LDFLAGS"
60404 case $host in
60405 *-*-linux* | -*-uclinuxfdpic*)
60406 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60408 esac
60409 chktls_save_CFLAGS="$CFLAGS"
60410 CFLAGS="-fPIC $CFLAGS"
60411 if test x$gcc_no_link = xyes; then
60412 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60415 /* end confdefs.h. */
60416 int f() { return 0; }
60417 _ACEOF
60418 if ac_fn_c_try_link "$LINENO"; then :
60419 if test x$gcc_no_link = xyes; then
60420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60423 /* end confdefs.h. */
60424 __thread int a; int b; int f() { return a = b; }
60425 _ACEOF
60426 if ac_fn_c_try_link "$LINENO"; then :
60427 gcc_cv_have_tls=yes
60428 else
60429 gcc_cv_have_tls=no
60431 rm -f core conftest.err conftest.$ac_objext \
60432 conftest$ac_exeext conftest.$ac_ext
60433 else
60434 gcc_cv_have_tls=yes
60436 rm -f core conftest.err conftest.$ac_objext \
60437 conftest$ac_exeext conftest.$ac_ext
60438 CFLAGS="$chktls_save_CFLAGS"
60439 LDFLAGS="$chktls_save_LDFLAGS"
60440 else
60441 gcc_cv_have_tls=no
60443 rm -f core conftest.err conftest.$ac_objext \
60444 conftest$ac_exeext conftest.$ac_ext
60447 else
60448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60449 /* end confdefs.h. */
60450 __thread int a; int b; int main() { return a = b; }
60451 _ACEOF
60452 if ac_fn_c_try_run "$LINENO"; then :
60453 chktls_save_LDFLAGS="$LDFLAGS"
60454 LDFLAGS="-static $LDFLAGS"
60455 if test x$gcc_no_link = xyes; then
60456 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60459 /* end confdefs.h. */
60460 int main() { return 0; }
60461 _ACEOF
60462 if ac_fn_c_try_link "$LINENO"; then :
60463 if test "$cross_compiling" = yes; then :
60464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60466 as_fn_error $? "cannot run test program while cross compiling
60467 See \`config.log' for more details" "$LINENO" 5; }
60468 else
60469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60470 /* end confdefs.h. */
60471 __thread int a; int b; int main() { return a = b; }
60472 _ACEOF
60473 if ac_fn_c_try_run "$LINENO"; then :
60474 gcc_cv_have_tls=yes
60475 else
60476 gcc_cv_have_tls=no
60478 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60479 conftest.$ac_objext conftest.beam conftest.$ac_ext
60482 else
60483 gcc_cv_have_tls=yes
60485 rm -f core conftest.err conftest.$ac_objext \
60486 conftest$ac_exeext conftest.$ac_ext
60487 LDFLAGS="$chktls_save_LDFLAGS"
60488 if test $gcc_cv_have_tls = yes; then
60489 chktls_save_CFLAGS="$CFLAGS"
60490 thread_CFLAGS=failed
60491 for flag in '' '-pthread' '-lpthread'; do
60492 CFLAGS="$flag $chktls_save_CFLAGS"
60493 if test x$gcc_no_link = xyes; then
60494 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60497 /* end confdefs.h. */
60498 #include <pthread.h>
60499 void *g(void *d) { return NULL; }
60501 main ()
60503 pthread_t t; pthread_create(&t,NULL,g,NULL);
60505 return 0;
60507 _ACEOF
60508 if ac_fn_c_try_link "$LINENO"; then :
60509 thread_CFLAGS="$flag"
60511 rm -f core conftest.err conftest.$ac_objext \
60512 conftest$ac_exeext conftest.$ac_ext
60513 if test "X$thread_CFLAGS" != Xfailed; then
60514 break
60516 done
60517 CFLAGS="$chktls_save_CFLAGS"
60518 if test "X$thread_CFLAGS" != Xfailed; then
60519 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60520 if test "$cross_compiling" = yes; then :
60521 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60522 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60523 as_fn_error $? "cannot run test program while cross compiling
60524 See \`config.log' for more details" "$LINENO" 5; }
60525 else
60526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60527 /* end confdefs.h. */
60528 #include <pthread.h>
60529 __thread int a;
60530 static int *volatile a_in_other_thread;
60531 static void *
60532 thread_func (void *arg)
60534 a_in_other_thread = &a;
60535 return (void *)0;
60538 main ()
60540 pthread_t thread;
60541 void *thread_retval;
60542 int *volatile a_in_main_thread;
60543 a_in_main_thread = &a;
60544 if (pthread_create (&thread, (pthread_attr_t *)0,
60545 thread_func, (void *)0))
60546 return 0;
60547 if (pthread_join (thread, &thread_retval))
60548 return 0;
60549 return (a_in_other_thread == a_in_main_thread);
60551 return 0;
60553 _ACEOF
60554 if ac_fn_c_try_run "$LINENO"; then :
60555 gcc_cv_have_tls=yes
60556 else
60557 gcc_cv_have_tls=no
60559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60560 conftest.$ac_objext conftest.beam conftest.$ac_ext
60563 CFLAGS="$chktls_save_CFLAGS"
60566 else
60567 gcc_cv_have_tls=no
60569 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60570 conftest.$ac_objext conftest.beam conftest.$ac_ext
60574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60575 $as_echo "$gcc_cv_have_tls" >&6; }
60576 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60578 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60582 *-netbsd* | *-openbsd*)
60583 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60586 # If we're not using GNU ld, then there's no point in even trying these
60587 # tests. Check for that first. We should have already tested for gld
60588 # by now (in libtool), but require it now just to be safe...
60589 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60590 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60594 # The name set by libtool depends on the version of libtool. Shame on us
60595 # for depending on an impl detail, but c'est la vie. Older versions used
60596 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60597 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60598 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60599 # set (hence we're using an older libtool), then set it.
60600 if test x${with_gnu_ld+set} != xset; then
60601 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60602 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60603 with_gnu_ld=no
60604 else
60605 with_gnu_ld=$ac_cv_prog_gnu_ld
60609 # Start by getting the version number. I think the libtool test already
60610 # does some of this, but throws away the result.
60611 glibcxx_ld_is_gold=no
60612 glibcxx_ld_is_mold=no
60613 if test x"$with_gnu_ld" = x"yes"; then
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60615 $as_echo_n "checking for ld version... " >&6; }
60617 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60618 glibcxx_ld_is_gold=yes
60619 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60620 glibcxx_ld_is_mold=yes
60622 ldver=`$LD --version 2>/dev/null |
60623 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60625 glibcxx_gnu_ld_version=`echo $ldver | \
60626 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60628 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60631 # Set --gc-sections.
60632 glibcxx_have_gc_sections=no
60633 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60634 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60635 glibcxx_have_gc_sections=yes
60637 else
60638 glibcxx_gcsections_min_ld=21602
60639 if test x"$with_gnu_ld" = x"yes" &&
60640 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60641 glibcxx_have_gc_sections=yes
60644 if test "$glibcxx_have_gc_sections" = "yes"; then
60645 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60646 # NB: This flag only works reliably after 2.16.1. Configure tests
60647 # for this are difficult, so hard wire a value that should work.
60649 ac_test_CFLAGS="${CFLAGS+set}"
60650 ac_save_CFLAGS="$CFLAGS"
60651 CFLAGS='-Wl,--gc-sections'
60653 # Check for -Wl,--gc-sections
60654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60655 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60656 if test x$gcc_no_link = xyes; then
60657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60660 /* end confdefs.h. */
60661 int one(void) { return 1; }
60662 int two(void) { return 2; }
60665 main ()
60667 two();
60669 return 0;
60671 _ACEOF
60672 if ac_fn_c_try_link "$LINENO"; then :
60673 ac_gcsections=yes
60674 else
60675 ac_gcsections=no
60677 rm -f core conftest.err conftest.$ac_objext \
60678 conftest$ac_exeext conftest.$ac_ext
60679 if test "$ac_gcsections" = "yes"; then
60680 rm -f conftest.c
60681 touch conftest.c
60682 if $CC -c conftest.c; then
60683 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60684 grep "Warning: gc-sections option ignored" > /dev/null; then
60685 ac_gcsections=no
60688 rm -f conftest.c conftest.o conftest
60690 if test "$ac_gcsections" = "yes"; then
60691 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60694 $as_echo "$ac_gcsections" >&6; }
60696 if test "$ac_test_CFLAGS" = set; then
60697 CFLAGS="$ac_save_CFLAGS"
60698 else
60699 # this is the suspicious part
60700 CFLAGS=''
60704 # Set -z,relro.
60705 # Note this is only for shared objects.
60706 ac_ld_relro=no
60707 if test x"$with_gnu_ld" = x"yes"; then
60708 # cygwin and mingw uses PE, which has no ELF relro support,
60709 # multi target ld may confuse configure machinery
60710 case "$host" in
60711 *-*-cygwin*)
60713 *-*-mingw*)
60716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60717 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60718 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60719 if test -n "$cxx_z_relo"; then
60720 OPT_LDFLAGS="-Wl,-z,relro"
60721 ac_ld_relro=yes
60723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60724 $as_echo "$ac_ld_relro" >&6; }
60725 esac
60728 # Set linker optimization flags.
60729 if test x"$with_gnu_ld" = x"yes"; then
60730 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60736 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60738 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60740 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60742 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60744 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60746 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60748 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60750 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60752 if test x"long_double_math_on_this_cpu" = x"yes"; then
60753 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60755 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60757 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60760 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60761 do :
60762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60765 cat >>confdefs.h <<_ACEOF
60766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60767 _ACEOF
60770 done
60772 for ac_func in timespec_get
60773 do :
60774 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60775 if test "x$ac_cv_func_timespec_get" = xyes; then :
60776 cat >>confdefs.h <<_ACEOF
60777 #define HAVE_TIMESPEC_GET 1
60778 _ACEOF
60781 done
60783 for ac_func in sockatmark
60784 do :
60785 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60786 if test "x$ac_cv_func_sockatmark" = xyes; then :
60787 cat >>confdefs.h <<_ACEOF
60788 #define HAVE_SOCKATMARK 1
60789 _ACEOF
60792 done
60795 *-qnx6.1* | *-qnx6.2*)
60796 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60799 # If we're not using GNU ld, then there's no point in even trying these
60800 # tests. Check for that first. We should have already tested for gld
60801 # by now (in libtool), but require it now just to be safe...
60802 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60803 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60807 # The name set by libtool depends on the version of libtool. Shame on us
60808 # for depending on an impl detail, but c'est la vie. Older versions used
60809 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60810 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60811 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60812 # set (hence we're using an older libtool), then set it.
60813 if test x${with_gnu_ld+set} != xset; then
60814 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60815 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60816 with_gnu_ld=no
60817 else
60818 with_gnu_ld=$ac_cv_prog_gnu_ld
60822 # Start by getting the version number. I think the libtool test already
60823 # does some of this, but throws away the result.
60824 glibcxx_ld_is_gold=no
60825 glibcxx_ld_is_mold=no
60826 if test x"$with_gnu_ld" = x"yes"; then
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60828 $as_echo_n "checking for ld version... " >&6; }
60830 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60831 glibcxx_ld_is_gold=yes
60832 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
60833 glibcxx_ld_is_mold=yes
60835 ldver=`$LD --version 2>/dev/null |
60836 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60838 glibcxx_gnu_ld_version=`echo $ldver | \
60839 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60841 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60844 # Set --gc-sections.
60845 glibcxx_have_gc_sections=no
60846 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
60847 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60848 glibcxx_have_gc_sections=yes
60850 else
60851 glibcxx_gcsections_min_ld=21602
60852 if test x"$with_gnu_ld" = x"yes" &&
60853 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60854 glibcxx_have_gc_sections=yes
60857 if test "$glibcxx_have_gc_sections" = "yes"; then
60858 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60859 # NB: This flag only works reliably after 2.16.1. Configure tests
60860 # for this are difficult, so hard wire a value that should work.
60862 ac_test_CFLAGS="${CFLAGS+set}"
60863 ac_save_CFLAGS="$CFLAGS"
60864 CFLAGS='-Wl,--gc-sections'
60866 # Check for -Wl,--gc-sections
60867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60868 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60869 if test x$gcc_no_link = xyes; then
60870 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60873 /* end confdefs.h. */
60874 int one(void) { return 1; }
60875 int two(void) { return 2; }
60878 main ()
60880 two();
60882 return 0;
60884 _ACEOF
60885 if ac_fn_c_try_link "$LINENO"; then :
60886 ac_gcsections=yes
60887 else
60888 ac_gcsections=no
60890 rm -f core conftest.err conftest.$ac_objext \
60891 conftest$ac_exeext conftest.$ac_ext
60892 if test "$ac_gcsections" = "yes"; then
60893 rm -f conftest.c
60894 touch conftest.c
60895 if $CC -c conftest.c; then
60896 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60897 grep "Warning: gc-sections option ignored" > /dev/null; then
60898 ac_gcsections=no
60901 rm -f conftest.c conftest.o conftest
60903 if test "$ac_gcsections" = "yes"; then
60904 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60907 $as_echo "$ac_gcsections" >&6; }
60909 if test "$ac_test_CFLAGS" = set; then
60910 CFLAGS="$ac_save_CFLAGS"
60911 else
60912 # this is the suspicious part
60913 CFLAGS=''
60917 # Set -z,relro.
60918 # Note this is only for shared objects.
60919 ac_ld_relro=no
60920 if test x"$with_gnu_ld" = x"yes"; then
60921 # cygwin and mingw uses PE, which has no ELF relro support,
60922 # multi target ld may confuse configure machinery
60923 case "$host" in
60924 *-*-cygwin*)
60926 *-*-mingw*)
60929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60930 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60931 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60932 if test -n "$cxx_z_relo"; then
60933 OPT_LDFLAGS="-Wl,-z,relro"
60934 ac_ld_relro=yes
60936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60937 $as_echo "$ac_ld_relro" >&6; }
60938 esac
60941 # Set linker optimization flags.
60942 if test x"$with_gnu_ld" = x"yes"; then
60943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60949 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60951 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60953 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60955 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60957 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60959 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60961 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60963 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60965 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60967 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60969 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60971 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60974 *-tpf)
60975 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60976 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
60978 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60980 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60982 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60984 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60986 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60988 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60990 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60992 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60994 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
60996 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
60998 if test x"long_double_math_on_this_cpu" = x"yes"; then
60999 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61001 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
61003 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61005 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61009 *-*vms*)
61010 # Check for available headers.
61011 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61013 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61014 ac_save_CXXFLAGS="$CXXFLAGS"
61015 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61018 $as_echo_n "checking for sin in -lm... " >&6; }
61019 if ${ac_cv_lib_m_sin+:} false; then :
61020 $as_echo_n "(cached) " >&6
61021 else
61022 ac_check_lib_save_LIBS=$LIBS
61023 LIBS="-lm $LIBS"
61024 if test x$gcc_no_link = xyes; then
61025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61028 /* end confdefs.h. */
61030 /* Override any GCC internal prototype to avoid an error.
61031 Use char because int might match the return type of a GCC
61032 builtin and then its argument prototype would still apply. */
61033 #ifdef __cplusplus
61034 extern "C"
61035 #endif
61036 char sin ();
61038 main ()
61040 return sin ();
61042 return 0;
61044 _ACEOF
61045 if ac_fn_c_try_link "$LINENO"; then :
61046 ac_cv_lib_m_sin=yes
61047 else
61048 ac_cv_lib_m_sin=no
61050 rm -f core conftest.err conftest.$ac_objext \
61051 conftest$ac_exeext conftest.$ac_ext
61052 LIBS=$ac_check_lib_save_LIBS
61054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61055 $as_echo "$ac_cv_lib_m_sin" >&6; }
61056 if test "x$ac_cv_lib_m_sin" = xyes; then :
61057 libm="-lm"
61060 ac_save_LIBS="$LIBS"
61061 LIBS="$LIBS $libm"
61065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61066 $as_echo_n "checking for isinf declaration... " >&6; }
61067 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61068 if ${glibcxx_cv_func_isinf_use+:} false; then :
61069 $as_echo_n "(cached) " >&6
61070 else
61073 ac_ext=cpp
61074 ac_cpp='$CXXCPP $CPPFLAGS'
61075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61080 /* end confdefs.h. */
61081 #include <math.h>
61082 #ifdef HAVE_IEEEFP_H
61083 #include <ieeefp.h>
61084 #endif
61087 main ()
61089 isinf(0);
61091 return 0;
61093 _ACEOF
61094 if ac_fn_cxx_try_compile "$LINENO"; then :
61095 glibcxx_cv_func_isinf_use=yes
61096 else
61097 glibcxx_cv_func_isinf_use=no
61099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61100 ac_ext=c
61101 ac_cpp='$CPP $CPPFLAGS'
61102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61111 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61113 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61114 for ac_func in isinf
61115 do :
61116 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61117 if test "x$ac_cv_func_isinf" = xyes; then :
61118 cat >>confdefs.h <<_ACEOF
61119 #define HAVE_ISINF 1
61120 _ACEOF
61123 done
61125 else
61127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61128 $as_echo_n "checking for _isinf declaration... " >&6; }
61129 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61130 if ${glibcxx_cv_func__isinf_use+:} false; then :
61131 $as_echo_n "(cached) " >&6
61132 else
61135 ac_ext=cpp
61136 ac_cpp='$CXXCPP $CPPFLAGS'
61137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61142 /* end confdefs.h. */
61143 #include <math.h>
61144 #ifdef HAVE_IEEEFP_H
61145 #include <ieeefp.h>
61146 #endif
61149 main ()
61151 _isinf(0);
61153 return 0;
61155 _ACEOF
61156 if ac_fn_cxx_try_compile "$LINENO"; then :
61157 glibcxx_cv_func__isinf_use=yes
61158 else
61159 glibcxx_cv_func__isinf_use=no
61161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61162 ac_ext=c
61163 ac_cpp='$CPP $CPPFLAGS'
61164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61173 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61175 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61176 for ac_func in _isinf
61177 do :
61178 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61179 if test "x$ac_cv_func__isinf" = xyes; then :
61180 cat >>confdefs.h <<_ACEOF
61181 #define HAVE__ISINF 1
61182 _ACEOF
61185 done
61194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61195 $as_echo_n "checking for isnan declaration... " >&6; }
61196 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61197 if ${glibcxx_cv_func_isnan_use+:} false; then :
61198 $as_echo_n "(cached) " >&6
61199 else
61202 ac_ext=cpp
61203 ac_cpp='$CXXCPP $CPPFLAGS'
61204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61209 /* end confdefs.h. */
61210 #include <math.h>
61211 #ifdef HAVE_IEEEFP_H
61212 #include <ieeefp.h>
61213 #endif
61216 main ()
61218 isnan(0);
61220 return 0;
61222 _ACEOF
61223 if ac_fn_cxx_try_compile "$LINENO"; then :
61224 glibcxx_cv_func_isnan_use=yes
61225 else
61226 glibcxx_cv_func_isnan_use=no
61228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61229 ac_ext=c
61230 ac_cpp='$CPP $CPPFLAGS'
61231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61240 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61242 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61243 for ac_func in isnan
61244 do :
61245 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61246 if test "x$ac_cv_func_isnan" = xyes; then :
61247 cat >>confdefs.h <<_ACEOF
61248 #define HAVE_ISNAN 1
61249 _ACEOF
61252 done
61254 else
61256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61257 $as_echo_n "checking for _isnan declaration... " >&6; }
61258 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61259 if ${glibcxx_cv_func__isnan_use+:} false; then :
61260 $as_echo_n "(cached) " >&6
61261 else
61264 ac_ext=cpp
61265 ac_cpp='$CXXCPP $CPPFLAGS'
61266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61271 /* end confdefs.h. */
61272 #include <math.h>
61273 #ifdef HAVE_IEEEFP_H
61274 #include <ieeefp.h>
61275 #endif
61278 main ()
61280 _isnan(0);
61282 return 0;
61284 _ACEOF
61285 if ac_fn_cxx_try_compile "$LINENO"; then :
61286 glibcxx_cv_func__isnan_use=yes
61287 else
61288 glibcxx_cv_func__isnan_use=no
61290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61291 ac_ext=c
61292 ac_cpp='$CPP $CPPFLAGS'
61293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61302 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61304 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61305 for ac_func in _isnan
61306 do :
61307 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61308 if test "x$ac_cv_func__isnan" = xyes; then :
61309 cat >>confdefs.h <<_ACEOF
61310 #define HAVE__ISNAN 1
61311 _ACEOF
61314 done
61323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61324 $as_echo_n "checking for finite declaration... " >&6; }
61325 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61326 if ${glibcxx_cv_func_finite_use+:} false; then :
61327 $as_echo_n "(cached) " >&6
61328 else
61331 ac_ext=cpp
61332 ac_cpp='$CXXCPP $CPPFLAGS'
61333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61338 /* end confdefs.h. */
61339 #include <math.h>
61340 #ifdef HAVE_IEEEFP_H
61341 #include <ieeefp.h>
61342 #endif
61345 main ()
61347 finite(0);
61349 return 0;
61351 _ACEOF
61352 if ac_fn_cxx_try_compile "$LINENO"; then :
61353 glibcxx_cv_func_finite_use=yes
61354 else
61355 glibcxx_cv_func_finite_use=no
61357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61358 ac_ext=c
61359 ac_cpp='$CPP $CPPFLAGS'
61360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61369 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61371 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61372 for ac_func in finite
61373 do :
61374 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61375 if test "x$ac_cv_func_finite" = xyes; then :
61376 cat >>confdefs.h <<_ACEOF
61377 #define HAVE_FINITE 1
61378 _ACEOF
61381 done
61383 else
61385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61386 $as_echo_n "checking for _finite declaration... " >&6; }
61387 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61388 if ${glibcxx_cv_func__finite_use+:} false; then :
61389 $as_echo_n "(cached) " >&6
61390 else
61393 ac_ext=cpp
61394 ac_cpp='$CXXCPP $CPPFLAGS'
61395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61400 /* end confdefs.h. */
61401 #include <math.h>
61402 #ifdef HAVE_IEEEFP_H
61403 #include <ieeefp.h>
61404 #endif
61407 main ()
61409 _finite(0);
61411 return 0;
61413 _ACEOF
61414 if ac_fn_cxx_try_compile "$LINENO"; then :
61415 glibcxx_cv_func__finite_use=yes
61416 else
61417 glibcxx_cv_func__finite_use=no
61419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61420 ac_ext=c
61421 ac_cpp='$CPP $CPPFLAGS'
61422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61431 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61433 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61434 for ac_func in _finite
61435 do :
61436 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61437 if test "x$ac_cv_func__finite" = xyes; then :
61438 cat >>confdefs.h <<_ACEOF
61439 #define HAVE__FINITE 1
61440 _ACEOF
61443 done
61452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61453 $as_echo_n "checking for sincos declaration... " >&6; }
61454 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61455 if ${glibcxx_cv_func_sincos_use+:} false; then :
61456 $as_echo_n "(cached) " >&6
61457 else
61460 ac_ext=cpp
61461 ac_cpp='$CXXCPP $CPPFLAGS'
61462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61467 /* end confdefs.h. */
61468 #include <math.h>
61470 main ()
61472 sincos(0, 0, 0);
61474 return 0;
61476 _ACEOF
61477 if ac_fn_cxx_try_compile "$LINENO"; then :
61478 glibcxx_cv_func_sincos_use=yes
61479 else
61480 glibcxx_cv_func_sincos_use=no
61482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61483 ac_ext=c
61484 ac_cpp='$CPP $CPPFLAGS'
61485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61494 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61496 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61497 for ac_func in sincos
61498 do :
61499 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61500 if test "x$ac_cv_func_sincos" = xyes; then :
61501 cat >>confdefs.h <<_ACEOF
61502 #define HAVE_SINCOS 1
61503 _ACEOF
61506 done
61508 else
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61511 $as_echo_n "checking for _sincos declaration... " >&6; }
61512 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61513 if ${glibcxx_cv_func__sincos_use+:} false; then :
61514 $as_echo_n "(cached) " >&6
61515 else
61518 ac_ext=cpp
61519 ac_cpp='$CXXCPP $CPPFLAGS'
61520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61525 /* end confdefs.h. */
61526 #include <math.h>
61528 main ()
61530 _sincos(0, 0, 0);
61532 return 0;
61534 _ACEOF
61535 if ac_fn_cxx_try_compile "$LINENO"; then :
61536 glibcxx_cv_func__sincos_use=yes
61537 else
61538 glibcxx_cv_func__sincos_use=no
61540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61541 ac_ext=c
61542 ac_cpp='$CPP $CPPFLAGS'
61543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61552 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61554 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61555 for ac_func in _sincos
61556 do :
61557 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61558 if test "x$ac_cv_func__sincos" = xyes; then :
61559 cat >>confdefs.h <<_ACEOF
61560 #define HAVE__SINCOS 1
61561 _ACEOF
61564 done
61573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61574 $as_echo_n "checking for fpclass declaration... " >&6; }
61575 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61576 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61577 $as_echo_n "(cached) " >&6
61578 else
61581 ac_ext=cpp
61582 ac_cpp='$CXXCPP $CPPFLAGS'
61583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61588 /* end confdefs.h. */
61589 #include <math.h>
61590 #ifdef HAVE_IEEEFP_H
61591 #include <ieeefp.h>
61592 #endif
61595 main ()
61597 fpclass(0);
61599 return 0;
61601 _ACEOF
61602 if ac_fn_cxx_try_compile "$LINENO"; then :
61603 glibcxx_cv_func_fpclass_use=yes
61604 else
61605 glibcxx_cv_func_fpclass_use=no
61607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61608 ac_ext=c
61609 ac_cpp='$CPP $CPPFLAGS'
61610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61619 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61621 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61622 for ac_func in fpclass
61623 do :
61624 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61625 if test "x$ac_cv_func_fpclass" = xyes; then :
61626 cat >>confdefs.h <<_ACEOF
61627 #define HAVE_FPCLASS 1
61628 _ACEOF
61631 done
61633 else
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61636 $as_echo_n "checking for _fpclass declaration... " >&6; }
61637 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61638 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61639 $as_echo_n "(cached) " >&6
61640 else
61643 ac_ext=cpp
61644 ac_cpp='$CXXCPP $CPPFLAGS'
61645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61650 /* end confdefs.h. */
61651 #include <math.h>
61652 #ifdef HAVE_IEEEFP_H
61653 #include <ieeefp.h>
61654 #endif
61657 main ()
61659 _fpclass(0);
61661 return 0;
61663 _ACEOF
61664 if ac_fn_cxx_try_compile "$LINENO"; then :
61665 glibcxx_cv_func__fpclass_use=yes
61666 else
61667 glibcxx_cv_func__fpclass_use=no
61669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61670 ac_ext=c
61671 ac_cpp='$CPP $CPPFLAGS'
61672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61681 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61683 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61684 for ac_func in _fpclass
61685 do :
61686 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61687 if test "x$ac_cv_func__fpclass" = xyes; then :
61688 cat >>confdefs.h <<_ACEOF
61689 #define HAVE__FPCLASS 1
61690 _ACEOF
61693 done
61702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61703 $as_echo_n "checking for qfpclass declaration... " >&6; }
61704 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61705 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61706 $as_echo_n "(cached) " >&6
61707 else
61710 ac_ext=cpp
61711 ac_cpp='$CXXCPP $CPPFLAGS'
61712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61717 /* end confdefs.h. */
61718 #include <math.h>
61719 #ifdef HAVE_IEEEFP_H
61720 #include <ieeefp.h>
61721 #endif
61724 main ()
61726 qfpclass(0);
61728 return 0;
61730 _ACEOF
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732 glibcxx_cv_func_qfpclass_use=yes
61733 else
61734 glibcxx_cv_func_qfpclass_use=no
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737 ac_ext=c
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61748 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61750 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61751 for ac_func in qfpclass
61752 do :
61753 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61754 if test "x$ac_cv_func_qfpclass" = xyes; then :
61755 cat >>confdefs.h <<_ACEOF
61756 #define HAVE_QFPCLASS 1
61757 _ACEOF
61760 done
61762 else
61764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61765 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61766 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61767 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61768 $as_echo_n "(cached) " >&6
61769 else
61772 ac_ext=cpp
61773 ac_cpp='$CXXCPP $CPPFLAGS'
61774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61779 /* end confdefs.h. */
61780 #include <math.h>
61781 #ifdef HAVE_IEEEFP_H
61782 #include <ieeefp.h>
61783 #endif
61786 main ()
61788 _qfpclass(0);
61790 return 0;
61792 _ACEOF
61793 if ac_fn_cxx_try_compile "$LINENO"; then :
61794 glibcxx_cv_func__qfpclass_use=yes
61795 else
61796 glibcxx_cv_func__qfpclass_use=no
61798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61799 ac_ext=c
61800 ac_cpp='$CPP $CPPFLAGS'
61801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61810 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61812 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61813 for ac_func in _qfpclass
61814 do :
61815 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61816 if test "x$ac_cv_func__qfpclass" = xyes; then :
61817 cat >>confdefs.h <<_ACEOF
61818 #define HAVE__QFPCLASS 1
61819 _ACEOF
61822 done
61831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61832 $as_echo_n "checking for hypot declaration... " >&6; }
61833 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61834 if ${glibcxx_cv_func_hypot_use+:} false; then :
61835 $as_echo_n "(cached) " >&6
61836 else
61839 ac_ext=cpp
61840 ac_cpp='$CXXCPP $CPPFLAGS'
61841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61846 /* end confdefs.h. */
61847 #include <math.h>
61849 main ()
61851 hypot(0, 0);
61853 return 0;
61855 _ACEOF
61856 if ac_fn_cxx_try_compile "$LINENO"; then :
61857 glibcxx_cv_func_hypot_use=yes
61858 else
61859 glibcxx_cv_func_hypot_use=no
61861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61862 ac_ext=c
61863 ac_cpp='$CPP $CPPFLAGS'
61864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61873 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61875 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61876 for ac_func in hypot
61877 do :
61878 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61879 if test "x$ac_cv_func_hypot" = xyes; then :
61880 cat >>confdefs.h <<_ACEOF
61881 #define HAVE_HYPOT 1
61882 _ACEOF
61885 done
61887 else
61889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61890 $as_echo_n "checking for _hypot declaration... " >&6; }
61891 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61892 if ${glibcxx_cv_func__hypot_use+:} false; then :
61893 $as_echo_n "(cached) " >&6
61894 else
61897 ac_ext=cpp
61898 ac_cpp='$CXXCPP $CPPFLAGS'
61899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61904 /* end confdefs.h. */
61905 #include <math.h>
61907 main ()
61909 _hypot(0, 0);
61911 return 0;
61913 _ACEOF
61914 if ac_fn_cxx_try_compile "$LINENO"; then :
61915 glibcxx_cv_func__hypot_use=yes
61916 else
61917 glibcxx_cv_func__hypot_use=no
61919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61920 ac_ext=c
61921 ac_cpp='$CPP $CPPFLAGS'
61922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61931 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61933 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61934 for ac_func in _hypot
61935 do :
61936 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61937 if test "x$ac_cv_func__hypot" = xyes; then :
61938 cat >>confdefs.h <<_ACEOF
61939 #define HAVE__HYPOT 1
61940 _ACEOF
61943 done
61952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61953 $as_echo_n "checking for float trig functions... " >&6; }
61954 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61955 $as_echo_n "(cached) " >&6
61956 else
61959 ac_ext=cpp
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61966 /* end confdefs.h. */
61967 #include <math.h>
61969 main ()
61971 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61973 return 0;
61975 _ACEOF
61976 if ac_fn_cxx_try_compile "$LINENO"; then :
61977 glibcxx_cv_func_float_trig_use=yes
61978 else
61979 glibcxx_cv_func_float_trig_use=no
61981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61982 ac_ext=c
61983 ac_cpp='$CPP $CPPFLAGS'
61984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61991 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61992 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61993 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61994 do :
61995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61997 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61998 cat >>confdefs.h <<_ACEOF
61999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62000 _ACEOF
62003 done
62005 else
62006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62007 $as_echo_n "checking for _float trig functions... " >&6; }
62008 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62009 $as_echo_n "(cached) " >&6
62010 else
62013 ac_ext=cpp
62014 ac_cpp='$CXXCPP $CPPFLAGS'
62015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62020 /* end confdefs.h. */
62021 #include <math.h>
62023 main ()
62025 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62027 return 0;
62029 _ACEOF
62030 if ac_fn_cxx_try_compile "$LINENO"; then :
62031 glibcxx_cv_func__float_trig_use=yes
62032 else
62033 glibcxx_cv_func__float_trig_use=no
62035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62036 ac_ext=c
62037 ac_cpp='$CPP $CPPFLAGS'
62038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62045 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62046 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62047 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62048 do :
62049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62051 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62052 cat >>confdefs.h <<_ACEOF
62053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62054 _ACEOF
62057 done
62066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62067 $as_echo_n "checking for float round functions... " >&6; }
62068 if ${glibcxx_cv_func_float_round_use+:} false; then :
62069 $as_echo_n "(cached) " >&6
62070 else
62073 ac_ext=cpp
62074 ac_cpp='$CXXCPP $CPPFLAGS'
62075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62080 /* end confdefs.h. */
62081 #include <math.h>
62083 main ()
62085 ceilf (0); floorf (0);
62087 return 0;
62089 _ACEOF
62090 if ac_fn_cxx_try_compile "$LINENO"; then :
62091 glibcxx_cv_func_float_round_use=yes
62092 else
62093 glibcxx_cv_func_float_round_use=no
62095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62096 ac_ext=c
62097 ac_cpp='$CPP $CPPFLAGS'
62098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62105 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62106 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62107 for ac_func in ceilf floorf
62108 do :
62109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62111 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62112 cat >>confdefs.h <<_ACEOF
62113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62114 _ACEOF
62117 done
62119 else
62120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62121 $as_echo_n "checking for _float round functions... " >&6; }
62122 if ${glibcxx_cv_func__float_round_use+:} false; then :
62123 $as_echo_n "(cached) " >&6
62124 else
62127 ac_ext=cpp
62128 ac_cpp='$CXXCPP $CPPFLAGS'
62129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62134 /* end confdefs.h. */
62135 #include <math.h>
62137 main ()
62139 _ceilf (0); _floorf (0);
62141 return 0;
62143 _ACEOF
62144 if ac_fn_cxx_try_compile "$LINENO"; then :
62145 glibcxx_cv_func__float_round_use=yes
62146 else
62147 glibcxx_cv_func__float_round_use=no
62149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62150 ac_ext=c
62151 ac_cpp='$CPP $CPPFLAGS'
62152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62159 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62160 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62161 for ac_func in _ceilf _floorf
62162 do :
62163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62164 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62165 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62166 cat >>confdefs.h <<_ACEOF
62167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62168 _ACEOF
62171 done
62181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62182 $as_echo_n "checking for expf declaration... " >&6; }
62183 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62184 if ${glibcxx_cv_func_expf_use+:} false; then :
62185 $as_echo_n "(cached) " >&6
62186 else
62189 ac_ext=cpp
62190 ac_cpp='$CXXCPP $CPPFLAGS'
62191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62196 /* end confdefs.h. */
62197 #include <math.h>
62198 #ifdef HAVE_IEEEFP_H
62199 #include <ieeefp.h>
62200 #endif
62203 main ()
62205 expf(0);
62207 return 0;
62209 _ACEOF
62210 if ac_fn_cxx_try_compile "$LINENO"; then :
62211 glibcxx_cv_func_expf_use=yes
62212 else
62213 glibcxx_cv_func_expf_use=no
62215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62216 ac_ext=c
62217 ac_cpp='$CPP $CPPFLAGS'
62218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62227 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62229 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62230 for ac_func in expf
62231 do :
62232 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62233 if test "x$ac_cv_func_expf" = xyes; then :
62234 cat >>confdefs.h <<_ACEOF
62235 #define HAVE_EXPF 1
62236 _ACEOF
62239 done
62241 else
62243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62244 $as_echo_n "checking for _expf declaration... " >&6; }
62245 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62246 if ${glibcxx_cv_func__expf_use+:} false; then :
62247 $as_echo_n "(cached) " >&6
62248 else
62251 ac_ext=cpp
62252 ac_cpp='$CXXCPP $CPPFLAGS'
62253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62258 /* end confdefs.h. */
62259 #include <math.h>
62260 #ifdef HAVE_IEEEFP_H
62261 #include <ieeefp.h>
62262 #endif
62265 main ()
62267 _expf(0);
62269 return 0;
62271 _ACEOF
62272 if ac_fn_cxx_try_compile "$LINENO"; then :
62273 glibcxx_cv_func__expf_use=yes
62274 else
62275 glibcxx_cv_func__expf_use=no
62277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62278 ac_ext=c
62279 ac_cpp='$CPP $CPPFLAGS'
62280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62289 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62291 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62292 for ac_func in _expf
62293 do :
62294 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62295 if test "x$ac_cv_func__expf" = xyes; then :
62296 cat >>confdefs.h <<_ACEOF
62297 #define HAVE__EXPF 1
62298 _ACEOF
62301 done
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62311 $as_echo_n "checking for isnanf declaration... " >&6; }
62312 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62313 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62314 $as_echo_n "(cached) " >&6
62315 else
62318 ac_ext=cpp
62319 ac_cpp='$CXXCPP $CPPFLAGS'
62320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62325 /* end confdefs.h. */
62326 #include <math.h>
62327 #ifdef HAVE_IEEEFP_H
62328 #include <ieeefp.h>
62329 #endif
62332 main ()
62334 isnanf(0);
62336 return 0;
62338 _ACEOF
62339 if ac_fn_cxx_try_compile "$LINENO"; then :
62340 glibcxx_cv_func_isnanf_use=yes
62341 else
62342 glibcxx_cv_func_isnanf_use=no
62344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62345 ac_ext=c
62346 ac_cpp='$CPP $CPPFLAGS'
62347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62356 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62358 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62359 for ac_func in isnanf
62360 do :
62361 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62362 if test "x$ac_cv_func_isnanf" = xyes; then :
62363 cat >>confdefs.h <<_ACEOF
62364 #define HAVE_ISNANF 1
62365 _ACEOF
62368 done
62370 else
62372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62373 $as_echo_n "checking for _isnanf declaration... " >&6; }
62374 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62375 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62376 $as_echo_n "(cached) " >&6
62377 else
62380 ac_ext=cpp
62381 ac_cpp='$CXXCPP $CPPFLAGS'
62382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62387 /* end confdefs.h. */
62388 #include <math.h>
62389 #ifdef HAVE_IEEEFP_H
62390 #include <ieeefp.h>
62391 #endif
62394 main ()
62396 _isnanf(0);
62398 return 0;
62400 _ACEOF
62401 if ac_fn_cxx_try_compile "$LINENO"; then :
62402 glibcxx_cv_func__isnanf_use=yes
62403 else
62404 glibcxx_cv_func__isnanf_use=no
62406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62407 ac_ext=c
62408 ac_cpp='$CPP $CPPFLAGS'
62409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62418 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62420 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62421 for ac_func in _isnanf
62422 do :
62423 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62424 if test "x$ac_cv_func__isnanf" = xyes; then :
62425 cat >>confdefs.h <<_ACEOF
62426 #define HAVE__ISNANF 1
62427 _ACEOF
62430 done
62439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62440 $as_echo_n "checking for isinff declaration... " >&6; }
62441 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62442 if ${glibcxx_cv_func_isinff_use+:} false; then :
62443 $as_echo_n "(cached) " >&6
62444 else
62447 ac_ext=cpp
62448 ac_cpp='$CXXCPP $CPPFLAGS'
62449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62454 /* end confdefs.h. */
62455 #include <math.h>
62456 #ifdef HAVE_IEEEFP_H
62457 #include <ieeefp.h>
62458 #endif
62461 main ()
62463 isinff(0);
62465 return 0;
62467 _ACEOF
62468 if ac_fn_cxx_try_compile "$LINENO"; then :
62469 glibcxx_cv_func_isinff_use=yes
62470 else
62471 glibcxx_cv_func_isinff_use=no
62473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62474 ac_ext=c
62475 ac_cpp='$CPP $CPPFLAGS'
62476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62485 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62487 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62488 for ac_func in isinff
62489 do :
62490 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62491 if test "x$ac_cv_func_isinff" = xyes; then :
62492 cat >>confdefs.h <<_ACEOF
62493 #define HAVE_ISINFF 1
62494 _ACEOF
62497 done
62499 else
62501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62502 $as_echo_n "checking for _isinff declaration... " >&6; }
62503 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62504 if ${glibcxx_cv_func__isinff_use+:} false; then :
62505 $as_echo_n "(cached) " >&6
62506 else
62509 ac_ext=cpp
62510 ac_cpp='$CXXCPP $CPPFLAGS'
62511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62516 /* end confdefs.h. */
62517 #include <math.h>
62518 #ifdef HAVE_IEEEFP_H
62519 #include <ieeefp.h>
62520 #endif
62523 main ()
62525 _isinff(0);
62527 return 0;
62529 _ACEOF
62530 if ac_fn_cxx_try_compile "$LINENO"; then :
62531 glibcxx_cv_func__isinff_use=yes
62532 else
62533 glibcxx_cv_func__isinff_use=no
62535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62536 ac_ext=c
62537 ac_cpp='$CPP $CPPFLAGS'
62538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62547 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62549 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62550 for ac_func in _isinff
62551 do :
62552 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62553 if test "x$ac_cv_func__isinff" = xyes; then :
62554 cat >>confdefs.h <<_ACEOF
62555 #define HAVE__ISINFF 1
62556 _ACEOF
62559 done
62568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62569 $as_echo_n "checking for atan2f declaration... " >&6; }
62570 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62571 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62572 $as_echo_n "(cached) " >&6
62573 else
62576 ac_ext=cpp
62577 ac_cpp='$CXXCPP $CPPFLAGS'
62578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62583 /* end confdefs.h. */
62584 #include <math.h>
62586 main ()
62588 atan2f(0, 0);
62590 return 0;
62592 _ACEOF
62593 if ac_fn_cxx_try_compile "$LINENO"; then :
62594 glibcxx_cv_func_atan2f_use=yes
62595 else
62596 glibcxx_cv_func_atan2f_use=no
62598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62599 ac_ext=c
62600 ac_cpp='$CPP $CPPFLAGS'
62601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62610 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62612 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62613 for ac_func in atan2f
62614 do :
62615 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62616 if test "x$ac_cv_func_atan2f" = xyes; then :
62617 cat >>confdefs.h <<_ACEOF
62618 #define HAVE_ATAN2F 1
62619 _ACEOF
62622 done
62624 else
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62627 $as_echo_n "checking for _atan2f declaration... " >&6; }
62628 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62629 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62630 $as_echo_n "(cached) " >&6
62631 else
62634 ac_ext=cpp
62635 ac_cpp='$CXXCPP $CPPFLAGS'
62636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62641 /* end confdefs.h. */
62642 #include <math.h>
62644 main ()
62646 _atan2f(0, 0);
62648 return 0;
62650 _ACEOF
62651 if ac_fn_cxx_try_compile "$LINENO"; then :
62652 glibcxx_cv_func__atan2f_use=yes
62653 else
62654 glibcxx_cv_func__atan2f_use=no
62656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62657 ac_ext=c
62658 ac_cpp='$CPP $CPPFLAGS'
62659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62668 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62670 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62671 for ac_func in _atan2f
62672 do :
62673 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62674 if test "x$ac_cv_func__atan2f" = xyes; then :
62675 cat >>confdefs.h <<_ACEOF
62676 #define HAVE__ATAN2F 1
62677 _ACEOF
62680 done
62689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62690 $as_echo_n "checking for fabsf declaration... " >&6; }
62691 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62692 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62693 $as_echo_n "(cached) " >&6
62694 else
62697 ac_ext=cpp
62698 ac_cpp='$CXXCPP $CPPFLAGS'
62699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62704 /* end confdefs.h. */
62705 #include <math.h>
62706 #ifdef HAVE_IEEEFP_H
62707 #include <ieeefp.h>
62708 #endif
62711 main ()
62713 fabsf(0);
62715 return 0;
62717 _ACEOF
62718 if ac_fn_cxx_try_compile "$LINENO"; then :
62719 glibcxx_cv_func_fabsf_use=yes
62720 else
62721 glibcxx_cv_func_fabsf_use=no
62723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62724 ac_ext=c
62725 ac_cpp='$CPP $CPPFLAGS'
62726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62735 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62737 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62738 for ac_func in fabsf
62739 do :
62740 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62741 if test "x$ac_cv_func_fabsf" = xyes; then :
62742 cat >>confdefs.h <<_ACEOF
62743 #define HAVE_FABSF 1
62744 _ACEOF
62747 done
62749 else
62751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62752 $as_echo_n "checking for _fabsf declaration... " >&6; }
62753 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62754 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62755 $as_echo_n "(cached) " >&6
62756 else
62759 ac_ext=cpp
62760 ac_cpp='$CXXCPP $CPPFLAGS'
62761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62766 /* end confdefs.h. */
62767 #include <math.h>
62768 #ifdef HAVE_IEEEFP_H
62769 #include <ieeefp.h>
62770 #endif
62773 main ()
62775 _fabsf(0);
62777 return 0;
62779 _ACEOF
62780 if ac_fn_cxx_try_compile "$LINENO"; then :
62781 glibcxx_cv_func__fabsf_use=yes
62782 else
62783 glibcxx_cv_func__fabsf_use=no
62785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62786 ac_ext=c
62787 ac_cpp='$CPP $CPPFLAGS'
62788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62797 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62799 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62800 for ac_func in _fabsf
62801 do :
62802 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62803 if test "x$ac_cv_func__fabsf" = xyes; then :
62804 cat >>confdefs.h <<_ACEOF
62805 #define HAVE__FABSF 1
62806 _ACEOF
62809 done
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62819 $as_echo_n "checking for fmodf declaration... " >&6; }
62820 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62821 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62822 $as_echo_n "(cached) " >&6
62823 else
62826 ac_ext=cpp
62827 ac_cpp='$CXXCPP $CPPFLAGS'
62828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62833 /* end confdefs.h. */
62834 #include <math.h>
62836 main ()
62838 fmodf(0, 0);
62840 return 0;
62842 _ACEOF
62843 if ac_fn_cxx_try_compile "$LINENO"; then :
62844 glibcxx_cv_func_fmodf_use=yes
62845 else
62846 glibcxx_cv_func_fmodf_use=no
62848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62849 ac_ext=c
62850 ac_cpp='$CPP $CPPFLAGS'
62851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62860 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62862 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62863 for ac_func in fmodf
62864 do :
62865 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62866 if test "x$ac_cv_func_fmodf" = xyes; then :
62867 cat >>confdefs.h <<_ACEOF
62868 #define HAVE_FMODF 1
62869 _ACEOF
62872 done
62874 else
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62877 $as_echo_n "checking for _fmodf declaration... " >&6; }
62878 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62879 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62880 $as_echo_n "(cached) " >&6
62881 else
62884 ac_ext=cpp
62885 ac_cpp='$CXXCPP $CPPFLAGS'
62886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62891 /* end confdefs.h. */
62892 #include <math.h>
62894 main ()
62896 _fmodf(0, 0);
62898 return 0;
62900 _ACEOF
62901 if ac_fn_cxx_try_compile "$LINENO"; then :
62902 glibcxx_cv_func__fmodf_use=yes
62903 else
62904 glibcxx_cv_func__fmodf_use=no
62906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62907 ac_ext=c
62908 ac_cpp='$CPP $CPPFLAGS'
62909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62918 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62920 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62921 for ac_func in _fmodf
62922 do :
62923 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62924 if test "x$ac_cv_func__fmodf" = xyes; then :
62925 cat >>confdefs.h <<_ACEOF
62926 #define HAVE__FMODF 1
62927 _ACEOF
62930 done
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62940 $as_echo_n "checking for frexpf declaration... " >&6; }
62941 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62942 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62943 $as_echo_n "(cached) " >&6
62944 else
62947 ac_ext=cpp
62948 ac_cpp='$CXXCPP $CPPFLAGS'
62949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62954 /* end confdefs.h. */
62955 #include <math.h>
62957 main ()
62959 frexpf(0, 0);
62961 return 0;
62963 _ACEOF
62964 if ac_fn_cxx_try_compile "$LINENO"; then :
62965 glibcxx_cv_func_frexpf_use=yes
62966 else
62967 glibcxx_cv_func_frexpf_use=no
62969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62970 ac_ext=c
62971 ac_cpp='$CPP $CPPFLAGS'
62972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62981 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62983 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62984 for ac_func in frexpf
62985 do :
62986 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62987 if test "x$ac_cv_func_frexpf" = xyes; then :
62988 cat >>confdefs.h <<_ACEOF
62989 #define HAVE_FREXPF 1
62990 _ACEOF
62993 done
62995 else
62997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62998 $as_echo_n "checking for _frexpf declaration... " >&6; }
62999 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63000 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63001 $as_echo_n "(cached) " >&6
63002 else
63005 ac_ext=cpp
63006 ac_cpp='$CXXCPP $CPPFLAGS'
63007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63012 /* end confdefs.h. */
63013 #include <math.h>
63015 main ()
63017 _frexpf(0, 0);
63019 return 0;
63021 _ACEOF
63022 if ac_fn_cxx_try_compile "$LINENO"; then :
63023 glibcxx_cv_func__frexpf_use=yes
63024 else
63025 glibcxx_cv_func__frexpf_use=no
63027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63028 ac_ext=c
63029 ac_cpp='$CPP $CPPFLAGS'
63030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63039 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63041 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63042 for ac_func in _frexpf
63043 do :
63044 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63045 if test "x$ac_cv_func__frexpf" = xyes; then :
63046 cat >>confdefs.h <<_ACEOF
63047 #define HAVE__FREXPF 1
63048 _ACEOF
63051 done
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63061 $as_echo_n "checking for hypotf declaration... " >&6; }
63062 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63063 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63064 $as_echo_n "(cached) " >&6
63065 else
63068 ac_ext=cpp
63069 ac_cpp='$CXXCPP $CPPFLAGS'
63070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63075 /* end confdefs.h. */
63076 #include <math.h>
63078 main ()
63080 hypotf(0, 0);
63082 return 0;
63084 _ACEOF
63085 if ac_fn_cxx_try_compile "$LINENO"; then :
63086 glibcxx_cv_func_hypotf_use=yes
63087 else
63088 glibcxx_cv_func_hypotf_use=no
63090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63091 ac_ext=c
63092 ac_cpp='$CPP $CPPFLAGS'
63093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63102 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63104 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63105 for ac_func in hypotf
63106 do :
63107 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63108 if test "x$ac_cv_func_hypotf" = xyes; then :
63109 cat >>confdefs.h <<_ACEOF
63110 #define HAVE_HYPOTF 1
63111 _ACEOF
63114 done
63116 else
63118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63119 $as_echo_n "checking for _hypotf declaration... " >&6; }
63120 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63121 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63122 $as_echo_n "(cached) " >&6
63123 else
63126 ac_ext=cpp
63127 ac_cpp='$CXXCPP $CPPFLAGS'
63128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63133 /* end confdefs.h. */
63134 #include <math.h>
63136 main ()
63138 _hypotf(0, 0);
63140 return 0;
63142 _ACEOF
63143 if ac_fn_cxx_try_compile "$LINENO"; then :
63144 glibcxx_cv_func__hypotf_use=yes
63145 else
63146 glibcxx_cv_func__hypotf_use=no
63148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63149 ac_ext=c
63150 ac_cpp='$CPP $CPPFLAGS'
63151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63160 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63162 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63163 for ac_func in _hypotf
63164 do :
63165 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63166 if test "x$ac_cv_func__hypotf" = xyes; then :
63167 cat >>confdefs.h <<_ACEOF
63168 #define HAVE__HYPOTF 1
63169 _ACEOF
63172 done
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63182 $as_echo_n "checking for ldexpf declaration... " >&6; }
63183 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63184 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63185 $as_echo_n "(cached) " >&6
63186 else
63189 ac_ext=cpp
63190 ac_cpp='$CXXCPP $CPPFLAGS'
63191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63196 /* end confdefs.h. */
63197 #include <math.h>
63199 main ()
63201 ldexpf(0, 0);
63203 return 0;
63205 _ACEOF
63206 if ac_fn_cxx_try_compile "$LINENO"; then :
63207 glibcxx_cv_func_ldexpf_use=yes
63208 else
63209 glibcxx_cv_func_ldexpf_use=no
63211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63212 ac_ext=c
63213 ac_cpp='$CPP $CPPFLAGS'
63214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63223 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63225 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63226 for ac_func in ldexpf
63227 do :
63228 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63229 if test "x$ac_cv_func_ldexpf" = xyes; then :
63230 cat >>confdefs.h <<_ACEOF
63231 #define HAVE_LDEXPF 1
63232 _ACEOF
63235 done
63237 else
63239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63240 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63241 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63242 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63243 $as_echo_n "(cached) " >&6
63244 else
63247 ac_ext=cpp
63248 ac_cpp='$CXXCPP $CPPFLAGS'
63249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63254 /* end confdefs.h. */
63255 #include <math.h>
63257 main ()
63259 _ldexpf(0, 0);
63261 return 0;
63263 _ACEOF
63264 if ac_fn_cxx_try_compile "$LINENO"; then :
63265 glibcxx_cv_func__ldexpf_use=yes
63266 else
63267 glibcxx_cv_func__ldexpf_use=no
63269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63270 ac_ext=c
63271 ac_cpp='$CPP $CPPFLAGS'
63272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63281 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63283 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63284 for ac_func in _ldexpf
63285 do :
63286 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63287 if test "x$ac_cv_func__ldexpf" = xyes; then :
63288 cat >>confdefs.h <<_ACEOF
63289 #define HAVE__LDEXPF 1
63290 _ACEOF
63293 done
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63303 $as_echo_n "checking for logf declaration... " >&6; }
63304 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63305 if ${glibcxx_cv_func_logf_use+:} false; then :
63306 $as_echo_n "(cached) " >&6
63307 else
63310 ac_ext=cpp
63311 ac_cpp='$CXXCPP $CPPFLAGS'
63312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63317 /* end confdefs.h. */
63318 #include <math.h>
63319 #ifdef HAVE_IEEEFP_H
63320 #include <ieeefp.h>
63321 #endif
63324 main ()
63326 logf(0);
63328 return 0;
63330 _ACEOF
63331 if ac_fn_cxx_try_compile "$LINENO"; then :
63332 glibcxx_cv_func_logf_use=yes
63333 else
63334 glibcxx_cv_func_logf_use=no
63336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63337 ac_ext=c
63338 ac_cpp='$CPP $CPPFLAGS'
63339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63348 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63350 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63351 for ac_func in logf
63352 do :
63353 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63354 if test "x$ac_cv_func_logf" = xyes; then :
63355 cat >>confdefs.h <<_ACEOF
63356 #define HAVE_LOGF 1
63357 _ACEOF
63360 done
63362 else
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63365 $as_echo_n "checking for _logf declaration... " >&6; }
63366 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63367 if ${glibcxx_cv_func__logf_use+:} false; then :
63368 $as_echo_n "(cached) " >&6
63369 else
63372 ac_ext=cpp
63373 ac_cpp='$CXXCPP $CPPFLAGS'
63374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63379 /* end confdefs.h. */
63380 #include <math.h>
63381 #ifdef HAVE_IEEEFP_H
63382 #include <ieeefp.h>
63383 #endif
63386 main ()
63388 _logf(0);
63390 return 0;
63392 _ACEOF
63393 if ac_fn_cxx_try_compile "$LINENO"; then :
63394 glibcxx_cv_func__logf_use=yes
63395 else
63396 glibcxx_cv_func__logf_use=no
63398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63399 ac_ext=c
63400 ac_cpp='$CPP $CPPFLAGS'
63401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63410 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63412 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63413 for ac_func in _logf
63414 do :
63415 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63416 if test "x$ac_cv_func__logf" = xyes; then :
63417 cat >>confdefs.h <<_ACEOF
63418 #define HAVE__LOGF 1
63419 _ACEOF
63422 done
63431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63432 $as_echo_n "checking for log10f declaration... " >&6; }
63433 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63434 if ${glibcxx_cv_func_log10f_use+:} false; then :
63435 $as_echo_n "(cached) " >&6
63436 else
63439 ac_ext=cpp
63440 ac_cpp='$CXXCPP $CPPFLAGS'
63441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63446 /* end confdefs.h. */
63447 #include <math.h>
63448 #ifdef HAVE_IEEEFP_H
63449 #include <ieeefp.h>
63450 #endif
63453 main ()
63455 log10f(0);
63457 return 0;
63459 _ACEOF
63460 if ac_fn_cxx_try_compile "$LINENO"; then :
63461 glibcxx_cv_func_log10f_use=yes
63462 else
63463 glibcxx_cv_func_log10f_use=no
63465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63466 ac_ext=c
63467 ac_cpp='$CPP $CPPFLAGS'
63468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63477 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63479 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63480 for ac_func in log10f
63481 do :
63482 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63483 if test "x$ac_cv_func_log10f" = xyes; then :
63484 cat >>confdefs.h <<_ACEOF
63485 #define HAVE_LOG10F 1
63486 _ACEOF
63489 done
63491 else
63493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63494 $as_echo_n "checking for _log10f declaration... " >&6; }
63495 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63496 if ${glibcxx_cv_func__log10f_use+:} false; then :
63497 $as_echo_n "(cached) " >&6
63498 else
63501 ac_ext=cpp
63502 ac_cpp='$CXXCPP $CPPFLAGS'
63503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63508 /* end confdefs.h. */
63509 #include <math.h>
63510 #ifdef HAVE_IEEEFP_H
63511 #include <ieeefp.h>
63512 #endif
63515 main ()
63517 _log10f(0);
63519 return 0;
63521 _ACEOF
63522 if ac_fn_cxx_try_compile "$LINENO"; then :
63523 glibcxx_cv_func__log10f_use=yes
63524 else
63525 glibcxx_cv_func__log10f_use=no
63527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63528 ac_ext=c
63529 ac_cpp='$CPP $CPPFLAGS'
63530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63539 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63541 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63542 for ac_func in _log10f
63543 do :
63544 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63545 if test "x$ac_cv_func__log10f" = xyes; then :
63546 cat >>confdefs.h <<_ACEOF
63547 #define HAVE__LOG10F 1
63548 _ACEOF
63551 done
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63561 $as_echo_n "checking for modff declaration... " >&6; }
63562 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63563 if ${glibcxx_cv_func_modff_use+:} false; then :
63564 $as_echo_n "(cached) " >&6
63565 else
63568 ac_ext=cpp
63569 ac_cpp='$CXXCPP $CPPFLAGS'
63570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63575 /* end confdefs.h. */
63576 #include <math.h>
63578 main ()
63580 modff(0, 0);
63582 return 0;
63584 _ACEOF
63585 if ac_fn_cxx_try_compile "$LINENO"; then :
63586 glibcxx_cv_func_modff_use=yes
63587 else
63588 glibcxx_cv_func_modff_use=no
63590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63591 ac_ext=c
63592 ac_cpp='$CPP $CPPFLAGS'
63593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63602 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63604 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63605 for ac_func in modff
63606 do :
63607 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63608 if test "x$ac_cv_func_modff" = xyes; then :
63609 cat >>confdefs.h <<_ACEOF
63610 #define HAVE_MODFF 1
63611 _ACEOF
63614 done
63616 else
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63619 $as_echo_n "checking for _modff declaration... " >&6; }
63620 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63621 if ${glibcxx_cv_func__modff_use+:} false; then :
63622 $as_echo_n "(cached) " >&6
63623 else
63626 ac_ext=cpp
63627 ac_cpp='$CXXCPP $CPPFLAGS'
63628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63633 /* end confdefs.h. */
63634 #include <math.h>
63636 main ()
63638 _modff(0, 0);
63640 return 0;
63642 _ACEOF
63643 if ac_fn_cxx_try_compile "$LINENO"; then :
63644 glibcxx_cv_func__modff_use=yes
63645 else
63646 glibcxx_cv_func__modff_use=no
63648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_ext=c
63650 ac_cpp='$CPP $CPPFLAGS'
63651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63660 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63662 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63663 for ac_func in _modff
63664 do :
63665 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63666 if test "x$ac_cv_func__modff" = xyes; then :
63667 cat >>confdefs.h <<_ACEOF
63668 #define HAVE__MODFF 1
63669 _ACEOF
63672 done
63681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63682 $as_echo_n "checking for modf declaration... " >&6; }
63683 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63684 if ${glibcxx_cv_func_modf_use+:} false; then :
63685 $as_echo_n "(cached) " >&6
63686 else
63689 ac_ext=cpp
63690 ac_cpp='$CXXCPP $CPPFLAGS'
63691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63696 /* end confdefs.h. */
63697 #include <math.h>
63699 main ()
63701 modf(0, 0);
63703 return 0;
63705 _ACEOF
63706 if ac_fn_cxx_try_compile "$LINENO"; then :
63707 glibcxx_cv_func_modf_use=yes
63708 else
63709 glibcxx_cv_func_modf_use=no
63711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63712 ac_ext=c
63713 ac_cpp='$CPP $CPPFLAGS'
63714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63723 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63725 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63726 for ac_func in modf
63727 do :
63728 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63729 if test "x$ac_cv_func_modf" = xyes; then :
63730 cat >>confdefs.h <<_ACEOF
63731 #define HAVE_MODF 1
63732 _ACEOF
63735 done
63737 else
63739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63740 $as_echo_n "checking for _modf declaration... " >&6; }
63741 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63742 if ${glibcxx_cv_func__modf_use+:} false; then :
63743 $as_echo_n "(cached) " >&6
63744 else
63747 ac_ext=cpp
63748 ac_cpp='$CXXCPP $CPPFLAGS'
63749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63754 /* end confdefs.h. */
63755 #include <math.h>
63757 main ()
63759 _modf(0, 0);
63761 return 0;
63763 _ACEOF
63764 if ac_fn_cxx_try_compile "$LINENO"; then :
63765 glibcxx_cv_func__modf_use=yes
63766 else
63767 glibcxx_cv_func__modf_use=no
63769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63770 ac_ext=c
63771 ac_cpp='$CPP $CPPFLAGS'
63772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63781 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63783 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63784 for ac_func in _modf
63785 do :
63786 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63787 if test "x$ac_cv_func__modf" = xyes; then :
63788 cat >>confdefs.h <<_ACEOF
63789 #define HAVE__MODF 1
63790 _ACEOF
63793 done
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63803 $as_echo_n "checking for powf declaration... " >&6; }
63804 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63805 if ${glibcxx_cv_func_powf_use+:} false; then :
63806 $as_echo_n "(cached) " >&6
63807 else
63810 ac_ext=cpp
63811 ac_cpp='$CXXCPP $CPPFLAGS'
63812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63817 /* end confdefs.h. */
63818 #include <math.h>
63820 main ()
63822 powf(0, 0);
63824 return 0;
63826 _ACEOF
63827 if ac_fn_cxx_try_compile "$LINENO"; then :
63828 glibcxx_cv_func_powf_use=yes
63829 else
63830 glibcxx_cv_func_powf_use=no
63832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63833 ac_ext=c
63834 ac_cpp='$CPP $CPPFLAGS'
63835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63844 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63846 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63847 for ac_func in powf
63848 do :
63849 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63850 if test "x$ac_cv_func_powf" = xyes; then :
63851 cat >>confdefs.h <<_ACEOF
63852 #define HAVE_POWF 1
63853 _ACEOF
63856 done
63858 else
63860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63861 $as_echo_n "checking for _powf declaration... " >&6; }
63862 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63863 if ${glibcxx_cv_func__powf_use+:} false; then :
63864 $as_echo_n "(cached) " >&6
63865 else
63868 ac_ext=cpp
63869 ac_cpp='$CXXCPP $CPPFLAGS'
63870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63875 /* end confdefs.h. */
63876 #include <math.h>
63878 main ()
63880 _powf(0, 0);
63882 return 0;
63884 _ACEOF
63885 if ac_fn_cxx_try_compile "$LINENO"; then :
63886 glibcxx_cv_func__powf_use=yes
63887 else
63888 glibcxx_cv_func__powf_use=no
63890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63891 ac_ext=c
63892 ac_cpp='$CPP $CPPFLAGS'
63893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63902 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63904 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63905 for ac_func in _powf
63906 do :
63907 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63908 if test "x$ac_cv_func__powf" = xyes; then :
63909 cat >>confdefs.h <<_ACEOF
63910 #define HAVE__POWF 1
63911 _ACEOF
63914 done
63923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63924 $as_echo_n "checking for sqrtf declaration... " >&6; }
63925 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63926 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63927 $as_echo_n "(cached) " >&6
63928 else
63931 ac_ext=cpp
63932 ac_cpp='$CXXCPP $CPPFLAGS'
63933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63938 /* end confdefs.h. */
63939 #include <math.h>
63940 #ifdef HAVE_IEEEFP_H
63941 #include <ieeefp.h>
63942 #endif
63945 main ()
63947 sqrtf(0);
63949 return 0;
63951 _ACEOF
63952 if ac_fn_cxx_try_compile "$LINENO"; then :
63953 glibcxx_cv_func_sqrtf_use=yes
63954 else
63955 glibcxx_cv_func_sqrtf_use=no
63957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63958 ac_ext=c
63959 ac_cpp='$CPP $CPPFLAGS'
63960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63969 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63971 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63972 for ac_func in sqrtf
63973 do :
63974 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63975 if test "x$ac_cv_func_sqrtf" = xyes; then :
63976 cat >>confdefs.h <<_ACEOF
63977 #define HAVE_SQRTF 1
63978 _ACEOF
63981 done
63983 else
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63986 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63987 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63988 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63989 $as_echo_n "(cached) " >&6
63990 else
63993 ac_ext=cpp
63994 ac_cpp='$CXXCPP $CPPFLAGS'
63995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64000 /* end confdefs.h. */
64001 #include <math.h>
64002 #ifdef HAVE_IEEEFP_H
64003 #include <ieeefp.h>
64004 #endif
64007 main ()
64009 _sqrtf(0);
64011 return 0;
64013 _ACEOF
64014 if ac_fn_cxx_try_compile "$LINENO"; then :
64015 glibcxx_cv_func__sqrtf_use=yes
64016 else
64017 glibcxx_cv_func__sqrtf_use=no
64019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64020 ac_ext=c
64021 ac_cpp='$CPP $CPPFLAGS'
64022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64031 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64033 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64034 for ac_func in _sqrtf
64035 do :
64036 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64037 if test "x$ac_cv_func__sqrtf" = xyes; then :
64038 cat >>confdefs.h <<_ACEOF
64039 #define HAVE__SQRTF 1
64040 _ACEOF
64043 done
64052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64053 $as_echo_n "checking for sincosf declaration... " >&6; }
64054 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64055 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64056 $as_echo_n "(cached) " >&6
64057 else
64060 ac_ext=cpp
64061 ac_cpp='$CXXCPP $CPPFLAGS'
64062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64067 /* end confdefs.h. */
64068 #include <math.h>
64070 main ()
64072 sincosf(0, 0, 0);
64074 return 0;
64076 _ACEOF
64077 if ac_fn_cxx_try_compile "$LINENO"; then :
64078 glibcxx_cv_func_sincosf_use=yes
64079 else
64080 glibcxx_cv_func_sincosf_use=no
64082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64083 ac_ext=c
64084 ac_cpp='$CPP $CPPFLAGS'
64085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64094 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64096 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64097 for ac_func in sincosf
64098 do :
64099 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64100 if test "x$ac_cv_func_sincosf" = xyes; then :
64101 cat >>confdefs.h <<_ACEOF
64102 #define HAVE_SINCOSF 1
64103 _ACEOF
64106 done
64108 else
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64111 $as_echo_n "checking for _sincosf declaration... " >&6; }
64112 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64113 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64114 $as_echo_n "(cached) " >&6
64115 else
64118 ac_ext=cpp
64119 ac_cpp='$CXXCPP $CPPFLAGS'
64120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64125 /* end confdefs.h. */
64126 #include <math.h>
64128 main ()
64130 _sincosf(0, 0, 0);
64132 return 0;
64134 _ACEOF
64135 if ac_fn_cxx_try_compile "$LINENO"; then :
64136 glibcxx_cv_func__sincosf_use=yes
64137 else
64138 glibcxx_cv_func__sincosf_use=no
64140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64141 ac_ext=c
64142 ac_cpp='$CPP $CPPFLAGS'
64143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64152 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64154 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64155 for ac_func in _sincosf
64156 do :
64157 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64158 if test "x$ac_cv_func__sincosf" = xyes; then :
64159 cat >>confdefs.h <<_ACEOF
64160 #define HAVE__SINCOSF 1
64161 _ACEOF
64164 done
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64174 $as_echo_n "checking for finitef declaration... " >&6; }
64175 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64176 if ${glibcxx_cv_func_finitef_use+:} false; then :
64177 $as_echo_n "(cached) " >&6
64178 else
64181 ac_ext=cpp
64182 ac_cpp='$CXXCPP $CPPFLAGS'
64183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64188 /* end confdefs.h. */
64189 #include <math.h>
64190 #ifdef HAVE_IEEEFP_H
64191 #include <ieeefp.h>
64192 #endif
64195 main ()
64197 finitef(0);
64199 return 0;
64201 _ACEOF
64202 if ac_fn_cxx_try_compile "$LINENO"; then :
64203 glibcxx_cv_func_finitef_use=yes
64204 else
64205 glibcxx_cv_func_finitef_use=no
64207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64208 ac_ext=c
64209 ac_cpp='$CPP $CPPFLAGS'
64210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64219 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64221 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64222 for ac_func in finitef
64223 do :
64224 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64225 if test "x$ac_cv_func_finitef" = xyes; then :
64226 cat >>confdefs.h <<_ACEOF
64227 #define HAVE_FINITEF 1
64228 _ACEOF
64231 done
64233 else
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64236 $as_echo_n "checking for _finitef declaration... " >&6; }
64237 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64238 if ${glibcxx_cv_func__finitef_use+:} false; then :
64239 $as_echo_n "(cached) " >&6
64240 else
64243 ac_ext=cpp
64244 ac_cpp='$CXXCPP $CPPFLAGS'
64245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64250 /* end confdefs.h. */
64251 #include <math.h>
64252 #ifdef HAVE_IEEEFP_H
64253 #include <ieeefp.h>
64254 #endif
64257 main ()
64259 _finitef(0);
64261 return 0;
64263 _ACEOF
64264 if ac_fn_cxx_try_compile "$LINENO"; then :
64265 glibcxx_cv_func__finitef_use=yes
64266 else
64267 glibcxx_cv_func__finitef_use=no
64269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64270 ac_ext=c
64271 ac_cpp='$CPP $CPPFLAGS'
64272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64281 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64283 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64284 for ac_func in _finitef
64285 do :
64286 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64287 if test "x$ac_cv_func__finitef" = xyes; then :
64288 cat >>confdefs.h <<_ACEOF
64289 #define HAVE__FINITEF 1
64290 _ACEOF
64293 done
64302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64303 $as_echo_n "checking for long double trig functions... " >&6; }
64304 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64305 $as_echo_n "(cached) " >&6
64306 else
64309 ac_ext=cpp
64310 ac_cpp='$CXXCPP $CPPFLAGS'
64311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64316 /* end confdefs.h. */
64317 #include <math.h>
64319 main ()
64321 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64323 return 0;
64325 _ACEOF
64326 if ac_fn_cxx_try_compile "$LINENO"; then :
64327 glibcxx_cv_func_long_double_trig_use=yes
64328 else
64329 glibcxx_cv_func_long_double_trig_use=no
64331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64332 ac_ext=c
64333 ac_cpp='$CPP $CPPFLAGS'
64334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64341 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64342 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64343 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64344 do :
64345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64347 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64348 cat >>confdefs.h <<_ACEOF
64349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64350 _ACEOF
64353 done
64355 else
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64357 $as_echo_n "checking for _long double trig functions... " >&6; }
64358 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64359 $as_echo_n "(cached) " >&6
64360 else
64363 ac_ext=cpp
64364 ac_cpp='$CXXCPP $CPPFLAGS'
64365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64370 /* end confdefs.h. */
64371 #include <math.h>
64373 main ()
64375 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64377 return 0;
64379 _ACEOF
64380 if ac_fn_cxx_try_compile "$LINENO"; then :
64381 glibcxx_cv_func__long_double_trig_use=yes
64382 else
64383 glibcxx_cv_func__long_double_trig_use=no
64385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64386 ac_ext=c
64387 ac_cpp='$CPP $CPPFLAGS'
64388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64395 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64396 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64397 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64398 do :
64399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64401 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64402 cat >>confdefs.h <<_ACEOF
64403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64404 _ACEOF
64407 done
64416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64417 $as_echo_n "checking for long double round functions... " >&6; }
64418 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64419 $as_echo_n "(cached) " >&6
64420 else
64423 ac_ext=cpp
64424 ac_cpp='$CXXCPP $CPPFLAGS'
64425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64430 /* end confdefs.h. */
64431 #include <math.h>
64433 main ()
64435 ceill (0); floorl (0);
64437 return 0;
64439 _ACEOF
64440 if ac_fn_cxx_try_compile "$LINENO"; then :
64441 glibcxx_cv_func_long_double_round_use=yes
64442 else
64443 glibcxx_cv_func_long_double_round_use=no
64445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64446 ac_ext=c
64447 ac_cpp='$CPP $CPPFLAGS'
64448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64455 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64456 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64457 for ac_func in ceill floorl
64458 do :
64459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64461 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64462 cat >>confdefs.h <<_ACEOF
64463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64464 _ACEOF
64467 done
64469 else
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64471 $as_echo_n "checking for _long double round functions... " >&6; }
64472 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64473 $as_echo_n "(cached) " >&6
64474 else
64477 ac_ext=cpp
64478 ac_cpp='$CXXCPP $CPPFLAGS'
64479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64484 /* end confdefs.h. */
64485 #include <math.h>
64487 main ()
64489 _ceill (0); _floorl (0);
64491 return 0;
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495 glibcxx_cv_func__long_double_round_use=yes
64496 else
64497 glibcxx_cv_func__long_double_round_use=no
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64509 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64510 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64511 for ac_func in _ceill _floorl
64512 do :
64513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64516 cat >>confdefs.h <<_ACEOF
64517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64518 _ACEOF
64521 done
64531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64532 $as_echo_n "checking for isnanl declaration... " >&6; }
64533 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64534 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64535 $as_echo_n "(cached) " >&6
64536 else
64539 ac_ext=cpp
64540 ac_cpp='$CXXCPP $CPPFLAGS'
64541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64546 /* end confdefs.h. */
64547 #include <math.h>
64548 #ifdef HAVE_IEEEFP_H
64549 #include <ieeefp.h>
64550 #endif
64553 main ()
64555 isnanl(0);
64557 return 0;
64559 _ACEOF
64560 if ac_fn_cxx_try_compile "$LINENO"; then :
64561 glibcxx_cv_func_isnanl_use=yes
64562 else
64563 glibcxx_cv_func_isnanl_use=no
64565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64566 ac_ext=c
64567 ac_cpp='$CPP $CPPFLAGS'
64568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64577 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64579 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64580 for ac_func in isnanl
64581 do :
64582 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64583 if test "x$ac_cv_func_isnanl" = xyes; then :
64584 cat >>confdefs.h <<_ACEOF
64585 #define HAVE_ISNANL 1
64586 _ACEOF
64589 done
64591 else
64593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64594 $as_echo_n "checking for _isnanl declaration... " >&6; }
64595 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64596 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64597 $as_echo_n "(cached) " >&6
64598 else
64601 ac_ext=cpp
64602 ac_cpp='$CXXCPP $CPPFLAGS'
64603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64608 /* end confdefs.h. */
64609 #include <math.h>
64610 #ifdef HAVE_IEEEFP_H
64611 #include <ieeefp.h>
64612 #endif
64615 main ()
64617 _isnanl(0);
64619 return 0;
64621 _ACEOF
64622 if ac_fn_cxx_try_compile "$LINENO"; then :
64623 glibcxx_cv_func__isnanl_use=yes
64624 else
64625 glibcxx_cv_func__isnanl_use=no
64627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64628 ac_ext=c
64629 ac_cpp='$CPP $CPPFLAGS'
64630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64639 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64641 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64642 for ac_func in _isnanl
64643 do :
64644 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64645 if test "x$ac_cv_func__isnanl" = xyes; then :
64646 cat >>confdefs.h <<_ACEOF
64647 #define HAVE__ISNANL 1
64648 _ACEOF
64651 done
64660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64661 $as_echo_n "checking for isinfl declaration... " >&6; }
64662 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64663 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64664 $as_echo_n "(cached) " >&6
64665 else
64668 ac_ext=cpp
64669 ac_cpp='$CXXCPP $CPPFLAGS'
64670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64675 /* end confdefs.h. */
64676 #include <math.h>
64677 #ifdef HAVE_IEEEFP_H
64678 #include <ieeefp.h>
64679 #endif
64682 main ()
64684 isinfl(0);
64686 return 0;
64688 _ACEOF
64689 if ac_fn_cxx_try_compile "$LINENO"; then :
64690 glibcxx_cv_func_isinfl_use=yes
64691 else
64692 glibcxx_cv_func_isinfl_use=no
64694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64695 ac_ext=c
64696 ac_cpp='$CPP $CPPFLAGS'
64697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64706 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64708 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64709 for ac_func in isinfl
64710 do :
64711 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64712 if test "x$ac_cv_func_isinfl" = xyes; then :
64713 cat >>confdefs.h <<_ACEOF
64714 #define HAVE_ISINFL 1
64715 _ACEOF
64718 done
64720 else
64722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64723 $as_echo_n "checking for _isinfl declaration... " >&6; }
64724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64725 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64726 $as_echo_n "(cached) " >&6
64727 else
64730 ac_ext=cpp
64731 ac_cpp='$CXXCPP $CPPFLAGS'
64732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64737 /* end confdefs.h. */
64738 #include <math.h>
64739 #ifdef HAVE_IEEEFP_H
64740 #include <ieeefp.h>
64741 #endif
64744 main ()
64746 _isinfl(0);
64748 return 0;
64750 _ACEOF
64751 if ac_fn_cxx_try_compile "$LINENO"; then :
64752 glibcxx_cv_func__isinfl_use=yes
64753 else
64754 glibcxx_cv_func__isinfl_use=no
64756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64757 ac_ext=c
64758 ac_cpp='$CPP $CPPFLAGS'
64759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64768 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64770 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64771 for ac_func in _isinfl
64772 do :
64773 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64774 if test "x$ac_cv_func__isinfl" = xyes; then :
64775 cat >>confdefs.h <<_ACEOF
64776 #define HAVE__ISINFL 1
64777 _ACEOF
64780 done
64789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64790 $as_echo_n "checking for atan2l declaration... " >&6; }
64791 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64792 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64793 $as_echo_n "(cached) " >&6
64794 else
64797 ac_ext=cpp
64798 ac_cpp='$CXXCPP $CPPFLAGS'
64799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64804 /* end confdefs.h. */
64805 #include <math.h>
64807 main ()
64809 atan2l(0, 0);
64811 return 0;
64813 _ACEOF
64814 if ac_fn_cxx_try_compile "$LINENO"; then :
64815 glibcxx_cv_func_atan2l_use=yes
64816 else
64817 glibcxx_cv_func_atan2l_use=no
64819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64820 ac_ext=c
64821 ac_cpp='$CPP $CPPFLAGS'
64822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64831 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64833 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64834 for ac_func in atan2l
64835 do :
64836 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64837 if test "x$ac_cv_func_atan2l" = xyes; then :
64838 cat >>confdefs.h <<_ACEOF
64839 #define HAVE_ATAN2L 1
64840 _ACEOF
64843 done
64845 else
64847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64848 $as_echo_n "checking for _atan2l declaration... " >&6; }
64849 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64850 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64851 $as_echo_n "(cached) " >&6
64852 else
64855 ac_ext=cpp
64856 ac_cpp='$CXXCPP $CPPFLAGS'
64857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64862 /* end confdefs.h. */
64863 #include <math.h>
64865 main ()
64867 _atan2l(0, 0);
64869 return 0;
64871 _ACEOF
64872 if ac_fn_cxx_try_compile "$LINENO"; then :
64873 glibcxx_cv_func__atan2l_use=yes
64874 else
64875 glibcxx_cv_func__atan2l_use=no
64877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64878 ac_ext=c
64879 ac_cpp='$CPP $CPPFLAGS'
64880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64889 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64891 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64892 for ac_func in _atan2l
64893 do :
64894 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64895 if test "x$ac_cv_func__atan2l" = xyes; then :
64896 cat >>confdefs.h <<_ACEOF
64897 #define HAVE__ATAN2L 1
64898 _ACEOF
64901 done
64910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64911 $as_echo_n "checking for expl declaration... " >&6; }
64912 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64913 if ${glibcxx_cv_func_expl_use+:} false; then :
64914 $as_echo_n "(cached) " >&6
64915 else
64918 ac_ext=cpp
64919 ac_cpp='$CXXCPP $CPPFLAGS'
64920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64925 /* end confdefs.h. */
64926 #include <math.h>
64927 #ifdef HAVE_IEEEFP_H
64928 #include <ieeefp.h>
64929 #endif
64932 main ()
64934 expl(0);
64936 return 0;
64938 _ACEOF
64939 if ac_fn_cxx_try_compile "$LINENO"; then :
64940 glibcxx_cv_func_expl_use=yes
64941 else
64942 glibcxx_cv_func_expl_use=no
64944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64945 ac_ext=c
64946 ac_cpp='$CPP $CPPFLAGS'
64947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64956 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64958 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64959 for ac_func in expl
64960 do :
64961 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64962 if test "x$ac_cv_func_expl" = xyes; then :
64963 cat >>confdefs.h <<_ACEOF
64964 #define HAVE_EXPL 1
64965 _ACEOF
64968 done
64970 else
64972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64973 $as_echo_n "checking for _expl declaration... " >&6; }
64974 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64975 if ${glibcxx_cv_func__expl_use+:} false; then :
64976 $as_echo_n "(cached) " >&6
64977 else
64980 ac_ext=cpp
64981 ac_cpp='$CXXCPP $CPPFLAGS'
64982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64987 /* end confdefs.h. */
64988 #include <math.h>
64989 #ifdef HAVE_IEEEFP_H
64990 #include <ieeefp.h>
64991 #endif
64994 main ()
64996 _expl(0);
64998 return 0;
65000 _ACEOF
65001 if ac_fn_cxx_try_compile "$LINENO"; then :
65002 glibcxx_cv_func__expl_use=yes
65003 else
65004 glibcxx_cv_func__expl_use=no
65006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65007 ac_ext=c
65008 ac_cpp='$CPP $CPPFLAGS'
65009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65018 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65020 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65021 for ac_func in _expl
65022 do :
65023 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65024 if test "x$ac_cv_func__expl" = xyes; then :
65025 cat >>confdefs.h <<_ACEOF
65026 #define HAVE__EXPL 1
65027 _ACEOF
65030 done
65039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65040 $as_echo_n "checking for fabsl declaration... " >&6; }
65041 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65042 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65043 $as_echo_n "(cached) " >&6
65044 else
65047 ac_ext=cpp
65048 ac_cpp='$CXXCPP $CPPFLAGS'
65049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65054 /* end confdefs.h. */
65055 #include <math.h>
65056 #ifdef HAVE_IEEEFP_H
65057 #include <ieeefp.h>
65058 #endif
65061 main ()
65063 fabsl(0);
65065 return 0;
65067 _ACEOF
65068 if ac_fn_cxx_try_compile "$LINENO"; then :
65069 glibcxx_cv_func_fabsl_use=yes
65070 else
65071 glibcxx_cv_func_fabsl_use=no
65073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65074 ac_ext=c
65075 ac_cpp='$CPP $CPPFLAGS'
65076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65085 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65087 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65088 for ac_func in fabsl
65089 do :
65090 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65091 if test "x$ac_cv_func_fabsl" = xyes; then :
65092 cat >>confdefs.h <<_ACEOF
65093 #define HAVE_FABSL 1
65094 _ACEOF
65097 done
65099 else
65101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65102 $as_echo_n "checking for _fabsl declaration... " >&6; }
65103 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65104 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65105 $as_echo_n "(cached) " >&6
65106 else
65109 ac_ext=cpp
65110 ac_cpp='$CXXCPP $CPPFLAGS'
65111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65116 /* end confdefs.h. */
65117 #include <math.h>
65118 #ifdef HAVE_IEEEFP_H
65119 #include <ieeefp.h>
65120 #endif
65123 main ()
65125 _fabsl(0);
65127 return 0;
65129 _ACEOF
65130 if ac_fn_cxx_try_compile "$LINENO"; then :
65131 glibcxx_cv_func__fabsl_use=yes
65132 else
65133 glibcxx_cv_func__fabsl_use=no
65135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65136 ac_ext=c
65137 ac_cpp='$CPP $CPPFLAGS'
65138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65147 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65149 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65150 for ac_func in _fabsl
65151 do :
65152 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65153 if test "x$ac_cv_func__fabsl" = xyes; then :
65154 cat >>confdefs.h <<_ACEOF
65155 #define HAVE__FABSL 1
65156 _ACEOF
65159 done
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65169 $as_echo_n "checking for fmodl declaration... " >&6; }
65170 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65171 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65172 $as_echo_n "(cached) " >&6
65173 else
65176 ac_ext=cpp
65177 ac_cpp='$CXXCPP $CPPFLAGS'
65178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65183 /* end confdefs.h. */
65184 #include <math.h>
65186 main ()
65188 fmodl(0, 0);
65190 return 0;
65192 _ACEOF
65193 if ac_fn_cxx_try_compile "$LINENO"; then :
65194 glibcxx_cv_func_fmodl_use=yes
65195 else
65196 glibcxx_cv_func_fmodl_use=no
65198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65199 ac_ext=c
65200 ac_cpp='$CPP $CPPFLAGS'
65201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65210 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65212 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65213 for ac_func in fmodl
65214 do :
65215 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65216 if test "x$ac_cv_func_fmodl" = xyes; then :
65217 cat >>confdefs.h <<_ACEOF
65218 #define HAVE_FMODL 1
65219 _ACEOF
65222 done
65224 else
65226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65227 $as_echo_n "checking for _fmodl declaration... " >&6; }
65228 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65229 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65230 $as_echo_n "(cached) " >&6
65231 else
65234 ac_ext=cpp
65235 ac_cpp='$CXXCPP $CPPFLAGS'
65236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65241 /* end confdefs.h. */
65242 #include <math.h>
65244 main ()
65246 _fmodl(0, 0);
65248 return 0;
65250 _ACEOF
65251 if ac_fn_cxx_try_compile "$LINENO"; then :
65252 glibcxx_cv_func__fmodl_use=yes
65253 else
65254 glibcxx_cv_func__fmodl_use=no
65256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65257 ac_ext=c
65258 ac_cpp='$CPP $CPPFLAGS'
65259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65268 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65270 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65271 for ac_func in _fmodl
65272 do :
65273 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65274 if test "x$ac_cv_func__fmodl" = xyes; then :
65275 cat >>confdefs.h <<_ACEOF
65276 #define HAVE__FMODL 1
65277 _ACEOF
65280 done
65289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65290 $as_echo_n "checking for frexpl declaration... " >&6; }
65291 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65292 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65293 $as_echo_n "(cached) " >&6
65294 else
65297 ac_ext=cpp
65298 ac_cpp='$CXXCPP $CPPFLAGS'
65299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304 /* end confdefs.h. */
65305 #include <math.h>
65307 main ()
65309 frexpl(0, 0);
65311 return 0;
65313 _ACEOF
65314 if ac_fn_cxx_try_compile "$LINENO"; then :
65315 glibcxx_cv_func_frexpl_use=yes
65316 else
65317 glibcxx_cv_func_frexpl_use=no
65319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65320 ac_ext=c
65321 ac_cpp='$CPP $CPPFLAGS'
65322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65331 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65333 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65334 for ac_func in frexpl
65335 do :
65336 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65337 if test "x$ac_cv_func_frexpl" = xyes; then :
65338 cat >>confdefs.h <<_ACEOF
65339 #define HAVE_FREXPL 1
65340 _ACEOF
65343 done
65345 else
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65348 $as_echo_n "checking for _frexpl declaration... " >&6; }
65349 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65350 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65365 main ()
65367 _frexpl(0, 0);
65369 return 0;
65371 _ACEOF
65372 if ac_fn_cxx_try_compile "$LINENO"; then :
65373 glibcxx_cv_func__frexpl_use=yes
65374 else
65375 glibcxx_cv_func__frexpl_use=no
65377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65378 ac_ext=c
65379 ac_cpp='$CPP $CPPFLAGS'
65380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65389 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65391 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65392 for ac_func in _frexpl
65393 do :
65394 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65395 if test "x$ac_cv_func__frexpl" = xyes; then :
65396 cat >>confdefs.h <<_ACEOF
65397 #define HAVE__FREXPL 1
65398 _ACEOF
65401 done
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65411 $as_echo_n "checking for hypotl declaration... " >&6; }
65412 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65413 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65414 $as_echo_n "(cached) " >&6
65415 else
65418 ac_ext=cpp
65419 ac_cpp='$CXXCPP $CPPFLAGS'
65420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65425 /* end confdefs.h. */
65426 #include <math.h>
65428 main ()
65430 hypotl(0, 0);
65432 return 0;
65434 _ACEOF
65435 if ac_fn_cxx_try_compile "$LINENO"; then :
65436 glibcxx_cv_func_hypotl_use=yes
65437 else
65438 glibcxx_cv_func_hypotl_use=no
65440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65441 ac_ext=c
65442 ac_cpp='$CPP $CPPFLAGS'
65443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65452 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65454 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65455 for ac_func in hypotl
65456 do :
65457 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65458 if test "x$ac_cv_func_hypotl" = xyes; then :
65459 cat >>confdefs.h <<_ACEOF
65460 #define HAVE_HYPOTL 1
65461 _ACEOF
65464 done
65466 else
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65469 $as_echo_n "checking for _hypotl declaration... " >&6; }
65470 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65471 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65472 $as_echo_n "(cached) " >&6
65473 else
65476 ac_ext=cpp
65477 ac_cpp='$CXXCPP $CPPFLAGS'
65478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65483 /* end confdefs.h. */
65484 #include <math.h>
65486 main ()
65488 _hypotl(0, 0);
65490 return 0;
65492 _ACEOF
65493 if ac_fn_cxx_try_compile "$LINENO"; then :
65494 glibcxx_cv_func__hypotl_use=yes
65495 else
65496 glibcxx_cv_func__hypotl_use=no
65498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65499 ac_ext=c
65500 ac_cpp='$CPP $CPPFLAGS'
65501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65510 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65512 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65513 for ac_func in _hypotl
65514 do :
65515 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65516 if test "x$ac_cv_func__hypotl" = xyes; then :
65517 cat >>confdefs.h <<_ACEOF
65518 #define HAVE__HYPOTL 1
65519 _ACEOF
65522 done
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65532 $as_echo_n "checking for ldexpl declaration... " >&6; }
65533 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65534 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65535 $as_echo_n "(cached) " >&6
65536 else
65539 ac_ext=cpp
65540 ac_cpp='$CXXCPP $CPPFLAGS'
65541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65546 /* end confdefs.h. */
65547 #include <math.h>
65549 main ()
65551 ldexpl(0, 0);
65553 return 0;
65555 _ACEOF
65556 if ac_fn_cxx_try_compile "$LINENO"; then :
65557 glibcxx_cv_func_ldexpl_use=yes
65558 else
65559 glibcxx_cv_func_ldexpl_use=no
65561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65562 ac_ext=c
65563 ac_cpp='$CPP $CPPFLAGS'
65564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65573 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65575 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65576 for ac_func in ldexpl
65577 do :
65578 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65579 if test "x$ac_cv_func_ldexpl" = xyes; then :
65580 cat >>confdefs.h <<_ACEOF
65581 #define HAVE_LDEXPL 1
65582 _ACEOF
65585 done
65587 else
65589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65590 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65591 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65592 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65593 $as_echo_n "(cached) " >&6
65594 else
65597 ac_ext=cpp
65598 ac_cpp='$CXXCPP $CPPFLAGS'
65599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65604 /* end confdefs.h. */
65605 #include <math.h>
65607 main ()
65609 _ldexpl(0, 0);
65611 return 0;
65613 _ACEOF
65614 if ac_fn_cxx_try_compile "$LINENO"; then :
65615 glibcxx_cv_func__ldexpl_use=yes
65616 else
65617 glibcxx_cv_func__ldexpl_use=no
65619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65620 ac_ext=c
65621 ac_cpp='$CPP $CPPFLAGS'
65622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65631 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65633 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65634 for ac_func in _ldexpl
65635 do :
65636 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65637 if test "x$ac_cv_func__ldexpl" = xyes; then :
65638 cat >>confdefs.h <<_ACEOF
65639 #define HAVE__LDEXPL 1
65640 _ACEOF
65643 done
65652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65653 $as_echo_n "checking for logl declaration... " >&6; }
65654 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65655 if ${glibcxx_cv_func_logl_use+:} false; then :
65656 $as_echo_n "(cached) " >&6
65657 else
65660 ac_ext=cpp
65661 ac_cpp='$CXXCPP $CPPFLAGS'
65662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65667 /* end confdefs.h. */
65668 #include <math.h>
65669 #ifdef HAVE_IEEEFP_H
65670 #include <ieeefp.h>
65671 #endif
65674 main ()
65676 logl(0);
65678 return 0;
65680 _ACEOF
65681 if ac_fn_cxx_try_compile "$LINENO"; then :
65682 glibcxx_cv_func_logl_use=yes
65683 else
65684 glibcxx_cv_func_logl_use=no
65686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65687 ac_ext=c
65688 ac_cpp='$CPP $CPPFLAGS'
65689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65698 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65700 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65701 for ac_func in logl
65702 do :
65703 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65704 if test "x$ac_cv_func_logl" = xyes; then :
65705 cat >>confdefs.h <<_ACEOF
65706 #define HAVE_LOGL 1
65707 _ACEOF
65710 done
65712 else
65714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65715 $as_echo_n "checking for _logl declaration... " >&6; }
65716 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65717 if ${glibcxx_cv_func__logl_use+:} false; then :
65718 $as_echo_n "(cached) " >&6
65719 else
65722 ac_ext=cpp
65723 ac_cpp='$CXXCPP $CPPFLAGS'
65724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65729 /* end confdefs.h. */
65730 #include <math.h>
65731 #ifdef HAVE_IEEEFP_H
65732 #include <ieeefp.h>
65733 #endif
65736 main ()
65738 _logl(0);
65740 return 0;
65742 _ACEOF
65743 if ac_fn_cxx_try_compile "$LINENO"; then :
65744 glibcxx_cv_func__logl_use=yes
65745 else
65746 glibcxx_cv_func__logl_use=no
65748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65749 ac_ext=c
65750 ac_cpp='$CPP $CPPFLAGS'
65751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65760 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65762 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65763 for ac_func in _logl
65764 do :
65765 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65766 if test "x$ac_cv_func__logl" = xyes; then :
65767 cat >>confdefs.h <<_ACEOF
65768 #define HAVE__LOGL 1
65769 _ACEOF
65772 done
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65782 $as_echo_n "checking for log10l declaration... " >&6; }
65783 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65784 if ${glibcxx_cv_func_log10l_use+:} false; then :
65785 $as_echo_n "(cached) " >&6
65786 else
65789 ac_ext=cpp
65790 ac_cpp='$CXXCPP $CPPFLAGS'
65791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65796 /* end confdefs.h. */
65797 #include <math.h>
65798 #ifdef HAVE_IEEEFP_H
65799 #include <ieeefp.h>
65800 #endif
65803 main ()
65805 log10l(0);
65807 return 0;
65809 _ACEOF
65810 if ac_fn_cxx_try_compile "$LINENO"; then :
65811 glibcxx_cv_func_log10l_use=yes
65812 else
65813 glibcxx_cv_func_log10l_use=no
65815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65816 ac_ext=c
65817 ac_cpp='$CPP $CPPFLAGS'
65818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65827 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65829 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65830 for ac_func in log10l
65831 do :
65832 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65833 if test "x$ac_cv_func_log10l" = xyes; then :
65834 cat >>confdefs.h <<_ACEOF
65835 #define HAVE_LOG10L 1
65836 _ACEOF
65839 done
65841 else
65843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65844 $as_echo_n "checking for _log10l declaration... " >&6; }
65845 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65846 if ${glibcxx_cv_func__log10l_use+:} false; then :
65847 $as_echo_n "(cached) " >&6
65848 else
65851 ac_ext=cpp
65852 ac_cpp='$CXXCPP $CPPFLAGS'
65853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65858 /* end confdefs.h. */
65859 #include <math.h>
65860 #ifdef HAVE_IEEEFP_H
65861 #include <ieeefp.h>
65862 #endif
65865 main ()
65867 _log10l(0);
65869 return 0;
65871 _ACEOF
65872 if ac_fn_cxx_try_compile "$LINENO"; then :
65873 glibcxx_cv_func__log10l_use=yes
65874 else
65875 glibcxx_cv_func__log10l_use=no
65877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65878 ac_ext=c
65879 ac_cpp='$CPP $CPPFLAGS'
65880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65889 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65891 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65892 for ac_func in _log10l
65893 do :
65894 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65895 if test "x$ac_cv_func__log10l" = xyes; then :
65896 cat >>confdefs.h <<_ACEOF
65897 #define HAVE__LOG10L 1
65898 _ACEOF
65901 done
65910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65911 $as_echo_n "checking for modfl declaration... " >&6; }
65912 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65913 if ${glibcxx_cv_func_modfl_use+:} false; then :
65914 $as_echo_n "(cached) " >&6
65915 else
65918 ac_ext=cpp
65919 ac_cpp='$CXXCPP $CPPFLAGS'
65920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65925 /* end confdefs.h. */
65926 #include <math.h>
65928 main ()
65930 modfl(0, 0);
65932 return 0;
65934 _ACEOF
65935 if ac_fn_cxx_try_compile "$LINENO"; then :
65936 glibcxx_cv_func_modfl_use=yes
65937 else
65938 glibcxx_cv_func_modfl_use=no
65940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65941 ac_ext=c
65942 ac_cpp='$CPP $CPPFLAGS'
65943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65952 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65954 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65955 for ac_func in modfl
65956 do :
65957 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65958 if test "x$ac_cv_func_modfl" = xyes; then :
65959 cat >>confdefs.h <<_ACEOF
65960 #define HAVE_MODFL 1
65961 _ACEOF
65964 done
65966 else
65968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65969 $as_echo_n "checking for _modfl declaration... " >&6; }
65970 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65971 if ${glibcxx_cv_func__modfl_use+:} false; then :
65972 $as_echo_n "(cached) " >&6
65973 else
65976 ac_ext=cpp
65977 ac_cpp='$CXXCPP $CPPFLAGS'
65978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65983 /* end confdefs.h. */
65984 #include <math.h>
65986 main ()
65988 _modfl(0, 0);
65990 return 0;
65992 _ACEOF
65993 if ac_fn_cxx_try_compile "$LINENO"; then :
65994 glibcxx_cv_func__modfl_use=yes
65995 else
65996 glibcxx_cv_func__modfl_use=no
65998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65999 ac_ext=c
66000 ac_cpp='$CPP $CPPFLAGS'
66001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66010 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66012 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66013 for ac_func in _modfl
66014 do :
66015 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66016 if test "x$ac_cv_func__modfl" = xyes; then :
66017 cat >>confdefs.h <<_ACEOF
66018 #define HAVE__MODFL 1
66019 _ACEOF
66022 done
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66032 $as_echo_n "checking for powl declaration... " >&6; }
66033 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66034 if ${glibcxx_cv_func_powl_use+:} false; then :
66035 $as_echo_n "(cached) " >&6
66036 else
66039 ac_ext=cpp
66040 ac_cpp='$CXXCPP $CPPFLAGS'
66041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66046 /* end confdefs.h. */
66047 #include <math.h>
66049 main ()
66051 powl(0, 0);
66053 return 0;
66055 _ACEOF
66056 if ac_fn_cxx_try_compile "$LINENO"; then :
66057 glibcxx_cv_func_powl_use=yes
66058 else
66059 glibcxx_cv_func_powl_use=no
66061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66062 ac_ext=c
66063 ac_cpp='$CPP $CPPFLAGS'
66064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66073 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66075 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66076 for ac_func in powl
66077 do :
66078 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66079 if test "x$ac_cv_func_powl" = xyes; then :
66080 cat >>confdefs.h <<_ACEOF
66081 #define HAVE_POWL 1
66082 _ACEOF
66085 done
66087 else
66089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66090 $as_echo_n "checking for _powl declaration... " >&6; }
66091 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66092 if ${glibcxx_cv_func__powl_use+:} false; then :
66093 $as_echo_n "(cached) " >&6
66094 else
66097 ac_ext=cpp
66098 ac_cpp='$CXXCPP $CPPFLAGS'
66099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66104 /* end confdefs.h. */
66105 #include <math.h>
66107 main ()
66109 _powl(0, 0);
66111 return 0;
66113 _ACEOF
66114 if ac_fn_cxx_try_compile "$LINENO"; then :
66115 glibcxx_cv_func__powl_use=yes
66116 else
66117 glibcxx_cv_func__powl_use=no
66119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66120 ac_ext=c
66121 ac_cpp='$CPP $CPPFLAGS'
66122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66131 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66133 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66134 for ac_func in _powl
66135 do :
66136 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66137 if test "x$ac_cv_func__powl" = xyes; then :
66138 cat >>confdefs.h <<_ACEOF
66139 #define HAVE__POWL 1
66140 _ACEOF
66143 done
66152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66153 $as_echo_n "checking for sqrtl declaration... " >&6; }
66154 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66155 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66156 $as_echo_n "(cached) " >&6
66157 else
66160 ac_ext=cpp
66161 ac_cpp='$CXXCPP $CPPFLAGS'
66162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66167 /* end confdefs.h. */
66168 #include <math.h>
66169 #ifdef HAVE_IEEEFP_H
66170 #include <ieeefp.h>
66171 #endif
66174 main ()
66176 sqrtl(0);
66178 return 0;
66180 _ACEOF
66181 if ac_fn_cxx_try_compile "$LINENO"; then :
66182 glibcxx_cv_func_sqrtl_use=yes
66183 else
66184 glibcxx_cv_func_sqrtl_use=no
66186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66187 ac_ext=c
66188 ac_cpp='$CPP $CPPFLAGS'
66189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66198 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66200 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66201 for ac_func in sqrtl
66202 do :
66203 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66204 if test "x$ac_cv_func_sqrtl" = xyes; then :
66205 cat >>confdefs.h <<_ACEOF
66206 #define HAVE_SQRTL 1
66207 _ACEOF
66210 done
66212 else
66214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66215 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66217 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66218 $as_echo_n "(cached) " >&6
66219 else
66222 ac_ext=cpp
66223 ac_cpp='$CXXCPP $CPPFLAGS'
66224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66229 /* end confdefs.h. */
66230 #include <math.h>
66231 #ifdef HAVE_IEEEFP_H
66232 #include <ieeefp.h>
66233 #endif
66236 main ()
66238 _sqrtl(0);
66240 return 0;
66242 _ACEOF
66243 if ac_fn_cxx_try_compile "$LINENO"; then :
66244 glibcxx_cv_func__sqrtl_use=yes
66245 else
66246 glibcxx_cv_func__sqrtl_use=no
66248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66249 ac_ext=c
66250 ac_cpp='$CPP $CPPFLAGS'
66251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66260 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66262 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66263 for ac_func in _sqrtl
66264 do :
66265 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66266 if test "x$ac_cv_func__sqrtl" = xyes; then :
66267 cat >>confdefs.h <<_ACEOF
66268 #define HAVE__SQRTL 1
66269 _ACEOF
66272 done
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66282 $as_echo_n "checking for sincosl declaration... " >&6; }
66283 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66284 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66285 $as_echo_n "(cached) " >&6
66286 else
66289 ac_ext=cpp
66290 ac_cpp='$CXXCPP $CPPFLAGS'
66291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66296 /* end confdefs.h. */
66297 #include <math.h>
66299 main ()
66301 sincosl(0, 0, 0);
66303 return 0;
66305 _ACEOF
66306 if ac_fn_cxx_try_compile "$LINENO"; then :
66307 glibcxx_cv_func_sincosl_use=yes
66308 else
66309 glibcxx_cv_func_sincosl_use=no
66311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66312 ac_ext=c
66313 ac_cpp='$CPP $CPPFLAGS'
66314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66323 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66325 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66326 for ac_func in sincosl
66327 do :
66328 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66329 if test "x$ac_cv_func_sincosl" = xyes; then :
66330 cat >>confdefs.h <<_ACEOF
66331 #define HAVE_SINCOSL 1
66332 _ACEOF
66335 done
66337 else
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66340 $as_echo_n "checking for _sincosl declaration... " >&6; }
66341 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66342 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66343 $as_echo_n "(cached) " >&6
66344 else
66347 ac_ext=cpp
66348 ac_cpp='$CXXCPP $CPPFLAGS'
66349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66354 /* end confdefs.h. */
66355 #include <math.h>
66357 main ()
66359 _sincosl(0, 0, 0);
66361 return 0;
66363 _ACEOF
66364 if ac_fn_cxx_try_compile "$LINENO"; then :
66365 glibcxx_cv_func__sincosl_use=yes
66366 else
66367 glibcxx_cv_func__sincosl_use=no
66369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66370 ac_ext=c
66371 ac_cpp='$CPP $CPPFLAGS'
66372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66381 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66383 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66384 for ac_func in _sincosl
66385 do :
66386 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66387 if test "x$ac_cv_func__sincosl" = xyes; then :
66388 cat >>confdefs.h <<_ACEOF
66389 #define HAVE__SINCOSL 1
66390 _ACEOF
66393 done
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66403 $as_echo_n "checking for finitel declaration... " >&6; }
66404 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66405 if ${glibcxx_cv_func_finitel_use+:} false; then :
66406 $as_echo_n "(cached) " >&6
66407 else
66410 ac_ext=cpp
66411 ac_cpp='$CXXCPP $CPPFLAGS'
66412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66417 /* end confdefs.h. */
66418 #include <math.h>
66419 #ifdef HAVE_IEEEFP_H
66420 #include <ieeefp.h>
66421 #endif
66424 main ()
66426 finitel(0);
66428 return 0;
66430 _ACEOF
66431 if ac_fn_cxx_try_compile "$LINENO"; then :
66432 glibcxx_cv_func_finitel_use=yes
66433 else
66434 glibcxx_cv_func_finitel_use=no
66436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66437 ac_ext=c
66438 ac_cpp='$CPP $CPPFLAGS'
66439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66448 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66450 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66451 for ac_func in finitel
66452 do :
66453 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66454 if test "x$ac_cv_func_finitel" = xyes; then :
66455 cat >>confdefs.h <<_ACEOF
66456 #define HAVE_FINITEL 1
66457 _ACEOF
66460 done
66462 else
66464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66465 $as_echo_n "checking for _finitel declaration... " >&6; }
66466 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66467 if ${glibcxx_cv_func__finitel_use+:} false; then :
66468 $as_echo_n "(cached) " >&6
66469 else
66472 ac_ext=cpp
66473 ac_cpp='$CXXCPP $CPPFLAGS'
66474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66479 /* end confdefs.h. */
66480 #include <math.h>
66481 #ifdef HAVE_IEEEFP_H
66482 #include <ieeefp.h>
66483 #endif
66486 main ()
66488 _finitel(0);
66490 return 0;
66492 _ACEOF
66493 if ac_fn_cxx_try_compile "$LINENO"; then :
66494 glibcxx_cv_func__finitel_use=yes
66495 else
66496 glibcxx_cv_func__finitel_use=no
66498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66510 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66512 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66513 for ac_func in _finitel
66514 do :
66515 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66516 if test "x$ac_cv_func__finitel" = xyes; then :
66517 cat >>confdefs.h <<_ACEOF
66518 #define HAVE__FINITEL 1
66519 _ACEOF
66522 done
66530 LIBS="$ac_save_LIBS"
66531 CXXFLAGS="$ac_save_CXXFLAGS"
66534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66535 ac_save_CXXFLAGS="$CXXFLAGS"
66536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66540 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66541 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66542 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66543 $as_echo_n "(cached) " >&6
66544 else
66547 ac_ext=cpp
66548 ac_cpp='$CXXCPP $CPPFLAGS'
66549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66554 /* end confdefs.h. */
66555 #include <stdlib.h>
66557 main ()
66559 at_quick_exit(0);
66561 return 0;
66563 _ACEOF
66564 if ac_fn_cxx_try_compile "$LINENO"; then :
66565 glibcxx_cv_func_at_quick_exit_use=yes
66566 else
66567 glibcxx_cv_func_at_quick_exit_use=no
66569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66570 ac_ext=c
66571 ac_cpp='$CPP $CPPFLAGS'
66572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66581 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66582 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66583 for ac_func in at_quick_exit
66584 do :
66585 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66586 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66587 cat >>confdefs.h <<_ACEOF
66588 #define HAVE_AT_QUICK_EXIT 1
66589 _ACEOF
66592 done
66597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66598 $as_echo_n "checking for quick_exit declaration... " >&6; }
66599 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66600 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66601 $as_echo_n "(cached) " >&6
66602 else
66605 ac_ext=cpp
66606 ac_cpp='$CXXCPP $CPPFLAGS'
66607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66612 /* end confdefs.h. */
66613 #include <stdlib.h>
66615 main ()
66617 quick_exit(0);
66619 return 0;
66621 _ACEOF
66622 if ac_fn_cxx_try_compile "$LINENO"; then :
66623 glibcxx_cv_func_quick_exit_use=yes
66624 else
66625 glibcxx_cv_func_quick_exit_use=no
66627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66628 ac_ext=c
66629 ac_cpp='$CPP $CPPFLAGS'
66630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66639 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66640 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66641 for ac_func in quick_exit
66642 do :
66643 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66644 if test "x$ac_cv_func_quick_exit" = xyes; then :
66645 cat >>confdefs.h <<_ACEOF
66646 #define HAVE_QUICK_EXIT 1
66647 _ACEOF
66650 done
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66656 $as_echo_n "checking for strtold declaration... " >&6; }
66657 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66658 if ${glibcxx_cv_func_strtold_use+:} false; then :
66659 $as_echo_n "(cached) " >&6
66660 else
66663 ac_ext=cpp
66664 ac_cpp='$CXXCPP $CPPFLAGS'
66665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66670 /* end confdefs.h. */
66671 #include <stdlib.h>
66673 main ()
66675 strtold(0, 0);
66677 return 0;
66679 _ACEOF
66680 if ac_fn_cxx_try_compile "$LINENO"; then :
66681 glibcxx_cv_func_strtold_use=yes
66682 else
66683 glibcxx_cv_func_strtold_use=no
66685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66686 ac_ext=c
66687 ac_cpp='$CPP $CPPFLAGS'
66688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66697 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66698 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66699 for ac_func in strtold
66700 do :
66701 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66702 if test "x$ac_cv_func_strtold" = xyes; then :
66703 cat >>confdefs.h <<_ACEOF
66704 #define HAVE_STRTOLD 1
66705 _ACEOF
66708 done
66715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66716 $as_echo_n "checking for strtof declaration... " >&6; }
66717 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66718 if ${glibcxx_cv_func_strtof_use+:} false; then :
66719 $as_echo_n "(cached) " >&6
66720 else
66723 ac_ext=cpp
66724 ac_cpp='$CXXCPP $CPPFLAGS'
66725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h. */
66731 #include <stdlib.h>
66733 main ()
66735 strtof(0, 0);
66737 return 0;
66739 _ACEOF
66740 if ac_fn_cxx_try_compile "$LINENO"; then :
66741 glibcxx_cv_func_strtof_use=yes
66742 else
66743 glibcxx_cv_func_strtof_use=no
66745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66746 ac_ext=c
66747 ac_cpp='$CPP $CPPFLAGS'
66748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66757 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66758 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66759 for ac_func in strtof
66760 do :
66761 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66762 if test "x$ac_cv_func_strtof" = xyes; then :
66763 cat >>confdefs.h <<_ACEOF
66764 #define HAVE_STRTOF 1
66765 _ACEOF
66768 done
66775 CXXFLAGS="$ac_save_CXXFLAGS"
66778 *-vxworks*)
66779 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
66781 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
66783 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
66785 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
66787 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
66789 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66791 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66793 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
66795 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
66797 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
66799 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
66801 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
66803 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66805 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66807 $as_echo "#define HAVE_POWF 1" >>confdefs.h
66809 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66811 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66813 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
66815 $as_echo "#define HAVE_TANF 1" >>confdefs.h
66817 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
66823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
66824 $as_echo_n "checking for acosl declaration... " >&6; }
66825 if ${glibcxx_cv_func_acosl_use+:} false; then :
66826 $as_echo_n "(cached) " >&6
66827 else
66830 ac_ext=c
66831 ac_cpp='$CPP $CPPFLAGS'
66832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66837 /* end confdefs.h. */
66839 #include <math.h>
66840 #ifdef HAVE_IEEEFP_H
66841 # include <ieeefp.h>
66842 #endif
66843 #undef acosl
66846 main ()
66849 void (*f)(void) = (void (*)(void))acosl;
66852 return 0;
66854 _ACEOF
66855 if ac_fn_c_try_compile "$LINENO"; then :
66856 glibcxx_cv_func_acosl_use=yes
66858 else
66859 glibcxx_cv_func_acosl_use=no
66861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
66864 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
66865 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
66866 cat >>confdefs.h <<_ACEOF
66867 #define HAVE_ACOSL 1
66868 _ACEOF
66874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
66875 $as_echo_n "checking for asinl declaration... " >&6; }
66876 if ${glibcxx_cv_func_asinl_use+:} false; then :
66877 $as_echo_n "(cached) " >&6
66878 else
66881 ac_ext=c
66882 ac_cpp='$CPP $CPPFLAGS'
66883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66888 /* end confdefs.h. */
66890 #include <math.h>
66891 #ifdef HAVE_IEEEFP_H
66892 # include <ieeefp.h>
66893 #endif
66894 #undef asinl
66897 main ()
66900 void (*f)(void) = (void (*)(void))asinl;
66903 return 0;
66905 _ACEOF
66906 if ac_fn_c_try_compile "$LINENO"; then :
66907 glibcxx_cv_func_asinl_use=yes
66909 else
66910 glibcxx_cv_func_asinl_use=no
66912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
66915 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
66916 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
66917 cat >>confdefs.h <<_ACEOF
66918 #define HAVE_ASINL 1
66919 _ACEOF
66925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
66926 $as_echo_n "checking for atan2l declaration... " >&6; }
66927 if ${glibcxx_cv_func_atan2l_use+:} false; then :
66928 $as_echo_n "(cached) " >&6
66929 else
66932 ac_ext=c
66933 ac_cpp='$CPP $CPPFLAGS'
66934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66939 /* end confdefs.h. */
66941 #include <math.h>
66942 #ifdef HAVE_IEEEFP_H
66943 # include <ieeefp.h>
66944 #endif
66945 #undef atan2l
66948 main ()
66951 void (*f)(void) = (void (*)(void))atan2l;
66954 return 0;
66956 _ACEOF
66957 if ac_fn_c_try_compile "$LINENO"; then :
66958 glibcxx_cv_func_atan2l_use=yes
66960 else
66961 glibcxx_cv_func_atan2l_use=no
66963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
66966 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
66967 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
66968 cat >>confdefs.h <<_ACEOF
66969 #define HAVE_ATAN2L 1
66970 _ACEOF
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
66977 $as_echo_n "checking for atanl declaration... " >&6; }
66978 if ${glibcxx_cv_func_atanl_use+:} false; then :
66979 $as_echo_n "(cached) " >&6
66980 else
66983 ac_ext=c
66984 ac_cpp='$CPP $CPPFLAGS'
66985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66990 /* end confdefs.h. */
66992 #include <math.h>
66993 #ifdef HAVE_IEEEFP_H
66994 # include <ieeefp.h>
66995 #endif
66996 #undef atanl
66999 main ()
67002 void (*f)(void) = (void (*)(void))atanl;
67005 return 0;
67007 _ACEOF
67008 if ac_fn_c_try_compile "$LINENO"; then :
67009 glibcxx_cv_func_atanl_use=yes
67011 else
67012 glibcxx_cv_func_atanl_use=no
67014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67017 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67018 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67019 cat >>confdefs.h <<_ACEOF
67020 #define HAVE_ATANL 1
67021 _ACEOF
67027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67028 $as_echo_n "checking for ceill declaration... " >&6; }
67029 if ${glibcxx_cv_func_ceill_use+:} false; then :
67030 $as_echo_n "(cached) " >&6
67031 else
67034 ac_ext=c
67035 ac_cpp='$CPP $CPPFLAGS'
67036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67041 /* end confdefs.h. */
67043 #include <math.h>
67044 #ifdef HAVE_IEEEFP_H
67045 # include <ieeefp.h>
67046 #endif
67047 #undef ceill
67050 main ()
67053 void (*f)(void) = (void (*)(void))ceill;
67056 return 0;
67058 _ACEOF
67059 if ac_fn_c_try_compile "$LINENO"; then :
67060 glibcxx_cv_func_ceill_use=yes
67062 else
67063 glibcxx_cv_func_ceill_use=no
67065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67068 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67069 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67070 cat >>confdefs.h <<_ACEOF
67071 #define HAVE_CEILL 1
67072 _ACEOF
67078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67079 $as_echo_n "checking for cosl declaration... " >&6; }
67080 if ${glibcxx_cv_func_cosl_use+:} false; then :
67081 $as_echo_n "(cached) " >&6
67082 else
67085 ac_ext=c
67086 ac_cpp='$CPP $CPPFLAGS'
67087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67092 /* end confdefs.h. */
67094 #include <math.h>
67095 #ifdef HAVE_IEEEFP_H
67096 # include <ieeefp.h>
67097 #endif
67098 #undef cosl
67101 main ()
67104 void (*f)(void) = (void (*)(void))cosl;
67107 return 0;
67109 _ACEOF
67110 if ac_fn_c_try_compile "$LINENO"; then :
67111 glibcxx_cv_func_cosl_use=yes
67113 else
67114 glibcxx_cv_func_cosl_use=no
67116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67119 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67120 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67121 cat >>confdefs.h <<_ACEOF
67122 #define HAVE_COSL 1
67123 _ACEOF
67129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67130 $as_echo_n "checking for coshl declaration... " >&6; }
67131 if ${glibcxx_cv_func_coshl_use+:} false; then :
67132 $as_echo_n "(cached) " >&6
67133 else
67136 ac_ext=c
67137 ac_cpp='$CPP $CPPFLAGS'
67138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67143 /* end confdefs.h. */
67145 #include <math.h>
67146 #ifdef HAVE_IEEEFP_H
67147 # include <ieeefp.h>
67148 #endif
67149 #undef coshl
67152 main ()
67155 void (*f)(void) = (void (*)(void))coshl;
67158 return 0;
67160 _ACEOF
67161 if ac_fn_c_try_compile "$LINENO"; then :
67162 glibcxx_cv_func_coshl_use=yes
67164 else
67165 glibcxx_cv_func_coshl_use=no
67167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67170 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67171 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67172 cat >>confdefs.h <<_ACEOF
67173 #define HAVE_COSHL 1
67174 _ACEOF
67180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67181 $as_echo_n "checking for expl declaration... " >&6; }
67182 if ${glibcxx_cv_func_expl_use+:} false; then :
67183 $as_echo_n "(cached) " >&6
67184 else
67187 ac_ext=c
67188 ac_cpp='$CPP $CPPFLAGS'
67189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67194 /* end confdefs.h. */
67196 #include <math.h>
67197 #ifdef HAVE_IEEEFP_H
67198 # include <ieeefp.h>
67199 #endif
67200 #undef expl
67203 main ()
67206 void (*f)(void) = (void (*)(void))expl;
67209 return 0;
67211 _ACEOF
67212 if ac_fn_c_try_compile "$LINENO"; then :
67213 glibcxx_cv_func_expl_use=yes
67215 else
67216 glibcxx_cv_func_expl_use=no
67218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67221 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67222 if test "x$glibcxx_cv_func_expl_use" = xyes; then
67223 cat >>confdefs.h <<_ACEOF
67224 #define HAVE_EXPL 1
67225 _ACEOF
67231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67232 $as_echo_n "checking for fabsl declaration... " >&6; }
67233 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67234 $as_echo_n "(cached) " >&6
67235 else
67238 ac_ext=c
67239 ac_cpp='$CPP $CPPFLAGS'
67240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67245 /* end confdefs.h. */
67247 #include <math.h>
67248 #ifdef HAVE_IEEEFP_H
67249 # include <ieeefp.h>
67250 #endif
67251 #undef fabsl
67254 main ()
67257 void (*f)(void) = (void (*)(void))fabsl;
67260 return 0;
67262 _ACEOF
67263 if ac_fn_c_try_compile "$LINENO"; then :
67264 glibcxx_cv_func_fabsl_use=yes
67266 else
67267 glibcxx_cv_func_fabsl_use=no
67269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67272 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67273 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE_FABSL 1
67276 _ACEOF
67282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67283 $as_echo_n "checking for floorl declaration... " >&6; }
67284 if ${glibcxx_cv_func_floorl_use+:} false; then :
67285 $as_echo_n "(cached) " >&6
67286 else
67289 ac_ext=c
67290 ac_cpp='$CPP $CPPFLAGS'
67291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67296 /* end confdefs.h. */
67298 #include <math.h>
67299 #ifdef HAVE_IEEEFP_H
67300 # include <ieeefp.h>
67301 #endif
67302 #undef floorl
67305 main ()
67308 void (*f)(void) = (void (*)(void))floorl;
67311 return 0;
67313 _ACEOF
67314 if ac_fn_c_try_compile "$LINENO"; then :
67315 glibcxx_cv_func_floorl_use=yes
67317 else
67318 glibcxx_cv_func_floorl_use=no
67320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67323 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67324 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67325 cat >>confdefs.h <<_ACEOF
67326 #define HAVE_FLOORL 1
67327 _ACEOF
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67334 $as_echo_n "checking for fmodl declaration... " >&6; }
67335 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67336 $as_echo_n "(cached) " >&6
67337 else
67340 ac_ext=c
67341 ac_cpp='$CPP $CPPFLAGS'
67342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67347 /* end confdefs.h. */
67349 #include <math.h>
67350 #ifdef HAVE_IEEEFP_H
67351 # include <ieeefp.h>
67352 #endif
67353 #undef fmodl
67356 main ()
67359 void (*f)(void) = (void (*)(void))fmodl;
67362 return 0;
67364 _ACEOF
67365 if ac_fn_c_try_compile "$LINENO"; then :
67366 glibcxx_cv_func_fmodl_use=yes
67368 else
67369 glibcxx_cv_func_fmodl_use=no
67371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67374 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67375 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67376 cat >>confdefs.h <<_ACEOF
67377 #define HAVE_FMODL 1
67378 _ACEOF
67384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67385 $as_echo_n "checking for frexpl declaration... " >&6; }
67386 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67387 $as_echo_n "(cached) " >&6
67388 else
67391 ac_ext=c
67392 ac_cpp='$CPP $CPPFLAGS'
67393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67398 /* end confdefs.h. */
67400 #include <math.h>
67401 #ifdef HAVE_IEEEFP_H
67402 # include <ieeefp.h>
67403 #endif
67404 #undef frexpl
67407 main ()
67410 void (*f)(void) = (void (*)(void))frexpl;
67413 return 0;
67415 _ACEOF
67416 if ac_fn_c_try_compile "$LINENO"; then :
67417 glibcxx_cv_func_frexpl_use=yes
67419 else
67420 glibcxx_cv_func_frexpl_use=no
67422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67425 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67426 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67427 cat >>confdefs.h <<_ACEOF
67428 #define HAVE_FREXPL 1
67429 _ACEOF
67435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67436 $as_echo_n "checking for ldexpl declaration... " >&6; }
67437 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67438 $as_echo_n "(cached) " >&6
67439 else
67442 ac_ext=c
67443 ac_cpp='$CPP $CPPFLAGS'
67444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67449 /* end confdefs.h. */
67451 #include <math.h>
67452 #ifdef HAVE_IEEEFP_H
67453 # include <ieeefp.h>
67454 #endif
67455 #undef ldexpl
67458 main ()
67461 void (*f)(void) = (void (*)(void))ldexpl;
67464 return 0;
67466 _ACEOF
67467 if ac_fn_c_try_compile "$LINENO"; then :
67468 glibcxx_cv_func_ldexpl_use=yes
67470 else
67471 glibcxx_cv_func_ldexpl_use=no
67473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
67476 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
67477 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
67478 cat >>confdefs.h <<_ACEOF
67479 #define HAVE_LDEXPL 1
67480 _ACEOF
67486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
67487 $as_echo_n "checking for log10l declaration... " >&6; }
67488 if ${glibcxx_cv_func_log10l_use+:} false; then :
67489 $as_echo_n "(cached) " >&6
67490 else
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67500 /* end confdefs.h. */
67502 #include <math.h>
67503 #ifdef HAVE_IEEEFP_H
67504 # include <ieeefp.h>
67505 #endif
67506 #undef log10l
67509 main ()
67512 void (*f)(void) = (void (*)(void))log10l;
67515 return 0;
67517 _ACEOF
67518 if ac_fn_c_try_compile "$LINENO"; then :
67519 glibcxx_cv_func_log10l_use=yes
67521 else
67522 glibcxx_cv_func_log10l_use=no
67524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
67527 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
67528 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
67529 cat >>confdefs.h <<_ACEOF
67530 #define HAVE_LOG10L 1
67531 _ACEOF
67537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
67538 $as_echo_n "checking for logl declaration... " >&6; }
67539 if ${glibcxx_cv_func_logl_use+:} false; then :
67540 $as_echo_n "(cached) " >&6
67541 else
67544 ac_ext=c
67545 ac_cpp='$CPP $CPPFLAGS'
67546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67551 /* end confdefs.h. */
67553 #include <math.h>
67554 #ifdef HAVE_IEEEFP_H
67555 # include <ieeefp.h>
67556 #endif
67557 #undef logl
67560 main ()
67563 void (*f)(void) = (void (*)(void))logl;
67566 return 0;
67568 _ACEOF
67569 if ac_fn_c_try_compile "$LINENO"; then :
67570 glibcxx_cv_func_logl_use=yes
67572 else
67573 glibcxx_cv_func_logl_use=no
67575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
67578 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
67579 if test "x$glibcxx_cv_func_logl_use" = xyes; then
67580 cat >>confdefs.h <<_ACEOF
67581 #define HAVE_LOGL 1
67582 _ACEOF
67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
67589 $as_echo_n "checking for modfl declaration... " >&6; }
67590 if ${glibcxx_cv_func_modfl_use+:} false; then :
67591 $as_echo_n "(cached) " >&6
67592 else
67595 ac_ext=c
67596 ac_cpp='$CPP $CPPFLAGS'
67597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67602 /* end confdefs.h. */
67604 #include <math.h>
67605 #ifdef HAVE_IEEEFP_H
67606 # include <ieeefp.h>
67607 #endif
67608 #undef modfl
67611 main ()
67614 void (*f)(void) = (void (*)(void))modfl;
67617 return 0;
67619 _ACEOF
67620 if ac_fn_c_try_compile "$LINENO"; then :
67621 glibcxx_cv_func_modfl_use=yes
67623 else
67624 glibcxx_cv_func_modfl_use=no
67626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
67629 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
67630 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
67631 cat >>confdefs.h <<_ACEOF
67632 #define HAVE_MODFL 1
67633 _ACEOF
67639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
67640 $as_echo_n "checking for powl declaration... " >&6; }
67641 if ${glibcxx_cv_func_powl_use+:} false; then :
67642 $as_echo_n "(cached) " >&6
67643 else
67646 ac_ext=c
67647 ac_cpp='$CPP $CPPFLAGS'
67648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67653 /* end confdefs.h. */
67655 #include <math.h>
67656 #ifdef HAVE_IEEEFP_H
67657 # include <ieeefp.h>
67658 #endif
67659 #undef powl
67662 main ()
67665 void (*f)(void) = (void (*)(void))powl;
67668 return 0;
67670 _ACEOF
67671 if ac_fn_c_try_compile "$LINENO"; then :
67672 glibcxx_cv_func_powl_use=yes
67674 else
67675 glibcxx_cv_func_powl_use=no
67677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
67680 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
67681 if test "x$glibcxx_cv_func_powl_use" = xyes; then
67682 cat >>confdefs.h <<_ACEOF
67683 #define HAVE_POWL 1
67684 _ACEOF
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
67691 $as_echo_n "checking for sinl declaration... " >&6; }
67692 if ${glibcxx_cv_func_sinl_use+:} false; then :
67693 $as_echo_n "(cached) " >&6
67694 else
67697 ac_ext=c
67698 ac_cpp='$CPP $CPPFLAGS'
67699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67704 /* end confdefs.h. */
67706 #include <math.h>
67707 #ifdef HAVE_IEEEFP_H
67708 # include <ieeefp.h>
67709 #endif
67710 #undef sinl
67713 main ()
67716 void (*f)(void) = (void (*)(void))sinl;
67719 return 0;
67721 _ACEOF
67722 if ac_fn_c_try_compile "$LINENO"; then :
67723 glibcxx_cv_func_sinl_use=yes
67725 else
67726 glibcxx_cv_func_sinl_use=no
67728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
67731 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
67732 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
67733 cat >>confdefs.h <<_ACEOF
67734 #define HAVE_SINL 1
67735 _ACEOF
67741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
67742 $as_echo_n "checking for sinhl declaration... " >&6; }
67743 if ${glibcxx_cv_func_sinhl_use+:} false; then :
67744 $as_echo_n "(cached) " >&6
67745 else
67748 ac_ext=c
67749 ac_cpp='$CPP $CPPFLAGS'
67750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67755 /* end confdefs.h. */
67757 #include <math.h>
67758 #ifdef HAVE_IEEEFP_H
67759 # include <ieeefp.h>
67760 #endif
67761 #undef sinhl
67764 main ()
67767 void (*f)(void) = (void (*)(void))sinhl;
67770 return 0;
67772 _ACEOF
67773 if ac_fn_c_try_compile "$LINENO"; then :
67774 glibcxx_cv_func_sinhl_use=yes
67776 else
67777 glibcxx_cv_func_sinhl_use=no
67779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
67782 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
67783 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
67784 cat >>confdefs.h <<_ACEOF
67785 #define HAVE_SINHL 1
67786 _ACEOF
67792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
67793 $as_echo_n "checking for sqrtl declaration... " >&6; }
67794 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
67795 $as_echo_n "(cached) " >&6
67796 else
67799 ac_ext=c
67800 ac_cpp='$CPP $CPPFLAGS'
67801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67806 /* end confdefs.h. */
67808 #include <math.h>
67809 #ifdef HAVE_IEEEFP_H
67810 # include <ieeefp.h>
67811 #endif
67812 #undef sqrtl
67815 main ()
67818 void (*f)(void) = (void (*)(void))sqrtl;
67821 return 0;
67823 _ACEOF
67824 if ac_fn_c_try_compile "$LINENO"; then :
67825 glibcxx_cv_func_sqrtl_use=yes
67827 else
67828 glibcxx_cv_func_sqrtl_use=no
67830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
67833 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
67834 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
67835 cat >>confdefs.h <<_ACEOF
67836 #define HAVE_SQRTL 1
67837 _ACEOF
67843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
67844 $as_echo_n "checking for tanl declaration... " >&6; }
67845 if ${glibcxx_cv_func_tanl_use+:} false; then :
67846 $as_echo_n "(cached) " >&6
67847 else
67850 ac_ext=c
67851 ac_cpp='$CPP $CPPFLAGS'
67852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67857 /* end confdefs.h. */
67859 #include <math.h>
67860 #ifdef HAVE_IEEEFP_H
67861 # include <ieeefp.h>
67862 #endif
67863 #undef tanl
67866 main ()
67869 void (*f)(void) = (void (*)(void))tanl;
67872 return 0;
67874 _ACEOF
67875 if ac_fn_c_try_compile "$LINENO"; then :
67876 glibcxx_cv_func_tanl_use=yes
67878 else
67879 glibcxx_cv_func_tanl_use=no
67881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
67884 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
67885 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
67886 cat >>confdefs.h <<_ACEOF
67887 #define HAVE_TANL 1
67888 _ACEOF
67894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
67895 $as_echo_n "checking for tanhl declaration... " >&6; }
67896 if ${glibcxx_cv_func_tanhl_use+:} false; then :
67897 $as_echo_n "(cached) " >&6
67898 else
67901 ac_ext=c
67902 ac_cpp='$CPP $CPPFLAGS'
67903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67908 /* end confdefs.h. */
67910 #include <math.h>
67911 #ifdef HAVE_IEEEFP_H
67912 # include <ieeefp.h>
67913 #endif
67914 #undef tanhl
67917 main ()
67920 void (*f)(void) = (void (*)(void))tanhl;
67923 return 0;
67925 _ACEOF
67926 if ac_fn_c_try_compile "$LINENO"; then :
67927 glibcxx_cv_func_tanhl_use=yes
67929 else
67930 glibcxx_cv_func_tanhl_use=no
67932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
67935 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
67936 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
67937 cat >>confdefs.h <<_ACEOF
67938 #define HAVE_TANHL 1
67939 _ACEOF
67945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
67946 $as_echo_n "checking for hypotl declaration... " >&6; }
67947 if ${glibcxx_cv_func_hypotl_use+:} false; then :
67948 $as_echo_n "(cached) " >&6
67949 else
67952 ac_ext=c
67953 ac_cpp='$CPP $CPPFLAGS'
67954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67959 /* end confdefs.h. */
67961 #include <math.h>
67962 #ifdef HAVE_IEEEFP_H
67963 # include <ieeefp.h>
67964 #endif
67965 #undef hypotl
67968 main ()
67971 void (*f)(void) = (void (*)(void))hypotl;
67974 return 0;
67976 _ACEOF
67977 if ac_fn_c_try_compile "$LINENO"; then :
67978 glibcxx_cv_func_hypotl_use=yes
67980 else
67981 glibcxx_cv_func_hypotl_use=no
67983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
67986 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
67987 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
67988 cat >>confdefs.h <<_ACEOF
67989 #define HAVE_HYPOTL 1
67990 _ACEOF
67996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67997 $as_echo_n "checking for ldexpf declaration... " >&6; }
67998 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
67999 $as_echo_n "(cached) " >&6
68000 else
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68010 /* end confdefs.h. */
68012 #include <math.h>
68013 #ifdef HAVE_IEEEFP_H
68014 # include <ieeefp.h>
68015 #endif
68016 #undef ldexpf
68019 main ()
68022 void (*f)(void) = (void (*)(void))ldexpf;
68025 return 0;
68027 _ACEOF
68028 if ac_fn_c_try_compile "$LINENO"; then :
68029 glibcxx_cv_func_ldexpf_use=yes
68031 else
68032 glibcxx_cv_func_ldexpf_use=no
68034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68037 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68038 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE_LDEXPF 1
68041 _ACEOF
68047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68048 $as_echo_n "checking for modff declaration... " >&6; }
68049 if ${glibcxx_cv_func_modff_use+:} false; then :
68050 $as_echo_n "(cached) " >&6
68051 else
68054 ac_ext=c
68055 ac_cpp='$CPP $CPPFLAGS'
68056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68061 /* end confdefs.h. */
68063 #include <math.h>
68064 #ifdef HAVE_IEEEFP_H
68065 # include <ieeefp.h>
68066 #endif
68067 #undef modff
68070 main ()
68073 void (*f)(void) = (void (*)(void))modff;
68076 return 0;
68078 _ACEOF
68079 if ac_fn_c_try_compile "$LINENO"; then :
68080 glibcxx_cv_func_modff_use=yes
68082 else
68083 glibcxx_cv_func_modff_use=no
68085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68088 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68089 if test "x$glibcxx_cv_func_modff_use" = xyes; then
68090 cat >>confdefs.h <<_ACEOF
68091 #define HAVE_MODFF 1
68092 _ACEOF
68098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68099 $as_echo_n "checking for hypotf declaration... " >&6; }
68100 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68105 ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68114 #include <math.h>
68115 #ifdef HAVE_IEEEFP_H
68116 # include <ieeefp.h>
68117 #endif
68118 #undef hypotf
68121 main ()
68124 void (*f)(void) = (void (*)(void))hypotf;
68127 return 0;
68129 _ACEOF
68130 if ac_fn_c_try_compile "$LINENO"; then :
68131 glibcxx_cv_func_hypotf_use=yes
68133 else
68134 glibcxx_cv_func_hypotf_use=no
68136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68140 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68141 cat >>confdefs.h <<_ACEOF
68142 #define HAVE_HYPOTF 1
68143 _ACEOF
68149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68150 $as_echo_n "checking for frexpf declaration... " >&6; }
68151 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68152 $as_echo_n "(cached) " >&6
68153 else
68156 ac_ext=c
68157 ac_cpp='$CPP $CPPFLAGS'
68158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68163 /* end confdefs.h. */
68165 #include <math.h>
68166 #ifdef HAVE_IEEEFP_H
68167 # include <ieeefp.h>
68168 #endif
68169 #undef frexpf
68172 main ()
68175 void (*f)(void) = (void (*)(void))frexpf;
68178 return 0;
68180 _ACEOF
68181 if ac_fn_c_try_compile "$LINENO"; then :
68182 glibcxx_cv_func_frexpf_use=yes
68184 else
68185 glibcxx_cv_func_frexpf_use=no
68187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68190 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68191 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68192 cat >>confdefs.h <<_ACEOF
68193 #define HAVE_FREXPF 1
68194 _ACEOF
68202 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68204 esac
68208 # At some point, we should differentiate between architectures
68209 # like x86, which have long double versions, and alpha/powerpc/etc.,
68210 # which don't. For the time being, punt.
68211 if test x"long_double_math_on_this_cpu" = x"yes"; then
68212 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68214 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68216 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68218 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68220 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68222 $as_echo "#define HAVE_COSL 1" >>confdefs.h
68224 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68226 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68228 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68230 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68232 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68234 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68236 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68238 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68240 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68242 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68244 $as_echo "#define HAVE_POWL 1" >>confdefs.h
68246 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68248 $as_echo "#define HAVE_SINL 1" >>confdefs.h
68250 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68252 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68254 $as_echo "#define HAVE_TANL 1" >>confdefs.h
68256 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68261 # Check for _Unwind_GetIPInfo.
68264 # Check whether --with-system-libunwind was given.
68265 if test "${with_system_libunwind+set}" = set; then :
68266 withval=$with_system_libunwind;
68269 # If system-libunwind was not specifically set, pick a default setting.
68270 if test x$with_system_libunwind = x; then
68271 case ${target} in
68272 ia64-*-hpux*) with_system_libunwind=yes ;;
68273 *) with_system_libunwind=no ;;
68274 esac
68276 # Based on system-libunwind and target, do we have ipinfo?
68277 if test x$with_system_libunwind = xyes; then
68278 case ${target} in
68279 ia64-*-*) have_unwind_getipinfo=no ;;
68280 *) have_unwind_getipinfo=yes ;;
68281 esac
68282 else
68283 # Darwin before version 9 does not have _Unwind_GetIPInfo.
68285 case ${target} in
68286 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68287 *) have_unwind_getipinfo=yes ;;
68288 esac
68292 if test x$have_unwind_getipinfo = xyes; then
68294 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68299 # Check whether --enable-linux-futex was given.
68300 if test "${enable_linux_futex+set}" = set; then :
68301 enableval=$enable_linux_futex;
68302 case "$enableval" in
68303 yes|no|default) ;;
68304 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68305 esac
68307 else
68308 enable_linux_futex=default
68312 case "$target" in
68313 *-linux* | *-uclinux*)
68314 case "$enable_linux_futex" in
68315 default)
68316 # If headers don't have gettid/futex syscalls definition, then
68317 # default to no, otherwise there will be compile time failures.
68318 # Otherwise, default to yes. If we don't detect we are
68319 # compiled/linked against NPTL and not cross-compiling, check
68320 # if programs are run by default against NPTL and if not, issue
68321 # a warning.
68322 enable_linux_futex=no
68323 if test x$gcc_no_link = xyes; then
68324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68327 /* end confdefs.h. */
68328 #include <sys/syscall.h>
68329 #include <unistd.h>
68330 int lk;
68332 main ()
68334 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68336 return 0;
68338 _ACEOF
68339 if ac_fn_c_try_link "$LINENO"; then :
68340 save_LIBS="$LIBS"
68341 LIBS="-lpthread $LIBS"
68342 if test x$gcc_no_link = xyes; then
68343 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68346 /* end confdefs.h. */
68347 #ifndef _GNU_SOURCE
68348 #define _GNU_SOURCE 1
68349 #endif
68350 #include <pthread.h>
68351 pthread_t th; void *status;
68353 main ()
68355 pthread_tryjoin_np (th, &status);
68357 return 0;
68359 _ACEOF
68360 if ac_fn_c_try_link "$LINENO"; then :
68361 enable_linux_futex=yes
68362 else
68363 if test x$cross_compiling = xno; then
68364 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68365 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68367 If so, please configure with --disable-linux-futex" >&5
68368 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68369 If so, please configure with --disable-linux-futex" >&2;}
68372 enable_linux_futex=yes
68374 rm -f core conftest.err conftest.$ac_objext \
68375 conftest$ac_exeext conftest.$ac_ext
68376 LIBS="$save_LIBS"
68378 rm -f core conftest.err conftest.$ac_objext \
68379 conftest$ac_exeext conftest.$ac_ext
68381 yes)
68382 if test x$gcc_no_link = xyes; then
68383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68386 /* end confdefs.h. */
68387 #include <sys/syscall.h>
68388 #include <unistd.h>
68389 int lk;
68391 main ()
68393 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68395 return 0;
68397 _ACEOF
68398 if ac_fn_c_try_link "$LINENO"; then :
68400 else
68401 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68403 rm -f core conftest.err conftest.$ac_objext \
68404 conftest$ac_exeext conftest.$ac_ext
68406 esac
68409 enable_linux_futex=no
68411 esac
68412 if test x$enable_linux_futex = xyes; then
68414 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68419 if test "$is_hosted" = yes; then
68420 # TODO: remove this and change src/c++11/compatibility-atomic-c++0x.cc to
68421 # use <stdint.h> instead of <gstdint.h>.
68424 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
68426 acx_cv_header_stdint=stddef.h
68427 acx_cv_header_stdint_kind="(already complete)"
68428 for i in stdint.h $inttype_headers; do
68429 unset ac_cv_type_uintptr_t
68430 unset ac_cv_type_uintmax_t
68431 unset ac_cv_type_int_least32_t
68432 unset ac_cv_type_int_fast32_t
68433 unset ac_cv_type_uint64_t
68434 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
68435 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
68436 #include <$i>
68438 if test "x$ac_cv_type_uintmax_t" = xyes; then :
68439 acx_cv_header_stdint=$i
68440 else
68441 continue
68444 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68445 #include <$i>
68447 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68449 else
68450 acx_cv_header_stdint_kind="(mostly complete)"
68453 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
68454 #include <$i>
68456 if test "x$ac_cv_type_int_least32_t" = xyes; then :
68458 else
68459 acx_cv_header_stdint_kind="(mostly complete)"
68462 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
68463 #include <$i>
68465 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
68467 else
68468 acx_cv_header_stdint_kind="(mostly complete)"
68471 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68472 #include <$i>
68474 if test "x$ac_cv_type_uint64_t" = xyes; then :
68476 else
68477 acx_cv_header_stdint_kind="(lacks uint64_t)"
68480 break
68481 done
68482 if test "$acx_cv_header_stdint" = stddef.h; then
68483 acx_cv_header_stdint_kind="(lacks uintmax_t)"
68484 for i in stdint.h $inttype_headers; do
68485 unset ac_cv_type_uintptr_t
68486 unset ac_cv_type_uint32_t
68487 unset ac_cv_type_uint64_t
68488 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
68489 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
68490 #include <$i>
68492 if test "x$ac_cv_type_uint32_t" = xyes; then :
68493 acx_cv_header_stdint=$i
68494 else
68495 continue
68498 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
68499 #include <$i>
68501 if test "x$ac_cv_type_uint64_t" = xyes; then :
68505 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
68506 #include <$i>
68508 if test "x$ac_cv_type_uintptr_t" = xyes; then :
68512 break
68513 done
68515 if test "$acx_cv_header_stdint" = stddef.h; then
68516 acx_cv_header_stdint_kind="(u_intXX_t style)"
68517 for i in sys/types.h $inttype_headers; do
68518 unset ac_cv_type_u_int32_t
68519 unset ac_cv_type_u_int64_t
68520 $as_echo_n "looking for u_intXX_t types in $i, " >&6
68521 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
68522 #include <$i>
68524 if test "x$ac_cv_type_u_int32_t" = xyes; then :
68525 acx_cv_header_stdint=$i
68526 else
68527 continue
68530 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
68531 #include <$i>
68533 if test "x$ac_cv_type_u_int64_t" = xyes; then :
68537 break
68538 done
68540 if test "$acx_cv_header_stdint" = stddef.h; then
68541 acx_cv_header_stdint_kind="(using manual detection)"
68544 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
68545 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
68546 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
68547 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
68548 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
68550 # ----------------- Summarize what we found so far
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
68553 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
68555 case `$as_basename -- include/gstdint.h ||
68556 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
68557 Xinclude/gstdint.h : 'X\(//\)$' \| \
68558 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
68559 $as_echo X/include/gstdint.h |
68560 sed '/^.*\/\([^/][^/]*\)\/*$/{
68561 s//\1/
68564 /^X\/\(\/\/\)$/{
68565 s//\1/
68568 /^X\/\(\/\).*/{
68569 s//\1/
68572 s/.*/./; q'` in
68573 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68574 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68575 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
68576 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
68577 *) ;;
68578 esac
68580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
68581 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
68583 # ----------------- done included file, check C basic types --------
68585 # Lacking an uintptr_t? Test size of void *
68586 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
68587 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
68588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68590 # This bug is HP SR number 8606223364.
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
68592 $as_echo_n "checking size of void *... " >&6; }
68593 if ${ac_cv_sizeof_void_p+:} false; then :
68594 $as_echo_n "(cached) " >&6
68595 else
68596 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
68598 else
68599 if test "$ac_cv_type_void_p" = yes; then
68600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68602 as_fn_error 77 "cannot compute sizeof (void *)
68603 See \`config.log' for more details" "$LINENO" 5; }
68604 else
68605 ac_cv_sizeof_void_p=0
68610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
68611 $as_echo "$ac_cv_sizeof_void_p" >&6; }
68615 cat >>confdefs.h <<_ACEOF
68616 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
68617 _ACEOF
68620 esac
68622 # Lacking an uint64_t? Test size of long
68623 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
68624 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
68625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68627 # This bug is HP SR number 8606223364.
68628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
68629 $as_echo_n "checking size of long... " >&6; }
68630 if ${ac_cv_sizeof_long+:} false; then :
68631 $as_echo_n "(cached) " >&6
68632 else
68633 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
68635 else
68636 if test "$ac_cv_type_long" = yes; then
68637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68639 as_fn_error 77 "cannot compute sizeof (long)
68640 See \`config.log' for more details" "$LINENO" 5; }
68641 else
68642 ac_cv_sizeof_long=0
68647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
68648 $as_echo "$ac_cv_sizeof_long" >&6; }
68652 cat >>confdefs.h <<_ACEOF
68653 #define SIZEOF_LONG $ac_cv_sizeof_long
68654 _ACEOF
68657 esac
68659 if test $acx_cv_header_stdint = stddef.h; then
68660 # Lacking a good header? Test size of everything and deduce all types.
68661 # The cast to long int works around a bug in the HP C Compiler
68662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68664 # This bug is HP SR number 8606223364.
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
68666 $as_echo_n "checking size of int... " >&6; }
68667 if ${ac_cv_sizeof_int+:} false; then :
68668 $as_echo_n "(cached) " >&6
68669 else
68670 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
68672 else
68673 if test "$ac_cv_type_int" = yes; then
68674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68676 as_fn_error 77 "cannot compute sizeof (int)
68677 See \`config.log' for more details" "$LINENO" 5; }
68678 else
68679 ac_cv_sizeof_int=0
68684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
68685 $as_echo "$ac_cv_sizeof_int" >&6; }
68689 cat >>confdefs.h <<_ACEOF
68690 #define SIZEOF_INT $ac_cv_sizeof_int
68691 _ACEOF
68694 # The cast to long int works around a bug in the HP C Compiler
68695 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68696 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68697 # This bug is HP SR number 8606223364.
68698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
68699 $as_echo_n "checking size of short... " >&6; }
68700 if ${ac_cv_sizeof_short+:} false; then :
68701 $as_echo_n "(cached) " >&6
68702 else
68703 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
68705 else
68706 if test "$ac_cv_type_short" = yes; then
68707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68709 as_fn_error 77 "cannot compute sizeof (short)
68710 See \`config.log' for more details" "$LINENO" 5; }
68711 else
68712 ac_cv_sizeof_short=0
68717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
68718 $as_echo "$ac_cv_sizeof_short" >&6; }
68722 cat >>confdefs.h <<_ACEOF
68723 #define SIZEOF_SHORT $ac_cv_sizeof_short
68724 _ACEOF
68727 # The cast to long int works around a bug in the HP C Compiler
68728 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
68729 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
68730 # This bug is HP SR number 8606223364.
68731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
68732 $as_echo_n "checking size of char... " >&6; }
68733 if ${ac_cv_sizeof_char+:} false; then :
68734 $as_echo_n "(cached) " >&6
68735 else
68736 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
68738 else
68739 if test "$ac_cv_type_char" = yes; then
68740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
68741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
68742 as_fn_error 77 "cannot compute sizeof (char)
68743 See \`config.log' for more details" "$LINENO" 5; }
68744 else
68745 ac_cv_sizeof_char=0
68750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
68751 $as_echo "$ac_cv_sizeof_char" >&6; }
68755 cat >>confdefs.h <<_ACEOF
68756 #define SIZEOF_CHAR $ac_cv_sizeof_char
68757 _ACEOF
68761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
68762 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
68763 case "$ac_cv_sizeof_char" in
68764 1) acx_cv_type_int8_t=char ;;
68765 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
68766 esac
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
68768 $as_echo "$acx_cv_type_int8_t" >&6; }
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
68771 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
68772 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
68773 2:*) acx_cv_type_int16_t=int ;;
68774 *:2) acx_cv_type_int16_t=short ;;
68775 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
68776 esac
68777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
68778 $as_echo "$acx_cv_type_int16_t" >&6; }
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
68781 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
68782 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
68783 4:*) acx_cv_type_int32_t=int ;;
68784 *:4) acx_cv_type_int32_t=long ;;
68785 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
68786 esac
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
68788 $as_echo "$acx_cv_type_int32_t" >&6; }
68791 # These tests are here to make the output prettier
68793 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
68794 case "$ac_cv_sizeof_long" in
68795 8) acx_cv_type_int64_t=long ;;
68796 esac
68797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
68798 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
68799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
68800 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
68803 # Now we can use the above types
68805 if test "$ac_cv_type_uintptr_t" != yes; then
68806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
68807 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
68808 case $ac_cv_sizeof_void_p in
68809 2) acx_cv_type_intptr_t=int16_t ;;
68810 4) acx_cv_type_intptr_t=int32_t ;;
68811 8) acx_cv_type_intptr_t=int64_t ;;
68812 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
68813 esac
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
68815 $as_echo "$acx_cv_type_intptr_t" >&6; }
68818 # ----------------- done all checks, emit header -------------
68819 ac_config_commands="$ac_config_commands include/gstdint.h"
68826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68827 $as_echo_n "checking for GNU c++filt... " >&6; }
68828 if ${ac_cv_path_CXXFILT+:} false; then :
68829 $as_echo_n "(cached) " >&6
68830 else
68831 if test -z "$CXXFILT"; then
68832 ac_path_CXXFILT_found=false
68833 # Loop through the user's path and test for each of PROGNAME-LIST
68834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68835 for as_dir in $PATH
68837 IFS=$as_save_IFS
68838 test -z "$as_dir" && as_dir=.
68839 for ac_prog in c++filt gc++filt; do
68840 for ac_exec_ext in '' $ac_executable_extensions; do
68841 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68842 as_fn_executable_p "$ac_path_CXXFILT" || continue
68843 # Check for GNU $ac_path_CXXFILT
68844 case `"$ac_path_CXXFILT" --version 2>&1` in
68845 *GNU*)
68846 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68847 esac
68849 $ac_path_CXXFILT_found && break 3
68850 done
68851 done
68852 done
68853 IFS=$as_save_IFS
68854 if test -z "$ac_cv_path_CXXFILT"; then
68857 else
68858 ac_cv_path_CXXFILT=$CXXFILT
68862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68863 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68864 CXXFILT=$ac_cv_path_CXXFILT
68868 # Check whether --enable-symvers was given.
68869 if test "${enable_symvers+set}" = set; then :
68870 enableval=$enable_symvers;
68871 case "$enableval" in
68872 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68873 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68874 esac
68876 else
68877 enable_symvers=yes
68882 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
68883 # don't know enough about $LD to do tricks...
68885 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
68886 # with extern "C++" in version scripts.
68889 # Turn a 'yes' into a suitable default.
68890 if test x$enable_symvers = xyes ; then
68891 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
68892 enable_symvers=no
68893 else
68894 if test $with_gnu_ld = yes ; then
68895 case ${target_os} in
68896 hpux*)
68897 enable_symvers=no ;;
68899 enable_symvers=gnu ;;
68900 esac
68901 else
68902 case ${target_os} in
68903 darwin*)
68904 enable_symvers=darwin ;;
68905 # Sun symbol versioning exists since Solaris 2.5.
68906 solaris2.[5-9]* | solaris2.1[0-9]*)
68907 # make_sunver.pl needs GNU c++filt to support extern "C++" in
68908 # version scripts, so disable symbol versioning if none can be
68909 # found.
68910 if test -z "$ac_cv_path_CXXFILT"; then
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68912 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
68914 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
68915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68916 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68917 enable_symvers=no
68918 else
68919 enable_symvers=sun
68923 enable_symvers=no ;;
68924 esac
68929 # Check to see if 'darwin' or 'darwin-export' can win.
68930 if test x$enable_symvers = xdarwin-export ; then
68931 enable_symvers=darwin
68934 # Check if 'sun' was requested on non-Solaris 2 platforms.
68935 if test x$enable_symvers = xsun ; then
68936 case ${target_os} in
68937 solaris2*)
68938 # All fine.
68941 # Unlikely to work.
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
68943 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
68944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
68945 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
68946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
68947 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
68948 enable_symvers=no
68950 esac
68953 # Check to see if 'gnu' can win.
68954 if test $enable_symvers = gnu ||
68955 test $enable_symvers = gnu-versioned-namespace ||
68956 test $enable_symvers = sun; then
68957 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
68958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
68959 $as_echo_n "checking for shared libgcc... " >&6; }
68960 ac_save_CFLAGS="$CFLAGS"
68961 CFLAGS=' -lgcc_s'
68962 if test x$gcc_no_link = xyes; then
68963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68966 /* end confdefs.h. */
68969 main ()
68971 return 0;
68973 return 0;
68975 _ACEOF
68976 if ac_fn_c_try_link "$LINENO"; then :
68977 glibcxx_shared_libgcc=yes
68978 else
68979 glibcxx_shared_libgcc=no
68981 rm -f core conftest.err conftest.$ac_objext \
68982 conftest$ac_exeext conftest.$ac_ext
68983 CFLAGS="$ac_save_CFLAGS"
68984 if test $glibcxx_shared_libgcc = no; then
68985 cat > conftest.c <<EOF
68986 int main (void) { return 0; }
68988 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
68989 -shared -shared-libgcc -o conftest.so \
68990 conftest.c -v 2>&1 >/dev/null \
68991 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
68992 rm -f conftest.c conftest.so
68993 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
68994 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
68995 if test x$gcc_no_link = xyes; then
68996 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68999 /* end confdefs.h. */
69002 main ()
69004 return 0;
69006 return 0;
69008 _ACEOF
69009 if ac_fn_c_try_link "$LINENO"; then :
69010 glibcxx_shared_libgcc=yes
69012 rm -f core conftest.err conftest.$ac_objext \
69013 conftest$ac_exeext conftest.$ac_ext
69014 CFLAGS="$ac_save_CFLAGS"
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
69018 $as_echo "$glibcxx_shared_libgcc" >&6; }
69020 # For GNU ld, we need at least this version. The format is described in
69021 # GLIBCXX_CHECK_LINKER_FEATURES above.
69022 glibcxx_min_gnu_ld_version=21400
69024 # If no shared libgcc, can't win.
69025 if test $glibcxx_shared_libgcc != yes; then
69026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69027 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
69029 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
69030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69031 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69032 enable_symvers=no
69033 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
69034 : All interesting versions of Sun ld support sun style symbol versioning.
69035 elif test $with_gnu_ld != yes ; then
69036 # just fail for now
69037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69038 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
69040 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
69041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69042 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69043 enable_symvers=no
69044 elif test $glibcxx_ld_is_gold = yes ; then
69045 : All versions of gold support symbol versioning.
69046 elif test $glibcxx_ld_is_mold = yes ; then
69047 : All versions of mold support symbol versioning.
69048 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
69049 # The right tools, the right setup, but too old. Fallbacks?
69050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
69051 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
69053 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
69054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
69055 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
69056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
69057 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
69058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69059 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69060 enable_symvers=no
69064 # For libtool versioning info, format is CURRENT:REVISION:AGE
69065 libtool_VERSION=6:31:0
69067 # Everything parsed; figure out what files and settings to use.
69068 case $enable_symvers in
69070 SYMVER_FILE=config/abi/pre/none.ver
69072 gnu)
69073 SYMVER_FILE=config/abi/pre/gnu.ver
69075 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
69078 gnu-versioned-namespace)
69079 libtool_VERSION=8:0:0
69080 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
69082 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
69085 darwin)
69086 SYMVER_FILE=config/abi/pre/gnu.ver
69088 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
69091 sun)
69092 SYMVER_FILE=config/abi/pre/gnu.ver
69094 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
69097 esac
69099 if test x$enable_symvers != xno ; then
69101 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
69105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
69106 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
69107 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
69108 $as_echo_n "(cached) " >&6
69109 else
69111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69112 /* end confdefs.h. */
69113 void foo (void); __asm (".symver foo, bar@SYMVER");
69115 main ()
69119 return 0;
69121 _ACEOF
69122 if ac_fn_c_try_compile "$LINENO"; then :
69123 glibcxx_cv_have_as_symver_directive=yes
69124 else
69125 glibcxx_cv_have_as_symver_directive=no
69127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
69130 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
69131 if test $glibcxx_cv_have_as_symver_directive = yes; then
69133 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
69145 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69147 if test $enable_symvers != no ; then
69148 case ${target_os} in
69149 # The Solaris 2 runtime linker doesn't support the GNU extension of
69150 # binding the same symbol to different versions
69151 solaris2*)
69153 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
69156 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
69159 esac
69162 # Now, set up compatibility support, if any.
69163 # In addition, need this to deal with std::size_t mangling in
69164 # src/compatibility.cc. In a perfect world, could use
69165 # typeid(std::size_t).name()[0] to do direct substitution.
69166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
69167 $as_echo_n "checking for size_t as unsigned int... " >&6; }
69168 ac_save_CFLAGS="$CFLAGS"
69169 CFLAGS="-Werror"
69170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69171 /* end confdefs.h. */
69174 main ()
69176 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
69178 return 0;
69180 _ACEOF
69181 if ac_fn_c_try_compile "$LINENO"; then :
69182 glibcxx_size_t_is_i=yes
69183 else
69184 glibcxx_size_t_is_i=no
69186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69187 CFLAGS=$ac_save_CFLAGS
69188 if test "$glibcxx_size_t_is_i" = yes; then
69190 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
69193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
69194 $as_echo "$glibcxx_size_t_is_i" >&6; }
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
69197 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
69198 ac_save_CFLAGS="$CFLAGS"
69199 CFLAGS="-Werror"
69200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69201 /* end confdefs.h. */
69204 main ()
69206 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
69208 return 0;
69210 _ACEOF
69211 if ac_fn_c_try_compile "$LINENO"; then :
69212 glibcxx_ptrdiff_t_is_i=yes
69213 else
69214 glibcxx_ptrdiff_t_is_i=no
69216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69217 CFLAGS=$ac_save_CFLAGS
69218 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
69220 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
69223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
69224 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
69229 # Check whether --enable-libstdcxx-visibility was given.
69230 if test "${enable_libstdcxx_visibility+set}" = set; then :
69231 enableval=$enable_libstdcxx_visibility;
69232 case "$enableval" in
69233 yes|no) ;;
69234 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
69235 esac
69237 else
69238 enable_libstdcxx_visibility=yes
69243 if test x$enable_libstdcxx_visibility = xyes ; then
69244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
69245 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
69246 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
69247 $as_echo_n "(cached) " >&6
69248 else
69250 save_CFLAGS="$CFLAGS"
69251 CFLAGS="$CFLAGS -Werror"
69252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69253 /* end confdefs.h. */
69254 void __attribute__((visibility("hidden"))) foo(void) { }
69256 main ()
69260 return 0;
69262 _ACEOF
69263 if ac_fn_c_try_compile "$LINENO"; then :
69264 glibcxx_cv_have_attribute_visibility=yes
69265 else
69266 glibcxx_cv_have_attribute_visibility=no
69268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69269 CFLAGS="$save_CFLAGS"
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
69272 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
69273 if test $glibcxx_cv_have_attribute_visibility = no; then
69274 enable_libstdcxx_visibility=no
69279 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
69280 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
69284 # Check whether --enable-libstdcxx-dual-abi was given.
69285 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
69286 enableval=$enable_libstdcxx_dual_abi;
69287 case "$enableval" in
69288 yes|no) ;;
69289 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
69290 esac
69292 else
69293 enable_libstdcxx_dual_abi=yes
69297 if test x$enable_symvers = xgnu-versioned-namespace; then
69298 # gnu-versioned-namespace is incompatible with the dual ABI.
69299 enable_libstdcxx_dual_abi="no"
69301 if test x"$enable_libstdcxx_dual_abi" != xyes; then
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
69303 $as_echo "$as_me: dual ABI is disabled" >&6;}
69304 default_libstdcxx_abi="gcc4-compatible"
69309 if test x$enable_libstdcxx_dual_abi = xyes; then
69310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
69311 $as_echo_n "checking for default std::string ABI to use... " >&6; }
69313 # Check whether --with-default-libstdcxx-abi was given.
69314 if test "${with_default_libstdcxx_abi+set}" = set; then :
69315 withval=$with_default_libstdcxx_abi; case "$withval" in
69316 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
69317 new|cxx11) default_libstdcxx_abi="new" ;;
69318 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
69319 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
69320 esac
69322 else
69323 default_libstdcxx_abi="new"
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
69327 $as_echo "${default_libstdcxx_abi}" >&6; }
69329 if test $default_libstdcxx_abi = "new"; then
69330 glibcxx_cxx11_abi=1
69331 glibcxx_cxx98_abi=0
69332 else
69333 glibcxx_cxx11_abi=0
69334 glibcxx_cxx98_abi=1
69340 ac_ldbl_compat=no
69341 ac_ldbl_alt128_compat=no
69342 ac_ldbl_ieee128_default=no
69343 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
69344 LONG_DOUBLE_128_FLAGS=
69345 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
69346 case "$target" in
69347 powerpc*-*-linux* | \
69348 sparc*-*-linux* | \
69349 s390*-*-linux* | \
69350 alpha*-*-linux*)
69351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69352 /* end confdefs.h. */
69355 main ()
69358 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
69359 #error no need for long double compatibility
69360 #endif
69363 return 0;
69365 _ACEOF
69366 if ac_fn_c_try_compile "$LINENO"; then :
69367 ac_ldbl_compat=yes
69368 else
69369 ac_ldbl_compat=no
69371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69372 if test "$ac_ldbl_compat" = yes; then
69374 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
69376 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
69377 case "$target" in
69378 powerpc*-*-linux*)
69379 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
69380 # Check for IEEE128 support in libm:
69381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
69382 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
69383 if ${ac_cv_lib_m___frexpieee128+:} false; then :
69384 $as_echo_n "(cached) " >&6
69385 else
69386 ac_check_lib_save_LIBS=$LIBS
69387 LIBS="-lm $LIBS"
69388 if test x$gcc_no_link = xyes; then
69389 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69392 /* end confdefs.h. */
69394 /* Override any GCC internal prototype to avoid an error.
69395 Use char because int might match the return type of a GCC
69396 builtin and then its argument prototype would still apply. */
69397 #ifdef __cplusplus
69398 extern "C"
69399 #endif
69400 char __frexpieee128 ();
69402 main ()
69404 return __frexpieee128 ();
69406 return 0;
69408 _ACEOF
69409 if ac_fn_c_try_link "$LINENO"; then :
69410 ac_cv_lib_m___frexpieee128=yes
69411 else
69412 ac_cv_lib_m___frexpieee128=no
69414 rm -f core conftest.err conftest.$ac_objext \
69415 conftest$ac_exeext conftest.$ac_ext
69416 LIBS=$ac_check_lib_save_LIBS
69418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69419 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69420 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69421 ac_ldbl_ieee128_in_libc=yes
69422 else
69423 ac_ldbl_ieee128_in_libc=no
69426 if test $ac_ldbl_ieee128_in_libc = yes; then
69427 # Determine which long double format is the compiler's default:
69428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69429 /* end confdefs.h. */
69432 main ()
69435 #ifndef __LONG_DOUBLE_IEEE128__
69436 #error compiler defaults to ibm128
69437 #endif
69440 return 0;
69442 _ACEOF
69443 if ac_fn_c_try_compile "$LINENO"; then :
69444 ac_ldbl_ieee128_default=yes
69445 else
69446 ac_ldbl_ieee128_default=no
69448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69449 # Library objects should use default long double format.
69450 if test "$ac_ldbl_ieee128_default" = yes; then
69451 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69452 # Except for the ones that explicitly use these flags:
69453 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69454 else
69455 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69456 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69459 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69461 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69462 ac_ldbl_alt128_compat=yes
69463 else
69464 ac_ldbl_alt128_compat=no
69467 esac
69469 esac
69476 # Check if assembler supports disabling hardware capability support.
69478 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69480 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69481 # with a different meaning.
69482 case ${target_os} in
69483 solaris2*)
69484 ac_save_CFLAGS="$CFLAGS"
69485 CFLAGS="$CFLAGS -Wa,-nH"
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69488 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69490 /* end confdefs.h. */
69493 main ()
69495 return 0;
69497 return 0;
69499 _ACEOF
69500 if ac_fn_c_try_compile "$LINENO"; then :
69501 ac_hwcap_flags=yes
69502 else
69503 ac_hwcap_flags=no
69505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69506 if test "$ac_hwcap_flags" = "yes"; then
69507 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69510 $as_echo "$ac_hwcap_flags" >&6; }
69512 CFLAGS="$ac_save_CFLAGS"
69514 esac
69519 # Check if assembler supports rdrand opcode.
69521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69522 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69523 if ${ac_cv_x86_rdrand+:} false; then :
69524 $as_echo_n "(cached) " >&6
69525 else
69527 ac_cv_x86_rdrand=no
69528 case "$target" in
69529 i?86-*-* | \
69530 x86_64-*-*)
69531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69532 /* end confdefs.h. */
69535 main ()
69537 asm("rdrand %eax");
69539 return 0;
69541 _ACEOF
69542 if ac_fn_c_try_compile "$LINENO"; then :
69543 ac_cv_x86_rdrand=yes
69544 else
69545 ac_cv_x86_rdrand=no
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548 esac
69551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69552 $as_echo "$ac_cv_x86_rdrand" >&6; }
69553 if test $ac_cv_x86_rdrand = yes; then
69555 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69559 # Check if assembler supports rdseed opcode.
69561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69562 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69563 if ${ac_cv_x86_rdseed+:} false; then :
69564 $as_echo_n "(cached) " >&6
69565 else
69567 ac_cv_x86_rdseed=no
69568 case "$target" in
69569 i?86-*-* | \
69570 x86_64-*-*)
69571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69572 /* end confdefs.h. */
69575 main ()
69577 asm("rdseed %eax");
69579 return 0;
69581 _ACEOF
69582 if ac_fn_c_try_compile "$LINENO"; then :
69583 ac_cv_x86_rdseed=yes
69584 else
69585 ac_cv_x86_rdseed=no
69587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69588 esac
69591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69592 $as_echo "$ac_cv_x86_rdseed" >&6; }
69593 if test $ac_cv_x86_rdseed = yes; then
69595 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69600 # Check for other random number APIs
69604 ac_ext=cpp
69605 ac_cpp='$CXXCPP $CPPFLAGS'
69606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69611 $as_echo_n "checking for getentropy... " >&6; }
69612 if ${glibcxx_cv_getentropy+:} false; then :
69613 $as_echo_n "(cached) " >&6
69614 else
69616 if test x$gcc_no_link = xyes; then
69617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69618 /* end confdefs.h. */
69619 #include <unistd.h>
69621 main ()
69623 unsigned i;
69624 ::getentropy(&i, sizeof(i));
69626 return 0;
69628 _ACEOF
69629 if ac_fn_cxx_try_compile "$LINENO"; then :
69630 glibcxx_cv_getentropy=yes
69631 else
69632 glibcxx_cv_getentropy=no
69634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69635 else
69636 if test x$gcc_no_link = xyes; then
69637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69640 /* end confdefs.h. */
69641 #include <unistd.h>
69643 main ()
69645 unsigned i;
69646 ::getentropy(&i, sizeof(i));
69648 return 0;
69650 _ACEOF
69651 if ac_fn_cxx_try_link "$LINENO"; then :
69652 glibcxx_cv_getentropy=yes
69653 else
69654 glibcxx_cv_getentropy=no
69656 rm -f core conftest.err conftest.$ac_objext \
69657 conftest$ac_exeext conftest.$ac_ext
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69662 $as_echo "$glibcxx_cv_getentropy" >&6; }
69664 if test $glibcxx_cv_getentropy = yes; then
69666 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69669 ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69679 ac_ext=cpp
69680 ac_cpp='$CXXCPP $CPPFLAGS'
69681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69686 $as_echo_n "checking for arc4random... " >&6; }
69687 if ${glibcxx_cv_arc4random+:} false; then :
69688 $as_echo_n "(cached) " >&6
69689 else
69691 if test x$gcc_no_link = xyes; then
69692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69693 /* end confdefs.h. */
69694 #include <stdlib.h>
69696 main ()
69698 unsigned i = ::arc4random();
69700 return 0;
69702 _ACEOF
69703 if ac_fn_cxx_try_compile "$LINENO"; then :
69704 glibcxx_cv_arc4random=yes
69705 else
69706 glibcxx_cv_arc4random=no
69708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69709 else
69710 if test x$gcc_no_link = xyes; then
69711 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69714 /* end confdefs.h. */
69715 #include <stdlib.h>
69717 main ()
69719 unsigned i = ::arc4random();
69721 return 0;
69723 _ACEOF
69724 if ac_fn_cxx_try_link "$LINENO"; then :
69725 glibcxx_cv_arc4random=yes
69726 else
69727 glibcxx_cv_arc4random=no
69729 rm -f core conftest.err conftest.$ac_objext \
69730 conftest$ac_exeext conftest.$ac_ext
69734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69735 $as_echo "$glibcxx_cv_arc4random" >&6; }
69737 if test $glibcxx_cv_arc4random = yes; then
69739 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69750 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69752 # Do checks for resource limit functions.
69755 ac_ext=cpp
69756 ac_cpp='$CXXCPP $CPPFLAGS'
69757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69761 setrlimit_have_headers=yes
69762 for ac_header in unistd.h sys/time.h sys/resource.h
69763 do :
69764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69765 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69767 cat >>confdefs.h <<_ACEOF
69768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69769 _ACEOF
69771 else
69772 setrlimit_have_headers=no
69775 done
69777 # If don't have the headers, then we can't run the tests now, and we
69778 # won't be seeing any of these during testsuite compilation.
69779 if test $setrlimit_have_headers = yes; then
69780 # Can't do these in a loop, else the resulting syntax is wrong.
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69783 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69785 /* end confdefs.h. */
69786 #include <unistd.h>
69787 #include <sys/time.h>
69788 #include <sys/resource.h>
69791 main ()
69793 int f = RLIMIT_DATA ;
69795 return 0;
69797 _ACEOF
69798 if ac_fn_cxx_try_compile "$LINENO"; then :
69799 glibcxx_mresult=1
69800 else
69801 glibcxx_mresult=0
69803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69805 cat >>confdefs.h <<_ACEOF
69806 #define HAVE_LIMIT_DATA $glibcxx_mresult
69807 _ACEOF
69809 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69811 $as_echo "$res" >&6; }
69814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69815 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69817 /* end confdefs.h. */
69818 #include <unistd.h>
69819 #include <sys/time.h>
69820 #include <sys/resource.h>
69823 main ()
69825 int f = RLIMIT_RSS ;
69827 return 0;
69829 _ACEOF
69830 if ac_fn_cxx_try_compile "$LINENO"; then :
69831 glibcxx_mresult=1
69832 else
69833 glibcxx_mresult=0
69835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69837 cat >>confdefs.h <<_ACEOF
69838 #define HAVE_LIMIT_RSS $glibcxx_mresult
69839 _ACEOF
69841 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69843 $as_echo "$res" >&6; }
69846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69847 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69849 /* end confdefs.h. */
69850 #include <unistd.h>
69851 #include <sys/time.h>
69852 #include <sys/resource.h>
69855 main ()
69857 int f = RLIMIT_VMEM ;
69859 return 0;
69861 _ACEOF
69862 if ac_fn_cxx_try_compile "$LINENO"; then :
69863 glibcxx_mresult=1
69864 else
69865 glibcxx_mresult=0
69867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69869 cat >>confdefs.h <<_ACEOF
69870 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69871 _ACEOF
69873 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69875 $as_echo "$res" >&6; }
69878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
69879 $as_echo_n "checking for RLIMIT_AS... " >&6; }
69880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69881 /* end confdefs.h. */
69882 #include <unistd.h>
69883 #include <sys/time.h>
69884 #include <sys/resource.h>
69887 main ()
69889 int f = RLIMIT_AS ;
69891 return 0;
69893 _ACEOF
69894 if ac_fn_cxx_try_compile "$LINENO"; then :
69895 glibcxx_mresult=1
69896 else
69897 glibcxx_mresult=0
69899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE_LIMIT_AS $glibcxx_mresult
69903 _ACEOF
69905 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69907 $as_echo "$res" >&6; }
69910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
69911 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
69912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69913 /* end confdefs.h. */
69914 #include <unistd.h>
69915 #include <sys/time.h>
69916 #include <sys/resource.h>
69919 main ()
69921 int f = RLIMIT_FSIZE ;
69923 return 0;
69925 _ACEOF
69926 if ac_fn_cxx_try_compile "$LINENO"; then :
69927 glibcxx_mresult=1
69928 else
69929 glibcxx_mresult=0
69931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69933 cat >>confdefs.h <<_ACEOF
69934 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
69935 _ACEOF
69937 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69939 $as_echo "$res" >&6; }
69942 # Check for rlimit, setrlimit.
69943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
69944 $as_echo_n "checking for testsuite resource limits support... " >&6; }
69945 if ${glibcxx_cv_setrlimit+:} false; then :
69946 $as_echo_n "(cached) " >&6
69947 else
69949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69950 /* end confdefs.h. */
69951 #include <unistd.h>
69952 #include <sys/time.h>
69953 #include <sys/resource.h>
69956 main ()
69958 struct rlimit r;
69959 setrlimit(0, &r);
69961 return 0;
69963 _ACEOF
69964 if ac_fn_cxx_try_compile "$LINENO"; then :
69965 glibcxx_cv_setrlimit=yes
69966 else
69967 glibcxx_cv_setrlimit=no
69969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
69973 $as_echo "$glibcxx_cv_setrlimit" >&6; }
69975 if test $glibcxx_cv_setrlimit = yes; then
69977 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
69981 ac_ext=c
69982 ac_cpp='$CPP $CPPFLAGS'
69983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69989 if $GLIBCXX_IS_NATIVE ; then
69990 # Look for setenv, so that extended locale tests can be performed.
69992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
69993 $as_echo_n "checking for setenv declaration... " >&6; }
69994 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
69995 if ${glibcxx_cv_func_setenv_use+:} false; then :
69996 $as_echo_n "(cached) " >&6
69997 else
70000 ac_ext=cpp
70001 ac_cpp='$CXXCPP $CPPFLAGS'
70002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70007 /* end confdefs.h. */
70008 #include <stdlib.h>
70010 main ()
70012 setenv(0, 0, 0);
70014 return 0;
70016 _ACEOF
70017 if ac_fn_cxx_try_compile "$LINENO"; then :
70018 glibcxx_cv_func_setenv_use=yes
70019 else
70020 glibcxx_cv_func_setenv_use=no
70022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70023 ac_ext=c
70024 ac_cpp='$CPP $CPPFLAGS'
70025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70034 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70035 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70036 for ac_func in setenv
70037 do :
70038 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70039 if test "x$ac_cv_func_setenv" = xyes; then :
70040 cat >>confdefs.h <<_ACEOF
70041 #define HAVE_SETENV 1
70042 _ACEOF
70045 done
70051 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70052 test $enable_symvers != no; then
70053 case "$host" in
70054 *-*-cygwin*)
70055 enable_abi_check=no ;;
70057 enable_abi_check=yes ;;
70058 esac
70059 else
70060 # Only build this as native, since automake does not understand
70061 # CXX_FOR_BUILD.
70062 enable_abi_check=no
70065 # Export file names for ABI checking.
70066 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70068 baseline_subdir_switch="$abi_baseline_subdir_switch"
70072 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70074 # Check whether --enable-libstdcxx-threads was given.
70075 if test "${enable_libstdcxx_threads+set}" = set; then :
70076 enableval=$enable_libstdcxx_threads;
70077 case "$enableval" in
70078 yes|no) ;;
70079 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70080 esac
70082 else
70083 enable_libstdcxx_threads=auto
70088 if test x$enable_libstdcxx_threads = xauto ||
70089 test x$enable_libstdcxx_threads = xyes; then
70092 ac_ext=cpp
70093 ac_cpp='$CXXCPP $CPPFLAGS'
70094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70099 ac_save_CXXFLAGS="$CXXFLAGS"
70100 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70101 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70103 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70104 case $target_thread_file in
70105 posix)
70106 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70107 esac
70109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70110 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70113 /* end confdefs.h. */
70114 #include <unistd.h>
70116 main ()
70119 // In case of POSIX threads check _POSIX_TIMEOUTS.
70120 #if (defined(_PTHREADS) \
70121 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70122 #error
70123 #endif
70126 return 0;
70128 _ACEOF
70129 if ac_fn_cxx_try_compile "$LINENO"; then :
70130 ac_gthread_use_mutex_timedlock=1
70131 else
70132 ac_gthread_use_mutex_timedlock=0
70134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70137 cat >>confdefs.h <<_ACEOF
70138 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70139 _ACEOF
70142 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
70143 else res_mutex_timedlock=no ; fi
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
70145 $as_echo "$res_mutex_timedlock" >&6; }
70147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
70148 $as_echo_n "checking for gthreads library... " >&6; }
70150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70151 /* end confdefs.h. */
70152 #include "gthr.h"
70154 main ()
70157 #ifndef __GTHREADS_CXX0X
70158 #error
70159 #endif
70162 return 0;
70164 _ACEOF
70165 if ac_fn_cxx_try_compile "$LINENO"; then :
70166 ac_has_gthreads=yes
70167 else
70168 ac_has_gthreads=no
70170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70171 else
70172 ac_has_gthreads=no
70175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
70176 $as_echo "$ac_has_gthreads" >&6; }
70178 if test x"$ac_has_gthreads" = x"yes"; then
70180 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
70183 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
70184 # but only do so if we're using pthread in the gthread library.
70185 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
70186 # but the pthread library is not there by default and the gthread library
70187 # does not use it.
70188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70189 /* end confdefs.h. */
70190 #include "gthr.h"
70192 main ()
70195 #if (!defined(_PTHREADS))
70196 #error
70197 #endif
70200 return 0;
70202 _ACEOF
70203 if ac_fn_cxx_try_compile "$LINENO"; then :
70204 ac_gthread_use_pthreads=yes
70205 else
70206 ac_gthread_use_pthreads=no
70208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70209 if test x"$ac_gthread_use_pthreads" = x"yes"; then
70210 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
70212 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
70214 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
70221 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
70222 if test "x$ac_cv_header_semaphore_h" = xyes; then :
70224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
70225 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
70226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70227 /* end confdefs.h. */
70229 #include <unistd.h>
70230 #include <semaphore.h>
70231 #include <limits.h>
70234 main ()
70237 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
70238 # error "POSIX Timeouts option not supported"
70239 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
70240 # error "POSIX Semaphores option not supported"
70241 #else
70242 #if defined SEM_VALUE_MAX
70243 constexpr int sem_value_max = SEM_VALUE_MAX;
70244 #elif defined _POSIX_SEM_VALUE_MAX
70245 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
70246 #else
70247 # error "SEM_VALUE_MAX not available"
70248 #endif
70249 sem_t sem;
70250 sem_init(&sem, 0, sem_value_max);
70251 struct timespec ts = { 0 };
70252 sem_timedwait(&sem, &ts);
70253 #endif
70256 return 0;
70258 _ACEOF
70259 if ac_fn_cxx_try_compile "$LINENO"; then :
70260 ac_have_posix_semaphore=yes
70261 else
70262 ac_have_posix_semaphore=no
70264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70265 else
70266 ac_have_posix_semaphore=no
70271 if test $ac_have_posix_semaphore = yes ; then
70273 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
70276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
70277 $as_echo "$ac_have_posix_semaphore" >&6; }
70279 CXXFLAGS="$ac_save_CXXFLAGS"
70280 ac_ext=c
70281 ac_cpp='$CPP $CPPFLAGS'
70282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70288 # For Filesystem TS.
70289 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
70290 do :
70291 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70292 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70293 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
70294 cat >>confdefs.h <<_ACEOF
70295 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70296 _ACEOF
70300 done
70303 # Check whether --enable-libstdcxx-filesystem-ts was given.
70304 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
70305 enableval=$enable_libstdcxx_filesystem_ts;
70306 case "$enableval" in
70307 yes|no|auto) ;;
70308 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
70309 esac
70311 else
70312 enable_libstdcxx_filesystem_ts=auto
70317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
70318 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
70319 if test x"$ac_cv_header_dirent_h" != x"yes"; then
70320 enable_libstdcxx_filesystem_ts=no
70322 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
70323 case "${target_os}" in
70324 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
70325 enable_libstdcxx_filesystem_ts=yes
70327 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
70328 enable_libstdcxx_filesystem_ts=yes
70330 rtems*)
70331 enable_libstdcxx_filesystem_ts=yes
70333 solaris*)
70334 enable_libstdcxx_filesystem_ts=yes
70336 mingw*)
70337 enable_libstdcxx_filesystem_ts=yes
70340 enable_libstdcxx_filesystem_ts=no
70342 esac
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
70345 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
70349 ac_ext=cpp
70350 ac_cpp='$CXXCPP $CPPFLAGS'
70351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70355 ac_save_CXXFLAGS="$CXXFLAGS"
70356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
70358 $as_echo_n "checking for struct dirent.d_type... " >&6; }
70359 if ${glibcxx_cv_dirent_d_type+:} false; then :
70360 $as_echo_n "(cached) " >&6
70361 else
70362 if test x$gcc_no_link = xyes; then
70363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70364 /* end confdefs.h. */
70365 #include <dirent.h>
70367 main ()
70370 struct dirent d;
70371 if (sizeof d.d_type) return 0;
70374 return 0;
70376 _ACEOF
70377 if ac_fn_cxx_try_compile "$LINENO"; then :
70378 glibcxx_cv_dirent_d_type=yes
70379 else
70380 glibcxx_cv_dirent_d_type=no
70382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70383 else
70384 if test x$gcc_no_link = xyes; then
70385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70388 /* end confdefs.h. */
70389 #include <dirent.h>
70391 main ()
70394 struct dirent d;
70395 if (sizeof d.d_type) return 0;
70398 return 0;
70400 _ACEOF
70401 if ac_fn_cxx_try_link "$LINENO"; then :
70402 glibcxx_cv_dirent_d_type=yes
70403 else
70404 glibcxx_cv_dirent_d_type=no
70406 rm -f core conftest.err conftest.$ac_objext \
70407 conftest$ac_exeext conftest.$ac_ext
70411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70412 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70413 if test $glibcxx_cv_dirent_d_type = yes; then
70415 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70419 $as_echo_n "checking for realpath... " >&6; }
70420 if ${glibcxx_cv_realpath+:} false; then :
70421 $as_echo_n "(cached) " >&6
70422 else
70423 if test x$gcc_no_link = xyes; then
70424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70425 /* end confdefs.h. */
70427 #include <limits.h>
70428 #include <stdlib.h>
70429 #include <unistd.h>
70432 main ()
70435 #if _XOPEN_VERSION < 500
70436 #error
70437 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70438 char *tmp = realpath((const char*)NULL, (char*)NULL);
70439 #else
70440 #error
70441 #endif
70444 return 0;
70446 _ACEOF
70447 if ac_fn_cxx_try_compile "$LINENO"; then :
70448 glibcxx_cv_realpath=yes
70449 else
70450 glibcxx_cv_realpath=no
70452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70453 else
70454 if test x$gcc_no_link = xyes; then
70455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70458 /* end confdefs.h. */
70460 #include <limits.h>
70461 #include <stdlib.h>
70462 #include <unistd.h>
70465 main ()
70468 #if _XOPEN_VERSION < 500
70469 #error
70470 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70471 char *tmp = realpath((const char*)NULL, (char*)NULL);
70472 #else
70473 #error
70474 #endif
70477 return 0;
70479 _ACEOF
70480 if ac_fn_cxx_try_link "$LINENO"; then :
70481 glibcxx_cv_realpath=yes
70482 else
70483 glibcxx_cv_realpath=no
70485 rm -f core conftest.err conftest.$ac_objext \
70486 conftest$ac_exeext conftest.$ac_ext
70490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70491 $as_echo "$glibcxx_cv_realpath" >&6; }
70492 if test $glibcxx_cv_realpath = yes; then
70494 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70498 $as_echo_n "checking for utimensat... " >&6; }
70499 if ${glibcxx_cv_utimensat+:} false; then :
70500 $as_echo_n "(cached) " >&6
70501 else
70502 if test x$gcc_no_link = xyes; then
70503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70504 /* end confdefs.h. */
70506 #include <fcntl.h>
70507 #include <sys/stat.h>
70510 main ()
70513 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70514 int i = utimensat(AT_FDCWD, "path", ts, 0);
70517 return 0;
70519 _ACEOF
70520 if ac_fn_cxx_try_compile "$LINENO"; then :
70521 glibcxx_cv_utimensat=yes
70522 else
70523 glibcxx_cv_utimensat=no
70525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70526 else
70527 if test x$gcc_no_link = xyes; then
70528 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70531 /* end confdefs.h. */
70533 #include <fcntl.h>
70534 #include <sys/stat.h>
70537 main ()
70540 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70541 int i = utimensat(AT_FDCWD, "path", ts, 0);
70544 return 0;
70546 _ACEOF
70547 if ac_fn_cxx_try_link "$LINENO"; then :
70548 glibcxx_cv_utimensat=yes
70549 else
70550 glibcxx_cv_utimensat=no
70552 rm -f core conftest.err conftest.$ac_objext \
70553 conftest$ac_exeext conftest.$ac_ext
70557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70558 $as_echo "$glibcxx_cv_utimensat" >&6; }
70559 if test $glibcxx_cv_utimensat = yes; then
70561 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70565 $as_echo_n "checking for utime... " >&6; }
70566 if ${glibcxx_cv_utime+:} false; then :
70567 $as_echo_n "(cached) " >&6
70568 else
70569 if test x$gcc_no_link = xyes; then
70570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70571 /* end confdefs.h. */
70573 #include <utime.h>
70576 main ()
70579 struct utimbuf t = { 1, 1 };
70580 int i = utime("path", &t);
70583 return 0;
70585 _ACEOF
70586 if ac_fn_cxx_try_compile "$LINENO"; then :
70587 glibcxx_cv_utime=yes
70588 else
70589 glibcxx_cv_utime=no
70591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70592 else
70593 if test x$gcc_no_link = xyes; then
70594 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70597 /* end confdefs.h. */
70599 #include <utime.h>
70602 main ()
70605 struct utimbuf t = { 1, 1 };
70606 int i = utime("path", &t);
70609 return 0;
70611 _ACEOF
70612 if ac_fn_cxx_try_link "$LINENO"; then :
70613 glibcxx_cv_utime=yes
70614 else
70615 glibcxx_cv_utime=no
70617 rm -f core conftest.err conftest.$ac_objext \
70618 conftest$ac_exeext conftest.$ac_ext
70622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70623 $as_echo "$glibcxx_cv_utime" >&6; }
70624 if test $glibcxx_cv_utime = yes; then
70626 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70630 $as_echo_n "checking for lstat... " >&6; }
70631 if ${glibcxx_cv_lstat+:} false; then :
70632 $as_echo_n "(cached) " >&6
70633 else
70634 if test x$gcc_no_link = xyes; then
70635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70636 /* end confdefs.h. */
70637 #include <sys/stat.h>
70639 main ()
70642 struct stat st;
70643 int i = lstat("path", &st);
70646 return 0;
70648 _ACEOF
70649 if ac_fn_cxx_try_compile "$LINENO"; then :
70650 glibcxx_cv_lstat=yes
70651 else
70652 glibcxx_cv_lstat=no
70654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70655 else
70656 if test x$gcc_no_link = xyes; then
70657 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70660 /* end confdefs.h. */
70661 #include <sys/stat.h>
70663 main ()
70666 struct stat st;
70667 int i = lstat("path", &st);
70670 return 0;
70672 _ACEOF
70673 if ac_fn_cxx_try_link "$LINENO"; then :
70674 glibcxx_cv_lstat=yes
70675 else
70676 glibcxx_cv_lstat=no
70678 rm -f core conftest.err conftest.$ac_objext \
70679 conftest$ac_exeext conftest.$ac_ext
70683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70684 $as_echo "$glibcxx_cv_lstat" >&6; }
70685 if test $glibcxx_cv_lstat = yes; then
70687 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70691 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70692 if ${glibcxx_cv_st_mtim+:} false; then :
70693 $as_echo_n "(cached) " >&6
70694 else
70695 if test x$gcc_no_link = xyes; then
70696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70697 /* end confdefs.h. */
70698 #include <sys/stat.h>
70700 main ()
70703 struct stat st;
70704 return st.st_mtim.tv_nsec;
70707 return 0;
70709 _ACEOF
70710 if ac_fn_cxx_try_compile "$LINENO"; then :
70711 glibcxx_cv_st_mtim=yes
70712 else
70713 glibcxx_cv_st_mtim=no
70715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70716 else
70717 if test x$gcc_no_link = xyes; then
70718 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70721 /* end confdefs.h. */
70722 #include <sys/stat.h>
70724 main ()
70727 struct stat st;
70728 return st.st_mtim.tv_nsec;
70731 return 0;
70733 _ACEOF
70734 if ac_fn_cxx_try_link "$LINENO"; then :
70735 glibcxx_cv_st_mtim=yes
70736 else
70737 glibcxx_cv_st_mtim=no
70739 rm -f core conftest.err conftest.$ac_objext \
70740 conftest$ac_exeext conftest.$ac_ext
70744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70745 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70746 if test $glibcxx_cv_st_mtim = yes; then
70748 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70752 $as_echo_n "checking for fchmod... " >&6; }
70753 if ${glibcxx_cv_fchmod+:} false; then :
70754 $as_echo_n "(cached) " >&6
70755 else
70756 if test x$gcc_no_link = xyes; then
70757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70758 /* end confdefs.h. */
70759 #include <sys/stat.h>
70761 main ()
70763 fchmod(1, S_IWUSR);
70765 return 0;
70767 _ACEOF
70768 if ac_fn_cxx_try_compile "$LINENO"; then :
70769 glibcxx_cv_fchmod=yes
70770 else
70771 glibcxx_cv_fchmod=no
70773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70774 else
70775 if test x$gcc_no_link = xyes; then
70776 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70779 /* end confdefs.h. */
70780 #include <sys/stat.h>
70782 main ()
70784 fchmod(1, S_IWUSR);
70786 return 0;
70788 _ACEOF
70789 if ac_fn_cxx_try_link "$LINENO"; then :
70790 glibcxx_cv_fchmod=yes
70791 else
70792 glibcxx_cv_fchmod=no
70794 rm -f core conftest.err conftest.$ac_objext \
70795 conftest$ac_exeext conftest.$ac_ext
70799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70800 $as_echo "$glibcxx_cv_fchmod" >&6; }
70801 if test $glibcxx_cv_fchmod = yes; then
70803 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70807 $as_echo_n "checking for fchmodat... " >&6; }
70808 if ${glibcxx_cv_fchmodat+:} false; then :
70809 $as_echo_n "(cached) " >&6
70810 else
70811 if test x$gcc_no_link = xyes; then
70812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70813 /* end confdefs.h. */
70815 #include <fcntl.h>
70816 #include <sys/stat.h>
70819 main ()
70821 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70823 return 0;
70825 _ACEOF
70826 if ac_fn_cxx_try_compile "$LINENO"; then :
70827 glibcxx_cv_fchmodat=yes
70828 else
70829 glibcxx_cv_fchmodat=no
70831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70832 else
70833 if test x$gcc_no_link = xyes; then
70834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70837 /* end confdefs.h. */
70839 #include <fcntl.h>
70840 #include <sys/stat.h>
70843 main ()
70845 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70847 return 0;
70849 _ACEOF
70850 if ac_fn_cxx_try_link "$LINENO"; then :
70851 glibcxx_cv_fchmodat=yes
70852 else
70853 glibcxx_cv_fchmodat=no
70855 rm -f core conftest.err conftest.$ac_objext \
70856 conftest$ac_exeext conftest.$ac_ext
70860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
70861 $as_echo "$glibcxx_cv_fchmodat" >&6; }
70862 if test $glibcxx_cv_fchmodat = yes; then
70864 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
70867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
70868 $as_echo_n "checking for sendfile that can copy files... " >&6; }
70869 if ${glibcxx_cv_sendfile+:} false; then :
70870 $as_echo_n "(cached) " >&6
70871 else
70872 case "${target_os}" in
70873 gnu* | linux* | solaris* | uclinux*)
70874 if test x$gcc_no_link = xyes; then
70875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70876 /* end confdefs.h. */
70877 #include <sys/sendfile.h>
70879 main ()
70881 sendfile(1, 2, (off_t*)0, sizeof 1);
70883 return 0;
70885 _ACEOF
70886 if ac_fn_cxx_try_compile "$LINENO"; then :
70887 glibcxx_cv_sendfile=yes
70888 else
70889 glibcxx_cv_sendfile=no
70891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70892 else
70893 if test x$gcc_no_link = xyes; then
70894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <sys/sendfile.h>
70900 main ()
70902 sendfile(1, 2, (off_t*)0, sizeof 1);
70904 return 0;
70906 _ACEOF
70907 if ac_fn_cxx_try_link "$LINENO"; then :
70908 glibcxx_cv_sendfile=yes
70909 else
70910 glibcxx_cv_sendfile=no
70912 rm -f core conftest.err conftest.$ac_objext \
70913 conftest$ac_exeext conftest.$ac_ext
70917 glibcxx_cv_sendfile=no
70919 esac
70922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
70923 $as_echo "$glibcxx_cv_sendfile" >&6; }
70924 if test $glibcxx_cv_sendfile = yes; then
70926 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
70930 $as_echo_n "checking for link... " >&6; }
70931 if ${glibcxx_cv_link+:} false; then :
70932 $as_echo_n "(cached) " >&6
70933 else
70934 if test x$gcc_no_link = xyes; then
70935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70936 /* end confdefs.h. */
70937 #include <unistd.h>
70939 main ()
70941 link("", "");
70943 return 0;
70945 _ACEOF
70946 if ac_fn_cxx_try_compile "$LINENO"; then :
70947 glibcxx_cv_link=yes
70948 else
70949 glibcxx_cv_link=no
70951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70952 else
70953 if test x$gcc_no_link = xyes; then
70954 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70957 /* end confdefs.h. */
70958 #include <unistd.h>
70960 main ()
70962 link("", "");
70964 return 0;
70966 _ACEOF
70967 if ac_fn_cxx_try_link "$LINENO"; then :
70968 glibcxx_cv_link=yes
70969 else
70970 glibcxx_cv_link=no
70972 rm -f core conftest.err conftest.$ac_objext \
70973 conftest$ac_exeext conftest.$ac_ext
70977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
70978 $as_echo "$glibcxx_cv_link" >&6; }
70979 if test $glibcxx_cv_link = yes; then
70981 $as_echo "#define HAVE_LINK 1" >>confdefs.h
70984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
70985 $as_echo_n "checking for readlink... " >&6; }
70986 if ${glibcxx_cv_readlink+:} false; then :
70987 $as_echo_n "(cached) " >&6
70988 else
70989 if test x$gcc_no_link = xyes; then
70990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70991 /* end confdefs.h. */
70992 #include <unistd.h>
70994 main ()
70996 char buf[32]; readlink("", buf, sizeof(buf));
70998 return 0;
71000 _ACEOF
71001 if ac_fn_cxx_try_compile "$LINENO"; then :
71002 glibcxx_cv_readlink=yes
71003 else
71004 glibcxx_cv_readlink=no
71006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71007 else
71008 if test x$gcc_no_link = xyes; then
71009 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71012 /* end confdefs.h. */
71013 #include <unistd.h>
71015 main ()
71017 char buf[32]; readlink("", buf, sizeof(buf));
71019 return 0;
71021 _ACEOF
71022 if ac_fn_cxx_try_link "$LINENO"; then :
71023 glibcxx_cv_readlink=yes
71024 else
71025 glibcxx_cv_readlink=no
71027 rm -f core conftest.err conftest.$ac_objext \
71028 conftest$ac_exeext conftest.$ac_ext
71032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
71033 $as_echo "$glibcxx_cv_readlink" >&6; }
71034 if test $glibcxx_cv_readlink = yes; then
71036 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
71039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
71040 $as_echo_n "checking for symlink... " >&6; }
71041 if ${glibcxx_cv_symlink+:} false; then :
71042 $as_echo_n "(cached) " >&6
71043 else
71044 if test x$gcc_no_link = xyes; then
71045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71046 /* end confdefs.h. */
71047 #include <unistd.h>
71049 main ()
71051 symlink("", "");
71053 return 0;
71055 _ACEOF
71056 if ac_fn_cxx_try_compile "$LINENO"; then :
71057 glibcxx_cv_symlink=yes
71058 else
71059 glibcxx_cv_symlink=no
71061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71062 else
71063 if test x$gcc_no_link = xyes; then
71064 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71067 /* end confdefs.h. */
71068 #include <unistd.h>
71070 main ()
71072 symlink("", "");
71074 return 0;
71076 _ACEOF
71077 if ac_fn_cxx_try_link "$LINENO"; then :
71078 glibcxx_cv_symlink=yes
71079 else
71080 glibcxx_cv_symlink=no
71082 rm -f core conftest.err conftest.$ac_objext \
71083 conftest$ac_exeext conftest.$ac_ext
71087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
71088 $as_echo "$glibcxx_cv_symlink" >&6; }
71089 if test $glibcxx_cv_symlink = yes; then
71091 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
71095 $as_echo_n "checking for truncate... " >&6; }
71096 if ${glibcxx_cv_truncate+:} false; then :
71097 $as_echo_n "(cached) " >&6
71098 else
71099 if test x$gcc_no_link = xyes; then
71100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71101 /* end confdefs.h. */
71102 #include <unistd.h>
71104 main ()
71106 truncate("", 99);
71108 return 0;
71110 _ACEOF
71111 if ac_fn_cxx_try_compile "$LINENO"; then :
71112 glibcxx_cv_truncate=yes
71113 else
71114 glibcxx_cv_truncate=no
71116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71117 else
71118 if test x$gcc_no_link = xyes; then
71119 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71122 /* end confdefs.h. */
71123 #include <unistd.h>
71125 main ()
71127 truncate("", 99);
71129 return 0;
71131 _ACEOF
71132 if ac_fn_cxx_try_link "$LINENO"; then :
71133 glibcxx_cv_truncate=yes
71134 else
71135 glibcxx_cv_truncate=no
71137 rm -f core conftest.err conftest.$ac_objext \
71138 conftest$ac_exeext conftest.$ac_ext
71142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
71143 $as_echo "$glibcxx_cv_truncate" >&6; }
71144 if test $glibcxx_cv_truncate = yes; then
71146 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
71150 $as_echo_n "checking for fdopendir... " >&6; }
71151 if ${glibcxx_cv_fdopendir+:} false; then :
71152 $as_echo_n "(cached) " >&6
71153 else
71154 if test x$gcc_no_link = xyes; then
71155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71156 /* end confdefs.h. */
71157 #include <dirent.h>
71159 main ()
71161 ::DIR* dir = ::fdopendir(1);
71163 return 0;
71165 _ACEOF
71166 if ac_fn_cxx_try_compile "$LINENO"; then :
71167 glibcxx_cv_fdopendir=yes
71168 else
71169 glibcxx_cv_fdopendir=no
71171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71172 else
71173 if test x$gcc_no_link = xyes; then
71174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71177 /* end confdefs.h. */
71178 #include <dirent.h>
71180 main ()
71182 ::DIR* dir = ::fdopendir(1);
71184 return 0;
71186 _ACEOF
71187 if ac_fn_cxx_try_link "$LINENO"; then :
71188 glibcxx_cv_fdopendir=yes
71189 else
71190 glibcxx_cv_fdopendir=no
71192 rm -f core conftest.err conftest.$ac_objext \
71193 conftest$ac_exeext conftest.$ac_ext
71197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
71198 $as_echo "$glibcxx_cv_fdopendir" >&6; }
71199 if test $glibcxx_cv_fdopendir = yes; then
71201 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
71204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
71205 $as_echo_n "checking for dirfd... " >&6; }
71206 if ${glibcxx_cv_dirfd+:} false; then :
71207 $as_echo_n "(cached) " >&6
71208 else
71209 if test x$gcc_no_link = xyes; then
71210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71211 /* end confdefs.h. */
71212 #include <dirent.h>
71214 main ()
71216 int fd = ::dirfd((::DIR*)0);
71218 return 0;
71220 _ACEOF
71221 if ac_fn_cxx_try_compile "$LINENO"; then :
71222 glibcxx_cv_dirfd=yes
71223 else
71224 glibcxx_cv_dirfd=no
71226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71227 else
71228 if test x$gcc_no_link = xyes; then
71229 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71232 /* end confdefs.h. */
71233 #include <dirent.h>
71235 main ()
71237 int fd = ::dirfd((::DIR*)0);
71239 return 0;
71241 _ACEOF
71242 if ac_fn_cxx_try_link "$LINENO"; then :
71243 glibcxx_cv_dirfd=yes
71244 else
71245 glibcxx_cv_dirfd=no
71247 rm -f core conftest.err conftest.$ac_objext \
71248 conftest$ac_exeext conftest.$ac_ext
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
71253 $as_echo "$glibcxx_cv_dirfd" >&6; }
71254 if test $glibcxx_cv_dirfd = yes; then
71256 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
71259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
71260 $as_echo_n "checking for openat... " >&6; }
71261 if ${glibcxx_cv_openat+:} false; then :
71262 $as_echo_n "(cached) " >&6
71263 else
71264 if test x$gcc_no_link = xyes; then
71265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71266 /* end confdefs.h. */
71267 #include <fcntl.h>
71269 main ()
71271 int fd = ::openat(AT_FDCWD, "", 0);
71273 return 0;
71275 _ACEOF
71276 if ac_fn_cxx_try_compile "$LINENO"; then :
71277 glibcxx_cv_openat=yes
71278 else
71279 glibcxx_cv_openat=no
71281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71282 else
71283 if test x$gcc_no_link = xyes; then
71284 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71287 /* end confdefs.h. */
71288 #include <fcntl.h>
71290 main ()
71292 int fd = ::openat(AT_FDCWD, "", 0);
71294 return 0;
71296 _ACEOF
71297 if ac_fn_cxx_try_link "$LINENO"; then :
71298 glibcxx_cv_openat=yes
71299 else
71300 glibcxx_cv_openat=no
71302 rm -f core conftest.err conftest.$ac_objext \
71303 conftest$ac_exeext conftest.$ac_ext
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
71308 $as_echo "$glibcxx_cv_openat" >&6; }
71309 if test $glibcxx_cv_openat = yes; then
71311 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
71315 $as_echo_n "checking for unlinkat... " >&6; }
71316 if ${glibcxx_cv_unlinkat+:} false; then :
71317 $as_echo_n "(cached) " >&6
71318 else
71319 if test x$gcc_no_link = xyes; then
71320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71321 /* end confdefs.h. */
71322 #include <fcntl.h>
71323 #include <unistd.h>
71325 main ()
71327 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71329 return 0;
71331 _ACEOF
71332 if ac_fn_cxx_try_compile "$LINENO"; then :
71333 glibcxx_cv_unlinkat=yes
71334 else
71335 glibcxx_cv_unlinkat=no
71337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71338 else
71339 if test x$gcc_no_link = xyes; then
71340 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71343 /* end confdefs.h. */
71344 #include <fcntl.h>
71345 #include <unistd.h>
71347 main ()
71349 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71351 return 0;
71353 _ACEOF
71354 if ac_fn_cxx_try_link "$LINENO"; then :
71355 glibcxx_cv_unlinkat=yes
71356 else
71357 glibcxx_cv_unlinkat=no
71359 rm -f core conftest.err conftest.$ac_objext \
71360 conftest$ac_exeext conftest.$ac_ext
71364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
71365 $as_echo "$glibcxx_cv_unlinkat" >&6; }
71366 if test $glibcxx_cv_unlinkat = yes; then
71368 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
71371 CXXFLAGS="$ac_save_CXXFLAGS"
71372 ac_ext=c
71373 ac_cpp='$CPP $CPPFLAGS'
71374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71381 # Check whether --enable-libstdcxx-backtrace was given.
71382 if test "${enable_libstdcxx_backtrace+set}" = set; then :
71383 enableval=$enable_libstdcxx_backtrace;
71384 case "$enableval" in
71385 yes|no|auto) ;;
71386 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
71387 esac
71389 else
71390 enable_libstdcxx_backtrace=auto
71395 # Most of this is adapted from libsanitizer/configure.ac
71397 BACKTRACE_CPPFLAGS=
71399 # libbacktrace only needs atomics for int, which we've already tested
71400 if test "$glibcxx_cv_atomic_int" = "yes"; then
71401 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71404 # Test for __sync support.
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71406 $as_echo_n "checking __sync extensions... " >&6; }
71407 if ${glibcxx_cv_sys_sync+:} false; then :
71408 $as_echo_n "(cached) " >&6
71409 else
71410 if test x$gcc_no_link = xyes; then
71411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71412 /* end confdefs.h. */
71413 int i;
71415 main ()
71417 __sync_bool_compare_and_swap (&i, i, i);
71418 __sync_lock_test_and_set (&i, 1);
71419 __sync_lock_release (&i);
71421 return 0;
71423 _ACEOF
71424 if ac_fn_c_try_compile "$LINENO"; then :
71425 glibcxx_cv_sys_sync=yes
71426 else
71427 glibcxx_cv_sys_sync=no
71429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71430 else
71431 if test x$gcc_no_link = xyes; then
71432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71435 /* end confdefs.h. */
71436 int i;
71438 main ()
71440 __sync_bool_compare_and_swap (&i, i, i);
71441 __sync_lock_test_and_set (&i, 1);
71442 __sync_lock_release (&i);
71444 return 0;
71446 _ACEOF
71447 if ac_fn_c_try_link "$LINENO"; then :
71448 glibcxx_cv_sys_sync=yes
71449 else
71450 glibcxx_cv_sys_sync=no
71452 rm -f core conftest.err conftest.$ac_objext \
71453 conftest$ac_exeext conftest.$ac_ext
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71458 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71459 if test "$glibcxx_cv_sys_sync" = "yes"; then
71460 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71463 # Check for dl_iterate_phdr.
71464 for ac_header in link.h
71465 do :
71466 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71467 if test "x$ac_cv_header_link_h" = xyes; then :
71468 cat >>confdefs.h <<_ACEOF
71469 #define HAVE_LINK_H 1
71470 _ACEOF
71474 done
71476 if test "$ac_cv_header_link_h" = "no"; then
71477 have_dl_iterate_phdr=no
71478 else
71479 # When built as a GCC target library, we can't do a link test.
71480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71481 /* end confdefs.h. */
71482 #include <link.h>
71484 _ACEOF
71485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71486 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71487 have_dl_iterate_phdr=yes
71488 else
71489 have_dl_iterate_phdr=no
71491 rm -f conftest*
71494 if test "$have_dl_iterate_phdr" = "yes"; then
71495 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71498 # Check for the fcntl function.
71499 if test -n "${with_target_subdir}"; then
71500 case "${host}" in
71501 *-*-mingw*) have_fcntl=no ;;
71502 *) have_fcntl=yes ;;
71503 esac
71504 else
71505 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71506 if test "x$ac_cv_func_fcntl" = xyes; then :
71507 have_fcntl=yes
71508 else
71509 have_fcntl=no
71513 if test "$have_fcntl" = "yes"; then
71514 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71517 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71518 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71519 ac_have_decl=1
71520 else
71521 ac_have_decl=0
71524 cat >>confdefs.h <<_ACEOF
71525 #define HAVE_DECL_STRNLEN $ac_have_decl
71526 _ACEOF
71529 # Check for getexecname function.
71530 if test -n "${with_target_subdir}"; then
71531 case "${host}" in
71532 *-*-solaris2*) have_getexecname=yes ;;
71533 *) have_getexecname=no ;;
71534 esac
71535 else
71536 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71537 if test "x$ac_cv_func_getexecname" = xyes; then :
71538 have_getexecname=yes
71539 else
71540 have_getexecname=no
71544 if test "$have_getexecname" = "yes"; then
71545 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71548 # The library needs to be able to read the executable itself. Compile
71549 # a file to determine the executable format. The awk script
71550 # filetype.awk prints out the file type.
71551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71552 $as_echo_n "checking output filetype... " >&6; }
71553 if ${glibcxx_cv_sys_filetype+:} false; then :
71554 $as_echo_n "(cached) " >&6
71555 else
71556 filetype=
71557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71558 /* end confdefs.h. */
71559 int i;
71561 main ()
71563 int j;
71565 return 0;
71567 _ACEOF
71568 if ac_fn_c_try_compile "$LINENO"; then :
71569 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71570 else
71571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71573 as_fn_error $? "compiler failed
71574 See \`config.log' for more details" "$LINENO" 5; }
71576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71577 glibcxx_cv_sys_filetype=$filetype
71579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71580 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71582 # Match the file type to decide what files to compile.
71583 FORMAT_FILE=
71584 case "$glibcxx_cv_sys_filetype" in
71585 elf*) FORMAT_FILE="elf.lo" ;;
71586 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71587 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71588 FORMAT_FILE="unknown.lo"
71589 enable_libstdcxx_backtrace=no
71591 esac
71594 # ELF defines.
71595 elfsize=
71596 case "$glibcxx_cv_sys_filetype" in
71597 elf32) elfsize=32 ;;
71598 elf64) elfsize=64 ;;
71599 esac
71600 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71603 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71604 if test "$enable_libstdcxx_backtrace" = "auto"; then
71605 enable_libstdcxx_backtrace=no
71607 if test "$enable_libstdcxx_backtrace" = "yes"; then
71608 BACKTRACE_SUPPORTED=1
71610 for ac_header in sys/mman.h
71611 do :
71612 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71613 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71614 cat >>confdefs.h <<_ACEOF
71615 #define HAVE_SYS_MMAN_H 1
71616 _ACEOF
71620 done
71622 case "${host}" in
71623 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71624 have_mmap=no ;;
71625 *-*-*)
71626 have_mmap="$ac_cv_header_sys_mman_h" ;;
71627 esac
71629 if test "$have_mmap" = "no"; then
71630 VIEW_FILE=read.lo
71631 ALLOC_FILE=alloc.lo
71632 else
71633 VIEW_FILE=mmapio.lo
71634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71635 /* end confdefs.h. */
71637 #include <sys/mman.h>
71638 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71639 #error no MAP_ANONYMOUS
71640 #endif
71642 _ACEOF
71643 if ac_fn_c_try_cpp "$LINENO"; then :
71644 ALLOC_FILE=mmap.lo
71645 else
71646 ALLOC_FILE=alloc.lo
71648 rm -f conftest.err conftest.i conftest.$ac_ext
71653 BACKTRACE_USES_MALLOC=0
71654 if test "$ALLOC_FILE" = "alloc.lo"; then
71655 BACKTRACE_USES_MALLOC=1
71658 if test "$ac_has_gthreads" = "yes"; then
71659 BACKTRACE_SUPPORTS_THREADS=1
71660 else
71661 BACKTRACE_SUPPORTS_THREADS=0
71668 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71670 else
71671 BACKTRACE_SUPPORTED=0
71672 BACKTRACE_USES_MALLOC=0
71673 BACKTRACE_SUPPORTS_THREADS=0
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71676 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71680 # For Networking TS.
71681 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
71682 do :
71683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71684 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71685 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71686 cat >>confdefs.h <<_ACEOF
71687 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71688 _ACEOF
71692 done
71694 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71696 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71700 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71702 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71706 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71707 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71709 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71715 # For Transactional Memory TS
71717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71718 $as_echo_n "checking how size_t is mangled... " >&6; }
71719 if ${glibcxx_cv_size_t_mangling+:} false; then :
71720 $as_echo_n "(cached) " >&6
71721 else
71723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71724 /* end confdefs.h. */
71727 main ()
71729 extern __SIZE_TYPE__ x; extern unsigned long x;
71731 return 0;
71733 _ACEOF
71734 if ac_fn_c_try_compile "$LINENO"; then :
71735 glibcxx_cv_size_t_mangling=m
71736 else
71738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71739 /* end confdefs.h. */
71742 main ()
71744 extern __SIZE_TYPE__ x; extern unsigned int x;
71746 return 0;
71748 _ACEOF
71749 if ac_fn_c_try_compile "$LINENO"; then :
71750 glibcxx_cv_size_t_mangling=j
71751 else
71753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71754 /* end confdefs.h. */
71757 main ()
71759 extern __SIZE_TYPE__ x; extern unsigned long long x;
71761 return 0;
71763 _ACEOF
71764 if ac_fn_c_try_compile "$LINENO"; then :
71765 glibcxx_cv_size_t_mangling=y
71766 else
71768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71769 /* end confdefs.h. */
71772 main ()
71774 extern __SIZE_TYPE__ x; extern unsigned short x;
71776 return 0;
71778 _ACEOF
71779 if ac_fn_c_try_compile "$LINENO"; then :
71780 glibcxx_cv_size_t_mangling=t
71781 else
71783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71784 /* end confdefs.h. */
71787 main ()
71789 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
71791 return 0;
71793 _ACEOF
71794 if ac_fn_c_try_compile "$LINENO"; then :
71795 glibcxx_cv_size_t_mangling=u6uint20
71796 else
71797 glibcxx_cv_size_t_mangling=x
71799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
71815 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
71816 if test $glibcxx_cv_size_t_mangling = x; then
71817 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
71820 cat >>confdefs.h <<_ACEOF
71821 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
71822 _ACEOF
71826 # Check which release added std::exception_ptr for the target
71828 if test $enable_symvers != no; then
71829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
71830 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
71831 case ${target} in
71832 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
71833 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
71834 ac_exception_ptr_since_gcc46=yes
71837 # If the value of this macro changes then we will need to hardcode
71838 # yes/no here for additional targets based on the original value.
71839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71840 /* end confdefs.h. */
71843 main ()
71846 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
71847 # error atomic int not always lock free
71848 #endif
71851 return 0;
71853 _ACEOF
71854 if ac_fn_c_try_compile "$LINENO"; then :
71855 ac_exception_ptr_since_gcc46=yes
71856 else
71857 ac_exception_ptr_since_gcc46=no
71859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71861 esac
71862 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
71864 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
71866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
71867 $as_echo "4.6.0" >&6; }
71868 else
71869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
71870 $as_echo "7.1.0" >&6; }
71875 # Define documentation rules conditionally.
71877 # See if makeinfo has been installed and is modern enough
71878 # that we can use it.
71880 # Extract the first word of "makeinfo", so it can be a program name with args.
71881 set dummy makeinfo; ac_word=$2
71882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71883 $as_echo_n "checking for $ac_word... " >&6; }
71884 if ${ac_cv_prog_MAKEINFO+:} false; then :
71885 $as_echo_n "(cached) " >&6
71886 else
71887 if test -n "$MAKEINFO"; then
71888 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71889 else
71890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71891 for as_dir in $PATH
71893 IFS=$as_save_IFS
71894 test -z "$as_dir" && as_dir=.
71895 for ac_exec_ext in '' $ac_executable_extensions; do
71896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71897 ac_cv_prog_MAKEINFO="makeinfo"
71898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71899 break 2
71901 done
71902 done
71903 IFS=$as_save_IFS
71907 MAKEINFO=$ac_cv_prog_MAKEINFO
71908 if test -n "$MAKEINFO"; then
71909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71910 $as_echo "$MAKEINFO" >&6; }
71911 else
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71913 $as_echo "no" >&6; }
71917 if test -n "$MAKEINFO"; then
71918 # Found it, now check the version.
71919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71920 $as_echo_n "checking for modern makeinfo... " >&6; }
71921 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
71922 $as_echo_n "(cached) " >&6
71923 else
71924 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71925 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71927 case $ac_prog_version in
71928 '') gcc_cv_prog_makeinfo_modern=no;;
71929 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71930 *) gcc_cv_prog_makeinfo_modern=no;;
71931 esac
71934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71935 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71936 else
71937 gcc_cv_prog_makeinfo_modern=no
71939 if test $gcc_cv_prog_makeinfo_modern = no; then
71940 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71943 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71944 BUILD_INFO_TRUE=
71945 BUILD_INFO_FALSE='#'
71946 else
71947 BUILD_INFO_TRUE='#'
71948 BUILD_INFO_FALSE=
71952 # Check for doxygen
71953 # Extract the first word of "doxygen", so it can be a program name with args.
71954 set dummy doxygen; ac_word=$2
71955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71956 $as_echo_n "checking for $ac_word... " >&6; }
71957 if ${ac_cv_prog_DOXYGEN+:} false; then :
71958 $as_echo_n "(cached) " >&6
71959 else
71960 if test -n "$DOXYGEN"; then
71961 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71962 else
71963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71964 for as_dir in $PATH
71966 IFS=$as_save_IFS
71967 test -z "$as_dir" && as_dir=.
71968 for ac_exec_ext in '' $ac_executable_extensions; do
71969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
71970 ac_cv_prog_DOXYGEN="yes"
71971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71972 break 2
71974 done
71975 done
71976 IFS=$as_save_IFS
71978 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71981 DOXYGEN=$ac_cv_prog_DOXYGEN
71982 if test -n "$DOXYGEN"; then
71983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71984 $as_echo "$DOXYGEN" >&6; }
71985 else
71986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71987 $as_echo "no" >&6; }
71991 # Extract the first word of "dot", so it can be a program name with args.
71992 set dummy dot; ac_word=$2
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71994 $as_echo_n "checking for $ac_word... " >&6; }
71995 if ${ac_cv_prog_DOT+:} false; then :
71996 $as_echo_n "(cached) " >&6
71997 else
71998 if test -n "$DOT"; then
71999 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72000 else
72001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72002 for as_dir in $PATH
72004 IFS=$as_save_IFS
72005 test -z "$as_dir" && as_dir=.
72006 for ac_exec_ext in '' $ac_executable_extensions; do
72007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72008 ac_cv_prog_DOT="yes"
72009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72010 break 2
72012 done
72013 done
72014 IFS=$as_save_IFS
72016 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72019 DOT=$ac_cv_prog_DOT
72020 if test -n "$DOT"; then
72021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72022 $as_echo "$DOT" >&6; }
72023 else
72024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72025 $as_echo "no" >&6; }
72030 # Check for docbook
72031 # Extract the first word of "xmlcatalog", so it can be a program name with args.
72032 set dummy xmlcatalog; ac_word=$2
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72034 $as_echo_n "checking for $ac_word... " >&6; }
72035 if ${ac_cv_prog_XMLCATALOG+:} false; then :
72036 $as_echo_n "(cached) " >&6
72037 else
72038 if test -n "$XMLCATALOG"; then
72039 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
72040 else
72041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72042 for as_dir in $PATH
72044 IFS=$as_save_IFS
72045 test -z "$as_dir" && as_dir=.
72046 for ac_exec_ext in '' $ac_executable_extensions; do
72047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72048 ac_cv_prog_XMLCATALOG="yes"
72049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72050 break 2
72052 done
72053 done
72054 IFS=$as_save_IFS
72056 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
72059 XMLCATALOG=$ac_cv_prog_XMLCATALOG
72060 if test -n "$XMLCATALOG"; then
72061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
72062 $as_echo "$XMLCATALOG" >&6; }
72063 else
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72065 $as_echo "no" >&6; }
72069 # Extract the first word of "xsltproc", so it can be a program name with args.
72070 set dummy xsltproc; ac_word=$2
72071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72072 $as_echo_n "checking for $ac_word... " >&6; }
72073 if ${ac_cv_prog_XSLTPROC+:} false; then :
72074 $as_echo_n "(cached) " >&6
72075 else
72076 if test -n "$XSLTPROC"; then
72077 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72078 else
72079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72080 for as_dir in $PATH
72082 IFS=$as_save_IFS
72083 test -z "$as_dir" && as_dir=.
72084 for ac_exec_ext in '' $ac_executable_extensions; do
72085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72086 ac_cv_prog_XSLTPROC="yes"
72087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72088 break 2
72090 done
72091 done
72092 IFS=$as_save_IFS
72094 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72097 XSLTPROC=$ac_cv_prog_XSLTPROC
72098 if test -n "$XSLTPROC"; then
72099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72100 $as_echo "$XSLTPROC" >&6; }
72101 else
72102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72103 $as_echo "no" >&6; }
72107 # Extract the first word of "xmllint", so it can be a program name with args.
72108 set dummy xmllint; ac_word=$2
72109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72110 $as_echo_n "checking for $ac_word... " >&6; }
72111 if ${ac_cv_prog_XMLLINT+:} false; then :
72112 $as_echo_n "(cached) " >&6
72113 else
72114 if test -n "$XMLLINT"; then
72115 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72116 else
72117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72118 for as_dir in $PATH
72120 IFS=$as_save_IFS
72121 test -z "$as_dir" && as_dir=.
72122 for ac_exec_ext in '' $ac_executable_extensions; do
72123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72124 ac_cv_prog_XMLLINT="yes"
72125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72126 break 2
72128 done
72129 done
72130 IFS=$as_save_IFS
72132 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72135 XMLLINT=$ac_cv_prog_XMLLINT
72136 if test -n "$XMLLINT"; then
72137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72138 $as_echo "$XMLLINT" >&6; }
72139 else
72140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72141 $as_echo "no" >&6; }
72147 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
72149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72150 $as_echo_n "checking for local stylesheet directory... " >&6; }
72151 glibcxx_local_stylesheets=no
72152 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
72153 then
72154 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
72155 glibcxx_local_stylesheets=yes
72156 else
72157 for dir in \
72158 /usr/share/sgml/docbook/xsl-ns-stylesheets \
72159 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
72160 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
72161 /usr/share/xml/docbook/stylesheet/nwalsh/current
72163 if test -d $dir; then
72164 glibcxx_local_stylesheets=yes
72165 XSL_STYLE_DIR=$dir
72166 break
72168 done
72170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72171 $as_echo "$glibcxx_local_stylesheets" >&6; }
72173 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72176 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72179 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72180 glibcxx_stylesheets=no
72181 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
72182 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
72183 glibcxx_stylesheets=yes
72186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72187 $as_echo "$glibcxx_stylesheets" >&6; }
72189 else
72190 glibcxx_stylesheets=no
72193 # Check for epub3 dependencies.
72194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72195 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72196 glibcxx_epub_stylesheets=no
72197 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72198 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72199 glibcxx_epub_stylesheets=yes
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72203 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72204 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72205 BUILD_EPUB_TRUE=
72206 BUILD_EPUB_FALSE='#'
72207 else
72208 BUILD_EPUB_TRUE='#'
72209 BUILD_EPUB_FALSE=
72215 # Check for xml/html dependencies.
72216 if test $ac_cv_prog_DOXYGEN = "yes" &&
72217 test $ac_cv_prog_DOT = "yes" &&
72218 test $ac_cv_prog_XSLTPROC = "yes" &&
72219 test $ac_cv_prog_XMLLINT = "yes" &&
72220 test $glibcxx_stylesheets = "yes"; then
72221 BUILD_XML_TRUE=
72222 BUILD_XML_FALSE='#'
72223 else
72224 BUILD_XML_TRUE='#'
72225 BUILD_XML_FALSE=
72229 if test $ac_cv_prog_DOXYGEN = "yes" &&
72230 test $ac_cv_prog_DOT = "yes" &&
72231 test $ac_cv_prog_XSLTPROC = "yes" &&
72232 test $ac_cv_prog_XMLLINT = "yes" &&
72233 test $glibcxx_stylesheets = "yes"; then
72234 BUILD_HTML_TRUE=
72235 BUILD_HTML_FALSE='#'
72236 else
72237 BUILD_HTML_TRUE='#'
72238 BUILD_HTML_FALSE=
72242 # Check for man dependencies.
72243 if test $ac_cv_prog_DOXYGEN = "yes" &&
72244 test $ac_cv_prog_DOT = "yes"; then
72245 BUILD_MAN_TRUE=
72246 BUILD_MAN_FALSE='#'
72247 else
72248 BUILD_MAN_TRUE='#'
72249 BUILD_MAN_FALSE=
72253 # Check for pdf dependencies.
72254 # Extract the first word of "dblatex", so it can be a program name with args.
72255 set dummy dblatex; ac_word=$2
72256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72257 $as_echo_n "checking for $ac_word... " >&6; }
72258 if ${ac_cv_prog_DBLATEX+:} false; then :
72259 $as_echo_n "(cached) " >&6
72260 else
72261 if test -n "$DBLATEX"; then
72262 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72263 else
72264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72265 for as_dir in $PATH
72267 IFS=$as_save_IFS
72268 test -z "$as_dir" && as_dir=.
72269 for ac_exec_ext in '' $ac_executable_extensions; do
72270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72271 ac_cv_prog_DBLATEX="yes"
72272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72273 break 2
72275 done
72276 done
72277 IFS=$as_save_IFS
72279 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72282 DBLATEX=$ac_cv_prog_DBLATEX
72283 if test -n "$DBLATEX"; then
72284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72285 $as_echo "$DBLATEX" >&6; }
72286 else
72287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72288 $as_echo "no" >&6; }
72292 # Extract the first word of "pdflatex", so it can be a program name with args.
72293 set dummy pdflatex; ac_word=$2
72294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72295 $as_echo_n "checking for $ac_word... " >&6; }
72296 if ${ac_cv_prog_PDFLATEX+:} false; then :
72297 $as_echo_n "(cached) " >&6
72298 else
72299 if test -n "$PDFLATEX"; then
72300 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72301 else
72302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72303 for as_dir in $PATH
72305 IFS=$as_save_IFS
72306 test -z "$as_dir" && as_dir=.
72307 for ac_exec_ext in '' $ac_executable_extensions; do
72308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72309 ac_cv_prog_PDFLATEX="yes"
72310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72311 break 2
72313 done
72314 done
72315 IFS=$as_save_IFS
72317 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72320 PDFLATEX=$ac_cv_prog_PDFLATEX
72321 if test -n "$PDFLATEX"; then
72322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72323 $as_echo "$PDFLATEX" >&6; }
72324 else
72325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72326 $as_echo "no" >&6; }
72330 if test $ac_cv_prog_DOXYGEN = "yes" &&
72331 test $ac_cv_prog_DOT = "yes" &&
72332 test $ac_cv_prog_XSLTPROC = "yes" &&
72333 test $ac_cv_prog_XMLLINT = "yes" &&
72334 test $ac_cv_prog_DBLATEX = "yes" &&
72335 test $ac_cv_prog_PDFLATEX = "yes"; then
72336 BUILD_PDF_TRUE=
72337 BUILD_PDF_FALSE='#'
72338 else
72339 BUILD_PDF_TRUE='#'
72340 BUILD_PDF_FALSE=
72344 case "$build" in
72345 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72346 * ) glibcxx_include_dir_notparallel=no ;;
72347 esac
72348 if test $glibcxx_include_dir_notparallel = "yes"; then
72349 INCLUDE_DIR_NOTPARALLEL_TRUE=
72350 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72351 else
72352 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72353 INCLUDE_DIR_NOTPARALLEL_FALSE=
72357 # Propagate the target-specific source directories through the build chain.
72358 ATOMICITY_SRCDIR=config/${atomicity_dir}
72359 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72360 ATOMIC_FLAGS=${atomic_flags}
72361 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72362 OS_INC_SRCDIR=config/${os_include_dir}
72363 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72364 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72365 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72366 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72377 # Conditionalize the makefile for this target machine.
72378 tmake_file_=
72379 for f in ${tmake_file}
72381 if test -f ${srcdir}/config/$f
72382 then
72383 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72385 done
72386 tmake_file="${tmake_file_}"
72389 # Add CET specific flags if Intel CET is enabled.
72390 # Check whether --enable-cet was given.
72391 if test "${enable_cet+set}" = set; then :
72392 enableval=$enable_cet;
72393 case "$enableval" in
72394 yes|no|auto) ;;
72395 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72396 esac
72398 else
72399 enable_cet=auto
72403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72404 $as_echo_n "checking for CET support... " >&6; }
72406 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72407 case "$host" in
72408 i[34567]86-*-linux* | x86_64-*-linux*)
72409 case "$enable_cet" in
72410 auto)
72411 # Check if target supports multi-byte NOPs
72412 # and if compiler and assembler support CET insn.
72413 cet_save_CFLAGS="$CFLAGS"
72414 CFLAGS="$CFLAGS -fcf-protection"
72415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72416 /* end confdefs.h. */
72419 main ()
72422 #if !defined(__SSE2__)
72423 #error target does not support multi-byte NOPs
72424 #else
72425 asm ("setssbsy");
72426 #endif
72429 return 0;
72431 _ACEOF
72432 if ac_fn_c_try_compile "$LINENO"; then :
72433 enable_cet=yes
72434 else
72435 enable_cet=no
72437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72438 CFLAGS="$cet_save_CFLAGS"
72440 yes)
72441 # Check if assembler supports CET.
72442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72443 /* end confdefs.h. */
72446 main ()
72448 asm ("setssbsy");
72450 return 0;
72452 _ACEOF
72453 if ac_fn_c_try_compile "$LINENO"; then :
72455 else
72456 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72460 esac
72463 enable_cet=no
72465 esac
72466 if test x$enable_cet = xyes; then
72467 CET_FLAGS="-fcf-protection -mshstk"
72468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72469 $as_echo "yes" >&6; }
72470 else
72471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72472 $as_echo "no" >&6; }
72475 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72476 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72480 # Determine cross-compile flags and AM_CONDITIONALs.
72481 #AC_SUBST(GLIBCXX_IS_NATIVE)
72482 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72483 if test $is_hosted = yes; then
72484 GLIBCXX_HOSTED_TRUE=
72485 GLIBCXX_HOSTED_FALSE='#'
72486 else
72487 GLIBCXX_HOSTED_TRUE='#'
72488 GLIBCXX_HOSTED_FALSE=
72492 if test $enable_libstdcxx_pch = yes; then
72493 GLIBCXX_BUILD_PCH_TRUE=
72494 GLIBCXX_BUILD_PCH_FALSE='#'
72495 else
72496 GLIBCXX_BUILD_PCH_TRUE='#'
72497 GLIBCXX_BUILD_PCH_FALSE=
72501 if test $enable_float128 = yes; then
72502 ENABLE_FLOAT128_TRUE=
72503 ENABLE_FLOAT128_FALSE='#'
72504 else
72505 ENABLE_FLOAT128_TRUE='#'
72506 ENABLE_FLOAT128_FALSE=
72510 if test $enable_libstdcxx_allocator_flag = new; then
72511 ENABLE_ALLOCATOR_NEW_TRUE=
72512 ENABLE_ALLOCATOR_NEW_FALSE='#'
72513 else
72514 ENABLE_ALLOCATOR_NEW_TRUE='#'
72515 ENABLE_ALLOCATOR_NEW_FALSE=
72519 if test $enable_cheaders = c; then
72520 GLIBCXX_C_HEADERS_C_TRUE=
72521 GLIBCXX_C_HEADERS_C_FALSE='#'
72522 else
72523 GLIBCXX_C_HEADERS_C_TRUE='#'
72524 GLIBCXX_C_HEADERS_C_FALSE=
72528 if test $enable_cheaders = c_std; then
72529 GLIBCXX_C_HEADERS_C_STD_TRUE=
72530 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72531 else
72532 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72533 GLIBCXX_C_HEADERS_C_STD_FALSE=
72537 if test $enable_cheaders = c_global; then
72538 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72539 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72540 else
72541 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72542 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72546 if test $c_compatibility = yes; then
72547 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72548 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72549 else
72550 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72551 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72555 if test $enable_libstdcxx_debug = yes; then
72556 GLIBCXX_BUILD_DEBUG_TRUE=
72557 GLIBCXX_BUILD_DEBUG_FALSE='#'
72558 else
72559 GLIBCXX_BUILD_DEBUG_TRUE='#'
72560 GLIBCXX_BUILD_DEBUG_FALSE=
72564 if test $enable_extern_template = yes; then
72565 ENABLE_EXTERN_TEMPLATE_TRUE=
72566 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72567 else
72568 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72569 ENABLE_EXTERN_TEMPLATE_FALSE=
72573 if test $python_mod_dir != no; then
72574 ENABLE_PYTHONDIR_TRUE=
72575 ENABLE_PYTHONDIR_FALSE='#'
72576 else
72577 ENABLE_PYTHONDIR_TRUE='#'
72578 ENABLE_PYTHONDIR_FALSE=
72582 if test $enable_werror = yes; then
72583 ENABLE_WERROR_TRUE=
72584 ENABLE_WERROR_FALSE='#'
72585 else
72586 ENABLE_WERROR_TRUE='#'
72587 ENABLE_WERROR_FALSE=
72591 if test $enable_vtable_verify = yes; then
72592 ENABLE_VTABLE_VERIFY_TRUE=
72593 ENABLE_VTABLE_VERIFY_FALSE='#'
72594 else
72595 ENABLE_VTABLE_VERIFY_TRUE='#'
72596 ENABLE_VTABLE_VERIFY_FALSE=
72600 if test $enable_symvers != no; then
72601 ENABLE_SYMVERS_TRUE=
72602 ENABLE_SYMVERS_FALSE='#'
72603 else
72604 ENABLE_SYMVERS_TRUE='#'
72605 ENABLE_SYMVERS_FALSE=
72609 if test $enable_symvers = gnu; then
72610 ENABLE_SYMVERS_GNU_TRUE=
72611 ENABLE_SYMVERS_GNU_FALSE='#'
72612 else
72613 ENABLE_SYMVERS_GNU_TRUE='#'
72614 ENABLE_SYMVERS_GNU_FALSE=
72618 if test $enable_symvers = gnu-versioned-namespace; then
72619 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72620 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72621 else
72622 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72623 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72627 if test $enable_symvers = darwin; then
72628 ENABLE_SYMVERS_DARWIN_TRUE=
72629 ENABLE_SYMVERS_DARWIN_FALSE='#'
72630 else
72631 ENABLE_SYMVERS_DARWIN_TRUE='#'
72632 ENABLE_SYMVERS_DARWIN_FALSE=
72636 if test $enable_symvers = sun; then
72637 ENABLE_SYMVERS_SUN_TRUE=
72638 ENABLE_SYMVERS_SUN_FALSE='#'
72639 else
72640 ENABLE_SYMVERS_SUN_TRUE='#'
72641 ENABLE_SYMVERS_SUN_FALSE=
72645 if test $enable_libstdcxx_visibility = yes; then
72646 ENABLE_VISIBILITY_TRUE=
72647 ENABLE_VISIBILITY_FALSE='#'
72648 else
72649 ENABLE_VISIBILITY_TRUE='#'
72650 ENABLE_VISIBILITY_FALSE=
72654 if test $enable_libstdcxx_dual_abi = yes; then
72655 ENABLE_DUAL_ABI_TRUE=
72656 ENABLE_DUAL_ABI_FALSE='#'
72657 else
72658 ENABLE_DUAL_ABI_TRUE='#'
72659 ENABLE_DUAL_ABI_FALSE=
72663 if test $glibcxx_cxx11_abi = 1; then
72664 ENABLE_CXX11_ABI_TRUE=
72665 ENABLE_CXX11_ABI_FALSE='#'
72666 else
72667 ENABLE_CXX11_ABI_TRUE='#'
72668 ENABLE_CXX11_ABI_FALSE=
72672 if test $ac_ldbl_compat = yes; then
72673 GLIBCXX_LDBL_COMPAT_TRUE=
72674 GLIBCXX_LDBL_COMPAT_FALSE='#'
72675 else
72676 GLIBCXX_LDBL_COMPAT_TRUE='#'
72677 GLIBCXX_LDBL_COMPAT_FALSE=
72681 if test $ac_ldbl_alt128_compat = yes; then
72682 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
72683 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
72684 else
72685 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
72686 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
72690 if test $enable_libstdcxx_filesystem_ts = yes; then
72691 ENABLE_FILESYSTEM_TS_TRUE=
72692 ENABLE_FILESYSTEM_TS_FALSE='#'
72693 else
72694 ENABLE_FILESYSTEM_TS_TRUE='#'
72695 ENABLE_FILESYSTEM_TS_FALSE=
72699 if test "$enable_libstdcxx_backtrace" = yes; then
72700 ENABLE_BACKTRACE_TRUE=
72701 ENABLE_BACKTRACE_FALSE='#'
72702 else
72703 ENABLE_BACKTRACE_TRUE='#'
72704 ENABLE_BACKTRACE_FALSE=
72710 cat >confcache <<\_ACEOF
72711 # This file is a shell script that caches the results of configure
72712 # tests run on this system so they can be shared between configure
72713 # scripts and configure runs, see configure's option --config-cache.
72714 # It is not useful on other systems. If it contains results you don't
72715 # want to keep, you may remove or edit it.
72717 # config.status only pays attention to the cache file if you give it
72718 # the --recheck option to rerun configure.
72720 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72721 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72722 # following values.
72724 _ACEOF
72726 # The following way of writing the cache mishandles newlines in values,
72727 # but we know of no workaround that is simple, portable, and efficient.
72728 # So, we kill variables containing newlines.
72729 # Ultrix sh set writes to stderr and can't be redirected directly,
72730 # and sets the high bit in the cache file unless we assign to the vars.
72732 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72733 eval ac_val=\$$ac_var
72734 case $ac_val in #(
72735 *${as_nl}*)
72736 case $ac_var in #(
72737 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72738 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72739 esac
72740 case $ac_var in #(
72741 _ | IFS | as_nl) ;; #(
72742 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72743 *) { eval $ac_var=; unset $ac_var;} ;;
72744 esac ;;
72745 esac
72746 done
72748 (set) 2>&1 |
72749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72750 *${as_nl}ac_space=\ *)
72751 # `set' does not quote correctly, so add quotes: double-quote
72752 # substitution turns \\\\ into \\, and sed turns \\ into \.
72753 sed -n \
72754 "s/'/'\\\\''/g;
72755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72756 ;; #(
72758 # `set' quotes correctly as required by POSIX, so do not add quotes.
72759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72761 esac |
72762 sort
72764 sed '
72765 /^ac_cv_env_/b end
72766 t clear
72767 :clear
72768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72769 t end
72770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72771 :end' >>confcache
72772 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72773 if test -w "$cache_file"; then
72774 if test "x$cache_file" != "x/dev/null"; then
72775 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72776 $as_echo "$as_me: updating cache $cache_file" >&6;}
72777 if test ! -f "$cache_file" || test -h "$cache_file"; then
72778 cat confcache >"$cache_file"
72779 else
72780 case $cache_file in #(
72781 */* | ?:*)
72782 mv -f confcache "$cache_file"$$ &&
72783 mv -f "$cache_file"$$ "$cache_file" ;; #(
72785 mv -f confcache "$cache_file" ;;
72786 esac
72789 else
72790 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72791 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72794 rm -f confcache
72796 if test ${multilib} = yes; then
72797 multilib_arg="--enable-multilib"
72798 else
72799 multilib_arg=
72802 # Export all the install information.
72804 glibcxx_toolexecdir=no
72805 glibcxx_toolexeclibdir=no
72806 glibcxx_prefixdir=$prefix
72808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72809 $as_echo_n "checking for gxx-include-dir... " >&6; }
72811 # Check whether --with-gxx-include-dir was given.
72812 if test "${with_gxx_include_dir+set}" = set; then :
72813 withval=$with_gxx_include_dir; case "$withval" in
72814 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72815 no) gxx_include_dir=no ;;
72816 *) gxx_include_dir=$withval ;;
72817 esac
72818 else
72819 gxx_include_dir=no
72822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72823 $as_echo "$gxx_include_dir" >&6; }
72825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72826 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72827 # Check whether --enable-version-specific-runtime-libs was given.
72828 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72829 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72830 yes) version_specific_libs=yes ;;
72831 no) version_specific_libs=no ;;
72832 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72833 esac
72834 else
72835 version_specific_libs=no
72838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72839 $as_echo "$version_specific_libs" >&6; }
72842 # Check whether --with-toolexeclibdir was given.
72843 if test "${with_toolexeclibdir+set}" = set; then :
72844 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
72848 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
72850 esac
72851 else
72852 with_toolexeclibdir=no
72857 # Default case for install directory for include files.
72858 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72859 gxx_include_dir='include/c++/${gcc_version}'
72860 if test -n "$with_cross_host" &&
72861 test x"$with_cross_host" != x"no"; then
72862 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72863 else
72864 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72868 # Version-specific runtime libs processing.
72869 if test $version_specific_libs = yes; then
72870 # Need the gcc compiler version to know where to install libraries
72871 # and header files if --enable-version-specific-runtime-libs option
72872 # is selected. FIXME: these variables are misnamed, there are
72873 # no executables installed in _toolexecdir or _toolexeclibdir.
72874 if test x"$gxx_include_dir" = x"no"; then
72875 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
72877 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72878 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
72881 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
72882 # Install a library built with a cross compiler in tooldir, not libdir.
72883 if test x"$glibcxx_toolexecdir" = x"no"; then
72884 if test -n "$with_cross_host" &&
72885 test x"$with_cross_host" != x"no"; then
72886 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
72887 case ${with_toolexeclibdir} in
72889 glibcxx_toolexeclibdir='${toolexecdir}/lib'
72892 glibcxx_toolexeclibdir=${with_toolexeclibdir}
72894 esac
72895 else
72896 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
72897 glibcxx_toolexeclibdir='${libdir}'
72899 multi_os_directory=`$CXX -print-multi-os-directory`
72900 case $multi_os_directory in
72901 .) ;; # Avoid trailing /.
72902 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
72903 esac
72906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
72907 $as_echo_n "checking for install location... " >&6; }
72908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72909 $as_echo "$gxx_include_dir" >&6; }
72917 # Export all the include and flag information to Makefiles.
72919 # Used for every C++ compile we perform.
72920 GLIBCXX_INCLUDES="\
72921 -I$glibcxx_builddir/include/$host_alias \
72922 -I$glibcxx_builddir/include \
72923 -I$glibcxx_srcdir/libsupc++"
72925 # For Canadian crosses, pick this up too.
72926 if test $CANADIAN = yes; then
72927 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72930 # Stuff in the actual top level. Currently only used by libsupc++ to
72931 # get unwind* headers from the libgcc dir.
72932 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72933 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72935 # Now, export this to all the little Makefiles....
72940 # Optimization flags that are probably a good idea for thrill-seekers. Just
72941 # uncomment the lines below and make, everything else is ready to go...
72942 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72943 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72946 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
72950 # Determine what GCC version number to use in filesystem paths.
72952 get_gcc_base_ver="cat"
72954 # Check whether --with-gcc-major-version-only was given.
72955 if test "${with_gcc_major_version_only+set}" = set; then :
72956 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
72957 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
72965 ac_config_files="$ac_config_files Makefile"
72967 ac_config_files="$ac_config_files scripts/testsuite_flags"
72969 ac_config_files="$ac_config_files scripts/extract_symvers"
72971 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72973 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
72976 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72977 # that multilib installs will end up installed in the correct place.
72978 # The testsuite needs it for multilib-aware ABI baseline files.
72979 # To work around this not being passed down from config-ml.in ->
72980 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72981 # append it here. Only modify Makefiles that have just been created.
72983 # Also, get rid of this simulated-VPATH thing that automake does.
72984 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"
72987 ac_config_commands="$ac_config_commands generate-headers"
72990 cat >confcache <<\_ACEOF
72991 # This file is a shell script that caches the results of configure
72992 # tests run on this system so they can be shared between configure
72993 # scripts and configure runs, see configure's option --config-cache.
72994 # It is not useful on other systems. If it contains results you don't
72995 # want to keep, you may remove or edit it.
72997 # config.status only pays attention to the cache file if you give it
72998 # the --recheck option to rerun configure.
73000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73002 # following values.
73004 _ACEOF
73006 # The following way of writing the cache mishandles newlines in values,
73007 # but we know of no workaround that is simple, portable, and efficient.
73008 # So, we kill variables containing newlines.
73009 # Ultrix sh set writes to stderr and can't be redirected directly,
73010 # and sets the high bit in the cache file unless we assign to the vars.
73012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73013 eval ac_val=\$$ac_var
73014 case $ac_val in #(
73015 *${as_nl}*)
73016 case $ac_var in #(
73017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73019 esac
73020 case $ac_var in #(
73021 _ | IFS | as_nl) ;; #(
73022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73023 *) { eval $ac_var=; unset $ac_var;} ;;
73024 esac ;;
73025 esac
73026 done
73028 (set) 2>&1 |
73029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73030 *${as_nl}ac_space=\ *)
73031 # `set' does not quote correctly, so add quotes: double-quote
73032 # substitution turns \\\\ into \\, and sed turns \\ into \.
73033 sed -n \
73034 "s/'/'\\\\''/g;
73035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73036 ;; #(
73038 # `set' quotes correctly as required by POSIX, so do not add quotes.
73039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73041 esac |
73042 sort
73044 sed '
73045 /^ac_cv_env_/b end
73046 t clear
73047 :clear
73048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73049 t end
73050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73051 :end' >>confcache
73052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73053 if test -w "$cache_file"; then
73054 if test "x$cache_file" != "x/dev/null"; then
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73056 $as_echo "$as_me: updating cache $cache_file" >&6;}
73057 if test ! -f "$cache_file" || test -h "$cache_file"; then
73058 cat confcache >"$cache_file"
73059 else
73060 case $cache_file in #(
73061 */* | ?:*)
73062 mv -f confcache "$cache_file"$$ &&
73063 mv -f "$cache_file"$$ "$cache_file" ;; #(
73065 mv -f confcache "$cache_file" ;;
73066 esac
73069 else
73070 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73071 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73074 rm -f confcache
73076 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73077 # Let make expand exec_prefix.
73078 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73080 DEFS=-DHAVE_CONFIG_H
73082 ac_libobjs=
73083 ac_ltlibobjs=
73085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73086 # 1. Remove the extension, and $U if already installed.
73087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73088 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73090 # will be set to the directory where LIBOBJS objects are built.
73091 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73092 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73093 done
73094 LIBOBJS=$ac_libobjs
73096 LTLIBOBJS=$ac_ltlibobjs
73099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
73100 $as_echo_n "checking that generated files are newer than configure... " >&6; }
73101 if test -n "$am_sleep_pid"; then
73102 # Hide warnings about reused PIDs.
73103 wait $am_sleep_pid 2>/dev/null
73105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
73106 $as_echo "done" >&6; }
73107 if test -n "$EXEEXT"; then
73108 am__EXEEXT_TRUE=
73109 am__EXEEXT_FALSE='#'
73110 else
73111 am__EXEEXT_TRUE='#'
73112 am__EXEEXT_FALSE=
73115 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73116 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
73117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73119 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73120 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
73121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73123 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73124 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73127 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
73128 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
73129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73131 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
73132 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
73133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73135 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73136 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73139 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73140 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73143 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73144 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73147 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73148 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73151 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73152 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73155 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73156 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73159 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73160 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
73161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73163 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73164 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
73165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73167 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
73168 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
73169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73171 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73172 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73175 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73176 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
73177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73179 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73180 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73183 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73184 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73187 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73188 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73191 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73192 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73195 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73196 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
73197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73199 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
73200 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
73201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73203 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
73204 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
73205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73207 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73208 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73211 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
73212 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
73213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73215 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
73216 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
73217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73219 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
73220 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
73221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73223 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73224 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
73225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73227 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73228 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
73229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73231 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73232 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
73233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73235 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73236 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
73237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73239 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73240 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
73241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73243 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73244 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
73245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73247 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73248 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73252 : "${CONFIG_STATUS=./config.status}"
73253 ac_write_fail=0
73254 ac_clean_files_save=$ac_clean_files
73255 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73257 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73258 as_write_fail=0
73259 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73260 #! $SHELL
73261 # Generated by $as_me.
73262 # Run this file to recreate the current configuration.
73263 # Compiler output produced by configure, useful for debugging
73264 # configure, is in config.log if it exists.
73266 debug=false
73267 ac_cs_recheck=false
73268 ac_cs_silent=false
73270 SHELL=\${CONFIG_SHELL-$SHELL}
73271 export SHELL
73272 _ASEOF
73273 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73274 ## -------------------- ##
73275 ## M4sh Initialization. ##
73276 ## -------------------- ##
73278 # Be more Bourne compatible
73279 DUALCASE=1; export DUALCASE # for MKS sh
73280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73281 emulate sh
73282 NULLCMD=:
73283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73284 # is contrary to our usage. Disable this feature.
73285 alias -g '${1+"$@"}'='"$@"'
73286 setopt NO_GLOB_SUBST
73287 else
73288 case `(set -o) 2>/dev/null` in #(
73289 *posix*) :
73290 set -o posix ;; #(
73291 *) :
73293 esac
73297 as_nl='
73299 export as_nl
73300 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73301 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73302 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73303 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73304 # Prefer a ksh shell builtin over an external printf program on Solaris,
73305 # but without wasting forks for bash or zsh.
73306 if test -z "$BASH_VERSION$ZSH_VERSION" \
73307 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73308 as_echo='print -r --'
73309 as_echo_n='print -rn --'
73310 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73311 as_echo='printf %s\n'
73312 as_echo_n='printf %s'
73313 else
73314 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73315 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73316 as_echo_n='/usr/ucb/echo -n'
73317 else
73318 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73319 as_echo_n_body='eval
73320 arg=$1;
73321 case $arg in #(
73322 *"$as_nl"*)
73323 expr "X$arg" : "X\\(.*\\)$as_nl";
73324 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73325 esac;
73326 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73328 export as_echo_n_body
73329 as_echo_n='sh -c $as_echo_n_body as_echo'
73331 export as_echo_body
73332 as_echo='sh -c $as_echo_body as_echo'
73335 # The user is always right.
73336 if test "${PATH_SEPARATOR+set}" != set; then
73337 PATH_SEPARATOR=:
73338 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73339 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73340 PATH_SEPARATOR=';'
73345 # IFS
73346 # We need space, tab and new line, in precisely that order. Quoting is
73347 # there to prevent editors from complaining about space-tab.
73348 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73349 # splitting by setting IFS to empty value.)
73350 IFS=" "" $as_nl"
73352 # Find who we are. Look in the path if we contain no directory separator.
73353 as_myself=
73354 case $0 in #((
73355 *[\\/]* ) as_myself=$0 ;;
73356 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73357 for as_dir in $PATH
73359 IFS=$as_save_IFS
73360 test -z "$as_dir" && as_dir=.
73361 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73362 done
73363 IFS=$as_save_IFS
73366 esac
73367 # We did not find ourselves, most probably we were run as `sh COMMAND'
73368 # in which case we are not to be found in the path.
73369 if test "x$as_myself" = x; then
73370 as_myself=$0
73372 if test ! -f "$as_myself"; then
73373 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73374 exit 1
73377 # Unset variables that we do not need and which cause bugs (e.g. in
73378 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73379 # suppresses any "Segmentation fault" message there. '((' could
73380 # trigger a bug in pdksh 5.2.14.
73381 for as_var in BASH_ENV ENV MAIL MAILPATH
73382 do eval test x\${$as_var+set} = xset \
73383 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73384 done
73385 PS1='$ '
73386 PS2='> '
73387 PS4='+ '
73389 # NLS nuisances.
73390 LC_ALL=C
73391 export LC_ALL
73392 LANGUAGE=C
73393 export LANGUAGE
73395 # CDPATH.
73396 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73399 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73400 # ----------------------------------------
73401 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73402 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73403 # script with STATUS, using 1 if that was 0.
73404 as_fn_error ()
73406 as_status=$1; test $as_status -eq 0 && as_status=1
73407 if test "$4"; then
73408 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73409 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73411 $as_echo "$as_me: error: $2" >&2
73412 as_fn_exit $as_status
73413 } # as_fn_error
73416 # as_fn_set_status STATUS
73417 # -----------------------
73418 # Set $? to STATUS, without forking.
73419 as_fn_set_status ()
73421 return $1
73422 } # as_fn_set_status
73424 # as_fn_exit STATUS
73425 # -----------------
73426 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73427 as_fn_exit ()
73429 set +e
73430 as_fn_set_status $1
73431 exit $1
73432 } # as_fn_exit
73434 # as_fn_unset VAR
73435 # ---------------
73436 # Portably unset VAR.
73437 as_fn_unset ()
73439 { eval $1=; unset $1;}
73441 as_unset=as_fn_unset
73442 # as_fn_append VAR VALUE
73443 # ----------------------
73444 # Append the text in VALUE to the end of the definition contained in VAR. Take
73445 # advantage of any shell optimizations that allow amortized linear growth over
73446 # repeated appends, instead of the typical quadratic growth present in naive
73447 # implementations.
73448 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73449 eval 'as_fn_append ()
73451 eval $1+=\$2
73453 else
73454 as_fn_append ()
73456 eval $1=\$$1\$2
73458 fi # as_fn_append
73460 # as_fn_arith ARG...
73461 # ------------------
73462 # Perform arithmetic evaluation on the ARGs, and store the result in the
73463 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73464 # must be portable across $(()) and expr.
73465 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73466 eval 'as_fn_arith ()
73468 as_val=$(( $* ))
73470 else
73471 as_fn_arith ()
73473 as_val=`expr "$@" || test $? -eq 1`
73475 fi # as_fn_arith
73478 if expr a : '\(a\)' >/dev/null 2>&1 &&
73479 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73480 as_expr=expr
73481 else
73482 as_expr=false
73485 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73486 as_basename=basename
73487 else
73488 as_basename=false
73491 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73492 as_dirname=dirname
73493 else
73494 as_dirname=false
73497 as_me=`$as_basename -- "$0" ||
73498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73499 X"$0" : 'X\(//\)$' \| \
73500 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73501 $as_echo X/"$0" |
73502 sed '/^.*\/\([^/][^/]*\)\/*$/{
73503 s//\1/
73506 /^X\/\(\/\/\)$/{
73507 s//\1/
73510 /^X\/\(\/\).*/{
73511 s//\1/
73514 s/.*/./; q'`
73516 # Avoid depending upon Character Ranges.
73517 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73518 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73519 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73520 as_cr_digits='0123456789'
73521 as_cr_alnum=$as_cr_Letters$as_cr_digits
73523 ECHO_C= ECHO_N= ECHO_T=
73524 case `echo -n x` in #(((((
73525 -n*)
73526 case `echo 'xy\c'` in
73527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73528 xy) ECHO_C='\c';;
73529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73530 ECHO_T=' ';;
73531 esac;;
73533 ECHO_N='-n';;
73534 esac
73536 rm -f conf$$ conf$$.exe conf$$.file
73537 if test -d conf$$.dir; then
73538 rm -f conf$$.dir/conf$$.file
73539 else
73540 rm -f conf$$.dir
73541 mkdir conf$$.dir 2>/dev/null
73543 if (echo >conf$$.file) 2>/dev/null; then
73544 if ln -s conf$$.file conf$$ 2>/dev/null; then
73545 as_ln_s='ln -s'
73546 # ... but there are two gotchas:
73547 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73548 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73549 # In both cases, we have to default to `cp -pR'.
73550 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73551 as_ln_s='cp -pR'
73552 elif ln conf$$.file conf$$ 2>/dev/null; then
73553 as_ln_s=ln
73554 else
73555 as_ln_s='cp -pR'
73557 else
73558 as_ln_s='cp -pR'
73560 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73561 rmdir conf$$.dir 2>/dev/null
73564 # as_fn_mkdir_p
73565 # -------------
73566 # Create "$as_dir" as a directory, including parents if necessary.
73567 as_fn_mkdir_p ()
73570 case $as_dir in #(
73571 -*) as_dir=./$as_dir;;
73572 esac
73573 test -d "$as_dir" || eval $as_mkdir_p || {
73574 as_dirs=
73575 while :; do
73576 case $as_dir in #(
73577 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73578 *) as_qdir=$as_dir;;
73579 esac
73580 as_dirs="'$as_qdir' $as_dirs"
73581 as_dir=`$as_dirname -- "$as_dir" ||
73582 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73583 X"$as_dir" : 'X\(//\)[^/]' \| \
73584 X"$as_dir" : 'X\(//\)$' \| \
73585 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73586 $as_echo X"$as_dir" |
73587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73588 s//\1/
73591 /^X\(\/\/\)[^/].*/{
73592 s//\1/
73595 /^X\(\/\/\)$/{
73596 s//\1/
73599 /^X\(\/\).*/{
73600 s//\1/
73603 s/.*/./; q'`
73604 test -d "$as_dir" && break
73605 done
73606 test -z "$as_dirs" || eval "mkdir $as_dirs"
73607 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
73610 } # as_fn_mkdir_p
73611 if mkdir -p . 2>/dev/null; then
73612 as_mkdir_p='mkdir -p "$as_dir"'
73613 else
73614 test -d ./-p && rmdir ./-p
73615 as_mkdir_p=false
73619 # as_fn_executable_p FILE
73620 # -----------------------
73621 # Test if FILE is an executable regular file.
73622 as_fn_executable_p ()
73624 test -f "$1" && test -x "$1"
73625 } # as_fn_executable_p
73626 as_test_x='test -x'
73627 as_executable_p=as_fn_executable_p
73629 # Sed expression to map a string onto a valid CPP name.
73630 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73632 # Sed expression to map a string onto a valid variable name.
73633 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73636 exec 6>&1
73637 ## ----------------------------------- ##
73638 ## Main body of $CONFIG_STATUS script. ##
73639 ## ----------------------------------- ##
73640 _ASEOF
73641 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73644 # Save the log message, to keep $0 and so on meaningful, and to
73645 # report actual input values of CONFIG_FILES etc. instead of their
73646 # values after options handling.
73647 ac_log="
73648 This file was extended by package-unused $as_me version-unused, which was
73649 generated by GNU Autoconf 2.69. Invocation command line was
73651 CONFIG_FILES = $CONFIG_FILES
73652 CONFIG_HEADERS = $CONFIG_HEADERS
73653 CONFIG_LINKS = $CONFIG_LINKS
73654 CONFIG_COMMANDS = $CONFIG_COMMANDS
73655 $ $0 $@
73657 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73660 _ACEOF
73662 case $ac_config_files in *"
73663 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73664 esac
73666 case $ac_config_headers in *"
73667 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73668 esac
73671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73672 # Files that config.status was made for.
73673 config_files="$ac_config_files"
73674 config_headers="$ac_config_headers"
73675 config_commands="$ac_config_commands"
73677 _ACEOF
73679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73680 ac_cs_usage="\
73681 \`$as_me' instantiates files and other configuration actions
73682 from templates according to the current configuration. Unless the files
73683 and actions are specified as TAGs, all are instantiated by default.
73685 Usage: $0 [OPTION]... [TAG]...
73687 -h, --help print this help, then exit
73688 -V, --version print version number and configuration settings, then exit
73689 --config print configuration, then exit
73690 -q, --quiet, --silent
73691 do not print progress messages
73692 -d, --debug don't remove temporary files
73693 --recheck update $as_me by reconfiguring in the same conditions
73694 --file=FILE[:TEMPLATE]
73695 instantiate the configuration file FILE
73696 --header=FILE[:TEMPLATE]
73697 instantiate the configuration header FILE
73699 Configuration files:
73700 $config_files
73702 Configuration headers:
73703 $config_headers
73705 Configuration commands:
73706 $config_commands
73708 Report bugs to the package provider."
73710 _ACEOF
73711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73712 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
73713 ac_cs_version="\\
73714 package-unused config.status version-unused
73715 configured by $0, generated by GNU Autoconf 2.69,
73716 with options \\"\$ac_cs_config\\"
73718 Copyright (C) 2012 Free Software Foundation, Inc.
73719 This config.status script is free software; the Free Software Foundation
73720 gives unlimited permission to copy, distribute and modify it."
73722 ac_pwd='$ac_pwd'
73723 srcdir='$srcdir'
73724 INSTALL='$INSTALL'
73725 MKDIR_P='$MKDIR_P'
73726 AWK='$AWK'
73727 test -n "\$AWK" || AWK=awk
73728 _ACEOF
73730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73731 # The default lists apply if the user does not specify any file.
73732 ac_need_defaults=:
73733 while test $# != 0
73735 case $1 in
73736 --*=?*)
73737 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73738 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73739 ac_shift=:
73741 --*=)
73742 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73743 ac_optarg=
73744 ac_shift=:
73747 ac_option=$1
73748 ac_optarg=$2
73749 ac_shift=shift
73751 esac
73753 case $ac_option in
73754 # Handling of the options.
73755 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73756 ac_cs_recheck=: ;;
73757 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73758 $as_echo "$ac_cs_version"; exit ;;
73759 --config | --confi | --conf | --con | --co | --c )
73760 $as_echo "$ac_cs_config"; exit ;;
73761 --debug | --debu | --deb | --de | --d | -d )
73762 debug=: ;;
73763 --file | --fil | --fi | --f )
73764 $ac_shift
73765 case $ac_optarg in
73766 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73767 '') as_fn_error $? "missing file argument" ;;
73768 esac
73769 as_fn_append CONFIG_FILES " '$ac_optarg'"
73770 ac_need_defaults=false;;
73771 --header | --heade | --head | --hea )
73772 $ac_shift
73773 case $ac_optarg in
73774 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73775 esac
73776 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73777 ac_need_defaults=false;;
73778 --he | --h)
73779 # Conflict between --help and --header
73780 as_fn_error $? "ambiguous option: \`$1'
73781 Try \`$0 --help' for more information.";;
73782 --help | --hel | -h )
73783 $as_echo "$ac_cs_usage"; exit ;;
73784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73785 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73786 ac_cs_silent=: ;;
73788 # This is an error.
73789 -*) as_fn_error $? "unrecognized option: \`$1'
73790 Try \`$0 --help' for more information." ;;
73792 *) as_fn_append ac_config_targets " $1"
73793 ac_need_defaults=false ;;
73795 esac
73796 shift
73797 done
73799 ac_configure_extra_args=
73801 if $ac_cs_silent; then
73802 exec 6>/dev/null
73803 ac_configure_extra_args="$ac_configure_extra_args --silent"
73806 _ACEOF
73807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73808 if \$ac_cs_recheck; then
73809 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73810 shift
73811 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73812 CONFIG_SHELL='$SHELL'
73813 export CONFIG_SHELL
73814 exec "\$@"
73817 _ACEOF
73818 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73819 exec 5>>config.log
73821 echo
73822 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73823 ## Running $as_me. ##
73824 _ASBOX
73825 $as_echo "$ac_log"
73826 } >&5
73828 _ACEOF
73829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73831 # INIT-COMMANDS
73834 srcdir="$srcdir"
73835 host="$host"
73836 target="$target"
73837 with_multisubdir="$with_multisubdir"
73838 with_multisrctop="$with_multisrctop"
73839 with_target_subdir="$with_target_subdir"
73840 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73841 multi_basedir="$multi_basedir"
73842 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73843 CC="$CC"
73844 CXX="$CXX"
73845 GFORTRAN="$GFORTRAN"
73846 GDC="$GDC"
73849 # The HP-UX ksh and POSIX shell print the target directory to stdout
73850 # if CDPATH is set.
73851 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73853 sed_quote_subst='$sed_quote_subst'
73854 double_quote_subst='$double_quote_subst'
73855 delay_variable_subst='$delay_variable_subst'
73856 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73857 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73858 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73859 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73860 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73861 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73862 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73863 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73864 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73865 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73866 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73867 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73868 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73869 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73870 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73871 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73872 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73873 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73874 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73875 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73876 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73877 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73878 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73879 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73880 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73881 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73882 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73883 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73884 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73885 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73886 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73887 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73888 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73889 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73890 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73891 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73892 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73893 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73894 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73895 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73896 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73897 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73898 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73899 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73900 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73901 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73902 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73903 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73904 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"`'
73905 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73906 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73907 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73908 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73909 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73910 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73911 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73912 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73913 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73914 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73915 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73916 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73917 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73918 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73919 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73920 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73921 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73922 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73923 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73924 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73925 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73926 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73927 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73928 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73929 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73930 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73931 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73932 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73933 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73934 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73935 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73936 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73937 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73938 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73939 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73940 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73941 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73942 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73943 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73944 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73945 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73946 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73947 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73948 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
73949 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
73950 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
73951 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
73952 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
73953 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
73954 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
73955 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
73956 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
73957 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
73958 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
73959 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
73960 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
73961 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
73962 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
73963 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73964 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73965 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
73966 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
73967 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
73968 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
73969 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
73970 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
73971 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
73972 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
73973 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
73974 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
73975 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
73976 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
73977 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
73978 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
73979 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
73980 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
73981 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
73982 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
73983 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
73984 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73985 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73986 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
73987 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
73988 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
73989 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73990 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73991 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73992 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73993 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73994 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73995 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73996 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73997 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73998 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73999 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74000 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74001 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74002 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74003 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74004 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74005 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74006 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74007 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74008 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74009 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74010 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74011 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74012 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74013 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74014 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74015 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74016 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74017 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74018 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74019 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74020 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74021 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74022 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74023 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74024 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74025 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74026 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74027 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74028 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74029 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74030 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74032 LTCC='$LTCC'
74033 LTCFLAGS='$LTCFLAGS'
74034 compiler='$compiler_DEFAULT'
74036 # A function that is used when there is no print builtin or printf.
74037 func_fallback_echo ()
74039 eval 'cat <<_LTECHO_EOF
74041 _LTECHO_EOF'
74044 # Quote evaled strings.
74045 for var in SHELL \
74046 ECHO \
74047 SED \
74048 GREP \
74049 EGREP \
74050 FGREP \
74051 LD \
74052 NM \
74053 LN_S \
74054 lt_SP2NL \
74055 lt_NL2SP \
74056 reload_flag \
74057 OBJDUMP \
74058 deplibs_check_method \
74059 file_magic_cmd \
74060 AR \
74061 AR_FLAGS \
74062 STRIP \
74063 RANLIB \
74064 CC \
74065 CFLAGS \
74066 compiler \
74067 lt_cv_sys_global_symbol_pipe \
74068 lt_cv_sys_global_symbol_to_cdecl \
74069 lt_cv_sys_global_symbol_to_c_name_address \
74070 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74071 lt_prog_compiler_no_builtin_flag \
74072 lt_prog_compiler_wl \
74073 lt_prog_compiler_pic \
74074 lt_prog_compiler_static \
74075 lt_cv_prog_compiler_c_o \
74076 need_locks \
74077 DSYMUTIL \
74078 NMEDIT \
74079 LIPO \
74080 OTOOL \
74081 OTOOL64 \
74082 shrext_cmds \
74083 export_dynamic_flag_spec \
74084 whole_archive_flag_spec \
74085 compiler_needs_object \
74086 with_gnu_ld \
74087 allow_undefined_flag \
74088 no_undefined_flag \
74089 hardcode_libdir_flag_spec \
74090 hardcode_libdir_flag_spec_ld \
74091 hardcode_libdir_separator \
74092 fix_srcfile_path \
74093 exclude_expsyms \
74094 include_expsyms \
74095 file_list_spec \
74096 variables_saved_for_relink \
74097 libname_spec \
74098 library_names_spec \
74099 soname_spec \
74100 install_override_mode \
74101 finish_eval \
74102 old_striplib \
74103 striplib \
74104 compiler_lib_search_dirs \
74105 predep_objects \
74106 postdep_objects \
74107 predeps \
74108 postdeps \
74109 compiler_lib_search_path \
74110 LD_CXX \
74111 reload_flag_CXX \
74112 compiler_CXX \
74113 lt_prog_compiler_no_builtin_flag_CXX \
74114 lt_prog_compiler_wl_CXX \
74115 lt_prog_compiler_pic_CXX \
74116 lt_prog_compiler_static_CXX \
74117 lt_cv_prog_compiler_c_o_CXX \
74118 export_dynamic_flag_spec_CXX \
74119 whole_archive_flag_spec_CXX \
74120 compiler_needs_object_CXX \
74121 with_gnu_ld_CXX \
74122 allow_undefined_flag_CXX \
74123 no_undefined_flag_CXX \
74124 hardcode_libdir_flag_spec_CXX \
74125 hardcode_libdir_flag_spec_ld_CXX \
74126 hardcode_libdir_separator_CXX \
74127 fix_srcfile_path_CXX \
74128 exclude_expsyms_CXX \
74129 include_expsyms_CXX \
74130 file_list_spec_CXX \
74131 compiler_lib_search_dirs_CXX \
74132 predep_objects_CXX \
74133 postdep_objects_CXX \
74134 predeps_CXX \
74135 postdeps_CXX \
74136 compiler_lib_search_path_CXX; do
74137 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74138 *[\\\\\\\`\\"\\\$]*)
74139 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74142 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74144 esac
74145 done
74147 # Double-quote double-evaled strings.
74148 for var in reload_cmds \
74149 old_postinstall_cmds \
74150 old_postuninstall_cmds \
74151 old_archive_cmds \
74152 extract_expsyms_cmds \
74153 old_archive_from_new_cmds \
74154 old_archive_from_expsyms_cmds \
74155 archive_cmds \
74156 archive_expsym_cmds \
74157 module_cmds \
74158 module_expsym_cmds \
74159 export_symbols_cmds \
74160 prelink_cmds \
74161 postinstall_cmds \
74162 postuninstall_cmds \
74163 finish_cmds \
74164 sys_lib_search_path_spec \
74165 sys_lib_dlsearch_path_spec \
74166 reload_cmds_CXX \
74167 old_archive_cmds_CXX \
74168 old_archive_from_new_cmds_CXX \
74169 old_archive_from_expsyms_cmds_CXX \
74170 archive_cmds_CXX \
74171 archive_expsym_cmds_CXX \
74172 module_cmds_CXX \
74173 module_expsym_cmds_CXX \
74174 export_symbols_cmds_CXX \
74175 prelink_cmds_CXX; do
74176 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74177 *[\\\\\\\`\\"\\\$]*)
74178 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74181 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74183 esac
74184 done
74186 ac_aux_dir='$ac_aux_dir'
74187 xsi_shell='$xsi_shell'
74188 lt_shell_append='$lt_shell_append'
74190 # See if we are running on zsh, and set the options which allow our
74191 # commands through without removal of \ escapes INIT.
74192 if test -n "\${ZSH_VERSION+set}" ; then
74193 setopt NO_GLOB_SUBST
74197 PACKAGE='$PACKAGE'
74198 VERSION='$VERSION'
74199 TIMESTAMP='$TIMESTAMP'
74200 RM='$RM'
74201 ofile='$ofile'
74208 GCC="$GCC"
74209 CC="$CC"
74210 acx_cv_header_stdint="$acx_cv_header_stdint"
74211 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74212 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74213 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74214 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74215 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74216 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74217 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74218 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74219 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74220 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74221 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74222 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74223 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74226 _ACEOF
74228 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74230 # Handling of arguments.
74231 for ac_config_target in $ac_config_targets
74233 case $ac_config_target in
74234 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74235 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74236 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74237 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74238 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74239 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74240 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74241 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74242 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
74243 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74244 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74245 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74246 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74247 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74248 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
74249 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
74250 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
74251 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
74252 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74253 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74254 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74255 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74256 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74258 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74259 esac
74260 done
74263 # If the user did not use the arguments to specify the items to instantiate,
74264 # then the envvar interface is used. Set only those that are not.
74265 # We use the long form for the default assignment because of an extremely
74266 # bizarre bug on SunOS 4.1.3.
74267 if $ac_need_defaults; then
74268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74270 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74273 # Have a temporary directory for convenience. Make it in the build tree
74274 # simply because there is no reason against having it here, and in addition,
74275 # creating and moving files from /tmp can sometimes cause problems.
74276 # Hook for its removal unless debugging.
74277 # Note that there is a small window in which the directory will not be cleaned:
74278 # after its creation but before its name has been assigned to `$tmp'.
74279 $debug ||
74281 tmp= ac_tmp=
74282 trap 'exit_status=$?
74283 : "${ac_tmp:=$tmp}"
74284 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74286 trap 'as_fn_exit 1' 1 2 13 15
74288 # Create a (secure) tmp directory for tmp files.
74291 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74292 test -d "$tmp"
74293 } ||
74295 tmp=./conf$$-$RANDOM
74296 (umask 077 && mkdir "$tmp")
74297 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74298 ac_tmp=$tmp
74300 # Set up the scripts for CONFIG_FILES section.
74301 # No need to generate them if there are no CONFIG_FILES.
74302 # This happens for instance with `./config.status config.h'.
74303 if test -n "$CONFIG_FILES"; then
74306 ac_cr=`echo X | tr X '\015'`
74307 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74308 # But we know of no other shell where ac_cr would be empty at this
74309 # point, so we can use a bashism as a fallback.
74310 if test "x$ac_cr" = x; then
74311 eval ac_cr=\$\'\\r\'
74313 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74314 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74315 ac_cs_awk_cr='\\r'
74316 else
74317 ac_cs_awk_cr=$ac_cr
74320 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74321 _ACEOF
74325 echo "cat >conf$$subs.awk <<_ACEOF" &&
74326 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74327 echo "_ACEOF"
74328 } >conf$$subs.sh ||
74329 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74330 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74331 ac_delim='%!_!# '
74332 for ac_last_try in false false false false false :; do
74333 . ./conf$$subs.sh ||
74334 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74336 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74337 if test $ac_delim_n = $ac_delim_num; then
74338 break
74339 elif $ac_last_try; then
74340 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74341 else
74342 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74344 done
74345 rm -f conf$$subs.sh
74347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74348 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74349 _ACEOF
74350 sed -n '
74352 s/^/S["/; s/!.*/"]=/
74355 s/^[^!]*!//
74356 :repl
74357 t repl
74358 s/'"$ac_delim"'$//
74359 t delim
74362 s/\(.\{148\}\)..*/\1/
74363 t more1
74364 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74367 b repl
74368 :more1
74369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74372 s/.\{148\}//
74373 t nl
74374 :delim
74376 s/\(.\{148\}\)..*/\1/
74377 t more2
74378 s/["\\]/\\&/g; s/^/"/; s/$/"/
74381 :more2
74382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74385 s/.\{148\}//
74386 t delim
74387 ' <conf$$subs.awk | sed '
74388 /^[^""]/{
74390 s/\n//
74392 ' >>$CONFIG_STATUS || ac_write_fail=1
74393 rm -f conf$$subs.awk
74394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74395 _ACAWK
74396 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74397 for (key in S) S_is_set[key] = 1
74398 FS = "\a"
74402 line = $ 0
74403 nfields = split(line, field, "@")
74404 substed = 0
74405 len = length(field[1])
74406 for (i = 2; i < nfields; i++) {
74407 key = field[i]
74408 keylen = length(key)
74409 if (S_is_set[key]) {
74410 value = S[key]
74411 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74412 len += length(value) + length(field[++i])
74413 substed = 1
74414 } else
74415 len += 1 + keylen
74418 print line
74421 _ACAWK
74422 _ACEOF
74423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74424 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74425 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74426 else
74428 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74429 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74430 _ACEOF
74432 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74433 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74434 # trailing colons and then remove the whole line if VPATH becomes empty
74435 # (actually we leave an empty line to preserve line numbers).
74436 if test "x$srcdir" = x.; then
74437 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
74439 s///
74440 s/^/:/
74441 s/[ ]*$/:/
74442 s/:\$(srcdir):/:/g
74443 s/:\${srcdir}:/:/g
74444 s/:@srcdir@:/:/g
74445 s/^:*//
74446 s/:*$//
74448 s/\(=[ ]*\).*/\1/
74450 s/\n//
74451 s/^[^=]*=[ ]*$//
74455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74456 fi # test -n "$CONFIG_FILES"
74458 # Set up the scripts for CONFIG_HEADERS section.
74459 # No need to generate them if there are no CONFIG_HEADERS.
74460 # This happens for instance with `./config.status Makefile'.
74461 if test -n "$CONFIG_HEADERS"; then
74462 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74463 BEGIN {
74464 _ACEOF
74466 # Transform confdefs.h into an awk script `defines.awk', embedded as
74467 # here-document in config.status, that substitutes the proper values into
74468 # config.h.in to produce config.h.
74470 # Create a delimiter string that does not exist in confdefs.h, to ease
74471 # handling of long lines.
74472 ac_delim='%!_!# '
74473 for ac_last_try in false false :; do
74474 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74475 if test -z "$ac_tt"; then
74476 break
74477 elif $ac_last_try; then
74478 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74479 else
74480 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74482 done
74484 # For the awk script, D is an array of macro values keyed by name,
74485 # likewise P contains macro parameters if any. Preserve backslash
74486 # newline sequences.
74488 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74489 sed -n '
74490 s/.\{148\}/&'"$ac_delim"'/g
74491 t rset
74492 :rset
74493 s/^[ ]*#[ ]*define[ ][ ]*/ /
74494 t def
74496 :def
74497 s/\\$//
74498 t bsnl
74499 s/["\\]/\\&/g
74500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74501 D["\1"]=" \3"/p
74502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74504 :bsnl
74505 s/["\\]/\\&/g
74506 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74507 D["\1"]=" \3\\\\\\n"\\/p
74508 t cont
74509 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74510 t cont
74512 :cont
74514 s/.\{148\}/&'"$ac_delim"'/g
74515 t clear
74516 :clear
74517 s/\\$//
74518 t bsnlc
74519 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74521 :bsnlc
74522 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74523 b cont
74524 ' <confdefs.h | sed '
74525 s/'"$ac_delim"'/"\\\
74526 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74529 for (key in D) D_is_set[key] = 1
74530 FS = "\a"
74532 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74533 line = \$ 0
74534 split(line, arg, " ")
74535 if (arg[1] == "#") {
74536 defundef = arg[2]
74537 mac1 = arg[3]
74538 } else {
74539 defundef = substr(arg[1], 2)
74540 mac1 = arg[2]
74542 split(mac1, mac2, "(") #)
74543 macro = mac2[1]
74544 prefix = substr(line, 1, index(line, defundef) - 1)
74545 if (D_is_set[macro]) {
74546 # Preserve the white space surrounding the "#".
74547 print prefix "define", macro P[macro] D[macro]
74548 next
74549 } else {
74550 # Replace #undef with comments. This is necessary, for example,
74551 # in the case of _POSIX_SOURCE, which is predefined and required
74552 # on some systems where configure will not decide to define it.
74553 if (defundef == "undef") {
74554 print "/*", prefix defundef, macro, "*/"
74555 next
74559 { print }
74560 _ACAWK
74561 _ACEOF
74562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74563 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
74564 fi # test -n "$CONFIG_HEADERS"
74567 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74568 shift
74569 for ac_tag
74571 case $ac_tag in
74572 :[FHLC]) ac_mode=$ac_tag; continue;;
74573 esac
74574 case $ac_mode$ac_tag in
74575 :[FHL]*:*);;
74576 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
74577 :[FH]-) ac_tag=-:-;;
74578 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74579 esac
74580 ac_save_IFS=$IFS
74581 IFS=:
74582 set x $ac_tag
74583 IFS=$ac_save_IFS
74584 shift
74585 ac_file=$1
74586 shift
74588 case $ac_mode in
74589 :L) ac_source=$1;;
74590 :[FH])
74591 ac_file_inputs=
74592 for ac_f
74594 case $ac_f in
74595 -) ac_f="$ac_tmp/stdin";;
74596 *) # Look for the file first in the build tree, then in the source tree
74597 # (if the path is not absolute). The absolute path cannot be DOS-style,
74598 # because $ac_f cannot contain `:'.
74599 test -f "$ac_f" ||
74600 case $ac_f in
74601 [\\/$]*) false;;
74602 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74603 esac ||
74604 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74605 esac
74606 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74607 as_fn_append ac_file_inputs " '$ac_f'"
74608 done
74610 # Let's still pretend it is `configure' which instantiates (i.e., don't
74611 # use $as_me), people would be surprised to read:
74612 # /* config.h. Generated by config.status. */
74613 configure_input='Generated from '`
74614 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74615 `' by configure.'
74616 if test x"$ac_file" != x-; then
74617 configure_input="$ac_file. $configure_input"
74618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74619 $as_echo "$as_me: creating $ac_file" >&6;}
74621 # Neutralize special characters interpreted by sed in replacement strings.
74622 case $configure_input in #(
74623 *\&* | *\|* | *\\* )
74624 ac_sed_conf_input=`$as_echo "$configure_input" |
74625 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74626 *) ac_sed_conf_input=$configure_input;;
74627 esac
74629 case $ac_tag in
74630 *:-:* | *:-) cat >"$ac_tmp/stdin" \
74631 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
74632 esac
74634 esac
74636 ac_dir=`$as_dirname -- "$ac_file" ||
74637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74638 X"$ac_file" : 'X\(//\)[^/]' \| \
74639 X"$ac_file" : 'X\(//\)$' \| \
74640 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74641 $as_echo X"$ac_file" |
74642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74643 s//\1/
74646 /^X\(\/\/\)[^/].*/{
74647 s//\1/
74650 /^X\(\/\/\)$/{
74651 s//\1/
74654 /^X\(\/\).*/{
74655 s//\1/
74658 s/.*/./; q'`
74659 as_dir="$ac_dir"; as_fn_mkdir_p
74660 ac_builddir=.
74662 case "$ac_dir" in
74663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74666 # A ".." for each directory in $ac_dir_suffix.
74667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74668 case $ac_top_builddir_sub in
74669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74671 esac ;;
74672 esac
74673 ac_abs_top_builddir=$ac_pwd
74674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74675 # for backward compatibility:
74676 ac_top_builddir=$ac_top_build_prefix
74678 case $srcdir in
74679 .) # We are building in place.
74680 ac_srcdir=.
74681 ac_top_srcdir=$ac_top_builddir_sub
74682 ac_abs_top_srcdir=$ac_pwd ;;
74683 [\\/]* | ?:[\\/]* ) # Absolute name.
74684 ac_srcdir=$srcdir$ac_dir_suffix;
74685 ac_top_srcdir=$srcdir
74686 ac_abs_top_srcdir=$srcdir ;;
74687 *) # Relative name.
74688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74689 ac_top_srcdir=$ac_top_build_prefix$srcdir
74690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74691 esac
74692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74695 case $ac_mode in
74698 # CONFIG_FILE
74701 case $INSTALL in
74702 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74703 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74704 esac
74705 ac_MKDIR_P=$MKDIR_P
74706 case $MKDIR_P in
74707 [\\/$]* | ?:[\\/]* ) ;;
74708 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74709 esac
74710 _ACEOF
74712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74713 # If the template does not know about datarootdir, expand it.
74714 # FIXME: This hack should be removed a few years after 2.60.
74715 ac_datarootdir_hack=; ac_datarootdir_seen=
74716 ac_sed_dataroot='
74717 /datarootdir/ {
74721 /@datadir@/p
74722 /@docdir@/p
74723 /@infodir@/p
74724 /@localedir@/p
74725 /@mandir@/p'
74726 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74727 *datarootdir*) ac_datarootdir_seen=yes;;
74728 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74730 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74731 _ACEOF
74732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74733 ac_datarootdir_hack='
74734 s&@datadir@&$datadir&g
74735 s&@docdir@&$docdir&g
74736 s&@infodir@&$infodir&g
74737 s&@localedir@&$localedir&g
74738 s&@mandir@&$mandir&g
74739 s&\\\${datarootdir}&$datarootdir&g' ;;
74740 esac
74741 _ACEOF
74743 # Neutralize VPATH when `$srcdir' = `.'.
74744 # Shell code in configure.ac might set extrasub.
74745 # FIXME: do we really want to maintain this feature?
74746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74747 ac_sed_extra="$ac_vpsub
74748 $extrasub
74749 _ACEOF
74750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74753 s|@configure_input@|$ac_sed_conf_input|;t t
74754 s&@top_builddir@&$ac_top_builddir_sub&;t t
74755 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74756 s&@srcdir@&$ac_srcdir&;t t
74757 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74758 s&@top_srcdir@&$ac_top_srcdir&;t t
74759 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74760 s&@builddir@&$ac_builddir&;t t
74761 s&@abs_builddir@&$ac_abs_builddir&;t t
74762 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74763 s&@INSTALL@&$ac_INSTALL&;t t
74764 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74765 $ac_datarootdir_hack
74767 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
74768 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74771 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
74772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
74773 "$ac_tmp/out"`; test -z "$ac_out"; } &&
74774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74775 which seems to be undefined. Please make sure it is defined" >&5
74776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74777 which seems to be undefined. Please make sure it is defined" >&2;}
74779 rm -f "$ac_tmp/stdin"
74780 case $ac_file in
74781 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
74782 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
74783 esac \
74784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74788 # CONFIG_HEADER
74790 if test x"$ac_file" != x-; then
74792 $as_echo "/* $configure_input */" \
74793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
74794 } >"$ac_tmp/config.h" \
74795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74796 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74798 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74799 else
74800 rm -f "$ac_file"
74801 mv "$ac_tmp/config.h" "$ac_file" \
74802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
74804 else
74805 $as_echo "/* $configure_input */" \
74806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
74807 || as_fn_error $? "could not create -" "$LINENO" 5
74809 # Compute "$ac_file"'s index in $config_headers.
74810 _am_arg="$ac_file"
74811 _am_stamp_count=1
74812 for _am_header in $config_headers :; do
74813 case $_am_header in
74814 $_am_arg | $_am_arg:* )
74815 break ;;
74817 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74818 esac
74819 done
74820 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74821 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74822 X"$_am_arg" : 'X\(//\)[^/]' \| \
74823 X"$_am_arg" : 'X\(//\)$' \| \
74824 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74825 $as_echo X"$_am_arg" |
74826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74827 s//\1/
74830 /^X\(\/\/\)[^/].*/{
74831 s//\1/
74834 /^X\(\/\/\)$/{
74835 s//\1/
74838 /^X\(\/\).*/{
74839 s//\1/
74842 s/.*/./; q'`/stamp-h$_am_stamp_count
74845 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74846 $as_echo "$as_me: executing $ac_file commands" >&6;}
74848 esac
74851 case $ac_file$ac_mode in
74852 "default-1":C)
74853 # Only add multilib support code if we just rebuilt the top-level
74854 # Makefile.
74855 case " $CONFIG_FILES " in
74856 *" Makefile "*)
74857 ac_file=Makefile . ${multi_basedir}/config-ml.in
74859 esac ;;
74860 "libtool":C)
74862 # See if we are running on zsh, and set the options which allow our
74863 # commands through without removal of \ escapes.
74864 if test -n "${ZSH_VERSION+set}" ; then
74865 setopt NO_GLOB_SUBST
74868 cfgfile="${ofile}T"
74869 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74870 $RM "$cfgfile"
74872 cat <<_LT_EOF >> "$cfgfile"
74873 #! $SHELL
74875 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74876 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74877 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74878 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74880 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74881 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74882 # Written by Gordon Matzigkeit, 1996
74884 # This file is part of GNU Libtool.
74886 # GNU Libtool is free software; you can redistribute it and/or
74887 # modify it under the terms of the GNU General Public License as
74888 # published by the Free Software Foundation; either version 2 of
74889 # the License, or (at your option) any later version.
74891 # As a special exception to the GNU General Public License,
74892 # if you distribute this file as part of a program or library that
74893 # is built using GNU Libtool, you may include this file under the
74894 # same distribution terms that you use for the rest of that program.
74896 # GNU Libtool is distributed in the hope that it will be useful,
74897 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74899 # GNU General Public License for more details.
74901 # You should have received a copy of the GNU General Public License
74902 # along with GNU Libtool; see the file COPYING. If not, a copy
74903 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74904 # obtained by writing to the Free Software Foundation, Inc.,
74905 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74908 # The names of the tagged configurations supported by this script.
74909 available_tags="CXX "
74911 # ### BEGIN LIBTOOL CONFIG
74913 # Which release of libtool.m4 was used?
74914 macro_version=$macro_version
74915 macro_revision=$macro_revision
74917 # Whether or not to build shared libraries.
74918 build_libtool_libs=$enable_shared
74920 # Whether or not to build static libraries.
74921 build_old_libs=$enable_static
74923 # What type of objects to build.
74924 pic_mode=$pic_mode
74926 # Whether or not to optimize for fast installation.
74927 fast_install=$enable_fast_install
74929 # Shell to use when invoking shell scripts.
74930 SHELL=$lt_SHELL
74932 # An echo program that protects backslashes.
74933 ECHO=$lt_ECHO
74935 # The host system.
74936 host_alias=$host_alias
74937 host=$host
74938 host_os=$host_os
74940 # The build system.
74941 build_alias=$build_alias
74942 build=$build
74943 build_os=$build_os
74945 # A sed program that does not truncate output.
74946 SED=$lt_SED
74948 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74949 Xsed="\$SED -e 1s/^X//"
74951 # A grep program that handles long lines.
74952 GREP=$lt_GREP
74954 # An ERE matcher.
74955 EGREP=$lt_EGREP
74957 # A literal string matcher.
74958 FGREP=$lt_FGREP
74960 # A BSD- or MS-compatible name lister.
74961 NM=$lt_NM
74963 # Whether we need soft or hard links.
74964 LN_S=$lt_LN_S
74966 # What is the maximum length of a command?
74967 max_cmd_len=$max_cmd_len
74969 # Object file suffix (normally "o").
74970 objext=$ac_objext
74972 # Executable file suffix (normally "").
74973 exeext=$exeext
74975 # whether the shell understands "unset".
74976 lt_unset=$lt_unset
74978 # turn spaces into newlines.
74979 SP2NL=$lt_lt_SP2NL
74981 # turn newlines into spaces.
74982 NL2SP=$lt_lt_NL2SP
74984 # An object symbol dumper.
74985 OBJDUMP=$lt_OBJDUMP
74987 # Method to check whether dependent libraries are shared objects.
74988 deplibs_check_method=$lt_deplibs_check_method
74990 # Command to use when deplibs_check_method == "file_magic".
74991 file_magic_cmd=$lt_file_magic_cmd
74993 # The archiver.
74994 AR=$lt_AR
74995 AR_FLAGS=$lt_AR_FLAGS
74997 # A symbol stripping program.
74998 STRIP=$lt_STRIP
75000 # Commands used to install an old-style archive.
75001 RANLIB=$lt_RANLIB
75002 old_postinstall_cmds=$lt_old_postinstall_cmds
75003 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75005 # Whether to use a lock for old archive extraction.
75006 lock_old_archive_extraction=$lock_old_archive_extraction
75008 # A C compiler.
75009 LTCC=$lt_CC
75011 # LTCC compiler flags.
75012 LTCFLAGS=$lt_CFLAGS
75014 # Take the output of nm and produce a listing of raw symbols and C names.
75015 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75017 # Transform the output of nm in a proper C declaration.
75018 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75020 # Transform the output of nm in a C name address pair.
75021 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75023 # Transform the output of nm in a C name address pair when lib prefix is needed.
75024 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75026 # The name of the directory that contains temporary libtool files.
75027 objdir=$objdir
75029 # Used to examine libraries when file_magic_cmd begins with "file".
75030 MAGIC_CMD=$MAGIC_CMD
75032 # Must we lock files when doing compilation?
75033 need_locks=$lt_need_locks
75035 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75036 DSYMUTIL=$lt_DSYMUTIL
75038 # Tool to change global to local symbols on Mac OS X.
75039 NMEDIT=$lt_NMEDIT
75041 # Tool to manipulate fat objects and archives on Mac OS X.
75042 LIPO=$lt_LIPO
75044 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75045 OTOOL=$lt_OTOOL
75047 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75048 OTOOL64=$lt_OTOOL64
75050 # Old archive suffix (normally "a").
75051 libext=$libext
75053 # Shared library suffix (normally ".so").
75054 shrext_cmds=$lt_shrext_cmds
75056 # The commands to extract the exported symbol list from a shared archive.
75057 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75059 # Variables whose values should be saved in libtool wrapper scripts and
75060 # restored at link time.
75061 variables_saved_for_relink=$lt_variables_saved_for_relink
75063 # Do we need the "lib" prefix for modules?
75064 need_lib_prefix=$need_lib_prefix
75066 # Do we need a version for libraries?
75067 need_version=$need_version
75069 # Library versioning type.
75070 version_type=$version_type
75072 # Shared library runtime path variable.
75073 runpath_var=$runpath_var
75075 # Shared library path variable.
75076 shlibpath_var=$shlibpath_var
75078 # Is shlibpath searched before the hard-coded library search path?
75079 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75081 # Format of library name prefix.
75082 libname_spec=$lt_libname_spec
75084 # List of archive names. First name is the real one, the rest are links.
75085 # The last name is the one that the linker finds with -lNAME
75086 library_names_spec=$lt_library_names_spec
75088 # The coded name of the library, if different from the real name.
75089 soname_spec=$lt_soname_spec
75091 # Permission mode override for installation of shared libraries.
75092 install_override_mode=$lt_install_override_mode
75094 # Command to use after installation of a shared archive.
75095 postinstall_cmds=$lt_postinstall_cmds
75097 # Command to use after uninstallation of a shared archive.
75098 postuninstall_cmds=$lt_postuninstall_cmds
75100 # Commands used to finish a libtool library installation in a directory.
75101 finish_cmds=$lt_finish_cmds
75103 # As "finish_cmds", except a single script fragment to be evaled but
75104 # not shown.
75105 finish_eval=$lt_finish_eval
75107 # Whether we should hardcode library paths into libraries.
75108 hardcode_into_libs=$hardcode_into_libs
75110 # Compile-time system search path for libraries.
75111 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75113 # Run-time system search path for libraries.
75114 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75116 # Whether dlopen is supported.
75117 dlopen_support=$enable_dlopen
75119 # Whether dlopen of programs is supported.
75120 dlopen_self=$enable_dlopen_self
75122 # Whether dlopen of statically linked programs is supported.
75123 dlopen_self_static=$enable_dlopen_self_static
75125 # Commands to strip libraries.
75126 old_striplib=$lt_old_striplib
75127 striplib=$lt_striplib
75130 # The linker used to build libraries.
75131 LD=$lt_LD
75133 # How to create reloadable object files.
75134 reload_flag=$lt_reload_flag
75135 reload_cmds=$lt_reload_cmds
75137 # Commands used to build an old-style archive.
75138 old_archive_cmds=$lt_old_archive_cmds
75140 # A language specific compiler.
75141 CC=$lt_compiler
75143 # Is the compiler the GNU compiler?
75144 with_gcc=$GCC
75146 # Compiler flag to turn off builtin functions.
75147 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75149 # How to pass a linker flag through the compiler.
75150 wl=$lt_lt_prog_compiler_wl
75152 # Additional compiler flags for building library objects.
75153 pic_flag=$lt_lt_prog_compiler_pic
75155 # Compiler flag to prevent dynamic linking.
75156 link_static_flag=$lt_lt_prog_compiler_static
75158 # Does compiler simultaneously support -c and -o options?
75159 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75161 # Whether or not to add -lc for building shared libraries.
75162 build_libtool_need_lc=$archive_cmds_need_lc
75164 # Whether or not to disallow shared libs when runtime libs are static.
75165 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75167 # Compiler flag to allow reflexive dlopens.
75168 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75170 # Compiler flag to generate shared objects directly from archives.
75171 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75173 # Whether the compiler copes with passing no objects directly.
75174 compiler_needs_object=$lt_compiler_needs_object
75176 # Create an old-style archive from a shared archive.
75177 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75179 # Create a temporary old-style archive to link instead of a shared archive.
75180 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75182 # Commands used to build a shared archive.
75183 archive_cmds=$lt_archive_cmds
75184 archive_expsym_cmds=$lt_archive_expsym_cmds
75186 # Commands used to build a loadable module if different from building
75187 # a shared archive.
75188 module_cmds=$lt_module_cmds
75189 module_expsym_cmds=$lt_module_expsym_cmds
75191 # Whether we are building with GNU ld or not.
75192 with_gnu_ld=$lt_with_gnu_ld
75194 # Flag that allows shared libraries with undefined symbols to be built.
75195 allow_undefined_flag=$lt_allow_undefined_flag
75197 # Flag that enforces no undefined symbols.
75198 no_undefined_flag=$lt_no_undefined_flag
75200 # Flag to hardcode \$libdir into a binary during linking.
75201 # This must work even if \$libdir does not exist
75202 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75204 # If ld is used when linking, flag to hardcode \$libdir into a binary
75205 # during linking. This must work even if \$libdir does not exist.
75206 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75208 # Whether we need a single "-rpath" flag with a separated argument.
75209 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75211 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75212 # DIR into the resulting binary.
75213 hardcode_direct=$hardcode_direct
75215 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75216 # DIR into the resulting binary and the resulting library dependency is
75217 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75218 # library is relocated.
75219 hardcode_direct_absolute=$hardcode_direct_absolute
75221 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75222 # into the resulting binary.
75223 hardcode_minus_L=$hardcode_minus_L
75225 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75226 # into the resulting binary.
75227 hardcode_shlibpath_var=$hardcode_shlibpath_var
75229 # Set to "yes" if building a shared library automatically hardcodes DIR
75230 # into the library and all subsequent libraries and executables linked
75231 # against it.
75232 hardcode_automatic=$hardcode_automatic
75234 # Set to yes if linker adds runtime paths of dependent libraries
75235 # to runtime path list.
75236 inherit_rpath=$inherit_rpath
75238 # Whether libtool must link a program against all its dependency libraries.
75239 link_all_deplibs=$link_all_deplibs
75241 # Fix the shell variable \$srcfile for the compiler.
75242 fix_srcfile_path=$lt_fix_srcfile_path
75244 # Set to "yes" if exported symbols are required.
75245 always_export_symbols=$always_export_symbols
75247 # The commands to list exported symbols.
75248 export_symbols_cmds=$lt_export_symbols_cmds
75250 # Symbols that should not be listed in the preloaded symbols.
75251 exclude_expsyms=$lt_exclude_expsyms
75253 # Symbols that must always be exported.
75254 include_expsyms=$lt_include_expsyms
75256 # Commands necessary for linking programs (against libraries) with templates.
75257 prelink_cmds=$lt_prelink_cmds
75259 # Specify filename containing input files.
75260 file_list_spec=$lt_file_list_spec
75262 # How to hardcode a shared library path into an executable.
75263 hardcode_action=$hardcode_action
75265 # The directories searched by this compiler when creating a shared library.
75266 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75268 # Dependencies to place before and after the objects being linked to
75269 # create a shared library.
75270 predep_objects=$lt_predep_objects
75271 postdep_objects=$lt_postdep_objects
75272 predeps=$lt_predeps
75273 postdeps=$lt_postdeps
75275 # The library search path used internally by the compiler when linking
75276 # a shared library.
75277 compiler_lib_search_path=$lt_compiler_lib_search_path
75279 # ### END LIBTOOL CONFIG
75281 _LT_EOF
75283 case $host_os in
75284 aix3*)
75285 cat <<\_LT_EOF >> "$cfgfile"
75286 # AIX sometimes has problems with the GCC collect2 program. For some
75287 # reason, if we set the COLLECT_NAMES environment variable, the problems
75288 # vanish in a puff of smoke.
75289 if test "X${COLLECT_NAMES+set}" != Xset; then
75290 COLLECT_NAMES=
75291 export COLLECT_NAMES
75293 _LT_EOF
75295 esac
75298 ltmain="$ac_aux_dir/ltmain.sh"
75301 # We use sed instead of cat because bash on DJGPP gets confused if
75302 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75303 # text mode, it properly converts lines to CR/LF. This bash problem
75304 # is reportedly fixed, but why not run on old versions too?
75305 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75306 || (rm -f "$cfgfile"; exit 1)
75308 case $xsi_shell in
75309 yes)
75310 cat << \_LT_EOF >> "$cfgfile"
75312 # func_dirname file append nondir_replacement
75313 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75314 # otherwise set result to NONDIR_REPLACEMENT.
75315 func_dirname ()
75317 case ${1} in
75318 */*) func_dirname_result="${1%/*}${2}" ;;
75319 * ) func_dirname_result="${3}" ;;
75320 esac
75323 # func_basename file
75324 func_basename ()
75326 func_basename_result="${1##*/}"
75329 # func_dirname_and_basename file append nondir_replacement
75330 # perform func_basename and func_dirname in a single function
75331 # call:
75332 # dirname: Compute the dirname of FILE. If nonempty,
75333 # add APPEND to the result, otherwise set result
75334 # to NONDIR_REPLACEMENT.
75335 # value returned in "$func_dirname_result"
75336 # basename: Compute filename of FILE.
75337 # value retuned in "$func_basename_result"
75338 # Implementation must be kept synchronized with func_dirname
75339 # and func_basename. For efficiency, we do not delegate to
75340 # those functions but instead duplicate the functionality here.
75341 func_dirname_and_basename ()
75343 case ${1} in
75344 */*) func_dirname_result="${1%/*}${2}" ;;
75345 * ) func_dirname_result="${3}" ;;
75346 esac
75347 func_basename_result="${1##*/}"
75350 # func_stripname prefix suffix name
75351 # strip PREFIX and SUFFIX off of NAME.
75352 # PREFIX and SUFFIX must not contain globbing or regex special
75353 # characters, hashes, percent signs, but SUFFIX may contain a leading
75354 # dot (in which case that matches only a dot).
75355 func_stripname ()
75357 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75358 # positional parameters, so assign one to ordinary parameter first.
75359 func_stripname_result=${3}
75360 func_stripname_result=${func_stripname_result#"${1}"}
75361 func_stripname_result=${func_stripname_result%"${2}"}
75364 # func_opt_split
75365 func_opt_split ()
75367 func_opt_split_opt=${1%%=*}
75368 func_opt_split_arg=${1#*=}
75371 # func_lo2o object
75372 func_lo2o ()
75374 case ${1} in
75375 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75376 *) func_lo2o_result=${1} ;;
75377 esac
75380 # func_xform libobj-or-source
75381 func_xform ()
75383 func_xform_result=${1%.*}.lo
75386 # func_arith arithmetic-term...
75387 func_arith ()
75389 func_arith_result=$(( $* ))
75392 # func_len string
75393 # STRING may not start with a hyphen.
75394 func_len ()
75396 func_len_result=${#1}
75399 _LT_EOF
75401 *) # Bourne compatible functions.
75402 cat << \_LT_EOF >> "$cfgfile"
75404 # func_dirname file append nondir_replacement
75405 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75406 # otherwise set result to NONDIR_REPLACEMENT.
75407 func_dirname ()
75409 # Extract subdirectory from the argument.
75410 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75411 if test "X$func_dirname_result" = "X${1}"; then
75412 func_dirname_result="${3}"
75413 else
75414 func_dirname_result="$func_dirname_result${2}"
75418 # func_basename file
75419 func_basename ()
75421 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75425 # func_stripname prefix suffix name
75426 # strip PREFIX and SUFFIX off of NAME.
75427 # PREFIX and SUFFIX must not contain globbing or regex special
75428 # characters, hashes, percent signs, but SUFFIX may contain a leading
75429 # dot (in which case that matches only a dot).
75430 # func_strip_suffix prefix name
75431 func_stripname ()
75433 case ${2} in
75434 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75435 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75436 esac
75439 # sed scripts:
75440 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75441 my_sed_long_arg='1s/^-[^=]*=//'
75443 # func_opt_split
75444 func_opt_split ()
75446 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75447 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75450 # func_lo2o object
75451 func_lo2o ()
75453 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75456 # func_xform libobj-or-source
75457 func_xform ()
75459 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75462 # func_arith arithmetic-term...
75463 func_arith ()
75465 func_arith_result=`expr "$@"`
75468 # func_len string
75469 # STRING may not start with a hyphen.
75470 func_len ()
75472 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75475 _LT_EOF
75476 esac
75478 case $lt_shell_append in
75479 yes)
75480 cat << \_LT_EOF >> "$cfgfile"
75482 # func_append var value
75483 # Append VALUE to the end of shell variable VAR.
75484 func_append ()
75486 eval "$1+=\$2"
75488 _LT_EOF
75491 cat << \_LT_EOF >> "$cfgfile"
75493 # func_append var value
75494 # Append VALUE to the end of shell variable VAR.
75495 func_append ()
75497 eval "$1=\$$1\$2"
75500 _LT_EOF
75502 esac
75505 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75506 || (rm -f "$cfgfile"; exit 1)
75508 mv -f "$cfgfile" "$ofile" ||
75509 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75510 chmod +x "$ofile"
75513 cat <<_LT_EOF >> "$ofile"
75515 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75517 # The linker used to build libraries.
75518 LD=$lt_LD_CXX
75520 # How to create reloadable object files.
75521 reload_flag=$lt_reload_flag_CXX
75522 reload_cmds=$lt_reload_cmds_CXX
75524 # Commands used to build an old-style archive.
75525 old_archive_cmds=$lt_old_archive_cmds_CXX
75527 # A language specific compiler.
75528 CC=$lt_compiler_CXX
75530 # Is the compiler the GNU compiler?
75531 with_gcc=$GCC_CXX
75533 # Compiler flag to turn off builtin functions.
75534 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75536 # How to pass a linker flag through the compiler.
75537 wl=$lt_lt_prog_compiler_wl_CXX
75539 # Additional compiler flags for building library objects.
75540 pic_flag=$lt_lt_prog_compiler_pic_CXX
75542 # Compiler flag to prevent dynamic linking.
75543 link_static_flag=$lt_lt_prog_compiler_static_CXX
75545 # Does compiler simultaneously support -c and -o options?
75546 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75548 # Whether or not to add -lc for building shared libraries.
75549 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75551 # Whether or not to disallow shared libs when runtime libs are static.
75552 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75554 # Compiler flag to allow reflexive dlopens.
75555 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75557 # Compiler flag to generate shared objects directly from archives.
75558 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75560 # Whether the compiler copes with passing no objects directly.
75561 compiler_needs_object=$lt_compiler_needs_object_CXX
75563 # Create an old-style archive from a shared archive.
75564 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75566 # Create a temporary old-style archive to link instead of a shared archive.
75567 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75569 # Commands used to build a shared archive.
75570 archive_cmds=$lt_archive_cmds_CXX
75571 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75573 # Commands used to build a loadable module if different from building
75574 # a shared archive.
75575 module_cmds=$lt_module_cmds_CXX
75576 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75578 # Whether we are building with GNU ld or not.
75579 with_gnu_ld=$lt_with_gnu_ld_CXX
75581 # Flag that allows shared libraries with undefined symbols to be built.
75582 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75584 # Flag that enforces no undefined symbols.
75585 no_undefined_flag=$lt_no_undefined_flag_CXX
75587 # Flag to hardcode \$libdir into a binary during linking.
75588 # This must work even if \$libdir does not exist
75589 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75591 # If ld is used when linking, flag to hardcode \$libdir into a binary
75592 # during linking. This must work even if \$libdir does not exist.
75593 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75595 # Whether we need a single "-rpath" flag with a separated argument.
75596 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75598 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75599 # DIR into the resulting binary.
75600 hardcode_direct=$hardcode_direct_CXX
75602 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75603 # DIR into the resulting binary and the resulting library dependency is
75604 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75605 # library is relocated.
75606 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75608 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75609 # into the resulting binary.
75610 hardcode_minus_L=$hardcode_minus_L_CXX
75612 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75613 # into the resulting binary.
75614 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75616 # Set to "yes" if building a shared library automatically hardcodes DIR
75617 # into the library and all subsequent libraries and executables linked
75618 # against it.
75619 hardcode_automatic=$hardcode_automatic_CXX
75621 # Set to yes if linker adds runtime paths of dependent libraries
75622 # to runtime path list.
75623 inherit_rpath=$inherit_rpath_CXX
75625 # Whether libtool must link a program against all its dependency libraries.
75626 link_all_deplibs=$link_all_deplibs_CXX
75628 # Fix the shell variable \$srcfile for the compiler.
75629 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75631 # Set to "yes" if exported symbols are required.
75632 always_export_symbols=$always_export_symbols_CXX
75634 # The commands to list exported symbols.
75635 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75637 # Symbols that should not be listed in the preloaded symbols.
75638 exclude_expsyms=$lt_exclude_expsyms_CXX
75640 # Symbols that must always be exported.
75641 include_expsyms=$lt_include_expsyms_CXX
75643 # Commands necessary for linking programs (against libraries) with templates.
75644 prelink_cmds=$lt_prelink_cmds_CXX
75646 # Specify filename containing input files.
75647 file_list_spec=$lt_file_list_spec_CXX
75649 # How to hardcode a shared library path into an executable.
75650 hardcode_action=$hardcode_action_CXX
75652 # The directories searched by this compiler when creating a shared library.
75653 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75655 # Dependencies to place before and after the objects being linked to
75656 # create a shared library.
75657 predep_objects=$lt_predep_objects_CXX
75658 postdep_objects=$lt_postdep_objects_CXX
75659 predeps=$lt_predeps_CXX
75660 postdeps=$lt_postdeps_CXX
75662 # The library search path used internally by the compiler when linking
75663 # a shared library.
75664 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75666 # ### END LIBTOOL TAG CONFIG: CXX
75667 _LT_EOF
75670 "include/gstdint.h":C)
75671 if test "$GCC" = yes; then
75672 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75673 else
75674 echo "/* generated for $CC */" > tmp-stdint.h
75677 sed 's/^ *//' >> tmp-stdint.h <<EOF
75679 #ifndef GCC_GENERATED_STDINT_H
75680 #define GCC_GENERATED_STDINT_H 1
75682 #include <sys/types.h>
75685 if test "$acx_cv_header_stdint" != stdint.h; then
75686 echo "#include <stddef.h>" >> tmp-stdint.h
75688 if test "$acx_cv_header_stdint" != stddef.h; then
75689 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75692 sed 's/^ *//' >> tmp-stdint.h <<EOF
75693 /* glibc uses these symbols as guards to prevent redefinitions. */
75694 #ifdef __int8_t_defined
75695 #define _INT8_T
75696 #define _INT16_T
75697 #define _INT32_T
75698 #endif
75699 #ifdef __uint32_t_defined
75700 #define _UINT32_T
75701 #endif
75705 # ----------------- done header, emit basic int types -------------
75706 if test "$acx_cv_header_stdint" = stddef.h; then
75707 sed 's/^ *//' >> tmp-stdint.h <<EOF
75709 #ifndef _UINT8_T
75710 #define _UINT8_T
75711 #ifndef __uint8_t_defined
75712 #define __uint8_t_defined
75713 #ifndef uint8_t
75714 typedef unsigned $acx_cv_type_int8_t uint8_t;
75715 #endif
75716 #endif
75717 #endif
75719 #ifndef _UINT16_T
75720 #define _UINT16_T
75721 #ifndef __uint16_t_defined
75722 #define __uint16_t_defined
75723 #ifndef uint16_t
75724 typedef unsigned $acx_cv_type_int16_t uint16_t;
75725 #endif
75726 #endif
75727 #endif
75729 #ifndef _UINT32_T
75730 #define _UINT32_T
75731 #ifndef __uint32_t_defined
75732 #define __uint32_t_defined
75733 #ifndef uint32_t
75734 typedef unsigned $acx_cv_type_int32_t uint32_t;
75735 #endif
75736 #endif
75737 #endif
75739 #ifndef _INT8_T
75740 #define _INT8_T
75741 #ifndef __int8_t_defined
75742 #define __int8_t_defined
75743 #ifndef int8_t
75744 typedef $acx_cv_type_int8_t int8_t;
75745 #endif
75746 #endif
75747 #endif
75749 #ifndef _INT16_T
75750 #define _INT16_T
75751 #ifndef __int16_t_defined
75752 #define __int16_t_defined
75753 #ifndef int16_t
75754 typedef $acx_cv_type_int16_t int16_t;
75755 #endif
75756 #endif
75757 #endif
75759 #ifndef _INT32_T
75760 #define _INT32_T
75761 #ifndef __int32_t_defined
75762 #define __int32_t_defined
75763 #ifndef int32_t
75764 typedef $acx_cv_type_int32_t int32_t;
75765 #endif
75766 #endif
75767 #endif
75769 elif test "$ac_cv_type_u_int32_t" = yes; then
75770 sed 's/^ *//' >> tmp-stdint.h <<EOF
75772 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75773 #ifndef _INT8_T
75774 #define _INT8_T
75775 #endif
75776 #ifndef _INT16_T
75777 #define _INT16_T
75778 #endif
75779 #ifndef _INT32_T
75780 #define _INT32_T
75781 #endif
75783 #ifndef _UINT8_T
75784 #define _UINT8_T
75785 #ifndef __uint8_t_defined
75786 #define __uint8_t_defined
75787 #ifndef uint8_t
75788 typedef u_int8_t uint8_t;
75789 #endif
75790 #endif
75791 #endif
75793 #ifndef _UINT16_T
75794 #define _UINT16_T
75795 #ifndef __uint16_t_defined
75796 #define __uint16_t_defined
75797 #ifndef uint16_t
75798 typedef u_int16_t uint16_t;
75799 #endif
75800 #endif
75801 #endif
75803 #ifndef _UINT32_T
75804 #define _UINT32_T
75805 #ifndef __uint32_t_defined
75806 #define __uint32_t_defined
75807 #ifndef uint32_t
75808 typedef u_int32_t uint32_t;
75809 #endif
75810 #endif
75811 #endif
75813 else
75814 sed 's/^ *//' >> tmp-stdint.h <<EOF
75816 /* Some systems have guard macros to prevent redefinitions, define them. */
75817 #ifndef _INT8_T
75818 #define _INT8_T
75819 #endif
75820 #ifndef _INT16_T
75821 #define _INT16_T
75822 #endif
75823 #ifndef _INT32_T
75824 #define _INT32_T
75825 #endif
75826 #ifndef _UINT8_T
75827 #define _UINT8_T
75828 #endif
75829 #ifndef _UINT16_T
75830 #define _UINT16_T
75831 #endif
75832 #ifndef _UINT32_T
75833 #define _UINT32_T
75834 #endif
75838 # ------------- done basic int types, emit int64_t types ------------
75839 if test "$ac_cv_type_uint64_t" = yes; then
75840 sed 's/^ *//' >> tmp-stdint.h <<EOF
75842 /* system headers have good uint64_t and int64_t */
75843 #ifndef _INT64_T
75844 #define _INT64_T
75845 #endif
75846 #ifndef _UINT64_T
75847 #define _UINT64_T
75848 #endif
75850 elif test "$ac_cv_type_u_int64_t" = yes; then
75851 sed 's/^ *//' >> tmp-stdint.h <<EOF
75853 /* system headers have an u_int64_t (and int64_t) */
75854 #ifndef _INT64_T
75855 #define _INT64_T
75856 #endif
75857 #ifndef _UINT64_T
75858 #define _UINT64_T
75859 #ifndef __uint64_t_defined
75860 #define __uint64_t_defined
75861 #ifndef uint64_t
75862 typedef u_int64_t uint64_t;
75863 #endif
75864 #endif
75865 #endif
75867 elif test -n "$acx_cv_type_int64_t"; then
75868 sed 's/^ *//' >> tmp-stdint.h <<EOF
75870 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
75871 #ifndef _INT64_T
75872 #define _INT64_T
75873 #ifndef int64_t
75874 typedef $acx_cv_type_int64_t int64_t;
75875 #endif
75876 #endif
75877 #ifndef _UINT64_T
75878 #define _UINT64_T
75879 #ifndef __uint64_t_defined
75880 #define __uint64_t_defined
75881 #ifndef uint64_t
75882 typedef unsigned $acx_cv_type_int64_t uint64_t;
75883 #endif
75884 #endif
75885 #endif
75887 else
75888 sed 's/^ *//' >> tmp-stdint.h <<EOF
75890 /* some common heuristics for int64_t, using compiler-specific tests */
75891 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
75892 #ifndef _INT64_T
75893 #define _INT64_T
75894 #ifndef __int64_t_defined
75895 #ifndef int64_t
75896 typedef long long int64_t;
75897 #endif
75898 #endif
75899 #endif
75900 #ifndef _UINT64_T
75901 #define _UINT64_T
75902 #ifndef uint64_t
75903 typedef unsigned long long uint64_t;
75904 #endif
75905 #endif
75907 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
75908 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
75909 does not implement __extension__. But that compiler doesn't define
75910 __GNUC_MINOR__. */
75911 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
75912 # define __extension__
75913 # endif
75915 # ifndef _INT64_T
75916 # define _INT64_T
75917 # ifndef int64_t
75918 __extension__ typedef long long int64_t;
75919 # endif
75920 # endif
75921 # ifndef _UINT64_T
75922 # define _UINT64_T
75923 # ifndef uint64_t
75924 __extension__ typedef unsigned long long uint64_t;
75925 # endif
75926 # endif
75928 #elif !defined __STRICT_ANSI__
75929 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
75931 # ifndef _INT64_T
75932 # define _INT64_T
75933 # ifndef int64_t
75934 typedef __int64 int64_t;
75935 # endif
75936 # endif
75937 # ifndef _UINT64_T
75938 # define _UINT64_T
75939 # ifndef uint64_t
75940 typedef unsigned __int64 uint64_t;
75941 # endif
75942 # endif
75943 # endif /* compiler */
75945 #endif /* ANSI version */
75949 # ------------- done int64_t types, emit intptr types ------------
75950 if test "$ac_cv_type_uintptr_t" != yes; then
75951 sed 's/^ *//' >> tmp-stdint.h <<EOF
75953 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75954 #ifndef __uintptr_t_defined
75955 #ifndef uintptr_t
75956 typedef u$acx_cv_type_intptr_t uintptr_t;
75957 #endif
75958 #endif
75959 #ifndef __intptr_t_defined
75960 #ifndef intptr_t
75961 typedef $acx_cv_type_intptr_t intptr_t;
75962 #endif
75963 #endif
75967 # ------------- done intptr types, emit int_least types ------------
75968 if test "$ac_cv_type_int_least32_t" != yes; then
75969 sed 's/^ *//' >> tmp-stdint.h <<EOF
75971 /* Define int_least types */
75972 typedef int8_t int_least8_t;
75973 typedef int16_t int_least16_t;
75974 typedef int32_t int_least32_t;
75975 #ifdef _INT64_T
75976 typedef int64_t int_least64_t;
75977 #endif
75979 typedef uint8_t uint_least8_t;
75980 typedef uint16_t uint_least16_t;
75981 typedef uint32_t uint_least32_t;
75982 #ifdef _UINT64_T
75983 typedef uint64_t uint_least64_t;
75984 #endif
75988 # ------------- done intptr types, emit int_fast types ------------
75989 if test "$ac_cv_type_int_fast32_t" != yes; then
75990 sed 's/^ *//' >> tmp-stdint.h <<EOF
75992 /* Define int_fast types. short is often slow */
75993 typedef int8_t int_fast8_t;
75994 typedef int int_fast16_t;
75995 typedef int32_t int_fast32_t;
75996 #ifdef _INT64_T
75997 typedef int64_t int_fast64_t;
75998 #endif
76000 typedef uint8_t uint_fast8_t;
76001 typedef unsigned int uint_fast16_t;
76002 typedef uint32_t uint_fast32_t;
76003 #ifdef _UINT64_T
76004 typedef uint64_t uint_fast64_t;
76005 #endif
76009 if test "$ac_cv_type_uintmax_t" != yes; then
76010 sed 's/^ *//' >> tmp-stdint.h <<EOF
76012 /* Define intmax based on what we found */
76013 #ifndef intmax_t
76014 #ifdef _INT64_T
76015 typedef int64_t intmax_t;
76016 #else
76017 typedef long intmax_t;
76018 #endif
76019 #endif
76020 #ifndef uintmax_t
76021 #ifdef _UINT64_T
76022 typedef uint64_t uintmax_t;
76023 #else
76024 typedef unsigned long uintmax_t;
76025 #endif
76026 #endif
76030 sed 's/^ *//' >> tmp-stdint.h <<EOF
76032 #endif /* GCC_GENERATED_STDINT_H */
76035 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76036 rm -f tmp-stdint.h
76037 else
76038 mv -f tmp-stdint.h include/gstdint.h
76042 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76043 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76044 "include/Makefile":F) cat > vpsed$$ << \_EOF
76045 s!`test -f '$<' || echo '$(srcdir)/'`!!
76046 _EOF
76047 sed -f vpsed$$ $ac_file > tmp$$
76048 mv tmp$$ $ac_file
76049 rm vpsed$$
76050 echo 'MULTISUBDIR =' >> $ac_file
76051 ml_norecursion=yes
76052 . ${multi_basedir}/config-ml.in
76053 { ml_norecursion=; unset ml_norecursion;}
76055 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76056 s!`test -f '$<' || echo '$(srcdir)/'`!!
76057 _EOF
76058 sed -f vpsed$$ $ac_file > tmp$$
76059 mv tmp$$ $ac_file
76060 rm vpsed$$
76061 echo 'MULTISUBDIR =' >> $ac_file
76062 ml_norecursion=yes
76063 . ${multi_basedir}/config-ml.in
76064 { ml_norecursion=; unset ml_norecursion;}
76066 "src/Makefile":F) cat > vpsed$$ << \_EOF
76067 s!`test -f '$<' || echo '$(srcdir)/'`!!
76068 _EOF
76069 sed -f vpsed$$ $ac_file > tmp$$
76070 mv tmp$$ $ac_file
76071 rm vpsed$$
76072 echo 'MULTISUBDIR =' >> $ac_file
76073 ml_norecursion=yes
76074 . ${multi_basedir}/config-ml.in
76075 { ml_norecursion=; unset ml_norecursion;}
76077 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76078 s!`test -f '$<' || echo '$(srcdir)/'`!!
76079 _EOF
76080 sed -f vpsed$$ $ac_file > tmp$$
76081 mv tmp$$ $ac_file
76082 rm vpsed$$
76083 echo 'MULTISUBDIR =' >> $ac_file
76084 ml_norecursion=yes
76085 . ${multi_basedir}/config-ml.in
76086 { ml_norecursion=; unset ml_norecursion;}
76088 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76089 s!`test -f '$<' || echo '$(srcdir)/'`!!
76090 _EOF
76091 sed -f vpsed$$ $ac_file > tmp$$
76092 mv tmp$$ $ac_file
76093 rm vpsed$$
76094 echo 'MULTISUBDIR =' >> $ac_file
76095 ml_norecursion=yes
76096 . ${multi_basedir}/config-ml.in
76097 { ml_norecursion=; unset ml_norecursion;}
76099 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
76100 s!`test -f '$<' || echo '$(srcdir)/'`!!
76101 _EOF
76102 sed -f vpsed$$ $ac_file > tmp$$
76103 mv tmp$$ $ac_file
76104 rm vpsed$$
76105 echo 'MULTISUBDIR =' >> $ac_file
76106 ml_norecursion=yes
76107 . ${multi_basedir}/config-ml.in
76108 { ml_norecursion=; unset ml_norecursion;}
76110 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
76111 s!`test -f '$<' || echo '$(srcdir)/'`!!
76112 _EOF
76113 sed -f vpsed$$ $ac_file > tmp$$
76114 mv tmp$$ $ac_file
76115 rm vpsed$$
76116 echo 'MULTISUBDIR =' >> $ac_file
76117 ml_norecursion=yes
76118 . ${multi_basedir}/config-ml.in
76119 { ml_norecursion=; unset ml_norecursion;}
76121 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
76122 s!`test -f '$<' || echo '$(srcdir)/'`!!
76123 _EOF
76124 sed -f vpsed$$ $ac_file > tmp$$
76125 mv tmp$$ $ac_file
76126 rm vpsed$$
76127 echo 'MULTISUBDIR =' >> $ac_file
76128 ml_norecursion=yes
76129 . ${multi_basedir}/config-ml.in
76130 { ml_norecursion=; unset ml_norecursion;}
76132 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
76133 s!`test -f '$<' || echo '$(srcdir)/'`!!
76134 _EOF
76135 sed -f vpsed$$ $ac_file > tmp$$
76136 mv tmp$$ $ac_file
76137 rm vpsed$$
76138 echo 'MULTISUBDIR =' >> $ac_file
76139 ml_norecursion=yes
76140 . ${multi_basedir}/config-ml.in
76141 { ml_norecursion=; unset ml_norecursion;}
76143 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76144 s!`test -f '$<' || echo '$(srcdir)/'`!!
76145 _EOF
76146 sed -f vpsed$$ $ac_file > tmp$$
76147 mv tmp$$ $ac_file
76148 rm vpsed$$
76149 echo 'MULTISUBDIR =' >> $ac_file
76150 ml_norecursion=yes
76151 . ${multi_basedir}/config-ml.in
76152 { ml_norecursion=; unset ml_norecursion;}
76154 "po/Makefile":F) cat > vpsed$$ << \_EOF
76155 s!`test -f '$<' || echo '$(srcdir)/'`!!
76156 _EOF
76157 sed -f vpsed$$ $ac_file > tmp$$
76158 mv tmp$$ $ac_file
76159 rm vpsed$$
76160 echo 'MULTISUBDIR =' >> $ac_file
76161 ml_norecursion=yes
76162 . ${multi_basedir}/config-ml.in
76163 { ml_norecursion=; unset ml_norecursion;}
76165 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76166 s!`test -f '$<' || echo '$(srcdir)/'`!!
76167 _EOF
76168 sed -f vpsed$$ $ac_file > tmp$$
76169 mv tmp$$ $ac_file
76170 rm vpsed$$
76171 echo 'MULTISUBDIR =' >> $ac_file
76172 ml_norecursion=yes
76173 . ${multi_basedir}/config-ml.in
76174 { ml_norecursion=; unset ml_norecursion;}
76176 "python/Makefile":F) cat > vpsed$$ << \_EOF
76177 s!`test -f '$<' || echo '$(srcdir)/'`!!
76178 _EOF
76179 sed -f vpsed$$ $ac_file > tmp$$
76180 mv tmp$$ $ac_file
76181 rm vpsed$$
76182 echo 'MULTISUBDIR =' >> $ac_file
76183 ml_norecursion=yes
76184 . ${multi_basedir}/config-ml.in
76185 { ml_norecursion=; unset ml_norecursion;}
76187 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76189 esac
76190 done # for ac_tag
76193 as_fn_exit 0
76194 _ACEOF
76195 ac_clean_files=$ac_clean_files_save
76197 test $ac_write_fail = 0 ||
76198 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
76201 # configure is writing to config.log, and then calls config.status.
76202 # config.status does its own redirection, appending to config.log.
76203 # Unfortunately, on DOS this fails, as config.log is still kept open
76204 # by configure, so config.status won't be able to write to it; its
76205 # output is simply discarded. So we exec the FD to /dev/null,
76206 # effectively closing config.log, so it can be properly (re)opened and
76207 # appended to by config.status. When coming back to configure, we
76208 # need to make the FD available again.
76209 if test "$no_create" != yes; then
76210 ac_cs_success=:
76211 ac_config_status_args=
76212 test "$silent" = yes &&
76213 ac_config_status_args="$ac_config_status_args --quiet"
76214 exec 5>/dev/null
76215 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76216 exec 5>>config.log
76217 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76218 # would make configure fail if this is the last instruction.
76219 $ac_cs_success || as_fn_exit 1
76221 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76223 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}