PR tree-optimization/ 79376 - wrong lower bound with %s and non-constant
[official-gcc.git] / libstdc++-v3 / configure
blob9bb986222ca5972fe839aee2034a97dca3e7a841
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # 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 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 get_gcc_base_ver
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 CPU_OPT_BITS_RANDOM
615 CPU_OPT_EXT_RANDOM
616 ERROR_CONSTANTS_SRCDIR
617 OS_INC_SRCDIR
618 ABI_TWEAKS_SRCDIR
619 CPU_DEFINES_SRCDIR
620 ATOMIC_FLAGS
621 ATOMIC_WORD_SRCDIR
622 ATOMICITY_SRCDIR
623 BUILD_PDF_FALSE
624 BUILD_PDF_TRUE
625 PDFLATEX
626 DBLATEX
627 BUILD_MAN_FALSE
628 BUILD_MAN_TRUE
629 BUILD_HTML_FALSE
630 BUILD_HTML_TRUE
631 BUILD_XML_FALSE
632 BUILD_XML_TRUE
633 BUILD_EPUB_FALSE
634 BUILD_EPUB_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 ENABLE_FILESYSTEM_TS_FALSE
643 ENABLE_FILESYSTEM_TS_TRUE
644 baseline_subdir_switch
645 baseline_dir
646 HWCAP_CFLAGS
647 GLIBCXX_LDBL_COMPAT_FALSE
648 GLIBCXX_LDBL_COMPAT_TRUE
649 LONG_DOUBLE_COMPAT_FLAGS
650 ENABLE_CXX11_ABI_FALSE
651 ENABLE_CXX11_ABI_TRUE
652 glibcxx_cxx98_abi
653 ENABLE_DUAL_ABI_FALSE
654 ENABLE_DUAL_ABI_TRUE
655 ENABLE_VISIBILITY_FALSE
656 ENABLE_VISIBILITY_TRUE
657 libtool_VERSION
658 ENABLE_SYMVERS_SUN_FALSE
659 ENABLE_SYMVERS_SUN_TRUE
660 ENABLE_SYMVERS_DARWIN_FALSE
661 ENABLE_SYMVERS_DARWIN_TRUE
662 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
663 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
664 ENABLE_SYMVERS_GNU_FALSE
665 ENABLE_SYMVERS_GNU_TRUE
666 ENABLE_SYMVERS_FALSE
667 ENABLE_SYMVERS_TRUE
668 port_specific_symbol_files
669 SYMVER_FILE
670 CXXFILT
671 LTLIBICONV
672 LIBICONV
673 OPT_LDFLAGS
674 SECTION_LDFLAGS
675 GLIBCXX_LIBS
676 ENABLE_VTABLE_VERIFY_FALSE
677 ENABLE_VTABLE_VERIFY_TRUE
678 VTV_CYGMIN_FALSE
679 VTV_CYGMIN_TRUE
680 VTV_CXXLINKFLAGS
681 VTV_PCH_CXXFLAGS
682 VTV_CXXFLAGS
683 ENABLE_WERROR_FALSE
684 ENABLE_WERROR_TRUE
685 ENABLE_PYTHONDIR_FALSE
686 ENABLE_PYTHONDIR_TRUE
687 python_mod_dir
688 ENABLE_EXTERN_TEMPLATE_FALSE
689 ENABLE_EXTERN_TEMPLATE_TRUE
690 EXTRA_CXX_FLAGS
691 GLIBCXX_BUILD_DEBUG_FALSE
692 GLIBCXX_BUILD_DEBUG_TRUE
693 DEBUG_FLAGS
694 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
695 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
696 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
697 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
698 GLIBCXX_C_HEADERS_C_STD_FALSE
699 GLIBCXX_C_HEADERS_C_STD_TRUE
700 GLIBCXX_C_HEADERS_C_FALSE
701 GLIBCXX_C_HEADERS_C_TRUE
702 C_INCLUDE_DIR
703 ALLOCATOR_NAME
704 ALLOCATOR_H
705 ENABLE_ALLOCATOR_NEW_FALSE
706 ENABLE_ALLOCATOR_NEW_TRUE
707 CLOCALE_INTERNAL_H
708 CLOCALE_CC
709 CTIME_CC
710 CTIME_H
711 CNUMERIC_CC
712 CMONEY_CC
713 CMESSAGES_CC
714 CCTYPE_CC
715 CCOLLATE_CC
716 CCODECVT_CC
717 CMESSAGES_H
718 CLOCALE_H
719 USE_NLS
720 glibcxx_localedir
721 glibcxx_POFILES
722 glibcxx_MOFILES
723 check_msgfmt
724 BASIC_FILE_CC
725 BASIC_FILE_H
726 CSTDIO_H
727 SECTION_FLAGS
728 WERROR
729 thread_header
730 glibcxx_PCHFLAGS
731 GLIBCXX_BUILD_PCH_FALSE
732 GLIBCXX_BUILD_PCH_TRUE
733 GLIBCXX_HOSTED_FALSE
734 GLIBCXX_HOSTED_TRUE
735 glibcxx_compiler_shared_flag
736 glibcxx_compiler_pic_flag
737 glibcxx_lt_pic_flag
738 enable_static
739 enable_shared
740 lt_host_flags
741 CXXCPP
742 OTOOL64
743 OTOOL
744 LIPO
745 NMEDIT
746 DSYMUTIL
747 OBJDUMP
749 ac_ct_DUMPBIN
750 DUMPBIN
752 FGREP
754 LIBTOOL
755 EGREP
756 GREP
758 MAINT
759 MAINTAINER_MODE_FALSE
760 MAINTAINER_MODE_TRUE
761 RANLIB
764 LN_S
765 toplevel_srcdir
766 toplevel_builddir
767 glibcxx_srcdir
768 glibcxx_builddir
769 ac_ct_CXX
770 CXXFLAGS
772 OBJEXT
773 EXEEXT
774 ac_ct_CC
775 CPPFLAGS
776 LDFLAGS
777 CFLAGS
779 am__untar
780 am__tar
781 AMTAR
782 am__leading_dot
783 SET_MAKE
785 mkdir_p
786 MKDIR_P
787 INSTALL_STRIP_PROGRAM
788 STRIP
789 install_sh
790 MAKEINFO
791 AUTOHEADER
792 AUTOMAKE
793 AUTOCONF
794 ACLOCAL
795 VERSION
796 PACKAGE
797 CYGPATH_W
798 am__isrc
799 INSTALL_DATA
800 INSTALL_SCRIPT
801 INSTALL_PROGRAM
802 target_os
803 target_vendor
804 target_cpu
805 target
806 host_os
807 host_vendor
808 host_cpu
809 host
810 build_os
811 build_vendor
812 build_cpu
813 build
814 multi_basedir
815 target_alias
816 host_alias
817 build_alias
818 LIBS
819 ECHO_T
820 ECHO_N
821 ECHO_C
822 DEFS
823 mandir
824 localedir
825 libdir
826 psdir
827 pdfdir
828 dvidir
829 htmldir
830 infodir
831 docdir
832 oldincludedir
833 includedir
834 localstatedir
835 sharedstatedir
836 sysconfdir
837 datadir
838 datarootdir
839 libexecdir
840 sbindir
841 bindir
842 program_transform_name
843 prefix
844 exec_prefix
845 PACKAGE_URL
846 PACKAGE_BUGREPORT
847 PACKAGE_STRING
848 PACKAGE_VERSION
849 PACKAGE_TARNAME
850 PACKAGE_NAME
851 PATH_SEPARATOR
852 SHELL'
853 ac_subst_files=''
854 ac_user_opts='
855 enable_option_checking
856 enable_multilib
857 with_target_subdir
858 with_cross_host
859 with_newlib
860 enable_maintainer_mode
861 enable_shared
862 enable_static
863 with_pic
864 enable_fast_install
865 with_gnu_ld
866 enable_libtool_lock
867 enable_hosted_libstdcxx
868 enable_libstdcxx_verbose
869 enable_libstdcxx_pch
870 enable_cstdio
871 enable_clocale
872 enable_nls
873 enable_libstdcxx_allocator
874 enable_cheaders
875 enable_long_long
876 enable_wchar_t
877 enable_c99
878 enable_concept_checks
879 enable_libstdcxx_debug_flags
880 enable_libstdcxx_debug
881 enable_cxx_flags
882 enable_fully_dynamic_string
883 enable_extern_template
884 with_python_dir
885 enable_werror
886 enable_vtable_verify
887 enable_libstdcxx_time
888 enable_tls
889 enable_rpath
890 with_libiconv_prefix
891 with_system_libunwind
892 enable_linux_futex
893 enable_symvers
894 enable_libstdcxx_visibility
895 enable_libstdcxx_dual_abi
896 with_default_libstdcxx_abi
897 enable_libstdcxx_threads
898 enable_libstdcxx_filesystem_ts
899 with_gxx_include_dir
900 enable_version_specific_runtime_libs
901 with_gcc_major_version_only
903 ac_precious_vars='build_alias
904 host_alias
905 target_alias
907 CFLAGS
908 LDFLAGS
909 LIBS
910 CPPFLAGS
912 CXXFLAGS
915 CXXCPP
916 CXXFILT'
919 # Initialize some variables set by options.
920 ac_init_help=
921 ac_init_version=false
922 ac_unrecognized_opts=
923 ac_unrecognized_sep=
924 # The variables have the same names as the options, with
925 # dashes changed to underlines.
926 cache_file=/dev/null
927 exec_prefix=NONE
928 no_create=
929 no_recursion=
930 prefix=NONE
931 program_prefix=NONE
932 program_suffix=NONE
933 program_transform_name=s,x,x,
934 silent=
935 site=
936 srcdir=
937 verbose=
938 x_includes=NONE
939 x_libraries=NONE
941 # Installation directory options.
942 # These are left unexpanded so users can "make install exec_prefix=/foo"
943 # and all the variables that are supposed to be based on exec_prefix
944 # by default will actually change.
945 # Use braces instead of parens because sh, perl, etc. also accept them.
946 # (The list follows the same order as the GNU Coding Standards.)
947 bindir='${exec_prefix}/bin'
948 sbindir='${exec_prefix}/sbin'
949 libexecdir='${exec_prefix}/libexec'
950 datarootdir='${prefix}/share'
951 datadir='${datarootdir}'
952 sysconfdir='${prefix}/etc'
953 sharedstatedir='${prefix}/com'
954 localstatedir='${prefix}/var'
955 includedir='${prefix}/include'
956 oldincludedir='/usr/include'
957 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
958 infodir='${datarootdir}/info'
959 htmldir='${docdir}'
960 dvidir='${docdir}'
961 pdfdir='${docdir}'
962 psdir='${docdir}'
963 libdir='${exec_prefix}/lib'
964 localedir='${datarootdir}/locale'
965 mandir='${datarootdir}/man'
967 ac_prev=
968 ac_dashdash=
969 for ac_option
971 # If the previous option needs an argument, assign it.
972 if test -n "$ac_prev"; then
973 eval $ac_prev=\$ac_option
974 ac_prev=
975 continue
978 case $ac_option in
979 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980 *) ac_optarg=yes ;;
981 esac
983 # Accept the important Cygnus configure options, so we can diagnose typos.
985 case $ac_dashdash$ac_option in
987 ac_dashdash=yes ;;
989 -bindir | --bindir | --bindi | --bind | --bin | --bi)
990 ac_prev=bindir ;;
991 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992 bindir=$ac_optarg ;;
994 -build | --build | --buil | --bui | --bu)
995 ac_prev=build_alias ;;
996 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
997 build_alias=$ac_optarg ;;
999 -cache-file | --cache-file | --cache-fil | --cache-fi \
1000 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1001 ac_prev=cache_file ;;
1002 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1003 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1004 cache_file=$ac_optarg ;;
1006 --config-cache | -C)
1007 cache_file=config.cache ;;
1009 -datadir | --datadir | --datadi | --datad)
1010 ac_prev=datadir ;;
1011 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1012 datadir=$ac_optarg ;;
1014 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1015 | --dataroo | --dataro | --datar)
1016 ac_prev=datarootdir ;;
1017 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1018 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1019 datarootdir=$ac_optarg ;;
1021 -disable-* | --disable-*)
1022 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1023 # Reject names that are not valid shell variable names.
1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1025 as_fn_error "invalid feature name: $ac_useropt"
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_$ac_useropt"
1031 "*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval enable_$ac_useropt=no ;;
1037 -docdir | --docdir | --docdi | --doc | --do)
1038 ac_prev=docdir ;;
1039 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1040 docdir=$ac_optarg ;;
1042 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1043 ac_prev=dvidir ;;
1044 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1045 dvidir=$ac_optarg ;;
1047 -enable-* | --enable-*)
1048 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1051 as_fn_error "invalid feature name: $ac_useropt"
1052 ac_useropt_orig=$ac_useropt
1053 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1054 case $ac_user_opts in
1056 "enable_$ac_useropt"
1057 "*) ;;
1058 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1059 ac_unrecognized_sep=', ';;
1060 esac
1061 eval enable_$ac_useropt=\$ac_optarg ;;
1063 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1064 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1065 | --exec | --exe | --ex)
1066 ac_prev=exec_prefix ;;
1067 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1068 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1069 | --exec=* | --exe=* | --ex=*)
1070 exec_prefix=$ac_optarg ;;
1072 -gas | --gas | --ga | --g)
1073 # Obsolete; use --with-gas.
1074 with_gas=yes ;;
1076 -help | --help | --hel | --he | -h)
1077 ac_init_help=long ;;
1078 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1079 ac_init_help=recursive ;;
1080 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1081 ac_init_help=short ;;
1083 -host | --host | --hos | --ho)
1084 ac_prev=host_alias ;;
1085 -host=* | --host=* | --hos=* | --ho=*)
1086 host_alias=$ac_optarg ;;
1088 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1089 ac_prev=htmldir ;;
1090 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1091 | --ht=*)
1092 htmldir=$ac_optarg ;;
1094 -includedir | --includedir | --includedi | --included | --include \
1095 | --includ | --inclu | --incl | --inc)
1096 ac_prev=includedir ;;
1097 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1098 | --includ=* | --inclu=* | --incl=* | --inc=*)
1099 includedir=$ac_optarg ;;
1101 -infodir | --infodir | --infodi | --infod | --info | --inf)
1102 ac_prev=infodir ;;
1103 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1104 infodir=$ac_optarg ;;
1106 -libdir | --libdir | --libdi | --libd)
1107 ac_prev=libdir ;;
1108 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1109 libdir=$ac_optarg ;;
1111 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1112 | --libexe | --libex | --libe)
1113 ac_prev=libexecdir ;;
1114 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1115 | --libexe=* | --libex=* | --libe=*)
1116 libexecdir=$ac_optarg ;;
1118 -localedir | --localedir | --localedi | --localed | --locale)
1119 ac_prev=localedir ;;
1120 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1121 localedir=$ac_optarg ;;
1123 -localstatedir | --localstatedir | --localstatedi | --localstated \
1124 | --localstate | --localstat | --localsta | --localst | --locals)
1125 ac_prev=localstatedir ;;
1126 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1127 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1128 localstatedir=$ac_optarg ;;
1130 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1131 ac_prev=mandir ;;
1132 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1133 mandir=$ac_optarg ;;
1135 -nfp | --nfp | --nf)
1136 # Obsolete; use --without-fp.
1137 with_fp=no ;;
1139 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1140 | --no-cr | --no-c | -n)
1141 no_create=yes ;;
1143 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1144 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1145 no_recursion=yes ;;
1147 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1148 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1149 | --oldin | --oldi | --old | --ol | --o)
1150 ac_prev=oldincludedir ;;
1151 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1152 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1153 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1154 oldincludedir=$ac_optarg ;;
1156 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1157 ac_prev=prefix ;;
1158 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1159 prefix=$ac_optarg ;;
1161 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1162 | --program-pre | --program-pr | --program-p)
1163 ac_prev=program_prefix ;;
1164 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1165 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1166 program_prefix=$ac_optarg ;;
1168 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1169 | --program-suf | --program-su | --program-s)
1170 ac_prev=program_suffix ;;
1171 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1172 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1173 program_suffix=$ac_optarg ;;
1175 -program-transform-name | --program-transform-name \
1176 | --program-transform-nam | --program-transform-na \
1177 | --program-transform-n | --program-transform- \
1178 | --program-transform | --program-transfor \
1179 | --program-transfo | --program-transf \
1180 | --program-trans | --program-tran \
1181 | --progr-tra | --program-tr | --program-t)
1182 ac_prev=program_transform_name ;;
1183 -program-transform-name=* | --program-transform-name=* \
1184 | --program-transform-nam=* | --program-transform-na=* \
1185 | --program-transform-n=* | --program-transform-=* \
1186 | --program-transform=* | --program-transfor=* \
1187 | --program-transfo=* | --program-transf=* \
1188 | --program-trans=* | --program-tran=* \
1189 | --progr-tra=* | --program-tr=* | --program-t=*)
1190 program_transform_name=$ac_optarg ;;
1192 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1193 ac_prev=pdfdir ;;
1194 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1195 pdfdir=$ac_optarg ;;
1197 -psdir | --psdir | --psdi | --psd | --ps)
1198 ac_prev=psdir ;;
1199 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1200 psdir=$ac_optarg ;;
1202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1203 | -silent | --silent | --silen | --sile | --sil)
1204 silent=yes ;;
1206 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1207 ac_prev=sbindir ;;
1208 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1209 | --sbi=* | --sb=*)
1210 sbindir=$ac_optarg ;;
1212 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1213 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1214 | --sharedst | --shareds | --shared | --share | --shar \
1215 | --sha | --sh)
1216 ac_prev=sharedstatedir ;;
1217 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1218 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1219 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1220 | --sha=* | --sh=*)
1221 sharedstatedir=$ac_optarg ;;
1223 -site | --site | --sit)
1224 ac_prev=site ;;
1225 -site=* | --site=* | --sit=*)
1226 site=$ac_optarg ;;
1228 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1229 ac_prev=srcdir ;;
1230 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1231 srcdir=$ac_optarg ;;
1233 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1234 | --syscon | --sysco | --sysc | --sys | --sy)
1235 ac_prev=sysconfdir ;;
1236 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1237 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1238 sysconfdir=$ac_optarg ;;
1240 -target | --target | --targe | --targ | --tar | --ta | --t)
1241 ac_prev=target_alias ;;
1242 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1243 target_alias=$ac_optarg ;;
1245 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1246 verbose=yes ;;
1248 -version | --version | --versio | --versi | --vers | -V)
1249 ac_init_version=: ;;
1251 -with-* | --with-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=\$ac_optarg ;;
1267 -without-* | --without-*)
1268 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271 as_fn_error "invalid package name: $ac_useropt"
1272 ac_useropt_orig=$ac_useropt
1273 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1276 "with_$ac_useropt"
1277 "*) ;;
1278 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1279 ac_unrecognized_sep=', ';;
1280 esac
1281 eval with_$ac_useropt=no ;;
1283 --x)
1284 # Obsolete; use --with-x.
1285 with_x=yes ;;
1287 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1288 | --x-incl | --x-inc | --x-in | --x-i)
1289 ac_prev=x_includes ;;
1290 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1291 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1292 x_includes=$ac_optarg ;;
1294 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1295 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1296 ac_prev=x_libraries ;;
1297 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1298 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1299 x_libraries=$ac_optarg ;;
1301 -*) as_fn_error "unrecognized option: \`$ac_option'
1302 Try \`$0 --help' for more information."
1305 *=*)
1306 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1307 # Reject names that are not valid shell variable names.
1308 case $ac_envvar in #(
1309 '' | [0-9]* | *[!_$as_cr_alnum]* )
1310 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1311 esac
1312 eval $ac_envvar=\$ac_optarg
1313 export $ac_envvar ;;
1316 # FIXME: should be removed in autoconf 3.0.
1317 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1318 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1319 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1320 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1323 esac
1324 done
1326 if test -n "$ac_prev"; then
1327 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1328 as_fn_error "missing argument to $ac_option"
1331 if test -n "$ac_unrecognized_opts"; then
1332 case $enable_option_checking in
1333 no) ;;
1334 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1335 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336 esac
1339 # Check all directory arguments for consistency.
1340 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1341 datadir sysconfdir sharedstatedir localstatedir includedir \
1342 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1343 libdir localedir mandir
1345 eval ac_val=\$$ac_var
1346 # Remove trailing slashes.
1347 case $ac_val in
1348 */ )
1349 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1350 eval $ac_var=\$ac_val;;
1351 esac
1352 # Be sure to have absolute directory names.
1353 case $ac_val in
1354 [\\/$]* | ?:[\\/]* ) continue;;
1355 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1356 esac
1357 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1358 done
1360 # There might be people who depend on the old broken behavior: `$host'
1361 # used to hold the argument of --host etc.
1362 # FIXME: To remove some day.
1363 build=$build_alias
1364 host=$host_alias
1365 target=$target_alias
1367 # FIXME: To remove some day.
1368 if test "x$host_alias" != x; then
1369 if test "x$build_alias" = x; then
1370 cross_compiling=maybe
1371 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1372 If a cross compiler is detected then cross compile mode will be used." >&2
1373 elif test "x$build_alias" != "x$host_alias"; then
1374 cross_compiling=yes
1378 ac_tool_prefix=
1379 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1381 test "$silent" = yes && exec 6>/dev/null
1384 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1385 ac_ls_di=`ls -di .` &&
1386 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1387 as_fn_error "working directory cannot be determined"
1388 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1389 as_fn_error "pwd does not report name of working directory"
1392 # Find the source files, if location was not specified.
1393 if test -z "$srcdir"; then
1394 ac_srcdir_defaulted=yes
1395 # Try the directory containing this script, then the parent directory.
1396 ac_confdir=`$as_dirname -- "$as_myself" ||
1397 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1398 X"$as_myself" : 'X\(//\)[^/]' \| \
1399 X"$as_myself" : 'X\(//\)$' \| \
1400 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1401 $as_echo X"$as_myself" |
1402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1403 s//\1/
1406 /^X\(\/\/\)[^/].*/{
1407 s//\1/
1410 /^X\(\/\/\)$/{
1411 s//\1/
1414 /^X\(\/\).*/{
1415 s//\1/
1418 s/.*/./; q'`
1419 srcdir=$ac_confdir
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 srcdir=..
1423 else
1424 ac_srcdir_defaulted=no
1426 if test ! -r "$srcdir/$ac_unique_file"; then
1427 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1428 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1430 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1431 ac_abs_confdir=`(
1432 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1433 pwd)`
1434 # When building in place, set srcdir=.
1435 if test "$ac_abs_confdir" = "$ac_pwd"; then
1436 srcdir=.
1438 # Remove unnecessary trailing slashes from srcdir.
1439 # Double slashes in file names in object file debugging info
1440 # mess up M-x gdb in Emacs.
1441 case $srcdir in
1442 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1443 esac
1444 for ac_var in $ac_precious_vars; do
1445 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_env_${ac_var}_value=\$${ac_var}
1447 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1448 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1449 done
1452 # Report the --help message.
1454 if test "$ac_init_help" = "long"; then
1455 # Omit some internal or obsolete options to make the list less imposing.
1456 # This message is too long to be a string in the A/UX 3.1 sh.
1457 cat <<_ACEOF
1458 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1460 Usage: $0 [OPTION]... [VAR=VALUE]...
1462 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1463 VAR=VALUE. See below for descriptions of some of the useful variables.
1465 Defaults for the options are specified in brackets.
1467 Configuration:
1468 -h, --help display this help and exit
1469 --help=short display options specific to this package
1470 --help=recursive display the short help of all the included packages
1471 -V, --version display version information and exit
1472 -q, --quiet, --silent do not print \`checking...' messages
1473 --cache-file=FILE cache test results in FILE [disabled]
1474 -C, --config-cache alias for \`--cache-file=config.cache'
1475 -n, --no-create do not create output files
1476 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1478 Installation directories:
1479 --prefix=PREFIX install architecture-independent files in PREFIX
1480 [$ac_default_prefix]
1481 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1482 [PREFIX]
1484 By default, \`make install' will install all the files in
1485 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1486 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1487 for instance \`--prefix=\$HOME'.
1489 For better control, use the options below.
1491 Fine tuning of the installation directories:
1492 --bindir=DIR user executables [EPREFIX/bin]
1493 --sbindir=DIR system admin executables [EPREFIX/sbin]
1494 --libexecdir=DIR program executables [EPREFIX/libexec]
1495 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1496 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1497 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1498 --libdir=DIR object code libraries [EPREFIX/lib]
1499 --includedir=DIR C header files [PREFIX/include]
1500 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1501 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1502 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1503 --infodir=DIR info documentation [DATAROOTDIR/info]
1504 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1505 --mandir=DIR man documentation [DATAROOTDIR/man]
1506 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1507 --htmldir=DIR html documentation [DOCDIR]
1508 --dvidir=DIR dvi documentation [DOCDIR]
1509 --pdfdir=DIR pdf documentation [DOCDIR]
1510 --psdir=DIR ps documentation [DOCDIR]
1511 _ACEOF
1513 cat <<\_ACEOF
1515 Program names:
1516 --program-prefix=PREFIX prepend PREFIX to installed program names
1517 --program-suffix=SUFFIX append SUFFIX to installed program names
1518 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1520 System types:
1521 --build=BUILD configure for building on BUILD [guessed]
1522 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1523 --target=TARGET configure for building compilers for TARGET [HOST]
1524 _ACEOF
1527 if test -n "$ac_init_help"; then
1528 case $ac_init_help in
1529 short | recursive ) echo "Configuration of package-unused version-unused:";;
1530 esac
1531 cat <<\_ACEOF
1533 Optional Features:
1534 --disable-option-checking ignore unrecognized --enable/--with options
1535 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1536 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1537 --enable-multilib build many library versions (default)
1538 --enable-maintainer-mode enable make rules and dependencies not useful
1539 (and sometimes confusing) to the casual installer
1540 --enable-shared[=PKGS] build shared libraries [default=yes]
1541 --enable-static[=PKGS] build static libraries [default=yes]
1542 --enable-fast-install[=PKGS]
1543 optimize for fast installation [default=yes]
1544 --disable-libtool-lock avoid locking (might break parallel builds)
1545 --disable-hosted-libstdcxx
1546 only build freestanding C++ runtime support
1547 --disable-libstdcxx-verbose
1548 disable termination messages to standard error
1549 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1550 [default=$is_hosted]
1551 --enable-cstdio[=PACKAGE]
1552 use target-specific I/O package [default=stdio]
1553 --enable-clocale[=MODEL]
1554 use MODEL for target locale package [default=auto]
1555 --enable-nls use Native Language Support (default)
1556 --enable-libstdcxx-allocator[=KIND]
1557 use KIND for target std::allocator base
1558 [default=auto]
1559 --enable-cheaders[=KIND]
1560 construct "C" headers for g++ [default=$c_model]
1561 --enable-long-long enable template specializations for 'long long'
1562 [default=yes]
1563 --enable-wchar_t enable template specializations for 'wchar_t'
1564 [default=yes]
1565 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1566 --enable-concept-checks use Boost-derived template checks [default=no]
1567 --enable-libstdcxx-debug-flags=FLAGS
1568 pass compiler FLAGS when building debug library
1569 [default="-gdwarf-4 -g3 -O0"]
1570 --enable-libstdcxx-debug
1571 build extra debug library [default=no]
1572 --enable-cxx-flags=FLAGS
1573 pass compiler FLAGS when building library [default=]
1574 --enable-fully-dynamic-string
1575 do not put empty strings in per-process static
1576 memory [default=no]
1577 --enable-extern-template
1578 enable extern template [default=yes]
1579 --enable-werror turns on -Werror [default=yes]
1580 --enable-vtable-verify enable vtable verify [default=no]
1581 --enable-libstdcxx-time[=KIND]
1582 use KIND for check type [default=auto]
1583 --enable-tls Use thread-local storage [default=yes]
1584 --disable-rpath do not hardcode runtime library paths
1585 --enable-linux-futex use the Linux futex system call [default=default]
1586 --enable-symvers[=STYLE]
1587 enables symbol versioning of the shared library
1588 [default=yes]
1589 --enable-libstdcxx-visibility
1590 enables visibility safe usage [default=yes]
1591 --enable-libstdcxx-dual-abi
1592 support two versions of std::string [default=yes]
1593 --enable-libstdcxx-threads
1594 enable C++11 threads support [default=auto]
1595 --enable-libstdcxx-filesystem-ts
1596 turns on ISO/IEC TS 18822 support [default=auto]
1597 --enable-version-specific-runtime-libs
1598 Specify that runtime libraries should be installed
1599 in a compiler-specific directory
1601 Optional Packages:
1602 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1603 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1604 --with-target-subdir=SUBDIR
1605 configuring in a subdirectory
1606 --with-cross-host=HOST configuring with a cross compiler
1607 --with-newlib assume newlib as a system C library
1608 --with-pic try to use only PIC/non-PIC objects [default=use
1609 both]
1610 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1611 --with-python-dir the location to install Python modules. This path is
1612 relative starting from the prefix.
1613 --with-gnu-ld assume the C compiler uses GNU ld default=no
1614 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1615 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1616 --with-system-libunwind use installed libunwind
1617 --with-default-libstdcxx-abi
1618 set the std::string ABI to use by default
1619 --with-gxx-include-dir=DIR
1620 installation directory for include files
1621 --with-gcc-major-version-only
1622 use only GCC major number in filesystem paths
1624 Some influential environment variables:
1625 CC C compiler command
1626 CFLAGS C compiler flags
1627 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1628 nonstandard directory <lib dir>
1629 LIBS libraries to pass to the linker, e.g. -l<library>
1630 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1631 you have headers in a nonstandard directory <include dir>
1632 CXX C++ compiler command
1633 CXXFLAGS C++ compiler flags
1634 CPP C preprocessor
1635 CXXCPP C++ preprocessor
1636 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1637 `c++filt', `gc++filt' on PATH.
1639 Use these variables to override the choices made by `configure' or to help
1640 it to find libraries and programs with nonstandard names/locations.
1642 Report bugs to the package provider.
1643 _ACEOF
1644 ac_status=$?
1647 if test "$ac_init_help" = "recursive"; then
1648 # If there are subdirs, report their specific --help.
1649 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1650 test -d "$ac_dir" ||
1651 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1652 continue
1653 ac_builddir=.
1655 case "$ac_dir" in
1656 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1659 # A ".." for each directory in $ac_dir_suffix.
1660 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1661 case $ac_top_builddir_sub in
1662 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1664 esac ;;
1665 esac
1666 ac_abs_top_builddir=$ac_pwd
1667 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1668 # for backward compatibility:
1669 ac_top_builddir=$ac_top_build_prefix
1671 case $srcdir in
1672 .) # We are building in place.
1673 ac_srcdir=.
1674 ac_top_srcdir=$ac_top_builddir_sub
1675 ac_abs_top_srcdir=$ac_pwd ;;
1676 [\\/]* | ?:[\\/]* ) # Absolute name.
1677 ac_srcdir=$srcdir$ac_dir_suffix;
1678 ac_top_srcdir=$srcdir
1679 ac_abs_top_srcdir=$srcdir ;;
1680 *) # Relative name.
1681 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1682 ac_top_srcdir=$ac_top_build_prefix$srcdir
1683 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1684 esac
1685 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1687 cd "$ac_dir" || { ac_status=$?; continue; }
1688 # Check for guested configure.
1689 if test -f "$ac_srcdir/configure.gnu"; then
1690 echo &&
1691 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1692 elif test -f "$ac_srcdir/configure"; then
1693 echo &&
1694 $SHELL "$ac_srcdir/configure" --help=recursive
1695 else
1696 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1697 fi || ac_status=$?
1698 cd "$ac_pwd" || { ac_status=$?; break; }
1699 done
1702 test -n "$ac_init_help" && exit $ac_status
1703 if $ac_init_version; then
1704 cat <<\_ACEOF
1705 package-unused configure version-unused
1706 generated by GNU Autoconf 2.64
1708 Copyright (C) 2009 Free Software Foundation, Inc.
1709 This configure script is free software; the Free Software Foundation
1710 gives unlimited permission to copy, distribute and modify it.
1711 _ACEOF
1712 exit
1715 ## ------------------------ ##
1716 ## Autoconf initialization. ##
1717 ## ------------------------ ##
1719 # ac_fn_c_try_compile LINENO
1720 # --------------------------
1721 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1722 ac_fn_c_try_compile ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 rm -f conftest.$ac_objext
1726 if { { ac_try="$ac_compile"
1727 case "(($ac_try" in
1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1729 *) ac_try_echo=$ac_try;;
1730 esac
1731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1732 $as_echo "$ac_try_echo"; } >&5
1733 (eval "$ac_compile") 2>conftest.err
1734 ac_status=$?
1735 if test -s conftest.err; then
1736 grep -v '^ *+' conftest.err >conftest.er1
1737 cat conftest.er1 >&5
1738 mv -f conftest.er1 conftest.err
1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1741 test $ac_status = 0; } && {
1742 test -z "$ac_c_werror_flag" ||
1743 test ! -s conftest.err
1744 } && test -s conftest.$ac_objext; then :
1745 ac_retval=0
1746 else
1747 $as_echo "$as_me: failed program was:" >&5
1748 sed 's/^/| /' conftest.$ac_ext >&5
1750 ac_retval=1
1752 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1753 return $ac_retval
1755 } # ac_fn_c_try_compile
1757 # ac_fn_cxx_try_compile LINENO
1758 # ----------------------------
1759 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1760 ac_fn_cxx_try_compile ()
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 rm -f conftest.$ac_objext
1764 if { { ac_try="$ac_compile"
1765 case "(($ac_try" in
1766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1767 *) ac_try_echo=$ac_try;;
1768 esac
1769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_compile") 2>conftest.err
1772 ac_status=$?
1773 if test -s conftest.err; then
1774 grep -v '^ *+' conftest.err >conftest.er1
1775 cat conftest.er1 >&5
1776 mv -f conftest.er1 conftest.err
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && {
1780 test -z "$ac_cxx_werror_flag" ||
1781 test ! -s conftest.err
1782 } && test -s conftest.$ac_objext; then :
1783 ac_retval=0
1784 else
1785 $as_echo "$as_me: failed program was:" >&5
1786 sed 's/^/| /' conftest.$ac_ext >&5
1788 ac_retval=1
1790 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1791 return $ac_retval
1793 } # ac_fn_cxx_try_compile
1795 # ac_fn_c_try_cpp LINENO
1796 # ----------------------
1797 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1798 ac_fn_c_try_cpp ()
1800 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1801 if { { ac_try="$ac_cpp conftest.$ac_ext"
1802 case "(($ac_try" in
1803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1804 *) ac_try_echo=$ac_try;;
1805 esac
1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1807 $as_echo "$ac_try_echo"; } >&5
1808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1809 ac_status=$?
1810 if test -s conftest.err; then
1811 grep -v '^ *+' conftest.err >conftest.er1
1812 cat conftest.er1 >&5
1813 mv -f conftest.er1 conftest.err
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } >/dev/null && {
1817 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1818 test ! -s conftest.err
1819 }; then :
1820 ac_retval=0
1821 else
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1825 ac_retval=1
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828 return $ac_retval
1830 } # ac_fn_c_try_cpp
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 ac_fn_c_try_link ()
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1840 case "(($ac_try" in
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1843 esac
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1847 ac_status=$?
1848 if test -s conftest.err; then
1849 grep -v '^ *+' conftest.err >conftest.er1
1850 cat conftest.er1 >&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 $as_test_x conftest$ac_exeext
1860 }; then :
1861 ac_retval=0
1862 else
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.$ac_ext >&5
1866 ac_retval=1
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 return $ac_retval
1876 } # ac_fn_c_try_link
1878 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1879 # -------------------------------------------------------
1880 # Tests whether HEADER exists and can be compiled using the include files in
1881 # INCLUDES, setting the cache variable VAR accordingly.
1882 ac_fn_c_check_header_compile ()
1884 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1886 $as_echo_n "checking for $2... " >&6; }
1887 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1888 $as_echo_n "(cached) " >&6
1889 else
1890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1893 #include <$2>
1894 _ACEOF
1895 if ac_fn_c_try_compile "$LINENO"; then :
1896 eval "$3=yes"
1897 else
1898 eval "$3=no"
1900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1902 eval ac_res=\$$3
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904 $as_echo "$ac_res" >&6; }
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1907 } # ac_fn_c_check_header_compile
1909 # ac_fn_c_try_run LINENO
1910 # ----------------------
1911 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1912 # that executables *can* be run.
1913 ac_fn_c_try_run ()
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 if { { ac_try="$ac_link"
1917 case "(($ac_try" in
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_link") 2>&5
1924 ac_status=$?
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1927 { { case "(($ac_try" in
1928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929 *) ac_try_echo=$ac_try;;
1930 esac
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_try") 2>&5
1934 ac_status=$?
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; }; }; then :
1937 ac_retval=0
1938 else
1939 $as_echo "$as_me: program exited with status $ac_status" >&5
1940 $as_echo "$as_me: failed program was:" >&5
1941 sed 's/^/| /' conftest.$ac_ext >&5
1943 ac_retval=$ac_status
1945 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1946 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947 return $ac_retval
1949 } # ac_fn_c_try_run
1951 # ac_fn_c_check_func LINENO FUNC VAR
1952 # ----------------------------------
1953 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1954 ac_fn_c_check_func ()
1956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1958 $as_echo_n "checking for $2... " >&6; }
1959 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1960 $as_echo_n "(cached) " >&6
1961 else
1962 if test x$gcc_no_link = xyes; then
1963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1966 /* end confdefs.h. */
1967 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1969 #define $2 innocuous_$2
1971 /* System header to define __stub macros and hopefully few prototypes,
1972 which can conflict with char $2 (); below.
1973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1974 <limits.h> exists even on freestanding compilers. */
1976 #ifdef __STDC__
1977 # include <limits.h>
1978 #else
1979 # include <assert.h>
1980 #endif
1982 #undef $2
1984 /* Override any GCC internal prototype to avoid an error.
1985 Use char because int might match the return type of a GCC
1986 builtin and then its argument prototype would still apply. */
1987 #ifdef __cplusplus
1988 extern "C"
1989 #endif
1990 char $2 ();
1991 /* The GNU C library defines this for functions which it implements
1992 to always fail with ENOSYS. Some functions are actually named
1993 something starting with __ and the normal name is an alias. */
1994 #if defined __stub_$2 || defined __stub___$2
1995 choke me
1996 #endif
1999 main ()
2001 return $2 ();
2003 return 0;
2005 _ACEOF
2006 if ac_fn_c_try_link "$LINENO"; then :
2007 eval "$3=yes"
2008 else
2009 eval "$3=no"
2011 rm -f core conftest.err conftest.$ac_objext \
2012 conftest$ac_exeext conftest.$ac_ext
2014 eval ac_res=\$$3
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 } # ac_fn_c_check_func
2021 # ac_fn_cxx_try_cpp LINENO
2022 # ------------------------
2023 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2024 ac_fn_cxx_try_cpp ()
2026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2027 if { { ac_try="$ac_cpp conftest.$ac_ext"
2028 case "(($ac_try" in
2029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2031 esac
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2035 ac_status=$?
2036 if test -s conftest.err; then
2037 grep -v '^ *+' conftest.err >conftest.er1
2038 cat conftest.er1 >&5
2039 mv -f conftest.er1 conftest.err
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; } >/dev/null && {
2043 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2044 test ! -s conftest.err
2045 }; then :
2046 ac_retval=0
2047 else
2048 $as_echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.$ac_ext >&5
2051 ac_retval=1
2053 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2054 return $ac_retval
2056 } # ac_fn_cxx_try_cpp
2058 # ac_fn_cxx_try_link LINENO
2059 # -------------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded.
2061 ac_fn_cxx_try_link ()
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 rm -f conftest.$ac_objext conftest$ac_exeext
2065 if { { ac_try="$ac_link"
2066 case "(($ac_try" in
2067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2068 *) ac_try_echo=$ac_try;;
2069 esac
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072 (eval "$ac_link") 2>conftest.err
2073 ac_status=$?
2074 if test -s conftest.err; then
2075 grep -v '^ *+' conftest.err >conftest.er1
2076 cat conftest.er1 >&5
2077 mv -f conftest.er1 conftest.err
2079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080 test $ac_status = 0; } && {
2081 test -z "$ac_cxx_werror_flag" ||
2082 test ! -s conftest.err
2083 } && test -s conftest$ac_exeext && {
2084 test "$cross_compiling" = yes ||
2085 $as_test_x conftest$ac_exeext
2086 }; then :
2087 ac_retval=0
2088 else
2089 $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.$ac_ext >&5
2092 ac_retval=1
2094 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2095 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2096 # interfere with the next link command; also delete a directory that is
2097 # left behind by Apple's compiler. We do this before executing the actions.
2098 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2100 return $ac_retval
2102 } # ac_fn_cxx_try_link
2104 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2105 # -------------------------------------------------------
2106 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2107 # the include files in INCLUDES and setting the cache variable VAR
2108 # accordingly.
2109 ac_fn_c_check_header_mongrel ()
2111 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2112 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2116 $as_echo_n "(cached) " >&6
2118 eval ac_res=\$$3
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2120 $as_echo "$ac_res" >&6; }
2121 else
2122 # Is the header compilable?
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2124 $as_echo_n "checking $2 usability... " >&6; }
2125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h. */
2128 #include <$2>
2129 _ACEOF
2130 if ac_fn_c_try_compile "$LINENO"; then :
2131 ac_header_compiler=yes
2132 else
2133 ac_header_compiler=no
2135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2137 $as_echo "$ac_header_compiler" >&6; }
2139 # Is the header present?
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2141 $as_echo_n "checking $2 presence... " >&6; }
2142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2143 /* end confdefs.h. */
2144 #include <$2>
2145 _ACEOF
2146 if ac_fn_c_try_cpp "$LINENO"; then :
2147 ac_header_preproc=yes
2148 else
2149 ac_header_preproc=no
2151 rm -f conftest.err conftest.$ac_ext
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2153 $as_echo "$ac_header_preproc" >&6; }
2155 # So? What about this header?
2156 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2157 yes:no: )
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2159 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2161 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2163 no:yes:* )
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2165 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2167 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2169 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2171 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2173 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2175 esac
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2177 $as_echo_n "checking for $2... " >&6; }
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 $as_echo_n "(cached) " >&6
2180 else
2181 eval "$3=\$ac_header_compiler"
2183 eval ac_res=\$$3
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2189 } # ac_fn_c_check_header_mongrel
2191 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2192 # ---------------------------------------------------------
2193 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2194 # the include files in INCLUDES and setting the cache variable VAR
2195 # accordingly.
2196 ac_fn_cxx_check_header_mongrel ()
2198 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2199 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2201 $as_echo_n "checking for $2... " >&6; }
2202 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2203 $as_echo_n "(cached) " >&6
2205 eval ac_res=\$$3
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2208 else
2209 # Is the header compilable?
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2211 $as_echo_n "checking $2 usability... " >&6; }
2212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2215 #include <$2>
2216 _ACEOF
2217 if ac_fn_cxx_try_compile "$LINENO"; then :
2218 ac_header_compiler=yes
2219 else
2220 ac_header_compiler=no
2222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2224 $as_echo "$ac_header_compiler" >&6; }
2226 # Is the header present?
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2228 $as_echo_n "checking $2 presence... " >&6; }
2229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h. */
2231 #include <$2>
2232 _ACEOF
2233 if ac_fn_cxx_try_cpp "$LINENO"; then :
2234 ac_header_preproc=yes
2235 else
2236 ac_header_preproc=no
2238 rm -f conftest.err conftest.$ac_ext
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2240 $as_echo "$ac_header_preproc" >&6; }
2242 # So? What about this header?
2243 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2244 yes:no: )
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2246 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2248 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2250 no:yes:* )
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2252 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2254 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2256 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2258 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2260 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2262 esac
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264 $as_echo_n "checking for $2... " >&6; }
2265 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2266 $as_echo_n "(cached) " >&6
2267 else
2268 eval "$3=\$ac_header_compiler"
2270 eval ac_res=\$$3
2271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272 $as_echo "$ac_res" >&6; }
2274 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2276 } # ac_fn_cxx_check_header_mongrel
2278 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2279 # --------------------------------------------
2280 # Tries to find the compile-time value of EXPR in a program that includes
2281 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2282 # computed
2283 ac_fn_c_compute_int ()
2285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2286 if test "$cross_compiling" = yes; then
2287 # Depending upon the size, compute the lo and hi bounds.
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2292 main ()
2294 static int test_array [1 - 2 * !(($2) >= 0)];
2295 test_array [0] = 0
2298 return 0;
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_lo=0 ac_mid=0
2303 while :; do
2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2305 /* end confdefs.h. */
2308 main ()
2310 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2311 test_array [0] = 0
2314 return 0;
2316 _ACEOF
2317 if ac_fn_c_try_compile "$LINENO"; then :
2318 ac_hi=$ac_mid; break
2319 else
2320 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2321 if test $ac_lo -le $ac_mid; then
2322 ac_lo= ac_hi=
2323 break
2325 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2328 done
2329 else
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2334 main ()
2336 static int test_array [1 - 2 * !(($2) < 0)];
2337 test_array [0] = 0
2340 return 0;
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 ac_hi=-1 ac_mid=-1
2345 while :; do
2346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2347 /* end confdefs.h. */
2350 main ()
2352 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2353 test_array [0] = 0
2356 return 0;
2358 _ACEOF
2359 if ac_fn_c_try_compile "$LINENO"; then :
2360 ac_lo=$ac_mid; break
2361 else
2362 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2363 if test $ac_mid -le $ac_hi; then
2364 ac_lo= ac_hi=
2365 break
2367 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 done
2371 else
2372 ac_lo= ac_hi=
2374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2377 # Binary search between lo and hi bounds.
2378 while test "x$ac_lo" != "x$ac_hi"; do
2379 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2381 /* end confdefs.h. */
2384 main ()
2386 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2387 test_array [0] = 0
2390 return 0;
2392 _ACEOF
2393 if ac_fn_c_try_compile "$LINENO"; then :
2394 ac_hi=$ac_mid
2395 else
2396 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2399 done
2400 case $ac_lo in #((
2401 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2402 '') ac_retval=1 ;;
2403 esac
2404 else
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2408 static long int longval () { return $2; }
2409 static unsigned long int ulongval () { return $2; }
2410 #include <stdio.h>
2411 #include <stdlib.h>
2413 main ()
2416 FILE *f = fopen ("conftest.val", "w");
2417 if (! f)
2418 return 1;
2419 if (($2) < 0)
2421 long int i = longval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%ld", i);
2426 else
2428 unsigned long int i = ulongval ();
2429 if (i != ($2))
2430 return 1;
2431 fprintf (f, "%lu", i);
2433 /* Do not output a trailing newline, as this causes \r\n confusion
2434 on some platforms. */
2435 return ferror (f) || fclose (f) != 0;
2438 return 0;
2440 _ACEOF
2441 if ac_fn_c_try_run "$LINENO"; then :
2442 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2443 else
2444 ac_retval=1
2446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2447 conftest.$ac_objext conftest.beam conftest.$ac_ext
2448 rm -f conftest.val
2451 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2452 return $ac_retval
2454 } # ac_fn_c_compute_int
2456 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2457 # -------------------------------------------
2458 # Tests whether TYPE exists after having included INCLUDES, setting cache
2459 # variable VAR accordingly.
2460 ac_fn_c_check_type ()
2462 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2464 $as_echo_n "checking for $2... " >&6; }
2465 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2466 $as_echo_n "(cached) " >&6
2467 else
2468 eval "$3=no"
2469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2470 /* end confdefs.h. */
2473 main ()
2475 if (sizeof ($2))
2476 return 0;
2478 return 0;
2480 _ACEOF
2481 if ac_fn_c_try_compile "$LINENO"; then :
2482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2483 /* end confdefs.h. */
2486 main ()
2488 if (sizeof (($2)))
2489 return 0;
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2496 else
2497 eval "$3=yes"
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2503 eval ac_res=\$$3
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2505 $as_echo "$ac_res" >&6; }
2506 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2508 } # ac_fn_c_check_type
2510 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2511 # ---------------------------------------------
2512 # Tests whether TYPE exists after having included INCLUDES, setting cache
2513 # variable VAR accordingly.
2514 ac_fn_cxx_check_type ()
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2518 $as_echo_n "checking for $2... " >&6; }
2519 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 eval "$3=no"
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2527 main ()
2529 if (sizeof ($2))
2530 return 0;
2532 return 0;
2534 _ACEOF
2535 if ac_fn_cxx_try_compile "$LINENO"; then :
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2540 main ()
2542 if (sizeof (($2)))
2543 return 0;
2545 return 0;
2547 _ACEOF
2548 if ac_fn_cxx_try_compile "$LINENO"; then :
2550 else
2551 eval "$3=yes"
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2557 eval ac_res=\$$3
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2559 $as_echo "$ac_res" >&6; }
2560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2562 } # ac_fn_cxx_check_type
2563 cat >config.log <<_ACEOF
2564 This file contains any messages produced by compilers while
2565 running configure, to aid debugging if configure makes a mistake.
2567 It was created by package-unused $as_me version-unused, which was
2568 generated by GNU Autoconf 2.64. Invocation command line was
2570 $ $0 $@
2572 _ACEOF
2573 exec 5>>config.log
2575 cat <<_ASUNAME
2576 ## --------- ##
2577 ## Platform. ##
2578 ## --------- ##
2580 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2581 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2582 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2583 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2584 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2586 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2587 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2589 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2590 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2591 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2592 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2593 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2594 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2595 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2597 _ASUNAME
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH
2602 IFS=$as_save_IFS
2603 test -z "$as_dir" && as_dir=.
2604 $as_echo "PATH: $as_dir"
2605 done
2606 IFS=$as_save_IFS
2608 } >&5
2610 cat >&5 <<_ACEOF
2613 ## ----------- ##
2614 ## Core tests. ##
2615 ## ----------- ##
2617 _ACEOF
2620 # Keep a trace of the command line.
2621 # Strip out --no-create and --no-recursion so they do not pile up.
2622 # Strip out --silent because we don't want to record it for future runs.
2623 # Also quote any args containing shell meta-characters.
2624 # Make two passes to allow for proper duplicate-argument suppression.
2625 ac_configure_args=
2626 ac_configure_args0=
2627 ac_configure_args1=
2628 ac_must_keep_next=false
2629 for ac_pass in 1 2
2631 for ac_arg
2633 case $ac_arg in
2634 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2636 | -silent | --silent | --silen | --sile | --sil)
2637 continue ;;
2638 *\'*)
2639 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2640 esac
2641 case $ac_pass in
2642 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2644 as_fn_append ac_configure_args1 " '$ac_arg'"
2645 if test $ac_must_keep_next = true; then
2646 ac_must_keep_next=false # Got value, back to normal.
2647 else
2648 case $ac_arg in
2649 *=* | --config-cache | -C | -disable-* | --disable-* \
2650 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2651 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2652 | -with-* | --with-* | -without-* | --without-* | --x)
2653 case "$ac_configure_args0 " in
2654 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2655 esac
2657 -* ) ac_must_keep_next=true ;;
2658 esac
2660 as_fn_append ac_configure_args " '$ac_arg'"
2662 esac
2663 done
2664 done
2665 { ac_configure_args0=; unset ac_configure_args0;}
2666 { ac_configure_args1=; unset ac_configure_args1;}
2668 # When interrupted or exit'd, cleanup temporary files, and complete
2669 # config.log. We remove comments because anyway the quotes in there
2670 # would cause problems or look ugly.
2671 # WARNING: Use '\'' to represent an apostrophe within the trap.
2672 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2673 trap 'exit_status=$?
2674 # Save into config.log some information that might help in debugging.
2676 echo
2678 cat <<\_ASBOX
2679 ## ---------------- ##
2680 ## Cache variables. ##
2681 ## ---------------- ##
2682 _ASBOX
2683 echo
2684 # The following way of writing the cache mishandles newlines in values,
2686 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2687 eval ac_val=\$$ac_var
2688 case $ac_val in #(
2689 *${as_nl}*)
2690 case $ac_var in #(
2691 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2692 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2693 esac
2694 case $ac_var in #(
2695 _ | IFS | as_nl) ;; #(
2696 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2697 *) { eval $ac_var=; unset $ac_var;} ;;
2698 esac ;;
2699 esac
2700 done
2701 (set) 2>&1 |
2702 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2703 *${as_nl}ac_space=\ *)
2704 sed -n \
2705 "s/'\''/'\''\\\\'\'''\''/g;
2706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2707 ;; #(
2709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2711 esac |
2712 sort
2714 echo
2716 cat <<\_ASBOX
2717 ## ----------------- ##
2718 ## Output variables. ##
2719 ## ----------------- ##
2720 _ASBOX
2721 echo
2722 for ac_var in $ac_subst_vars
2724 eval ac_val=\$$ac_var
2725 case $ac_val in
2726 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2727 esac
2728 $as_echo "$ac_var='\''$ac_val'\''"
2729 done | sort
2730 echo
2732 if test -n "$ac_subst_files"; then
2733 cat <<\_ASBOX
2734 ## ------------------- ##
2735 ## File substitutions. ##
2736 ## ------------------- ##
2737 _ASBOX
2738 echo
2739 for ac_var in $ac_subst_files
2741 eval ac_val=\$$ac_var
2742 case $ac_val in
2743 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2744 esac
2745 $as_echo "$ac_var='\''$ac_val'\''"
2746 done | sort
2747 echo
2750 if test -s confdefs.h; then
2751 cat <<\_ASBOX
2752 ## ----------- ##
2753 ## confdefs.h. ##
2754 ## ----------- ##
2755 _ASBOX
2756 echo
2757 cat confdefs.h
2758 echo
2760 test "$ac_signal" != 0 &&
2761 $as_echo "$as_me: caught signal $ac_signal"
2762 $as_echo "$as_me: exit $exit_status"
2763 } >&5
2764 rm -f core *.core core.conftest.* &&
2765 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2766 exit $exit_status
2768 for ac_signal in 1 2 13 15; do
2769 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2770 done
2771 ac_signal=0
2773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2774 rm -f -r conftest* confdefs.h
2776 $as_echo "/* confdefs.h */" > confdefs.h
2778 # Predefined preprocessor variables.
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_NAME "$PACKAGE_NAME"
2782 _ACEOF
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_STRING "$PACKAGE_STRING"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2798 _ACEOF
2800 cat >>confdefs.h <<_ACEOF
2801 #define PACKAGE_URL "$PACKAGE_URL"
2802 _ACEOF
2805 # Let the site file select an alternate cache file if it wants to.
2806 # Prefer an explicitly selected file to automatically selected ones.
2807 ac_site_file1=NONE
2808 ac_site_file2=NONE
2809 if test -n "$CONFIG_SITE"; then
2810 ac_site_file1=$CONFIG_SITE
2811 elif test "x$prefix" != xNONE; then
2812 ac_site_file1=$prefix/share/config.site
2813 ac_site_file2=$prefix/etc/config.site
2814 else
2815 ac_site_file1=$ac_default_prefix/share/config.site
2816 ac_site_file2=$ac_default_prefix/etc/config.site
2818 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2820 test "x$ac_site_file" = xNONE && continue
2821 if test -r "$ac_site_file"; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2823 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2824 sed 's/^/| /' "$ac_site_file" >&5
2825 . "$ac_site_file"
2827 done
2829 if test -r "$cache_file"; then
2830 # Some versions of bash will fail to source /dev/null (special
2831 # files actually), so we avoid doing that.
2832 if test -f "$cache_file"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2834 $as_echo "$as_me: loading cache $cache_file" >&6;}
2835 case $cache_file in
2836 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2837 *) . "./$cache_file";;
2838 esac
2840 else
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2842 $as_echo "$as_me: creating cache $cache_file" >&6;}
2843 >$cache_file
2846 # Check that the precious variables saved in the cache have kept the same
2847 # value.
2848 ac_cache_corrupted=false
2849 for ac_var in $ac_precious_vars; do
2850 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2851 eval ac_new_set=\$ac_env_${ac_var}_set
2852 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2853 eval ac_new_val=\$ac_env_${ac_var}_value
2854 case $ac_old_set,$ac_new_set in
2855 set,)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2857 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2858 ac_cache_corrupted=: ;;
2859 ,set)
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2861 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2862 ac_cache_corrupted=: ;;
2863 ,);;
2865 if test "x$ac_old_val" != "x$ac_new_val"; then
2866 # differences in whitespace do not lead to failure.
2867 ac_old_val_w=`echo x $ac_old_val`
2868 ac_new_val_w=`echo x $ac_new_val`
2869 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2871 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2872 ac_cache_corrupted=:
2873 else
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2875 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2876 eval $ac_var=\$ac_old_val
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2879 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2881 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2882 fi;;
2883 esac
2884 # Pass precious variables to config.status.
2885 if test "$ac_new_set" = set; then
2886 case $ac_new_val in
2887 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2888 *) ac_arg=$ac_var=$ac_new_val ;;
2889 esac
2890 case " $ac_configure_args " in
2891 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2892 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2893 esac
2895 done
2896 if $ac_cache_corrupted; then
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2900 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2901 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2903 ## -------------------- ##
2904 ## Main body of script. ##
2905 ## -------------------- ##
2907 ac_ext=c
2908 ac_cpp='$CPP $CPPFLAGS'
2909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2918 ac_config_headers="$ac_config_headers config.h"
2921 # This works around the fact that libtool configuration may change LD
2922 # for this particular configuration, but some shells, instead of
2923 # keeping the changes in LD private, export them just because LD is
2924 # exported. Only used at the end of this file.
2925 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2927 # Find the rest of the source tree framework.
2928 # Default to --enable-multilib
2929 # Check whether --enable-multilib was given.
2930 if test "${enable_multilib+set}" = set; then :
2931 enableval=$enable_multilib; case "$enableval" in
2932 yes) multilib=yes ;;
2933 no) multilib=no ;;
2934 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2935 esac
2936 else
2937 multilib=yes
2941 # We may get other options which we leave undocumented:
2942 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2943 # See config-ml.in if you want the gory details.
2945 if test "$srcdir" = "."; then
2946 if test "$with_target_subdir" != "."; then
2947 multi_basedir="$srcdir/$with_multisrctop../.."
2948 else
2949 multi_basedir="$srcdir/$with_multisrctop.."
2951 else
2952 multi_basedir="$srcdir/.."
2956 # Even if the default multilib is not a cross compilation,
2957 # it may be that some of the other multilibs are.
2958 if test $cross_compiling = no && test $multilib = yes \
2959 && test "x${with_multisubdir}" != x ; then
2960 cross_compiling=maybe
2963 ac_config_commands="$ac_config_commands default-1"
2966 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2968 # You will slowly go insane if you do not grok the following fact: when
2969 # building v3 as part of the compiler, the top-level /target/ becomes the
2970 # library's /host/. configure then causes --target to default to --host,
2971 # exactly like any other package using autoconf. Therefore, 'target' and
2972 # 'host' will always be the same. This makes sense both for native and
2973 # cross compilers, just think about it for a little while. :-)
2975 # Also, if v3 is being configured as part of a cross compiler, the top-level
2976 # configure script will pass the "real" host as $with_cross_host.
2978 # Do not delete or change the following two lines. For why, see
2979 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2980 ac_aux_dir=
2981 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2982 for ac_t in install-sh install.sh shtool; do
2983 if test -f "$ac_dir/$ac_t"; then
2984 ac_aux_dir=$ac_dir
2985 ac_install_sh="$ac_aux_dir/$ac_t -c"
2986 break 2
2988 done
2989 done
2990 if test -z "$ac_aux_dir"; then
2991 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2994 # These three variables are undocumented and unsupported,
2995 # and are intended to be withdrawn in a future Autoconf release.
2996 # They can cause serious problems if a builder's source tree is in a directory
2997 # whose full name contains unusual characters.
2998 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2999 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3000 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3003 # Make sure we can run config.sub.
3004 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3005 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3008 $as_echo_n "checking build system type... " >&6; }
3009 if test "${ac_cv_build+set}" = set; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 ac_build_alias=$build_alias
3013 test "x$ac_build_alias" = x &&
3014 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3015 test "x$ac_build_alias" = x &&
3016 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3017 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3018 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3022 $as_echo "$ac_cv_build" >&6; }
3023 case $ac_cv_build in
3024 *-*-*) ;;
3025 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3026 esac
3027 build=$ac_cv_build
3028 ac_save_IFS=$IFS; IFS='-'
3029 set x $ac_cv_build
3030 shift
3031 build_cpu=$1
3032 build_vendor=$2
3033 shift; shift
3034 # Remember, the first character of IFS is used to create $*,
3035 # except with old shells:
3036 build_os=$*
3037 IFS=$ac_save_IFS
3038 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3042 $as_echo_n "checking host system type... " >&6; }
3043 if test "${ac_cv_host+set}" = set; then :
3044 $as_echo_n "(cached) " >&6
3045 else
3046 if test "x$host_alias" = x; then
3047 ac_cv_host=$ac_cv_build
3048 else
3049 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3050 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3055 $as_echo "$ac_cv_host" >&6; }
3056 case $ac_cv_host in
3057 *-*-*) ;;
3058 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3059 esac
3060 host=$ac_cv_host
3061 ac_save_IFS=$IFS; IFS='-'
3062 set x $ac_cv_host
3063 shift
3064 host_cpu=$1
3065 host_vendor=$2
3066 shift; shift
3067 # Remember, the first character of IFS is used to create $*,
3068 # except with old shells:
3069 host_os=$*
3070 IFS=$ac_save_IFS
3071 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3075 $as_echo_n "checking target system type... " >&6; }
3076 if test "${ac_cv_target+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 if test "x$target_alias" = x; then
3080 ac_cv_target=$ac_cv_host
3081 else
3082 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3083 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3088 $as_echo "$ac_cv_target" >&6; }
3089 case $ac_cv_target in
3090 *-*-*) ;;
3091 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3092 esac
3093 target=$ac_cv_target
3094 ac_save_IFS=$IFS; IFS='-'
3095 set x $ac_cv_target
3096 shift
3097 target_cpu=$1
3098 target_vendor=$2
3099 shift; shift
3100 # Remember, the first character of IFS is used to create $*,
3101 # except with old shells:
3102 target_os=$*
3103 IFS=$ac_save_IFS
3104 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3107 # The aliases save the names the user supplied, while $host etc.
3108 # will get canonicalized.
3109 test -n "$target_alias" &&
3110 test "$program_prefix$program_suffix$program_transform_name" = \
3111 NONENONEs,x,x, &&
3112 program_prefix=${target_alias}-
3114 target_alias=${target_alias-$host_alias}
3116 # Handy for debugging:
3117 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3119 if test "$build" != "$host"; then
3120 # We are being configured with some form of cross compiler.
3121 GLIBCXX_IS_NATIVE=false
3122 case "$host","$target" in
3123 # Darwin crosses can use the host system's libraries and headers,
3124 # because of the fat library support. Of course, it must be the
3125 # same version of Darwin on both sides. Allow the user to
3126 # just say --target=foo-darwin without a version number to mean
3127 # "the version on this system".
3128 *-*-darwin*,*-*-darwin*)
3129 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3130 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3131 if test $hostos = $targetos -o $targetos = darwin ; then
3132 GLIBCXX_IS_NATIVE=true
3139 esac
3140 else
3141 GLIBCXX_IS_NATIVE=true
3144 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3145 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3146 # 1.x: minimum required version
3147 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3148 # of other PACKAGE_* variables will, however, and there's nothing
3149 # we can do about that; they come from AC_INIT).
3150 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3151 # file in the top srcdir, etc, etc), so stop complaining.
3152 # no-dependencies: turns off auto dependency generation (just for now)
3153 # no-dist: we don't want 'dist' and related rules.
3154 # -Wall: turns on all automake warnings...
3155 # -Wno-portability: ...except this one, since GNU make is now required.
3156 am__api_version='1.11'
3158 # Find a good install program. We prefer a C program (faster),
3159 # so one script is as good as another. But avoid the broken or
3160 # incompatible versions:
3161 # SysV /etc/install, /usr/sbin/install
3162 # SunOS /usr/etc/install
3163 # IRIX /sbin/install
3164 # AIX /bin/install
3165 # AmigaOS /C/install, which installs bootblocks on floppy discs
3166 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3167 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3168 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3169 # OS/2's system install, which has a completely different semantic
3170 # ./install, which can be erroneously created by make from ./install.sh.
3171 # Reject install programs that cannot install multiple files.
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3173 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3174 if test -z "$INSTALL"; then
3175 if test "${ac_cv_path_install+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3177 else
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3181 IFS=$as_save_IFS
3182 test -z "$as_dir" && as_dir=.
3183 # Account for people who put trailing slashes in PATH elements.
3184 case $as_dir/ in #((
3185 ./ | .// | /[cC]/* | \
3186 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3187 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3188 /usr/ucb/* ) ;;
3190 # OSF1 and SCO ODT 3.0 have their own names for install.
3191 # Don't use installbsd from OSF since it installs stuff as root
3192 # by default.
3193 for ac_prog in ginstall scoinst install; do
3194 for ac_exec_ext in '' $ac_executable_extensions; do
3195 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3196 if test $ac_prog = install &&
3197 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # AIX install. It has an incompatible calling convention.
3200 elif test $ac_prog = install &&
3201 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3202 # program-specific install script used by HP pwplus--don't use.
3204 else
3205 rm -rf conftest.one conftest.two conftest.dir
3206 echo one > conftest.one
3207 echo two > conftest.two
3208 mkdir conftest.dir
3209 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3210 test -s conftest.one && test -s conftest.two &&
3211 test -s conftest.dir/conftest.one &&
3212 test -s conftest.dir/conftest.two
3213 then
3214 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3215 break 3
3219 done
3220 done
3222 esac
3224 done
3225 IFS=$as_save_IFS
3227 rm -rf conftest.one conftest.two conftest.dir
3230 if test "${ac_cv_path_install+set}" = set; then
3231 INSTALL=$ac_cv_path_install
3232 else
3233 # As a last resort, use the slow shell script. Don't cache a
3234 # value for INSTALL within a source directory, because that will
3235 # break other packages using the cache if that directory is
3236 # removed, or if the value is a relative name.
3237 INSTALL=$ac_install_sh
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3241 $as_echo "$INSTALL" >&6; }
3243 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3244 # It thinks the first close brace ends the variable substitution.
3245 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3247 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3249 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3252 $as_echo_n "checking whether build environment is sane... " >&6; }
3253 # Just in case
3254 sleep 1
3255 echo timestamp > conftest.file
3256 # Reject unsafe characters in $srcdir or the absolute working directory
3257 # name. Accept space and tab only in the latter.
3258 am_lf='
3260 case `pwd` in
3261 *[\\\"\#\$\&\'\`$am_lf]*)
3262 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3263 esac
3264 case $srcdir in
3265 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3266 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3267 esac
3269 # Do `set' in a subshell so we don't clobber the current shell's
3270 # arguments. Must try -L first in case configure is actually a
3271 # symlink; some systems play weird games with the mod time of symlinks
3272 # (eg FreeBSD returns the mod time of the symlink's containing
3273 # directory).
3274 if (
3275 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3276 if test "$*" = "X"; then
3277 # -L didn't work.
3278 set X `ls -t "$srcdir/configure" conftest.file`
3280 rm -f conftest.file
3281 if test "$*" != "X $srcdir/configure conftest.file" \
3282 && test "$*" != "X conftest.file $srcdir/configure"; then
3284 # If neither matched, then we have a broken ls. This can happen
3285 # if, for instance, CONFIG_SHELL is bash and it inherits a
3286 # broken ls alias from the environment. This has actually
3287 # happened. Such a system could not be considered "sane".
3288 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3289 alias in your environment" "$LINENO" 5
3292 test "$2" = conftest.file
3294 then
3295 # Ok.
3297 else
3298 as_fn_error "newly created file is older than distributed files!
3299 Check your system clock" "$LINENO" 5
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3302 $as_echo "yes" >&6; }
3303 test "$program_prefix" != NONE &&
3304 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3305 # Use a double $ so make ignores it.
3306 test "$program_suffix" != NONE &&
3307 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3308 # Double any \ or $.
3309 # By default was `s,x,x', remove it if useless.
3310 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3311 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3313 # expand $ac_aux_dir to an absolute path
3314 am_aux_dir=`cd $ac_aux_dir && pwd`
3316 if test x"${MISSING+set}" != xset; then
3317 case $am_aux_dir in
3318 *\ * | *\ *)
3319 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3321 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3322 esac
3324 # Use eval to expand $SHELL
3325 if eval "$MISSING --run true"; then
3326 am_missing_run="$MISSING --run "
3327 else
3328 am_missing_run=
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3330 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3333 if test x"${install_sh}" != xset; then
3334 case $am_aux_dir in
3335 *\ * | *\ *)
3336 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3338 install_sh="\${SHELL} $am_aux_dir/install-sh"
3339 esac
3342 # Installed binaries are usually stripped using `strip' when the user
3343 # run `make install-strip'. However `strip' might not be the right
3344 # tool to use in cross-compilation environments, therefore Automake
3345 # will honor the `STRIP' environment variable to overrule this program.
3346 if test "$cross_compiling" != no; then
3347 if test -n "$ac_tool_prefix"; then
3348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3349 set dummy ${ac_tool_prefix}strip; ac_word=$2
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3351 $as_echo_n "checking for $ac_word... " >&6; }
3352 if test "${ac_cv_prog_STRIP+set}" = set; then :
3353 $as_echo_n "(cached) " >&6
3354 else
3355 if test -n "$STRIP"; then
3356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3357 else
3358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3359 for as_dir in $PATH
3361 IFS=$as_save_IFS
3362 test -z "$as_dir" && as_dir=.
3363 for ac_exec_ext in '' $ac_executable_extensions; do
3364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3367 break 2
3369 done
3370 done
3371 IFS=$as_save_IFS
3375 STRIP=$ac_cv_prog_STRIP
3376 if test -n "$STRIP"; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3378 $as_echo "$STRIP" >&6; }
3379 else
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3386 if test -z "$ac_cv_prog_STRIP"; then
3387 ac_ct_STRIP=$STRIP
3388 # Extract the first word of "strip", so it can be a program name with args.
3389 set dummy strip; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3393 $as_echo_n "(cached) " >&6
3394 else
3395 if test -n "$ac_ct_STRIP"; then
3396 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3397 else
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 for as_dir in $PATH
3401 IFS=$as_save_IFS
3402 test -z "$as_dir" && as_dir=.
3403 for ac_exec_ext in '' $ac_executable_extensions; do
3404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3405 ac_cv_prog_ac_ct_STRIP="strip"
3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 break 2
3409 done
3410 done
3411 IFS=$as_save_IFS
3415 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3416 if test -n "$ac_ct_STRIP"; then
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3418 $as_echo "$ac_ct_STRIP" >&6; }
3419 else
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3424 if test "x$ac_ct_STRIP" = x; then
3425 STRIP=":"
3426 else
3427 case $cross_compiling:$ac_tool_warned in
3428 yes:)
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3431 ac_tool_warned=yes ;;
3432 esac
3433 STRIP=$ac_ct_STRIP
3435 else
3436 STRIP="$ac_cv_prog_STRIP"
3440 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3443 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3444 if test -z "$MKDIR_P"; then
3445 if test "${ac_cv_path_mkdir+set}" = set; then :
3446 $as_echo_n "(cached) " >&6
3447 else
3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3449 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3451 IFS=$as_save_IFS
3452 test -z "$as_dir" && as_dir=.
3453 for ac_prog in mkdir gmkdir; do
3454 for ac_exec_ext in '' $ac_executable_extensions; do
3455 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3456 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3457 'mkdir (GNU coreutils) '* | \
3458 'mkdir (coreutils) '* | \
3459 'mkdir (fileutils) '4.1*)
3460 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3461 break 3;;
3462 esac
3463 done
3464 done
3465 done
3466 IFS=$as_save_IFS
3470 if test "${ac_cv_path_mkdir+set}" = set; then
3471 MKDIR_P="$ac_cv_path_mkdir -p"
3472 else
3473 # As a last resort, use the slow shell script. Don't cache a
3474 # value for MKDIR_P within a source directory, because that will
3475 # break other packages using the cache if that directory is
3476 # removed, or if the value is a relative name.
3477 test -d ./--version && rmdir ./--version
3478 MKDIR_P="$ac_install_sh -d"
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3482 $as_echo "$MKDIR_P" >&6; }
3484 mkdir_p="$MKDIR_P"
3485 case $mkdir_p in
3486 [\\/$]* | ?:[\\/]*) ;;
3487 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3488 esac
3490 for ac_prog in gawk mawk nawk awk
3492 # Extract the first word of "$ac_prog", so it can be a program name with args.
3493 set dummy $ac_prog; ac_word=$2
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3495 $as_echo_n "checking for $ac_word... " >&6; }
3496 if test "${ac_cv_prog_AWK+set}" = set; then :
3497 $as_echo_n "(cached) " >&6
3498 else
3499 if test -n "$AWK"; then
3500 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_AWK="$ac_prog"
3510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 break 2
3513 done
3514 done
3515 IFS=$as_save_IFS
3519 AWK=$ac_cv_prog_AWK
3520 if test -n "$AWK"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3522 $as_echo "$AWK" >&6; }
3523 else
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3529 test -n "$AWK" && break
3530 done
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3533 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3534 set x ${MAKE-make}
3535 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3536 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3537 $as_echo_n "(cached) " >&6
3538 else
3539 cat >conftest.make <<\_ACEOF
3540 SHELL = /bin/sh
3541 all:
3542 @echo '@@@%%%=$(MAKE)=@@@%%%'
3543 _ACEOF
3544 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3545 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3546 *@@@%%%=?*=@@@%%%*)
3547 eval ac_cv_prog_make_${ac_make}_set=yes;;
3549 eval ac_cv_prog_make_${ac_make}_set=no;;
3550 esac
3551 rm -f conftest.make
3553 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555 $as_echo "yes" >&6; }
3556 SET_MAKE=
3557 else
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3559 $as_echo "no" >&6; }
3560 SET_MAKE="MAKE=${MAKE-make}"
3563 rm -rf .tst 2>/dev/null
3564 mkdir .tst 2>/dev/null
3565 if test -d .tst; then
3566 am__leading_dot=.
3567 else
3568 am__leading_dot=_
3570 rmdir .tst 2>/dev/null
3572 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3573 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3574 # is not polluted with repeated "-I."
3575 am__isrc=' -I$(srcdir)'
3576 # test to see if srcdir already configured
3577 if test -f $srcdir/config.status; then
3578 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3582 # test whether we have cygpath
3583 if test -z "$CYGPATH_W"; then
3584 if (cygpath --version) >/dev/null 2>/dev/null; then
3585 CYGPATH_W='cygpath -w'
3586 else
3587 CYGPATH_W=echo
3592 # Define the identity of the package.
3593 PACKAGE='libstdc++'
3594 VERSION='version-unused'
3597 # Some tools Automake needs.
3599 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3602 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3605 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3608 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3611 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3613 # We need awk for the "check" target. The system "awk" is bad on
3614 # some platforms.
3615 # Always define AMTAR for backward compatibility. Yes, it's still used
3616 # in the wild :-( We should find a proper way to deprecate it ...
3617 AMTAR='$${TAR-tar}'
3619 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3628 # -fno-builtin must be present here so that a non-conflicting form of
3629 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3631 save_CXXFLAGS="$CXXFLAGS"
3632 CXXFLAGS="$CXXFLAGS -fno-builtin"
3633 ac_ext=c
3634 ac_cpp='$CPP $CPPFLAGS'
3635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3638 if test -n "$ac_tool_prefix"; then
3639 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3640 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644 $as_echo_n "(cached) " >&6
3645 else
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3650 for as_dir in $PATH
3652 IFS=$as_save_IFS
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3656 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 break 2
3660 done
3661 done
3662 IFS=$as_save_IFS
3666 CC=$ac_cv_prog_CC
3667 if test -n "$CC"; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3669 $as_echo "$CC" >&6; }
3670 else
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3672 $as_echo "no" >&6; }
3677 if test -z "$ac_cv_prog_CC"; then
3678 ac_ct_CC=$CC
3679 # Extract the first word of "gcc", so it can be a program name with args.
3680 set dummy gcc; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3685 else
3686 if test -n "$ac_ct_CC"; then
3687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3688 else
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690 for as_dir in $PATH
3692 IFS=$as_save_IFS
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 ac_cv_prog_ac_ct_CC="gcc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3700 done
3701 done
3702 IFS=$as_save_IFS
3706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3707 if test -n "$ac_ct_CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3709 $as_echo "$ac_ct_CC" >&6; }
3710 else
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3715 if test "x$ac_ct_CC" = x; then
3716 CC=""
3717 else
3718 case $cross_compiling:$ac_tool_warned in
3719 yes:)
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3721 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3722 ac_tool_warned=yes ;;
3723 esac
3724 CC=$ac_ct_CC
3726 else
3727 CC="$ac_cv_prog_CC"
3730 if test -z "$CC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3733 set dummy ${ac_tool_prefix}cc; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="${ac_tool_prefix}cc"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3753 done
3754 done
3755 IFS=$as_save_IFS
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3771 if test -z "$CC"; then
3772 # Extract the first word of "cc", so it can be a program name with args.
3773 set dummy cc; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_CC+set}" = set; then :
3777 $as_echo_n "(cached) " >&6
3778 else
3779 if test -n "$CC"; then
3780 ac_cv_prog_CC="$CC" # Let the user override the test.
3781 else
3782 ac_prog_rejected=no
3783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 for as_dir in $PATH
3786 IFS=$as_save_IFS
3787 test -z "$as_dir" && as_dir=.
3788 for ac_exec_ext in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3791 ac_prog_rejected=yes
3792 continue
3794 ac_cv_prog_CC="cc"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3798 done
3799 done
3800 IFS=$as_save_IFS
3802 if test $ac_prog_rejected = yes; then
3803 # We found a bogon in the path, so make sure we never use it.
3804 set dummy $ac_cv_prog_CC
3805 shift
3806 if test $# != 0; then
3807 # We chose a different compiler from the bogus one.
3808 # However, it has the same basename, so the bogon will be chosen
3809 # first if we set CC to just the basename; use the full file name.
3810 shift
3811 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3816 CC=$ac_cv_prog_CC
3817 if test -n "$CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3819 $as_echo "$CC" >&6; }
3820 else
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3827 if test -z "$CC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 for ac_prog in cl.exe
3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3832 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if test "${ac_cv_prog_CC+set}" = set; then :
3836 $as_echo_n "(cached) " >&6
3837 else
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 else
3841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3842 for as_dir in $PATH
3844 IFS=$as_save_IFS
3845 test -z "$as_dir" && as_dir=.
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3852 done
3853 done
3854 IFS=$as_save_IFS
3858 CC=$ac_cv_prog_CC
3859 if test -n "$CC"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3861 $as_echo "$CC" >&6; }
3862 else
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$CC" && break
3869 done
3871 if test -z "$CC"; then
3872 ac_ct_CC=$CC
3873 for ac_prog in cl.exe
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3880 $as_echo_n "(cached) " >&6
3881 else
3882 if test -n "$ac_ct_CC"; then
3883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3884 else
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3886 for as_dir in $PATH
3888 IFS=$as_save_IFS
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892 ac_cv_prog_ac_ct_CC="$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3894 break 2
3896 done
3897 done
3898 IFS=$as_save_IFS
3902 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3903 if test -n "$ac_ct_CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3905 $as_echo "$ac_ct_CC" >&6; }
3906 else
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3912 test -n "$ac_ct_CC" && break
3913 done
3915 if test "x$ac_ct_CC" = x; then
3916 CC=""
3917 else
3918 case $cross_compiling:$ac_tool_warned in
3919 yes:)
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3922 ac_tool_warned=yes ;;
3923 esac
3924 CC=$ac_ct_CC
3931 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3933 as_fn_error "no acceptable C compiler found in \$PATH
3934 See \`config.log' for more details." "$LINENO" 5; }
3936 # Provide some information about the compiler.
3937 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3938 set X $ac_compile
3939 ac_compiler=$2
3940 for ac_option in --version -v -V -qversion; do
3941 { { ac_try="$ac_compiler $ac_option >&5"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3949 ac_status=$?
3950 if test -s conftest.err; then
3951 sed '10a\
3952 ... rest of stderr output deleted ...
3953 10q' conftest.err >conftest.er1
3954 cat conftest.er1 >&5
3955 rm -f conftest.er1 conftest.err
3957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3958 test $ac_status = 0; }
3959 done
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3965 main ()
3969 return 0;
3971 _ACEOF
3972 # FIXME: Cleanup?
3973 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3974 (eval $ac_link) 2>&5
3975 ac_status=$?
3976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3977 test $ac_status = 0; }; then :
3978 gcc_no_link=no
3979 else
3980 gcc_no_link=yes
3982 if test x$gcc_no_link = xyes; then
3983 # Setting cross_compile will disable run tests; it will
3984 # also disable AC_CHECK_FILE but that's generally
3985 # correct if we can't link.
3986 cross_compiling=yes
3987 EXEEXT=
3988 else
3989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990 /* end confdefs.h. */
3993 main ()
3997 return 0;
3999 _ACEOF
4000 ac_clean_files_save=$ac_clean_files
4001 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4002 # Try to create an executable without -o first, disregard a.out.
4003 # It will help us diagnose broken compilers, and finding out an intuition
4004 # of exeext.
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4006 $as_echo_n "checking for C compiler default output file name... " >&6; }
4007 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4009 # The possible output files:
4010 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4012 ac_rmfiles=
4013 for ac_file in $ac_files
4015 case $ac_file in
4016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4017 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4018 esac
4019 done
4020 rm -f $ac_rmfiles
4022 if { { ac_try="$ac_link_default"
4023 case "(($ac_try" in
4024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4025 *) ac_try_echo=$ac_try;;
4026 esac
4027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4028 $as_echo "$ac_try_echo"; } >&5
4029 (eval "$ac_link_default") 2>&5
4030 ac_status=$?
4031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4032 test $ac_status = 0; }; then :
4033 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4034 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4035 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4036 # so that the user can short-circuit this test for compilers unknown to
4037 # Autoconf.
4038 for ac_file in $ac_files ''
4040 test -f "$ac_file" || continue
4041 case $ac_file in
4042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4044 [ab].out )
4045 # We found the default executable, but exeext='' is most
4046 # certainly right.
4047 break;;
4048 *.* )
4049 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4050 then :; else
4051 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 # We set ac_cv_exeext here because the later test for it is not
4054 # safe: cross compilers may not add the suffix if given an `-o'
4055 # argument, so we may need to know it at that point already.
4056 # Even if this section looks crufty: it has the advantage of
4057 # actually working.
4058 break;;
4060 break;;
4061 esac
4062 done
4063 test "$ac_cv_exeext" = no && ac_cv_exeext=
4065 else
4066 ac_file=''
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4069 $as_echo "$ac_file" >&6; }
4070 if test -z "$ac_file"; then :
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076 { as_fn_set_status 77
4077 as_fn_error "C compiler cannot create executables
4078 See \`config.log' for more details." "$LINENO" 5; }; }
4080 ac_exeext=$ac_cv_exeext
4082 # Check that the compiler produces executables we can run. If not, either
4083 # the compiler is broken, or we cross compile.
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4085 $as_echo_n "checking whether the C compiler works... " >&6; }
4086 # If not cross compiling, check that we can run a simple program.
4087 if test "$cross_compiling" != yes; then
4088 if { ac_try='./$ac_file'
4089 { { case "(($ac_try" in
4090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091 *) ac_try_echo=$ac_try;;
4092 esac
4093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_try") 2>&5
4096 ac_status=$?
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; }; then
4099 cross_compiling=no
4100 else
4101 if test "$cross_compiling" = maybe; then
4102 cross_compiling=yes
4103 else
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error "cannot run C compiled programs.
4107 If you meant to cross compile, use \`--host'.
4108 See \`config.log' for more details." "$LINENO" 5; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4113 $as_echo "yes" >&6; }
4115 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4116 ac_clean_files=$ac_clean_files_save
4117 # Check that the compiler produces executables we can run. If not, either
4118 # the compiler is broken, or we cross compile.
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4120 $as_echo_n "checking whether we are cross compiling... " >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4122 $as_echo "$cross_compiling" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4125 $as_echo_n "checking for suffix of executables... " >&6; }
4126 if { { ac_try="$ac_link"
4127 case "(($ac_try" in
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4130 esac
4131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4132 $as_echo "$ac_try_echo"; } >&5
4133 (eval "$ac_link") 2>&5
4134 ac_status=$?
4135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4136 test $ac_status = 0; }; then :
4137 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4138 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4139 # work properly (i.e., refer to `conftest.exe'), while it won't with
4140 # `rm'.
4141 for ac_file in conftest.exe conftest conftest.*; do
4142 test -f "$ac_file" || continue
4143 case $ac_file in
4144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4145 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4146 break;;
4147 * ) break;;
4148 esac
4149 done
4150 else
4151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error "cannot compute suffix of executables: cannot compile and link
4154 See \`config.log' for more details." "$LINENO" 5; }
4156 rm -f conftest$ac_cv_exeext
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4158 $as_echo "$ac_cv_exeext" >&6; }
4160 rm -f conftest.$ac_ext
4161 EXEEXT=$ac_cv_exeext
4162 ac_exeext=$EXEEXT
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4165 $as_echo_n "checking for suffix of object files... " >&6; }
4166 if test "${ac_cv_objext+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4168 else
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4173 main ()
4177 return 0;
4179 _ACEOF
4180 rm -f conftest.o conftest.obj
4181 if { { ac_try="$ac_compile"
4182 case "(($ac_try" in
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4185 esac
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_compile") 2>&5
4189 ac_status=$?
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 for ac_file in conftest.o conftest.obj conftest.*; do
4193 test -f "$ac_file" || continue;
4194 case $ac_file in
4195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4196 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4197 break;;
4198 esac
4199 done
4200 else
4201 $as_echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error "cannot compute suffix of object files: cannot compile
4207 See \`config.log' for more details." "$LINENO" 5; }
4209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4212 $as_echo "$ac_cv_objext" >&6; }
4213 OBJEXT=$ac_cv_objext
4214 ac_objext=$OBJEXT
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4219 else
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4224 main ()
4226 #ifndef __GNUC__
4227 choke me
4228 #endif
4231 return 0;
4233 _ACEOF
4234 if ac_fn_c_try_compile "$LINENO"; then :
4235 ac_compiler_gnu=yes
4236 else
4237 ac_compiler_gnu=no
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4245 if test $ac_compiler_gnu = yes; then
4246 GCC=yes
4247 else
4248 GCC=
4250 ac_test_CFLAGS=${CFLAGS+set}
4251 ac_save_CFLAGS=$CFLAGS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4254 if test "${ac_cv_prog_cc_g+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 ac_save_c_werror_flag=$ac_c_werror_flag
4258 ac_c_werror_flag=yes
4259 ac_cv_prog_cc_g=no
4260 CFLAGS="-g"
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 if ac_fn_c_try_compile "$LINENO"; then :
4273 ac_cv_prog_cc_g=yes
4274 else
4275 CFLAGS=""
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4280 main ()
4284 return 0;
4286 _ACEOF
4287 if ac_fn_c_try_compile "$LINENO"; then :
4289 else
4290 ac_c_werror_flag=$ac_save_c_werror_flag
4291 CFLAGS="-g"
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4296 main ()
4300 return 0;
4302 _ACEOF
4303 if ac_fn_c_try_compile "$LINENO"; then :
4304 ac_cv_prog_cc_g=yes
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4314 $as_echo "$ac_cv_prog_cc_g" >&6; }
4315 if test "$ac_test_CFLAGS" = set; then
4316 CFLAGS=$ac_save_CFLAGS
4317 elif test $ac_cv_prog_cc_g = yes; then
4318 if test "$GCC" = yes; then
4319 CFLAGS="-g -O2"
4320 else
4321 CFLAGS="-g"
4323 else
4324 if test "$GCC" = yes; then
4325 CFLAGS="-O2"
4326 else
4327 CFLAGS=
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4334 else
4335 ac_cv_prog_cc_c89=no
4336 ac_save_CC=$CC
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4339 #include <stdarg.h>
4340 #include <stdio.h>
4341 #include <sys/types.h>
4342 #include <sys/stat.h>
4343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4344 struct buf { int x; };
4345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4346 static char *e (p, i)
4347 char **p;
4348 int i;
4350 return p[i];
4352 static char *f (char * (*g) (char **, int), char **p, ...)
4354 char *s;
4355 va_list v;
4356 va_start (v,p);
4357 s = g (p, va_arg (v,int));
4358 va_end (v);
4359 return s;
4362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4363 function prototypes and stuff, but not '\xHH' hex character constants.
4364 These don't provoke an error unfortunately, instead are silently treated
4365 as 'x'. The following induces an error, until -std is added to get
4366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4367 array size at least. It's necessary to write '\x00'==0 to get something
4368 that's true only with -std. */
4369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372 inside strings and character constants. */
4373 #define FOO(x) 'x'
4374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4376 int test (int i, double x);
4377 struct s1 {int (*f) (int a);};
4378 struct s2 {int (*f) (double a);};
4379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4380 int argc;
4381 char **argv;
4383 main ()
4385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4387 return 0;
4389 _ACEOF
4390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4393 CC="$ac_save_CC $ac_arg"
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_c89=$ac_arg
4397 rm -f core conftest.err conftest.$ac_objext
4398 test "x$ac_cv_prog_cc_c89" != "xno" && break
4399 done
4400 rm -f conftest.$ac_ext
4401 CC=$ac_save_CC
4404 # AC_CACHE_VAL
4405 case "x$ac_cv_prog_cc_c89" in
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 $as_echo "none needed" >&6; } ;;
4409 xno)
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4411 $as_echo "unsupported" >&6; } ;;
4413 CC="$CC $ac_cv_prog_cc_c89"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4416 esac
4417 if test "x$ac_cv_prog_cc_c89" != xno; then :
4421 ac_ext=c
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427 ac_ext=cpp
4428 ac_cpp='$CXXCPP $CPPFLAGS'
4429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4432 if test -z "$CXX"; then
4433 if test -n "$CCC"; then
4434 CXX=$CCC
4435 else
4436 if test -n "$ac_tool_prefix"; then
4437 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4442 $as_echo_n "checking for $ac_word... " >&6; }
4443 if test "${ac_cv_prog_CXX+set}" = set; then :
4444 $as_echo_n "(cached) " >&6
4445 else
4446 if test -n "$CXX"; then
4447 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4448 else
4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450 for as_dir in $PATH
4452 IFS=$as_save_IFS
4453 test -z "$as_dir" && as_dir=.
4454 for ac_exec_ext in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458 break 2
4460 done
4461 done
4462 IFS=$as_save_IFS
4466 CXX=$ac_cv_prog_CXX
4467 if test -n "$CXX"; then
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4469 $as_echo "$CXX" >&6; }
4470 else
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472 $as_echo "no" >&6; }
4476 test -n "$CXX" && break
4477 done
4479 if test -z "$CXX"; then
4480 ac_ct_CXX=$CXX
4481 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4483 # Extract the first word of "$ac_prog", so it can be a program name with args.
4484 set dummy $ac_prog; ac_word=$2
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4489 else
4490 if test -n "$ac_ct_CXX"; then
4491 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4492 else
4493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4494 for as_dir in $PATH
4496 IFS=$as_save_IFS
4497 test -z "$as_dir" && as_dir=.
4498 for ac_exec_ext in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4500 ac_cv_prog_ac_ct_CXX="$ac_prog"
4501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 break 2
4504 done
4505 done
4506 IFS=$as_save_IFS
4510 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4511 if test -n "$ac_ct_CXX"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4513 $as_echo "$ac_ct_CXX" >&6; }
4514 else
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4520 test -n "$ac_ct_CXX" && break
4521 done
4523 if test "x$ac_ct_CXX" = x; then
4524 CXX="g++"
4525 else
4526 case $cross_compiling:$ac_tool_warned in
4527 yes:)
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4530 ac_tool_warned=yes ;;
4531 esac
4532 CXX=$ac_ct_CXX
4538 # Provide some information about the compiler.
4539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4540 set X $ac_compile
4541 ac_compiler=$2
4542 for ac_option in --version -v -V -qversion; do
4543 { { ac_try="$ac_compiler $ac_option >&5"
4544 case "(($ac_try" in
4545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4546 *) ac_try_echo=$ac_try;;
4547 esac
4548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4549 $as_echo "$ac_try_echo"; } >&5
4550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4551 ac_status=$?
4552 if test -s conftest.err; then
4553 sed '10a\
4554 ... rest of stderr output deleted ...
4555 10q' conftest.err >conftest.er1
4556 cat conftest.er1 >&5
4557 rm -f conftest.er1 conftest.err
4559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4560 test $ac_status = 0; }
4561 done
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4564 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4565 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4566 $as_echo_n "(cached) " >&6
4567 else
4568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4569 /* end confdefs.h. */
4572 main ()
4574 #ifndef __GNUC__
4575 choke me
4576 #endif
4579 return 0;
4581 _ACEOF
4582 if ac_fn_cxx_try_compile "$LINENO"; then :
4583 ac_compiler_gnu=yes
4584 else
4585 ac_compiler_gnu=no
4587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4592 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4593 if test $ac_compiler_gnu = yes; then
4594 GXX=yes
4595 else
4596 GXX=
4598 ac_test_CXXFLAGS=${CXXFLAGS+set}
4599 ac_save_CXXFLAGS=$CXXFLAGS
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4601 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4602 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4606 ac_cxx_werror_flag=yes
4607 ac_cv_prog_cxx_g=no
4608 CXXFLAGS="-g"
4609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4610 /* end confdefs.h. */
4613 main ()
4617 return 0;
4619 _ACEOF
4620 if ac_fn_cxx_try_compile "$LINENO"; then :
4621 ac_cv_prog_cxx_g=yes
4622 else
4623 CXXFLAGS=""
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4628 main ()
4632 return 0;
4634 _ACEOF
4635 if ac_fn_cxx_try_compile "$LINENO"; then :
4637 else
4638 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4639 CXXFLAGS="-g"
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4644 main ()
4648 return 0;
4650 _ACEOF
4651 if ac_fn_cxx_try_compile "$LINENO"; then :
4652 ac_cv_prog_cxx_g=yes
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4662 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4663 if test "$ac_test_CXXFLAGS" = set; then
4664 CXXFLAGS=$ac_save_CXXFLAGS
4665 elif test $ac_cv_prog_cxx_g = yes; then
4666 if test "$GXX" = yes; then
4667 CXXFLAGS="-g -O2"
4668 else
4669 CXXFLAGS="-g"
4671 else
4672 if test "$GXX" = yes; then
4673 CXXFLAGS="-O2"
4674 else
4675 CXXFLAGS=
4678 ac_ext=c
4679 ac_cpp='$CPP $CPPFLAGS'
4680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4684 CXXFLAGS="$save_CXXFLAGS"
4686 # Runs configure.host, and assorted other critical bits. Sets
4687 # up critical shell variables.
4689 ac_ext=c
4690 ac_cpp='$CPP $CPPFLAGS'
4691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4695 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4696 # On Suns, sometimes $CPP names a directory.
4697 if test -n "$CPP" && test -d "$CPP"; then
4698 CPP=
4700 if test -z "$CPP"; then
4701 if test "${ac_cv_prog_CPP+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 # Double quotes because CPP needs to be expanded
4705 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4707 ac_preproc_ok=false
4708 for ac_c_preproc_warn_flag in '' yes
4710 # Use a header file that comes with gcc, so configuring glibc
4711 # with a fresh cross-compiler works.
4712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4713 # <limits.h> exists even on freestanding compilers.
4714 # On the NeXT, cc -E runs the code through the compiler's parser,
4715 # not just through cpp. "Syntax error" is here to catch this case.
4716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4717 /* end confdefs.h. */
4718 #ifdef __STDC__
4719 # include <limits.h>
4720 #else
4721 # include <assert.h>
4722 #endif
4723 Syntax error
4724 _ACEOF
4725 if ac_fn_c_try_cpp "$LINENO"; then :
4727 else
4728 # Broken: fails on valid input.
4729 continue
4731 rm -f conftest.err conftest.$ac_ext
4733 # OK, works on sane cases. Now check whether nonexistent headers
4734 # can be detected and how.
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4737 #include <ac_nonexistent.h>
4738 _ACEOF
4739 if ac_fn_c_try_cpp "$LINENO"; then :
4740 # Broken: success on invalid input.
4741 continue
4742 else
4743 # Passes both tests.
4744 ac_preproc_ok=:
4745 break
4747 rm -f conftest.err conftest.$ac_ext
4749 done
4750 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4751 rm -f conftest.err conftest.$ac_ext
4752 if $ac_preproc_ok; then :
4753 break
4756 done
4757 ac_cv_prog_CPP=$CPP
4760 CPP=$ac_cv_prog_CPP
4761 else
4762 ac_cv_prog_CPP=$CPP
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4765 $as_echo "$CPP" >&6; }
4766 ac_preproc_ok=false
4767 for ac_c_preproc_warn_flag in '' yes
4769 # Use a header file that comes with gcc, so configuring glibc
4770 # with a fresh cross-compiler works.
4771 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4772 # <limits.h> exists even on freestanding compilers.
4773 # On the NeXT, cc -E runs the code through the compiler's parser,
4774 # not just through cpp. "Syntax error" is here to catch this case.
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4777 #ifdef __STDC__
4778 # include <limits.h>
4779 #else
4780 # include <assert.h>
4781 #endif
4782 Syntax error
4783 _ACEOF
4784 if ac_fn_c_try_cpp "$LINENO"; then :
4786 else
4787 # Broken: fails on valid input.
4788 continue
4790 rm -f conftest.err conftest.$ac_ext
4792 # OK, works on sane cases. Now check whether nonexistent headers
4793 # can be detected and how.
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <ac_nonexistent.h>
4797 _ACEOF
4798 if ac_fn_c_try_cpp "$LINENO"; then :
4799 # Broken: success on invalid input.
4800 continue
4801 else
4802 # Passes both tests.
4803 ac_preproc_ok=:
4804 break
4806 rm -f conftest.err conftest.$ac_ext
4808 done
4809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4810 rm -f conftest.err conftest.$ac_ext
4811 if $ac_preproc_ok; then :
4813 else
4814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4816 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4817 See \`config.log' for more details." "$LINENO" 5; }
4820 ac_ext=c
4821 ac_cpp='$CPP $CPPFLAGS'
4822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4828 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4829 if test "${ac_cv_path_GREP+set}" = set; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 if test -z "$GREP"; then
4833 ac_path_GREP_found=false
4834 # Loop through the user's path and test for each of PROGNAME-LIST
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_prog in grep ggrep; do
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4843 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4844 # Check for GNU ac_path_GREP and select it if it is found.
4845 # Check for GNU $ac_path_GREP
4846 case `"$ac_path_GREP" --version 2>&1` in
4847 *GNU*)
4848 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4850 ac_count=0
4851 $as_echo_n 0123456789 >"conftest.in"
4852 while :
4854 cat "conftest.in" "conftest.in" >"conftest.tmp"
4855 mv "conftest.tmp" "conftest.in"
4856 cp "conftest.in" "conftest.nl"
4857 $as_echo 'GREP' >> "conftest.nl"
4858 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4859 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4860 as_fn_arith $ac_count + 1 && ac_count=$as_val
4861 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4862 # Best one so far, save it but keep looking for a better one
4863 ac_cv_path_GREP="$ac_path_GREP"
4864 ac_path_GREP_max=$ac_count
4866 # 10*(2^10) chars as input seems more than enough
4867 test $ac_count -gt 10 && break
4868 done
4869 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4870 esac
4872 $ac_path_GREP_found && break 3
4873 done
4874 done
4875 done
4876 IFS=$as_save_IFS
4877 if test -z "$ac_cv_path_GREP"; then
4878 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4880 else
4881 ac_cv_path_GREP=$GREP
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4886 $as_echo "$ac_cv_path_GREP" >&6; }
4887 GREP="$ac_cv_path_GREP"
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4891 $as_echo_n "checking for egrep... " >&6; }
4892 if test "${ac_cv_path_EGREP+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4896 then ac_cv_path_EGREP="$GREP -E"
4897 else
4898 if test -z "$EGREP"; then
4899 ac_path_EGREP_found=false
4900 # Loop through the user's path and test for each of PROGNAME-LIST
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 for ac_prog in egrep; do
4907 for ac_exec_ext in '' $ac_executable_extensions; do
4908 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4909 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4910 # Check for GNU ac_path_EGREP and select it if it is found.
4911 # Check for GNU $ac_path_EGREP
4912 case `"$ac_path_EGREP" --version 2>&1` in
4913 *GNU*)
4914 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4916 ac_count=0
4917 $as_echo_n 0123456789 >"conftest.in"
4918 while :
4920 cat "conftest.in" "conftest.in" >"conftest.tmp"
4921 mv "conftest.tmp" "conftest.in"
4922 cp "conftest.in" "conftest.nl"
4923 $as_echo 'EGREP' >> "conftest.nl"
4924 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4925 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4926 as_fn_arith $ac_count + 1 && ac_count=$as_val
4927 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4928 # Best one so far, save it but keep looking for a better one
4929 ac_cv_path_EGREP="$ac_path_EGREP"
4930 ac_path_EGREP_max=$ac_count
4932 # 10*(2^10) chars as input seems more than enough
4933 test $ac_count -gt 10 && break
4934 done
4935 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4936 esac
4938 $ac_path_EGREP_found && break 3
4939 done
4940 done
4941 done
4942 IFS=$as_save_IFS
4943 if test -z "$ac_cv_path_EGREP"; then
4944 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4946 else
4947 ac_cv_path_EGREP=$EGREP
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4953 $as_echo "$ac_cv_path_EGREP" >&6; }
4954 EGREP="$ac_cv_path_EGREP"
4958 # Keep these sync'd with the list in Makefile.am. The first provides an
4959 # expandable list at autoconf time; the second provides an expandable list
4960 # (i.e., shell variable) at configure time.
4962 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4964 # These need to be absolute paths, yet at the same time need to
4965 # canonicalize only relative paths, because then amd will not unmount
4966 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4967 glibcxx_builddir=`${PWDCMD-pwd}`
4968 case $srcdir in
4969 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4970 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4971 esac
4972 toplevel_builddir=${glibcxx_builddir}/..
4973 toplevel_srcdir=${glibcxx_srcdir}/..
4979 # We use these options to decide which functions to include. They are
4980 # set from the top level.
4982 # Check whether --with-target-subdir was given.
4983 if test "${with_target_subdir+set}" = set; then :
4984 withval=$with_target_subdir;
4989 # Check whether --with-cross-host was given.
4990 if test "${with_cross_host+set}" = set; then :
4991 withval=$with_cross_host;
4996 # Check whether --with-newlib was given.
4997 if test "${with_newlib+set}" = set; then :
4998 withval=$with_newlib;
5002 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5003 # available). Uncomment the next line to force a particular method.
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5005 $as_echo_n "checking whether ln -s works... " >&6; }
5006 LN_S=$as_ln_s
5007 if test "$LN_S" = "ln -s"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5009 $as_echo "yes" >&6; }
5010 else
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5012 $as_echo "no, using $LN_S" >&6; }
5015 #LN_S='cp -p'
5017 if test -n "$ac_tool_prefix"; then
5018 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5019 set dummy ${ac_tool_prefix}as; ac_word=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if test "${ac_cv_prog_AS+set}" = set; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 if test -n "$AS"; then
5026 ac_cv_prog_AS="$AS" # Let the user override the test.
5027 else
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH
5031 IFS=$as_save_IFS
5032 test -z "$as_dir" && as_dir=.
5033 for ac_exec_ext in '' $ac_executable_extensions; do
5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5035 ac_cv_prog_AS="${ac_tool_prefix}as"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 break 2
5039 done
5040 done
5041 IFS=$as_save_IFS
5045 AS=$ac_cv_prog_AS
5046 if test -n "$AS"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5048 $as_echo "$AS" >&6; }
5049 else
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5056 if test -z "$ac_cv_prog_AS"; then
5057 ac_ct_AS=$AS
5058 # Extract the first word of "as", so it can be a program name with args.
5059 set dummy as; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5064 else
5065 if test -n "$ac_ct_AS"; then
5066 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5067 else
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5071 IFS=$as_save_IFS
5072 test -z "$as_dir" && as_dir=.
5073 for ac_exec_ext in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_ac_ct_AS="as"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 break 2
5079 done
5080 done
5081 IFS=$as_save_IFS
5085 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5086 if test -n "$ac_ct_AS"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5088 $as_echo "$ac_ct_AS" >&6; }
5089 else
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5094 if test "x$ac_ct_AS" = x; then
5095 AS=""
5096 else
5097 case $cross_compiling:$ac_tool_warned in
5098 yes:)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5100 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5101 ac_tool_warned=yes ;;
5102 esac
5103 AS=$ac_ct_AS
5105 else
5106 AS="$ac_cv_prog_AS"
5109 if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5111 set dummy ${ac_tool_prefix}ar; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if test "${ac_cv_prog_AR+set}" = set; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$AR"; then
5118 ac_cv_prog_AR="$AR" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_AR="${ac_tool_prefix}ar"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 AR=$ac_cv_prog_AR
5138 if test -n "$AR"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5140 $as_echo "$AR" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5148 if test -z "$ac_cv_prog_AR"; then
5149 ac_ct_AR=$AR
5150 # Extract the first word of "ar", so it can be a program name with args.
5151 set dummy ar; ac_word=$2
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5153 $as_echo_n "checking for $ac_word... " >&6; }
5154 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5155 $as_echo_n "(cached) " >&6
5156 else
5157 if test -n "$ac_ct_AR"; then
5158 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5167 ac_cv_prog_ac_ct_AR="ar"
5168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5173 IFS=$as_save_IFS
5177 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5178 if test -n "$ac_ct_AR"; then
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5180 $as_echo "$ac_ct_AR" >&6; }
5181 else
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5183 $as_echo "no" >&6; }
5186 if test "x$ac_ct_AR" = x; then
5187 AR=""
5188 else
5189 case $cross_compiling:$ac_tool_warned in
5190 yes:)
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AR=$ac_ct_AR
5197 else
5198 AR="$ac_cv_prog_AR"
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5208 else
5209 if test -n "$RANLIB"; then
5210 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 RANLIB=$ac_cv_prog_RANLIB
5230 if test -n "$RANLIB"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5232 $as_echo "$RANLIB" >&6; }
5233 else
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5240 if test -z "$ac_cv_prog_RANLIB"; then
5241 ac_ct_RANLIB=$RANLIB
5242 # Extract the first word of "ranlib", so it can be a program name with args.
5243 set dummy ranlib; ac_word=$2
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5245 $as_echo_n "checking for $ac_word... " >&6; }
5246 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5248 else
5249 if test -n "$ac_ct_RANLIB"; then
5250 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_RANLIB="ranlib"
5260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5270 if test -n "$ac_ct_RANLIB"; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5272 $as_echo "$ac_ct_RANLIB" >&6; }
5273 else
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5275 $as_echo "no" >&6; }
5278 if test "x$ac_ct_RANLIB" = x; then
5279 RANLIB="ranlib-not-found-in-path-error"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5285 ac_tool_warned=yes ;;
5286 esac
5287 RANLIB=$ac_ct_RANLIB
5289 else
5290 RANLIB="$ac_cv_prog_RANLIB"
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5296 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5297 # Check whether --enable-maintainer-mode was given.
5298 if test "${enable_maintainer_mode+set}" = set; then :
5299 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5300 else
5301 USE_MAINTAINER_MODE=no
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5305 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5306 if test $USE_MAINTAINER_MODE = yes; then
5307 MAINTAINER_MODE_TRUE=
5308 MAINTAINER_MODE_FALSE='#'
5309 else
5310 MAINTAINER_MODE_TRUE='#'
5311 MAINTAINER_MODE_FALSE=
5314 MAINT=$MAINTAINER_MODE_TRUE
5318 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5319 # which are themselves conditionally expanded.
5320 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5321 ## other macros from doing the same. This should be automated.) -pme
5323 # Check for C library flavor since GNU/Linux platforms use different
5324 # configuration directories depending on the C library in use.
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5328 #include <stdio.h>
5329 #if __UCLIBC__
5330 _using_uclibc
5331 #endif
5333 _ACEOF
5334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5335 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5336 uclibc=yes
5337 else
5338 uclibc=no
5340 rm -f conftest*
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5346 #include <stdio.h>
5347 #if __BIONIC__
5348 _using_bionic
5349 #endif
5351 _ACEOF
5352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5353 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5354 bionic=yes
5355 else
5356 bionic=no
5358 rm -f conftest*
5361 # Find platform-specific directories containing configuration info.
5362 # Also possibly modify flags used elsewhere, as needed by the platform.
5364 . $glibcxx_srcdir/configure.host
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5366 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5368 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5372 # Libtool setup.
5373 if test "x${with_newlib}" != "xyes"; then
5374 enable_dlopen=yes
5379 case `pwd` in
5380 *\ * | *\ *)
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5382 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5383 esac
5387 macro_version='2.2.7a'
5388 macro_revision='1.3134'
5402 ltmain="$ac_aux_dir/ltmain.sh"
5404 # Backslashify metacharacters that are still active within
5405 # double-quoted strings.
5406 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5408 # Same as above, but do not quote variable references.
5409 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5411 # Sed substitution to delay expansion of an escaped shell variable in a
5412 # double_quote_subst'ed string.
5413 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5415 # Sed substitution to delay expansion of an escaped single quote.
5416 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5418 # Sed substitution to avoid accidental globbing in evaled expressions
5419 no_glob_subst='s/\*/\\\*/g'
5421 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5422 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5423 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5426 $as_echo_n "checking how to print strings... " >&6; }
5427 # Test print first, because it will be a builtin if present.
5428 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5429 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5430 ECHO='print -r --'
5431 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5432 ECHO='printf %s\n'
5433 else
5434 # Use this function as a fallback that always works.
5435 func_fallback_echo ()
5437 eval 'cat <<_LTECHO_EOF
5439 _LTECHO_EOF'
5441 ECHO='func_fallback_echo'
5444 # func_echo_all arg...
5445 # Invoke $ECHO with all args, space-separated.
5446 func_echo_all ()
5448 $ECHO ""
5451 case "$ECHO" in
5452 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5453 $as_echo "printf" >&6; } ;;
5454 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5455 $as_echo "print -r" >&6; } ;;
5456 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5457 $as_echo "cat" >&6; } ;;
5458 esac
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5474 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5475 if test "${ac_cv_path_SED+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5479 for ac_i in 1 2 3 4 5 6 7; do
5480 ac_script="$ac_script$as_nl$ac_script"
5481 done
5482 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5483 { ac_script=; unset ac_script;}
5484 if test -z "$SED"; then
5485 ac_path_SED_found=false
5486 # Loop through the user's path and test for each of PROGNAME-LIST
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_prog in sed gsed; do
5493 for ac_exec_ext in '' $ac_executable_extensions; do
5494 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5495 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5496 # Check for GNU ac_path_SED and select it if it is found.
5497 # Check for GNU $ac_path_SED
5498 case `"$ac_path_SED" --version 2>&1` in
5499 *GNU*)
5500 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5502 ac_count=0
5503 $as_echo_n 0123456789 >"conftest.in"
5504 while :
5506 cat "conftest.in" "conftest.in" >"conftest.tmp"
5507 mv "conftest.tmp" "conftest.in"
5508 cp "conftest.in" "conftest.nl"
5509 $as_echo '' >> "conftest.nl"
5510 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5511 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5512 as_fn_arith $ac_count + 1 && ac_count=$as_val
5513 if test $ac_count -gt ${ac_path_SED_max-0}; then
5514 # Best one so far, save it but keep looking for a better one
5515 ac_cv_path_SED="$ac_path_SED"
5516 ac_path_SED_max=$ac_count
5518 # 10*(2^10) chars as input seems more than enough
5519 test $ac_count -gt 10 && break
5520 done
5521 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5522 esac
5524 $ac_path_SED_found && break 3
5525 done
5526 done
5527 done
5528 IFS=$as_save_IFS
5529 if test -z "$ac_cv_path_SED"; then
5530 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5532 else
5533 ac_cv_path_SED=$SED
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5538 $as_echo "$ac_cv_path_SED" >&6; }
5539 SED="$ac_cv_path_SED"
5540 rm -f conftest.sed
5542 test -z "$SED" && SED=sed
5543 Xsed="$SED -e 1s/^X//"
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5556 $as_echo_n "checking for fgrep... " >&6; }
5557 if test "${ac_cv_path_FGREP+set}" = set; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5561 then ac_cv_path_FGREP="$GREP -F"
5562 else
5563 if test -z "$FGREP"; then
5564 ac_path_FGREP_found=false
5565 # Loop through the user's path and test for each of PROGNAME-LIST
5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5567 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5569 IFS=$as_save_IFS
5570 test -z "$as_dir" && as_dir=.
5571 for ac_prog in fgrep; do
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5574 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5575 # Check for GNU ac_path_FGREP and select it if it is found.
5576 # Check for GNU $ac_path_FGREP
5577 case `"$ac_path_FGREP" --version 2>&1` in
5578 *GNU*)
5579 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5581 ac_count=0
5582 $as_echo_n 0123456789 >"conftest.in"
5583 while :
5585 cat "conftest.in" "conftest.in" >"conftest.tmp"
5586 mv "conftest.tmp" "conftest.in"
5587 cp "conftest.in" "conftest.nl"
5588 $as_echo 'FGREP' >> "conftest.nl"
5589 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5590 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5591 as_fn_arith $ac_count + 1 && ac_count=$as_val
5592 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5593 # Best one so far, save it but keep looking for a better one
5594 ac_cv_path_FGREP="$ac_path_FGREP"
5595 ac_path_FGREP_max=$ac_count
5597 # 10*(2^10) chars as input seems more than enough
5598 test $ac_count -gt 10 && break
5599 done
5600 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5601 esac
5603 $ac_path_FGREP_found && break 3
5604 done
5605 done
5606 done
5607 IFS=$as_save_IFS
5608 if test -z "$ac_cv_path_FGREP"; then
5609 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5611 else
5612 ac_cv_path_FGREP=$FGREP
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5618 $as_echo "$ac_cv_path_FGREP" >&6; }
5619 FGREP="$ac_cv_path_FGREP"
5622 test -z "$GREP" && GREP=grep
5642 # Check whether --with-gnu-ld was given.
5643 if test "${with_gnu_ld+set}" = set; then :
5644 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5645 else
5646 with_gnu_ld=no
5649 ac_prog=ld
5650 if test "$GCC" = yes; then
5651 # Check if gcc -print-prog-name=ld gives a path.
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5653 $as_echo_n "checking for ld used by $CC... " >&6; }
5654 case $host in
5655 *-*-mingw*)
5656 # gcc leaves a trailing carriage return which upsets mingw
5657 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5659 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5660 esac
5661 case $ac_prog in
5662 # Accept absolute paths.
5663 [\\/]* | ?:[\\/]*)
5664 re_direlt='/[^/][^/]*/\.\./'
5665 # Canonicalize the pathname of ld
5666 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5667 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5668 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5669 done
5670 test -z "$LD" && LD="$ac_prog"
5673 # If it fails, then pretend we aren't using GCC.
5674 ac_prog=ld
5677 # If it is relative, then search for the first ld in PATH.
5678 with_gnu_ld=unknown
5680 esac
5681 elif test "$with_gnu_ld" = yes; then
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5683 $as_echo_n "checking for GNU ld... " >&6; }
5684 else
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5686 $as_echo_n "checking for non-GNU ld... " >&6; }
5688 if test "${lt_cv_path_LD+set}" = set; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 if test -z "$LD"; then
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5697 lt_cv_path_LD="$ac_dir/$ac_prog"
5698 # Check to see if the program is GNU ld. I'd rather use --version,
5699 # but apparently some variants of GNU ld only accept -v.
5700 # Break only if it was the GNU/non-GNU ld that we prefer.
5701 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5702 *GNU* | *'with BFD'*)
5703 test "$with_gnu_ld" != no && break
5706 test "$with_gnu_ld" != yes && break
5708 esac
5710 done
5711 IFS="$lt_save_ifs"
5712 else
5713 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5717 LD="$lt_cv_path_LD"
5718 if test -n "$LD"; then
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5720 $as_echo "$LD" >&6; }
5721 else
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723 $as_echo "no" >&6; }
5725 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5727 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5728 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5732 case `$LD -v 2>&1 </dev/null` in
5733 *GNU* | *'with BFD'*)
5734 lt_cv_prog_gnu_ld=yes
5737 lt_cv_prog_gnu_ld=no
5739 esac
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5742 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5743 with_gnu_ld=$lt_cv_prog_gnu_ld
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5754 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5755 if test "${lt_cv_path_NM+set}" = set; then :
5756 $as_echo_n "(cached) " >&6
5757 else
5758 if test -n "$NM"; then
5759 # Let the user override the test.
5760 lt_cv_path_NM="$NM"
5761 else
5762 lt_nm_to_check="${ac_tool_prefix}nm"
5763 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5764 lt_nm_to_check="$lt_nm_to_check nm"
5766 for lt_tmp_nm in $lt_nm_to_check; do
5767 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5768 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5769 IFS="$lt_save_ifs"
5770 test -z "$ac_dir" && ac_dir=.
5771 tmp_nm="$ac_dir/$lt_tmp_nm"
5772 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5773 # Check to see if the nm accepts a BSD-compat flag.
5774 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5775 # nm: unknown option "B" ignored
5776 # Tru64's nm complains that /dev/null is an invalid object file
5777 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5778 */dev/null* | *'Invalid file or object type'*)
5779 lt_cv_path_NM="$tmp_nm -B"
5780 break
5783 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5784 */dev/null*)
5785 lt_cv_path_NM="$tmp_nm -p"
5786 break
5789 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5790 continue # so that we can try to find one that supports BSD flags
5792 esac
5794 esac
5796 done
5797 IFS="$lt_save_ifs"
5798 done
5799 : ${lt_cv_path_NM=no}
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5803 $as_echo "$lt_cv_path_NM" >&6; }
5804 if test "$lt_cv_path_NM" != "no"; then
5805 NM="$lt_cv_path_NM"
5806 else
5807 # Didn't find any BSD compatible name lister, look for dumpbin.
5808 if test -n "$DUMPBIN"; then :
5809 # Let the user override the test.
5810 else
5811 if test -n "$ac_tool_prefix"; then
5812 for ac_prog in dumpbin "link -dump"
5814 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5815 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$DUMPBIN"; then
5822 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5831 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 DUMPBIN=$ac_cv_prog_DUMPBIN
5842 if test -n "$DUMPBIN"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5844 $as_echo "$DUMPBIN" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5851 test -n "$DUMPBIN" && break
5852 done
5854 if test -z "$DUMPBIN"; then
5855 ac_ct_DUMPBIN=$DUMPBIN
5856 for ac_prog in dumpbin "link -dump"
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$ac_ct_DUMPBIN"; then
5866 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5875 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5886 if test -n "$ac_ct_DUMPBIN"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5888 $as_echo "$ac_ct_DUMPBIN" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$ac_ct_DUMPBIN" && break
5896 done
5898 if test "x$ac_ct_DUMPBIN" = x; then
5899 DUMPBIN=":"
5900 else
5901 case $cross_compiling:$ac_tool_warned in
5902 yes:)
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5905 ac_tool_warned=yes ;;
5906 esac
5907 DUMPBIN=$ac_ct_DUMPBIN
5911 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5912 *COFF*)
5913 DUMPBIN="$DUMPBIN -symbols"
5916 DUMPBIN=:
5918 esac
5921 if test "$DUMPBIN" != ":"; then
5922 NM="$DUMPBIN"
5925 test -z "$NM" && NM=nm
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5933 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5934 if test "${lt_cv_nm_interface+set}" = set; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 lt_cv_nm_interface="BSD nm"
5938 echo "int some_variable = 0;" > conftest.$ac_ext
5939 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5940 (eval "$ac_compile" 2>conftest.err)
5941 cat conftest.err >&5
5942 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5943 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5944 cat conftest.err >&5
5945 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5946 cat conftest.out >&5
5947 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5948 lt_cv_nm_interface="MS dumpbin"
5950 rm -f conftest*
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5953 $as_echo "$lt_cv_nm_interface" >&6; }
5955 # find the maximum length of command line arguments
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5957 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5958 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5962 teststring="ABCD"
5964 case $build_os in
5965 msdosdjgpp*)
5966 # On DJGPP, this test can blow up pretty badly due to problems in libc
5967 # (any single argument exceeding 2000 bytes causes a buffer overrun
5968 # during glob expansion). Even if it were fixed, the result of this
5969 # check would be larger than it should be.
5970 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5973 gnu*)
5974 # Under GNU Hurd, this test is not required because there is
5975 # no limit to the length of command line arguments.
5976 # Libtool will interpret -1 as no limit whatsoever
5977 lt_cv_sys_max_cmd_len=-1;
5980 cygwin* | mingw* | cegcc*)
5981 # On Win9x/ME, this test blows up -- it succeeds, but takes
5982 # about 5 minutes as the teststring grows exponentially.
5983 # Worse, since 9x/ME are not pre-emptively multitasking,
5984 # you end up with a "frozen" computer, even though with patience
5985 # the test eventually succeeds (with a max line length of 256k).
5986 # Instead, let's just punt: use the minimum linelength reported by
5987 # all of the supported platforms: 8192 (on NT/2K/XP).
5988 lt_cv_sys_max_cmd_len=8192;
5991 mint*)
5992 # On MiNT this can take a long time and run out of memory.
5993 lt_cv_sys_max_cmd_len=8192;
5996 amigaos*)
5997 # On AmigaOS with pdksh, this test takes hours, literally.
5998 # So we just punt and use a minimum line length of 8192.
5999 lt_cv_sys_max_cmd_len=8192;
6002 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6003 # This has been around since 386BSD, at least. Likely further.
6004 if test -x /sbin/sysctl; then
6005 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6006 elif test -x /usr/sbin/sysctl; then
6007 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6008 else
6009 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6011 # And add a safety zone
6012 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6013 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6016 interix*)
6017 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6018 lt_cv_sys_max_cmd_len=196608
6021 osf*)
6022 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6023 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6024 # nice to cause kernel panics so lets avoid the loop below.
6025 # First set a reasonable default.
6026 lt_cv_sys_max_cmd_len=16384
6028 if test -x /sbin/sysconfig; then
6029 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6030 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6031 esac
6034 sco3.2v5*)
6035 lt_cv_sys_max_cmd_len=102400
6037 sysv5* | sco5v6* | sysv4.2uw2*)
6038 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6039 if test -n "$kargmax"; then
6040 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6041 else
6042 lt_cv_sys_max_cmd_len=32768
6046 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6047 if test -n "$lt_cv_sys_max_cmd_len"; then
6048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6049 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6050 else
6051 # Make teststring a little bigger before we do anything with it.
6052 # a 1K string should be a reasonable start.
6053 for i in 1 2 3 4 5 6 7 8 ; do
6054 teststring=$teststring$teststring
6055 done
6056 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6057 # If test is not a shell built-in, we'll probably end up computing a
6058 # maximum length that is only half of the actual maximum length, but
6059 # we can't tell.
6060 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6061 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6062 test $i != 17 # 1/2 MB should be enough
6064 i=`expr $i + 1`
6065 teststring=$teststring$teststring
6066 done
6067 # Only check the string length outside the loop.
6068 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6069 teststring=
6070 # Add a significant safety factor because C++ compilers can tack on
6071 # massive amounts of additional arguments before passing them to the
6072 # linker. It appears as though 1/2 is a usable value.
6073 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6076 esac
6080 if test -n $lt_cv_sys_max_cmd_len ; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6082 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6085 $as_echo "none" >&6; }
6087 max_cmd_len=$lt_cv_sys_max_cmd_len
6094 : ${CP="cp -f"}
6095 : ${MV="mv -f"}
6096 : ${RM="rm -f"}
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6099 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6100 # Try some XSI features
6101 xsi_shell=no
6102 ( _lt_dummy="a/b/c"
6103 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6104 = c,a/b,, \
6105 && eval 'test $(( 1 + 1 )) -eq 2 \
6106 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6107 && xsi_shell=yes
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6109 $as_echo "$xsi_shell" >&6; }
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6113 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6114 lt_shell_append=no
6115 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6116 >/dev/null 2>&1 \
6117 && lt_shell_append=yes
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6119 $as_echo "$lt_shell_append" >&6; }
6122 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6123 lt_unset=unset
6124 else
6125 lt_unset=false
6132 # test EBCDIC or ASCII
6133 case `echo X|tr X '\101'` in
6134 A) # ASCII based system
6135 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6136 lt_SP2NL='tr \040 \012'
6137 lt_NL2SP='tr \015\012 \040\040'
6139 *) # EBCDIC based system
6140 lt_SP2NL='tr \100 \n'
6141 lt_NL2SP='tr \r\n \100\100'
6143 esac
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6154 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6155 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6157 else
6158 lt_cv_ld_reload_flag='-r'
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6161 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6162 reload_flag=$lt_cv_ld_reload_flag
6163 case $reload_flag in
6164 "" | " "*) ;;
6165 *) reload_flag=" $reload_flag" ;;
6166 esac
6167 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6168 case $host_os in
6169 darwin*)
6170 if test "$GCC" = yes; then
6171 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6172 else
6173 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6176 esac
6186 if test -n "$ac_tool_prefix"; then
6187 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6188 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$OBJDUMP"; then
6195 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 OBJDUMP=$ac_cv_prog_OBJDUMP
6215 if test -n "$OBJDUMP"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6217 $as_echo "$OBJDUMP" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6225 if test -z "$ac_cv_prog_OBJDUMP"; then
6226 ac_ct_OBJDUMP=$OBJDUMP
6227 # Extract the first word of "objdump", so it can be a program name with args.
6228 set dummy objdump; ac_word=$2
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230 $as_echo_n "checking for $ac_word... " >&6; }
6231 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6232 $as_echo_n "(cached) " >&6
6233 else
6234 if test -n "$ac_ct_OBJDUMP"; then
6235 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6236 else
6237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6238 for as_dir in $PATH
6240 IFS=$as_save_IFS
6241 test -z "$as_dir" && as_dir=.
6242 for ac_exec_ext in '' $ac_executable_extensions; do
6243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6244 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 break 2
6248 done
6249 done
6250 IFS=$as_save_IFS
6254 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6255 if test -n "$ac_ct_OBJDUMP"; then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6257 $as_echo "$ac_ct_OBJDUMP" >&6; }
6258 else
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6260 $as_echo "no" >&6; }
6263 if test "x$ac_ct_OBJDUMP" = x; then
6264 OBJDUMP="false"
6265 else
6266 case $cross_compiling:$ac_tool_warned in
6267 yes:)
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6270 ac_tool_warned=yes ;;
6271 esac
6272 OBJDUMP=$ac_ct_OBJDUMP
6274 else
6275 OBJDUMP="$ac_cv_prog_OBJDUMP"
6278 test -z "$OBJDUMP" && OBJDUMP=objdump
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6289 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6290 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6291 $as_echo_n "(cached) " >&6
6292 else
6293 lt_cv_file_magic_cmd='$MAGIC_CMD'
6294 lt_cv_file_magic_test_file=
6295 lt_cv_deplibs_check_method='unknown'
6296 # Need to set the preceding variable on all platforms that support
6297 # interlibrary dependencies.
6298 # 'none' -- dependencies not supported.
6299 # `unknown' -- same as none, but documents that we really don't know.
6300 # 'pass_all' -- all dependencies passed with no checks.
6301 # 'test_compile' -- check by making test program.
6302 # 'file_magic [[regex]]' -- check by looking for files in library path
6303 # which responds to the $file_magic_cmd with a given extended regex.
6304 # If you have `file' or equivalent on your system and you're not sure
6305 # whether `pass_all' will *always* work, you probably want this one.
6307 case $host_os in
6308 aix[4-9]*)
6309 lt_cv_deplibs_check_method=pass_all
6312 beos*)
6313 lt_cv_deplibs_check_method=pass_all
6316 bsdi[45]*)
6317 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6318 lt_cv_file_magic_cmd='/usr/bin/file -L'
6319 lt_cv_file_magic_test_file=/shlib/libc.so
6322 cygwin*)
6323 # func_win32_libid is a shell function defined in ltmain.sh
6324 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6325 lt_cv_file_magic_cmd='func_win32_libid'
6328 mingw* | pw32*)
6329 # Base MSYS/MinGW do not provide the 'file' command needed by
6330 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6331 # unless we find 'file', for example because we are cross-compiling.
6332 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6333 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6334 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6335 lt_cv_file_magic_cmd='func_win32_libid'
6336 else
6337 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6342 cegcc*)
6343 # use the weaker test based on 'objdump'. See mingw*.
6344 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6345 lt_cv_file_magic_cmd='$OBJDUMP -f'
6348 darwin* | rhapsody*)
6349 lt_cv_deplibs_check_method=pass_all
6352 freebsd* | dragonfly*)
6353 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6354 case $host_cpu in
6355 i*86 )
6356 # Not sure whether the presence of OpenBSD here was a mistake.
6357 # Let's accept both of them until this is cleared up.
6358 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6359 lt_cv_file_magic_cmd=/usr/bin/file
6360 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6362 esac
6363 else
6364 lt_cv_deplibs_check_method=pass_all
6368 gnu*)
6369 lt_cv_deplibs_check_method=pass_all
6372 haiku*)
6373 lt_cv_deplibs_check_method=pass_all
6376 hpux10.20* | hpux11*)
6377 lt_cv_file_magic_cmd=/usr/bin/file
6378 case $host_cpu in
6379 ia64*)
6380 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6381 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6383 hppa*64*)
6384 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]'
6385 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6388 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6389 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6391 esac
6394 interix[3-9]*)
6395 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6396 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6399 irix5* | irix6* | nonstopux*)
6400 case $LD in
6401 *-32|*"-32 ") libmagic=32-bit;;
6402 *-n32|*"-n32 ") libmagic=N32;;
6403 *-64|*"-64 ") libmagic=64-bit;;
6404 *) libmagic=never-match;;
6405 esac
6406 lt_cv_deplibs_check_method=pass_all
6409 # This must be Linux ELF.
6410 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6411 lt_cv_deplibs_check_method=pass_all
6414 netbsd*)
6415 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6416 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6417 else
6418 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6422 newos6*)
6423 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6424 lt_cv_file_magic_cmd=/usr/bin/file
6425 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6428 *nto* | *qnx*)
6429 lt_cv_deplibs_check_method=pass_all
6432 openbsd*)
6433 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6434 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6435 else
6436 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6440 osf3* | osf4* | osf5*)
6441 lt_cv_deplibs_check_method=pass_all
6444 rdos*)
6445 lt_cv_deplibs_check_method=pass_all
6448 solaris*)
6449 lt_cv_deplibs_check_method=pass_all
6452 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6453 lt_cv_deplibs_check_method=pass_all
6456 sysv4 | sysv4.3*)
6457 case $host_vendor in
6458 motorola)
6459 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]'
6460 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6462 ncr)
6463 lt_cv_deplibs_check_method=pass_all
6465 sequent)
6466 lt_cv_file_magic_cmd='/bin/file'
6467 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6469 sni)
6470 lt_cv_file_magic_cmd='/bin/file'
6471 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6472 lt_cv_file_magic_test_file=/lib/libc.so
6474 siemens)
6475 lt_cv_deplibs_check_method=pass_all
6478 lt_cv_deplibs_check_method=pass_all
6480 esac
6483 tpf*)
6484 lt_cv_deplibs_check_method=pass_all
6486 esac
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6490 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6491 file_magic_cmd=$lt_cv_file_magic_cmd
6492 deplibs_check_method=$lt_cv_deplibs_check_method
6493 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6506 if test -n "$ac_tool_prefix"; then
6507 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6508 set dummy ${ac_tool_prefix}ar; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if test "${ac_cv_prog_AR+set}" = set; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$AR"; then
6515 ac_cv_prog_AR="$AR" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524 ac_cv_prog_AR="${ac_tool_prefix}ar"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 AR=$ac_cv_prog_AR
6535 if test -n "$AR"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6537 $as_echo "$AR" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 if test -z "$ac_cv_prog_AR"; then
6546 ac_ct_AR=$AR
6547 # Extract the first word of "ar", so it can be a program name with args.
6548 set dummy ar; ac_word=$2
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6550 $as_echo_n "checking for $ac_word... " >&6; }
6551 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 if test -n "$ac_ct_AR"; then
6555 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6556 else
6557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6558 for as_dir in $PATH
6560 IFS=$as_save_IFS
6561 test -z "$as_dir" && as_dir=.
6562 for ac_exec_ext in '' $ac_executable_extensions; do
6563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6564 ac_cv_prog_ac_ct_AR="ar"
6565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6566 break 2
6568 done
6569 done
6570 IFS=$as_save_IFS
6574 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6575 if test -n "$ac_ct_AR"; then
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6577 $as_echo "$ac_ct_AR" >&6; }
6578 else
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6580 $as_echo "no" >&6; }
6583 if test "x$ac_ct_AR" = x; then
6584 AR="false"
6585 else
6586 case $cross_compiling:$ac_tool_warned in
6587 yes:)
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6590 ac_tool_warned=yes ;;
6591 esac
6592 AR=$ac_ct_AR
6594 else
6595 AR="$ac_cv_prog_AR"
6598 test -z "$AR" && AR=ar
6599 test -z "$AR_FLAGS" && AR_FLAGS=cru
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}strip; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_STRIP+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$STRIP"; then
6620 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6633 done
6634 done
6635 IFS=$as_save_IFS
6639 STRIP=$ac_cv_prog_STRIP
6640 if test -n "$STRIP"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6642 $as_echo "$STRIP" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6650 if test -z "$ac_cv_prog_STRIP"; then
6651 ac_ct_STRIP=$STRIP
6652 # Extract the first word of "strip", so it can be a program name with args.
6653 set dummy strip; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_STRIP"; then
6660 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_STRIP="strip"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6673 done
6674 done
6675 IFS=$as_save_IFS
6679 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6680 if test -n "$ac_ct_STRIP"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6682 $as_echo "$ac_ct_STRIP" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6688 if test "x$ac_ct_STRIP" = x; then
6689 STRIP=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 STRIP=$ac_ct_STRIP
6699 else
6700 STRIP="$ac_cv_prog_STRIP"
6703 test -z "$STRIP" && STRIP=:
6710 if test -n "$ac_tool_prefix"; then
6711 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6712 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6716 $as_echo_n "(cached) " >&6
6717 else
6718 if test -n "$RANLIB"; then
6719 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6724 IFS=$as_save_IFS
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730 break 2
6732 done
6733 done
6734 IFS=$as_save_IFS
6738 RANLIB=$ac_cv_prog_RANLIB
6739 if test -n "$RANLIB"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6741 $as_echo "$RANLIB" >&6; }
6742 else
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6749 if test -z "$ac_cv_prog_RANLIB"; then
6750 ac_ct_RANLIB=$RANLIB
6751 # Extract the first word of "ranlib", so it can be a program name with args.
6752 set dummy ranlib; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6756 $as_echo_n "(cached) " >&6
6757 else
6758 if test -n "$ac_ct_RANLIB"; then
6759 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6764 IFS=$as_save_IFS
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768 ac_cv_prog_ac_ct_RANLIB="ranlib"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 break 2
6772 done
6773 done
6774 IFS=$as_save_IFS
6778 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6779 if test -n "$ac_ct_RANLIB"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6781 $as_echo "$ac_ct_RANLIB" >&6; }
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6787 if test "x$ac_ct_RANLIB" = x; then
6788 RANLIB=":"
6789 else
6790 case $cross_compiling:$ac_tool_warned in
6791 yes:)
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6794 ac_tool_warned=yes ;;
6795 esac
6796 RANLIB=$ac_ct_RANLIB
6798 else
6799 RANLIB="$ac_cv_prog_RANLIB"
6802 test -z "$RANLIB" && RANLIB=:
6809 # Determine commands to create old-style static archives.
6810 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6811 old_postinstall_cmds='chmod 644 $oldlib'
6812 old_postuninstall_cmds=
6814 if test -n "$RANLIB"; then
6815 case $host_os in
6816 openbsd*)
6817 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6820 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6822 esac
6823 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6826 case $host_os in
6827 darwin*)
6828 lock_old_archive_extraction=yes ;;
6830 lock_old_archive_extraction=no ;;
6831 esac
6871 # If no C compiler was specified, use CC.
6872 LTCC=${LTCC-"$CC"}
6874 # If no C compiler flags were specified, use CFLAGS.
6875 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6877 # Allow CC to be a program name with arguments.
6878 compiler=$CC
6881 # Check for command to grab the raw symbol name followed by C symbol from nm.
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6883 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6884 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6888 # These are sane defaults that work on at least a few old systems.
6889 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6891 # Character class describing NM global symbol codes.
6892 symcode='[BCDEGRST]'
6894 # Regexp to match symbols that can be accessed directly from C.
6895 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6897 # Define system-specific variables.
6898 case $host_os in
6899 aix*)
6900 symcode='[BCDT]'
6902 cygwin* | mingw* | pw32* | cegcc*)
6903 symcode='[ABCDGISTW]'
6905 hpux*)
6906 if test "$host_cpu" = ia64; then
6907 symcode='[ABCDEGRST]'
6910 irix* | nonstopux*)
6911 symcode='[BCDEGRST]'
6913 osf*)
6914 symcode='[BCDEGQRST]'
6916 solaris*)
6917 symcode='[BDRT]'
6919 sco3.2v5*)
6920 symcode='[DT]'
6922 sysv4.2uw2*)
6923 symcode='[DT]'
6925 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6926 symcode='[ABDT]'
6928 sysv4)
6929 symcode='[DFNSTU]'
6931 esac
6933 # If we're using GNU nm, then use its standard symbol codes.
6934 case `$NM -V 2>&1` in
6935 *GNU* | *'with BFD'*)
6936 symcode='[ABCDGIRSTW]' ;;
6937 esac
6939 # Transform an extracted symbol line into a proper C declaration.
6940 # Some systems (esp. on ia64) link data and code symbols differently,
6941 # so use this general approach.
6942 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6944 # Transform an extracted symbol line into symbol name and symbol address
6945 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6946 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'"
6948 # Handle CRLF in mingw tool chain
6949 opt_cr=
6950 case $build_os in
6951 mingw*)
6952 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6954 esac
6956 # Try without a prefix underscore, then with it.
6957 for ac_symprfx in "" "_"; do
6959 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6960 symxfrm="\\1 $ac_symprfx\\2 \\2"
6962 # Write the raw and C identifiers.
6963 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6964 # Fake it for dumpbin and say T for any non-static function
6965 # and D for any global variable.
6966 # Also find C++ and __fastcall symbols from MSVC++,
6967 # which start with @ or ?.
6968 lt_cv_sys_global_symbol_pipe="$AWK '"\
6969 " {last_section=section; section=\$ 3};"\
6970 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6971 " \$ 0!~/External *\|/{next};"\
6972 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6973 " {if(hide[section]) next};"\
6974 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6975 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6976 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6977 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6978 " ' prfx=^$ac_symprfx"
6979 else
6980 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6983 # Check to see that the pipe works correctly.
6984 pipe_works=no
6986 rm -f conftest*
6987 cat > conftest.$ac_ext <<_LT_EOF
6988 #ifdef __cplusplus
6989 extern "C" {
6990 #endif
6991 char nm_test_var;
6992 void nm_test_func(void);
6993 void nm_test_func(void){}
6994 #ifdef __cplusplus
6996 #endif
6997 int main(){nm_test_var='a';nm_test_func();return(0);}
6998 _LT_EOF
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7001 (eval $ac_compile) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; }; then
7005 # Now try to grab the symbols.
7006 nlist=conftest.nm
7007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7008 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7009 ac_status=$?
7010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7011 test $ac_status = 0; } && test -s "$nlist"; then
7012 # Try sorting and uniquifying the output.
7013 if sort "$nlist" | uniq > "$nlist"T; then
7014 mv -f "$nlist"T "$nlist"
7015 else
7016 rm -f "$nlist"T
7019 # Make sure that we snagged all the symbols we need.
7020 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7021 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7022 cat <<_LT_EOF > conftest.$ac_ext
7023 #ifdef __cplusplus
7024 extern "C" {
7025 #endif
7027 _LT_EOF
7028 # Now generate the symbol file.
7029 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7031 cat <<_LT_EOF >> conftest.$ac_ext
7033 /* The mapping between symbol names and symbols. */
7034 const struct {
7035 const char *name;
7036 void *address;
7038 lt__PROGRAM__LTX_preloaded_symbols[] =
7040 { "@PROGRAM@", (void *) 0 },
7041 _LT_EOF
7042 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7043 cat <<\_LT_EOF >> conftest.$ac_ext
7044 {0, (void *) 0}
7047 /* This works around a problem in FreeBSD linker */
7048 #ifdef FREEBSD_WORKAROUND
7049 static const void *lt_preloaded_setup() {
7050 return lt__PROGRAM__LTX_preloaded_symbols;
7052 #endif
7054 #ifdef __cplusplus
7056 #endif
7057 _LT_EOF
7058 # Now try linking the two files.
7059 mv conftest.$ac_objext conftstm.$ac_objext
7060 lt_save_LIBS="$LIBS"
7061 lt_save_CFLAGS="$CFLAGS"
7062 LIBS="conftstm.$ac_objext"
7063 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7065 (eval $ac_link) 2>&5
7066 ac_status=$?
7067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7068 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7069 pipe_works=yes
7071 LIBS="$lt_save_LIBS"
7072 CFLAGS="$lt_save_CFLAGS"
7073 else
7074 echo "cannot find nm_test_func in $nlist" >&5
7076 else
7077 echo "cannot find nm_test_var in $nlist" >&5
7079 else
7080 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7082 else
7083 echo "$progname: failed program was:" >&5
7084 cat conftest.$ac_ext >&5
7086 rm -rf conftest* conftst*
7088 # Do not use the global_symbol_pipe unless it works.
7089 if test "$pipe_works" = yes; then
7090 break
7091 else
7092 lt_cv_sys_global_symbol_pipe=
7094 done
7098 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7099 lt_cv_sys_global_symbol_to_cdecl=
7101 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7103 $as_echo "failed" >&6; }
7104 else
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7106 $as_echo "ok" >&6; }
7130 # Check whether --enable-libtool-lock was given.
7131 if test "${enable_libtool_lock+set}" = set; then :
7132 enableval=$enable_libtool_lock;
7135 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7137 # Some flags need to be propagated to the compiler or linker for good
7138 # libtool support.
7139 case $host in
7140 ia64-*-hpux*)
7141 # Find out which ABI we are using.
7142 echo 'int i;' > conftest.$ac_ext
7143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7144 (eval $ac_compile) 2>&5
7145 ac_status=$?
7146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7147 test $ac_status = 0; }; then
7148 case `/usr/bin/file conftest.$ac_objext` in
7149 *ELF-32*)
7150 HPUX_IA64_MODE="32"
7152 *ELF-64*)
7153 HPUX_IA64_MODE="64"
7155 esac
7157 rm -rf conftest*
7159 *-*-irix6*)
7160 # Find out which ABI we are using.
7161 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7162 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7163 (eval $ac_compile) 2>&5
7164 ac_status=$?
7165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7166 test $ac_status = 0; }; then
7167 if test "$lt_cv_prog_gnu_ld" = yes; then
7168 case `/usr/bin/file conftest.$ac_objext` in
7169 *32-bit*)
7170 LD="${LD-ld} -melf32bsmip"
7172 *N32*)
7173 LD="${LD-ld} -melf32bmipn32"
7175 *64-bit*)
7176 LD="${LD-ld} -melf64bmip"
7178 esac
7179 else
7180 case `/usr/bin/file conftest.$ac_objext` in
7181 *32-bit*)
7182 LD="${LD-ld} -32"
7184 *N32*)
7185 LD="${LD-ld} -n32"
7187 *64-bit*)
7188 LD="${LD-ld} -64"
7190 esac
7193 rm -rf conftest*
7196 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7197 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7198 # Find out which ABI we are using.
7199 echo 'int i;' > conftest.$ac_ext
7200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7201 (eval $ac_compile) 2>&5
7202 ac_status=$?
7203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7204 test $ac_status = 0; }; then
7205 case `/usr/bin/file conftest.o` in
7206 *32-bit*)
7207 case $host in
7208 x86_64-*kfreebsd*-gnu)
7209 LD="${LD-ld} -m elf_i386_fbsd"
7211 x86_64-*linux*)
7212 case `/usr/bin/file conftest.o` in
7213 *x86-64*)
7214 LD="${LD-ld} -m elf32_x86_64"
7217 LD="${LD-ld} -m elf_i386"
7219 esac
7221 powerpc64le-*linux*)
7222 LD="${LD-ld} -m elf32lppclinux"
7224 powerpc64-*linux*)
7225 LD="${LD-ld} -m elf32ppclinux"
7227 s390x-*linux*)
7228 LD="${LD-ld} -m elf_s390"
7230 sparc64-*linux*)
7231 LD="${LD-ld} -m elf32_sparc"
7233 esac
7235 *64-bit*)
7236 case $host in
7237 x86_64-*kfreebsd*-gnu)
7238 LD="${LD-ld} -m elf_x86_64_fbsd"
7240 x86_64-*linux*)
7241 LD="${LD-ld} -m elf_x86_64"
7243 powerpcle-*linux*)
7244 LD="${LD-ld} -m elf64lppc"
7246 powerpc-*linux*)
7247 LD="${LD-ld} -m elf64ppc"
7249 s390*-*linux*|s390*-*tpf*)
7250 LD="${LD-ld} -m elf64_s390"
7252 sparc*-*linux*)
7253 LD="${LD-ld} -m elf64_sparc"
7255 esac
7257 esac
7259 rm -rf conftest*
7262 *-*-sco3.2v5*)
7263 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7264 SAVE_CFLAGS="$CFLAGS"
7265 CFLAGS="$CFLAGS -belf"
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7267 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7268 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7269 $as_echo_n "(cached) " >&6
7270 else
7271 ac_ext=c
7272 ac_cpp='$CPP $CPPFLAGS'
7273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7277 if test x$gcc_no_link = xyes; then
7278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7284 main ()
7288 return 0;
7290 _ACEOF
7291 if ac_fn_c_try_link "$LINENO"; then :
7292 lt_cv_cc_needs_belf=yes
7293 else
7294 lt_cv_cc_needs_belf=no
7296 rm -f core conftest.err conftest.$ac_objext \
7297 conftest$ac_exeext conftest.$ac_ext
7298 ac_ext=c
7299 ac_cpp='$CPP $CPPFLAGS'
7300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7306 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7307 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7308 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7309 CFLAGS="$SAVE_CFLAGS"
7312 sparc*-*solaris*)
7313 # Find out which ABI we are using.
7314 echo 'int i;' > conftest.$ac_ext
7315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7316 (eval $ac_compile) 2>&5
7317 ac_status=$?
7318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7319 test $ac_status = 0; }; then
7320 case `/usr/bin/file conftest.o` in
7321 *64-bit*)
7322 case $lt_cv_prog_gnu_ld in
7323 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7325 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7326 LD="${LD-ld} -64"
7329 esac
7331 esac
7333 rm -rf conftest*
7335 esac
7337 need_locks="$enable_libtool_lock"
7340 case $host_os in
7341 rhapsody* | darwin*)
7342 if test -n "$ac_tool_prefix"; then
7343 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7344 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7346 $as_echo_n "checking for $ac_word... " >&6; }
7347 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7348 $as_echo_n "(cached) " >&6
7349 else
7350 if test -n "$DSYMUTIL"; then
7351 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7352 else
7353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7354 for as_dir in $PATH
7356 IFS=$as_save_IFS
7357 test -z "$as_dir" && as_dir=.
7358 for ac_exec_ext in '' $ac_executable_extensions; do
7359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7360 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7362 break 2
7364 done
7365 done
7366 IFS=$as_save_IFS
7370 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7371 if test -n "$DSYMUTIL"; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7373 $as_echo "$DSYMUTIL" >&6; }
7374 else
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7376 $as_echo "no" >&6; }
7381 if test -z "$ac_cv_prog_DSYMUTIL"; then
7382 ac_ct_DSYMUTIL=$DSYMUTIL
7383 # Extract the first word of "dsymutil", so it can be a program name with args.
7384 set dummy dsymutil; ac_word=$2
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7386 $as_echo_n "checking for $ac_word... " >&6; }
7387 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7388 $as_echo_n "(cached) " >&6
7389 else
7390 if test -n "$ac_ct_DSYMUTIL"; then
7391 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7392 else
7393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7394 for as_dir in $PATH
7396 IFS=$as_save_IFS
7397 test -z "$as_dir" && as_dir=.
7398 for ac_exec_ext in '' $ac_executable_extensions; do
7399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7400 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7402 break 2
7404 done
7405 done
7406 IFS=$as_save_IFS
7410 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7411 if test -n "$ac_ct_DSYMUTIL"; then
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7413 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7414 else
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7416 $as_echo "no" >&6; }
7419 if test "x$ac_ct_DSYMUTIL" = x; then
7420 DSYMUTIL=":"
7421 else
7422 case $cross_compiling:$ac_tool_warned in
7423 yes:)
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7426 ac_tool_warned=yes ;;
7427 esac
7428 DSYMUTIL=$ac_ct_DSYMUTIL
7430 else
7431 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7434 if test -n "$ac_tool_prefix"; then
7435 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7436 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7438 $as_echo_n "checking for $ac_word... " >&6; }
7439 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7440 $as_echo_n "(cached) " >&6
7441 else
7442 if test -n "$NMEDIT"; then
7443 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7444 else
7445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7446 for as_dir in $PATH
7448 IFS=$as_save_IFS
7449 test -z "$as_dir" && as_dir=.
7450 for ac_exec_ext in '' $ac_executable_extensions; do
7451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7452 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 break 2
7456 done
7457 done
7458 IFS=$as_save_IFS
7462 NMEDIT=$ac_cv_prog_NMEDIT
7463 if test -n "$NMEDIT"; then
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7465 $as_echo "$NMEDIT" >&6; }
7466 else
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7468 $as_echo "no" >&6; }
7473 if test -z "$ac_cv_prog_NMEDIT"; then
7474 ac_ct_NMEDIT=$NMEDIT
7475 # Extract the first word of "nmedit", so it can be a program name with args.
7476 set dummy nmedit; ac_word=$2
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7478 $as_echo_n "checking for $ac_word... " >&6; }
7479 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7480 $as_echo_n "(cached) " >&6
7481 else
7482 if test -n "$ac_ct_NMEDIT"; then
7483 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7484 else
7485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7486 for as_dir in $PATH
7488 IFS=$as_save_IFS
7489 test -z "$as_dir" && as_dir=.
7490 for ac_exec_ext in '' $ac_executable_extensions; do
7491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7492 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7494 break 2
7496 done
7497 done
7498 IFS=$as_save_IFS
7502 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7503 if test -n "$ac_ct_NMEDIT"; then
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7505 $as_echo "$ac_ct_NMEDIT" >&6; }
7506 else
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7508 $as_echo "no" >&6; }
7511 if test "x$ac_ct_NMEDIT" = x; then
7512 NMEDIT=":"
7513 else
7514 case $cross_compiling:$ac_tool_warned in
7515 yes:)
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7518 ac_tool_warned=yes ;;
7519 esac
7520 NMEDIT=$ac_ct_NMEDIT
7522 else
7523 NMEDIT="$ac_cv_prog_NMEDIT"
7526 if test -n "$ac_tool_prefix"; then
7527 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7528 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if test "${ac_cv_prog_LIPO+set}" = set; then :
7532 $as_echo_n "(cached) " >&6
7533 else
7534 if test -n "$LIPO"; then
7535 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7536 else
7537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7538 for as_dir in $PATH
7540 IFS=$as_save_IFS
7541 test -z "$as_dir" && as_dir=.
7542 for ac_exec_ext in '' $ac_executable_extensions; do
7543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7544 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7546 break 2
7548 done
7549 done
7550 IFS=$as_save_IFS
7554 LIPO=$ac_cv_prog_LIPO
7555 if test -n "$LIPO"; then
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7557 $as_echo "$LIPO" >&6; }
7558 else
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7560 $as_echo "no" >&6; }
7565 if test -z "$ac_cv_prog_LIPO"; then
7566 ac_ct_LIPO=$LIPO
7567 # Extract the first word of "lipo", so it can be a program name with args.
7568 set dummy lipo; ac_word=$2
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7570 $as_echo_n "checking for $ac_word... " >&6; }
7571 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7572 $as_echo_n "(cached) " >&6
7573 else
7574 if test -n "$ac_ct_LIPO"; then
7575 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7576 else
7577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7578 for as_dir in $PATH
7580 IFS=$as_save_IFS
7581 test -z "$as_dir" && as_dir=.
7582 for ac_exec_ext in '' $ac_executable_extensions; do
7583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7584 ac_cv_prog_ac_ct_LIPO="lipo"
7585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7586 break 2
7588 done
7589 done
7590 IFS=$as_save_IFS
7594 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7595 if test -n "$ac_ct_LIPO"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7597 $as_echo "$ac_ct_LIPO" >&6; }
7598 else
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7603 if test "x$ac_ct_LIPO" = x; then
7604 LIPO=":"
7605 else
7606 case $cross_compiling:$ac_tool_warned in
7607 yes:)
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7610 ac_tool_warned=yes ;;
7611 esac
7612 LIPO=$ac_ct_LIPO
7614 else
7615 LIPO="$ac_cv_prog_LIPO"
7618 if test -n "$ac_tool_prefix"; then
7619 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7620 set dummy ${ac_tool_prefix}otool; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7624 $as_echo_n "(cached) " >&6
7625 else
7626 if test -n "$OTOOL"; then
7627 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7628 else
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 for as_dir in $PATH
7632 IFS=$as_save_IFS
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7636 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 break 2
7640 done
7641 done
7642 IFS=$as_save_IFS
7646 OTOOL=$ac_cv_prog_OTOOL
7647 if test -n "$OTOOL"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7649 $as_echo "$OTOOL" >&6; }
7650 else
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7657 if test -z "$ac_cv_prog_OTOOL"; then
7658 ac_ct_OTOOL=$OTOOL
7659 # Extract the first word of "otool", so it can be a program name with args.
7660 set dummy otool; ac_word=$2
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7662 $as_echo_n "checking for $ac_word... " >&6; }
7663 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7664 $as_echo_n "(cached) " >&6
7665 else
7666 if test -n "$ac_ct_OTOOL"; then
7667 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7668 else
7669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7670 for as_dir in $PATH
7672 IFS=$as_save_IFS
7673 test -z "$as_dir" && as_dir=.
7674 for ac_exec_ext in '' $ac_executable_extensions; do
7675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7676 ac_cv_prog_ac_ct_OTOOL="otool"
7677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7678 break 2
7680 done
7681 done
7682 IFS=$as_save_IFS
7686 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7687 if test -n "$ac_ct_OTOOL"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7689 $as_echo "$ac_ct_OTOOL" >&6; }
7690 else
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7695 if test "x$ac_ct_OTOOL" = x; then
7696 OTOOL=":"
7697 else
7698 case $cross_compiling:$ac_tool_warned in
7699 yes:)
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7701 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7702 ac_tool_warned=yes ;;
7703 esac
7704 OTOOL=$ac_ct_OTOOL
7706 else
7707 OTOOL="$ac_cv_prog_OTOOL"
7710 if test -n "$ac_tool_prefix"; then
7711 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7712 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 if test -n "$OTOOL64"; then
7719 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7720 else
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 for as_dir in $PATH
7724 IFS=$as_save_IFS
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7728 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7730 break 2
7732 done
7733 done
7734 IFS=$as_save_IFS
7738 OTOOL64=$ac_cv_prog_OTOOL64
7739 if test -n "$OTOOL64"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7741 $as_echo "$OTOOL64" >&6; }
7742 else
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7749 if test -z "$ac_cv_prog_OTOOL64"; then
7750 ac_ct_OTOOL64=$OTOOL64
7751 # Extract the first word of "otool64", so it can be a program name with args.
7752 set dummy otool64; ac_word=$2
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7754 $as_echo_n "checking for $ac_word... " >&6; }
7755 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 if test -n "$ac_ct_OTOOL64"; then
7759 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7760 else
7761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7762 for as_dir in $PATH
7764 IFS=$as_save_IFS
7765 test -z "$as_dir" && as_dir=.
7766 for ac_exec_ext in '' $ac_executable_extensions; do
7767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7768 ac_cv_prog_ac_ct_OTOOL64="otool64"
7769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7770 break 2
7772 done
7773 done
7774 IFS=$as_save_IFS
7778 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7779 if test -n "$ac_ct_OTOOL64"; then
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7781 $as_echo "$ac_ct_OTOOL64" >&6; }
7782 else
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7784 $as_echo "no" >&6; }
7787 if test "x$ac_ct_OTOOL64" = x; then
7788 OTOOL64=":"
7789 else
7790 case $cross_compiling:$ac_tool_warned in
7791 yes:)
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7793 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7794 ac_tool_warned=yes ;;
7795 esac
7796 OTOOL64=$ac_ct_OTOOL64
7798 else
7799 OTOOL64="$ac_cv_prog_OTOOL64"
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7829 $as_echo_n "checking for -single_module linker flag... " >&6; }
7830 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7832 else
7833 lt_cv_apple_cc_single_mod=no
7834 if test -z "${LT_MULTI_MODULE}"; then
7835 # By default we will add the -single_module flag. You can override
7836 # by either setting the environment variable LT_MULTI_MODULE
7837 # non-empty at configure time, or by adding -multi_module to the
7838 # link flags.
7839 rm -rf libconftest.dylib*
7840 echo "int foo(void){return 1;}" > conftest.c
7841 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7842 -dynamiclib -Wl,-single_module conftest.c" >&5
7843 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7844 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7845 _lt_result=$?
7846 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7847 lt_cv_apple_cc_single_mod=yes
7848 else
7849 cat conftest.err >&5
7851 rm -rf libconftest.dylib*
7852 rm -f conftest.*
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7856 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7858 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7859 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7860 $as_echo_n "(cached) " >&6
7861 else
7862 lt_cv_ld_exported_symbols_list=no
7863 save_LDFLAGS=$LDFLAGS
7864 echo "_main" > conftest.sym
7865 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7866 if test x$gcc_no_link = xyes; then
7867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7873 main ()
7877 return 0;
7879 _ACEOF
7880 if ac_fn_c_try_link "$LINENO"; then :
7881 lt_cv_ld_exported_symbols_list=yes
7882 else
7883 lt_cv_ld_exported_symbols_list=no
7885 rm -f core conftest.err conftest.$ac_objext \
7886 conftest$ac_exeext conftest.$ac_ext
7887 LDFLAGS="$save_LDFLAGS"
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7891 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7893 $as_echo_n "checking for -force_load linker flag... " >&6; }
7894 if test "${lt_cv_ld_force_load+set}" = set; then :
7895 $as_echo_n "(cached) " >&6
7896 else
7897 lt_cv_ld_force_load=no
7898 cat > conftest.c << _LT_EOF
7899 int forced_loaded() { return 2;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7902 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7903 echo "$AR cru libconftest.a conftest.o" >&5
7904 $AR cru libconftest.a conftest.o 2>&5
7905 cat > conftest.c << _LT_EOF
7906 int main() { return 0;}
7907 _LT_EOF
7908 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7909 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7910 _lt_result=$?
7911 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7912 lt_cv_ld_force_load=yes
7913 else
7914 cat conftest.err >&5
7916 rm -f conftest.err libconftest.a conftest conftest.c
7917 rm -rf conftest.dSYM
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7921 $as_echo "$lt_cv_ld_force_load" >&6; }
7922 case $host_os in
7923 rhapsody* | darwin1.[012])
7924 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7925 darwin1.*)
7926 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7927 darwin*) # darwin 5.x on
7928 # if running on 10.5 or later, the deployment target defaults
7929 # to the OS version, if on x86, and 10.4, the deployment
7930 # target defaults to 10.4. Don't you love it?
7931 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7932 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7933 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 10.[012][,.]*)
7935 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7936 10.*)
7937 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7938 esac
7940 esac
7941 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7942 _lt_dar_single_mod='$single_module'
7944 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7945 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7946 else
7947 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7949 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7950 _lt_dsymutil='~$DSYMUTIL $lib || :'
7951 else
7952 _lt_dsymutil=
7955 esac
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7958 $as_echo_n "checking for ANSI C header files... " >&6; }
7959 if test "${ac_cv_header_stdc+set}" = set; then :
7960 $as_echo_n "(cached) " >&6
7961 else
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7964 #include <stdlib.h>
7965 #include <stdarg.h>
7966 #include <string.h>
7967 #include <float.h>
7970 main ()
7974 return 0;
7976 _ACEOF
7977 if ac_fn_c_try_compile "$LINENO"; then :
7978 ac_cv_header_stdc=yes
7979 else
7980 ac_cv_header_stdc=no
7982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7984 if test $ac_cv_header_stdc = yes; then
7985 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7988 #include <string.h>
7990 _ACEOF
7991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7992 $EGREP "memchr" >/dev/null 2>&1; then :
7994 else
7995 ac_cv_header_stdc=no
7997 rm -f conftest*
8001 if test $ac_cv_header_stdc = yes; then
8002 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8004 /* end confdefs.h. */
8005 #include <stdlib.h>
8007 _ACEOF
8008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8009 $EGREP "free" >/dev/null 2>&1; then :
8011 else
8012 ac_cv_header_stdc=no
8014 rm -f conftest*
8018 if test $ac_cv_header_stdc = yes; then
8019 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8020 if test "$cross_compiling" = yes; then :
8022 else
8023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8024 /* end confdefs.h. */
8025 #include <ctype.h>
8026 #include <stdlib.h>
8027 #if ((' ' & 0x0FF) == 0x020)
8028 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8029 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8030 #else
8031 # define ISLOWER(c) \
8032 (('a' <= (c) && (c) <= 'i') \
8033 || ('j' <= (c) && (c) <= 'r') \
8034 || ('s' <= (c) && (c) <= 'z'))
8035 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8036 #endif
8038 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8040 main ()
8042 int i;
8043 for (i = 0; i < 256; i++)
8044 if (XOR (islower (i), ISLOWER (i))
8045 || toupper (i) != TOUPPER (i))
8046 return 2;
8047 return 0;
8049 _ACEOF
8050 if ac_fn_c_try_run "$LINENO"; then :
8052 else
8053 ac_cv_header_stdc=no
8055 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8056 conftest.$ac_objext conftest.beam conftest.$ac_ext
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8062 $as_echo "$ac_cv_header_stdc" >&6; }
8063 if test $ac_cv_header_stdc = yes; then
8065 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8069 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8070 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8071 inttypes.h stdint.h unistd.h
8072 do :
8073 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8074 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8076 eval as_val=\$$as_ac_Header
8077 if test "x$as_val" = x""yes; then :
8078 cat >>confdefs.h <<_ACEOF
8079 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8080 _ACEOF
8084 done
8087 for ac_header in dlfcn.h
8088 do :
8089 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8091 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8092 cat >>confdefs.h <<_ACEOF
8093 #define HAVE_DLFCN_H 1
8094 _ACEOF
8098 done
8105 # Set options
8110 enable_win32_dll=no
8113 # Check whether --enable-shared was given.
8114 if test "${enable_shared+set}" = set; then :
8115 enableval=$enable_shared; p=${PACKAGE-default}
8116 case $enableval in
8117 yes) enable_shared=yes ;;
8118 no) enable_shared=no ;;
8120 enable_shared=no
8121 # Look at the argument we got. We use all the common list separators.
8122 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8123 for pkg in $enableval; do
8124 IFS="$lt_save_ifs"
8125 if test "X$pkg" = "X$p"; then
8126 enable_shared=yes
8128 done
8129 IFS="$lt_save_ifs"
8131 esac
8132 else
8133 enable_shared=yes
8144 # Check whether --enable-static was given.
8145 if test "${enable_static+set}" = set; then :
8146 enableval=$enable_static; p=${PACKAGE-default}
8147 case $enableval in
8148 yes) enable_static=yes ;;
8149 no) enable_static=no ;;
8151 enable_static=no
8152 # Look at the argument we got. We use all the common list separators.
8153 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8154 for pkg in $enableval; do
8155 IFS="$lt_save_ifs"
8156 if test "X$pkg" = "X$p"; then
8157 enable_static=yes
8159 done
8160 IFS="$lt_save_ifs"
8162 esac
8163 else
8164 enable_static=yes
8176 # Check whether --with-pic was given.
8177 if test "${with_pic+set}" = set; then :
8178 withval=$with_pic; pic_mode="$withval"
8179 else
8180 pic_mode=default
8184 test -z "$pic_mode" && pic_mode=default
8192 # Check whether --enable-fast-install was given.
8193 if test "${enable_fast_install+set}" = set; then :
8194 enableval=$enable_fast_install; p=${PACKAGE-default}
8195 case $enableval in
8196 yes) enable_fast_install=yes ;;
8197 no) enable_fast_install=no ;;
8199 enable_fast_install=no
8200 # Look at the argument we got. We use all the common list separators.
8201 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8202 for pkg in $enableval; do
8203 IFS="$lt_save_ifs"
8204 if test "X$pkg" = "X$p"; then
8205 enable_fast_install=yes
8207 done
8208 IFS="$lt_save_ifs"
8210 esac
8211 else
8212 enable_fast_install=yes
8225 # This can be used to rebuild libtool when needed
8226 LIBTOOL_DEPS="$ltmain"
8228 # Always use our own libtool.
8229 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8256 test -z "$LN_S" && LN_S="ln -s"
8271 if test -n "${ZSH_VERSION+set}" ; then
8272 setopt NO_GLOB_SUBST
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8276 $as_echo_n "checking for objdir... " >&6; }
8277 if test "${lt_cv_objdir+set}" = set; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 rm -f .libs 2>/dev/null
8281 mkdir .libs 2>/dev/null
8282 if test -d .libs; then
8283 lt_cv_objdir=.libs
8284 else
8285 # MS-DOS does not allow filenames that begin with a dot.
8286 lt_cv_objdir=_libs
8288 rmdir .libs 2>/dev/null
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8291 $as_echo "$lt_cv_objdir" >&6; }
8292 objdir=$lt_cv_objdir
8298 cat >>confdefs.h <<_ACEOF
8299 #define LT_OBJDIR "$lt_cv_objdir/"
8300 _ACEOF
8305 case $host_os in
8306 aix3*)
8307 # AIX sometimes has problems with the GCC collect2 program. For some
8308 # reason, if we set the COLLECT_NAMES environment variable, the problems
8309 # vanish in a puff of smoke.
8310 if test "X${COLLECT_NAMES+set}" != Xset; then
8311 COLLECT_NAMES=
8312 export COLLECT_NAMES
8315 esac
8317 # Global variables:
8318 ofile=libtool
8319 can_build_shared=yes
8321 # All known linkers require a `.a' archive for static linking (except MSVC,
8322 # which needs '.lib').
8323 libext=a
8325 with_gnu_ld="$lt_cv_prog_gnu_ld"
8327 old_CC="$CC"
8328 old_CFLAGS="$CFLAGS"
8330 # Set sane defaults for various variables
8331 test -z "$CC" && CC=cc
8332 test -z "$LTCC" && LTCC=$CC
8333 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8334 test -z "$LD" && LD=ld
8335 test -z "$ac_objext" && ac_objext=o
8337 for cc_temp in $compiler""; do
8338 case $cc_temp in
8339 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8340 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8341 \-*) ;;
8342 *) break;;
8343 esac
8344 done
8345 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8348 # Only perform the check for file, if the check method requires it
8349 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8350 case $deplibs_check_method in
8351 file_magic*)
8352 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8354 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8355 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8356 $as_echo_n "(cached) " >&6
8357 else
8358 case $MAGIC_CMD in
8359 [\\/*] | ?:[\\/]*)
8360 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8363 lt_save_MAGIC_CMD="$MAGIC_CMD"
8364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8365 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8366 for ac_dir in $ac_dummy; do
8367 IFS="$lt_save_ifs"
8368 test -z "$ac_dir" && ac_dir=.
8369 if test -f $ac_dir/${ac_tool_prefix}file; then
8370 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8371 if test -n "$file_magic_test_file"; then
8372 case $deplibs_check_method in
8373 "file_magic "*)
8374 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8375 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8376 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8377 $EGREP "$file_magic_regex" > /dev/null; then
8379 else
8380 cat <<_LT_EOF 1>&2
8382 *** Warning: the command libtool uses to detect shared libraries,
8383 *** $file_magic_cmd, produces output that libtool cannot recognize.
8384 *** The result is that libtool may fail to recognize shared libraries
8385 *** as such. This will affect the creation of libtool libraries that
8386 *** depend on shared libraries, but programs linked with such libtool
8387 *** libraries will work regardless of this problem. Nevertheless, you
8388 *** may want to report the problem to your system manager and/or to
8389 *** bug-libtool@gnu.org
8391 _LT_EOF
8392 fi ;;
8393 esac
8395 break
8397 done
8398 IFS="$lt_save_ifs"
8399 MAGIC_CMD="$lt_save_MAGIC_CMD"
8401 esac
8404 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8405 if test -n "$MAGIC_CMD"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8407 $as_echo "$MAGIC_CMD" >&6; }
8408 else
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8417 if test -z "$lt_cv_path_MAGIC_CMD"; then
8418 if test -n "$ac_tool_prefix"; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8420 $as_echo_n "checking for file... " >&6; }
8421 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 case $MAGIC_CMD in
8425 [\\/*] | ?:[\\/]*)
8426 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8429 lt_save_MAGIC_CMD="$MAGIC_CMD"
8430 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8431 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8432 for ac_dir in $ac_dummy; do
8433 IFS="$lt_save_ifs"
8434 test -z "$ac_dir" && ac_dir=.
8435 if test -f $ac_dir/file; then
8436 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8437 if test -n "$file_magic_test_file"; then
8438 case $deplibs_check_method in
8439 "file_magic "*)
8440 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8441 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8442 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8443 $EGREP "$file_magic_regex" > /dev/null; then
8445 else
8446 cat <<_LT_EOF 1>&2
8448 *** Warning: the command libtool uses to detect shared libraries,
8449 *** $file_magic_cmd, produces output that libtool cannot recognize.
8450 *** The result is that libtool may fail to recognize shared libraries
8451 *** as such. This will affect the creation of libtool libraries that
8452 *** depend on shared libraries, but programs linked with such libtool
8453 *** libraries will work regardless of this problem. Nevertheless, you
8454 *** may want to report the problem to your system manager and/or to
8455 *** bug-libtool@gnu.org
8457 _LT_EOF
8458 fi ;;
8459 esac
8461 break
8463 done
8464 IFS="$lt_save_ifs"
8465 MAGIC_CMD="$lt_save_MAGIC_CMD"
8467 esac
8470 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8471 if test -n "$MAGIC_CMD"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8473 $as_echo "$MAGIC_CMD" >&6; }
8474 else
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8476 $as_echo "no" >&6; }
8480 else
8481 MAGIC_CMD=:
8487 esac
8489 # Use C for the default configuration in the libtool script
8491 lt_save_CC="$CC"
8492 ac_ext=c
8493 ac_cpp='$CPP $CPPFLAGS'
8494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8499 # Source file extension for C test sources.
8500 ac_ext=c
8502 # Object file extension for compiled C test sources.
8503 objext=o
8504 objext=$objext
8506 # Code to be used in simple compile tests
8507 lt_simple_compile_test_code="int some_variable = 0;"
8509 # Code to be used in simple link tests
8510 lt_simple_link_test_code='int main(){return(0);}'
8518 # If no C compiler was specified, use CC.
8519 LTCC=${LTCC-"$CC"}
8521 # If no C compiler flags were specified, use CFLAGS.
8522 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8524 # Allow CC to be a program name with arguments.
8525 compiler=$CC
8527 # Save the default compiler, since it gets overwritten when the other
8528 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8529 compiler_DEFAULT=$CC
8531 # save warnings/boilerplate of simple test code
8532 ac_outfile=conftest.$ac_objext
8533 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8534 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8535 _lt_compiler_boilerplate=`cat conftest.err`
8536 $RM conftest*
8538 ac_outfile=conftest.$ac_objext
8539 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8540 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8541 _lt_linker_boilerplate=`cat conftest.err`
8542 $RM -r conftest*
8545 ## CAVEAT EMPTOR:
8546 ## There is no encapsulation within the following macros, do not change
8547 ## the running order or otherwise move them around unless you know exactly
8548 ## what you are doing...
8549 if test -n "$compiler"; then
8551 lt_prog_compiler_no_builtin_flag=
8553 if test "$GCC" = yes; then
8554 case $cc_basename in
8555 nvcc*)
8556 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8558 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8559 esac
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8562 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8563 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8564 $as_echo_n "(cached) " >&6
8565 else
8566 lt_cv_prog_compiler_rtti_exceptions=no
8567 ac_outfile=conftest.$ac_objext
8568 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8569 lt_compiler_flag="-fno-rtti -fno-exceptions"
8570 # Insert the option either (1) after the last *FLAGS variable, or
8571 # (2) before a word containing "conftest.", or (3) at the end.
8572 # Note that $ac_compile itself does not contain backslashes and begins
8573 # with a dollar sign (not a hyphen), so the echo should work correctly.
8574 # The option is referenced via a variable to avoid confusing sed.
8575 lt_compile=`echo "$ac_compile" | $SED \
8576 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8577 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8578 -e 's:$: $lt_compiler_flag:'`
8579 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8580 (eval "$lt_compile" 2>conftest.err)
8581 ac_status=$?
8582 cat conftest.err >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 if (exit $ac_status) && test -s "$ac_outfile"; then
8585 # The compiler can only warn and ignore the option if not recognized
8586 # So say no if there are warnings other than the usual output.
8587 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8588 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8589 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8590 lt_cv_prog_compiler_rtti_exceptions=yes
8593 $RM conftest*
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8597 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8599 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8600 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8601 else
8612 lt_prog_compiler_wl=
8613 lt_prog_compiler_pic=
8614 lt_prog_compiler_static=
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8617 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8619 if test "$GCC" = yes; then
8620 lt_prog_compiler_wl='-Wl,'
8621 lt_prog_compiler_static='-static'
8623 case $host_os in
8624 aix*)
8625 # All AIX code is PIC.
8626 if test "$host_cpu" = ia64; then
8627 # AIX 5 now supports IA64 processor
8628 lt_prog_compiler_static='-Bstatic'
8630 lt_prog_compiler_pic='-fPIC'
8633 amigaos*)
8634 case $host_cpu in
8635 powerpc)
8636 # see comment about AmigaOS4 .so support
8637 lt_prog_compiler_pic='-fPIC'
8639 m68k)
8640 # FIXME: we need at least 68020 code to build shared libraries, but
8641 # adding the `-m68020' flag to GCC prevents building anything better,
8642 # like `-m68040'.
8643 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8645 esac
8648 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8649 # PIC is the default for these OSes.
8652 mingw* | cygwin* | pw32* | os2* | cegcc*)
8653 # This hack is so that the source file can tell whether it is being
8654 # built for inclusion in a dll (and should export symbols for example).
8655 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8656 # (--disable-auto-import) libraries
8657 lt_prog_compiler_pic='-DDLL_EXPORT'
8660 darwin* | rhapsody*)
8661 # PIC is the default on this platform
8662 # Common symbols not allowed in MH_DYLIB files
8663 lt_prog_compiler_pic='-fno-common'
8666 haiku*)
8667 # PIC is the default for Haiku.
8668 # The "-static" flag exists, but is broken.
8669 lt_prog_compiler_static=
8672 hpux*)
8673 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8674 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8675 # sets the default TLS model and affects inlining.
8676 case $host_cpu in
8677 hppa*64*)
8678 # +Z the default
8681 lt_prog_compiler_pic='-fPIC'
8683 esac
8686 interix[3-9]*)
8687 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8688 # Instead, we relocate shared libraries at runtime.
8691 msdosdjgpp*)
8692 # Just because we use GCC doesn't mean we suddenly get shared libraries
8693 # on systems that don't support them.
8694 lt_prog_compiler_can_build_shared=no
8695 enable_shared=no
8698 *nto* | *qnx*)
8699 # QNX uses GNU C++, but need to define -shared option too, otherwise
8700 # it will coredump.
8701 lt_prog_compiler_pic='-fPIC -shared'
8704 sysv4*MP*)
8705 if test -d /usr/nec; then
8706 lt_prog_compiler_pic=-Kconform_pic
8711 lt_prog_compiler_pic='-fPIC'
8713 esac
8715 case $cc_basename in
8716 nvcc*) # Cuda Compiler Driver 2.2
8717 lt_prog_compiler_wl='-Xlinker '
8718 lt_prog_compiler_pic='-Xcompiler -fPIC'
8720 esac
8721 else
8722 # PORTME Check for flag to pass linker flags through the system compiler.
8723 case $host_os in
8724 aix*)
8725 lt_prog_compiler_wl='-Wl,'
8726 if test "$host_cpu" = ia64; then
8727 # AIX 5 now supports IA64 processor
8728 lt_prog_compiler_static='-Bstatic'
8729 else
8730 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8734 mingw* | cygwin* | pw32* | os2* | cegcc*)
8735 # This hack is so that the source file can tell whether it is being
8736 # built for inclusion in a dll (and should export symbols for example).
8737 lt_prog_compiler_pic='-DDLL_EXPORT'
8740 hpux9* | hpux10* | hpux11*)
8741 lt_prog_compiler_wl='-Wl,'
8742 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8743 # not for PA HP-UX.
8744 case $host_cpu in
8745 hppa*64*|ia64*)
8746 # +Z the default
8749 lt_prog_compiler_pic='+Z'
8751 esac
8752 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8753 lt_prog_compiler_static='${wl}-a ${wl}archive'
8756 irix5* | irix6* | nonstopux*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # PIC (with -KPIC) is the default.
8759 lt_prog_compiler_static='-non_shared'
8762 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8763 case $cc_basename in
8764 # old Intel for x86_64 which still supported -KPIC.
8765 ecc*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-static'
8770 # icc used to be incompatible with GCC.
8771 # ICC 10 doesn't accept -KPIC any more.
8772 icc* | ifort*)
8773 lt_prog_compiler_wl='-Wl,'
8774 lt_prog_compiler_pic='-fPIC'
8775 lt_prog_compiler_static='-static'
8777 # Lahey Fortran 8.1.
8778 lf95*)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='--shared'
8781 lt_prog_compiler_static='--static'
8783 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8784 # Portland Group compilers (*not* the Pentium gcc compiler,
8785 # which looks to be a dead project)
8786 lt_prog_compiler_wl='-Wl,'
8787 lt_prog_compiler_pic='-fpic'
8788 lt_prog_compiler_static='-Bstatic'
8790 ccc*)
8791 lt_prog_compiler_wl='-Wl,'
8792 # All Alpha code is PIC.
8793 lt_prog_compiler_static='-non_shared'
8795 xl* | bgxl* | bgf* | mpixl*)
8796 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-qpic'
8799 lt_prog_compiler_static='-qstaticlink'
8802 case `$CC -V 2>&1 | sed 5q` in
8803 *Sun\ F* | *Sun*Fortran*)
8804 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8805 lt_prog_compiler_pic='-KPIC'
8806 lt_prog_compiler_static='-Bstatic'
8807 lt_prog_compiler_wl=''
8809 *Sun\ C*)
8810 # Sun C 5.9
8811 lt_prog_compiler_pic='-KPIC'
8812 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_wl='-Wl,'
8815 esac
8817 esac
8820 newsos6)
8821 lt_prog_compiler_pic='-KPIC'
8822 lt_prog_compiler_static='-Bstatic'
8825 *nto* | *qnx*)
8826 # QNX uses GNU C++, but need to define -shared option too, otherwise
8827 # it will coredump.
8828 lt_prog_compiler_pic='-fPIC -shared'
8831 osf3* | osf4* | osf5*)
8832 lt_prog_compiler_wl='-Wl,'
8833 # All OSF/1 code is PIC.
8834 lt_prog_compiler_static='-non_shared'
8837 rdos*)
8838 lt_prog_compiler_static='-non_shared'
8841 solaris*)
8842 lt_prog_compiler_pic='-KPIC'
8843 lt_prog_compiler_static='-Bstatic'
8844 case $cc_basename in
8845 f77* | f90* | f95*)
8846 lt_prog_compiler_wl='-Qoption ld ';;
8848 lt_prog_compiler_wl='-Wl,';;
8849 esac
8852 sunos4*)
8853 lt_prog_compiler_wl='-Qoption ld '
8854 lt_prog_compiler_pic='-PIC'
8855 lt_prog_compiler_static='-Bstatic'
8858 sysv4 | sysv4.2uw2* | sysv4.3*)
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-KPIC'
8861 lt_prog_compiler_static='-Bstatic'
8864 sysv4*MP*)
8865 if test -d /usr/nec ;then
8866 lt_prog_compiler_pic='-Kconform_pic'
8867 lt_prog_compiler_static='-Bstatic'
8871 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8872 lt_prog_compiler_wl='-Wl,'
8873 lt_prog_compiler_pic='-KPIC'
8874 lt_prog_compiler_static='-Bstatic'
8877 unicos*)
8878 lt_prog_compiler_wl='-Wl,'
8879 lt_prog_compiler_can_build_shared=no
8882 uts4*)
8883 lt_prog_compiler_pic='-pic'
8884 lt_prog_compiler_static='-Bstatic'
8888 lt_prog_compiler_can_build_shared=no
8890 esac
8893 case $host_os in
8894 # For platforms which do not support PIC, -DPIC is meaningless:
8895 *djgpp*)
8896 lt_prog_compiler_pic=
8899 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8901 esac
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8903 $as_echo "$lt_prog_compiler_pic" >&6; }
8911 # Check to make sure the PIC flag actually works.
8913 if test -n "$lt_prog_compiler_pic"; then
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8915 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8916 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8917 $as_echo_n "(cached) " >&6
8918 else
8919 lt_cv_prog_compiler_pic_works=no
8920 ac_outfile=conftest.$ac_objext
8921 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8922 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8923 # Insert the option either (1) after the last *FLAGS variable, or
8924 # (2) before a word containing "conftest.", or (3) at the end.
8925 # Note that $ac_compile itself does not contain backslashes and begins
8926 # with a dollar sign (not a hyphen), so the echo should work correctly.
8927 # The option is referenced via a variable to avoid confusing sed.
8928 lt_compile=`echo "$ac_compile" | $SED \
8929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8931 -e 's:$: $lt_compiler_flag:'`
8932 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8933 (eval "$lt_compile" 2>conftest.err)
8934 ac_status=$?
8935 cat conftest.err >&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 if (exit $ac_status) && test -s "$ac_outfile"; then
8938 # The compiler can only warn and ignore the option if not recognized
8939 # So say no if there are warnings other than the usual output.
8940 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8941 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8942 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8943 lt_cv_prog_compiler_pic_works=yes
8946 $RM conftest*
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8950 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8952 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8953 case $lt_prog_compiler_pic in
8954 "" | " "*) ;;
8955 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8956 esac
8957 else
8958 lt_prog_compiler_pic=
8959 lt_prog_compiler_can_build_shared=no
8970 # Check to make sure the static flag actually works.
8972 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8974 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8975 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 lt_cv_prog_compiler_static_works=no
8979 save_LDFLAGS="$LDFLAGS"
8980 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8981 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8982 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8983 # The linker can only warn and ignore the option if not recognized
8984 # So say no if there are warnings
8985 if test -s conftest.err; then
8986 # Append any errors to the config.log.
8987 cat conftest.err 1>&5
8988 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8989 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8990 if diff conftest.exp conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_static_works=yes
8993 else
8994 lt_cv_prog_compiler_static_works=yes
8997 $RM -r conftest*
8998 LDFLAGS="$save_LDFLAGS"
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9002 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9004 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9006 else
9007 lt_prog_compiler_static=
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9017 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9018 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9019 $as_echo_n "(cached) " >&6
9020 else
9021 lt_cv_prog_compiler_c_o=no
9022 $RM -r conftest 2>/dev/null
9023 mkdir conftest
9024 cd conftest
9025 mkdir out
9026 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9028 lt_compiler_flag="-o out/conftest2.$ac_objext"
9029 # Insert the option either (1) after the last *FLAGS variable, or
9030 # (2) before a word containing "conftest.", or (3) at the end.
9031 # Note that $ac_compile itself does not contain backslashes and begins
9032 # with a dollar sign (not a hyphen), so the echo should work correctly.
9033 lt_compile=`echo "$ac_compile" | $SED \
9034 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9035 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9036 -e 's:$: $lt_compiler_flag:'`
9037 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9038 (eval "$lt_compile" 2>out/conftest.err)
9039 ac_status=$?
9040 cat out/conftest.err >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9043 then
9044 # The compiler can only warn and ignore the option if not recognized
9045 # So say no if there are warnings
9046 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9047 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9048 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9049 lt_cv_prog_compiler_c_o=yes
9052 chmod u+w . 2>&5
9053 $RM conftest*
9054 # SGI C++ compiler will create directory out/ii_files/ for
9055 # template instantiation
9056 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9057 $RM out/* && rmdir out
9058 cd ..
9059 $RM -r conftest
9060 $RM conftest*
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9064 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9072 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9073 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9074 $as_echo_n "(cached) " >&6
9075 else
9076 lt_cv_prog_compiler_c_o=no
9077 $RM -r conftest 2>/dev/null
9078 mkdir conftest
9079 cd conftest
9080 mkdir out
9081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9083 lt_compiler_flag="-o out/conftest2.$ac_objext"
9084 # Insert the option either (1) after the last *FLAGS variable, or
9085 # (2) before a word containing "conftest.", or (3) at the end.
9086 # Note that $ac_compile itself does not contain backslashes and begins
9087 # with a dollar sign (not a hyphen), so the echo should work correctly.
9088 lt_compile=`echo "$ac_compile" | $SED \
9089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9091 -e 's:$: $lt_compiler_flag:'`
9092 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9093 (eval "$lt_compile" 2>out/conftest.err)
9094 ac_status=$?
9095 cat out/conftest.err >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9098 then
9099 # The compiler can only warn and ignore the option if not recognized
9100 # So say no if there are warnings
9101 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9102 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9103 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9104 lt_cv_prog_compiler_c_o=yes
9107 chmod u+w . 2>&5
9108 $RM conftest*
9109 # SGI C++ compiler will create directory out/ii_files/ for
9110 # template instantiation
9111 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9112 $RM out/* && rmdir out
9113 cd ..
9114 $RM -r conftest
9115 $RM conftest*
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9119 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9124 hard_links="nottested"
9125 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9126 # do not overwrite the value of need_locks provided by the user
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9128 $as_echo_n "checking if we can lock with hard links... " >&6; }
9129 hard_links=yes
9130 $RM conftest*
9131 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9132 touch conftest.a
9133 ln conftest.a conftest.b 2>&5 || hard_links=no
9134 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9136 $as_echo "$hard_links" >&6; }
9137 if test "$hard_links" = no; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9139 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9140 need_locks=warn
9142 else
9143 need_locks=no
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9152 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9154 runpath_var=
9155 allow_undefined_flag=
9156 always_export_symbols=no
9157 archive_cmds=
9158 archive_expsym_cmds=
9159 compiler_needs_object=no
9160 enable_shared_with_static_runtimes=no
9161 export_dynamic_flag_spec=
9162 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9163 hardcode_automatic=no
9164 hardcode_direct=no
9165 hardcode_direct_absolute=no
9166 hardcode_libdir_flag_spec=
9167 hardcode_libdir_flag_spec_ld=
9168 hardcode_libdir_separator=
9169 hardcode_minus_L=no
9170 hardcode_shlibpath_var=unsupported
9171 inherit_rpath=no
9172 link_all_deplibs=unknown
9173 module_cmds=
9174 module_expsym_cmds=
9175 old_archive_from_new_cmds=
9176 old_archive_from_expsyms_cmds=
9177 thread_safe_flag_spec=
9178 whole_archive_flag_spec=
9179 # include_expsyms should be a list of space-separated symbols to be *always*
9180 # included in the symbol list
9181 include_expsyms=
9182 # exclude_expsyms can be an extended regexp of symbols to exclude
9183 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9184 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9185 # as well as any symbol that contains `d'.
9186 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9187 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9188 # platforms (ab)use it in PIC code, but their linkers get confused if
9189 # the symbol is explicitly referenced. Since portable code cannot
9190 # rely on this symbol name, it's probably fine to never include it in
9191 # preloaded symbol tables.
9192 # Exclude shared library initialization/finalization symbols.
9193 extract_expsyms_cmds=
9195 case $host_os in
9196 cygwin* | mingw* | pw32* | cegcc*)
9197 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9198 # When not using gcc, we currently assume that we are using
9199 # Microsoft Visual C++.
9200 if test "$GCC" != yes; then
9201 with_gnu_ld=no
9204 interix*)
9205 # we just hope/assume this is gcc and not c89 (= MSVC++)
9206 with_gnu_ld=yes
9208 openbsd*)
9209 with_gnu_ld=no
9211 esac
9213 ld_shlibs=yes
9215 # On some targets, GNU ld is compatible enough with the native linker
9216 # that we're better off using the native interface for both.
9217 lt_use_gnu_ld_interface=no
9218 if test "$with_gnu_ld" = yes; then
9219 case $host_os in
9220 aix*)
9221 # The AIX port of GNU ld has always aspired to compatibility
9222 # with the native linker. However, as the warning in the GNU ld
9223 # block says, versions before 2.19.5* couldn't really create working
9224 # shared libraries, regardless of the interface used.
9225 case `$LD -v 2>&1` in
9226 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9227 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9228 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 lt_use_gnu_ld_interface=yes
9237 esac
9240 if test "$lt_use_gnu_ld_interface" = yes; then
9241 # If archive_cmds runs LD, not CC, wlarc should be empty
9242 wlarc='${wl}'
9244 # Set some defaults for GNU ld with shared library support. These
9245 # are reset later if shared libraries are not supported. Putting them
9246 # here allows them to be overridden if necessary.
9247 runpath_var=LD_RUN_PATH
9248 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9249 export_dynamic_flag_spec='${wl}--export-dynamic'
9250 # ancient GNU ld didn't support --whole-archive et. al.
9251 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9252 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9253 else
9254 whole_archive_flag_spec=
9256 supports_anon_versioning=no
9257 case `$LD -v 2>&1` in
9258 *GNU\ gold*) supports_anon_versioning=yes ;;
9259 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9260 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9261 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9262 *\ 2.11.*) ;; # other 2.11 versions
9263 *) supports_anon_versioning=yes ;;
9264 esac
9266 # See if GNU ld supports shared libraries.
9267 case $host_os in
9268 aix[3-9]*)
9269 # On AIX/PPC, the GNU linker is very broken
9270 if test "$host_cpu" != ia64; then
9271 ld_shlibs=no
9272 cat <<_LT_EOF 1>&2
9274 *** Warning: the GNU linker, at least up to release 2.19, is reported
9275 *** to be unable to reliably create shared libraries on AIX.
9276 *** Therefore, libtool is disabling shared libraries support. If you
9277 *** really care for shared libraries, you may want to install binutils
9278 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9279 *** You will then need to restart the configuration process.
9281 _LT_EOF
9285 amigaos*)
9286 case $host_cpu in
9287 powerpc)
9288 # see comment about AmigaOS4 .so support
9289 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9290 archive_expsym_cmds=''
9292 m68k)
9293 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)'
9294 hardcode_libdir_flag_spec='-L$libdir'
9295 hardcode_minus_L=yes
9297 esac
9300 beos*)
9301 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9302 allow_undefined_flag=unsupported
9303 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9304 # support --undefined. This deserves some investigation. FIXME
9305 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9306 else
9307 ld_shlibs=no
9311 cygwin* | mingw* | pw32* | cegcc*)
9312 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9313 # as there is no search path for DLLs.
9314 hardcode_libdir_flag_spec='-L$libdir'
9315 export_dynamic_flag_spec='${wl}--export-all-symbols'
9316 allow_undefined_flag=unsupported
9317 always_export_symbols=no
9318 enable_shared_with_static_runtimes=yes
9319 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9321 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9322 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9323 # If the export-symbols file already is a .def file (1st line
9324 # is EXPORTS), use it as is; otherwise, prepend...
9325 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9326 cp $export_symbols $output_objdir/$soname.def;
9327 else
9328 echo EXPORTS > $output_objdir/$soname.def;
9329 cat $export_symbols >> $output_objdir/$soname.def;
9331 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9332 else
9333 ld_shlibs=no
9337 haiku*)
9338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339 link_all_deplibs=yes
9342 interix[3-9]*)
9343 hardcode_direct=no
9344 hardcode_shlibpath_var=no
9345 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9346 export_dynamic_flag_spec='${wl}-E'
9347 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9348 # Instead, shared libraries are loaded at an image base (0x10000000 by
9349 # default) and relocated if they conflict, which is a slow very memory
9350 # consuming and fragmenting process. To avoid this, we pick a random,
9351 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9352 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9353 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9354 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'
9357 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9358 tmp_diet=no
9359 if test "$host_os" = linux-dietlibc; then
9360 case $cc_basename in
9361 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9362 esac
9364 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9365 && test "$tmp_diet" = no
9366 then
9367 tmp_addflag=' $pic_flag'
9368 tmp_sharedflag='-shared'
9369 case $cc_basename,$host_cpu in
9370 pgcc*) # Portland Group C compiler
9371 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'
9372 tmp_addflag=' $pic_flag'
9374 pgf77* | pgf90* | pgf95* | pgfortran*)
9375 # Portland Group f77 and f90 compilers
9376 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'
9377 tmp_addflag=' $pic_flag -Mnomain' ;;
9378 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9379 tmp_addflag=' -i_dynamic' ;;
9380 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9381 tmp_addflag=' -i_dynamic -nofor_main' ;;
9382 ifc* | ifort*) # Intel Fortran compiler
9383 tmp_addflag=' -nofor_main' ;;
9384 lf95*) # Lahey Fortran 8.1
9385 whole_archive_flag_spec=
9386 tmp_sharedflag='--shared' ;;
9387 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9388 tmp_sharedflag='-qmkshrobj'
9389 tmp_addflag= ;;
9390 nvcc*) # Cuda Compiler Driver 2.2
9391 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'
9392 compiler_needs_object=yes
9394 esac
9395 case `$CC -V 2>&1 | sed 5q` in
9396 *Sun\ C*) # Sun C 5.9
9397 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'
9398 compiler_needs_object=yes
9399 tmp_sharedflag='-G' ;;
9400 *Sun\ F*) # Sun Fortran 8.3
9401 tmp_sharedflag='-G' ;;
9402 esac
9403 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9405 if test "x$supports_anon_versioning" = xyes; then
9406 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9407 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9408 echo "local: *; };" >> $output_objdir/$libname.ver~
9409 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9412 case $cc_basename in
9413 xlf* | bgf* | bgxlf* | mpixlf*)
9414 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9415 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9416 hardcode_libdir_flag_spec=
9417 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9418 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9419 if test "x$supports_anon_versioning" = xyes; then
9420 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9421 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9422 echo "local: *; };" >> $output_objdir/$libname.ver~
9423 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9426 esac
9427 else
9428 ld_shlibs=no
9432 netbsd*)
9433 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9434 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9435 wlarc=
9436 else
9437 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9438 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9442 solaris*)
9443 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9444 ld_shlibs=no
9445 cat <<_LT_EOF 1>&2
9447 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9448 *** create shared libraries on Solaris systems. Therefore, libtool
9449 *** is disabling shared libraries support. We urge you to upgrade GNU
9450 *** binutils to release 2.9.1 or newer. Another option is to modify
9451 *** your PATH or compiler configuration so that the native linker is
9452 *** used, and then restart.
9454 _LT_EOF
9455 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9456 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9457 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9458 else
9459 ld_shlibs=no
9463 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9464 case `$LD -v 2>&1` in
9465 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9466 ld_shlibs=no
9467 cat <<_LT_EOF 1>&2
9469 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9470 *** reliably create shared libraries on SCO systems. Therefore, libtool
9471 *** is disabling shared libraries support. We urge you to upgrade GNU
9472 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9473 *** your PATH or compiler configuration so that the native linker is
9474 *** used, and then restart.
9476 _LT_EOF
9479 # For security reasons, it is highly recommended that you always
9480 # use absolute paths for naming shared libraries, and exclude the
9481 # DT_RUNPATH tag from executables and libraries. But doing so
9482 # requires that you compile everything twice, which is a pain.
9483 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9484 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9485 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9487 else
9488 ld_shlibs=no
9491 esac
9494 sunos4*)
9495 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9496 wlarc=
9497 hardcode_direct=yes
9498 hardcode_shlibpath_var=no
9502 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9503 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9504 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9505 else
9506 ld_shlibs=no
9509 esac
9511 if test "$ld_shlibs" = no; then
9512 runpath_var=
9513 hardcode_libdir_flag_spec=
9514 export_dynamic_flag_spec=
9515 whole_archive_flag_spec=
9517 else
9518 # PORTME fill in a description of your system's linker (not GNU ld)
9519 case $host_os in
9520 aix3*)
9521 allow_undefined_flag=unsupported
9522 always_export_symbols=yes
9523 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'
9524 # Note: this linker hardcodes the directories in LIBPATH if there
9525 # are no directories specified by -L.
9526 hardcode_minus_L=yes
9527 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9528 # Neither direct hardcoding nor static linking is supported with a
9529 # broken collect2.
9530 hardcode_direct=unsupported
9534 aix[4-9]*)
9535 if test "$host_cpu" = ia64; then
9536 # On IA64, the linker does run time linking by default, so we don't
9537 # have to do anything special.
9538 aix_use_runtimelinking=no
9539 exp_sym_flag='-Bexport'
9540 no_entry_flag=""
9541 else
9542 # If we're using GNU nm, then we don't want the "-C" option.
9543 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9544 # Also, AIX nm treats weak defined symbols like other global
9545 # defined symbols, whereas GNU nm marks them as "W".
9546 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9547 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'
9548 else
9549 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'
9551 aix_use_runtimelinking=no
9553 # Test if we are trying to use run time linking or normal
9554 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9555 # need to do runtime linking.
9556 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9557 for ld_flag in $LDFLAGS; do
9558 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9559 aix_use_runtimelinking=yes
9560 break
9562 done
9564 esac
9566 exp_sym_flag='-bexport'
9567 no_entry_flag='-bnoentry'
9570 # When large executables or shared objects are built, AIX ld can
9571 # have problems creating the table of contents. If linking a library
9572 # or program results in "error TOC overflow" add -mminimal-toc to
9573 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9574 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9576 archive_cmds=''
9577 hardcode_direct=yes
9578 hardcode_direct_absolute=yes
9579 hardcode_libdir_separator=':'
9580 link_all_deplibs=yes
9581 file_list_spec='${wl}-f,'
9583 if test "$GCC" = yes; then
9584 case $host_os in aix4.[012]|aix4.[012].*)
9585 # We only want to do this on AIX 4.2 and lower, the check
9586 # below for broken collect2 doesn't work under 4.3+
9587 collect2name=`${CC} -print-prog-name=collect2`
9588 if test -f "$collect2name" &&
9589 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9590 then
9591 # We have reworked collect2
9593 else
9594 # We have old collect2
9595 hardcode_direct=unsupported
9596 # It fails to find uninstalled libraries when the uninstalled
9597 # path is not listed in the libpath. Setting hardcode_minus_L
9598 # to unsupported forces relinking
9599 hardcode_minus_L=yes
9600 hardcode_libdir_flag_spec='-L$libdir'
9601 hardcode_libdir_separator=
9604 esac
9605 shared_flag='-shared'
9606 if test "$aix_use_runtimelinking" = yes; then
9607 shared_flag="$shared_flag "'${wl}-G'
9609 else
9610 # not using gcc
9611 if test "$host_cpu" = ia64; then
9612 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9613 # chokes on -Wl,-G. The following line is correct:
9614 shared_flag='-G'
9615 else
9616 if test "$aix_use_runtimelinking" = yes; then
9617 shared_flag='${wl}-G'
9618 else
9619 shared_flag='${wl}-bM:SRE'
9624 export_dynamic_flag_spec='${wl}-bexpall'
9625 # It seems that -bexpall does not export symbols beginning with
9626 # underscore (_), so it is better to generate a list of symbols to export.
9627 always_export_symbols=yes
9628 if test "$aix_use_runtimelinking" = yes; then
9629 # Warning - without using the other runtime loading flags (-brtl),
9630 # -berok will link without error, but may produce a broken library.
9631 allow_undefined_flag='-berok'
9632 # Determine the default libpath from the value encoded in an
9633 # empty executable.
9634 if test x$gcc_no_link = xyes; then
9635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9641 main ()
9645 return 0;
9647 _ACEOF
9648 if ac_fn_c_try_link "$LINENO"; then :
9650 lt_aix_libpath_sed='
9651 /Import File Strings/,/^$/ {
9652 /^0/ {
9653 s/^0 *\(.*\)$/\1/
9657 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 # Check for a 64-bit object if we didn't find anything.
9659 if test -z "$aix_libpath"; then
9660 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9663 rm -f core conftest.err conftest.$ac_objext \
9664 conftest$ac_exeext conftest.$ac_ext
9665 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9667 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9668 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"
9669 else
9670 if test "$host_cpu" = ia64; then
9671 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9672 allow_undefined_flag="-z nodefs"
9673 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"
9674 else
9675 # Determine the default libpath from the value encoded in an
9676 # empty executable.
9677 if test x$gcc_no_link = xyes; then
9678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9681 /* end confdefs.h. */
9684 main ()
9688 return 0;
9690 _ACEOF
9691 if ac_fn_c_try_link "$LINENO"; then :
9693 lt_aix_libpath_sed='
9694 /Import File Strings/,/^$/ {
9695 /^0/ {
9696 s/^0 *\(.*\)$/\1/
9700 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 # Check for a 64-bit object if we didn't find anything.
9702 if test -z "$aix_libpath"; then
9703 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9706 rm -f core conftest.err conftest.$ac_objext \
9707 conftest$ac_exeext conftest.$ac_ext
9708 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9710 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9711 # Warning - without using the other run time loading flags,
9712 # -berok will link without error, but may produce a broken library.
9713 no_undefined_flag=' ${wl}-bernotok'
9714 allow_undefined_flag=' ${wl}-berok'
9715 if test "$with_gnu_ld" = yes; then
9716 # We only use this code for GNU lds that support --whole-archive.
9717 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9718 else
9719 # Exported symbols can be pulled into shared objects from archives
9720 whole_archive_flag_spec='$convenience'
9722 archive_cmds_need_lc=yes
9723 # This is similar to how AIX traditionally builds its shared libraries.
9724 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'
9729 amigaos*)
9730 case $host_cpu in
9731 powerpc)
9732 # see comment about AmigaOS4 .so support
9733 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9734 archive_expsym_cmds=''
9736 m68k)
9737 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)'
9738 hardcode_libdir_flag_spec='-L$libdir'
9739 hardcode_minus_L=yes
9741 esac
9744 bsdi[45]*)
9745 export_dynamic_flag_spec=-rdynamic
9748 cygwin* | mingw* | pw32* | cegcc*)
9749 # When not using gcc, we currently assume that we are using
9750 # Microsoft Visual C++.
9751 # hardcode_libdir_flag_spec is actually meaningless, as there is
9752 # no search path for DLLs.
9753 hardcode_libdir_flag_spec=' '
9754 allow_undefined_flag=unsupported
9755 # Tell ltmain to make .lib files, not .a files.
9756 libext=lib
9757 # Tell ltmain to make .dll files, not .so files.
9758 shrext_cmds=".dll"
9759 # FIXME: Setting linknames here is a bad hack.
9760 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9761 # The linker will automatically build a .lib file if we build a DLL.
9762 old_archive_from_new_cmds='true'
9763 # FIXME: Should let the user specify the lib program.
9764 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9765 fix_srcfile_path='`cygpath -w "$srcfile"`'
9766 enable_shared_with_static_runtimes=yes
9769 darwin* | rhapsody*)
9772 archive_cmds_need_lc=no
9773 hardcode_direct=no
9774 hardcode_automatic=yes
9775 hardcode_shlibpath_var=unsupported
9776 if test "$lt_cv_ld_force_load" = "yes"; then
9777 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\"`'
9778 else
9779 whole_archive_flag_spec=''
9781 link_all_deplibs=yes
9782 allow_undefined_flag="$_lt_dar_allow_undefined"
9783 case $cc_basename in
9784 ifort*) _lt_dar_can_shared=yes ;;
9785 *) _lt_dar_can_shared=$GCC ;;
9786 esac
9787 if test "$_lt_dar_can_shared" = "yes"; then
9788 output_verbose_link_cmd=func_echo_all
9789 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9790 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9791 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}"
9792 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}"
9794 else
9795 ld_shlibs=no
9800 dgux*)
9801 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9802 hardcode_libdir_flag_spec='-L$libdir'
9803 hardcode_shlibpath_var=no
9806 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9807 # support. Future versions do this automatically, but an explicit c++rt0.o
9808 # does not break anything, and helps significantly (at the cost of a little
9809 # extra space).
9810 freebsd2.2*)
9811 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9812 hardcode_libdir_flag_spec='-R$libdir'
9813 hardcode_direct=yes
9814 hardcode_shlibpath_var=no
9817 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9818 freebsd2.*)
9819 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9820 hardcode_direct=yes
9821 hardcode_minus_L=yes
9822 hardcode_shlibpath_var=no
9825 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9826 freebsd* | dragonfly*)
9827 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9828 hardcode_libdir_flag_spec='-R$libdir'
9829 hardcode_direct=yes
9830 hardcode_shlibpath_var=no
9833 hpux9*)
9834 if test "$GCC" = yes; then
9835 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'
9836 else
9837 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'
9839 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9840 hardcode_libdir_separator=:
9841 hardcode_direct=yes
9843 # hardcode_minus_L: Not really in the search PATH,
9844 # but as the default location of the library.
9845 hardcode_minus_L=yes
9846 export_dynamic_flag_spec='${wl}-E'
9849 hpux10*)
9850 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9851 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9852 else
9853 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9855 if test "$with_gnu_ld" = no; then
9856 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9857 hardcode_libdir_flag_spec_ld='+b $libdir'
9858 hardcode_libdir_separator=:
9859 hardcode_direct=yes
9860 hardcode_direct_absolute=yes
9861 export_dynamic_flag_spec='${wl}-E'
9862 # hardcode_minus_L: Not really in the search PATH,
9863 # but as the default location of the library.
9864 hardcode_minus_L=yes
9868 hpux11*)
9869 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9870 case $host_cpu in
9871 hppa*64*)
9872 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9874 ia64*)
9875 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9878 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9880 esac
9881 else
9882 case $host_cpu in
9883 hppa*64*)
9884 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9886 ia64*)
9887 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9891 # Older versions of the 11.00 compiler do not understand -b yet
9892 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9894 $as_echo_n "checking if $CC understands -b... " >&6; }
9895 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 lt_cv_prog_compiler__b=no
9899 save_LDFLAGS="$LDFLAGS"
9900 LDFLAGS="$LDFLAGS -b"
9901 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9902 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9903 # The linker can only warn and ignore the option if not recognized
9904 # So say no if there are warnings
9905 if test -s conftest.err; then
9906 # Append any errors to the config.log.
9907 cat conftest.err 1>&5
9908 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9910 if diff conftest.exp conftest.er2 >/dev/null; then
9911 lt_cv_prog_compiler__b=yes
9913 else
9914 lt_cv_prog_compiler__b=yes
9917 $RM -r conftest*
9918 LDFLAGS="$save_LDFLAGS"
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9922 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9924 if test x"$lt_cv_prog_compiler__b" = xyes; then
9925 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9926 else
9927 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9931 esac
9933 if test "$with_gnu_ld" = no; then
9934 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9935 hardcode_libdir_separator=:
9937 case $host_cpu in
9938 hppa*64*|ia64*)
9939 hardcode_direct=no
9940 hardcode_shlibpath_var=no
9943 hardcode_direct=yes
9944 hardcode_direct_absolute=yes
9945 export_dynamic_flag_spec='${wl}-E'
9947 # hardcode_minus_L: Not really in the search PATH,
9948 # but as the default location of the library.
9949 hardcode_minus_L=yes
9951 esac
9955 irix5* | irix6* | nonstopux*)
9956 if test "$GCC" = yes; then
9957 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'
9958 # Try to use the -exported_symbol ld option, if it does not
9959 # work, assume that -exports_file does not work either and
9960 # implicitly export all symbols.
9961 save_LDFLAGS="$LDFLAGS"
9962 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9963 if test x$gcc_no_link = xyes; then
9964 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int foo(void) {}
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 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'
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LDFLAGS="$save_LDFLAGS"
9977 else
9978 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'
9979 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'
9981 archive_cmds_need_lc='no'
9982 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9983 hardcode_libdir_separator=:
9984 inherit_rpath=yes
9985 link_all_deplibs=yes
9988 netbsd*)
9989 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9990 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9991 else
9992 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9994 hardcode_libdir_flag_spec='-R$libdir'
9995 hardcode_direct=yes
9996 hardcode_shlibpath_var=no
9999 newsos6)
10000 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_direct=yes
10002 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10003 hardcode_libdir_separator=:
10004 hardcode_shlibpath_var=no
10007 *nto* | *qnx*)
10010 openbsd*)
10011 if test -f /usr/libexec/ld.so; then
10012 hardcode_direct=yes
10013 hardcode_shlibpath_var=no
10014 hardcode_direct_absolute=yes
10015 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10016 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10018 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10019 export_dynamic_flag_spec='${wl}-E'
10020 else
10021 case $host_os in
10022 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10023 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10024 hardcode_libdir_flag_spec='-R$libdir'
10027 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10028 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10030 esac
10032 else
10033 ld_shlibs=no
10037 os2*)
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_minus_L=yes
10040 allow_undefined_flag=unsupported
10041 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'
10042 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10045 osf3*)
10046 if test "$GCC" = yes; then
10047 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10048 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'
10049 else
10050 allow_undefined_flag=' -expect_unresolved \*'
10051 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'
10053 archive_cmds_need_lc='no'
10054 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10055 hardcode_libdir_separator=:
10058 osf4* | osf5*) # as osf3* with the addition of -msym flag
10059 if test "$GCC" = yes; then
10060 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10061 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'
10062 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10063 else
10064 allow_undefined_flag=' -expect_unresolved \*'
10065 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'
10066 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~
10067 $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'
10069 # Both c and cxx compiler support -rpath directly
10070 hardcode_libdir_flag_spec='-rpath $libdir'
10072 archive_cmds_need_lc='no'
10073 hardcode_libdir_separator=:
10076 solaris*)
10077 no_undefined_flag=' -z defs'
10078 if test "$GCC" = yes; then
10079 wlarc='${wl}'
10080 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10083 else
10084 case `$CC -V 2>&1` in
10085 *"Compilers 5.0"*)
10086 wlarc=''
10087 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10089 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10092 wlarc='${wl}'
10093 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10095 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10097 esac
10099 hardcode_libdir_flag_spec='-R$libdir'
10100 hardcode_shlibpath_var=no
10101 case $host_os in
10102 solaris2.[0-5] | solaris2.[0-5].*) ;;
10104 # The compiler driver will combine and reorder linker options,
10105 # but understands `-z linker_flag'. GCC discards it without `$wl',
10106 # but is careful enough not to reorder.
10107 # Supported since Solaris 2.6 (maybe 2.5.1?)
10108 if test "$GCC" = yes; then
10109 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10110 else
10111 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10114 esac
10115 link_all_deplibs=yes
10118 sunos4*)
10119 if test "x$host_vendor" = xsequent; then
10120 # Use $CC to link under sequent, because it throws in some extra .o
10121 # files that make .init and .fini sections work.
10122 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10123 else
10124 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_libdir_flag_spec='-L$libdir'
10127 hardcode_direct=yes
10128 hardcode_minus_L=yes
10129 hardcode_shlibpath_var=no
10132 sysv4)
10133 case $host_vendor in
10134 sni)
10135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10136 hardcode_direct=yes # is this really true???
10138 siemens)
10139 ## LD is ld it makes a PLAMLIB
10140 ## CC just makes a GrossModule.
10141 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10142 reload_cmds='$CC -r -o $output$reload_objs'
10143 hardcode_direct=no
10145 motorola)
10146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10149 esac
10150 runpath_var='LD_RUN_PATH'
10151 hardcode_shlibpath_var=no
10154 sysv4.3*)
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 export_dynamic_flag_spec='-Bexport'
10160 sysv4*MP*)
10161 if test -d /usr/nec; then
10162 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10163 hardcode_shlibpath_var=no
10164 runpath_var=LD_RUN_PATH
10165 hardcode_runpath_var=yes
10166 ld_shlibs=yes
10170 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10171 no_undefined_flag='${wl}-z,text'
10172 archive_cmds_need_lc=no
10173 hardcode_shlibpath_var=no
10174 runpath_var='LD_RUN_PATH'
10176 if test "$GCC" = yes; then
10177 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10179 else
10180 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185 sysv5* | sco3.2v5* | sco5v6*)
10186 # Note: We can NOT use -z defs as we might desire, because we do not
10187 # link with -lc, and that would cause any symbols used from libc to
10188 # always be unresolved, which means just about no library would
10189 # ever link correctly. If we're not using GNU ld we use -z text
10190 # though, which does catch some bad symbols but isn't as heavy-handed
10191 # as -z defs.
10192 no_undefined_flag='${wl}-z,text'
10193 allow_undefined_flag='${wl}-z,nodefs'
10194 archive_cmds_need_lc=no
10195 hardcode_shlibpath_var=no
10196 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10197 hardcode_libdir_separator=':'
10198 link_all_deplibs=yes
10199 export_dynamic_flag_spec='${wl}-Bexport'
10200 runpath_var='LD_RUN_PATH'
10202 if test "$GCC" = yes; then
10203 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10205 else
10206 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 uts4*)
10212 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10213 hardcode_libdir_flag_spec='-L$libdir'
10214 hardcode_shlibpath_var=no
10218 ld_shlibs=no
10220 esac
10222 if test x$host_vendor = xsni; then
10223 case $host in
10224 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10225 export_dynamic_flag_spec='${wl}-Blargedynsym'
10227 esac
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10232 $as_echo "$ld_shlibs" >&6; }
10233 test "$ld_shlibs" = no && can_build_shared=no
10235 with_gnu_ld=$with_gnu_ld
10252 # Do we need to explicitly link libc?
10254 case "x$archive_cmds_need_lc" in
10255 x|xyes)
10256 # Assume -lc should be added
10257 archive_cmds_need_lc=yes
10259 if test "$enable_shared" = yes && test "$GCC" = yes; then
10260 case $archive_cmds in
10261 *'~'*)
10262 # FIXME: we may have to deal with multi-command sequences.
10264 '$CC '*)
10265 # Test whether the compiler implicitly links with -lc since on some
10266 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10267 # to ld, don't add -lc before -lgcc.
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10269 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10270 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10271 $as_echo_n "(cached) " >&6
10272 else
10273 $RM conftest*
10274 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10276 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10277 (eval $ac_compile) 2>&5
10278 ac_status=$?
10279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10280 test $ac_status = 0; } 2>conftest.err; then
10281 soname=conftest
10282 lib=conftest
10283 libobjs=conftest.$ac_objext
10284 deplibs=
10285 wl=$lt_prog_compiler_wl
10286 pic_flag=$lt_prog_compiler_pic
10287 compiler_flags=-v
10288 linker_flags=-v
10289 verstring=
10290 output_objdir=.
10291 libname=conftest
10292 lt_save_allow_undefined_flag=$allow_undefined_flag
10293 allow_undefined_flag=
10294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10295 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10296 ac_status=$?
10297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10298 test $ac_status = 0; }
10299 then
10300 lt_cv_archive_cmds_need_lc=no
10301 else
10302 lt_cv_archive_cmds_need_lc=yes
10304 allow_undefined_flag=$lt_save_allow_undefined_flag
10305 else
10306 cat conftest.err 1>&5
10308 $RM conftest*
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10312 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10313 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10315 esac
10318 esac
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10477 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10479 if test "$GCC" = yes; then
10480 case $host_os in
10481 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10482 *) lt_awk_arg="/^libraries:/" ;;
10483 esac
10484 case $host_os in
10485 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10486 *) lt_sed_strip_eq="s,=/,/,g" ;;
10487 esac
10488 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10489 case $lt_search_path_spec in
10490 *\;*)
10491 # if the path contains ";" then we assume it to be the separator
10492 # otherwise default to the standard path separator (i.e. ":") - it is
10493 # assumed that no part of a normal pathname contains ";" but that should
10494 # okay in the real world where ";" in dirpaths is itself problematic.
10495 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10498 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10500 esac
10501 # Ok, now we have the path, separated by spaces, we can step through it
10502 # and add multilib dir if necessary.
10503 lt_tmp_lt_search_path_spec=
10504 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10505 for lt_sys_path in $lt_search_path_spec; do
10506 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10507 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10508 else
10509 test -d "$lt_sys_path" && \
10510 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10512 done
10513 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10514 BEGIN {RS=" "; FS="/|\n";} {
10515 lt_foo="";
10516 lt_count=0;
10517 for (lt_i = NF; lt_i > 0; lt_i--) {
10518 if ($lt_i != "" && $lt_i != ".") {
10519 if ($lt_i == "..") {
10520 lt_count++;
10521 } else {
10522 if (lt_count == 0) {
10523 lt_foo="/" $lt_i lt_foo;
10524 } else {
10525 lt_count--;
10530 if (lt_foo != "") { lt_freq[lt_foo]++; }
10531 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10533 # AWK program above erroneously prepends '/' to C:/dos/paths
10534 # for these hosts.
10535 case $host_os in
10536 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10537 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10538 esac
10539 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10540 else
10541 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10543 library_names_spec=
10544 libname_spec='lib$name'
10545 soname_spec=
10546 shrext_cmds=".so"
10547 postinstall_cmds=
10548 postuninstall_cmds=
10549 finish_cmds=
10550 finish_eval=
10551 shlibpath_var=
10552 shlibpath_overrides_runpath=unknown
10553 version_type=none
10554 dynamic_linker="$host_os ld.so"
10555 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10556 need_lib_prefix=unknown
10557 hardcode_into_libs=no
10559 # when you set need_version to no, make sure it does not cause -set_version
10560 # flags to be left without arguments
10561 need_version=unknown
10563 case $host_os in
10564 aix3*)
10565 version_type=linux
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10567 shlibpath_var=LIBPATH
10569 # AIX 3 has no versioning support, so we append a major version to the name.
10570 soname_spec='${libname}${release}${shared_ext}$major'
10573 aix[4-9]*)
10574 version_type=linux
10575 need_lib_prefix=no
10576 need_version=no
10577 hardcode_into_libs=yes
10578 if test "$host_cpu" = ia64; then
10579 # AIX 5 supports IA64
10580 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10581 shlibpath_var=LD_LIBRARY_PATH
10582 else
10583 # With GCC up to 2.95.x, collect2 would create an import file
10584 # for dependence libraries. The import file would start with
10585 # the line `#! .'. This would cause the generated library to
10586 # depend on `.', always an invalid library. This was fixed in
10587 # development snapshots of GCC prior to 3.0.
10588 case $host_os in
10589 aix4 | aix4.[01] | aix4.[01].*)
10590 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10591 echo ' yes '
10592 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10594 else
10595 can_build_shared=no
10598 esac
10599 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10600 # soname into executable. Probably we can add versioning support to
10601 # collect2, so additional links can be useful in future.
10602 if test "$aix_use_runtimelinking" = yes; then
10603 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10604 # instead of lib<name>.a to let people know that these are not
10605 # typical AIX shared libraries.
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 else
10608 # We preserve .a as extension for shared libraries through AIX4.2
10609 # and later when we are not doing run time linking.
10610 library_names_spec='${libname}${release}.a $libname.a'
10611 soname_spec='${libname}${release}${shared_ext}$major'
10613 shlibpath_var=LIBPATH
10617 amigaos*)
10618 case $host_cpu in
10619 powerpc)
10620 # Since July 2007 AmigaOS4 officially supports .so libraries.
10621 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10624 m68k)
10625 library_names_spec='$libname.ixlibrary $libname.a'
10626 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10627 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'
10629 esac
10632 beos*)
10633 library_names_spec='${libname}${shared_ext}'
10634 dynamic_linker="$host_os ld.so"
10635 shlibpath_var=LIBRARY_PATH
10638 bsdi[45]*)
10639 version_type=linux
10640 need_version=no
10641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10642 soname_spec='${libname}${release}${shared_ext}$major'
10643 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10644 shlibpath_var=LD_LIBRARY_PATH
10645 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10646 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10647 # the default ld.so.conf also contains /usr/contrib/lib and
10648 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10649 # libtool to hard-code these into programs
10652 cygwin* | mingw* | pw32* | cegcc*)
10653 version_type=windows
10654 shrext_cmds=".dll"
10655 need_version=no
10656 need_lib_prefix=no
10658 case $GCC,$host_os in
10659 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10660 library_names_spec='$libname.dll.a'
10661 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10662 postinstall_cmds='base_file=`basename \${file}`~
10663 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10664 dldir=$destdir/`dirname \$dlpath`~
10665 test -d \$dldir || mkdir -p \$dldir~
10666 $install_prog $dir/$dlname \$dldir/$dlname~
10667 chmod a+x \$dldir/$dlname~
10668 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10669 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10671 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10672 dlpath=$dir/\$dldll~
10673 $RM \$dlpath'
10674 shlibpath_overrides_runpath=yes
10676 case $host_os in
10677 cygwin*)
10678 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10679 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10681 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10683 mingw* | cegcc*)
10684 # MinGW DLLs use traditional 'lib' prefix
10685 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 pw32*)
10688 # pw32 DLLs use 'pw' prefix rather than 'lib'
10689 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10691 esac
10695 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10697 esac
10698 dynamic_linker='Win32 ld.exe'
10699 # FIXME: first we should search . and the directory the executable is in
10700 shlibpath_var=PATH
10703 darwin* | rhapsody*)
10704 dynamic_linker="$host_os dyld"
10705 version_type=darwin
10706 need_lib_prefix=no
10707 need_version=no
10708 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10709 soname_spec='${libname}${release}${major}$shared_ext'
10710 shlibpath_overrides_runpath=yes
10711 shlibpath_var=DYLD_LIBRARY_PATH
10712 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10714 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10715 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10718 dgux*)
10719 version_type=linux
10720 need_lib_prefix=no
10721 need_version=no
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LD_LIBRARY_PATH
10727 freebsd* | dragonfly*)
10728 # DragonFly does not have aout. When/if they implement a new
10729 # versioning mechanism, adjust this.
10730 if test -x /usr/bin/objformat; then
10731 objformat=`/usr/bin/objformat`
10732 else
10733 case $host_os in
10734 freebsd[23].*) objformat=aout ;;
10735 *) objformat=elf ;;
10736 esac
10738 version_type=freebsd-$objformat
10739 case $version_type in
10740 freebsd-elf*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10742 need_version=no
10743 need_lib_prefix=no
10745 freebsd-*)
10746 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10747 need_version=yes
10749 esac
10750 shlibpath_var=LD_LIBRARY_PATH
10751 case $host_os in
10752 freebsd2.*)
10753 shlibpath_overrides_runpath=yes
10755 freebsd3.[01]* | freebsdelf3.[01]*)
10756 shlibpath_overrides_runpath=yes
10757 hardcode_into_libs=yes
10759 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10760 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10761 shlibpath_overrides_runpath=no
10762 hardcode_into_libs=yes
10764 *) # from 4.6 on, and DragonFly
10765 shlibpath_overrides_runpath=yes
10766 hardcode_into_libs=yes
10768 esac
10771 gnu*)
10772 version_type=linux
10773 need_lib_prefix=no
10774 need_version=no
10775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10776 soname_spec='${libname}${release}${shared_ext}$major'
10777 shlibpath_var=LD_LIBRARY_PATH
10778 hardcode_into_libs=yes
10781 haiku*)
10782 version_type=linux
10783 need_lib_prefix=no
10784 need_version=no
10785 dynamic_linker="$host_os runtime_loader"
10786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10787 soname_spec='${libname}${release}${shared_ext}$major'
10788 shlibpath_var=LIBRARY_PATH
10789 shlibpath_overrides_runpath=yes
10790 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10791 hardcode_into_libs=yes
10794 hpux9* | hpux10* | hpux11*)
10795 # Give a soname corresponding to the major version so that dld.sl refuses to
10796 # link against other versions.
10797 version_type=sunos
10798 need_lib_prefix=no
10799 need_version=no
10800 case $host_cpu in
10801 ia64*)
10802 shrext_cmds='.so'
10803 hardcode_into_libs=yes
10804 dynamic_linker="$host_os dld.so"
10805 shlibpath_var=LD_LIBRARY_PATH
10806 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808 soname_spec='${libname}${release}${shared_ext}$major'
10809 if test "X$HPUX_IA64_MODE" = X32; then
10810 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10811 else
10812 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10814 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10816 hppa*64*)
10817 shrext_cmds='.sl'
10818 hardcode_into_libs=yes
10819 dynamic_linker="$host_os dld.sl"
10820 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10821 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10823 soname_spec='${libname}${release}${shared_ext}$major'
10824 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10825 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10828 shrext_cmds='.sl'
10829 dynamic_linker="$host_os dld.sl"
10830 shlibpath_var=SHLIB_PATH
10831 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10835 esac
10836 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10837 postinstall_cmds='chmod 555 $lib'
10838 # or fails outright, so override atomically:
10839 install_override_mode=555
10842 interix[3-9]*)
10843 version_type=linux
10844 need_lib_prefix=no
10845 need_version=no
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10849 shlibpath_var=LD_LIBRARY_PATH
10850 shlibpath_overrides_runpath=no
10851 hardcode_into_libs=yes
10854 irix5* | irix6* | nonstopux*)
10855 case $host_os in
10856 nonstopux*) version_type=nonstopux ;;
10858 if test "$lt_cv_prog_gnu_ld" = yes; then
10859 version_type=linux
10860 else
10861 version_type=irix
10862 fi ;;
10863 esac
10864 need_lib_prefix=no
10865 need_version=no
10866 soname_spec='${libname}${release}${shared_ext}$major'
10867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10868 case $host_os in
10869 irix5* | nonstopux*)
10870 libsuff= shlibsuff=
10873 case $LD in # libtool.m4 will add one of these switches to LD
10874 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10875 libsuff= shlibsuff= libmagic=32-bit;;
10876 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10877 libsuff=32 shlibsuff=N32 libmagic=N32;;
10878 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10879 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10880 *) libsuff= shlibsuff= libmagic=never-match;;
10881 esac
10883 esac
10884 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10885 shlibpath_overrides_runpath=no
10886 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10887 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10888 hardcode_into_libs=yes
10891 # No shared lib support for Linux oldld, aout, or coff.
10892 linux*oldld* | linux*aout* | linux*coff*)
10893 dynamic_linker=no
10896 # This must be Linux ELF.
10897 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10898 version_type=linux
10899 need_lib_prefix=no
10900 need_version=no
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10902 soname_spec='${libname}${release}${shared_ext}$major'
10903 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10904 shlibpath_var=LD_LIBRARY_PATH
10905 shlibpath_overrides_runpath=no
10907 # Some binutils ld are patched to set DT_RUNPATH
10908 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10909 $as_echo_n "(cached) " >&6
10910 else
10911 lt_cv_shlibpath_overrides_runpath=no
10912 save_LDFLAGS=$LDFLAGS
10913 save_libdir=$libdir
10914 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10915 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10916 if test x$gcc_no_link = xyes; then
10917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10920 /* end confdefs.h. */
10923 main ()
10927 return 0;
10929 _ACEOF
10930 if ac_fn_c_try_link "$LINENO"; then :
10931 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10932 lt_cv_shlibpath_overrides_runpath=yes
10935 rm -f core conftest.err conftest.$ac_objext \
10936 conftest$ac_exeext conftest.$ac_ext
10937 LDFLAGS=$save_LDFLAGS
10938 libdir=$save_libdir
10942 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10944 # This implies no fast_install, which is unacceptable.
10945 # Some rework will be needed to allow for fast_install
10946 # before this can be enabled.
10947 hardcode_into_libs=yes
10949 # Append ld.so.conf contents to the search path
10950 if test -f /etc/ld.so.conf; then
10951 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' ' '`
10952 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10955 # We used to test for /lib/ld.so.1 and disable shared libraries on
10956 # powerpc, because MkLinux only supported shared libraries with the
10957 # GNU dynamic linker. Since this was broken with cross compilers,
10958 # most powerpc-linux boxes support dynamic linking these days and
10959 # people can always --disable-shared, the test was removed, and we
10960 # assume the GNU/Linux dynamic linker is in use.
10961 dynamic_linker='GNU/Linux ld.so'
10964 netbsd*)
10965 version_type=sunos
10966 need_lib_prefix=no
10967 need_version=no
10968 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10970 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10971 dynamic_linker='NetBSD (a.out) ld.so'
10972 else
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10974 soname_spec='${libname}${release}${shared_ext}$major'
10975 dynamic_linker='NetBSD ld.elf_so'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 shlibpath_overrides_runpath=yes
10979 hardcode_into_libs=yes
10982 newsos6)
10983 version_type=linux
10984 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10985 shlibpath_var=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath=yes
10989 *nto* | *qnx*)
10990 version_type=qnx
10991 need_lib_prefix=no
10992 need_version=no
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=no
10997 hardcode_into_libs=yes
10998 dynamic_linker='ldqnx.so'
11001 openbsd*)
11002 version_type=sunos
11003 sys_lib_dlsearch_path_spec="/usr/lib"
11004 need_lib_prefix=no
11005 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11006 case $host_os in
11007 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11008 *) need_version=no ;;
11009 esac
11010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11011 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11012 shlibpath_var=LD_LIBRARY_PATH
11013 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11014 case $host_os in
11015 openbsd2.[89] | openbsd2.[89].*)
11016 shlibpath_overrides_runpath=no
11019 shlibpath_overrides_runpath=yes
11021 esac
11022 else
11023 shlibpath_overrides_runpath=yes
11027 os2*)
11028 libname_spec='$name'
11029 shrext_cmds=".dll"
11030 need_lib_prefix=no
11031 library_names_spec='$libname${shared_ext} $libname.a'
11032 dynamic_linker='OS/2 ld.exe'
11033 shlibpath_var=LIBPATH
11036 osf3* | osf4* | osf5*)
11037 version_type=osf
11038 need_lib_prefix=no
11039 need_version=no
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11042 shlibpath_var=LD_LIBRARY_PATH
11043 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11044 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11047 rdos*)
11048 dynamic_linker=no
11051 solaris*)
11052 version_type=linux
11053 need_lib_prefix=no
11054 need_version=no
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 shlibpath_overrides_runpath=yes
11059 hardcode_into_libs=yes
11060 # ldd complains unless libraries are executable
11061 postinstall_cmds='chmod +x $lib'
11064 sunos4*)
11065 version_type=sunos
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11067 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11068 shlibpath_var=LD_LIBRARY_PATH
11069 shlibpath_overrides_runpath=yes
11070 if test "$with_gnu_ld" = yes; then
11071 need_lib_prefix=no
11073 need_version=yes
11076 sysv4 | sysv4.3*)
11077 version_type=linux
11078 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11079 soname_spec='${libname}${release}${shared_ext}$major'
11080 shlibpath_var=LD_LIBRARY_PATH
11081 case $host_vendor in
11082 sni)
11083 shlibpath_overrides_runpath=no
11084 need_lib_prefix=no
11085 runpath_var=LD_RUN_PATH
11087 siemens)
11088 need_lib_prefix=no
11090 motorola)
11091 need_lib_prefix=no
11092 need_version=no
11093 shlibpath_overrides_runpath=no
11094 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11096 esac
11099 sysv4*MP*)
11100 if test -d /usr/nec ;then
11101 version_type=linux
11102 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11103 soname_spec='$libname${shared_ext}.$major'
11104 shlibpath_var=LD_LIBRARY_PATH
11108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11109 version_type=freebsd-elf
11110 need_lib_prefix=no
11111 need_version=no
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11113 soname_spec='${libname}${release}${shared_ext}$major'
11114 shlibpath_var=LD_LIBRARY_PATH
11115 shlibpath_overrides_runpath=yes
11116 hardcode_into_libs=yes
11117 if test "$with_gnu_ld" = yes; then
11118 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11119 else
11120 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11121 case $host_os in
11122 sco3.2v5*)
11123 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11125 esac
11127 sys_lib_dlsearch_path_spec='/usr/lib'
11130 tpf*)
11131 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11132 version_type=linux
11133 need_lib_prefix=no
11134 need_version=no
11135 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136 shlibpath_var=LD_LIBRARY_PATH
11137 shlibpath_overrides_runpath=no
11138 hardcode_into_libs=yes
11141 uts4*)
11142 version_type=linux
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144 soname_spec='${libname}${release}${shared_ext}$major'
11145 shlibpath_var=LD_LIBRARY_PATH
11149 dynamic_linker=no
11151 esac
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11153 $as_echo "$dynamic_linker" >&6; }
11154 test "$dynamic_linker" = no && can_build_shared=no
11156 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11157 if test "$GCC" = yes; then
11158 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11161 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11162 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11164 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11165 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11260 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11261 hardcode_action=
11262 if test -n "$hardcode_libdir_flag_spec" ||
11263 test -n "$runpath_var" ||
11264 test "X$hardcode_automatic" = "Xyes" ; then
11266 # We can hardcode non-existent directories.
11267 if test "$hardcode_direct" != no &&
11268 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11269 # have to relink, otherwise we might link with an installed library
11270 # when we should be linking with a yet-to-be-installed one
11271 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11272 test "$hardcode_minus_L" != no; then
11273 # Linking always hardcodes the temporary library directory.
11274 hardcode_action=relink
11275 else
11276 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11277 hardcode_action=immediate
11279 else
11280 # We cannot hardcode anything, or else we can only hardcode existing
11281 # directories.
11282 hardcode_action=unsupported
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11285 $as_echo "$hardcode_action" >&6; }
11287 if test "$hardcode_action" = relink ||
11288 test "$inherit_rpath" = yes; then
11289 # Fast installation is not supported
11290 enable_fast_install=no
11291 elif test "$shlibpath_overrides_runpath" = yes ||
11292 test "$enable_shared" = no; then
11293 # Fast installation is not necessary
11294 enable_fast_install=needless
11302 if test "x$enable_dlopen" != xyes; then
11303 enable_dlopen=unknown
11304 enable_dlopen_self=unknown
11305 enable_dlopen_self_static=unknown
11306 else
11307 lt_cv_dlopen=no
11308 lt_cv_dlopen_libs=
11310 case $host_os in
11311 beos*)
11312 lt_cv_dlopen="load_add_on"
11313 lt_cv_dlopen_libs=
11314 lt_cv_dlopen_self=yes
11317 mingw* | pw32* | cegcc*)
11318 lt_cv_dlopen="LoadLibrary"
11319 lt_cv_dlopen_libs=
11322 cygwin*)
11323 lt_cv_dlopen="dlopen"
11324 lt_cv_dlopen_libs=
11327 darwin*)
11328 # if libdl is installed we need to link against it
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11330 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11331 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-ldl $LIBS"
11336 if test x$gcc_no_link = xyes; then
11337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11345 #ifdef __cplusplus
11346 extern "C"
11347 #endif
11348 char dlopen ();
11350 main ()
11352 return dlopen ();
11354 return 0;
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"; then :
11358 ac_cv_lib_dl_dlopen=yes
11359 else
11360 ac_cv_lib_dl_dlopen=no
11362 rm -f core conftest.err conftest.$ac_objext \
11363 conftest$ac_exeext conftest.$ac_ext
11364 LIBS=$ac_check_lib_save_LIBS
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11367 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11368 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11369 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11370 else
11372 lt_cv_dlopen="dyld"
11373 lt_cv_dlopen_libs=
11374 lt_cv_dlopen_self=yes
11381 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11382 if test "x$ac_cv_func_shl_load" = x""yes; then :
11383 lt_cv_dlopen="shl_load"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11386 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11387 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-ldld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char shl_load ();
11406 main ()
11408 return shl_load ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_dld_shl_load=yes
11415 else
11416 ac_cv_lib_dld_shl_load=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11423 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11424 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11425 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11426 else
11427 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11428 if test "x$ac_cv_func_dlopen" = x""yes; then :
11429 lt_cv_dlopen="dlopen"
11430 else
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11432 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11433 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11434 $as_echo_n "(cached) " >&6
11435 else
11436 ac_check_lib_save_LIBS=$LIBS
11437 LIBS="-ldl $LIBS"
11438 if test x$gcc_no_link = xyes; then
11439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11442 /* end confdefs.h. */
11444 /* Override any GCC internal prototype to avoid an error.
11445 Use char because int might match the return type of a GCC
11446 builtin and then its argument prototype would still apply. */
11447 #ifdef __cplusplus
11448 extern "C"
11449 #endif
11450 char dlopen ();
11452 main ()
11454 return dlopen ();
11456 return 0;
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 ac_cv_lib_dl_dlopen=yes
11461 else
11462 ac_cv_lib_dl_dlopen=no
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LIBS=$ac_check_lib_save_LIBS
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11469 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11470 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11471 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11472 else
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11474 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11475 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 ac_check_lib_save_LIBS=$LIBS
11479 LIBS="-lsvld $LIBS"
11480 if test x$gcc_no_link = xyes; then
11481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char dlopen ();
11494 main ()
11496 return dlopen ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 ac_cv_lib_svld_dlopen=yes
11503 else
11504 ac_cv_lib_svld_dlopen=no
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_lib_save_LIBS
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11511 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11512 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11513 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11514 else
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11516 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11517 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11518 $as_echo_n "(cached) " >&6
11519 else
11520 ac_check_lib_save_LIBS=$LIBS
11521 LIBS="-ldld $LIBS"
11522 if test x$gcc_no_link = xyes; then
11523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char dld_link ();
11536 main ()
11538 return dld_link ();
11540 return 0;
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 ac_cv_lib_dld_dld_link=yes
11545 else
11546 ac_cv_lib_dld_dld_link=no
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11553 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11554 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11555 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11574 esac
11576 if test "x$lt_cv_dlopen" != xno; then
11577 enable_dlopen=yes
11578 else
11579 enable_dlopen=no
11582 case $lt_cv_dlopen in
11583 dlopen)
11584 save_CPPFLAGS="$CPPFLAGS"
11585 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11587 save_LDFLAGS="$LDFLAGS"
11588 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11590 save_LIBS="$LIBS"
11591 LIBS="$lt_cv_dlopen_libs $LIBS"
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11594 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11595 if test "${lt_cv_dlopen_self+set}" = set; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 if test "$cross_compiling" = yes; then :
11599 lt_cv_dlopen_self=cross
11600 else
11601 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11602 lt_status=$lt_dlunknown
11603 cat > conftest.$ac_ext <<_LT_EOF
11604 #line 11604 "configure"
11605 #include "confdefs.h"
11607 #if HAVE_DLFCN_H
11608 #include <dlfcn.h>
11609 #endif
11611 #include <stdio.h>
11613 #ifdef RTLD_GLOBAL
11614 # define LT_DLGLOBAL RTLD_GLOBAL
11615 #else
11616 # ifdef DL_GLOBAL
11617 # define LT_DLGLOBAL DL_GLOBAL
11618 # else
11619 # define LT_DLGLOBAL 0
11620 # endif
11621 #endif
11623 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11624 find out it does not work in some platform. */
11625 #ifndef LT_DLLAZY_OR_NOW
11626 # ifdef RTLD_LAZY
11627 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11628 # else
11629 # ifdef DL_LAZY
11630 # define LT_DLLAZY_OR_NOW DL_LAZY
11631 # else
11632 # ifdef RTLD_NOW
11633 # define LT_DLLAZY_OR_NOW RTLD_NOW
11634 # else
11635 # ifdef DL_NOW
11636 # define LT_DLLAZY_OR_NOW DL_NOW
11637 # else
11638 # define LT_DLLAZY_OR_NOW 0
11639 # endif
11640 # endif
11641 # endif
11642 # endif
11643 #endif
11645 /* When -fvisbility=hidden is used, assume the code has been annotated
11646 correspondingly for the symbols needed. */
11647 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11648 void fnord () __attribute__((visibility("default")));
11649 #endif
11651 void fnord () { int i=42; }
11652 int main ()
11654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11655 int status = $lt_dlunknown;
11657 if (self)
11659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11660 else
11662 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11663 else puts (dlerror ());
11665 /* dlclose (self); */
11667 else
11668 puts (dlerror ());
11670 return status;
11672 _LT_EOF
11673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11674 (eval $ac_link) 2>&5
11675 ac_status=$?
11676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11677 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11678 (./conftest; exit; ) >&5 2>/dev/null
11679 lt_status=$?
11680 case x$lt_status in
11681 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11682 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11683 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11684 esac
11685 else :
11686 # compilation failed
11687 lt_cv_dlopen_self=no
11690 rm -fr conftest*
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11695 $as_echo "$lt_cv_dlopen_self" >&6; }
11697 if test "x$lt_cv_dlopen_self" = xyes; then
11698 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11700 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11701 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11702 $as_echo_n "(cached) " >&6
11703 else
11704 if test "$cross_compiling" = yes; then :
11705 lt_cv_dlopen_self_static=cross
11706 else
11707 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11708 lt_status=$lt_dlunknown
11709 cat > conftest.$ac_ext <<_LT_EOF
11710 #line 11710 "configure"
11711 #include "confdefs.h"
11713 #if HAVE_DLFCN_H
11714 #include <dlfcn.h>
11715 #endif
11717 #include <stdio.h>
11719 #ifdef RTLD_GLOBAL
11720 # define LT_DLGLOBAL RTLD_GLOBAL
11721 #else
11722 # ifdef DL_GLOBAL
11723 # define LT_DLGLOBAL DL_GLOBAL
11724 # else
11725 # define LT_DLGLOBAL 0
11726 # endif
11727 #endif
11729 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11730 find out it does not work in some platform. */
11731 #ifndef LT_DLLAZY_OR_NOW
11732 # ifdef RTLD_LAZY
11733 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11734 # else
11735 # ifdef DL_LAZY
11736 # define LT_DLLAZY_OR_NOW DL_LAZY
11737 # else
11738 # ifdef RTLD_NOW
11739 # define LT_DLLAZY_OR_NOW RTLD_NOW
11740 # else
11741 # ifdef DL_NOW
11742 # define LT_DLLAZY_OR_NOW DL_NOW
11743 # else
11744 # define LT_DLLAZY_OR_NOW 0
11745 # endif
11746 # endif
11747 # endif
11748 # endif
11749 #endif
11751 /* When -fvisbility=hidden is used, assume the code has been annotated
11752 correspondingly for the symbols needed. */
11753 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11754 void fnord () __attribute__((visibility("default")));
11755 #endif
11757 void fnord () { int i=42; }
11758 int main ()
11760 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11761 int status = $lt_dlunknown;
11763 if (self)
11765 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11766 else
11768 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11769 else puts (dlerror ());
11771 /* dlclose (self); */
11773 else
11774 puts (dlerror ());
11776 return status;
11778 _LT_EOF
11779 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11780 (eval $ac_link) 2>&5
11781 ac_status=$?
11782 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11783 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11784 (./conftest; exit; ) >&5 2>/dev/null
11785 lt_status=$?
11786 case x$lt_status in
11787 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11788 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11789 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11790 esac
11791 else :
11792 # compilation failed
11793 lt_cv_dlopen_self_static=no
11796 rm -fr conftest*
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11801 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11804 CPPFLAGS="$save_CPPFLAGS"
11805 LDFLAGS="$save_LDFLAGS"
11806 LIBS="$save_LIBS"
11808 esac
11810 case $lt_cv_dlopen_self in
11811 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11812 *) enable_dlopen_self=unknown ;;
11813 esac
11815 case $lt_cv_dlopen_self_static in
11816 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11817 *) enable_dlopen_self_static=unknown ;;
11818 esac
11837 striplib=
11838 old_striplib=
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11840 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11841 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11842 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11843 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11845 $as_echo "yes" >&6; }
11846 else
11847 # FIXME - insert some real tests, host_os isn't really good enough
11848 case $host_os in
11849 darwin*)
11850 if test -n "$STRIP" ; then
11851 striplib="$STRIP -x"
11852 old_striplib="$STRIP -S"
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11854 $as_echo "yes" >&6; }
11855 else
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11862 $as_echo "no" >&6; }
11864 esac
11878 # Report which library types will actually be built
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11880 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11882 $as_echo "$can_build_shared" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11885 $as_echo_n "checking whether to build shared libraries... " >&6; }
11886 test "$can_build_shared" = "no" && enable_shared=no
11888 # On AIX, shared libraries and static libraries use the same namespace, and
11889 # are all built from PIC.
11890 case $host_os in
11891 aix3*)
11892 test "$enable_shared" = yes && enable_static=no
11893 if test -n "$RANLIB"; then
11894 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11895 postinstall_cmds='$RANLIB $lib'
11899 aix[4-9]*)
11900 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11901 test "$enable_shared" = yes && enable_static=no
11904 esac
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11906 $as_echo "$enable_shared" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11909 $as_echo_n "checking whether to build static libraries... " >&6; }
11910 # Make sure either enable_shared or enable_static is yes.
11911 test "$enable_shared" = yes || enable_static=yes
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11913 $as_echo "$enable_static" >&6; }
11919 ac_ext=c
11920 ac_cpp='$CPP $CPPFLAGS'
11921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11925 CC="$lt_save_CC"
11927 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11928 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11929 (test "X$CXX" != "Xg++"))) ; then
11930 ac_ext=cpp
11931 ac_cpp='$CXXCPP $CPPFLAGS'
11932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11936 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11937 if test -z "$CXXCPP"; then
11938 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11939 $as_echo_n "(cached) " >&6
11940 else
11941 # Double quotes because CXXCPP needs to be expanded
11942 for CXXCPP in "$CXX -E" "/lib/cpp"
11944 ac_preproc_ok=false
11945 for ac_cxx_preproc_warn_flag in '' yes
11947 # Use a header file that comes with gcc, so configuring glibc
11948 # with a fresh cross-compiler works.
11949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11950 # <limits.h> exists even on freestanding compilers.
11951 # On the NeXT, cc -E runs the code through the compiler's parser,
11952 # not just through cpp. "Syntax error" is here to catch this case.
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h. */
11955 #ifdef __STDC__
11956 # include <limits.h>
11957 #else
11958 # include <assert.h>
11959 #endif
11960 Syntax error
11961 _ACEOF
11962 if ac_fn_cxx_try_cpp "$LINENO"; then :
11964 else
11965 # Broken: fails on valid input.
11966 continue
11968 rm -f conftest.err conftest.$ac_ext
11970 # OK, works on sane cases. Now check whether nonexistent headers
11971 # can be detected and how.
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11974 #include <ac_nonexistent.h>
11975 _ACEOF
11976 if ac_fn_cxx_try_cpp "$LINENO"; then :
11977 # Broken: success on invalid input.
11978 continue
11979 else
11980 # Passes both tests.
11981 ac_preproc_ok=:
11982 break
11984 rm -f conftest.err conftest.$ac_ext
11986 done
11987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11988 rm -f conftest.err conftest.$ac_ext
11989 if $ac_preproc_ok; then :
11990 break
11993 done
11994 ac_cv_prog_CXXCPP=$CXXCPP
11997 CXXCPP=$ac_cv_prog_CXXCPP
11998 else
11999 ac_cv_prog_CXXCPP=$CXXCPP
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12002 $as_echo "$CXXCPP" >&6; }
12003 ac_preproc_ok=false
12004 for ac_cxx_preproc_warn_flag in '' yes
12006 # Use a header file that comes with gcc, so configuring glibc
12007 # with a fresh cross-compiler works.
12008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12009 # <limits.h> exists even on freestanding compilers.
12010 # On the NeXT, cc -E runs the code through the compiler's parser,
12011 # not just through cpp. "Syntax error" is here to catch this case.
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12014 #ifdef __STDC__
12015 # include <limits.h>
12016 #else
12017 # include <assert.h>
12018 #endif
12019 Syntax error
12020 _ACEOF
12021 if ac_fn_cxx_try_cpp "$LINENO"; then :
12023 else
12024 # Broken: fails on valid input.
12025 continue
12027 rm -f conftest.err conftest.$ac_ext
12029 # OK, works on sane cases. Now check whether nonexistent headers
12030 # can be detected and how.
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12033 #include <ac_nonexistent.h>
12034 _ACEOF
12035 if ac_fn_cxx_try_cpp "$LINENO"; then :
12036 # Broken: success on invalid input.
12037 continue
12038 else
12039 # Passes both tests.
12040 ac_preproc_ok=:
12041 break
12043 rm -f conftest.err conftest.$ac_ext
12045 done
12046 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12047 rm -f conftest.err conftest.$ac_ext
12048 if $ac_preproc_ok; then :
12050 else
12051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12053 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12054 See \`config.log' for more details." "$LINENO" 5; }
12057 ac_ext=c
12058 ac_cpp='$CPP $CPPFLAGS'
12059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12063 else
12064 _lt_caught_CXX_error=yes
12067 ac_ext=cpp
12068 ac_cpp='$CXXCPP $CPPFLAGS'
12069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12073 archive_cmds_need_lc_CXX=no
12074 allow_undefined_flag_CXX=
12075 always_export_symbols_CXX=no
12076 archive_expsym_cmds_CXX=
12077 compiler_needs_object_CXX=no
12078 export_dynamic_flag_spec_CXX=
12079 hardcode_direct_CXX=no
12080 hardcode_direct_absolute_CXX=no
12081 hardcode_libdir_flag_spec_CXX=
12082 hardcode_libdir_flag_spec_ld_CXX=
12083 hardcode_libdir_separator_CXX=
12084 hardcode_minus_L_CXX=no
12085 hardcode_shlibpath_var_CXX=unsupported
12086 hardcode_automatic_CXX=no
12087 inherit_rpath_CXX=no
12088 module_cmds_CXX=
12089 module_expsym_cmds_CXX=
12090 link_all_deplibs_CXX=unknown
12091 old_archive_cmds_CXX=$old_archive_cmds
12092 reload_flag_CXX=$reload_flag
12093 reload_cmds_CXX=$reload_cmds
12094 no_undefined_flag_CXX=
12095 whole_archive_flag_spec_CXX=
12096 enable_shared_with_static_runtimes_CXX=no
12098 # Source file extension for C++ test sources.
12099 ac_ext=cpp
12101 # Object file extension for compiled C++ test sources.
12102 objext=o
12103 objext_CXX=$objext
12105 # No sense in running all these tests if we already determined that
12106 # the CXX compiler isn't working. Some variables (like enable_shared)
12107 # are currently assumed to apply to all compilers on this platform,
12108 # and will be corrupted by setting them based on a non-working compiler.
12109 if test "$_lt_caught_CXX_error" != yes; then
12110 # Code to be used in simple compile tests
12111 lt_simple_compile_test_code="int some_variable = 0;"
12113 # Code to be used in simple link tests
12114 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12116 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12123 # If no C compiler was specified, use CC.
12124 LTCC=${LTCC-"$CC"}
12126 # If no C compiler flags were specified, use CFLAGS.
12127 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12129 # Allow CC to be a program name with arguments.
12130 compiler=$CC
12133 # save warnings/boilerplate of simple test code
12134 ac_outfile=conftest.$ac_objext
12135 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12136 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12137 _lt_compiler_boilerplate=`cat conftest.err`
12138 $RM conftest*
12140 ac_outfile=conftest.$ac_objext
12141 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12142 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12143 _lt_linker_boilerplate=`cat conftest.err`
12144 $RM -r conftest*
12147 # Allow CC to be a program name with arguments.
12148 lt_save_CC=$CC
12149 lt_save_LD=$LD
12150 lt_save_GCC=$GCC
12151 GCC=$GXX
12152 lt_save_with_gnu_ld=$with_gnu_ld
12153 lt_save_path_LD=$lt_cv_path_LD
12154 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12155 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12156 else
12157 $as_unset lt_cv_prog_gnu_ld
12159 if test -n "${lt_cv_path_LDCXX+set}"; then
12160 lt_cv_path_LD=$lt_cv_path_LDCXX
12161 else
12162 $as_unset lt_cv_path_LD
12164 test -z "${LDCXX+set}" || LD=$LDCXX
12165 CC=${CXX-"c++"}
12166 compiler=$CC
12167 compiler_CXX=$CC
12168 for cc_temp in $compiler""; do
12169 case $cc_temp in
12170 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12171 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12172 \-*) ;;
12173 *) break;;
12174 esac
12175 done
12176 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12179 if test -n "$compiler"; then
12180 # We don't want -fno-exception when compiling C++ code, so set the
12181 # no_builtin_flag separately
12182 if test "$GXX" = yes; then
12183 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12184 else
12185 lt_prog_compiler_no_builtin_flag_CXX=
12188 if test "$GXX" = yes; then
12189 # Set up default GNU C++ configuration
12193 # Check whether --with-gnu-ld was given.
12194 if test "${with_gnu_ld+set}" = set; then :
12195 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12196 else
12197 with_gnu_ld=no
12200 ac_prog=ld
12201 if test "$GCC" = yes; then
12202 # Check if gcc -print-prog-name=ld gives a path.
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12204 $as_echo_n "checking for ld used by $CC... " >&6; }
12205 case $host in
12206 *-*-mingw*)
12207 # gcc leaves a trailing carriage return which upsets mingw
12208 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12210 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12211 esac
12212 case $ac_prog in
12213 # Accept absolute paths.
12214 [\\/]* | ?:[\\/]*)
12215 re_direlt='/[^/][^/]*/\.\./'
12216 # Canonicalize the pathname of ld
12217 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12218 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12219 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12220 done
12221 test -z "$LD" && LD="$ac_prog"
12224 # If it fails, then pretend we aren't using GCC.
12225 ac_prog=ld
12228 # If it is relative, then search for the first ld in PATH.
12229 with_gnu_ld=unknown
12231 esac
12232 elif test "$with_gnu_ld" = yes; then
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12234 $as_echo_n "checking for GNU ld... " >&6; }
12235 else
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12237 $as_echo_n "checking for non-GNU ld... " >&6; }
12239 if test "${lt_cv_path_LD+set}" = set; then :
12240 $as_echo_n "(cached) " >&6
12241 else
12242 if test -z "$LD"; then
12243 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12244 for ac_dir in $PATH; do
12245 IFS="$lt_save_ifs"
12246 test -z "$ac_dir" && ac_dir=.
12247 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12248 lt_cv_path_LD="$ac_dir/$ac_prog"
12249 # Check to see if the program is GNU ld. I'd rather use --version,
12250 # but apparently some variants of GNU ld only accept -v.
12251 # Break only if it was the GNU/non-GNU ld that we prefer.
12252 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12253 *GNU* | *'with BFD'*)
12254 test "$with_gnu_ld" != no && break
12257 test "$with_gnu_ld" != yes && break
12259 esac
12261 done
12262 IFS="$lt_save_ifs"
12263 else
12264 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12268 LD="$lt_cv_path_LD"
12269 if test -n "$LD"; then
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12271 $as_echo "$LD" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12274 $as_echo "no" >&6; }
12276 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12278 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12279 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12280 $as_echo_n "(cached) " >&6
12281 else
12282 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12283 case `$LD -v 2>&1 </dev/null` in
12284 *GNU* | *'with BFD'*)
12285 lt_cv_prog_gnu_ld=yes
12288 lt_cv_prog_gnu_ld=no
12290 esac
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12293 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12294 with_gnu_ld=$lt_cv_prog_gnu_ld
12302 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12303 # archiving commands below assume that GNU ld is being used.
12304 if test "$with_gnu_ld" = yes; then
12305 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12306 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'
12308 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12309 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12311 # If archive_cmds runs LD, not CC, wlarc should be empty
12312 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12313 # investigate it a little bit more. (MM)
12314 wlarc='${wl}'
12316 # ancient GNU ld didn't support --whole-archive et. al.
12317 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12318 $GREP 'no-whole-archive' > /dev/null; then
12319 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12320 else
12321 whole_archive_flag_spec_CXX=
12323 else
12324 with_gnu_ld=no
12325 wlarc=
12327 # A generic and very simple default shared library creation
12328 # command for GNU C++ for the case where it uses the native
12329 # linker, instead of GNU ld. If possible, this setting should
12330 # overridden to take advantage of the native linker features on
12331 # the platform it is being used on.
12332 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12335 # Commands to make compiler produce verbose output that lists
12336 # what "hidden" libraries, object files and flags are used when
12337 # linking a shared library.
12338 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12340 else
12341 GXX=no
12342 with_gnu_ld=no
12343 wlarc=
12346 # PORTME: fill in a description of your system's C++ link characteristics
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12348 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12349 ld_shlibs_CXX=yes
12350 case $host_os in
12351 aix3*)
12352 # FIXME: insert proper C++ library support
12353 ld_shlibs_CXX=no
12355 aix[4-9]*)
12356 if test "$host_cpu" = ia64; then
12357 # On IA64, the linker does run time linking by default, so we don't
12358 # have to do anything special.
12359 aix_use_runtimelinking=no
12360 exp_sym_flag='-Bexport'
12361 no_entry_flag=""
12362 else
12363 aix_use_runtimelinking=no
12365 # Test if we are trying to use run time linking or normal
12366 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12367 # need to do runtime linking.
12368 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12369 for ld_flag in $LDFLAGS; do
12370 case $ld_flag in
12371 *-brtl*)
12372 aix_use_runtimelinking=yes
12373 break
12375 esac
12376 done
12378 esac
12380 exp_sym_flag='-bexport'
12381 no_entry_flag='-bnoentry'
12384 # When large executables or shared objects are built, AIX ld can
12385 # have problems creating the table of contents. If linking a library
12386 # or program results in "error TOC overflow" add -mminimal-toc to
12387 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12388 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12390 archive_cmds_CXX=''
12391 hardcode_direct_CXX=yes
12392 hardcode_direct_absolute_CXX=yes
12393 hardcode_libdir_separator_CXX=':'
12394 link_all_deplibs_CXX=yes
12395 file_list_spec_CXX='${wl}-f,'
12397 if test "$GXX" = yes; then
12398 case $host_os in aix4.[012]|aix4.[012].*)
12399 # We only want to do this on AIX 4.2 and lower, the check
12400 # below for broken collect2 doesn't work under 4.3+
12401 collect2name=`${CC} -print-prog-name=collect2`
12402 if test -f "$collect2name" &&
12403 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12404 then
12405 # We have reworked collect2
12407 else
12408 # We have old collect2
12409 hardcode_direct_CXX=unsupported
12410 # It fails to find uninstalled libraries when the uninstalled
12411 # path is not listed in the libpath. Setting hardcode_minus_L
12412 # to unsupported forces relinking
12413 hardcode_minus_L_CXX=yes
12414 hardcode_libdir_flag_spec_CXX='-L$libdir'
12415 hardcode_libdir_separator_CXX=
12417 esac
12418 shared_flag='-shared'
12419 if test "$aix_use_runtimelinking" = yes; then
12420 shared_flag="$shared_flag "'${wl}-G'
12422 else
12423 # not using gcc
12424 if test "$host_cpu" = ia64; then
12425 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12426 # chokes on -Wl,-G. The following line is correct:
12427 shared_flag='-G'
12428 else
12429 if test "$aix_use_runtimelinking" = yes; then
12430 shared_flag='${wl}-G'
12431 else
12432 shared_flag='${wl}-bM:SRE'
12437 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12438 # It seems that -bexpall does not export symbols beginning with
12439 # underscore (_), so it is better to generate a list of symbols to
12440 # export.
12441 always_export_symbols_CXX=yes
12442 if test "$aix_use_runtimelinking" = yes; then
12443 # Warning - without using the other runtime loading flags (-brtl),
12444 # -berok will link without error, but may produce a broken library.
12445 allow_undefined_flag_CXX='-berok'
12446 # Determine the default libpath from the value encoded in an empty
12447 # executable.
12448 if test x$gcc_no_link = xyes; then
12449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */
12455 main ()
12459 return 0;
12461 _ACEOF
12462 if ac_fn_cxx_try_link "$LINENO"; then :
12464 lt_aix_libpath_sed='
12465 /Import File Strings/,/^$/ {
12466 /^0/ {
12467 s/^0 *\(.*\)$/\1/
12471 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 # Check for a 64-bit object if we didn't find anything.
12473 if test -z "$aix_libpath"; then
12474 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12477 rm -f core conftest.err conftest.$ac_objext \
12478 conftest$ac_exeext conftest.$ac_ext
12479 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12481 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12483 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"
12484 else
12485 if test "$host_cpu" = ia64; then
12486 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12487 allow_undefined_flag_CXX="-z nodefs"
12488 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"
12489 else
12490 # Determine the default libpath from the value encoded in an
12491 # empty executable.
12492 if test x$gcc_no_link = xyes; then
12493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12499 main ()
12503 return 0;
12505 _ACEOF
12506 if ac_fn_cxx_try_link "$LINENO"; then :
12508 lt_aix_libpath_sed='
12509 /Import File Strings/,/^$/ {
12510 /^0/ {
12511 s/^0 *\(.*\)$/\1/
12515 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 # Check for a 64-bit object if we didn't find anything.
12517 if test -z "$aix_libpath"; then
12518 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12525 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12526 # Warning - without using the other run time loading flags,
12527 # -berok will link without error, but may produce a broken library.
12528 no_undefined_flag_CXX=' ${wl}-bernotok'
12529 allow_undefined_flag_CXX=' ${wl}-berok'
12530 if test "$with_gnu_ld" = yes; then
12531 # We only use this code for GNU lds that support --whole-archive.
12532 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12533 else
12534 # Exported symbols can be pulled into shared objects from archives
12535 whole_archive_flag_spec_CXX='$convenience'
12537 archive_cmds_need_lc_CXX=yes
12538 # This is similar to how AIX traditionally builds its shared
12539 # libraries.
12540 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'
12545 beos*)
12546 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12547 allow_undefined_flag_CXX=unsupported
12548 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12549 # support --undefined. This deserves some investigation. FIXME
12550 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12551 else
12552 ld_shlibs_CXX=no
12556 chorus*)
12557 case $cc_basename in
12559 # FIXME: insert proper C++ library support
12560 ld_shlibs_CXX=no
12562 esac
12565 cygwin* | mingw* | pw32* | cegcc*)
12566 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12567 # as there is no search path for DLLs.
12568 hardcode_libdir_flag_spec_CXX='-L$libdir'
12569 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12570 allow_undefined_flag_CXX=unsupported
12571 always_export_symbols_CXX=no
12572 enable_shared_with_static_runtimes_CXX=yes
12574 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12575 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'
12576 # If the export-symbols file already is a .def file (1st line
12577 # is EXPORTS), use it as is; otherwise, prepend...
12578 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12579 cp $export_symbols $output_objdir/$soname.def;
12580 else
12581 echo EXPORTS > $output_objdir/$soname.def;
12582 cat $export_symbols >> $output_objdir/$soname.def;
12584 $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'
12585 else
12586 ld_shlibs_CXX=no
12589 darwin* | rhapsody*)
12592 archive_cmds_need_lc_CXX=no
12593 hardcode_direct_CXX=no
12594 hardcode_automatic_CXX=yes
12595 hardcode_shlibpath_var_CXX=unsupported
12596 if test "$lt_cv_ld_force_load" = "yes"; then
12597 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\"`'
12598 else
12599 whole_archive_flag_spec_CXX=''
12601 link_all_deplibs_CXX=yes
12602 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12603 case $cc_basename in
12604 ifort*) _lt_dar_can_shared=yes ;;
12605 *) _lt_dar_can_shared=$GCC ;;
12606 esac
12607 if test "$_lt_dar_can_shared" = "yes"; then
12608 output_verbose_link_cmd=func_echo_all
12609 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}"
12610 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12611 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}"
12612 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}"
12613 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12614 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}"
12615 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}"
12618 else
12619 ld_shlibs_CXX=no
12624 dgux*)
12625 case $cc_basename in
12626 ec++*)
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12630 ghcx*)
12631 # Green Hills C++ Compiler
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12636 # FIXME: insert proper C++ library support
12637 ld_shlibs_CXX=no
12639 esac
12642 freebsd2.*)
12643 # C++ shared libraries reported to be fairly broken before
12644 # switch to ELF
12645 ld_shlibs_CXX=no
12648 freebsd-elf*)
12649 archive_cmds_need_lc_CXX=no
12652 freebsd* | dragonfly*)
12653 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12654 # conventions
12655 ld_shlibs_CXX=yes
12658 gnu*)
12661 haiku*)
12662 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12663 link_all_deplibs_CXX=yes
12666 hpux9*)
12667 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12668 hardcode_libdir_separator_CXX=:
12669 export_dynamic_flag_spec_CXX='${wl}-E'
12670 hardcode_direct_CXX=yes
12671 hardcode_minus_L_CXX=yes # Not in the search PATH,
12672 # but as the default
12673 # location of the library.
12675 case $cc_basename in
12676 CC*)
12677 # FIXME: insert proper C++ library support
12678 ld_shlibs_CXX=no
12680 aCC*)
12681 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'
12682 # Commands to make compiler produce verbose output that lists
12683 # what "hidden" libraries, object files and flags are used when
12684 # linking a shared library.
12686 # There doesn't appear to be a way to prevent this compiler from
12687 # explicitly linking system object files so we need to strip them
12688 # from the output so that they don't get included in the library
12689 # dependencies.
12690 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"'
12693 if test "$GXX" = yes; then
12694 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'
12695 else
12696 # FIXME: insert proper C++ library support
12697 ld_shlibs_CXX=no
12700 esac
12703 hpux10*|hpux11*)
12704 if test $with_gnu_ld = no; then
12705 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12706 hardcode_libdir_separator_CXX=:
12708 case $host_cpu in
12709 hppa*64*|ia64*)
12712 export_dynamic_flag_spec_CXX='${wl}-E'
12714 esac
12716 case $host_cpu in
12717 hppa*64*|ia64*)
12718 hardcode_direct_CXX=no
12719 hardcode_shlibpath_var_CXX=no
12722 hardcode_direct_CXX=yes
12723 hardcode_direct_absolute_CXX=yes
12724 hardcode_minus_L_CXX=yes # Not in the search PATH,
12725 # but as the default
12726 # location of the library.
12728 esac
12730 case $cc_basename in
12731 CC*)
12732 # FIXME: insert proper C++ library support
12733 ld_shlibs_CXX=no
12735 aCC*)
12736 case $host_cpu in
12737 hppa*64*)
12738 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740 ia64*)
12741 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12744 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12746 esac
12747 # Commands to make compiler produce verbose output that lists
12748 # what "hidden" libraries, object files and flags are used when
12749 # linking a shared library.
12751 # There doesn't appear to be a way to prevent this compiler from
12752 # explicitly linking system object files so we need to strip them
12753 # from the output so that they don't get included in the library
12754 # dependencies.
12755 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"'
12758 if test "$GXX" = yes; then
12759 if test $with_gnu_ld = no; then
12760 case $host_cpu in
12761 hppa*64*)
12762 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 ia64*)
12765 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12768 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'
12770 esac
12772 else
12773 # FIXME: insert proper C++ library support
12774 ld_shlibs_CXX=no
12777 esac
12780 interix[3-9]*)
12781 hardcode_direct_CXX=no
12782 hardcode_shlibpath_var_CXX=no
12783 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12784 export_dynamic_flag_spec_CXX='${wl}-E'
12785 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12786 # Instead, shared libraries are loaded at an image base (0x10000000 by
12787 # default) and relocated if they conflict, which is a slow very memory
12788 # consuming and fragmenting process. To avoid this, we pick a random,
12789 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12790 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12791 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'
12792 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'
12794 irix5* | irix6*)
12795 case $cc_basename in
12796 CC*)
12797 # SGI C++
12798 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'
12800 # Archives containing C++ object files must be created using
12801 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12802 # necessary to make sure instantiated templates are included
12803 # in the archive.
12804 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12807 if test "$GXX" = yes; then
12808 if test "$with_gnu_ld" = no; then
12809 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'
12810 else
12811 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'
12814 link_all_deplibs_CXX=yes
12816 esac
12817 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12818 hardcode_libdir_separator_CXX=:
12819 inherit_rpath_CXX=yes
12822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12823 case $cc_basename in
12824 KCC*)
12825 # Kuck and Associates, Inc. (KAI) C++ Compiler
12827 # KCC will only create a shared library if the output file
12828 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12829 # to its proper name (with version) after linking.
12830 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'
12831 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'
12832 # Commands to make compiler produce verbose output that lists
12833 # what "hidden" libraries, object files and flags are used when
12834 # linking a shared library.
12836 # There doesn't appear to be a way to prevent this compiler from
12837 # explicitly linking system object files so we need to strip them
12838 # from the output so that they don't get included in the library
12839 # dependencies.
12840 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"'
12842 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12843 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12845 # Archives containing C++ object files must be created using
12846 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12847 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12849 icpc* | ecpc* )
12850 # Intel C++
12851 with_gnu_ld=yes
12852 # version 8.0 and above of icpc choke on multiply defined symbols
12853 # if we add $predep_objects and $postdep_objects, however 7.1 and
12854 # earlier do not add the objects themselves.
12855 case `$CC -V 2>&1` in
12856 *"Version 7."*)
12857 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12858 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'
12860 *) # Version 8.0 or newer
12861 tmp_idyn=
12862 case $host_cpu in
12863 ia64*) tmp_idyn=' -i_dynamic';;
12864 esac
12865 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12866 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'
12868 esac
12869 archive_cmds_need_lc_CXX=no
12870 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12871 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12872 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12874 pgCC* | pgcpp*)
12875 # Portland Group C++ compiler
12876 case `$CC -V` in
12877 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12878 prelink_cmds_CXX='tpldir=Template.dir~
12879 rm -rf $tpldir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12881 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12882 old_archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12885 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12886 $RANLIB $oldlib'
12887 archive_cmds_CXX='tpldir=Template.dir~
12888 rm -rf $tpldir~
12889 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12890 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 archive_expsym_cmds_CXX='tpldir=Template.dir~
12892 rm -rf $tpldir~
12893 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12894 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12896 *) # Version 6 and above use weak symbols
12897 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12898 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'
12900 esac
12902 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12903 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12904 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'
12906 cxx*)
12907 # Compaq C++
12908 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12909 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'
12911 runpath_var=LD_RUN_PATH
12912 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12913 hardcode_libdir_separator_CXX=:
12915 # Commands to make compiler produce verbose output that lists
12916 # what "hidden" libraries, object files and flags are used when
12917 # linking a shared library.
12919 # There doesn't appear to be a way to prevent this compiler from
12920 # explicitly linking system object files so we need to strip them
12921 # from the output so that they don't get included in the library
12922 # dependencies.
12923 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'
12925 xl* | mpixl* | bgxl*)
12926 # IBM XL 8.0 on PPC, with GNU ld
12927 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12928 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12929 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12930 if test "x$supports_anon_versioning" = xyes; then
12931 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12932 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12933 echo "local: *; };" >> $output_objdir/$libname.ver~
12934 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12938 case `$CC -V 2>&1 | sed 5q` in
12939 *Sun\ C*)
12940 # Sun C++ 5.9
12941 no_undefined_flag_CXX=' -zdefs'
12942 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12943 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'
12944 hardcode_libdir_flag_spec_CXX='-R$libdir'
12945 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'
12946 compiler_needs_object_CXX=yes
12948 # Not sure whether something based on
12949 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12950 # would be better.
12951 output_verbose_link_cmd='func_echo_all'
12953 # Archives containing C++ object files must be created using
12954 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12955 # necessary to make sure instantiated templates are included
12956 # in the archive.
12957 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12959 esac
12961 esac
12964 lynxos*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 m88k*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 mvs*)
12975 case $cc_basename in
12976 cxx*)
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12981 # FIXME: insert proper C++ library support
12982 ld_shlibs_CXX=no
12984 esac
12987 netbsd*)
12988 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12989 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12990 wlarc=
12991 hardcode_libdir_flag_spec_CXX='-R$libdir'
12992 hardcode_direct_CXX=yes
12993 hardcode_shlibpath_var_CXX=no
12995 # Workaround some broken pre-1.5 toolchains
12996 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12999 *nto* | *qnx*)
13000 ld_shlibs_CXX=yes
13003 openbsd2*)
13004 # C++ shared libraries are fairly broken
13005 ld_shlibs_CXX=no
13008 openbsd*)
13009 if test -f /usr/libexec/ld.so; then
13010 hardcode_direct_CXX=yes
13011 hardcode_shlibpath_var_CXX=no
13012 hardcode_direct_absolute_CXX=yes
13013 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13014 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13015 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13016 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13017 export_dynamic_flag_spec_CXX='${wl}-E'
13018 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13020 output_verbose_link_cmd=func_echo_all
13021 else
13022 ld_shlibs_CXX=no
13026 osf3* | osf4* | osf5*)
13027 case $cc_basename in
13028 KCC*)
13029 # Kuck and Associates, Inc. (KAI) C++ Compiler
13031 # KCC will only create a shared library if the output file
13032 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13033 # to its proper name (with version) after linking.
13034 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'
13036 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13037 hardcode_libdir_separator_CXX=:
13039 # Archives containing C++ object files must be created using
13040 # the KAI C++ compiler.
13041 case $host in
13042 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13043 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13044 esac
13046 RCC*)
13047 # Rational C++ 2.4.1
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13051 cxx*)
13052 case $host in
13053 osf3*)
13054 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13055 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'
13056 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13059 allow_undefined_flag_CXX=' -expect_unresolved \*'
13060 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'
13061 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13062 echo "-hidden">> $lib.exp~
13063 $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~
13064 $RM $lib.exp'
13065 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13067 esac
13069 hardcode_libdir_separator_CXX=:
13071 # Commands to make compiler produce verbose output that lists
13072 # what "hidden" libraries, object files and flags are used when
13073 # linking a shared library.
13075 # There doesn't appear to be a way to prevent this compiler from
13076 # explicitly linking system object files so we need to strip them
13077 # from the output so that they don't get included in the library
13078 # dependencies.
13079 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"'
13082 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13083 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13084 case $host in
13085 osf3*)
13086 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'
13089 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'
13091 esac
13093 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13094 hardcode_libdir_separator_CXX=:
13096 # Commands to make compiler produce verbose output that lists
13097 # what "hidden" libraries, object files and flags are used when
13098 # linking a shared library.
13099 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13101 else
13102 # FIXME: insert proper C++ library support
13103 ld_shlibs_CXX=no
13106 esac
13109 psos*)
13110 # FIXME: insert proper C++ library support
13111 ld_shlibs_CXX=no
13114 sunos4*)
13115 case $cc_basename in
13116 CC*)
13117 # Sun C++ 4.x
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13121 lcc*)
13122 # Lucid
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13127 # FIXME: insert proper C++ library support
13128 ld_shlibs_CXX=no
13130 esac
13133 solaris*)
13134 case $cc_basename in
13135 CC*)
13136 # Sun C++ 4.2, 5.x and Centerline C++
13137 archive_cmds_need_lc_CXX=yes
13138 no_undefined_flag_CXX=' -zdefs'
13139 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13140 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13141 $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'
13143 hardcode_libdir_flag_spec_CXX='-R$libdir'
13144 hardcode_shlibpath_var_CXX=no
13145 case $host_os in
13146 solaris2.[0-5] | solaris2.[0-5].*) ;;
13148 # The compiler driver will combine and reorder linker options,
13149 # but understands `-z linker_flag'.
13150 # Supported since Solaris 2.6 (maybe 2.5.1?)
13151 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13153 esac
13154 link_all_deplibs_CXX=yes
13156 output_verbose_link_cmd='func_echo_all'
13158 # Archives containing C++ object files must be created using
13159 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13160 # necessary to make sure instantiated templates are included
13161 # in the archive.
13162 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13164 gcx*)
13165 # Green Hills C++ Compiler
13166 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13168 # The C++ compiler must be used to create the archive.
13169 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13172 # GNU C++ compiler with Solaris linker
13173 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13174 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13175 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13176 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13177 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13178 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13180 # Commands to make compiler produce verbose output that lists
13181 # what "hidden" libraries, object files and flags are used when
13182 # linking a shared library.
13183 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13184 else
13185 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13186 # platform.
13187 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13188 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13189 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13191 # Commands to make compiler produce verbose output that lists
13192 # what "hidden" libraries, object files and flags are used when
13193 # linking a shared library.
13194 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13197 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13198 case $host_os in
13199 solaris2.[0-5] | solaris2.[0-5].*) ;;
13201 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13203 esac
13206 esac
13209 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13210 no_undefined_flag_CXX='${wl}-z,text'
13211 archive_cmds_need_lc_CXX=no
13212 hardcode_shlibpath_var_CXX=no
13213 runpath_var='LD_RUN_PATH'
13215 case $cc_basename in
13216 CC*)
13217 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13221 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13222 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13224 esac
13227 sysv5* | sco3.2v5* | sco5v6*)
13228 # Note: We can NOT use -z defs as we might desire, because we do not
13229 # link with -lc, and that would cause any symbols used from libc to
13230 # always be unresolved, which means just about no library would
13231 # ever link correctly. If we're not using GNU ld we use -z text
13232 # though, which does catch some bad symbols but isn't as heavy-handed
13233 # as -z defs.
13234 no_undefined_flag_CXX='${wl}-z,text'
13235 allow_undefined_flag_CXX='${wl}-z,nodefs'
13236 archive_cmds_need_lc_CXX=no
13237 hardcode_shlibpath_var_CXX=no
13238 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13239 hardcode_libdir_separator_CXX=':'
13240 link_all_deplibs_CXX=yes
13241 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13242 runpath_var='LD_RUN_PATH'
13244 case $cc_basename in
13245 CC*)
13246 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13247 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13249 '"$old_archive_cmds_CXX"
13250 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13251 '"$reload_cmds_CXX"
13254 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13255 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257 esac
13260 tandem*)
13261 case $cc_basename in
13262 NCC*)
13263 # NonStop-UX NCC 3.20
13264 # FIXME: insert proper C++ library support
13265 ld_shlibs_CXX=no
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13271 esac
13274 vxworks*)
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13280 # FIXME: insert proper C++ library support
13281 ld_shlibs_CXX=no
13283 esac
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13286 $as_echo "$ld_shlibs_CXX" >&6; }
13287 test "$ld_shlibs_CXX" = no && can_build_shared=no
13289 GCC_CXX="$GXX"
13290 LD_CXX="$LD"
13292 ## CAVEAT EMPTOR:
13293 ## There is no encapsulation within the following macros, do not change
13294 ## the running order or otherwise move them around unless you know exactly
13295 ## what you are doing...
13296 # Dependencies to place before and after the object being linked:
13297 predep_objects_CXX=
13298 postdep_objects_CXX=
13299 predeps_CXX=
13300 postdeps_CXX=
13301 compiler_lib_search_path_CXX=
13303 cat > conftest.$ac_ext <<_LT_EOF
13304 class Foo
13306 public:
13307 Foo (void) { a = 0; }
13308 private:
13309 int a;
13311 _LT_EOF
13313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13314 (eval $ac_compile) 2>&5
13315 ac_status=$?
13316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13317 test $ac_status = 0; }; then
13318 # Parse the compiler output and extract the necessary
13319 # objects, libraries and library flags.
13321 # Sentinel used to keep track of whether or not we are before
13322 # the conftest object file.
13323 pre_test_object_deps_done=no
13325 for p in `eval "$output_verbose_link_cmd"`; do
13326 case $p in
13328 -L* | -R* | -l*)
13329 # Some compilers place space between "-{L,R}" and the path.
13330 # Remove the space.
13331 if test $p = "-L" ||
13332 test $p = "-R"; then
13333 prev=$p
13334 continue
13335 else
13336 prev=
13339 if test "$pre_test_object_deps_done" = no; then
13340 case $p in
13341 -L* | -R*)
13342 # Internal compiler library paths should come after those
13343 # provided the user. The postdeps already come after the
13344 # user supplied libs so there is no need to process them.
13345 if test -z "$compiler_lib_search_path_CXX"; then
13346 compiler_lib_search_path_CXX="${prev}${p}"
13347 else
13348 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13351 # The "-l" case would never come before the object being
13352 # linked, so don't bother handling this case.
13353 esac
13354 else
13355 if test -z "$postdeps_CXX"; then
13356 postdeps_CXX="${prev}${p}"
13357 else
13358 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13363 *.$objext)
13364 # This assumes that the test object file only shows up
13365 # once in the compiler output.
13366 if test "$p" = "conftest.$objext"; then
13367 pre_test_object_deps_done=yes
13368 continue
13371 if test "$pre_test_object_deps_done" = no; then
13372 if test -z "$predep_objects_CXX"; then
13373 predep_objects_CXX="$p"
13374 else
13375 predep_objects_CXX="$predep_objects_CXX $p"
13377 else
13378 if test -z "$postdep_objects_CXX"; then
13379 postdep_objects_CXX="$p"
13380 else
13381 postdep_objects_CXX="$postdep_objects_CXX $p"
13386 *) ;; # Ignore the rest.
13388 esac
13389 done
13391 # Clean up.
13392 rm -f a.out a.exe
13393 else
13394 echo "libtool.m4: error: problem compiling CXX test program"
13397 $RM -f confest.$objext
13399 # PORTME: override above test on systems where it is broken
13400 case $host_os in
13401 interix[3-9]*)
13402 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13403 # hack all around it, let's just trust "g++" to DTRT.
13404 predep_objects_CXX=
13405 postdep_objects_CXX=
13406 postdeps_CXX=
13409 linux*)
13410 case `$CC -V 2>&1 | sed 5q` in
13411 *Sun\ C*)
13412 # Sun C++ 5.9
13414 # The more standards-conforming stlport4 library is
13415 # incompatible with the Cstd library. Avoid specifying
13416 # it if it's in CXXFLAGS. Ignore libCrun as
13417 # -library=stlport4 depends on it.
13418 case " $CXX $CXXFLAGS " in
13419 *" -library=stlport4 "*)
13420 solaris_use_stlport4=yes
13422 esac
13424 if test "$solaris_use_stlport4" != yes; then
13425 postdeps_CXX='-library=Cstd -library=Crun'
13428 esac
13431 solaris*)
13432 case $cc_basename in
13433 CC*)
13434 # The more standards-conforming stlport4 library is
13435 # incompatible with the Cstd library. Avoid specifying
13436 # it if it's in CXXFLAGS. Ignore libCrun as
13437 # -library=stlport4 depends on it.
13438 case " $CXX $CXXFLAGS " in
13439 *" -library=stlport4 "*)
13440 solaris_use_stlport4=yes
13442 esac
13444 # Adding this requires a known-good setup of shared libraries for
13445 # Sun compiler versions before 5.6, else PIC objects from an old
13446 # archive will be linked into the output, leading to subtle bugs.
13447 if test "$solaris_use_stlport4" != yes; then
13448 postdeps_CXX='-library=Cstd -library=Crun'
13451 esac
13453 esac
13456 case " $postdeps_CXX " in
13457 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13458 esac
13459 compiler_lib_search_dirs_CXX=
13460 if test -n "${compiler_lib_search_path_CXX}"; then
13461 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13494 lt_prog_compiler_wl_CXX=
13495 lt_prog_compiler_pic_CXX=
13496 lt_prog_compiler_static_CXX=
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13499 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13501 # C++ specific cases for pic, static, wl, etc.
13502 if test "$GXX" = yes; then
13503 lt_prog_compiler_wl_CXX='-Wl,'
13504 lt_prog_compiler_static_CXX='-static'
13506 case $host_os in
13507 aix*)
13508 # All AIX code is PIC.
13509 if test "$host_cpu" = ia64; then
13510 # AIX 5 now supports IA64 processor
13511 lt_prog_compiler_static_CXX='-Bstatic'
13513 lt_prog_compiler_pic_CXX='-fPIC'
13516 amigaos*)
13517 case $host_cpu in
13518 powerpc)
13519 # see comment about AmigaOS4 .so support
13520 lt_prog_compiler_pic_CXX='-fPIC'
13522 m68k)
13523 # FIXME: we need at least 68020 code to build shared libraries, but
13524 # adding the `-m68020' flag to GCC prevents building anything better,
13525 # like `-m68040'.
13526 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13528 esac
13531 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13532 # PIC is the default for these OSes.
13534 mingw* | cygwin* | os2* | pw32* | cegcc*)
13535 # This hack is so that the source file can tell whether it is being
13536 # built for inclusion in a dll (and should export symbols for example).
13537 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13538 # (--disable-auto-import) libraries
13539 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13541 darwin* | rhapsody*)
13542 # PIC is the default on this platform
13543 # Common symbols not allowed in MH_DYLIB files
13544 lt_prog_compiler_pic_CXX='-fno-common'
13546 *djgpp*)
13547 # DJGPP does not support shared libraries at all
13548 lt_prog_compiler_pic_CXX=
13550 haiku*)
13551 # PIC is the default for Haiku.
13552 # The "-static" flag exists, but is broken.
13553 lt_prog_compiler_static_CXX=
13555 interix[3-9]*)
13556 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13557 # Instead, we relocate shared libraries at runtime.
13559 sysv4*MP*)
13560 if test -d /usr/nec; then
13561 lt_prog_compiler_pic_CXX=-Kconform_pic
13564 hpux*)
13565 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13566 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13567 # sets the default TLS model and affects inlining.
13568 case $host_cpu in
13569 hppa*64*)
13572 lt_prog_compiler_pic_CXX='-fPIC'
13574 esac
13576 *qnx* | *nto*)
13577 # QNX uses GNU C++, but need to define -shared option too, otherwise
13578 # it will coredump.
13579 lt_prog_compiler_pic_CXX='-fPIC -shared'
13582 lt_prog_compiler_pic_CXX='-fPIC'
13584 esac
13585 else
13586 case $host_os in
13587 aix[4-9]*)
13588 # All AIX code is PIC.
13589 if test "$host_cpu" = ia64; then
13590 # AIX 5 now supports IA64 processor
13591 lt_prog_compiler_static_CXX='-Bstatic'
13592 else
13593 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13596 chorus*)
13597 case $cc_basename in
13598 cxch68*)
13599 # Green Hills C++ Compiler
13600 # _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"
13602 esac
13604 dgux*)
13605 case $cc_basename in
13606 ec++*)
13607 lt_prog_compiler_pic_CXX='-KPIC'
13609 ghcx*)
13610 # Green Hills C++ Compiler
13611 lt_prog_compiler_pic_CXX='-pic'
13615 esac
13617 freebsd* | dragonfly*)
13618 # FreeBSD uses GNU C++
13620 hpux9* | hpux10* | hpux11*)
13621 case $cc_basename in
13622 CC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 if test "$host_cpu" != ia64; then
13626 lt_prog_compiler_pic_CXX='+Z'
13629 aCC*)
13630 lt_prog_compiler_wl_CXX='-Wl,'
13631 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13632 case $host_cpu in
13633 hppa*64*|ia64*)
13634 # +Z the default
13637 lt_prog_compiler_pic_CXX='+Z'
13639 esac
13643 esac
13645 interix*)
13646 # This is c89, which is MS Visual C++ (no shared libs)
13647 # Anyone wants to do a port?
13649 irix5* | irix6* | nonstopux*)
13650 case $cc_basename in
13651 CC*)
13652 lt_prog_compiler_wl_CXX='-Wl,'
13653 lt_prog_compiler_static_CXX='-non_shared'
13654 # CC pic flag -KPIC is the default.
13658 esac
13660 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13661 case $cc_basename in
13662 KCC*)
13663 # KAI C++ Compiler
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13665 lt_prog_compiler_pic_CXX='-fPIC'
13667 ecpc* )
13668 # old Intel C++ for x86_64 which still supported -KPIC.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-static'
13673 icpc* )
13674 # Intel C++, used to be incompatible with GCC.
13675 # ICC 10 doesn't accept -KPIC any more.
13676 lt_prog_compiler_wl_CXX='-Wl,'
13677 lt_prog_compiler_pic_CXX='-fPIC'
13678 lt_prog_compiler_static_CXX='-static'
13680 pgCC* | pgcpp*)
13681 # Portland Group C++ compiler
13682 lt_prog_compiler_wl_CXX='-Wl,'
13683 lt_prog_compiler_pic_CXX='-fpic'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13686 cxx*)
13687 # Compaq C++
13688 # Make sure the PIC flag is empty. It appears that all Alpha
13689 # Linux and Compaq Tru64 Unix objects are PIC.
13690 lt_prog_compiler_pic_CXX=
13691 lt_prog_compiler_static_CXX='-non_shared'
13693 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13694 # IBM XL 8.0, 9.0 on PPC and BlueGene
13695 lt_prog_compiler_wl_CXX='-Wl,'
13696 lt_prog_compiler_pic_CXX='-qpic'
13697 lt_prog_compiler_static_CXX='-qstaticlink'
13700 case `$CC -V 2>&1 | sed 5q` in
13701 *Sun\ C*)
13702 # Sun C++ 5.9
13703 lt_prog_compiler_pic_CXX='-KPIC'
13704 lt_prog_compiler_static_CXX='-Bstatic'
13705 lt_prog_compiler_wl_CXX='-Qoption ld '
13707 esac
13709 esac
13711 lynxos*)
13713 m88k*)
13715 mvs*)
13716 case $cc_basename in
13717 cxx*)
13718 lt_prog_compiler_pic_CXX='-W c,exportall'
13722 esac
13724 netbsd*)
13726 *qnx* | *nto*)
13727 # QNX uses GNU C++, but need to define -shared option too, otherwise
13728 # it will coredump.
13729 lt_prog_compiler_pic_CXX='-fPIC -shared'
13731 osf3* | osf4* | osf5*)
13732 case $cc_basename in
13733 KCC*)
13734 lt_prog_compiler_wl_CXX='--backend -Wl,'
13736 RCC*)
13737 # Rational C++ 2.4.1
13738 lt_prog_compiler_pic_CXX='-pic'
13740 cxx*)
13741 # Digital/Compaq C++
13742 lt_prog_compiler_wl_CXX='-Wl,'
13743 # Make sure the PIC flag is empty. It appears that all Alpha
13744 # Linux and Compaq Tru64 Unix objects are PIC.
13745 lt_prog_compiler_pic_CXX=
13746 lt_prog_compiler_static_CXX='-non_shared'
13750 esac
13752 psos*)
13754 solaris*)
13755 case $cc_basename in
13756 CC*)
13757 # Sun C++ 4.2, 5.x and Centerline C++
13758 lt_prog_compiler_pic_CXX='-KPIC'
13759 lt_prog_compiler_static_CXX='-Bstatic'
13760 lt_prog_compiler_wl_CXX='-Qoption ld '
13762 gcx*)
13763 # Green Hills C++ Compiler
13764 lt_prog_compiler_pic_CXX='-PIC'
13768 esac
13770 sunos4*)
13771 case $cc_basename in
13772 CC*)
13773 # Sun C++ 4.x
13774 lt_prog_compiler_pic_CXX='-pic'
13775 lt_prog_compiler_static_CXX='-Bstatic'
13777 lcc*)
13778 # Lucid
13779 lt_prog_compiler_pic_CXX='-pic'
13783 esac
13785 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13786 case $cc_basename in
13787 CC*)
13788 lt_prog_compiler_wl_CXX='-Wl,'
13789 lt_prog_compiler_pic_CXX='-KPIC'
13790 lt_prog_compiler_static_CXX='-Bstatic'
13792 esac
13794 tandem*)
13795 case $cc_basename in
13796 NCC*)
13797 # NonStop-UX NCC 3.20
13798 lt_prog_compiler_pic_CXX='-KPIC'
13802 esac
13804 vxworks*)
13807 lt_prog_compiler_can_build_shared_CXX=no
13809 esac
13812 case $host_os in
13813 # For platforms which do not support PIC, -DPIC is meaningless:
13814 *djgpp*)
13815 lt_prog_compiler_pic_CXX=
13818 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13820 esac
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13822 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13827 # Check to make sure the PIC flag actually works.
13829 if test -n "$lt_prog_compiler_pic_CXX"; then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13831 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13832 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 lt_cv_prog_compiler_pic_works_CXX=no
13836 ac_outfile=conftest.$ac_objext
13837 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13838 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13839 # Insert the option either (1) after the last *FLAGS variable, or
13840 # (2) before a word containing "conftest.", or (3) at the end.
13841 # Note that $ac_compile itself does not contain backslashes and begins
13842 # with a dollar sign (not a hyphen), so the echo should work correctly.
13843 # The option is referenced via a variable to avoid confusing sed.
13844 lt_compile=`echo "$ac_compile" | $SED \
13845 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13846 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13847 -e 's:$: $lt_compiler_flag:'`
13848 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13849 (eval "$lt_compile" 2>conftest.err)
13850 ac_status=$?
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 if (exit $ac_status) && test -s "$ac_outfile"; then
13854 # The compiler can only warn and ignore the option if not recognized
13855 # So say no if there are warnings other than the usual output.
13856 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13857 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13858 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13859 lt_cv_prog_compiler_pic_works_CXX=yes
13862 $RM conftest*
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13866 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13868 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13869 case $lt_prog_compiler_pic_CXX in
13870 "" | " "*) ;;
13871 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13872 esac
13873 else
13874 lt_prog_compiler_pic_CXX=
13875 lt_prog_compiler_can_build_shared_CXX=no
13883 # Check to make sure the static flag actually works.
13885 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13887 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13888 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13889 $as_echo_n "(cached) " >&6
13890 else
13891 lt_cv_prog_compiler_static_works_CXX=no
13892 save_LDFLAGS="$LDFLAGS"
13893 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13896 # The linker can only warn and ignore the option if not recognized
13897 # So say no if there are warnings
13898 if test -s conftest.err; then
13899 # Append any errors to the config.log.
13900 cat conftest.err 1>&5
13901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13903 if diff conftest.exp conftest.er2 >/dev/null; then
13904 lt_cv_prog_compiler_static_works_CXX=yes
13906 else
13907 lt_cv_prog_compiler_static_works_CXX=yes
13910 $RM -r conftest*
13911 LDFLAGS="$save_LDFLAGS"
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13915 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13917 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13919 else
13920 lt_prog_compiler_static_CXX=
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13928 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13929 $as_echo_n "(cached) " >&6
13930 else
13931 lt_cv_prog_compiler_c_o_CXX=no
13932 $RM -r conftest 2>/dev/null
13933 mkdir conftest
13934 cd conftest
13935 mkdir out
13936 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13938 lt_compiler_flag="-o out/conftest2.$ac_objext"
13939 # Insert the option either (1) after the last *FLAGS variable, or
13940 # (2) before a word containing "conftest.", or (3) at the end.
13941 # Note that $ac_compile itself does not contain backslashes and begins
13942 # with a dollar sign (not a hyphen), so the echo should work correctly.
13943 lt_compile=`echo "$ac_compile" | $SED \
13944 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13945 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13946 -e 's:$: $lt_compiler_flag:'`
13947 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13948 (eval "$lt_compile" 2>out/conftest.err)
13949 ac_status=$?
13950 cat out/conftest.err >&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13953 then
13954 # The compiler can only warn and ignore the option if not recognized
13955 # So say no if there are warnings
13956 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13957 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13958 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13959 lt_cv_prog_compiler_c_o_CXX=yes
13962 chmod u+w . 2>&5
13963 $RM conftest*
13964 # SGI C++ compiler will create directory out/ii_files/ for
13965 # template instantiation
13966 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13967 $RM out/* && rmdir out
13968 cd ..
13969 $RM -r conftest
13970 $RM conftest*
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13974 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13979 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13980 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13981 $as_echo_n "(cached) " >&6
13982 else
13983 lt_cv_prog_compiler_c_o_CXX=no
13984 $RM -r conftest 2>/dev/null
13985 mkdir conftest
13986 cd conftest
13987 mkdir out
13988 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13990 lt_compiler_flag="-o out/conftest2.$ac_objext"
13991 # Insert the option either (1) after the last *FLAGS variable, or
13992 # (2) before a word containing "conftest.", or (3) at the end.
13993 # Note that $ac_compile itself does not contain backslashes and begins
13994 # with a dollar sign (not a hyphen), so the echo should work correctly.
13995 lt_compile=`echo "$ac_compile" | $SED \
13996 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13997 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13998 -e 's:$: $lt_compiler_flag:'`
13999 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14000 (eval "$lt_compile" 2>out/conftest.err)
14001 ac_status=$?
14002 cat out/conftest.err >&5
14003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14005 then
14006 # The compiler can only warn and ignore the option if not recognized
14007 # So say no if there are warnings
14008 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14009 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14010 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14011 lt_cv_prog_compiler_c_o_CXX=yes
14014 chmod u+w . 2>&5
14015 $RM conftest*
14016 # SGI C++ compiler will create directory out/ii_files/ for
14017 # template instantiation
14018 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14019 $RM out/* && rmdir out
14020 cd ..
14021 $RM -r conftest
14022 $RM conftest*
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14026 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14031 hard_links="nottested"
14032 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14033 # do not overwrite the value of need_locks provided by the user
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14035 $as_echo_n "checking if we can lock with hard links... " >&6; }
14036 hard_links=yes
14037 $RM conftest*
14038 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14039 touch conftest.a
14040 ln conftest.a conftest.b 2>&5 || hard_links=no
14041 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14043 $as_echo "$hard_links" >&6; }
14044 if test "$hard_links" = no; then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14046 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14047 need_locks=warn
14049 else
14050 need_locks=no
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14056 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14058 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14059 case $host_os in
14060 aix[4-9]*)
14061 # If we're using GNU nm, then we don't want the "-C" option.
14062 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14063 # Also, AIX nm treats weak defined symbols like other global defined
14064 # symbols, whereas GNU nm marks them as "W".
14065 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14066 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'
14067 else
14068 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'
14071 pw32*)
14072 export_symbols_cmds_CXX="$ltdll_cmds"
14074 cygwin* | mingw* | cegcc*)
14075 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'
14078 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14080 esac
14081 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14084 $as_echo "$ld_shlibs_CXX" >&6; }
14085 test "$ld_shlibs_CXX" = no && can_build_shared=no
14087 with_gnu_ld_CXX=$with_gnu_ld
14095 # Do we need to explicitly link libc?
14097 case "x$archive_cmds_need_lc_CXX" in
14098 x|xyes)
14099 # Assume -lc should be added
14100 archive_cmds_need_lc_CXX=yes
14102 if test "$enable_shared" = yes && test "$GCC" = yes; then
14103 case $archive_cmds_CXX in
14104 *'~'*)
14105 # FIXME: we may have to deal with multi-command sequences.
14107 '$CC '*)
14108 # Test whether the compiler implicitly links with -lc since on some
14109 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14110 # to ld, don't add -lc before -lgcc.
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14112 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14113 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 $RM conftest*
14117 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14120 (eval $ac_compile) 2>&5
14121 ac_status=$?
14122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14123 test $ac_status = 0; } 2>conftest.err; then
14124 soname=conftest
14125 lib=conftest
14126 libobjs=conftest.$ac_objext
14127 deplibs=
14128 wl=$lt_prog_compiler_wl_CXX
14129 pic_flag=$lt_prog_compiler_pic_CXX
14130 compiler_flags=-v
14131 linker_flags=-v
14132 verstring=
14133 output_objdir=.
14134 libname=conftest
14135 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14136 allow_undefined_flag_CXX=
14137 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14138 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14139 ac_status=$?
14140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14141 test $ac_status = 0; }
14142 then
14143 lt_cv_archive_cmds_need_lc_CXX=no
14144 else
14145 lt_cv_archive_cmds_need_lc_CXX=yes
14147 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14148 else
14149 cat conftest.err 1>&5
14151 $RM conftest*
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14155 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14156 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14158 esac
14161 esac
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14227 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14229 library_names_spec=
14230 libname_spec='lib$name'
14231 soname_spec=
14232 shrext_cmds=".so"
14233 postinstall_cmds=
14234 postuninstall_cmds=
14235 finish_cmds=
14236 finish_eval=
14237 shlibpath_var=
14238 shlibpath_overrides_runpath=unknown
14239 version_type=none
14240 dynamic_linker="$host_os ld.so"
14241 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14242 need_lib_prefix=unknown
14243 hardcode_into_libs=no
14245 # when you set need_version to no, make sure it does not cause -set_version
14246 # flags to be left without arguments
14247 need_version=unknown
14249 case $host_os in
14250 aix3*)
14251 version_type=linux
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14253 shlibpath_var=LIBPATH
14255 # AIX 3 has no versioning support, so we append a major version to the name.
14256 soname_spec='${libname}${release}${shared_ext}$major'
14259 aix[4-9]*)
14260 version_type=linux
14261 need_lib_prefix=no
14262 need_version=no
14263 hardcode_into_libs=yes
14264 if test "$host_cpu" = ia64; then
14265 # AIX 5 supports IA64
14266 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14267 shlibpath_var=LD_LIBRARY_PATH
14268 else
14269 # With GCC up to 2.95.x, collect2 would create an import file
14270 # for dependence libraries. The import file would start with
14271 # the line `#! .'. This would cause the generated library to
14272 # depend on `.', always an invalid library. This was fixed in
14273 # development snapshots of GCC prior to 3.0.
14274 case $host_os in
14275 aix4 | aix4.[01] | aix4.[01].*)
14276 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14277 echo ' yes '
14278 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14280 else
14281 can_build_shared=no
14284 esac
14285 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14286 # soname into executable. Probably we can add versioning support to
14287 # collect2, so additional links can be useful in future.
14288 if test "$aix_use_runtimelinking" = yes; then
14289 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14290 # instead of lib<name>.a to let people know that these are not
14291 # typical AIX shared libraries.
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14293 else
14294 # We preserve .a as extension for shared libraries through AIX4.2
14295 # and later when we are not doing run time linking.
14296 library_names_spec='${libname}${release}.a $libname.a'
14297 soname_spec='${libname}${release}${shared_ext}$major'
14299 shlibpath_var=LIBPATH
14303 amigaos*)
14304 case $host_cpu in
14305 powerpc)
14306 # Since July 2007 AmigaOS4 officially supports .so libraries.
14307 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310 m68k)
14311 library_names_spec='$libname.ixlibrary $libname.a'
14312 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14313 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'
14315 esac
14318 beos*)
14319 library_names_spec='${libname}${shared_ext}'
14320 dynamic_linker="$host_os ld.so"
14321 shlibpath_var=LIBRARY_PATH
14324 bsdi[45]*)
14325 version_type=linux
14326 need_version=no
14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14328 soname_spec='${libname}${release}${shared_ext}$major'
14329 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14330 shlibpath_var=LD_LIBRARY_PATH
14331 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14332 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14333 # the default ld.so.conf also contains /usr/contrib/lib and
14334 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14335 # libtool to hard-code these into programs
14338 cygwin* | mingw* | pw32* | cegcc*)
14339 version_type=windows
14340 shrext_cmds=".dll"
14341 need_version=no
14342 need_lib_prefix=no
14344 case $GCC,$host_os in
14345 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14346 library_names_spec='$libname.dll.a'
14347 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14348 postinstall_cmds='base_file=`basename \${file}`~
14349 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14350 dldir=$destdir/`dirname \$dlpath`~
14351 test -d \$dldir || mkdir -p \$dldir~
14352 $install_prog $dir/$dlname \$dldir/$dlname~
14353 chmod a+x \$dldir/$dlname~
14354 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14355 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14357 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14358 dlpath=$dir/\$dldll~
14359 $RM \$dlpath'
14360 shlibpath_overrides_runpath=yes
14362 case $host_os in
14363 cygwin*)
14364 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14365 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 mingw* | cegcc*)
14369 # MinGW DLLs use traditional 'lib' prefix
14370 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 pw32*)
14373 # pw32 DLLs use 'pw' prefix rather than 'lib'
14374 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14376 esac
14380 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14382 esac
14383 dynamic_linker='Win32 ld.exe'
14384 # FIXME: first we should search . and the directory the executable is in
14385 shlibpath_var=PATH
14388 darwin* | rhapsody*)
14389 dynamic_linker="$host_os dyld"
14390 version_type=darwin
14391 need_lib_prefix=no
14392 need_version=no
14393 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14394 soname_spec='${libname}${release}${major}$shared_ext'
14395 shlibpath_overrides_runpath=yes
14396 shlibpath_var=DYLD_LIBRARY_PATH
14397 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14399 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14402 dgux*)
14403 version_type=linux
14404 need_lib_prefix=no
14405 need_version=no
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 shlibpath_var=LD_LIBRARY_PATH
14411 freebsd* | dragonfly*)
14412 # DragonFly does not have aout. When/if they implement a new
14413 # versioning mechanism, adjust this.
14414 if test -x /usr/bin/objformat; then
14415 objformat=`/usr/bin/objformat`
14416 else
14417 case $host_os in
14418 freebsd[23].*) objformat=aout ;;
14419 *) objformat=elf ;;
14420 esac
14422 version_type=freebsd-$objformat
14423 case $version_type in
14424 freebsd-elf*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14426 need_version=no
14427 need_lib_prefix=no
14429 freebsd-*)
14430 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14431 need_version=yes
14433 esac
14434 shlibpath_var=LD_LIBRARY_PATH
14435 case $host_os in
14436 freebsd2.*)
14437 shlibpath_overrides_runpath=yes
14439 freebsd3.[01]* | freebsdelf3.[01]*)
14440 shlibpath_overrides_runpath=yes
14441 hardcode_into_libs=yes
14443 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14444 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14445 shlibpath_overrides_runpath=no
14446 hardcode_into_libs=yes
14448 *) # from 4.6 on, and DragonFly
14449 shlibpath_overrides_runpath=yes
14450 hardcode_into_libs=yes
14452 esac
14455 gnu*)
14456 version_type=linux
14457 need_lib_prefix=no
14458 need_version=no
14459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14460 soname_spec='${libname}${release}${shared_ext}$major'
14461 shlibpath_var=LD_LIBRARY_PATH
14462 hardcode_into_libs=yes
14465 haiku*)
14466 version_type=linux
14467 need_lib_prefix=no
14468 need_version=no
14469 dynamic_linker="$host_os runtime_loader"
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14471 soname_spec='${libname}${release}${shared_ext}$major'
14472 shlibpath_var=LIBRARY_PATH
14473 shlibpath_overrides_runpath=yes
14474 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14475 hardcode_into_libs=yes
14478 hpux9* | hpux10* | hpux11*)
14479 # Give a soname corresponding to the major version so that dld.sl refuses to
14480 # link against other versions.
14481 version_type=sunos
14482 need_lib_prefix=no
14483 need_version=no
14484 case $host_cpu in
14485 ia64*)
14486 shrext_cmds='.so'
14487 hardcode_into_libs=yes
14488 dynamic_linker="$host_os dld.so"
14489 shlibpath_var=LD_LIBRARY_PATH
14490 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 if test "X$HPUX_IA64_MODE" = X32; then
14494 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14495 else
14496 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14498 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14500 hppa*64*)
14501 shrext_cmds='.sl'
14502 hardcode_into_libs=yes
14503 dynamic_linker="$host_os dld.sl"
14504 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14505 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14507 soname_spec='${libname}${release}${shared_ext}$major'
14508 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14509 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14512 shrext_cmds='.sl'
14513 dynamic_linker="$host_os dld.sl"
14514 shlibpath_var=SHLIB_PATH
14515 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14517 soname_spec='${libname}${release}${shared_ext}$major'
14519 esac
14520 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14521 postinstall_cmds='chmod 555 $lib'
14522 # or fails outright, so override atomically:
14523 install_override_mode=555
14526 interix[3-9]*)
14527 version_type=linux
14528 need_lib_prefix=no
14529 need_version=no
14530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14531 soname_spec='${libname}${release}${shared_ext}$major'
14532 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14533 shlibpath_var=LD_LIBRARY_PATH
14534 shlibpath_overrides_runpath=no
14535 hardcode_into_libs=yes
14538 irix5* | irix6* | nonstopux*)
14539 case $host_os in
14540 nonstopux*) version_type=nonstopux ;;
14542 if test "$lt_cv_prog_gnu_ld" = yes; then
14543 version_type=linux
14544 else
14545 version_type=irix
14546 fi ;;
14547 esac
14548 need_lib_prefix=no
14549 need_version=no
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14552 case $host_os in
14553 irix5* | nonstopux*)
14554 libsuff= shlibsuff=
14557 case $LD in # libtool.m4 will add one of these switches to LD
14558 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14559 libsuff= shlibsuff= libmagic=32-bit;;
14560 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14561 libsuff=32 shlibsuff=N32 libmagic=N32;;
14562 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14563 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14564 *) libsuff= shlibsuff= libmagic=never-match;;
14565 esac
14567 esac
14568 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14569 shlibpath_overrides_runpath=no
14570 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14571 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14572 hardcode_into_libs=yes
14575 # No shared lib support for Linux oldld, aout, or coff.
14576 linux*oldld* | linux*aout* | linux*coff*)
14577 dynamic_linker=no
14580 # This must be Linux ELF.
14581 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14582 version_type=linux
14583 need_lib_prefix=no
14584 need_version=no
14585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14586 soname_spec='${libname}${release}${shared_ext}$major'
14587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14588 shlibpath_var=LD_LIBRARY_PATH
14589 shlibpath_overrides_runpath=no
14591 # Some binutils ld are patched to set DT_RUNPATH
14592 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14593 $as_echo_n "(cached) " >&6
14594 else
14595 lt_cv_shlibpath_overrides_runpath=no
14596 save_LDFLAGS=$LDFLAGS
14597 save_libdir=$libdir
14598 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14599 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14600 if test x$gcc_no_link = xyes; then
14601 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14607 main ()
14611 return 0;
14613 _ACEOF
14614 if ac_fn_cxx_try_link "$LINENO"; then :
14615 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14616 lt_cv_shlibpath_overrides_runpath=yes
14619 rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LDFLAGS=$save_LDFLAGS
14622 libdir=$save_libdir
14626 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14628 # This implies no fast_install, which is unacceptable.
14629 # Some rework will be needed to allow for fast_install
14630 # before this can be enabled.
14631 hardcode_into_libs=yes
14633 # Append ld.so.conf contents to the search path
14634 if test -f /etc/ld.so.conf; then
14635 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' ' '`
14636 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14639 # We used to test for /lib/ld.so.1 and disable shared libraries on
14640 # powerpc, because MkLinux only supported shared libraries with the
14641 # GNU dynamic linker. Since this was broken with cross compilers,
14642 # most powerpc-linux boxes support dynamic linking these days and
14643 # people can always --disable-shared, the test was removed, and we
14644 # assume the GNU/Linux dynamic linker is in use.
14645 dynamic_linker='GNU/Linux ld.so'
14648 netbsd*)
14649 version_type=sunos
14650 need_lib_prefix=no
14651 need_version=no
14652 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14655 dynamic_linker='NetBSD (a.out) ld.so'
14656 else
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 dynamic_linker='NetBSD ld.elf_so'
14661 shlibpath_var=LD_LIBRARY_PATH
14662 shlibpath_overrides_runpath=yes
14663 hardcode_into_libs=yes
14666 newsos6)
14667 version_type=linux
14668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14669 shlibpath_var=LD_LIBRARY_PATH
14670 shlibpath_overrides_runpath=yes
14673 *nto* | *qnx*)
14674 version_type=qnx
14675 need_lib_prefix=no
14676 need_version=no
14677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14678 soname_spec='${libname}${release}${shared_ext}$major'
14679 shlibpath_var=LD_LIBRARY_PATH
14680 shlibpath_overrides_runpath=no
14681 hardcode_into_libs=yes
14682 dynamic_linker='ldqnx.so'
14685 openbsd*)
14686 version_type=sunos
14687 sys_lib_dlsearch_path_spec="/usr/lib"
14688 need_lib_prefix=no
14689 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14690 case $host_os in
14691 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14692 *) need_version=no ;;
14693 esac
14694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14695 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14696 shlibpath_var=LD_LIBRARY_PATH
14697 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14698 case $host_os in
14699 openbsd2.[89] | openbsd2.[89].*)
14700 shlibpath_overrides_runpath=no
14703 shlibpath_overrides_runpath=yes
14705 esac
14706 else
14707 shlibpath_overrides_runpath=yes
14711 os2*)
14712 libname_spec='$name'
14713 shrext_cmds=".dll"
14714 need_lib_prefix=no
14715 library_names_spec='$libname${shared_ext} $libname.a'
14716 dynamic_linker='OS/2 ld.exe'
14717 shlibpath_var=LIBPATH
14720 osf3* | osf4* | osf5*)
14721 version_type=osf
14722 need_lib_prefix=no
14723 need_version=no
14724 soname_spec='${libname}${release}${shared_ext}$major'
14725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14726 shlibpath_var=LD_LIBRARY_PATH
14727 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14728 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14731 rdos*)
14732 dynamic_linker=no
14735 solaris*)
14736 version_type=linux
14737 need_lib_prefix=no
14738 need_version=no
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 shlibpath_overrides_runpath=yes
14743 hardcode_into_libs=yes
14744 # ldd complains unless libraries are executable
14745 postinstall_cmds='chmod +x $lib'
14748 sunos4*)
14749 version_type=sunos
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14751 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14752 shlibpath_var=LD_LIBRARY_PATH
14753 shlibpath_overrides_runpath=yes
14754 if test "$with_gnu_ld" = yes; then
14755 need_lib_prefix=no
14757 need_version=yes
14760 sysv4 | sysv4.3*)
14761 version_type=linux
14762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14763 soname_spec='${libname}${release}${shared_ext}$major'
14764 shlibpath_var=LD_LIBRARY_PATH
14765 case $host_vendor in
14766 sni)
14767 shlibpath_overrides_runpath=no
14768 need_lib_prefix=no
14769 runpath_var=LD_RUN_PATH
14771 siemens)
14772 need_lib_prefix=no
14774 motorola)
14775 need_lib_prefix=no
14776 need_version=no
14777 shlibpath_overrides_runpath=no
14778 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14780 esac
14783 sysv4*MP*)
14784 if test -d /usr/nec ;then
14785 version_type=linux
14786 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14787 soname_spec='$libname${shared_ext}.$major'
14788 shlibpath_var=LD_LIBRARY_PATH
14792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14793 version_type=freebsd-elf
14794 need_lib_prefix=no
14795 need_version=no
14796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14797 soname_spec='${libname}${release}${shared_ext}$major'
14798 shlibpath_var=LD_LIBRARY_PATH
14799 shlibpath_overrides_runpath=yes
14800 hardcode_into_libs=yes
14801 if test "$with_gnu_ld" = yes; then
14802 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14803 else
14804 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14805 case $host_os in
14806 sco3.2v5*)
14807 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14809 esac
14811 sys_lib_dlsearch_path_spec='/usr/lib'
14814 tpf*)
14815 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14816 version_type=linux
14817 need_lib_prefix=no
14818 need_version=no
14819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14820 shlibpath_var=LD_LIBRARY_PATH
14821 shlibpath_overrides_runpath=no
14822 hardcode_into_libs=yes
14825 uts4*)
14826 version_type=linux
14827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14828 soname_spec='${libname}${release}${shared_ext}$major'
14829 shlibpath_var=LD_LIBRARY_PATH
14833 dynamic_linker=no
14835 esac
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14837 $as_echo "$dynamic_linker" >&6; }
14838 test "$dynamic_linker" = no && can_build_shared=no
14840 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14841 if test "$GCC" = yes; then
14842 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14845 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14846 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14848 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14849 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14890 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14891 hardcode_action_CXX=
14892 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14893 test -n "$runpath_var_CXX" ||
14894 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14896 # We can hardcode non-existent directories.
14897 if test "$hardcode_direct_CXX" != no &&
14898 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14899 # have to relink, otherwise we might link with an installed library
14900 # when we should be linking with a yet-to-be-installed one
14901 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14902 test "$hardcode_minus_L_CXX" != no; then
14903 # Linking always hardcodes the temporary library directory.
14904 hardcode_action_CXX=relink
14905 else
14906 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14907 hardcode_action_CXX=immediate
14909 else
14910 # We cannot hardcode anything, or else we can only hardcode existing
14911 # directories.
14912 hardcode_action_CXX=unsupported
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14915 $as_echo "$hardcode_action_CXX" >&6; }
14917 if test "$hardcode_action_CXX" = relink ||
14918 test "$inherit_rpath_CXX" = yes; then
14919 # Fast installation is not supported
14920 enable_fast_install=no
14921 elif test "$shlibpath_overrides_runpath" = yes ||
14922 test "$enable_shared" = no; then
14923 # Fast installation is not necessary
14924 enable_fast_install=needless
14933 fi # test -n "$compiler"
14935 CC=$lt_save_CC
14936 LDCXX=$LD
14937 LD=$lt_save_LD
14938 GCC=$lt_save_GCC
14939 with_gnu_ld=$lt_save_with_gnu_ld
14940 lt_cv_path_LDCXX=$lt_cv_path_LD
14941 lt_cv_path_LD=$lt_save_path_LD
14942 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14943 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14944 fi # test "$_lt_caught_CXX_error" != yes
14946 ac_ext=c
14947 ac_cpp='$CPP $CPPFLAGS'
14948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14964 ac_config_commands="$ac_config_commands libtool"
14969 # Only expand once:
14975 case $host in
14976 *-cygwin* | *-mingw*)
14977 # 'host' will be top-level target in the case of a target lib,
14978 # we must compare to with_cross_host to decide if this is a native
14979 # or cross-compiler and select where to install dlls appropriately.
14980 if test -n "$with_cross_host" &&
14981 test x"$with_cross_host" != x"no"; then
14982 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14983 else
14984 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14988 lt_host_flags=
14990 esac
14997 if test "$enable_vtable_verify" = yes; then
14998 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14999 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15003 # libtool variables for C++ shared and position-independent compiles.
15005 # Use glibcxx_lt_pic_flag to designate the automake variable
15006 # used to encapsulate the default libtool approach to creating objects
15007 # with position-independent code. Default: -prefer-pic.
15009 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15010 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15012 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15013 # creating position-independent objects. This varies with the target
15014 # hardware and operating system, but is often: -DPIC -fPIC.
15015 if test "$enable_shared" = yes; then
15016 glibcxx_lt_pic_flag="-prefer-pic"
15017 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15018 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15020 else
15021 glibcxx_lt_pic_flag=
15022 glibcxx_compiler_pic_flag=
15023 glibcxx_compiler_shared_flag=
15029 # Override the libtool's pic_flag and pic_mode.
15030 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15031 # NB: this impacts --with-pic and --without-pic.
15032 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15033 pic_mode='default'
15035 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15036 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15038 # Possibly disable most of the library.
15039 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15040 ## than just ignoring the results. Faster /and/ more correct, win win.
15042 # Check whether --enable-hosted-libstdcxx was given.
15043 if test "${enable_hosted_libstdcxx+set}" = set; then :
15044 enableval=$enable_hosted_libstdcxx;
15045 else
15046 case "$host" in
15047 arm*-*-symbianelf*)
15048 enable_hosted_libstdcxx=no
15051 enable_hosted_libstdcxx=yes
15053 esac
15056 if test "$enable_hosted_libstdcxx" = no; then
15057 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15058 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15059 is_hosted=no
15060 hosted_define=0
15061 enable_abi_check=no
15062 enable_libstdcxx_pch=no
15063 else
15064 is_hosted=yes
15065 hosted_define=1
15069 cat >>confdefs.h <<_ACEOF
15070 #define _GLIBCXX_HOSTED $hosted_define
15071 _ACEOF
15075 # Enable descriptive messages to standard output on termination.
15077 # Check whether --enable-libstdcxx-verbose was given.
15078 if test "${enable_libstdcxx_verbose+set}" = set; then :
15079 enableval=$enable_libstdcxx_verbose;
15080 else
15081 enable_libstdcxx_verbose=yes
15084 if test x"$enable_libstdcxx_verbose" = xyes; then
15085 verbose_define=1
15086 else
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15088 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15089 verbose_define=0
15092 cat >>confdefs.h <<_ACEOF
15093 #define _GLIBCXX_VERBOSE $verbose_define
15094 _ACEOF
15098 # Enable compiler support that doesn't require linking.
15100 # Check whether --enable-libstdcxx-pch was given.
15101 if test "${enable_libstdcxx_pch+set}" = set; then :
15102 enableval=$enable_libstdcxx_pch;
15103 case "$enableval" in
15104 yes|no) ;;
15105 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15106 esac
15108 else
15109 enable_libstdcxx_pch=$is_hosted
15113 if test $enable_libstdcxx_pch = yes; then
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15115 $as_echo_n "checking for compiler with PCH support... " >&6; }
15116 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 ac_save_CXXFLAGS="$CXXFLAGS"
15120 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15122 ac_ext=cpp
15123 ac_cpp='$CXXCPP $CPPFLAGS'
15124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15128 echo '#include <math.h>' > conftest.h
15129 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15130 -o conftest.h.gch 1>&5 2>&1 &&
15131 echo '#error "pch failed"' > conftest.h &&
15132 echo '#include "conftest.h"' > conftest.cc &&
15133 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15134 then
15135 glibcxx_cv_prog_CXX_pch=yes
15136 else
15137 glibcxx_cv_prog_CXX_pch=no
15139 rm -f conftest*
15140 CXXFLAGS=$ac_save_CXXFLAGS
15141 ac_ext=c
15142 ac_cpp='$CPP $CPPFLAGS'
15143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15150 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15151 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15155 $as_echo_n "checking for enabled PCH... " >&6; }
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15157 $as_echo "$enable_libstdcxx_pch" >&6; }
15160 if test $enable_libstdcxx_pch = yes; then
15161 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15162 else
15163 glibcxx_PCHFLAGS=""
15168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15169 $as_echo_n "checking for thread model used by GCC... " >&6; }
15170 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15172 $as_echo "$target_thread_file" >&6; }
15174 case $target_thread_file in
15175 aix) thread_header=config/rs6000/gthr-aix.h ;;
15176 dce) thread_header=config/pa/gthr-dce.h ;;
15177 lynx) thread_header=config/gthr-lynx.h ;;
15178 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15179 posix) thread_header=gthr-posix.h ;;
15180 rtems) thread_header=config/gthr-rtems.h ;;
15181 single) thread_header=gthr-single.h ;;
15182 tpf) thread_header=config/s390/gthr-tpf.h ;;
15183 vxworks) thread_header=config/gthr-vxworks.h ;;
15184 win32) thread_header=config/i386/gthr-win32.h ;;
15185 esac
15191 ac_ext=cpp
15192 ac_cpp='$CXXCPP $CPPFLAGS'
15193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15197 old_CXXFLAGS="$CXXFLAGS"
15199 # Do link tests if possible, instead asm tests, limited to some platforms
15200 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15201 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15202 atomic_builtins_link_tests=no
15203 if test x$gcc_no_link != xyes; then
15204 # Can do link tests. Limit to some tested platforms
15205 case "$host" in
15206 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15207 atomic_builtins_link_tests=yes
15209 esac
15212 if test x$atomic_builtins_link_tests = xyes; then
15214 # Do link tests.
15216 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15219 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15220 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15224 if test x$gcc_no_link = xyes; then
15225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15231 main ()
15233 typedef bool atomic_type;
15234 atomic_type c1;
15235 atomic_type c2;
15236 atomic_type c3(0);
15237 // N.B. __atomic_fetch_add is not supported for bool.
15238 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15239 __ATOMIC_RELAXED);
15240 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15241 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15244 return 0;
15246 _ACEOF
15247 if ac_fn_cxx_try_link "$LINENO"; then :
15248 glibcxx_cv_atomic_bool=yes
15249 else
15250 glibcxx_cv_atomic_bool=no
15252 rm -f core conftest.err conftest.$ac_objext \
15253 conftest$ac_exeext conftest.$ac_ext
15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15258 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15261 $as_echo_n "checking for atomic builtins for short... " >&6; }
15262 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15263 $as_echo_n "(cached) " >&6
15264 else
15266 if test x$gcc_no_link = xyes; then
15267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15273 main ()
15275 typedef short atomic_type;
15276 atomic_type c1;
15277 atomic_type c2;
15278 atomic_type c3(0);
15279 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15280 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15281 __ATOMIC_RELAXED);
15282 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15283 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15286 return 0;
15288 _ACEOF
15289 if ac_fn_cxx_try_link "$LINENO"; then :
15290 glibcxx_cv_atomic_short=yes
15291 else
15292 glibcxx_cv_atomic_short=no
15294 rm -f core conftest.err conftest.$ac_objext \
15295 conftest$ac_exeext conftest.$ac_ext
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15300 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15303 $as_echo_n "checking for atomic builtins for int... " >&6; }
15304 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15308 if test x$gcc_no_link = xyes; then
15309 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15315 main ()
15317 typedef int atomic_type;
15318 atomic_type c1;
15319 atomic_type c2;
15320 atomic_type c3(0);
15321 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15322 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15323 __ATOMIC_RELAXED);
15324 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15325 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15328 return 0;
15330 _ACEOF
15331 if ac_fn_cxx_try_link "$LINENO"; then :
15332 glibcxx_cv_atomic_int=yes
15333 else
15334 glibcxx_cv_atomic_int=no
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15342 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15345 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15346 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15347 $as_echo_n "(cached) " >&6
15348 else
15350 if test x$gcc_no_link = xyes; then
15351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15357 main ()
15359 typedef long long atomic_type;
15360 atomic_type c1;
15361 atomic_type c2;
15362 atomic_type c3(0);
15363 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15364 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15365 __ATOMIC_RELAXED);
15366 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15367 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15370 return 0;
15372 _ACEOF
15373 if ac_fn_cxx_try_link "$LINENO"; then :
15374 glibcxx_cv_atomic_long_long=yes
15375 else
15376 glibcxx_cv_atomic_long_long=no
15378 rm -f core conftest.err conftest.$ac_objext \
15379 conftest$ac_exeext conftest.$ac_ext
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15384 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15386 else
15388 # Do asm tests.
15390 # Compile unoptimized.
15391 CXXFLAGS='-O0 -S'
15393 # Fake what AC_TRY_COMPILE does.
15395 cat > conftest.$ac_ext << EOF
15396 #line 15396 "configure"
15397 int main()
15399 typedef bool atomic_type;
15400 atomic_type c1;
15401 atomic_type c2;
15402 atomic_type c3(0);
15403 // N.B. __atomic_fetch_add is not supported for bool.
15404 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15405 __ATOMIC_RELAXED);
15406 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15407 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15409 return 0;
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15414 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15415 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15416 (eval $ac_compile) 2>&5
15417 ac_status=$?
15418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15419 test $ac_status = 0; }; then
15420 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15421 glibcxx_cv_atomic_bool=no
15422 else
15423 glibcxx_cv_atomic_bool=yes
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15427 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15428 rm -f conftest*
15430 cat > conftest.$ac_ext << EOF
15431 #line 15431 "configure"
15432 int main()
15434 typedef short atomic_type;
15435 atomic_type c1;
15436 atomic_type c2;
15437 atomic_type c3(0);
15438 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15439 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15440 __ATOMIC_RELAXED);
15441 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15442 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15444 return 0;
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15449 $as_echo_n "checking for atomic builtins for short... " >&6; }
15450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454 test $ac_status = 0; }; then
15455 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15456 glibcxx_cv_atomic_short=no
15457 else
15458 glibcxx_cv_atomic_short=yes
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15462 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15463 rm -f conftest*
15465 cat > conftest.$ac_ext << EOF
15466 #line 15466 "configure"
15467 int main()
15469 // NB: _Atomic_word not necessarily int.
15470 typedef int atomic_type;
15471 atomic_type c1;
15472 atomic_type c2;
15473 atomic_type c3(0);
15474 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15475 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15476 __ATOMIC_RELAXED);
15477 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15478 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15480 return 0;
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15485 $as_echo_n "checking for atomic builtins for int... " >&6; }
15486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15487 (eval $ac_compile) 2>&5
15488 ac_status=$?
15489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490 test $ac_status = 0; }; then
15491 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15492 glibcxx_cv_atomic_int=no
15493 else
15494 glibcxx_cv_atomic_int=yes
15497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15498 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15499 rm -f conftest*
15501 cat > conftest.$ac_ext << EOF
15502 #line 15502 "configure"
15503 int main()
15505 typedef long long atomic_type;
15506 atomic_type c1;
15507 atomic_type c2;
15508 atomic_type c3(0);
15509 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15510 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15511 __ATOMIC_RELAXED);
15512 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15513 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15515 return 0;
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15520 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15522 (eval $ac_compile) 2>&5
15523 ac_status=$?
15524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15525 test $ac_status = 0; }; then
15526 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15527 glibcxx_cv_atomic_long_long=no
15528 else
15529 glibcxx_cv_atomic_long_long=yes
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15533 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15534 rm -f conftest*
15538 CXXFLAGS="$old_CXXFLAGS"
15539 ac_ext=c
15540 ac_cpp='$CPP $CPPFLAGS'
15541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15546 # Set atomicity_dir to builtins if all but the long long test above passes,
15547 # or if the builtins were already chosen (e.g. by configure.host).
15548 if { test "$glibcxx_cv_atomic_bool" = yes \
15549 && test "$glibcxx_cv_atomic_short" = yes \
15550 && test "$glibcxx_cv_atomic_int" = yes; } \
15551 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15553 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15555 atomicity_dir=cpu/generic/atomicity_builtins
15558 # If still generic, set to mutex.
15559 if test $atomicity_dir = "cpu/generic" ; then
15560 atomicity_dir=cpu/generic/atomicity_mutex
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15562 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15563 if test "x$target_thread_file" = xsingle; then
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15565 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15567 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15568 else
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15570 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15572 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15579 # Fake what AC_TRY_COMPILE does, without linking as this is
15580 # unnecessary for this test.
15582 cat > conftest.$ac_ext << EOF
15583 #line 15583 "configure"
15584 int main()
15586 _Decimal32 d1;
15587 _Decimal64 d2;
15588 _Decimal128 d3;
15589 return 0;
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15594 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15595 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15596 (eval $ac_compile) 2>&5
15597 ac_status=$?
15598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15599 test $ac_status = 0; }; then
15601 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15603 enable_dfp=yes
15604 else
15605 enable_dfp=no
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15608 $as_echo "$enable_dfp" >&6; }
15609 rm -f conftest*
15614 ac_ext=cpp
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15621 # Fake what AC_TRY_COMPILE does, without linking as this is
15622 # unnecessary for this test.
15624 cat > conftest.$ac_ext << EOF
15625 #line 15625 "configure"
15626 template<typename T1, typename T2>
15627 struct same
15628 { typedef T2 type; };
15630 template<typename T>
15631 struct same<T, T>;
15633 int main()
15635 typename same<long, __int128>::type i1;
15636 typename same<long long, __int128>::type i2;
15640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15641 $as_echo_n "checking for __int128... " >&6; }
15642 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15643 (eval $ac_compile) 2>&5
15644 ac_status=$?
15645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15646 test $ac_status = 0; }; then
15648 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15650 enable_int128=yes
15651 else
15652 enable_int128=no
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15655 $as_echo "$enable_int128" >&6; }
15656 rm -f conftest*
15658 cat > conftest.$ac_ext << EOF
15659 #line 15659 "configure"
15660 template<typename T1, typename T2>
15661 struct same
15662 { typedef T2 type; };
15664 template<typename T>
15665 struct same<T, T>;
15667 int main()
15669 typename same<double, __float128>::type f1;
15670 typename same<long double, __float128>::type f2;
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15675 $as_echo_n "checking for __float128... " >&6; }
15676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15677 (eval $ac_compile) 2>&5
15678 ac_status=$?
15679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15680 test $ac_status = 0; }; then
15682 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15684 enable_float128=yes
15685 else
15686 enable_float128=no
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15689 $as_echo "$enable_float128" >&6; }
15690 rm -f conftest*
15692 ac_ext=c
15693 ac_cpp='$CPP $CPPFLAGS'
15694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15699 if test "$enable_float128" = yes; then
15700 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15703 # Checks for compiler support that doesn't require linking.
15705 # All these tests are for C++; save the language and the compiler flags.
15706 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15707 # found in GLIBCXX_CONFIGURE.
15709 ac_ext=cpp
15710 ac_cpp='$CXXCPP $CPPFLAGS'
15711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15715 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15716 ac_save_CXXFLAGS="$CXXFLAGS"
15718 # Check for maintainer-mode bits.
15719 if test x"$USE_MAINTAINER_MODE" = xno; then
15720 WERROR=''
15721 else
15722 WERROR='-Werror'
15725 # Check for -ffunction-sections -fdata-sections
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15727 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15728 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15731 int foo; void bar() { };
15733 main ()
15737 return 0;
15739 _ACEOF
15740 if ac_fn_cxx_try_compile "$LINENO"; then :
15741 ac_fdsections=yes
15742 else
15743 ac_fdsections=no
15745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15746 if test "$ac_test_CXXFLAGS" = set; then
15747 CXXFLAGS="$ac_save_CXXFLAGS"
15748 else
15749 # this is the suspicious part
15750 CXXFLAGS=''
15752 if test x"$ac_fdsections" = x"yes"; then
15753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15756 $as_echo "$ac_fdsections" >&6; }
15758 ac_ext=c
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15768 # Enable all the variable C++ runtime options that don't require linking.
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15771 $as_echo_n "checking for underlying I/O to use... " >&6; }
15772 # Check whether --enable-cstdio was given.
15773 if test "${enable_cstdio+set}" = set; then :
15774 enableval=$enable_cstdio;
15775 case "$enableval" in
15776 stdio) ;;
15777 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15778 esac
15780 else
15781 enable_cstdio=stdio
15786 # Now that libio has been removed, you can have any color you want as long
15787 # as it's black. This is one big no-op until other packages are added, but
15788 # showing the framework never hurts.
15789 case ${enable_cstdio} in
15790 stdio)
15791 CSTDIO_H=config/io/c_io_stdio.h
15792 BASIC_FILE_H=config/io/basic_file_stdio.h
15793 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15795 $as_echo "stdio" >&6; }
15797 esac
15804 # Check whether --enable-clocale was given.
15805 if test "${enable_clocale+set}" = set; then :
15806 enableval=$enable_clocale;
15807 case "$enableval" in
15808 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15809 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15810 esac
15812 else
15813 enable_clocale=auto
15818 # Deal with gettext issues. Default to not using it (=no) until we detect
15819 # support for it later. Let the user turn it off via --e/d, but let that
15820 # default to on for easier handling.
15821 USE_NLS=no
15822 # Check whether --enable-nls was given.
15823 if test "${enable_nls+set}" = set; then :
15824 enableval=$enable_nls;
15825 else
15826 enable_nls=yes
15830 # Either a known package, or "auto"
15831 if test $enable_clocale = no || test $enable_clocale = yes; then
15832 enable_clocale=auto
15834 enable_clocale_flag=$enable_clocale
15836 # Probe for locale model to use if none specified.
15837 # Default to "generic".
15838 if test $enable_clocale_flag = auto; then
15839 case ${target_os} in
15840 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15841 enable_clocale_flag=gnu
15843 darwin*)
15844 enable_clocale_flag=darwin
15846 dragonfly* | freebsd*)
15847 enable_clocale_flag=dragonfly
15849 openbsd*)
15850 enable_clocale_flag=newlib
15853 if test x"$with_newlib" = x"yes"; then
15854 enable_clocale_flag=newlib
15855 else
15856 enable_clocale_flag=generic
15859 esac
15862 # Sanity check model, and test for special functionality.
15863 if test $enable_clocale_flag = gnu; then
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15867 #include <features.h>
15868 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15869 _GLIBCXX_ok
15870 #endif
15872 _ACEOF
15873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15874 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15875 enable_clocale_flag=gnu
15876 else
15877 enable_clocale_flag=generic
15879 rm -f conftest*
15882 # Set it to scream when it hurts.
15883 ac_save_CFLAGS="$CFLAGS"
15884 CFLAGS="-Wimplicit-function-declaration -Werror"
15886 # Use strxfrm_l if available.
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15889 #define _GNU_SOURCE 1
15890 #include <string.h>
15891 #include <locale.h>
15893 main ()
15895 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15897 return 0;
15899 _ACEOF
15900 if ac_fn_c_try_compile "$LINENO"; then :
15902 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15907 # Use strerror_l if available.
15908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15909 /* end confdefs.h. */
15910 #define _GNU_SOURCE 1
15911 #include <string.h>
15912 #include <locale.h>
15914 main ()
15916 __locale_t loc; strerror_l(5, loc);
15918 return 0;
15920 _ACEOF
15921 if ac_fn_c_try_compile "$LINENO"; then :
15923 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15928 CFLAGS="$ac_save_CFLAGS"
15931 # Perhaps use strerror_r if available, and strerror_l isn't.
15932 ac_save_CFLAGS="$CFLAGS"
15933 CFLAGS="-Wimplicit-function-declaration -Werror"
15934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15935 /* end confdefs.h. */
15936 #define _GNU_SOURCE 1
15937 #include <string.h>
15938 #include <locale.h>
15940 main ()
15942 char s[128]; strerror_r(5, s, 128);
15944 return 0;
15946 _ACEOF
15947 if ac_fn_c_try_compile "$LINENO"; then :
15949 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15953 CFLAGS="$ac_save_CFLAGS"
15955 # Set configure bits for specified locale package
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15957 $as_echo_n "checking for C locale to use... " >&6; }
15958 case ${enable_clocale_flag} in
15959 generic)
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15961 $as_echo "generic" >&6; }
15963 CLOCALE_H=config/locale/generic/c_locale.h
15964 CLOCALE_CC=config/locale/generic/c_locale.cc
15965 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15966 CCOLLATE_CC=config/locale/generic/collate_members.cc
15967 CCTYPE_CC=config/locale/generic/ctype_members.cc
15968 CMESSAGES_H=config/locale/generic/messages_members.h
15969 CMESSAGES_CC=config/locale/generic/messages_members.cc
15970 CMONEY_CC=config/locale/generic/monetary_members.cc
15971 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15972 CTIME_H=config/locale/generic/time_members.h
15973 CTIME_CC=config/locale/generic/time_members.cc
15974 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15976 darwin)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15978 $as_echo "darwin" >&6; }
15980 CLOCALE_H=config/locale/generic/c_locale.h
15981 CLOCALE_CC=config/locale/generic/c_locale.cc
15982 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15983 CCOLLATE_CC=config/locale/generic/collate_members.cc
15984 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15985 CMESSAGES_H=config/locale/generic/messages_members.h
15986 CMESSAGES_CC=config/locale/generic/messages_members.cc
15987 CMONEY_CC=config/locale/generic/monetary_members.cc
15988 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15989 CTIME_H=config/locale/generic/time_members.h
15990 CTIME_CC=config/locale/generic/time_members.cc
15991 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15994 dragonfly)
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15996 $as_echo "dragonfly or freebsd" >&6; }
15998 CLOCALE_H=config/locale/dragonfly/c_locale.h
15999 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16000 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16001 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16002 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16003 CMESSAGES_H=config/locale/generic/messages_members.h
16004 CMESSAGES_CC=config/locale/generic/messages_members.cc
16005 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16006 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16007 CTIME_H=config/locale/dragonfly/time_members.h
16008 CTIME_CC=config/locale/dragonfly/time_members.cc
16009 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16012 gnu)
16013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16014 $as_echo "gnu" >&6; }
16016 # Declare intention to use gettext, and add support for specific
16017 # languages.
16018 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16019 ALL_LINGUAS="de fr"
16021 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16022 # Extract the first word of "msgfmt", so it can be a program name with args.
16023 set dummy msgfmt; ac_word=$2
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16025 $as_echo_n "checking for $ac_word... " >&6; }
16026 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16027 $as_echo_n "(cached) " >&6
16028 else
16029 if test -n "$check_msgfmt"; then
16030 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16031 else
16032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16033 for as_dir in $PATH
16035 IFS=$as_save_IFS
16036 test -z "$as_dir" && as_dir=.
16037 for ac_exec_ext in '' $ac_executable_extensions; do
16038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16039 ac_cv_prog_check_msgfmt="yes"
16040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16041 break 2
16043 done
16044 done
16045 IFS=$as_save_IFS
16047 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16050 check_msgfmt=$ac_cv_prog_check_msgfmt
16051 if test -n "$check_msgfmt"; then
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16053 $as_echo "$check_msgfmt" >&6; }
16054 else
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16056 $as_echo "no" >&6; }
16060 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16061 USE_NLS=yes
16063 # Export the build objects.
16064 for ling in $ALL_LINGUAS; do \
16065 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16066 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16067 done
16071 CLOCALE_H=config/locale/gnu/c_locale.h
16072 CLOCALE_CC=config/locale/gnu/c_locale.cc
16073 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16074 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16075 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16076 CMESSAGES_H=config/locale/gnu/messages_members.h
16077 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16078 CMONEY_CC=config/locale/gnu/monetary_members.cc
16079 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16080 CTIME_H=config/locale/gnu/time_members.h
16081 CTIME_CC=config/locale/gnu/time_members.cc
16082 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16084 ieee_1003.1-2001)
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16086 $as_echo "IEEE 1003.1" >&6; }
16088 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16089 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16090 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16091 CCOLLATE_CC=config/locale/generic/collate_members.cc
16092 CCTYPE_CC=config/locale/generic/ctype_members.cc
16093 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16094 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16095 CMONEY_CC=config/locale/generic/monetary_members.cc
16096 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16097 CTIME_H=config/locale/generic/time_members.h
16098 CTIME_CC=config/locale/generic/time_members.cc
16099 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16101 newlib)
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16103 $as_echo "newlib" >&6; }
16105 CLOCALE_H=config/locale/generic/c_locale.h
16106 CLOCALE_CC=config/locale/generic/c_locale.cc
16107 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16108 CCOLLATE_CC=config/locale/generic/collate_members.cc
16109 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16110 CMESSAGES_H=config/locale/generic/messages_members.h
16111 CMESSAGES_CC=config/locale/generic/messages_members.cc
16112 CMONEY_CC=config/locale/generic/monetary_members.cc
16113 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16114 CTIME_H=config/locale/generic/time_members.h
16115 CTIME_CC=config/locale/generic/time_members.cc
16116 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16118 esac
16120 # This is where the testsuite looks for locale catalogs, using the
16121 # -DLOCALEDIR define during testsuite compilation.
16122 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16125 # A standalone libintl (e.g., GNU libintl) may be in use.
16126 if test $USE_NLS = yes; then
16127 for ac_header in libintl.h
16128 do :
16129 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16130 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define HAVE_LIBINTL_H 1
16133 _ACEOF
16135 else
16136 USE_NLS=no
16139 done
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16142 $as_echo_n "checking for library containing gettext... " >&6; }
16143 if test "${ac_cv_search_gettext+set}" = set; then :
16144 $as_echo_n "(cached) " >&6
16145 else
16146 ac_func_search_save_LIBS=$LIBS
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 #ifdef __cplusplus
16154 extern "C"
16155 #endif
16156 char gettext ();
16158 main ()
16160 return gettext ();
16162 return 0;
16164 _ACEOF
16165 for ac_lib in '' intl; do
16166 if test -z "$ac_lib"; then
16167 ac_res="none required"
16168 else
16169 ac_res=-l$ac_lib
16170 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16172 if test x$gcc_no_link = xyes; then
16173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16175 if ac_fn_c_try_link "$LINENO"; then :
16176 ac_cv_search_gettext=$ac_res
16178 rm -f core conftest.err conftest.$ac_objext \
16179 conftest$ac_exeext
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16181 break
16183 done
16184 if test "${ac_cv_search_gettext+set}" = set; then :
16186 else
16187 ac_cv_search_gettext=no
16189 rm conftest.$ac_ext
16190 LIBS=$ac_func_search_save_LIBS
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16193 $as_echo "$ac_cv_search_gettext" >&6; }
16194 ac_res=$ac_cv_search_gettext
16195 if test "$ac_res" != no; then :
16196 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16198 else
16199 USE_NLS=no
16203 if test $USE_NLS = yes; then
16205 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16225 $as_echo_n "checking for std::allocator base class... " >&6; }
16226 # Check whether --enable-libstdcxx-allocator was given.
16227 if test "${enable_libstdcxx_allocator+set}" = set; then :
16228 enableval=$enable_libstdcxx_allocator;
16229 case "$enableval" in
16230 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16231 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16232 esac
16234 else
16235 enable_libstdcxx_allocator=auto
16240 # If they didn't use this option switch, or if they specified --enable
16241 # with no specific model, we'll have to look for one. If they
16242 # specified --disable (???), do likewise.
16243 if test $enable_libstdcxx_allocator = no ||
16244 test $enable_libstdcxx_allocator = yes;
16245 then
16246 enable_libstdcxx_allocator=auto
16249 # Either a known package, or "auto". Auto implies the default choice
16250 # for a particular platform.
16251 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16253 # Probe for host-specific support if no specific model is specified.
16254 # Default to "new".
16255 if test $enable_libstdcxx_allocator_flag = auto; then
16256 case ${target_os} in
16257 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16258 enable_libstdcxx_allocator_flag=new
16261 enable_libstdcxx_allocator_flag=new
16263 esac
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16266 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16269 # Set configure bits for specified locale package
16270 case ${enable_libstdcxx_allocator_flag} in
16271 bitmap)
16272 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16275 malloc)
16276 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16280 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16283 new)
16284 ALLOCATOR_H=config/allocator/new_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16287 pool)
16288 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16289 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16291 esac
16298 # Check whether --enable-cheaders was given.
16299 if test "${enable_cheaders+set}" = set; then :
16300 enableval=$enable_cheaders;
16301 case "$enableval" in
16302 c|c_std|c_global) ;;
16303 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16304 esac
16306 else
16307 enable_cheaders=$c_model
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16312 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16314 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16316 # Allow overrides to configure.host here.
16317 if test $enable_cheaders = c_global; then
16318 c_compatibility=yes
16327 # Check whether --enable-long-long was given.
16328 if test "${enable_long_long+set}" = set; then :
16329 enableval=$enable_long_long;
16330 case "$enableval" in
16331 yes|no) ;;
16332 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16333 esac
16335 else
16336 enable_long_long=yes
16340 if test $enable_long_long = yes; then
16342 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16346 $as_echo_n "checking for enabled long long specializations... " >&6; }
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16348 $as_echo "$enable_long_long" >&6; }
16351 # Check whether --enable-wchar_t was given.
16352 if test "${enable_wchar_t+set}" = set; then :
16353 enableval=$enable_wchar_t;
16354 case "$enableval" in
16355 yes|no) ;;
16356 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16357 esac
16359 else
16360 enable_wchar_t=yes
16365 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16366 for ac_header in wchar.h
16367 do :
16368 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16369 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_WCHAR_H 1
16372 _ACEOF
16373 ac_has_wchar_h=yes
16374 else
16375 ac_has_wchar_h=no
16378 done
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16381 $as_echo_n "checking for mbstate_t... " >&6; }
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <wchar.h>
16386 main ()
16388 mbstate_t teststate;
16390 return 0;
16392 _ACEOF
16393 if ac_fn_c_try_compile "$LINENO"; then :
16394 have_mbstate_t=yes
16395 else
16396 have_mbstate_t=no
16398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16400 $as_echo "$have_mbstate_t" >&6; }
16401 if test x"$have_mbstate_t" = xyes; then
16403 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16407 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16408 # ac_has_wchar_h.
16409 for ac_header in wctype.h
16410 do :
16411 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16412 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_WCTYPE_H 1
16415 _ACEOF
16416 ac_has_wctype_h=yes
16417 else
16418 ac_has_wctype_h=no
16421 done
16424 if test x"$enable_wchar_t" = x"yes"; then
16427 ac_ext=cpp
16428 ac_cpp='$CXXCPP $CPPFLAGS'
16429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16434 if test x"$ac_has_wchar_h" = xyes &&
16435 test x"$ac_has_wctype_h" = xyes; then
16436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16438 #include <wchar.h>
16439 #include <stddef.h>
16440 wint_t i;
16441 long l = WEOF;
16442 long j = WCHAR_MIN;
16443 long k = WCHAR_MAX;
16444 namespace test
16446 using ::btowc;
16447 using ::fgetwc;
16448 using ::fgetws;
16449 using ::fputwc;
16450 using ::fputws;
16451 using ::fwide;
16452 using ::fwprintf;
16453 using ::fwscanf;
16454 using ::getwc;
16455 using ::getwchar;
16456 using ::mbrlen;
16457 using ::mbrtowc;
16458 using ::mbsinit;
16459 using ::mbsrtowcs;
16460 using ::putwc;
16461 using ::putwchar;
16462 using ::swprintf;
16463 using ::swscanf;
16464 using ::ungetwc;
16465 using ::vfwprintf;
16466 using ::vswprintf;
16467 using ::vwprintf;
16468 using ::wcrtomb;
16469 using ::wcscat;
16470 using ::wcschr;
16471 using ::wcscmp;
16472 using ::wcscoll;
16473 using ::wcscpy;
16474 using ::wcscspn;
16475 using ::wcsftime;
16476 using ::wcslen;
16477 using ::wcsncat;
16478 using ::wcsncmp;
16479 using ::wcsncpy;
16480 using ::wcspbrk;
16481 using ::wcsrchr;
16482 using ::wcsrtombs;
16483 using ::wcsspn;
16484 using ::wcsstr;
16485 using ::wcstod;
16486 using ::wcstok;
16487 using ::wcstol;
16488 using ::wcstoul;
16489 using ::wcsxfrm;
16490 using ::wctob;
16491 using ::wmemchr;
16492 using ::wmemcmp;
16493 using ::wmemcpy;
16494 using ::wmemmove;
16495 using ::wmemset;
16496 using ::wprintf;
16497 using ::wscanf;
16501 main ()
16505 return 0;
16507 _ACEOF
16508 if ac_fn_cxx_try_compile "$LINENO"; then :
16510 else
16511 enable_wchar_t=no
16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 else
16515 enable_wchar_t=no
16518 ac_ext=c
16519 ac_cpp='$CPP $CPPFLAGS'
16520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16526 if test x"$enable_wchar_t" = x"yes"; then
16528 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16533 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16535 $as_echo "$enable_wchar_t" >&6; }
16539 # Check whether --enable-c99 was given.
16540 if test "${enable_c99+set}" = set; then :
16541 enableval=$enable_c99;
16542 case "$enableval" in
16543 yes|no) ;;
16544 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16545 esac
16547 else
16548 enable_c99=yes
16553 if test x"$enable_c99" = x"yes"; then
16555 ac_ext=cpp
16556 ac_cpp='$CXXCPP $CPPFLAGS'
16557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16562 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16563 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16564 # to be spuriously enabled.
16565 ac_save_CXXFLAGS="$CXXFLAGS"
16566 CXXFLAGS="$CXXFLAGS -std=c++98"
16567 ac_save_LIBS="$LIBS"
16568 ac_save_gcc_no_link="$gcc_no_link"
16570 if test x$gcc_no_link != xyes; then
16571 # Use -fno-exceptions to that the C driver can link these tests without
16572 # hitting undefined references to personality routines.
16573 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16575 $as_echo_n "checking for sin in -lm... " >&6; }
16576 if test "${ac_cv_lib_m_sin+set}" = set; then :
16577 $as_echo_n "(cached) " >&6
16578 else
16579 ac_check_lib_save_LIBS=$LIBS
16580 LIBS="-lm $LIBS"
16581 if test x$gcc_no_link = xyes; then
16582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16587 /* Override any GCC internal prototype to avoid an error.
16588 Use char because int might match the return type of a GCC
16589 builtin and then its argument prototype would still apply. */
16590 #ifdef __cplusplus
16591 extern "C"
16592 #endif
16593 char sin ();
16595 main ()
16597 return sin ();
16599 return 0;
16601 _ACEOF
16602 if ac_fn_cxx_try_link "$LINENO"; then :
16603 ac_cv_lib_m_sin=yes
16604 else
16605 ac_cv_lib_m_sin=no
16607 rm -f core conftest.err conftest.$ac_objext \
16608 conftest$ac_exeext conftest.$ac_ext
16609 LIBS=$ac_check_lib_save_LIBS
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16612 $as_echo "$ac_cv_lib_m_sin" >&6; }
16613 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16614 LIBS="$LIBS -lm"
16615 else
16617 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16618 gcc_no_link=yes
16624 # Check for the existence of <math.h> functions used if C99 is enabled.
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16626 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16627 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16631 if test x$gcc_no_link = xyes; then
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #include <math.h>
16635 volatile double d1, d2;
16636 volatile int i;
16638 main ()
16640 i = fpclassify(d1);
16641 i = isfinite(d1);
16642 i = isinf(d1);
16643 i = isnan(d1);
16644 i = isnormal(d1);
16645 i = signbit(d1);
16646 i = isgreater(d1, d2);
16647 i = isgreaterequal(d1, d2);
16648 i = isless(d1, d2);
16649 i = islessequal(d1, d2);
16650 i = islessgreater(d1, d2);
16651 i = islessgreater(d1, d2);
16652 i = isunordered(d1, d2);
16655 return 0;
16657 _ACEOF
16658 if ac_fn_cxx_try_compile "$LINENO"; then :
16659 glibcxx_cv_c99_math_cxx98=yes
16660 else
16661 glibcxx_cv_c99_math_cxx98=no
16663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 else
16665 if test x$gcc_no_link = xyes; then
16666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #include <math.h>
16671 volatile double d1, d2;
16672 volatile int i;
16674 main ()
16676 i = fpclassify(d1);
16677 i = isfinite(d1);
16678 i = isinf(d1);
16679 i = isnan(d1);
16680 i = isnormal(d1);
16681 i = signbit(d1);
16682 i = isgreater(d1, d2);
16683 i = isgreaterequal(d1, d2);
16684 i = isless(d1, d2);
16685 i = islessequal(d1, d2);
16686 i = islessgreater(d1, d2);
16687 i = islessgreater(d1, d2);
16688 i = isunordered(d1, d2);
16691 return 0;
16693 _ACEOF
16694 if ac_fn_cxx_try_link "$LINENO"; then :
16695 glibcxx_cv_c99_math_cxx98=yes
16696 else
16697 glibcxx_cv_c99_math_cxx98=no
16699 rm -f core conftest.err conftest.$ac_objext \
16700 conftest$ac_exeext conftest.$ac_ext
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16706 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16707 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16709 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16713 # Check for the existence of <complex.h> complex math functions.
16714 # This is necessary even though libstdc++ uses the builtin versions
16715 # of these functions, because if the builtin cannot be used, a reference
16716 # to the library function is emitted.
16717 for ac_header in tgmath.h
16718 do :
16719 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16720 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define HAVE_TGMATH_H 1
16723 _ACEOF
16724 ac_has_tgmath_h=yes
16725 else
16726 ac_has_tgmath_h=no
16729 done
16731 for ac_header in complex.h
16732 do :
16733 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16734 if test "x$ac_cv_header_complex_h" = x""yes; then :
16735 cat >>confdefs.h <<_ACEOF
16736 #define HAVE_COMPLEX_H 1
16737 _ACEOF
16738 ac_has_complex_h=yes
16739 else
16740 ac_has_complex_h=no
16743 done
16745 if test x"$ac_has_complex_h" = x"yes"; then
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16747 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16748 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16749 $as_echo_n "(cached) " >&6
16750 else
16752 if test x$gcc_no_link = xyes; then
16753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16755 #include <complex.h>
16756 typedef __complex__ float float_type;
16757 typedef __complex__ double double_type;
16758 typedef __complex__ long double ld_type;
16759 volatile float_type tmpf;
16760 volatile double_type tmpd;
16761 volatile ld_type tmpld;
16762 volatile float f;
16763 volatile double d;
16764 volatile long double ld;
16766 main ()
16768 f = cabsf(tmpf);
16769 f = cargf(tmpf);
16770 tmpf = ccosf(tmpf);
16771 tmpf = ccoshf(tmpf);
16772 tmpf = cexpf(tmpf);
16773 tmpf = clogf(tmpf);
16774 tmpf = csinf(tmpf);
16775 tmpf = csinhf(tmpf);
16776 tmpf = csqrtf(tmpf);
16777 tmpf = ctanf(tmpf);
16778 tmpf = ctanhf(tmpf);
16779 tmpf = cpowf(tmpf, tmpf);
16780 tmpf = cprojf(tmpf);
16781 d = cabs(tmpd);
16782 d = carg(tmpd);
16783 tmpd = ccos(tmpd);
16784 tmpd = ccosh(tmpd);
16785 tmpd = cexp(tmpd);
16786 tmpd = clog(tmpd);
16787 tmpd = csin(tmpd);
16788 tmpd = csinh(tmpd);
16789 tmpd = csqrt(tmpd);
16790 tmpd = ctan(tmpd);
16791 tmpd = ctanh(tmpd);
16792 tmpd = cpow(tmpd, tmpd);
16793 tmpd = cproj(tmpd);
16794 ld = cabsl(tmpld);
16795 ld = cargl(tmpld);
16796 tmpld = ccosl(tmpld);
16797 tmpld = ccoshl(tmpld);
16798 tmpld = cexpl(tmpld);
16799 tmpld = clogl(tmpld);
16800 tmpld = csinl(tmpld);
16801 tmpld = csinhl(tmpld);
16802 tmpld = csqrtl(tmpld);
16803 tmpld = ctanl(tmpld);
16804 tmpld = ctanhl(tmpld);
16805 tmpld = cpowl(tmpld, tmpld);
16806 tmpld = cprojl(tmpld);
16809 return 0;
16811 _ACEOF
16812 if ac_fn_cxx_try_compile "$LINENO"; then :
16813 glibcxx_cv_c99_complex_cxx98=yes
16814 else
16815 glibcxx_cv_c99_complex_cxx98=no
16817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16818 else
16819 if test x$gcc_no_link = xyes; then
16820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824 #include <complex.h>
16825 typedef __complex__ float float_type;
16826 typedef __complex__ double double_type;
16827 typedef __complex__ long double ld_type;
16828 volatile float_type tmpf;
16829 volatile double_type tmpd;
16830 volatile ld_type tmpld;
16831 volatile float f;
16832 volatile double d;
16833 volatile long double ld;
16835 main ()
16837 f = cabsf(tmpf);
16838 f = cargf(tmpf);
16839 tmpf = ccosf(tmpf);
16840 tmpf = ccoshf(tmpf);
16841 tmpf = cexpf(tmpf);
16842 tmpf = clogf(tmpf);
16843 tmpf = csinf(tmpf);
16844 tmpf = csinhf(tmpf);
16845 tmpf = csqrtf(tmpf);
16846 tmpf = ctanf(tmpf);
16847 tmpf = ctanhf(tmpf);
16848 tmpf = cpowf(tmpf, tmpf);
16849 tmpf = cprojf(tmpf);
16850 d = cabs(tmpd);
16851 d = carg(tmpd);
16852 tmpd = ccos(tmpd);
16853 tmpd = ccosh(tmpd);
16854 tmpd = cexp(tmpd);
16855 tmpd = clog(tmpd);
16856 tmpd = csin(tmpd);
16857 tmpd = csinh(tmpd);
16858 tmpd = csqrt(tmpd);
16859 tmpd = ctan(tmpd);
16860 tmpd = ctanh(tmpd);
16861 tmpd = cpow(tmpd, tmpd);
16862 tmpd = cproj(tmpd);
16863 ld = cabsl(tmpld);
16864 ld = cargl(tmpld);
16865 tmpld = ccosl(tmpld);
16866 tmpld = ccoshl(tmpld);
16867 tmpld = cexpl(tmpld);
16868 tmpld = clogl(tmpld);
16869 tmpld = csinl(tmpld);
16870 tmpld = csinhl(tmpld);
16871 tmpld = csqrtl(tmpld);
16872 tmpld = ctanl(tmpld);
16873 tmpld = ctanhl(tmpld);
16874 tmpld = cpowl(tmpld, tmpld);
16875 tmpld = cprojl(tmpld);
16878 return 0;
16880 _ACEOF
16881 if ac_fn_cxx_try_link "$LINENO"; then :
16882 glibcxx_cv_c99_complex_cxx98=yes
16883 else
16884 glibcxx_cv_c99_complex_cxx98=no
16886 rm -f core conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16894 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16895 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16897 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16901 # Check for the existence in <stdio.h> of vscanf, et. al.
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16903 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16904 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16908 if test x$gcc_no_link = xyes; then
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 #include <stdio.h>
16912 #include <stdarg.h>
16913 void foo(char* fmt, ...)
16915 va_list args; va_start(args, fmt);
16916 vfscanf(stderr, "%i", args);
16917 vscanf("%i", args);
16918 vsnprintf(fmt, 0, "%i", args);
16919 vsscanf(fmt, "%i", args);
16920 snprintf(fmt, 0, "%i");
16923 main ()
16927 return 0;
16929 _ACEOF
16930 if ac_fn_cxx_try_compile "$LINENO"; then :
16931 glibcxx_cv_c99_stdio_cxx98=yes
16932 else
16933 glibcxx_cv_c99_stdio_cxx98=no
16935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16936 else
16937 if test x$gcc_no_link = xyes; then
16938 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16941 /* end confdefs.h. */
16942 #include <stdio.h>
16943 #include <stdarg.h>
16944 void foo(char* fmt, ...)
16946 va_list args; va_start(args, fmt);
16947 vfscanf(stderr, "%i", args);
16948 vscanf("%i", args);
16949 vsnprintf(fmt, 0, "%i", args);
16950 vsscanf(fmt, "%i", args);
16951 snprintf(fmt, 0, "%i");
16954 main ()
16958 return 0;
16960 _ACEOF
16961 if ac_fn_cxx_try_link "$LINENO"; then :
16962 glibcxx_cv_c99_stdio_cxx98=yes
16963 else
16964 glibcxx_cv_c99_stdio_cxx98=no
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16973 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16974 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16976 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16980 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16982 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16983 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16984 $as_echo_n "(cached) " >&6
16985 else
16987 if test x$gcc_no_link = xyes; then
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <stdlib.h>
16991 volatile float f;
16992 volatile long double ld;
16993 volatile unsigned long long ll;
16994 lldiv_t mydivt;
16996 main ()
16998 char* tmp;
16999 f = strtof("gnu", &tmp);
17000 ld = strtold("gnu", &tmp);
17001 ll = strtoll("gnu", &tmp, 10);
17002 ll = strtoull("gnu", &tmp, 10);
17003 ll = llabs(10);
17004 mydivt = lldiv(10,1);
17005 ll = mydivt.quot;
17006 ll = mydivt.rem;
17007 ll = atoll("10");
17008 _Exit(0);
17011 return 0;
17013 _ACEOF
17014 if ac_fn_cxx_try_compile "$LINENO"; then :
17015 glibcxx_cv_c99_stdlib_cxx98=yes
17016 else
17017 glibcxx_cv_c99_stdlib_cxx98=no
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020 else
17021 if test x$gcc_no_link = xyes; then
17022 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025 /* end confdefs.h. */
17026 #include <stdlib.h>
17027 volatile float f;
17028 volatile long double ld;
17029 volatile unsigned long long ll;
17030 lldiv_t mydivt;
17032 main ()
17034 char* tmp;
17035 f = strtof("gnu", &tmp);
17036 ld = strtold("gnu", &tmp);
17037 ll = strtoll("gnu", &tmp, 10);
17038 ll = strtoull("gnu", &tmp, 10);
17039 ll = llabs(10);
17040 mydivt = lldiv(10,1);
17041 ll = mydivt.quot;
17042 ll = mydivt.rem;
17043 ll = atoll("10");
17044 _Exit(0);
17047 return 0;
17049 _ACEOF
17050 if ac_fn_cxx_try_link "$LINENO"; then :
17051 glibcxx_cv_c99_stdlib_cxx98=yes
17052 else
17053 glibcxx_cv_c99_stdlib_cxx98=no
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17062 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17063 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17065 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17069 # Check for the existence in <wchar.h> of wcstold, etc.
17070 if test x"$ac_has_wchar_h" = xyes &&
17071 test x"$ac_has_wctype_h" = xyes; then
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17073 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17074 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17075 $as_echo_n "(cached) " >&6
17076 else
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 #include <wchar.h>
17081 namespace test
17083 using ::wcstold;
17084 using ::wcstoll;
17085 using ::wcstoull;
17089 main ()
17093 return 0;
17095 _ACEOF
17096 if ac_fn_cxx_try_compile "$LINENO"; then :
17097 glibcxx_cv_c99_wchar_cxx98=yes
17098 else
17099 glibcxx_cv_c99_wchar_cxx98=no
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17106 # Checks for wide character functions that may not be present.
17107 # Injection of these is wrapped with guard macros.
17108 # NB: only put functions here, instead of immediately above, if
17109 # absolutely necessary.
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 #include <wchar.h>
17113 namespace test { using ::vfwscanf; }
17115 main ()
17119 return 0;
17121 _ACEOF
17122 if ac_fn_cxx_try_compile "$LINENO"; then :
17124 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <wchar.h>
17132 namespace test { using ::vswscanf; }
17134 main ()
17138 return 0;
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17143 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #include <wchar.h>
17151 namespace test { using ::vwscanf; }
17153 main ()
17157 return 0;
17159 _ACEOF
17160 if ac_fn_cxx_try_compile "$LINENO"; then :
17162 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h. */
17169 #include <wchar.h>
17170 namespace test { using ::wcstof; }
17172 main ()
17176 return 0;
17178 _ACEOF
17179 if ac_fn_cxx_try_compile "$LINENO"; then :
17181 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 #include <wctype.h>
17190 main ()
17192 wint_t t; int i = iswblank(t);
17194 return 0;
17196 _ACEOF
17197 if ac_fn_cxx_try_compile "$LINENO"; then :
17199 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17205 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17206 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17208 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17213 # Option parsed, now set things appropriately.
17214 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17215 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17216 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17217 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17218 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17219 enable_c99=no;
17220 else
17222 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17226 gcc_no_link="$ac_save_gcc_no_link"
17227 LIBS="$ac_save_LIBS"
17228 CXXFLAGS="$ac_save_CXXFLAGS"
17229 ac_ext=c
17230 ac_cpp='$CPP $CPPFLAGS'
17231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17237 ac_ext=cpp
17238 ac_cpp='$CXXCPP $CPPFLAGS'
17239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17244 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17245 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17246 ac_save_CXXFLAGS="$CXXFLAGS"
17247 CXXFLAGS="$CXXFLAGS -std=c++11"
17248 ac_save_LIBS="$LIBS"
17249 ac_save_gcc_no_link="$gcc_no_link"
17251 if test x$gcc_no_link != xyes; then
17252 # Use -fno-exceptions to that the C driver can link these tests without
17253 # hitting undefined references to personality routines.
17254 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17256 $as_echo_n "checking for sin in -lm... " >&6; }
17257 if test "${ac_cv_lib_m_sin+set}" = set; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_check_lib_save_LIBS=$LIBS
17261 LIBS="-lm $LIBS"
17262 if test x$gcc_no_link = xyes; then
17263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17268 /* Override any GCC internal prototype to avoid an error.
17269 Use char because int might match the return type of a GCC
17270 builtin and then its argument prototype would still apply. */
17271 #ifdef __cplusplus
17272 extern "C"
17273 #endif
17274 char sin ();
17276 main ()
17278 return sin ();
17280 return 0;
17282 _ACEOF
17283 if ac_fn_cxx_try_link "$LINENO"; then :
17284 ac_cv_lib_m_sin=yes
17285 else
17286 ac_cv_lib_m_sin=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 LIBS=$ac_check_lib_save_LIBS
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17293 $as_echo "$ac_cv_lib_m_sin" >&6; }
17294 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17295 LIBS="$LIBS -lm"
17296 else
17298 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17299 gcc_no_link=yes
17305 # Check for the existence of <math.h> functions used if C99 is enabled.
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17307 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17308 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17312 if test x$gcc_no_link = xyes; then
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 #include <math.h>
17316 volatile double d1, d2;
17317 volatile int i;
17319 main ()
17321 i = fpclassify(d1);
17322 i = isfinite(d1);
17323 i = isinf(d1);
17324 i = isnan(d1);
17325 i = isnormal(d1);
17326 i = signbit(d1);
17327 i = isgreater(d1, d2);
17328 i = isgreaterequal(d1, d2);
17329 i = isless(d1, d2);
17330 i = islessequal(d1, d2);
17331 i = islessgreater(d1, d2);
17332 i = islessgreater(d1, d2);
17333 i = isunordered(d1, d2);
17336 return 0;
17338 _ACEOF
17339 if ac_fn_cxx_try_compile "$LINENO"; then :
17340 glibcxx_cv_c99_math_cxx11=yes
17341 else
17342 glibcxx_cv_c99_math_cxx11=no
17344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17345 else
17346 if test x$gcc_no_link = xyes; then
17347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #include <math.h>
17352 volatile double d1, d2;
17353 volatile int i;
17355 main ()
17357 i = fpclassify(d1);
17358 i = isfinite(d1);
17359 i = isinf(d1);
17360 i = isnan(d1);
17361 i = isnormal(d1);
17362 i = signbit(d1);
17363 i = isgreater(d1, d2);
17364 i = isgreaterequal(d1, d2);
17365 i = isless(d1, d2);
17366 i = islessequal(d1, d2);
17367 i = islessgreater(d1, d2);
17368 i = islessgreater(d1, d2);
17369 i = isunordered(d1, d2);
17372 return 0;
17374 _ACEOF
17375 if ac_fn_cxx_try_link "$LINENO"; then :
17376 glibcxx_cv_c99_math_cxx11=yes
17377 else
17378 glibcxx_cv_c99_math_cxx11=no
17380 rm -f core conftest.err conftest.$ac_objext \
17381 conftest$ac_exeext conftest.$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17387 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17388 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17390 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17394 # Check for the existence of <complex.h> complex math functions.
17395 # This is necessary even though libstdc++ uses the builtin versions
17396 # of these functions, because if the builtin cannot be used, a reference
17397 # to the library function is emitted.
17398 for ac_header in tgmath.h
17399 do :
17400 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17401 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17402 cat >>confdefs.h <<_ACEOF
17403 #define HAVE_TGMATH_H 1
17404 _ACEOF
17405 ac_has_tgmath_h=yes
17406 else
17407 ac_has_tgmath_h=no
17410 done
17412 for ac_header in complex.h
17413 do :
17414 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17415 if test "x$ac_cv_header_complex_h" = x""yes; then :
17416 cat >>confdefs.h <<_ACEOF
17417 #define HAVE_COMPLEX_H 1
17418 _ACEOF
17419 ac_has_complex_h=yes
17420 else
17421 ac_has_complex_h=no
17424 done
17426 if test x"$ac_has_complex_h" = x"yes"; then
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17428 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17429 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17430 $as_echo_n "(cached) " >&6
17431 else
17433 if test x$gcc_no_link = xyes; then
17434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435 /* end confdefs.h. */
17436 #include <complex.h>
17437 typedef __complex__ float float_type;
17438 typedef __complex__ double double_type;
17439 typedef __complex__ long double ld_type;
17440 volatile float_type tmpf;
17441 volatile double_type tmpd;
17442 volatile ld_type tmpld;
17443 volatile float f;
17444 volatile double d;
17445 volatile long double ld;
17447 main ()
17449 f = cabsf(tmpf);
17450 f = cargf(tmpf);
17451 tmpf = ccosf(tmpf);
17452 tmpf = ccoshf(tmpf);
17453 tmpf = cexpf(tmpf);
17454 tmpf = clogf(tmpf);
17455 tmpf = csinf(tmpf);
17456 tmpf = csinhf(tmpf);
17457 tmpf = csqrtf(tmpf);
17458 tmpf = ctanf(tmpf);
17459 tmpf = ctanhf(tmpf);
17460 tmpf = cpowf(tmpf, tmpf);
17461 tmpf = cprojf(tmpf);
17462 d = cabs(tmpd);
17463 d = carg(tmpd);
17464 tmpd = ccos(tmpd);
17465 tmpd = ccosh(tmpd);
17466 tmpd = cexp(tmpd);
17467 tmpd = clog(tmpd);
17468 tmpd = csin(tmpd);
17469 tmpd = csinh(tmpd);
17470 tmpd = csqrt(tmpd);
17471 tmpd = ctan(tmpd);
17472 tmpd = ctanh(tmpd);
17473 tmpd = cpow(tmpd, tmpd);
17474 tmpd = cproj(tmpd);
17475 ld = cabsl(tmpld);
17476 ld = cargl(tmpld);
17477 tmpld = ccosl(tmpld);
17478 tmpld = ccoshl(tmpld);
17479 tmpld = cexpl(tmpld);
17480 tmpld = clogl(tmpld);
17481 tmpld = csinl(tmpld);
17482 tmpld = csinhl(tmpld);
17483 tmpld = csqrtl(tmpld);
17484 tmpld = ctanl(tmpld);
17485 tmpld = ctanhl(tmpld);
17486 tmpld = cpowl(tmpld, tmpld);
17487 tmpld = cprojl(tmpld);
17490 return 0;
17492 _ACEOF
17493 if ac_fn_cxx_try_compile "$LINENO"; then :
17494 glibcxx_cv_c99_complex_cxx11=yes
17495 else
17496 glibcxx_cv_c99_complex_cxx11=no
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17499 else
17500 if test x$gcc_no_link = xyes; then
17501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 #include <complex.h>
17506 typedef __complex__ float float_type;
17507 typedef __complex__ double double_type;
17508 typedef __complex__ long double ld_type;
17509 volatile float_type tmpf;
17510 volatile double_type tmpd;
17511 volatile ld_type tmpld;
17512 volatile float f;
17513 volatile double d;
17514 volatile long double ld;
17516 main ()
17518 f = cabsf(tmpf);
17519 f = cargf(tmpf);
17520 tmpf = ccosf(tmpf);
17521 tmpf = ccoshf(tmpf);
17522 tmpf = cexpf(tmpf);
17523 tmpf = clogf(tmpf);
17524 tmpf = csinf(tmpf);
17525 tmpf = csinhf(tmpf);
17526 tmpf = csqrtf(tmpf);
17527 tmpf = ctanf(tmpf);
17528 tmpf = ctanhf(tmpf);
17529 tmpf = cpowf(tmpf, tmpf);
17530 tmpf = cprojf(tmpf);
17531 d = cabs(tmpd);
17532 d = carg(tmpd);
17533 tmpd = ccos(tmpd);
17534 tmpd = ccosh(tmpd);
17535 tmpd = cexp(tmpd);
17536 tmpd = clog(tmpd);
17537 tmpd = csin(tmpd);
17538 tmpd = csinh(tmpd);
17539 tmpd = csqrt(tmpd);
17540 tmpd = ctan(tmpd);
17541 tmpd = ctanh(tmpd);
17542 tmpd = cpow(tmpd, tmpd);
17543 tmpd = cproj(tmpd);
17544 ld = cabsl(tmpld);
17545 ld = cargl(tmpld);
17546 tmpld = ccosl(tmpld);
17547 tmpld = ccoshl(tmpld);
17548 tmpld = cexpl(tmpld);
17549 tmpld = clogl(tmpld);
17550 tmpld = csinl(tmpld);
17551 tmpld = csinhl(tmpld);
17552 tmpld = csqrtl(tmpld);
17553 tmpld = ctanl(tmpld);
17554 tmpld = ctanhl(tmpld);
17555 tmpld = cpowl(tmpld, tmpld);
17556 tmpld = cprojl(tmpld);
17559 return 0;
17561 _ACEOF
17562 if ac_fn_cxx_try_link "$LINENO"; then :
17563 glibcxx_cv_c99_complex_cxx11=yes
17564 else
17565 glibcxx_cv_c99_complex_cxx11=no
17567 rm -f core conftest.err conftest.$ac_objext \
17568 conftest$ac_exeext conftest.$ac_ext
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17575 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17576 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17578 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17582 # Check for the existence in <stdio.h> of vscanf, et. al.
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17584 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17585 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17589 if test x$gcc_no_link = xyes; then
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <stdio.h>
17593 #include <stdarg.h>
17594 void foo(char* fmt, ...)
17596 va_list args; va_start(args, fmt);
17597 vfscanf(stderr, "%i", args);
17598 vscanf("%i", args);
17599 vsnprintf(fmt, 0, "%i", args);
17600 vsscanf(fmt, "%i", args);
17601 snprintf(fmt, 0, "%i");
17604 main ()
17608 return 0;
17610 _ACEOF
17611 if ac_fn_cxx_try_compile "$LINENO"; then :
17612 glibcxx_cv_c99_stdio_cxx11=yes
17613 else
17614 glibcxx_cv_c99_stdio_cxx11=no
17616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 else
17618 if test x$gcc_no_link = xyes; then
17619 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h. */
17623 #include <stdio.h>
17624 #include <stdarg.h>
17625 void foo(char* fmt, ...)
17627 va_list args; va_start(args, fmt);
17628 vfscanf(stderr, "%i", args);
17629 vscanf("%i", args);
17630 vsnprintf(fmt, 0, "%i", args);
17631 vsscanf(fmt, "%i", args);
17632 snprintf(fmt, 0, "%i");
17635 main ()
17639 return 0;
17641 _ACEOF
17642 if ac_fn_cxx_try_link "$LINENO"; then :
17643 glibcxx_cv_c99_stdio_cxx11=yes
17644 else
17645 glibcxx_cv_c99_stdio_cxx11=no
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17654 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17655 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17657 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17661 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17663 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17664 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17665 $as_echo_n "(cached) " >&6
17666 else
17668 if test x$gcc_no_link = xyes; then
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h. */
17671 #include <stdlib.h>
17672 volatile float f;
17673 volatile long double ld;
17674 volatile unsigned long long ll;
17675 lldiv_t mydivt;
17677 main ()
17679 char* tmp;
17680 f = strtof("gnu", &tmp);
17681 ld = strtold("gnu", &tmp);
17682 ll = strtoll("gnu", &tmp, 10);
17683 ll = strtoull("gnu", &tmp, 10);
17684 ll = llabs(10);
17685 mydivt = lldiv(10,1);
17686 ll = mydivt.quot;
17687 ll = mydivt.rem;
17688 ll = atoll("10");
17689 _Exit(0);
17692 return 0;
17694 _ACEOF
17695 if ac_fn_cxx_try_compile "$LINENO"; then :
17696 glibcxx_cv_c99_stdlib_cxx11=yes
17697 else
17698 glibcxx_cv_c99_stdlib_cxx11=no
17700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17701 else
17702 if test x$gcc_no_link = xyes; then
17703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <stdlib.h>
17708 volatile float f;
17709 volatile long double ld;
17710 volatile unsigned long long ll;
17711 lldiv_t mydivt;
17713 main ()
17715 char* tmp;
17716 f = strtof("gnu", &tmp);
17717 ld = strtold("gnu", &tmp);
17718 ll = strtoll("gnu", &tmp, 10);
17719 ll = strtoull("gnu", &tmp, 10);
17720 ll = llabs(10);
17721 mydivt = lldiv(10,1);
17722 ll = mydivt.quot;
17723 ll = mydivt.rem;
17724 ll = atoll("10");
17725 _Exit(0);
17728 return 0;
17730 _ACEOF
17731 if ac_fn_cxx_try_link "$LINENO"; then :
17732 glibcxx_cv_c99_stdlib_cxx11=yes
17733 else
17734 glibcxx_cv_c99_stdlib_cxx11=no
17736 rm -f core conftest.err conftest.$ac_objext \
17737 conftest$ac_exeext conftest.$ac_ext
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17743 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17744 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17746 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17750 # Check for the existence in <wchar.h> of wcstold, etc.
17751 if test x"$ac_has_wchar_h" = xyes &&
17752 test x"$ac_has_wctype_h" = xyes; then
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17754 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17755 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17757 else
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17761 #include <wchar.h>
17762 namespace test
17764 using ::wcstold;
17765 using ::wcstoll;
17766 using ::wcstoull;
17770 main ()
17774 return 0;
17776 _ACEOF
17777 if ac_fn_cxx_try_compile "$LINENO"; then :
17778 glibcxx_cv_c99_wchar_cxx11=yes
17779 else
17780 glibcxx_cv_c99_wchar_cxx11=no
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787 # Checks for wide character functions that may not be present.
17788 # Injection of these is wrapped with guard macros.
17789 # NB: only put functions here, instead of immediately above, if
17790 # absolutely necessary.
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17793 #include <wchar.h>
17794 namespace test { using ::vfwscanf; }
17796 main ()
17800 return 0;
17802 _ACEOF
17803 if ac_fn_cxx_try_compile "$LINENO"; then :
17805 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 #include <wchar.h>
17813 namespace test { using ::vswscanf; }
17815 main ()
17819 return 0;
17821 _ACEOF
17822 if ac_fn_cxx_try_compile "$LINENO"; then :
17824 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 #include <wchar.h>
17832 namespace test { using ::vwscanf; }
17834 main ()
17838 return 0;
17840 _ACEOF
17841 if ac_fn_cxx_try_compile "$LINENO"; then :
17843 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 #include <wchar.h>
17851 namespace test { using ::wcstof; }
17853 main ()
17857 return 0;
17859 _ACEOF
17860 if ac_fn_cxx_try_compile "$LINENO"; then :
17862 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17869 #include <wctype.h>
17871 main ()
17873 wint_t t; int i = iswblank(t);
17875 return 0;
17877 _ACEOF
17878 if ac_fn_cxx_try_compile "$LINENO"; then :
17880 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17886 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17887 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17889 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17894 gcc_no_link="$ac_save_gcc_no_link"
17895 LIBS="$ac_save_LIBS"
17896 CXXFLAGS="$ac_save_CXXFLAGS"
17897 ac_ext=c
17898 ac_cpp='$CPP $CPPFLAGS'
17899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17906 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17908 $as_echo "$enable_c99" >&6; }
17911 # Check whether --enable-concept-checks was given.
17912 if test "${enable_concept_checks+set}" = set; then :
17913 enableval=$enable_concept_checks;
17914 case "$enableval" in
17915 yes|no) ;;
17916 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17917 esac
17919 else
17920 enable_concept_checks=no
17924 if test $enable_concept_checks = yes; then
17926 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17931 # Check whether --enable-libstdcxx-debug-flags was given.
17932 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17933 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17934 xno | x) enable_libstdcxx_debug_flags= ;;
17935 x-*) ;;
17936 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17937 esac
17938 else
17939 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17944 # Option parsed, now set things appropriately
17945 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17949 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17953 $as_echo_n "checking for additional debug build... " >&6; }
17954 # Check whether --enable-libstdcxx-debug was given.
17955 if test "${enable_libstdcxx_debug+set}" = set; then :
17956 enableval=$enable_libstdcxx_debug;
17957 case "$enableval" in
17958 yes|no) ;;
17959 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17960 esac
17962 else
17963 enable_libstdcxx_debug=no
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17968 $as_echo "$enable_libstdcxx_debug" >&6; }
17973 enable_parallel=no;
17975 # See if configured libgomp/omp.h exists. (libgomp may be in
17976 # noconfigdirs but not explicitly disabled.)
17977 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17978 enable_parallel=yes;
17979 else
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17981 $as_echo "$as_me: target-libgomp not built" >&6;}
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17985 $as_echo_n "checking for parallel mode support... " >&6; }
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17987 $as_echo "$enable_parallel" >&6; }
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17990 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17991 # Check whether --enable-cxx-flags was given.
17992 if test "${enable_cxx_flags+set}" = set; then :
17993 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17994 xno | x) enable_cxx_flags= ;;
17995 x-*) ;;
17996 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17997 esac
17998 else
17999 enable_cxx_flags=
18004 # Run through flags (either default or command-line) and set anything
18005 # extra (e.g., #defines) that must accompany particular g++ options.
18006 if test -n "$enable_cxx_flags"; then
18007 for f in $enable_cxx_flags; do
18008 case "$f" in
18009 -fhonor-std) ;;
18010 -*) ;;
18011 *) # and we're trying to pass /what/ exactly?
18012 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18013 esac
18014 done
18017 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18019 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18023 # Check whether --enable-fully-dynamic-string was given.
18024 if test "${enable_fully_dynamic_string+set}" = set; then :
18025 enableval=$enable_fully_dynamic_string;
18026 case "$enableval" in
18027 yes|no) ;;
18028 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18029 esac
18031 else
18032 enable_fully_dynamic_string=no
18036 if test $enable_fully_dynamic_string = yes; then
18037 enable_fully_dynamic_string_def=1
18038 else
18039 enable_fully_dynamic_string_def=0
18042 cat >>confdefs.h <<_ACEOF
18043 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18044 _ACEOF
18049 # Check whether --enable-extern-template was given.
18050 if test "${enable_extern_template+set}" = set; then :
18051 enableval=$enable_extern_template;
18052 case "$enableval" in
18053 yes|no) ;;
18054 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18055 esac
18057 else
18058 enable_extern_template=yes
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18064 $as_echo_n "checking for extern template support... " >&6; }
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18066 $as_echo "$enable_extern_template" >&6; }
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18073 $as_echo_n "checking for custom python install directory... " >&6; }
18075 # Check whether --with-python-dir was given.
18076 if test "${with_python_dir+set}" = set; then :
18077 withval=$with_python_dir; with_python_dir=$withval
18078 else
18079 with_python_dir="no"
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18083 $as_echo "${with_python_dir}" >&6; }
18085 # Needed for installing Python modules during make install.
18086 python_mod_dir="${with_python_dir}"
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18092 $as_echo_n "checking for -Werror... " >&6; }
18093 # Check whether --enable-werror was given.
18094 if test "${enable_werror+set}" = set; then :
18095 enableval=$enable_werror;
18096 case "$enableval" in
18097 yes|no) ;;
18098 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18099 esac
18101 else
18102 enable_werror=yes
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18107 $as_echo "$enable_werror" >&6; }
18112 # Check whether --enable-vtable-verify was given.
18113 if test "${enable_vtable_verify+set}" = set; then :
18114 enableval=$enable_vtable_verify;
18115 case "$enableval" in
18116 yes|no) ;;
18117 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18118 esac
18120 else
18121 enable_vtable_verify=no
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18127 $as_echo_n "checking for vtable verify support... " >&6; }
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18129 $as_echo "$enable_vtable_verify" >&6; }
18131 vtv_cygmin=no
18132 if test $enable_vtable_verify = yes; then
18133 case ${target_os} in
18134 cygwin*|mingw32*)
18135 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18136 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18137 vtv_cygmin=yes
18139 darwin*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18143 solaris2*)
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18148 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18149 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18151 esac
18152 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18153 else
18154 VTV_CXXFLAGS=
18155 VTV_PCH_CXXFLAGS=
18156 VTV_CXXLINKFLAGS=
18162 if test x$vtv_cygmin = xyes; then
18163 VTV_CYGMIN_TRUE=
18164 VTV_CYGMIN_FALSE='#'
18165 else
18166 VTV_CYGMIN_TRUE='#'
18167 VTV_CYGMIN_FALSE=
18173 # Checks for operating systems support that doesn't require linking.
18177 ac_ext=cpp
18178 ac_cpp='$CXXCPP $CPPFLAGS'
18179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18183 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18184 # and we don't need a declaration for C++14 anyway.
18185 ac_save_CXXFLAGS="$CXXFLAGS"
18186 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18189 $as_echo_n "checking for gets declaration... " >&6; }
18190 if test "${glibcxx_cv_gets+set}" = set; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18196 #include <stdio.h>
18197 namespace test
18199 using ::gets;
18202 _ACEOF
18203 if ac_fn_cxx_try_compile "$LINENO"; then :
18204 glibcxx_cv_gets=yes
18205 else
18206 glibcxx_cv_gets=no
18209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18213 if test $glibcxx_cv_gets = yes; then
18215 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18219 $as_echo "$glibcxx_cv_gets" >&6; }
18221 CXXFLAGS="$ac_save_CXXFLAGS"
18222 ac_ext=c
18223 ac_cpp='$CPP $CPPFLAGS'
18224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18232 ac_ext=cpp
18233 ac_cpp='$CXXCPP $CPPFLAGS'
18234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18238 ac_save_CXXFLAGS="$CXXFLAGS"
18239 CXXFLAGS="$CXXFLAGS -std=c++11"
18241 case "$host" in
18242 *-*-solaris2.*)
18243 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18244 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18246 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18247 if test "${glibcxx_cv_math11_fp_overload+set}" = set; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18253 #include <math.h>
18254 #undef isfinite
18255 namespace std {
18256 inline bool isfinite(float __x)
18257 { return __builtin_isfinite(__x); }
18260 _ACEOF
18261 if ac_fn_cxx_try_compile "$LINENO"; then :
18262 glibcxx_cv_math11_fp_overload=no
18263 else
18264 glibcxx_cv_math11_fp_overload=yes
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18271 # autoheader cannot handle indented templates.
18274 if test $glibcxx_cv_math11_fp_overload = yes; then
18275 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18279 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18281 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18282 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18284 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18285 if test "${glibcxx_cv_math11_int_overload+set}" = set; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18291 #include <math.h>
18292 namespace std {
18293 template<typename _Tp>
18294 struct __is_integer;
18295 template<>
18296 struct __is_integer<int>
18298 enum { __value = 1 };
18301 namespace __gnu_cxx {
18302 template<bool, typename>
18303 struct __enable_if;
18304 template<typename _Tp>
18305 struct __enable_if<true, _Tp>
18306 { typedef _Tp __type; };
18308 namespace std {
18309 template<typename _Tp>
18310 constexpr typename __gnu_cxx::__enable_if
18311 <__is_integer<_Tp>::__value, double>::__type
18312 log2(_Tp __x)
18313 { return __builtin_log2(__x); }
18316 main (void)
18318 int i = 1000;
18319 return std::log2(i);
18322 _ACEOF
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18324 glibcxx_cv_math11_int_overload=no
18325 else
18326 glibcxx_cv_math11_int_overload=yes
18329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 # autoheader cannot handle indented templates.
18336 if test $glibcxx_cv_math11_int_overload = yes; then
18337 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18341 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18344 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18345 # functions (instead of or as well as the C99 generic macros) then we
18346 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18347 # and must use the ones from <math.h> instead.
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18349 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18350 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18351 $as_echo_n "(cached) " >&6
18352 else
18354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18355 /* end confdefs.h. */
18356 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18357 #include <math.h>
18358 #undef isinf
18359 namespace std {
18360 using ::isinf;
18361 bool isinf(float);
18362 bool isinf(long double);
18364 using std::isinf;
18365 bool b = isinf(0.0);
18367 _ACEOF
18368 if ac_fn_cxx_try_compile "$LINENO"; then :
18369 glibcxx_cv_obsolete_isinf=yes
18370 else
18371 glibcxx_cv_obsolete_isinf=no
18374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18378 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18379 if test $glibcxx_cv_obsolete_isinf = yes; then
18381 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18386 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18387 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18388 $as_echo_n "(cached) " >&6
18389 else
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 #include <math.h>
18394 #undef isnan
18395 namespace std {
18396 using ::isnan;
18397 bool isnan(float);
18398 bool isnan(long double);
18400 using std::isnan;
18401 bool b = isnan(0.0);
18403 _ACEOF
18404 if ac_fn_cxx_try_compile "$LINENO"; then :
18405 glibcxx_cv_obsolete_isnan=yes
18406 else
18407 glibcxx_cv_obsolete_isnan=no
18410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18414 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18415 if test $glibcxx_cv_obsolete_isnan = yes; then
18417 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18421 esac
18423 CXXFLAGS="$ac_save_CXXFLAGS"
18424 ac_ext=c
18425 ac_cpp='$CPP $CPPFLAGS'
18426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18434 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18435 if test "${glibcxx_cv_system_error1+set}" = set; then :
18436 $as_echo_n "(cached) " >&6
18437 else
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <errno.h>
18443 main ()
18445 int i = EOWNERDEAD;
18447 return 0;
18449 _ACEOF
18450 if ac_fn_c_try_compile "$LINENO"; then :
18451 glibcxx_cv_system_error1=yes
18452 else
18453 glibcxx_cv_system_error1=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18460 $as_echo "$glibcxx_cv_system_error1" >&6; }
18461 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18463 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18467 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18468 if test "${glibcxx_cv_system_error2+set}" = set; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <errno.h>
18476 main ()
18478 int i = ENOTRECOVERABLE;
18480 return 0;
18482 _ACEOF
18483 if ac_fn_c_try_compile "$LINENO"; then :
18484 glibcxx_cv_system_error2=yes
18485 else
18486 glibcxx_cv_system_error2=no
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18493 $as_echo "$glibcxx_cv_system_error2" >&6; }
18494 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18496 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18500 $as_echo_n "checking for ENOLINK... " >&6; }
18501 if test "${glibcxx_cv_system_error3+set}" = set; then :
18502 $as_echo_n "(cached) " >&6
18503 else
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 #include <errno.h>
18509 main ()
18511 int i = ENOLINK;
18513 return 0;
18515 _ACEOF
18516 if ac_fn_c_try_compile "$LINENO"; then :
18517 glibcxx_cv_system_error3=yes
18518 else
18519 glibcxx_cv_system_error3=no
18521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18526 $as_echo "$glibcxx_cv_system_error3" >&6; }
18527 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18529 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18533 $as_echo_n "checking for EPROTO... " >&6; }
18534 if test "${glibcxx_cv_system_error4+set}" = set; then :
18535 $as_echo_n "(cached) " >&6
18536 else
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <errno.h>
18542 main ()
18544 int i = EPROTO;
18546 return 0;
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 glibcxx_cv_system_error4=yes
18551 else
18552 glibcxx_cv_system_error4=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18559 $as_echo "$glibcxx_cv_system_error4" >&6; }
18560 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18562 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18566 $as_echo_n "checking for ENODATA... " >&6; }
18567 if test "${glibcxx_cv_system_error5+set}" = set; then :
18568 $as_echo_n "(cached) " >&6
18569 else
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 #include <errno.h>
18575 main ()
18577 int i = ENODATA;
18579 return 0;
18581 _ACEOF
18582 if ac_fn_c_try_compile "$LINENO"; then :
18583 glibcxx_cv_system_error5=yes
18584 else
18585 glibcxx_cv_system_error5=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18592 $as_echo "$glibcxx_cv_system_error5" >&6; }
18593 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18595 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18599 $as_echo_n "checking for ENOSR... " >&6; }
18600 if test "${glibcxx_cv_system_error6+set}" = set; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 #include <errno.h>
18608 main ()
18610 int i = ENOSR;
18612 return 0;
18614 _ACEOF
18615 if ac_fn_c_try_compile "$LINENO"; then :
18616 glibcxx_cv_system_error6=yes
18617 else
18618 glibcxx_cv_system_error6=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18625 $as_echo "$glibcxx_cv_system_error6" >&6; }
18626 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18628 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18632 $as_echo_n "checking for ENOSTR... " >&6; }
18633 if test "${glibcxx_cv_system_error7+set}" = set; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 #include <errno.h>
18641 main ()
18643 int i = ENOSTR;
18645 return 0;
18647 _ACEOF
18648 if ac_fn_c_try_compile "$LINENO"; then :
18649 glibcxx_cv_system_error7=yes
18650 else
18651 glibcxx_cv_system_error7=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18658 $as_echo "$glibcxx_cv_system_error7" >&6; }
18659 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18661 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18665 $as_echo_n "checking for ETIME... " >&6; }
18666 if test "${glibcxx_cv_system_error8+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #include <errno.h>
18674 main ()
18676 int i = ETIME;
18678 return 0;
18680 _ACEOF
18681 if ac_fn_c_try_compile "$LINENO"; then :
18682 glibcxx_cv_system_error8=yes
18683 else
18684 glibcxx_cv_system_error8=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18691 $as_echo "$glibcxx_cv_system_error8" >&6; }
18692 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18694 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18698 $as_echo_n "checking for EBADMSG... " >&6; }
18699 if test "${glibcxx_cv_system_error9+set}" = set; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #include <errno.h>
18707 main ()
18709 int i = EBADMSG;
18711 return 0;
18713 _ACEOF
18714 if ac_fn_c_try_compile "$LINENO"; then :
18715 glibcxx_cv_system_error9=yes
18716 else
18717 glibcxx_cv_system_error9=no
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18724 $as_echo "$glibcxx_cv_system_error9" >&6; }
18725 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18727 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18731 $as_echo_n "checking for ECANCELED... " >&6; }
18732 if test "${glibcxx_cv_system_error10+set}" = set; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 #include <errno.h>
18740 main ()
18742 int i = ECANCELED;
18744 return 0;
18746 _ACEOF
18747 if ac_fn_c_try_compile "$LINENO"; then :
18748 glibcxx_cv_system_error10=yes
18749 else
18750 glibcxx_cv_system_error10=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18757 $as_echo "$glibcxx_cv_system_error10" >&6; }
18758 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18760 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18764 $as_echo_n "checking for EOVERFLOW... " >&6; }
18765 if test "${glibcxx_cv_system_error11+set}" = set; then :
18766 $as_echo_n "(cached) " >&6
18767 else
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #include <errno.h>
18773 main ()
18775 int i = EOVERFLOW;
18777 return 0;
18779 _ACEOF
18780 if ac_fn_c_try_compile "$LINENO"; then :
18781 glibcxx_cv_system_error11=yes
18782 else
18783 glibcxx_cv_system_error11=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18790 $as_echo "$glibcxx_cv_system_error11" >&6; }
18791 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18793 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18797 $as_echo_n "checking for ENOTSUP... " >&6; }
18798 if test "${glibcxx_cv_system_error12+set}" = set; then :
18799 $as_echo_n "(cached) " >&6
18800 else
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 #include <errno.h>
18806 main ()
18808 int i = ENOTSUP;
18810 return 0;
18812 _ACEOF
18813 if ac_fn_c_try_compile "$LINENO"; then :
18814 glibcxx_cv_system_error12=yes
18815 else
18816 glibcxx_cv_system_error12=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18823 $as_echo "$glibcxx_cv_system_error12" >&6; }
18824 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18826 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18830 $as_echo_n "checking for EIDRM... " >&6; }
18831 if test "${glibcxx_cv_system_error13+set}" = set; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 #include <errno.h>
18839 main ()
18841 int i = EIDRM;
18843 return 0;
18845 _ACEOF
18846 if ac_fn_c_try_compile "$LINENO"; then :
18847 glibcxx_cv_system_error13=yes
18848 else
18849 glibcxx_cv_system_error13=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18856 $as_echo "$glibcxx_cv_system_error13" >&6; }
18857 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18859 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18863 $as_echo_n "checking for ETXTBSY... " >&6; }
18864 if test "${glibcxx_cv_system_error14+set}" = set; then :
18865 $as_echo_n "(cached) " >&6
18866 else
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 #include <errno.h>
18872 main ()
18874 int i = ETXTBSY;
18876 return 0;
18878 _ACEOF
18879 if ac_fn_c_try_compile "$LINENO"; then :
18880 glibcxx_cv_system_error14=yes
18881 else
18882 glibcxx_cv_system_error14=no
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18889 $as_echo "$glibcxx_cv_system_error14" >&6; }
18890 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18892 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18896 $as_echo_n "checking for ECHILD... " >&6; }
18897 if test "${glibcxx_cv_system_error15+set}" = set; then :
18898 $as_echo_n "(cached) " >&6
18899 else
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18903 #include <errno.h>
18905 main ()
18907 int i = ECHILD;
18909 return 0;
18911 _ACEOF
18912 if ac_fn_c_try_compile "$LINENO"; then :
18913 glibcxx_cv_system_error15=yes
18914 else
18915 glibcxx_cv_system_error15=no
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18922 $as_echo "$glibcxx_cv_system_error15" >&6; }
18923 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18925 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18929 $as_echo_n "checking for ENOSPC... " >&6; }
18930 if test "${glibcxx_cv_system_error16+set}" = set; then :
18931 $as_echo_n "(cached) " >&6
18932 else
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h. */
18936 #include <errno.h>
18938 main ()
18940 int i = ENOSPC;
18942 return 0;
18944 _ACEOF
18945 if ac_fn_c_try_compile "$LINENO"; then :
18946 glibcxx_cv_system_error16=yes
18947 else
18948 glibcxx_cv_system_error16=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18955 $as_echo "$glibcxx_cv_system_error16" >&6; }
18956 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18958 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18962 $as_echo_n "checking for EPERM... " >&6; }
18963 if test "${glibcxx_cv_system_error17+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 #include <errno.h>
18971 main ()
18973 int i = EPERM;
18975 return 0;
18977 _ACEOF
18978 if ac_fn_c_try_compile "$LINENO"; then :
18979 glibcxx_cv_system_error17=yes
18980 else
18981 glibcxx_cv_system_error17=no
18983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18988 $as_echo "$glibcxx_cv_system_error17" >&6; }
18989 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18991 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18995 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18996 if test "${glibcxx_cv_system_error18+set}" = set; then :
18997 $as_echo_n "(cached) " >&6
18998 else
19000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19002 #include <errno.h>
19004 main ()
19006 int i = ETIMEDOUT;
19008 return 0;
19010 _ACEOF
19011 if ac_fn_c_try_compile "$LINENO"; then :
19012 glibcxx_cv_system_error18=yes
19013 else
19014 glibcxx_cv_system_error18=no
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19021 $as_echo "$glibcxx_cv_system_error18" >&6; }
19022 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19024 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19028 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19029 if test "${glibcxx_cv_system_error19+set}" = set; then :
19030 $as_echo_n "(cached) " >&6
19031 else
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <errno.h>
19037 main ()
19039 int i = EWOULDBLOCK;
19041 return 0;
19043 _ACEOF
19044 if ac_fn_c_try_compile "$LINENO"; then :
19045 glibcxx_cv_system_error19=yes
19046 else
19047 glibcxx_cv_system_error19=no
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19054 $as_echo "$glibcxx_cv_system_error19" >&6; }
19055 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19057 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19064 # Test uchar.h.
19065 for ac_header in uchar.h
19066 do :
19067 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19068 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_UCHAR_H 1
19071 _ACEOF
19072 ac_has_uchar_h=yes
19073 else
19074 ac_has_uchar_h=no
19077 done
19081 ac_ext=cpp
19082 ac_cpp='$CXXCPP $CPPFLAGS'
19083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19087 ac_save_CXXFLAGS="$CXXFLAGS"
19088 CXXFLAGS="$CXXFLAGS -std=c++11"
19090 if test x"$ac_has_uchar_h" = x"yes"; then
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19092 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19095 #include <uchar.h>
19096 #ifdef __STDC_UTF_16__
19097 long i = __STDC_UTF_16__;
19098 #endif
19099 #ifdef __STDC_UTF_32__
19100 long j = __STDC_UTF_32__;
19101 #endif
19102 namespace test
19104 using ::c16rtomb;
19105 using ::c32rtomb;
19106 using ::mbrtoc16;
19107 using ::mbrtoc32;
19111 main ()
19115 return 0;
19117 _ACEOF
19118 if ac_fn_cxx_try_compile "$LINENO"; then :
19119 ac_c11_uchar_cxx11=yes
19120 else
19121 ac_c11_uchar_cxx11=no
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19124 else
19125 ac_c11_uchar_cxx11=no
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19128 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19129 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19131 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19135 CXXFLAGS="$ac_save_CXXFLAGS"
19136 ac_ext=c
19137 ac_cpp='$CPP $CPPFLAGS'
19138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19144 # For the streamoff typedef.
19148 ac_ext=cpp
19149 ac_cpp='$CXXCPP $CPPFLAGS'
19150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19156 $as_echo_n "checking for int64_t... " >&6; }
19157 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19158 $as_echo_n "(cached) " >&6
19159 else
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <stdint.h>
19165 main ()
19167 int64_t var;
19169 return 0;
19171 _ACEOF
19172 if ac_fn_cxx_try_compile "$LINENO"; then :
19173 glibcxx_cv_INT64_T=yes
19174 else
19175 glibcxx_cv_INT64_T=no
19177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19182 if test $glibcxx_cv_INT64_T = yes; then
19184 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19187 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19190 $as_echo_n "checking for int64_t as long... " >&6; }
19191 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19192 $as_echo_n "(cached) " >&6
19193 else
19195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19196 /* end confdefs.h. */
19197 #include <stdint.h>
19198 template<typename, typename> struct same { enum { value = -1 }; };
19199 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19200 int array[same<int64_t, long>::value];
19202 main ()
19206 return 0;
19208 _ACEOF
19209 if ac_fn_cxx_try_compile "$LINENO"; then :
19210 glibcxx_cv_int64_t_long=yes
19211 else
19212 glibcxx_cv_int64_t_long=no
19214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19219 if test $glibcxx_cv_int64_t_long = yes; then
19221 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19224 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19228 $as_echo_n "checking for int64_t as long long... " >&6; }
19229 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19234 /* end confdefs.h. */
19235 #include <stdint.h>
19236 template<typename, typename> struct same { enum { value = -1 }; };
19237 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19238 int array[same<int64_t, long long>::value];
19240 main ()
19244 return 0;
19246 _ACEOF
19247 if ac_fn_cxx_try_compile "$LINENO"; then :
19248 glibcxx_cv_int64_t_long_long=yes
19249 else
19250 glibcxx_cv_int64_t_long_long=no
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 if test $glibcxx_cv_int64_t_long_long = yes; then
19259 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19262 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19266 ac_ext=c
19267 ac_cpp='$CPP $CPPFLAGS'
19268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19274 # For LFS support.
19277 ac_ext=cpp
19278 ac_cpp='$CXXCPP $CPPFLAGS'
19279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19283 ac_save_CXXFLAGS="$CXXFLAGS"
19284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19286 $as_echo_n "checking for LFS support... " >&6; }
19287 if test "${glibcxx_cv_LFS+set}" = set; then :
19288 $as_echo_n "(cached) " >&6
19289 else
19291 if test x$gcc_no_link = xyes; then
19292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <unistd.h>
19295 #include <stdio.h>
19296 #include <sys/stat.h>
19299 main ()
19301 FILE* fp;
19302 fopen64("t", "w");
19303 fseeko64(fp, 0, SEEK_CUR);
19304 ftello64(fp);
19305 lseek64(1, 0, SEEK_CUR);
19306 struct stat64 buf;
19307 fstat64(1, &buf);
19309 return 0;
19311 _ACEOF
19312 if ac_fn_cxx_try_compile "$LINENO"; then :
19313 glibcxx_cv_LFS=yes
19314 else
19315 glibcxx_cv_LFS=no
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 else
19319 if test x$gcc_no_link = xyes; then
19320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19323 /* end confdefs.h. */
19324 #include <unistd.h>
19325 #include <stdio.h>
19326 #include <sys/stat.h>
19329 main ()
19331 FILE* fp;
19332 fopen64("t", "w");
19333 fseeko64(fp, 0, SEEK_CUR);
19334 ftello64(fp);
19335 lseek64(1, 0, SEEK_CUR);
19336 struct stat64 buf;
19337 fstat64(1, &buf);
19339 return 0;
19341 _ACEOF
19342 if ac_fn_cxx_try_link "$LINENO"; then :
19343 glibcxx_cv_LFS=yes
19344 else
19345 glibcxx_cv_LFS=no
19347 rm -f core conftest.err conftest.$ac_objext \
19348 conftest$ac_exeext conftest.$ac_ext
19353 if test $glibcxx_cv_LFS = yes; then
19355 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19359 $as_echo "$glibcxx_cv_LFS" >&6; }
19360 CXXFLAGS="$ac_save_CXXFLAGS"
19361 ac_ext=c
19362 ac_cpp='$CPP $CPPFLAGS'
19363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19369 # For showmanyc_helper().
19370 for ac_header in sys/ioctl.h sys/filio.h
19371 do :
19372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19373 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19374 eval as_val=\$$as_ac_Header
19375 if test "x$as_val" = x""yes; then :
19376 cat >>confdefs.h <<_ACEOF
19377 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19378 _ACEOF
19382 done
19387 ac_ext=cpp
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19393 ac_save_CXXFLAGS="$CXXFLAGS"
19394 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19397 $as_echo_n "checking for poll... " >&6; }
19398 if test "${glibcxx_cv_POLL+set}" = set; then :
19399 $as_echo_n "(cached) " >&6
19400 else
19402 if test x$gcc_no_link = xyes; then
19403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19405 #include <poll.h>
19407 main ()
19409 struct pollfd pfd[1];
19410 pfd[0].events = POLLIN;
19411 poll(pfd, 1, 0);
19413 return 0;
19415 _ACEOF
19416 if ac_fn_cxx_try_compile "$LINENO"; then :
19417 glibcxx_cv_POLL=yes
19418 else
19419 glibcxx_cv_POLL=no
19421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 else
19423 if test x$gcc_no_link = xyes; then
19424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #include <poll.h>
19430 main ()
19432 struct pollfd pfd[1];
19433 pfd[0].events = POLLIN;
19434 poll(pfd, 1, 0);
19436 return 0;
19438 _ACEOF
19439 if ac_fn_cxx_try_link "$LINENO"; then :
19440 glibcxx_cv_POLL=yes
19441 else
19442 glibcxx_cv_POLL=no
19444 rm -f core conftest.err conftest.$ac_objext \
19445 conftest$ac_exeext conftest.$ac_ext
19450 if test $glibcxx_cv_POLL = yes; then
19452 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19456 $as_echo "$glibcxx_cv_POLL" >&6; }
19458 CXXFLAGS="$ac_save_CXXFLAGS"
19459 ac_ext=c
19460 ac_cpp='$CPP $CPPFLAGS'
19461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19469 ac_ext=cpp
19470 ac_cpp='$CXXCPP $CPPFLAGS'
19471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19475 ac_save_CXXFLAGS="$CXXFLAGS"
19476 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19479 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19480 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19481 $as_echo_n "(cached) " >&6
19482 else
19484 if test x$gcc_no_link = xyes; then
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19487 #include <sys/stat.h>
19489 main ()
19491 struct stat buffer;
19492 fstat(0, &buffer);
19493 S_ISREG(buffer.st_mode);
19495 return 0;
19497 _ACEOF
19498 if ac_fn_cxx_try_compile "$LINENO"; then :
19499 glibcxx_cv_S_ISREG=yes
19500 else
19501 glibcxx_cv_S_ISREG=no
19503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19504 else
19505 if test x$gcc_no_link = xyes; then
19506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19510 #include <sys/stat.h>
19512 main ()
19514 struct stat buffer;
19515 fstat(0, &buffer);
19516 S_ISREG(buffer.st_mode);
19518 return 0;
19520 _ACEOF
19521 if ac_fn_cxx_try_link "$LINENO"; then :
19522 glibcxx_cv_S_ISREG=yes
19523 else
19524 glibcxx_cv_S_ISREG=no
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19532 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19533 $as_echo_n "(cached) " >&6
19534 else
19536 if test x$gcc_no_link = xyes; then
19537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19538 /* end confdefs.h. */
19539 #include <sys/stat.h>
19541 main ()
19543 struct stat buffer;
19544 fstat(0, &buffer);
19545 S_IFREG & buffer.st_mode;
19547 return 0;
19549 _ACEOF
19550 if ac_fn_cxx_try_compile "$LINENO"; then :
19551 glibcxx_cv_S_IFREG=yes
19552 else
19553 glibcxx_cv_S_IFREG=no
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 else
19557 if test x$gcc_no_link = xyes; then
19558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19561 /* end confdefs.h. */
19562 #include <sys/stat.h>
19564 main ()
19566 struct stat buffer;
19567 fstat(0, &buffer);
19568 S_IFREG & buffer.st_mode;
19570 return 0;
19572 _ACEOF
19573 if ac_fn_cxx_try_link "$LINENO"; then :
19574 glibcxx_cv_S_IFREG=yes
19575 else
19576 glibcxx_cv_S_IFREG=no
19578 rm -f core conftest.err conftest.$ac_objext \
19579 conftest$ac_exeext conftest.$ac_ext
19584 res=no
19585 if test $glibcxx_cv_S_ISREG = yes; then
19587 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19589 res=S_ISREG
19590 elif test $glibcxx_cv_S_IFREG = yes; then
19592 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19594 res=S_IFREG
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19597 $as_echo "$res" >&6; }
19599 CXXFLAGS="$ac_save_CXXFLAGS"
19600 ac_ext=c
19601 ac_cpp='$CPP $CPPFLAGS'
19602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19608 # For xsputn_2().
19609 for ac_header in sys/uio.h
19610 do :
19611 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19612 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19613 cat >>confdefs.h <<_ACEOF
19614 #define HAVE_SYS_UIO_H 1
19615 _ACEOF
19619 done
19624 ac_ext=cpp
19625 ac_cpp='$CXXCPP $CPPFLAGS'
19626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19630 ac_save_CXXFLAGS="$CXXFLAGS"
19631 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19634 $as_echo_n "checking for writev... " >&6; }
19635 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19636 $as_echo_n "(cached) " >&6
19637 else
19639 if test x$gcc_no_link = xyes; then
19640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19642 #include <sys/uio.h>
19644 main ()
19646 struct iovec iov[2];
19647 writev(0, iov, 0);
19649 return 0;
19651 _ACEOF
19652 if ac_fn_cxx_try_compile "$LINENO"; then :
19653 glibcxx_cv_WRITEV=yes
19654 else
19655 glibcxx_cv_WRITEV=no
19657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658 else
19659 if test x$gcc_no_link = xyes; then
19660 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #include <sys/uio.h>
19666 main ()
19668 struct iovec iov[2];
19669 writev(0, iov, 0);
19671 return 0;
19673 _ACEOF
19674 if ac_fn_cxx_try_link "$LINENO"; then :
19675 glibcxx_cv_WRITEV=yes
19676 else
19677 glibcxx_cv_WRITEV=no
19679 rm -f core conftest.err conftest.$ac_objext \
19680 conftest$ac_exeext conftest.$ac_ext
19685 if test $glibcxx_cv_WRITEV = yes; then
19687 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19691 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19693 CXXFLAGS="$ac_save_CXXFLAGS"
19694 ac_ext=c
19695 ac_cpp='$CPP $CPPFLAGS'
19696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19702 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19703 # so that the check is done with the C compiler (not C++).
19704 # Checking with C++ can break a canadian cross build if either
19705 # file does not exist in C but does in C++.
19706 for ac_header in fenv.h complex.h
19707 do :
19708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19709 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19710 eval as_val=\$$as_ac_Header
19711 if test "x$as_val" = x""yes; then :
19712 cat >>confdefs.h <<_ACEOF
19713 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19714 _ACEOF
19718 done
19721 # For C99 support to TR1.
19725 ac_ext=cpp
19726 ac_cpp='$CXXCPP $CPPFLAGS'
19727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19732 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19733 # undefined and fake C99 facilities may be spuriously enabled.
19734 ac_save_CXXFLAGS="$CXXFLAGS"
19735 CXXFLAGS="$CXXFLAGS -std=c++98"
19737 # Check for the existence of <complex.h> complex math functions used
19738 # by tr1/complex.
19739 for ac_header in complex.h
19740 do :
19741 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19742 if test "x$ac_cv_header_complex_h" = x""yes; then :
19743 cat >>confdefs.h <<_ACEOF
19744 #define HAVE_COMPLEX_H 1
19745 _ACEOF
19746 ac_has_complex_h=yes
19747 else
19748 ac_has_complex_h=no
19751 done
19753 ac_c99_complex_tr1=no;
19754 if test x"$ac_has_complex_h" = x"yes"; then
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19756 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19759 #include <complex.h>
19761 main ()
19763 typedef __complex__ float float_type; float_type tmpf;
19764 cacosf(tmpf);
19765 casinf(tmpf);
19766 catanf(tmpf);
19767 cacoshf(tmpf);
19768 casinhf(tmpf);
19769 catanhf(tmpf);
19770 typedef __complex__ double double_type; double_type tmpd;
19771 cacos(tmpd);
19772 casin(tmpd);
19773 catan(tmpd);
19774 cacosh(tmpd);
19775 casinh(tmpd);
19776 catanh(tmpd);
19777 typedef __complex__ long double ld_type; ld_type tmpld;
19778 cacosl(tmpld);
19779 casinl(tmpld);
19780 catanl(tmpld);
19781 cacoshl(tmpld);
19782 casinhl(tmpld);
19783 catanhl(tmpld);
19786 return 0;
19788 _ACEOF
19789 if ac_fn_cxx_try_compile "$LINENO"; then :
19790 ac_c99_complex_tr1=yes
19791 else
19792 ac_c99_complex_tr1=no
19794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19797 $as_echo "$ac_c99_complex_tr1" >&6; }
19798 if test x"$ac_c99_complex_tr1" = x"yes"; then
19800 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19804 # Check for the existence of <ctype.h> functions.
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19806 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19807 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19808 $as_echo_n "(cached) " >&6
19809 else
19811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19812 /* end confdefs.h. */
19813 #include <ctype.h>
19815 main ()
19817 int ch;
19818 int ret;
19819 ret = isblank(ch);
19822 return 0;
19824 _ACEOF
19825 if ac_fn_cxx_try_compile "$LINENO"; then :
19826 glibcxx_cv_c99_ctype_tr1=yes
19827 else
19828 glibcxx_cv_c99_ctype_tr1=no
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19835 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19836 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19838 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19842 # Check for the existence of <fenv.h> functions.
19843 for ac_header in fenv.h
19844 do :
19845 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19846 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19847 cat >>confdefs.h <<_ACEOF
19848 #define HAVE_FENV_H 1
19849 _ACEOF
19850 ac_has_fenv_h=yes
19851 else
19852 ac_has_fenv_h=no
19855 done
19857 ac_c99_fenv_tr1=no;
19858 if test x"$ac_has_fenv_h" = x"yes"; then
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19860 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19862 /* end confdefs.h. */
19863 #include <fenv.h>
19865 main ()
19867 int except, mode;
19868 fexcept_t* pflag;
19869 fenv_t* penv;
19870 int ret;
19871 ret = feclearexcept(except);
19872 ret = fegetexceptflag(pflag, except);
19873 ret = feraiseexcept(except);
19874 ret = fesetexceptflag(pflag, except);
19875 ret = fetestexcept(except);
19876 ret = fegetround();
19877 ret = fesetround(mode);
19878 ret = fegetenv(penv);
19879 ret = feholdexcept(penv);
19880 ret = fesetenv(penv);
19881 ret = feupdateenv(penv);
19884 return 0;
19886 _ACEOF
19887 if ac_fn_cxx_try_compile "$LINENO"; then :
19888 ac_c99_fenv_tr1=yes
19889 else
19890 ac_c99_fenv_tr1=no
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19895 $as_echo "$ac_c99_fenv_tr1" >&6; }
19896 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19898 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19902 # Check for the existence of <stdint.h> types.
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19904 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19905 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19906 $as_echo_n "(cached) " >&6
19907 else
19909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19910 /* end confdefs.h. */
19911 #define __STDC_LIMIT_MACROS
19912 #define __STDC_CONSTANT_MACROS
19913 #include <stdint.h>
19915 main ()
19917 typedef int8_t my_int8_t;
19918 my_int8_t i8 = INT8_MIN;
19919 i8 = INT8_MAX;
19920 typedef int16_t my_int16_t;
19921 my_int16_t i16 = INT16_MIN;
19922 i16 = INT16_MAX;
19923 typedef int32_t my_int32_t;
19924 my_int32_t i32 = INT32_MIN;
19925 i32 = INT32_MAX;
19926 typedef int64_t my_int64_t;
19927 my_int64_t i64 = INT64_MIN;
19928 i64 = INT64_MAX;
19929 typedef int_fast8_t my_int_fast8_t;
19930 my_int_fast8_t if8 = INT_FAST8_MIN;
19931 if8 = INT_FAST8_MAX;
19932 typedef int_fast16_t my_int_fast16_t;
19933 my_int_fast16_t if16 = INT_FAST16_MIN;
19934 if16 = INT_FAST16_MAX;
19935 typedef int_fast32_t my_int_fast32_t;
19936 my_int_fast32_t if32 = INT_FAST32_MIN;
19937 if32 = INT_FAST32_MAX;
19938 typedef int_fast64_t my_int_fast64_t;
19939 my_int_fast64_t if64 = INT_FAST64_MIN;
19940 if64 = INT_FAST64_MAX;
19941 typedef int_least8_t my_int_least8_t;
19942 my_int_least8_t il8 = INT_LEAST8_MIN;
19943 il8 = INT_LEAST8_MAX;
19944 typedef int_least16_t my_int_least16_t;
19945 my_int_least16_t il16 = INT_LEAST16_MIN;
19946 il16 = INT_LEAST16_MAX;
19947 typedef int_least32_t my_int_least32_t;
19948 my_int_least32_t il32 = INT_LEAST32_MIN;
19949 il32 = INT_LEAST32_MAX;
19950 typedef int_least64_t my_int_least64_t;
19951 my_int_least64_t il64 = INT_LEAST64_MIN;
19952 il64 = INT_LEAST64_MAX;
19953 typedef intmax_t my_intmax_t;
19954 my_intmax_t im = INTMAX_MAX;
19955 im = INTMAX_MIN;
19956 typedef intptr_t my_intptr_t;
19957 my_intptr_t ip = INTPTR_MAX;
19958 ip = INTPTR_MIN;
19959 typedef uint8_t my_uint8_t;
19960 my_uint8_t ui8 = UINT8_MAX;
19961 ui8 = UINT8_MAX;
19962 typedef uint16_t my_uint16_t;
19963 my_uint16_t ui16 = UINT16_MAX;
19964 ui16 = UINT16_MAX;
19965 typedef uint32_t my_uint32_t;
19966 my_uint32_t ui32 = UINT32_MAX;
19967 ui32 = UINT32_MAX;
19968 typedef uint64_t my_uint64_t;
19969 my_uint64_t ui64 = UINT64_MAX;
19970 ui64 = UINT64_MAX;
19971 typedef uint_fast8_t my_uint_fast8_t;
19972 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19973 uif8 = UINT_FAST8_MAX;
19974 typedef uint_fast16_t my_uint_fast16_t;
19975 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19976 uif16 = UINT_FAST16_MAX;
19977 typedef uint_fast32_t my_uint_fast32_t;
19978 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19979 uif32 = UINT_FAST32_MAX;
19980 typedef uint_fast64_t my_uint_fast64_t;
19981 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19982 uif64 = UINT_FAST64_MAX;
19983 typedef uint_least8_t my_uint_least8_t;
19984 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19985 uil8 = UINT_LEAST8_MAX;
19986 typedef uint_least16_t my_uint_least16_t;
19987 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19988 uil16 = UINT_LEAST16_MAX;
19989 typedef uint_least32_t my_uint_least32_t;
19990 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19991 uil32 = UINT_LEAST32_MAX;
19992 typedef uint_least64_t my_uint_least64_t;
19993 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19994 uil64 = UINT_LEAST64_MAX;
19995 typedef uintmax_t my_uintmax_t;
19996 my_uintmax_t uim = UINTMAX_MAX;
19997 uim = UINTMAX_MAX;
19998 typedef uintptr_t my_uintptr_t;
19999 my_uintptr_t uip = UINTPTR_MAX;
20000 uip = UINTPTR_MAX;
20003 return 0;
20005 _ACEOF
20006 if ac_fn_cxx_try_compile "$LINENO"; then :
20007 glibcxx_cv_c99_stdint_tr1=yes
20008 else
20009 glibcxx_cv_c99_stdint_tr1=no
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20016 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20017 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20019 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20023 # Check for the existence of <math.h> functions.
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20025 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20026 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
20027 $as_echo_n "(cached) " >&6
20028 else
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20032 #include <math.h>
20034 main ()
20036 typedef double_t my_double_t;
20037 typedef float_t my_float_t;
20038 acosh(0.0);
20039 acoshf(0.0f);
20040 acoshl(0.0l);
20041 asinh(0.0);
20042 asinhf(0.0f);
20043 asinhl(0.0l);
20044 atanh(0.0);
20045 atanhf(0.0f);
20046 atanhl(0.0l);
20047 cbrt(0.0);
20048 cbrtf(0.0f);
20049 cbrtl(0.0l);
20050 copysign(0.0, 0.0);
20051 copysignf(0.0f, 0.0f);
20052 copysignl(0.0l, 0.0l);
20053 erf(0.0);
20054 erff(0.0f);
20055 erfl(0.0l);
20056 erfc(0.0);
20057 erfcf(0.0f);
20058 erfcl(0.0l);
20059 exp2(0.0);
20060 exp2f(0.0f);
20061 exp2l(0.0l);
20062 expm1(0.0);
20063 expm1f(0.0f);
20064 expm1l(0.0l);
20065 fdim(0.0, 0.0);
20066 fdimf(0.0f, 0.0f);
20067 fdiml(0.0l, 0.0l);
20068 fma(0.0, 0.0, 0.0);
20069 fmaf(0.0f, 0.0f, 0.0f);
20070 fmal(0.0l, 0.0l, 0.0l);
20071 fmax(0.0, 0.0);
20072 fmaxf(0.0f, 0.0f);
20073 fmaxl(0.0l, 0.0l);
20074 fmin(0.0, 0.0);
20075 fminf(0.0f, 0.0f);
20076 fminl(0.0l, 0.0l);
20077 hypot(0.0, 0.0);
20078 hypotf(0.0f, 0.0f);
20079 hypotl(0.0l, 0.0l);
20080 ilogb(0.0);
20081 ilogbf(0.0f);
20082 ilogbl(0.0l);
20083 lgamma(0.0);
20084 lgammaf(0.0f);
20085 lgammal(0.0l);
20086 #ifndef __APPLE__ /* see below */
20087 llrint(0.0);
20088 llrintf(0.0f);
20089 llrintl(0.0l);
20090 llround(0.0);
20091 llroundf(0.0f);
20092 llroundl(0.0l);
20093 #endif
20094 log1p(0.0);
20095 log1pf(0.0f);
20096 log1pl(0.0l);
20097 log2(0.0);
20098 log2f(0.0f);
20099 log2l(0.0l);
20100 logb(0.0);
20101 logbf(0.0f);
20102 logbl(0.0l);
20103 lrint(0.0);
20104 lrintf(0.0f);
20105 lrintl(0.0l);
20106 lround(0.0);
20107 lroundf(0.0f);
20108 lroundl(0.0l);
20109 nan(0);
20110 nanf(0);
20111 nanl(0);
20112 nearbyint(0.0);
20113 nearbyintf(0.0f);
20114 nearbyintl(0.0l);
20115 nextafter(0.0, 0.0);
20116 nextafterf(0.0f, 0.0f);
20117 nextafterl(0.0l, 0.0l);
20118 nexttoward(0.0, 0.0);
20119 nexttowardf(0.0f, 0.0f);
20120 nexttowardl(0.0l, 0.0l);
20121 remainder(0.0, 0.0);
20122 remainderf(0.0f, 0.0f);
20123 remainderl(0.0l, 0.0l);
20124 remquo(0.0, 0.0, 0);
20125 remquof(0.0f, 0.0f, 0);
20126 remquol(0.0l, 0.0l, 0);
20127 rint(0.0);
20128 rintf(0.0f);
20129 rintl(0.0l);
20130 round(0.0);
20131 roundf(0.0f);
20132 roundl(0.0l);
20133 scalbln(0.0, 0l);
20134 scalblnf(0.0f, 0l);
20135 scalblnl(0.0l, 0l);
20136 scalbn(0.0, 0);
20137 scalbnf(0.0f, 0);
20138 scalbnl(0.0l, 0);
20139 tgamma(0.0);
20140 tgammaf(0.0f);
20141 tgammal(0.0l);
20142 trunc(0.0);
20143 truncf(0.0f);
20144 truncl(0.0l);
20147 return 0;
20149 _ACEOF
20150 if ac_fn_cxx_try_compile "$LINENO"; then :
20151 glibcxx_cv_c99_math_tr1=yes
20152 else
20153 glibcxx_cv_c99_math_tr1=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20160 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20161 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20163 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20166 case "${target_os}" in
20167 darwin*)
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20169 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20170 if test "${glibcxx_cv_c99_math_llround+set}" = set; then :
20171 $as_echo_n "(cached) " >&6
20172 else
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 #include <math.h>
20178 main ()
20180 llrint(0.0);
20181 llrintf(0.0f);
20182 llrintl(0.0l);
20183 llround(0.0);
20184 llroundf(0.0f);
20185 llroundl(0.0l);
20188 return 0;
20190 _ACEOF
20191 if ac_fn_cxx_try_compile "$LINENO"; then :
20192 glibcxx_cv_c99_math_llround=yes
20193 else
20194 glibcxx_cv_c99_math_llround=no
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20201 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20203 esac
20204 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20206 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20211 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20212 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20213 ac_c99_inttypes_tr1=no;
20214 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20216 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20218 /* end confdefs.h. */
20219 #include <inttypes.h>
20221 main ()
20223 intmax_t i, numer, denom, base;
20224 const char* s;
20225 char** endptr;
20226 intmax_t ret = imaxabs(i);
20227 imaxdiv_t dret = imaxdiv(numer, denom);
20228 ret = strtoimax(s, endptr, base);
20229 uintmax_t uret = strtoumax(s, endptr, base);
20232 return 0;
20234 _ACEOF
20235 if ac_fn_cxx_try_compile "$LINENO"; then :
20236 ac_c99_inttypes_tr1=yes
20237 else
20238 ac_c99_inttypes_tr1=no
20240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20243 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20244 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20246 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20250 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20251 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20252 ac_c99_inttypes_wchar_t_tr1=no;
20253 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20255 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20257 /* end confdefs.h. */
20258 #include <inttypes.h>
20260 main ()
20262 intmax_t base;
20263 const wchar_t* s;
20264 wchar_t** endptr;
20265 intmax_t ret = wcstoimax(s, endptr, base);
20266 uintmax_t uret = wcstoumax(s, endptr, base);
20269 return 0;
20271 _ACEOF
20272 if ac_fn_cxx_try_compile "$LINENO"; then :
20273 ac_c99_inttypes_wchar_t_tr1=yes
20274 else
20275 ac_c99_inttypes_wchar_t_tr1=no
20277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20280 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20281 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20283 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20287 # Check for the existence of the <stdbool.h> header.
20288 for ac_header in stdbool.h
20289 do :
20290 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20291 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20292 cat >>confdefs.h <<_ACEOF
20293 #define HAVE_STDBOOL_H 1
20294 _ACEOF
20298 done
20301 # Check for the existence of the <stdalign.h> header.
20302 for ac_header in stdalign.h
20303 do :
20304 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20305 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20306 cat >>confdefs.h <<_ACEOF
20307 #define HAVE_STDALIGN_H 1
20308 _ACEOF
20312 done
20315 CXXFLAGS="$ac_save_CXXFLAGS"
20316 ac_ext=c
20317 ac_cpp='$CPP $CPPFLAGS'
20318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20324 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20328 $as_echo_n "checking for the value of EOF... " >&6; }
20329 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20330 $as_echo_n "(cached) " >&6
20331 else
20333 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20335 else
20336 as_fn_error "computing EOF failed" "$LINENO" 5
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20342 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20344 cat >>confdefs.h <<_ACEOF
20345 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20346 _ACEOF
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20350 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20351 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20352 $as_echo_n "(cached) " >&6
20353 else
20355 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20357 else
20358 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20364 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20366 cat >>confdefs.h <<_ACEOF
20367 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20368 _ACEOF
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20372 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20373 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20374 $as_echo_n "(cached) " >&6
20375 else
20377 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20379 else
20380 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20386 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20388 cat >>confdefs.h <<_ACEOF
20389 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20390 _ACEOF
20394 # For gettimeofday support.
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20398 $as_echo_n "checking for gettimeofday... " >&6; }
20401 ac_ext=cpp
20402 ac_cpp='$CXXCPP $CPPFLAGS'
20403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20407 ac_save_CXXFLAGS="$CXXFLAGS"
20408 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20410 ac_has_gettimeofday=no;
20411 for ac_header in sys/time.h
20412 do :
20413 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20414 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE_SYS_TIME_H 1
20417 _ACEOF
20418 ac_has_sys_time_h=yes
20419 else
20420 ac_has_sys_time_h=no
20423 done
20425 if test x"$ac_has_sys_time_h" = x"yes"; then
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20427 $as_echo_n "checking for gettimeofday... " >&6; }
20428 if test x$gcc_no_link = xyes; then
20429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20431 #include <sys/time.h>
20433 main ()
20435 timeval tv; gettimeofday(&tv, 0);
20437 return 0;
20439 _ACEOF
20440 if ac_fn_cxx_try_compile "$LINENO"; then :
20441 ac_has_gettimeofday=yes
20442 else
20443 ac_has_gettimeofday=no
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 else
20447 if test x$gcc_no_link = xyes; then
20448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20451 /* end confdefs.h. */
20452 #include <sys/time.h>
20454 main ()
20456 timeval tv; gettimeofday(&tv, 0);
20458 return 0;
20460 _ACEOF
20461 if ac_fn_cxx_try_link "$LINENO"; then :
20462 ac_has_gettimeofday=yes
20463 else
20464 ac_has_gettimeofday=no
20466 rm -f core conftest.err conftest.$ac_objext \
20467 conftest$ac_exeext conftest.$ac_ext
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20471 $as_echo "$ac_has_gettimeofday" >&6; }
20474 if test x"$ac_has_gettimeofday" = x"yes"; then
20476 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20480 CXXFLAGS="$ac_save_CXXFLAGS"
20481 ac_ext=c
20482 ac_cpp='$CPP $CPPFLAGS'
20483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20489 # For clock_gettime, nanosleep and sched_yield support.
20492 # Check whether --enable-libstdcxx-time was given.
20493 if test "${enable_libstdcxx_time+set}" = set; then :
20494 enableval=$enable_libstdcxx_time;
20495 case "$enableval" in
20496 yes|no|rt) ;;
20497 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20498 esac
20500 else
20501 enable_libstdcxx_time=auto
20507 ac_ext=cpp
20508 ac_cpp='$CXXCPP $CPPFLAGS'
20509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20513 ac_save_CXXFLAGS="$CXXFLAGS"
20514 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20515 ac_save_LIBS="$LIBS"
20517 ac_has_clock_monotonic=no
20518 ac_has_clock_realtime=no
20519 ac_has_nanosleep=no
20520 ac_has_sched_yield=no
20522 if test x"$enable_libstdcxx_time" = x"auto"; then
20524 case "${target_os}" in
20525 cygwin*)
20526 ac_has_nanosleep=yes
20528 darwin*)
20529 ac_has_nanosleep=yes
20530 ac_has_sched_yield=yes
20532 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20534 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20537 #include <features.h>
20539 main ()
20542 #if ! __GLIBC_PREREQ(2, 17)
20543 #error
20544 #endif
20547 return 0;
20549 _ACEOF
20550 if ac_fn_cxx_try_compile "$LINENO"; then :
20551 glibcxx_glibc217=yes
20552 else
20553 glibcxx_glibc217=no
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20557 $as_echo "$glibcxx_glibc217" >&6; }
20559 if test x"$glibcxx_glibc217" = x"yes"; then
20560 ac_has_clock_monotonic=yes
20561 ac_has_clock_realtime=yes
20563 ac_has_nanosleep=yes
20564 ac_has_sched_yield=yes
20566 freebsd*|netbsd*|dragonfly*)
20567 ac_has_clock_monotonic=yes
20568 ac_has_clock_realtime=yes
20569 ac_has_nanosleep=yes
20570 ac_has_sched_yield=yes
20572 openbsd*)
20573 ac_has_clock_monotonic=yes
20574 ac_has_clock_realtime=yes
20575 ac_has_nanosleep=yes
20577 solaris*)
20578 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20579 ac_has_clock_monotonic=yes
20580 ac_has_clock_realtime=yes
20581 ac_has_nanosleep=yes
20582 ac_has_sched_yield=yes
20584 esac
20586 elif test x"$enable_libstdcxx_time" != x"no"; then
20588 if test x"$enable_libstdcxx_time" = x"rt"; then
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20590 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20591 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20592 $as_echo_n "(cached) " >&6
20593 else
20594 ac_func_search_save_LIBS=$LIBS
20595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20596 /* end confdefs.h. */
20598 /* Override any GCC internal prototype to avoid an error.
20599 Use char because int might match the return type of a GCC
20600 builtin and then its argument prototype would still apply. */
20601 #ifdef __cplusplus
20602 extern "C"
20603 #endif
20604 char clock_gettime ();
20606 main ()
20608 return clock_gettime ();
20610 return 0;
20612 _ACEOF
20613 for ac_lib in '' rt posix4; do
20614 if test -z "$ac_lib"; then
20615 ac_res="none required"
20616 else
20617 ac_res=-l$ac_lib
20618 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 if ac_fn_cxx_try_link "$LINENO"; then :
20624 ac_cv_search_clock_gettime=$ac_res
20626 rm -f core conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext
20628 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20629 break
20631 done
20632 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20634 else
20635 ac_cv_search_clock_gettime=no
20637 rm conftest.$ac_ext
20638 LIBS=$ac_func_search_save_LIBS
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20641 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20642 ac_res=$ac_cv_search_clock_gettime
20643 if test "$ac_res" != no; then :
20644 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20649 $as_echo_n "checking for library containing nanosleep... " >&6; }
20650 if test "${ac_cv_search_nanosleep+set}" = set; then :
20651 $as_echo_n "(cached) " >&6
20652 else
20653 ac_func_search_save_LIBS=$LIBS
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20657 /* Override any GCC internal prototype to avoid an error.
20658 Use char because int might match the return type of a GCC
20659 builtin and then its argument prototype would still apply. */
20660 #ifdef __cplusplus
20661 extern "C"
20662 #endif
20663 char nanosleep ();
20665 main ()
20667 return nanosleep ();
20669 return 0;
20671 _ACEOF
20672 for ac_lib in '' rt posix4; do
20673 if test -z "$ac_lib"; then
20674 ac_res="none required"
20675 else
20676 ac_res=-l$ac_lib
20677 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20679 if test x$gcc_no_link = xyes; then
20680 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20682 if ac_fn_cxx_try_link "$LINENO"; then :
20683 ac_cv_search_nanosleep=$ac_res
20685 rm -f core conftest.err conftest.$ac_objext \
20686 conftest$ac_exeext
20687 if test "${ac_cv_search_nanosleep+set}" = set; then :
20688 break
20690 done
20691 if test "${ac_cv_search_nanosleep+set}" = set; then :
20693 else
20694 ac_cv_search_nanosleep=no
20696 rm conftest.$ac_ext
20697 LIBS=$ac_func_search_save_LIBS
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20700 $as_echo "$ac_cv_search_nanosleep" >&6; }
20701 ac_res=$ac_cv_search_nanosleep
20702 if test "$ac_res" != no; then :
20703 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20707 else
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20709 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20710 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20711 $as_echo_n "(cached) " >&6
20712 else
20713 ac_func_search_save_LIBS=$LIBS
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20717 /* Override any GCC internal prototype to avoid an error.
20718 Use char because int might match the return type of a GCC
20719 builtin and then its argument prototype would still apply. */
20720 #ifdef __cplusplus
20721 extern "C"
20722 #endif
20723 char clock_gettime ();
20725 main ()
20727 return clock_gettime ();
20729 return 0;
20731 _ACEOF
20732 for ac_lib in '' posix4; do
20733 if test -z "$ac_lib"; then
20734 ac_res="none required"
20735 else
20736 ac_res=-l$ac_lib
20737 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20739 if test x$gcc_no_link = xyes; then
20740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20742 if ac_fn_cxx_try_link "$LINENO"; then :
20743 ac_cv_search_clock_gettime=$ac_res
20745 rm -f core conftest.err conftest.$ac_objext \
20746 conftest$ac_exeext
20747 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20748 break
20750 done
20751 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20753 else
20754 ac_cv_search_clock_gettime=no
20756 rm conftest.$ac_ext
20757 LIBS=$ac_func_search_save_LIBS
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20760 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20761 ac_res=$ac_cv_search_clock_gettime
20762 if test "$ac_res" != no; then :
20763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20768 $as_echo_n "checking for library containing nanosleep... " >&6; }
20769 if test "${ac_cv_search_nanosleep+set}" = set; then :
20770 $as_echo_n "(cached) " >&6
20771 else
20772 ac_func_search_save_LIBS=$LIBS
20773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20774 /* end confdefs.h. */
20776 /* Override any GCC internal prototype to avoid an error.
20777 Use char because int might match the return type of a GCC
20778 builtin and then its argument prototype would still apply. */
20779 #ifdef __cplusplus
20780 extern "C"
20781 #endif
20782 char nanosleep ();
20784 main ()
20786 return nanosleep ();
20788 return 0;
20790 _ACEOF
20791 for ac_lib in '' posix4; do
20792 if test -z "$ac_lib"; then
20793 ac_res="none required"
20794 else
20795 ac_res=-l$ac_lib
20796 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20798 if test x$gcc_no_link = xyes; then
20799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20801 if ac_fn_cxx_try_link "$LINENO"; then :
20802 ac_cv_search_nanosleep=$ac_res
20804 rm -f core conftest.err conftest.$ac_objext \
20805 conftest$ac_exeext
20806 if test "${ac_cv_search_nanosleep+set}" = set; then :
20807 break
20809 done
20810 if test "${ac_cv_search_nanosleep+set}" = set; then :
20812 else
20813 ac_cv_search_nanosleep=no
20815 rm conftest.$ac_ext
20816 LIBS=$ac_func_search_save_LIBS
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20819 $as_echo "$ac_cv_search_nanosleep" >&6; }
20820 ac_res=$ac_cv_search_nanosleep
20821 if test "$ac_res" != no; then :
20822 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20828 case "$ac_cv_search_clock_gettime" in
20829 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20831 esac
20832 case "$ac_cv_search_nanosleep" in
20833 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20835 esac
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20838 $as_echo_n "checking for library containing sched_yield... " >&6; }
20839 if test "${ac_cv_search_sched_yield+set}" = set; then :
20840 $as_echo_n "(cached) " >&6
20841 else
20842 ac_func_search_save_LIBS=$LIBS
20843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20844 /* end confdefs.h. */
20846 /* Override any GCC internal prototype to avoid an error.
20847 Use char because int might match the return type of a GCC
20848 builtin and then its argument prototype would still apply. */
20849 #ifdef __cplusplus
20850 extern "C"
20851 #endif
20852 char sched_yield ();
20854 main ()
20856 return sched_yield ();
20858 return 0;
20860 _ACEOF
20861 for ac_lib in '' rt posix4; do
20862 if test -z "$ac_lib"; then
20863 ac_res="none required"
20864 else
20865 ac_res=-l$ac_lib
20866 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20868 if test x$gcc_no_link = xyes; then
20869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20871 if ac_fn_cxx_try_link "$LINENO"; then :
20872 ac_cv_search_sched_yield=$ac_res
20874 rm -f core conftest.err conftest.$ac_objext \
20875 conftest$ac_exeext
20876 if test "${ac_cv_search_sched_yield+set}" = set; then :
20877 break
20879 done
20880 if test "${ac_cv_search_sched_yield+set}" = set; then :
20882 else
20883 ac_cv_search_sched_yield=no
20885 rm conftest.$ac_ext
20886 LIBS=$ac_func_search_save_LIBS
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20889 $as_echo "$ac_cv_search_sched_yield" >&6; }
20890 ac_res=$ac_cv_search_sched_yield
20891 if test "$ac_res" != no; then :
20892 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20897 case "$ac_cv_search_sched_yield" in
20898 -lposix4*)
20899 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20900 ac_has_sched_yield=yes
20902 -lrt*)
20903 if test x"$enable_libstdcxx_time" = x"rt"; then
20904 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20905 ac_has_sched_yield=yes
20909 ac_has_sched_yield=yes
20911 esac
20913 for ac_header in unistd.h
20914 do :
20915 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20916 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20917 cat >>confdefs.h <<_ACEOF
20918 #define HAVE_UNISTD_H 1
20919 _ACEOF
20920 ac_has_unistd_h=yes
20921 else
20922 ac_has_unistd_h=no
20925 done
20928 if test x"$ac_has_unistd_h" = x"yes"; then
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20930 $as_echo_n "checking for monotonic clock... " >&6; }
20931 if test x$gcc_no_link = xyes; then
20932 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20936 #include <unistd.h>
20937 #include <time.h>
20940 main ()
20942 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20943 timespec tp;
20944 #endif
20945 clock_gettime(CLOCK_MONOTONIC, &tp);
20948 return 0;
20950 _ACEOF
20951 if ac_fn_cxx_try_link "$LINENO"; then :
20952 ac_has_clock_monotonic=yes
20953 else
20954 ac_has_clock_monotonic=no
20956 rm -f core conftest.err conftest.$ac_objext \
20957 conftest$ac_exeext conftest.$ac_ext
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20960 $as_echo "$ac_has_clock_monotonic" >&6; }
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20963 $as_echo_n "checking for realtime clock... " >&6; }
20964 if test x$gcc_no_link = xyes; then
20965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20968 /* end confdefs.h. */
20969 #include <unistd.h>
20970 #include <time.h>
20973 main ()
20975 #if _POSIX_TIMERS > 0
20976 timespec tp;
20977 #endif
20978 clock_gettime(CLOCK_REALTIME, &tp);
20981 return 0;
20983 _ACEOF
20984 if ac_fn_cxx_try_link "$LINENO"; then :
20985 ac_has_clock_realtime=yes
20986 else
20987 ac_has_clock_realtime=no
20989 rm -f core conftest.err conftest.$ac_objext \
20990 conftest$ac_exeext conftest.$ac_ext
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20993 $as_echo "$ac_has_clock_realtime" >&6; }
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20996 $as_echo_n "checking for nanosleep... " >&6; }
20997 if test x$gcc_no_link = xyes; then
20998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #include <unistd.h>
21003 #include <time.h>
21006 main ()
21008 #if _POSIX_TIMERS > 0
21009 timespec tp;
21010 #endif
21011 nanosleep(&tp, 0);
21014 return 0;
21016 _ACEOF
21017 if ac_fn_cxx_try_link "$LINENO"; then :
21018 ac_has_nanosleep=yes
21019 else
21020 ac_has_nanosleep=no
21022 rm -f core conftest.err conftest.$ac_objext \
21023 conftest$ac_exeext conftest.$ac_ext
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21026 $as_echo "$ac_has_nanosleep" >&6; }
21030 if test x"$ac_has_clock_monotonic" != x"yes"; then
21031 case ${target_os} in
21032 linux*)
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21034 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21037 #include <unistd.h>
21038 #include <time.h>
21039 #include <sys/syscall.h>
21042 main ()
21044 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21045 timespec tp;
21046 #endif
21047 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21048 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21051 return 0;
21053 _ACEOF
21054 if ac_fn_cxx_try_compile "$LINENO"; then :
21055 ac_has_clock_monotonic_syscall=yes
21056 else
21057 ac_has_clock_monotonic_syscall=no
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21061 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21062 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21064 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21066 ac_has_clock_monotonic=yes
21067 ac_has_clock_realtime=yes
21068 fi;;
21069 esac
21072 if test x"$ac_has_clock_monotonic" = x"yes"; then
21074 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21078 if test x"$ac_has_clock_realtime" = x"yes"; then
21080 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21084 if test x"$ac_has_sched_yield" = x"yes"; then
21086 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21090 if test x"$ac_has_nanosleep" = x"yes"; then
21092 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21094 else
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21096 $as_echo_n "checking for sleep... " >&6; }
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099 #include <unistd.h>
21101 main ()
21103 sleep(1)
21105 return 0;
21107 _ACEOF
21108 if ac_fn_cxx_try_compile "$LINENO"; then :
21109 ac_has_sleep=yes
21110 else
21111 ac_has_sleep=no
21113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21114 if test x"$ac_has_sleep" = x"yes"; then
21116 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21120 $as_echo "$ac_has_sleep" >&6; }
21121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21122 $as_echo_n "checking for usleep... " >&6; }
21123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21124 /* end confdefs.h. */
21125 #include <unistd.h>
21127 main ()
21129 sleep(1);
21130 usleep(100);
21132 return 0;
21134 _ACEOF
21135 if ac_fn_cxx_try_compile "$LINENO"; then :
21136 ac_has_usleep=yes
21137 else
21138 ac_has_usleep=no
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141 if test x"$ac_has_usleep" = x"yes"; then
21143 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21147 $as_echo "$ac_has_usleep" >&6; }
21150 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21152 $as_echo_n "checking for Sleep... " >&6; }
21153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21155 #include <windows.h>
21157 main ()
21159 Sleep(1)
21161 return 0;
21163 _ACEOF
21164 if ac_fn_cxx_try_compile "$LINENO"; then :
21165 ac_has_win32_sleep=yes
21166 else
21167 ac_has_win32_sleep=no
21169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21170 if test x"$ac_has_win32_sleep" = x"yes"; then
21172 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21176 $as_echo "$ac_has_win32_sleep" >&6; }
21181 CXXFLAGS="$ac_save_CXXFLAGS"
21182 LIBS="$ac_save_LIBS"
21183 ac_ext=c
21184 ac_cpp='$CPP $CPPFLAGS'
21185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21191 # Check for tmpnam which is obsolescent in POSIX.1-2008
21193 ac_ext=cpp
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199 ac_save_CXXFLAGS="$CXXFLAGS"
21200 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21202 $as_echo_n "checking for tmpnam... " >&6; }
21203 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21204 $as_echo_n "(cached) " >&6
21205 else
21206 if test x$gcc_no_link = xyes; then
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <stdio.h>
21211 main ()
21213 char *tmp = tmpnam(NULL);
21215 return 0;
21217 _ACEOF
21218 if ac_fn_cxx_try_compile "$LINENO"; then :
21219 glibcxx_cv_TMPNAM=yes
21220 else
21221 glibcxx_cv_TMPNAM=no
21223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21224 else
21225 if test x$gcc_no_link = xyes; then
21226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #include <stdio.h>
21232 main ()
21234 char *tmp = tmpnam(NULL);
21236 return 0;
21238 _ACEOF
21239 if ac_fn_cxx_try_link "$LINENO"; then :
21240 glibcxx_cv_TMPNAM=yes
21241 else
21242 glibcxx_cv_TMPNAM=no
21244 rm -f core conftest.err conftest.$ac_objext \
21245 conftest$ac_exeext conftest.$ac_ext
21250 if test $glibcxx_cv_TMPNAM = yes; then
21252 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21256 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21257 CXXFLAGS="$ac_save_CXXFLAGS"
21258 ac_ext=c
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21267 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21268 if test "x$ac_cv_header_locale_h" = x""yes; then :
21270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21271 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21272 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21273 $as_echo_n "(cached) " >&6
21274 else
21275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21276 /* end confdefs.h. */
21277 #include <locale.h>
21279 main ()
21281 return LC_MESSAGES
21283 return 0;
21285 _ACEOF
21286 if ac_fn_c_try_compile "$LINENO"; then :
21287 ac_cv_val_LC_MESSAGES=yes
21288 else
21289 ac_cv_val_LC_MESSAGES=no
21291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21294 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21295 if test $ac_cv_val_LC_MESSAGES = yes; then
21297 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21306 # For hardware_concurrency
21307 for ac_header in sys/sysinfo.h
21308 do :
21309 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21310 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21311 cat >>confdefs.h <<_ACEOF
21312 #define HAVE_SYS_SYSINFO_H 1
21313 _ACEOF
21317 done
21322 ac_ext=cpp
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21328 ac_save_CXXFLAGS="$CXXFLAGS"
21329 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21332 $as_echo_n "checking for get_nprocs... " >&6; }
21333 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21334 $as_echo_n "(cached) " >&6
21335 else
21337 if test x$gcc_no_link = xyes; then
21338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21340 #include <sys/sysinfo.h>
21342 main ()
21344 int n = get_nprocs();
21346 return 0;
21348 _ACEOF
21349 if ac_fn_cxx_try_compile "$LINENO"; then :
21350 glibcxx_cv_GET_NPROCS=yes
21351 else
21352 glibcxx_cv_GET_NPROCS=no
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355 else
21356 if test x$gcc_no_link = xyes; then
21357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <sys/sysinfo.h>
21363 main ()
21365 int n = get_nprocs();
21367 return 0;
21369 _ACEOF
21370 if ac_fn_cxx_try_link "$LINENO"; then :
21371 glibcxx_cv_GET_NPROCS=yes
21372 else
21373 glibcxx_cv_GET_NPROCS=no
21375 rm -f core conftest.err conftest.$ac_objext \
21376 conftest$ac_exeext conftest.$ac_ext
21381 if test $glibcxx_cv_GET_NPROCS = yes; then
21383 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21387 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21389 CXXFLAGS="$ac_save_CXXFLAGS"
21390 ac_ext=c
21391 ac_cpp='$CPP $CPPFLAGS'
21392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21397 for ac_header in unistd.h
21398 do :
21399 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21400 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21401 cat >>confdefs.h <<_ACEOF
21402 #define HAVE_UNISTD_H 1
21403 _ACEOF
21407 done
21412 ac_ext=cpp
21413 ac_cpp='$CXXCPP $CPPFLAGS'
21414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21418 ac_save_CXXFLAGS="$CXXFLAGS"
21419 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21422 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21423 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21424 $as_echo_n "(cached) " >&6
21425 else
21427 if test x$gcc_no_link = xyes; then
21428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h. */
21430 #include <unistd.h>
21432 main ()
21434 int n = sysconf(_SC_NPROCESSORS_ONLN);
21436 return 0;
21438 _ACEOF
21439 if ac_fn_cxx_try_compile "$LINENO"; then :
21440 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21441 else
21442 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 else
21446 if test x$gcc_no_link = xyes; then
21447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21450 /* end confdefs.h. */
21451 #include <unistd.h>
21453 main ()
21455 int n = sysconf(_SC_NPROCESSORS_ONLN);
21457 return 0;
21459 _ACEOF
21460 if ac_fn_cxx_try_link "$LINENO"; then :
21461 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21462 else
21463 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21465 rm -f core conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21471 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21473 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21477 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21479 CXXFLAGS="$ac_save_CXXFLAGS"
21480 ac_ext=c
21481 ac_cpp='$CPP $CPPFLAGS'
21482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21490 ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21496 ac_save_CXXFLAGS="$CXXFLAGS"
21497 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21500 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21501 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21502 $as_echo_n "(cached) " >&6
21503 else
21505 if test x$gcc_no_link = xyes; then
21506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21507 /* end confdefs.h. */
21508 #include <unistd.h>
21510 main ()
21512 int n = sysconf(_SC_NPROC_ONLN);
21514 return 0;
21516 _ACEOF
21517 if ac_fn_cxx_try_compile "$LINENO"; then :
21518 glibcxx_cv_SC_NPROC_ONLN=yes
21519 else
21520 glibcxx_cv_SC_NPROC_ONLN=no
21522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21523 else
21524 if test x$gcc_no_link = xyes; then
21525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <unistd.h>
21531 main ()
21533 int n = sysconf(_SC_NPROC_ONLN);
21535 return 0;
21537 _ACEOF
21538 if ac_fn_cxx_try_link "$LINENO"; then :
21539 glibcxx_cv_SC_NPROC_ONLN=yes
21540 else
21541 glibcxx_cv_SC_NPROC_ONLN=no
21543 rm -f core conftest.err conftest.$ac_objext \
21544 conftest$ac_exeext conftest.$ac_ext
21549 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21551 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21555 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21557 CXXFLAGS="$ac_save_CXXFLAGS"
21558 ac_ext=c
21559 ac_cpp='$CPP $CPPFLAGS'
21560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568 ac_ext=cpp
21569 ac_cpp='$CXXCPP $CPPFLAGS'
21570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21574 ac_save_CXXFLAGS="$CXXFLAGS"
21575 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21578 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21579 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21580 $as_echo_n "(cached) " >&6
21581 else
21583 if test x$gcc_no_link = xyes; then
21584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21585 /* end confdefs.h. */
21586 #include <pthread.h>
21588 main ()
21590 int n = pthread_num_processors_np();
21592 return 0;
21594 _ACEOF
21595 if ac_fn_cxx_try_compile "$LINENO"; then :
21596 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21597 else
21598 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21601 else
21602 if test x$gcc_no_link = xyes; then
21603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21607 #include <pthread.h>
21609 main ()
21611 int n = pthread_num_processors_np();
21613 return 0;
21615 _ACEOF
21616 if ac_fn_cxx_try_link "$LINENO"; then :
21617 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21618 else
21619 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21621 rm -f core conftest.err conftest.$ac_objext \
21622 conftest$ac_exeext conftest.$ac_ext
21627 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21629 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21633 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21635 CXXFLAGS="$ac_save_CXXFLAGS"
21636 ac_ext=c
21637 ac_cpp='$CPP $CPPFLAGS'
21638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21646 ac_ext=cpp
21647 ac_cpp='$CXXCPP $CPPFLAGS'
21648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21652 ac_save_CXXFLAGS="$CXXFLAGS"
21653 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21656 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21657 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21658 $as_echo_n "(cached) " >&6
21659 else
21661 if test x$gcc_no_link = xyes; then
21662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21663 /* end confdefs.h. */
21665 #include <stddef.h>
21666 #include <sys/sysctl.h>
21669 main ()
21672 int count;
21673 size_t size = sizeof(count);
21674 int mib[] = { CTL_HW, HW_NCPU };
21675 sysctl(mib, 2, &count, &size, NULL, 0);
21678 return 0;
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682 glibcxx_cv_SYSCTL_HW_NCPU=yes
21683 else
21684 glibcxx_cv_SYSCTL_HW_NCPU=no
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 else
21688 if test x$gcc_no_link = xyes; then
21689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21692 /* end confdefs.h. */
21694 #include <stddef.h>
21695 #include <sys/sysctl.h>
21698 main ()
21701 int count;
21702 size_t size = sizeof(count);
21703 int mib[] = { CTL_HW, HW_NCPU };
21704 sysctl(mib, 2, &count, &size, NULL, 0);
21707 return 0;
21709 _ACEOF
21710 if ac_fn_cxx_try_link "$LINENO"; then :
21711 glibcxx_cv_SYSCTL_HW_NCPU=yes
21712 else
21713 glibcxx_cv_SYSCTL_HW_NCPU=no
21715 rm -f core conftest.err conftest.$ac_objext \
21716 conftest$ac_exeext conftest.$ac_ext
21721 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21723 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21727 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21729 CXXFLAGS="$ac_save_CXXFLAGS"
21730 ac_ext=c
21731 ac_cpp='$CPP $CPPFLAGS'
21732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21739 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21740 # Note that this test has to be run with the C language.
21741 # Otherwise, sdt.h will try to include some headers from
21742 # libstdc++ itself.
21744 ac_ext=c
21745 ac_cpp='$CPP $CPPFLAGS'
21746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21750 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21751 $as_echo_n "(cached) " >&6
21752 else
21754 # Because we have to run the test in C, we use grep rather
21755 # than the compiler to check for the bug. The bug is that
21756 # were strings without trailing whitespace, causing g++
21757 # to look for operator"". The pattern searches for the fixed
21758 # output.
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21762 #include <sys/sdt.h>
21763 int f() { STAP_PROBE(hi, bob); }
21765 _ACEOF
21766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21767 $EGREP " \",\" " >/dev/null 2>&1; then :
21768 glibcxx_cv_sys_sdt_h=yes
21769 else
21770 glibcxx_cv_sys_sdt_h=no
21772 rm -f conftest*
21777 ac_ext=c
21778 ac_cpp='$CPP $CPPFLAGS'
21779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21783 if test $glibcxx_cv_sys_sdt_h = yes; then
21785 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21789 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21792 # Check for available headers.
21793 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21794 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21795 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21796 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21797 wchar.h wctype.h
21798 do :
21799 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21800 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21801 eval as_val=\$$as_ac_Header
21802 if test "x$as_val" = x""yes; then :
21803 cat >>confdefs.h <<_ACEOF
21804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21805 _ACEOF
21809 done
21812 # Only do link tests if native. Else, hardcode.
21813 if $GLIBCXX_IS_NATIVE; then
21815 # We can do more elaborate tests that assume a working linker.
21816 CANADIAN=no
21820 # Check whether --with-gnu-ld was given.
21821 if test "${with_gnu_ld+set}" = set; then :
21822 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21823 else
21824 with_gnu_ld=no
21827 ac_prog=ld
21828 if test "$GCC" = yes; then
21829 # Check if gcc -print-prog-name=ld gives a path.
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21831 $as_echo_n "checking for ld used by $CC... " >&6; }
21832 case $host in
21833 *-*-mingw*)
21834 # gcc leaves a trailing carriage return which upsets mingw
21835 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21837 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21838 esac
21839 case $ac_prog in
21840 # Accept absolute paths.
21841 [\\/]* | ?:[\\/]*)
21842 re_direlt='/[^/][^/]*/\.\./'
21843 # Canonicalize the pathname of ld
21844 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21845 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21846 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21847 done
21848 test -z "$LD" && LD="$ac_prog"
21851 # If it fails, then pretend we aren't using GCC.
21852 ac_prog=ld
21855 # If it is relative, then search for the first ld in PATH.
21856 with_gnu_ld=unknown
21858 esac
21859 elif test "$with_gnu_ld" = yes; then
21860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21861 $as_echo_n "checking for GNU ld... " >&6; }
21862 else
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21864 $as_echo_n "checking for non-GNU ld... " >&6; }
21866 if test "${lt_cv_path_LD+set}" = set; then :
21867 $as_echo_n "(cached) " >&6
21868 else
21869 if test -z "$LD"; then
21870 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21871 for ac_dir in $PATH; do
21872 IFS="$lt_save_ifs"
21873 test -z "$ac_dir" && ac_dir=.
21874 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21875 lt_cv_path_LD="$ac_dir/$ac_prog"
21876 # Check to see if the program is GNU ld. I'd rather use --version,
21877 # but apparently some variants of GNU ld only accept -v.
21878 # Break only if it was the GNU/non-GNU ld that we prefer.
21879 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21880 *GNU* | *'with BFD'*)
21881 test "$with_gnu_ld" != no && break
21884 test "$with_gnu_ld" != yes && break
21886 esac
21888 done
21889 IFS="$lt_save_ifs"
21890 else
21891 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21895 LD="$lt_cv_path_LD"
21896 if test -n "$LD"; then
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21898 $as_echo "$LD" >&6; }
21899 else
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21901 $as_echo "no" >&6; }
21903 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21905 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21906 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21909 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21910 case `$LD -v 2>&1 </dev/null` in
21911 *GNU* | *'with BFD'*)
21912 lt_cv_prog_gnu_ld=yes
21915 lt_cv_prog_gnu_ld=no
21917 esac
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21920 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21921 with_gnu_ld=$lt_cv_prog_gnu_ld
21929 # If we're not using GNU ld, then there's no point in even trying these
21930 # tests. Check for that first. We should have already tested for gld
21931 # by now (in libtool), but require it now just to be safe...
21932 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21933 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21937 # The name set by libtool depends on the version of libtool. Shame on us
21938 # for depending on an impl detail, but c'est la vie. Older versions used
21939 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21940 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21941 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21942 # set (hence we're using an older libtool), then set it.
21943 if test x${with_gnu_ld+set} != xset; then
21944 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21945 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21946 with_gnu_ld=no
21947 else
21948 with_gnu_ld=$ac_cv_prog_gnu_ld
21952 # Start by getting the version number. I think the libtool test already
21953 # does some of this, but throws away the result.
21954 glibcxx_ld_is_gold=no
21955 if test x"$with_gnu_ld" = x"yes"; then
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21957 $as_echo_n "checking for ld version... " >&6; }
21959 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21960 glibcxx_ld_is_gold=yes
21962 ldver=`$LD --version 2>/dev/null |
21963 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
21965 glibcxx_gnu_ld_version=`echo $ldver | \
21966 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21968 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21971 # Set --gc-sections.
21972 glibcxx_have_gc_sections=no
21973 if test "$glibcxx_ld_is_gold" = "yes"; then
21974 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21975 glibcxx_have_gc_sections=yes
21977 else
21978 glibcxx_gcsections_min_ld=21602
21979 if test x"$with_gnu_ld" = x"yes" &&
21980 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21981 glibcxx_have_gc_sections=yes
21984 if test "$glibcxx_have_gc_sections" = "yes"; then
21985 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21986 # NB: This flag only works reliably after 2.16.1. Configure tests
21987 # for this are difficult, so hard wire a value that should work.
21989 ac_test_CFLAGS="${CFLAGS+set}"
21990 ac_save_CFLAGS="$CFLAGS"
21991 CFLAGS='-Wl,--gc-sections'
21993 # Check for -Wl,--gc-sections
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21995 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21996 if test x$gcc_no_link = xyes; then
21997 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22000 /* end confdefs.h. */
22001 int one(void) { return 1; }
22002 int two(void) { return 2; }
22005 main ()
22007 two();
22009 return 0;
22011 _ACEOF
22012 if ac_fn_c_try_link "$LINENO"; then :
22013 ac_gcsections=yes
22014 else
22015 ac_gcsections=no
22017 rm -f core conftest.err conftest.$ac_objext \
22018 conftest$ac_exeext conftest.$ac_ext
22019 if test "$ac_gcsections" = "yes"; then
22020 rm -f conftest.c
22021 touch conftest.c
22022 if $CC -c conftest.c; then
22023 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22024 grep "Warning: gc-sections option ignored" > /dev/null; then
22025 ac_gcsections=no
22028 rm -f conftest.c conftest.o conftest
22030 if test "$ac_gcsections" = "yes"; then
22031 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22034 $as_echo "$ac_gcsections" >&6; }
22036 if test "$ac_test_CFLAGS" = set; then
22037 CFLAGS="$ac_save_CFLAGS"
22038 else
22039 # this is the suspicious part
22040 CFLAGS=''
22044 # Set -z,relro.
22045 # Note this is only for shared objects.
22046 ac_ld_relro=no
22047 if test x"$with_gnu_ld" = x"yes"; then
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22049 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22050 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22051 if test -n "$cxx_z_relo"; then
22052 OPT_LDFLAGS="-Wl,-z,relro"
22053 ac_ld_relro=yes
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22056 $as_echo "$ac_ld_relro" >&6; }
22059 # Set linker optimization flags.
22060 if test x"$with_gnu_ld" = x"yes"; then
22061 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22069 ac_save_CXXFLAGS="$CXXFLAGS"
22070 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22073 $as_echo_n "checking for sin in -lm... " >&6; }
22074 if test "${ac_cv_lib_m_sin+set}" = set; then :
22075 $as_echo_n "(cached) " >&6
22076 else
22077 ac_check_lib_save_LIBS=$LIBS
22078 LIBS="-lm $LIBS"
22079 if test x$gcc_no_link = xyes; then
22080 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22083 /* end confdefs.h. */
22085 /* Override any GCC internal prototype to avoid an error.
22086 Use char because int might match the return type of a GCC
22087 builtin and then its argument prototype would still apply. */
22088 #ifdef __cplusplus
22089 extern "C"
22090 #endif
22091 char sin ();
22093 main ()
22095 return sin ();
22097 return 0;
22099 _ACEOF
22100 if ac_fn_c_try_link "$LINENO"; then :
22101 ac_cv_lib_m_sin=yes
22102 else
22103 ac_cv_lib_m_sin=no
22105 rm -f core conftest.err conftest.$ac_objext \
22106 conftest$ac_exeext conftest.$ac_ext
22107 LIBS=$ac_check_lib_save_LIBS
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22110 $as_echo "$ac_cv_lib_m_sin" >&6; }
22111 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22112 libm="-lm"
22115 ac_save_LIBS="$LIBS"
22116 LIBS="$LIBS $libm"
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22121 $as_echo_n "checking for isinf declaration... " >&6; }
22122 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22123 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22124 $as_echo_n "(cached) " >&6
22125 else
22128 ac_ext=cpp
22129 ac_cpp='$CXXCPP $CPPFLAGS'
22130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22135 /* end confdefs.h. */
22136 #include <math.h>
22137 #ifdef HAVE_IEEEFP_H
22138 #include <ieeefp.h>
22139 #endif
22142 main ()
22144 isinf(0);
22146 return 0;
22148 _ACEOF
22149 if ac_fn_cxx_try_compile "$LINENO"; then :
22150 glibcxx_cv_func_isinf_use=yes
22151 else
22152 glibcxx_cv_func_isinf_use=no
22154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22155 ac_ext=c
22156 ac_cpp='$CPP $CPPFLAGS'
22157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22166 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22168 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22169 for ac_func in isinf
22170 do :
22171 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22172 if test "x$ac_cv_func_isinf" = x""yes; then :
22173 cat >>confdefs.h <<_ACEOF
22174 #define HAVE_ISINF 1
22175 _ACEOF
22178 done
22180 else
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22183 $as_echo_n "checking for _isinf declaration... " >&6; }
22184 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22185 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22186 $as_echo_n "(cached) " >&6
22187 else
22190 ac_ext=cpp
22191 ac_cpp='$CXXCPP $CPPFLAGS'
22192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22197 /* end confdefs.h. */
22198 #include <math.h>
22199 #ifdef HAVE_IEEEFP_H
22200 #include <ieeefp.h>
22201 #endif
22204 main ()
22206 _isinf(0);
22208 return 0;
22210 _ACEOF
22211 if ac_fn_cxx_try_compile "$LINENO"; then :
22212 glibcxx_cv_func__isinf_use=yes
22213 else
22214 glibcxx_cv_func__isinf_use=no
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 ac_ext=c
22218 ac_cpp='$CPP $CPPFLAGS'
22219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22228 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22230 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22231 for ac_func in _isinf
22232 do :
22233 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22234 if test "x$ac_cv_func__isinf" = x""yes; then :
22235 cat >>confdefs.h <<_ACEOF
22236 #define HAVE__ISINF 1
22237 _ACEOF
22240 done
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22250 $as_echo_n "checking for isnan declaration... " >&6; }
22251 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22252 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22253 $as_echo_n "(cached) " >&6
22254 else
22257 ac_ext=cpp
22258 ac_cpp='$CXXCPP $CPPFLAGS'
22259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22264 /* end confdefs.h. */
22265 #include <math.h>
22266 #ifdef HAVE_IEEEFP_H
22267 #include <ieeefp.h>
22268 #endif
22271 main ()
22273 isnan(0);
22275 return 0;
22277 _ACEOF
22278 if ac_fn_cxx_try_compile "$LINENO"; then :
22279 glibcxx_cv_func_isnan_use=yes
22280 else
22281 glibcxx_cv_func_isnan_use=no
22283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22284 ac_ext=c
22285 ac_cpp='$CPP $CPPFLAGS'
22286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22295 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22297 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22298 for ac_func in isnan
22299 do :
22300 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22301 if test "x$ac_cv_func_isnan" = x""yes; then :
22302 cat >>confdefs.h <<_ACEOF
22303 #define HAVE_ISNAN 1
22304 _ACEOF
22307 done
22309 else
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22312 $as_echo_n "checking for _isnan declaration... " >&6; }
22313 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22314 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22315 $as_echo_n "(cached) " >&6
22316 else
22319 ac_ext=cpp
22320 ac_cpp='$CXXCPP $CPPFLAGS'
22321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22326 /* end confdefs.h. */
22327 #include <math.h>
22328 #ifdef HAVE_IEEEFP_H
22329 #include <ieeefp.h>
22330 #endif
22333 main ()
22335 _isnan(0);
22337 return 0;
22339 _ACEOF
22340 if ac_fn_cxx_try_compile "$LINENO"; then :
22341 glibcxx_cv_func__isnan_use=yes
22342 else
22343 glibcxx_cv_func__isnan_use=no
22345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22346 ac_ext=c
22347 ac_cpp='$CPP $CPPFLAGS'
22348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22357 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22359 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22360 for ac_func in _isnan
22361 do :
22362 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22363 if test "x$ac_cv_func__isnan" = x""yes; then :
22364 cat >>confdefs.h <<_ACEOF
22365 #define HAVE__ISNAN 1
22366 _ACEOF
22369 done
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22379 $as_echo_n "checking for finite declaration... " >&6; }
22380 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22381 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22382 $as_echo_n "(cached) " >&6
22383 else
22386 ac_ext=cpp
22387 ac_cpp='$CXXCPP $CPPFLAGS'
22388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22393 /* end confdefs.h. */
22394 #include <math.h>
22395 #ifdef HAVE_IEEEFP_H
22396 #include <ieeefp.h>
22397 #endif
22400 main ()
22402 finite(0);
22404 return 0;
22406 _ACEOF
22407 if ac_fn_cxx_try_compile "$LINENO"; then :
22408 glibcxx_cv_func_finite_use=yes
22409 else
22410 glibcxx_cv_func_finite_use=no
22412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22413 ac_ext=c
22414 ac_cpp='$CPP $CPPFLAGS'
22415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22424 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22426 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22427 for ac_func in finite
22428 do :
22429 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22430 if test "x$ac_cv_func_finite" = x""yes; then :
22431 cat >>confdefs.h <<_ACEOF
22432 #define HAVE_FINITE 1
22433 _ACEOF
22436 done
22438 else
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22441 $as_echo_n "checking for _finite declaration... " >&6; }
22442 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22443 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22444 $as_echo_n "(cached) " >&6
22445 else
22448 ac_ext=cpp
22449 ac_cpp='$CXXCPP $CPPFLAGS'
22450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22455 /* end confdefs.h. */
22456 #include <math.h>
22457 #ifdef HAVE_IEEEFP_H
22458 #include <ieeefp.h>
22459 #endif
22462 main ()
22464 _finite(0);
22466 return 0;
22468 _ACEOF
22469 if ac_fn_cxx_try_compile "$LINENO"; then :
22470 glibcxx_cv_func__finite_use=yes
22471 else
22472 glibcxx_cv_func__finite_use=no
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 ac_ext=c
22476 ac_cpp='$CPP $CPPFLAGS'
22477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22486 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22488 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22489 for ac_func in _finite
22490 do :
22491 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22492 if test "x$ac_cv_func__finite" = x""yes; then :
22493 cat >>confdefs.h <<_ACEOF
22494 #define HAVE__FINITE 1
22495 _ACEOF
22498 done
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22508 $as_echo_n "checking for sincos declaration... " >&6; }
22509 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22510 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22511 $as_echo_n "(cached) " >&6
22512 else
22515 ac_ext=cpp
22516 ac_cpp='$CXXCPP $CPPFLAGS'
22517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22522 /* end confdefs.h. */
22523 #include <math.h>
22525 main ()
22527 sincos(0, 0, 0);
22529 return 0;
22531 _ACEOF
22532 if ac_fn_cxx_try_compile "$LINENO"; then :
22533 glibcxx_cv_func_sincos_use=yes
22534 else
22535 glibcxx_cv_func_sincos_use=no
22537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22538 ac_ext=c
22539 ac_cpp='$CPP $CPPFLAGS'
22540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22549 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22551 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22552 for ac_func in sincos
22553 do :
22554 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22555 if test "x$ac_cv_func_sincos" = x""yes; then :
22556 cat >>confdefs.h <<_ACEOF
22557 #define HAVE_SINCOS 1
22558 _ACEOF
22561 done
22563 else
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22566 $as_echo_n "checking for _sincos declaration... " >&6; }
22567 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22568 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22569 $as_echo_n "(cached) " >&6
22570 else
22573 ac_ext=cpp
22574 ac_cpp='$CXXCPP $CPPFLAGS'
22575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22580 /* end confdefs.h. */
22581 #include <math.h>
22583 main ()
22585 _sincos(0, 0, 0);
22587 return 0;
22589 _ACEOF
22590 if ac_fn_cxx_try_compile "$LINENO"; then :
22591 glibcxx_cv_func__sincos_use=yes
22592 else
22593 glibcxx_cv_func__sincos_use=no
22595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22596 ac_ext=c
22597 ac_cpp='$CPP $CPPFLAGS'
22598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22607 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22609 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22610 for ac_func in _sincos
22611 do :
22612 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22613 if test "x$ac_cv_func__sincos" = x""yes; then :
22614 cat >>confdefs.h <<_ACEOF
22615 #define HAVE__SINCOS 1
22616 _ACEOF
22619 done
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22629 $as_echo_n "checking for fpclass declaration... " >&6; }
22630 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22631 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22632 $as_echo_n "(cached) " >&6
22633 else
22636 ac_ext=cpp
22637 ac_cpp='$CXXCPP $CPPFLAGS'
22638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22643 /* end confdefs.h. */
22644 #include <math.h>
22645 #ifdef HAVE_IEEEFP_H
22646 #include <ieeefp.h>
22647 #endif
22650 main ()
22652 fpclass(0);
22654 return 0;
22656 _ACEOF
22657 if ac_fn_cxx_try_compile "$LINENO"; then :
22658 glibcxx_cv_func_fpclass_use=yes
22659 else
22660 glibcxx_cv_func_fpclass_use=no
22662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22663 ac_ext=c
22664 ac_cpp='$CPP $CPPFLAGS'
22665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22674 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22676 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22677 for ac_func in fpclass
22678 do :
22679 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22680 if test "x$ac_cv_func_fpclass" = x""yes; then :
22681 cat >>confdefs.h <<_ACEOF
22682 #define HAVE_FPCLASS 1
22683 _ACEOF
22686 done
22688 else
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22691 $as_echo_n "checking for _fpclass declaration... " >&6; }
22692 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22693 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22694 $as_echo_n "(cached) " >&6
22695 else
22698 ac_ext=cpp
22699 ac_cpp='$CXXCPP $CPPFLAGS'
22700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22705 /* end confdefs.h. */
22706 #include <math.h>
22707 #ifdef HAVE_IEEEFP_H
22708 #include <ieeefp.h>
22709 #endif
22712 main ()
22714 _fpclass(0);
22716 return 0;
22718 _ACEOF
22719 if ac_fn_cxx_try_compile "$LINENO"; then :
22720 glibcxx_cv_func__fpclass_use=yes
22721 else
22722 glibcxx_cv_func__fpclass_use=no
22724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 ac_ext=c
22726 ac_cpp='$CPP $CPPFLAGS'
22727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22736 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22738 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22739 for ac_func in _fpclass
22740 do :
22741 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22742 if test "x$ac_cv_func__fpclass" = x""yes; then :
22743 cat >>confdefs.h <<_ACEOF
22744 #define HAVE__FPCLASS 1
22745 _ACEOF
22748 done
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22758 $as_echo_n "checking for qfpclass declaration... " >&6; }
22759 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22760 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22761 $as_echo_n "(cached) " >&6
22762 else
22765 ac_ext=cpp
22766 ac_cpp='$CXXCPP $CPPFLAGS'
22767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22772 /* end confdefs.h. */
22773 #include <math.h>
22774 #ifdef HAVE_IEEEFP_H
22775 #include <ieeefp.h>
22776 #endif
22779 main ()
22781 qfpclass(0);
22783 return 0;
22785 _ACEOF
22786 if ac_fn_cxx_try_compile "$LINENO"; then :
22787 glibcxx_cv_func_qfpclass_use=yes
22788 else
22789 glibcxx_cv_func_qfpclass_use=no
22791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22792 ac_ext=c
22793 ac_cpp='$CPP $CPPFLAGS'
22794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22803 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22805 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22806 for ac_func in qfpclass
22807 do :
22808 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22809 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22810 cat >>confdefs.h <<_ACEOF
22811 #define HAVE_QFPCLASS 1
22812 _ACEOF
22815 done
22817 else
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22820 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22821 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22822 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22823 $as_echo_n "(cached) " >&6
22824 else
22827 ac_ext=cpp
22828 ac_cpp='$CXXCPP $CPPFLAGS'
22829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22834 /* end confdefs.h. */
22835 #include <math.h>
22836 #ifdef HAVE_IEEEFP_H
22837 #include <ieeefp.h>
22838 #endif
22841 main ()
22843 _qfpclass(0);
22845 return 0;
22847 _ACEOF
22848 if ac_fn_cxx_try_compile "$LINENO"; then :
22849 glibcxx_cv_func__qfpclass_use=yes
22850 else
22851 glibcxx_cv_func__qfpclass_use=no
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 ac_ext=c
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22865 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22867 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22868 for ac_func in _qfpclass
22869 do :
22870 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22871 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22872 cat >>confdefs.h <<_ACEOF
22873 #define HAVE__QFPCLASS 1
22874 _ACEOF
22877 done
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22887 $as_echo_n "checking for hypot declaration... " >&6; }
22888 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22889 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22904 main ()
22906 hypot(0, 0);
22908 return 0;
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func_hypot_use=yes
22913 else
22914 glibcxx_cv_func_hypot_use=no
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22928 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22930 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22931 for ac_func in hypot
22932 do :
22933 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22934 if test "x$ac_cv_func_hypot" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE_HYPOT 1
22937 _ACEOF
22940 done
22942 else
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22945 $as_echo_n "checking for _hypot declaration... " >&6; }
22946 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22947 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22948 $as_echo_n "(cached) " >&6
22949 else
22952 ac_ext=cpp
22953 ac_cpp='$CXXCPP $CPPFLAGS'
22954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22959 /* end confdefs.h. */
22960 #include <math.h>
22962 main ()
22964 _hypot(0, 0);
22966 return 0;
22968 _ACEOF
22969 if ac_fn_cxx_try_compile "$LINENO"; then :
22970 glibcxx_cv_func__hypot_use=yes
22971 else
22972 glibcxx_cv_func__hypot_use=no
22974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22975 ac_ext=c
22976 ac_cpp='$CPP $CPPFLAGS'
22977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22986 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22988 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22989 for ac_func in _hypot
22990 do :
22991 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22992 if test "x$ac_cv_func__hypot" = x""yes; then :
22993 cat >>confdefs.h <<_ACEOF
22994 #define HAVE__HYPOT 1
22995 _ACEOF
22998 done
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23008 $as_echo_n "checking for float trig functions... " >&6; }
23009 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
23010 $as_echo_n "(cached) " >&6
23011 else
23014 ac_ext=cpp
23015 ac_cpp='$CXXCPP $CPPFLAGS'
23016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23021 /* end confdefs.h. */
23022 #include <math.h>
23024 main ()
23026 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23028 return 0;
23030 _ACEOF
23031 if ac_fn_cxx_try_compile "$LINENO"; then :
23032 glibcxx_cv_func_float_trig_use=yes
23033 else
23034 glibcxx_cv_func_float_trig_use=no
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23037 ac_ext=c
23038 ac_cpp='$CPP $CPPFLAGS'
23039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23046 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23047 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23048 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23049 do :
23050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23052 eval as_val=\$$as_ac_var
23053 if test "x$as_val" = x""yes; then :
23054 cat >>confdefs.h <<_ACEOF
23055 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23056 _ACEOF
23059 done
23061 else
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23063 $as_echo_n "checking for _float trig functions... " >&6; }
23064 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
23065 $as_echo_n "(cached) " >&6
23066 else
23069 ac_ext=cpp
23070 ac_cpp='$CXXCPP $CPPFLAGS'
23071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23076 /* end confdefs.h. */
23077 #include <math.h>
23079 main ()
23081 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23083 return 0;
23085 _ACEOF
23086 if ac_fn_cxx_try_compile "$LINENO"; then :
23087 glibcxx_cv_func__float_trig_use=yes
23088 else
23089 glibcxx_cv_func__float_trig_use=no
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23092 ac_ext=c
23093 ac_cpp='$CPP $CPPFLAGS'
23094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23101 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23102 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23103 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23104 do :
23105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23107 eval as_val=\$$as_ac_var
23108 if test "x$as_val" = x""yes; then :
23109 cat >>confdefs.h <<_ACEOF
23110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23111 _ACEOF
23114 done
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23124 $as_echo_n "checking for float round functions... " >&6; }
23125 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23126 $as_echo_n "(cached) " >&6
23127 else
23130 ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h. */
23138 #include <math.h>
23140 main ()
23142 ceilf (0); floorf (0);
23144 return 0;
23146 _ACEOF
23147 if ac_fn_cxx_try_compile "$LINENO"; then :
23148 glibcxx_cv_func_float_round_use=yes
23149 else
23150 glibcxx_cv_func_float_round_use=no
23152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23153 ac_ext=c
23154 ac_cpp='$CPP $CPPFLAGS'
23155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23162 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23163 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23164 for ac_func in ceilf floorf
23165 do :
23166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23168 eval as_val=\$$as_ac_var
23169 if test "x$as_val" = x""yes; then :
23170 cat >>confdefs.h <<_ACEOF
23171 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23172 _ACEOF
23175 done
23177 else
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23179 $as_echo_n "checking for _float round functions... " >&6; }
23180 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23181 $as_echo_n "(cached) " >&6
23182 else
23185 ac_ext=cpp
23186 ac_cpp='$CXXCPP $CPPFLAGS'
23187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h. */
23193 #include <math.h>
23195 main ()
23197 _ceilf (0); _floorf (0);
23199 return 0;
23201 _ACEOF
23202 if ac_fn_cxx_try_compile "$LINENO"; then :
23203 glibcxx_cv_func__float_round_use=yes
23204 else
23205 glibcxx_cv_func__float_round_use=no
23207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23208 ac_ext=c
23209 ac_cpp='$CPP $CPPFLAGS'
23210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23217 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23218 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23219 for ac_func in _ceilf _floorf
23220 do :
23221 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23222 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23223 eval as_val=\$$as_ac_var
23224 if test "x$as_val" = x""yes; then :
23225 cat >>confdefs.h <<_ACEOF
23226 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23227 _ACEOF
23230 done
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23241 $as_echo_n "checking for expf declaration... " >&6; }
23242 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23243 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23244 $as_echo_n "(cached) " >&6
23245 else
23248 ac_ext=cpp
23249 ac_cpp='$CXXCPP $CPPFLAGS'
23250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23255 /* end confdefs.h. */
23256 #include <math.h>
23257 #ifdef HAVE_IEEEFP_H
23258 #include <ieeefp.h>
23259 #endif
23262 main ()
23264 expf(0);
23266 return 0;
23268 _ACEOF
23269 if ac_fn_cxx_try_compile "$LINENO"; then :
23270 glibcxx_cv_func_expf_use=yes
23271 else
23272 glibcxx_cv_func_expf_use=no
23274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23275 ac_ext=c
23276 ac_cpp='$CPP $CPPFLAGS'
23277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23286 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23288 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23289 for ac_func in expf
23290 do :
23291 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23292 if test "x$ac_cv_func_expf" = x""yes; then :
23293 cat >>confdefs.h <<_ACEOF
23294 #define HAVE_EXPF 1
23295 _ACEOF
23298 done
23300 else
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23303 $as_echo_n "checking for _expf declaration... " >&6; }
23304 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23305 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23306 $as_echo_n "(cached) " >&6
23307 else
23310 ac_ext=cpp
23311 ac_cpp='$CXXCPP $CPPFLAGS'
23312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23317 /* end confdefs.h. */
23318 #include <math.h>
23319 #ifdef HAVE_IEEEFP_H
23320 #include <ieeefp.h>
23321 #endif
23324 main ()
23326 _expf(0);
23328 return 0;
23330 _ACEOF
23331 if ac_fn_cxx_try_compile "$LINENO"; then :
23332 glibcxx_cv_func__expf_use=yes
23333 else
23334 glibcxx_cv_func__expf_use=no
23336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337 ac_ext=c
23338 ac_cpp='$CPP $CPPFLAGS'
23339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23348 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23350 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23351 for ac_func in _expf
23352 do :
23353 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23354 if test "x$ac_cv_func__expf" = x""yes; then :
23355 cat >>confdefs.h <<_ACEOF
23356 #define HAVE__EXPF 1
23357 _ACEOF
23360 done
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23370 $as_echo_n "checking for isnanf declaration... " >&6; }
23371 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23372 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23373 $as_echo_n "(cached) " >&6
23374 else
23377 ac_ext=cpp
23378 ac_cpp='$CXXCPP $CPPFLAGS'
23379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23384 /* end confdefs.h. */
23385 #include <math.h>
23386 #ifdef HAVE_IEEEFP_H
23387 #include <ieeefp.h>
23388 #endif
23391 main ()
23393 isnanf(0);
23395 return 0;
23397 _ACEOF
23398 if ac_fn_cxx_try_compile "$LINENO"; then :
23399 glibcxx_cv_func_isnanf_use=yes
23400 else
23401 glibcxx_cv_func_isnanf_use=no
23403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23404 ac_ext=c
23405 ac_cpp='$CPP $CPPFLAGS'
23406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23415 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23417 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23418 for ac_func in isnanf
23419 do :
23420 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23421 if test "x$ac_cv_func_isnanf" = x""yes; then :
23422 cat >>confdefs.h <<_ACEOF
23423 #define HAVE_ISNANF 1
23424 _ACEOF
23427 done
23429 else
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23432 $as_echo_n "checking for _isnanf declaration... " >&6; }
23433 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23434 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23435 $as_echo_n "(cached) " >&6
23436 else
23439 ac_ext=cpp
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h. */
23447 #include <math.h>
23448 #ifdef HAVE_IEEEFP_H
23449 #include <ieeefp.h>
23450 #endif
23453 main ()
23455 _isnanf(0);
23457 return 0;
23459 _ACEOF
23460 if ac_fn_cxx_try_compile "$LINENO"; then :
23461 glibcxx_cv_func__isnanf_use=yes
23462 else
23463 glibcxx_cv_func__isnanf_use=no
23465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23466 ac_ext=c
23467 ac_cpp='$CPP $CPPFLAGS'
23468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23477 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23479 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23480 for ac_func in _isnanf
23481 do :
23482 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23483 if test "x$ac_cv_func__isnanf" = x""yes; then :
23484 cat >>confdefs.h <<_ACEOF
23485 #define HAVE__ISNANF 1
23486 _ACEOF
23489 done
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23499 $as_echo_n "checking for isinff declaration... " >&6; }
23500 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23501 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23502 $as_echo_n "(cached) " >&6
23503 else
23506 ac_ext=cpp
23507 ac_cpp='$CXXCPP $CPPFLAGS'
23508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23514 #include <math.h>
23515 #ifdef HAVE_IEEEFP_H
23516 #include <ieeefp.h>
23517 #endif
23520 main ()
23522 isinff(0);
23524 return 0;
23526 _ACEOF
23527 if ac_fn_cxx_try_compile "$LINENO"; then :
23528 glibcxx_cv_func_isinff_use=yes
23529 else
23530 glibcxx_cv_func_isinff_use=no
23532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23533 ac_ext=c
23534 ac_cpp='$CPP $CPPFLAGS'
23535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23544 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23546 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23547 for ac_func in isinff
23548 do :
23549 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23550 if test "x$ac_cv_func_isinff" = x""yes; then :
23551 cat >>confdefs.h <<_ACEOF
23552 #define HAVE_ISINFF 1
23553 _ACEOF
23556 done
23558 else
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23561 $as_echo_n "checking for _isinff declaration... " >&6; }
23562 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23563 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23564 $as_echo_n "(cached) " >&6
23565 else
23568 ac_ext=cpp
23569 ac_cpp='$CXXCPP $CPPFLAGS'
23570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23575 /* end confdefs.h. */
23576 #include <math.h>
23577 #ifdef HAVE_IEEEFP_H
23578 #include <ieeefp.h>
23579 #endif
23582 main ()
23584 _isinff(0);
23586 return 0;
23588 _ACEOF
23589 if ac_fn_cxx_try_compile "$LINENO"; then :
23590 glibcxx_cv_func__isinff_use=yes
23591 else
23592 glibcxx_cv_func__isinff_use=no
23594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23595 ac_ext=c
23596 ac_cpp='$CPP $CPPFLAGS'
23597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23606 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23608 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23609 for ac_func in _isinff
23610 do :
23611 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23612 if test "x$ac_cv_func__isinff" = x""yes; then :
23613 cat >>confdefs.h <<_ACEOF
23614 #define HAVE__ISINFF 1
23615 _ACEOF
23618 done
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23628 $as_echo_n "checking for atan2f declaration... " >&6; }
23629 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23630 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23631 $as_echo_n "(cached) " >&6
23632 else
23635 ac_ext=cpp
23636 ac_cpp='$CXXCPP $CPPFLAGS'
23637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642 /* end confdefs.h. */
23643 #include <math.h>
23645 main ()
23647 atan2f(0, 0);
23649 return 0;
23651 _ACEOF
23652 if ac_fn_cxx_try_compile "$LINENO"; then :
23653 glibcxx_cv_func_atan2f_use=yes
23654 else
23655 glibcxx_cv_func_atan2f_use=no
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658 ac_ext=c
23659 ac_cpp='$CPP $CPPFLAGS'
23660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23669 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23671 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23672 for ac_func in atan2f
23673 do :
23674 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23675 if test "x$ac_cv_func_atan2f" = x""yes; then :
23676 cat >>confdefs.h <<_ACEOF
23677 #define HAVE_ATAN2F 1
23678 _ACEOF
23681 done
23683 else
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23686 $as_echo_n "checking for _atan2f declaration... " >&6; }
23687 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23688 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23689 $as_echo_n "(cached) " >&6
23690 else
23693 ac_ext=cpp
23694 ac_cpp='$CXXCPP $CPPFLAGS'
23695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23700 /* end confdefs.h. */
23701 #include <math.h>
23703 main ()
23705 _atan2f(0, 0);
23707 return 0;
23709 _ACEOF
23710 if ac_fn_cxx_try_compile "$LINENO"; then :
23711 glibcxx_cv_func__atan2f_use=yes
23712 else
23713 glibcxx_cv_func__atan2f_use=no
23715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23716 ac_ext=c
23717 ac_cpp='$CPP $CPPFLAGS'
23718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23727 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23729 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23730 for ac_func in _atan2f
23731 do :
23732 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23733 if test "x$ac_cv_func__atan2f" = x""yes; then :
23734 cat >>confdefs.h <<_ACEOF
23735 #define HAVE__ATAN2F 1
23736 _ACEOF
23739 done
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23749 $as_echo_n "checking for fabsf declaration... " >&6; }
23750 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23751 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23752 $as_echo_n "(cached) " >&6
23753 else
23756 ac_ext=cpp
23757 ac_cpp='$CXXCPP $CPPFLAGS'
23758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23763 /* end confdefs.h. */
23764 #include <math.h>
23765 #ifdef HAVE_IEEEFP_H
23766 #include <ieeefp.h>
23767 #endif
23770 main ()
23772 fabsf(0);
23774 return 0;
23776 _ACEOF
23777 if ac_fn_cxx_try_compile "$LINENO"; then :
23778 glibcxx_cv_func_fabsf_use=yes
23779 else
23780 glibcxx_cv_func_fabsf_use=no
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23794 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23796 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23797 for ac_func in fabsf
23798 do :
23799 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23800 if test "x$ac_cv_func_fabsf" = x""yes; then :
23801 cat >>confdefs.h <<_ACEOF
23802 #define HAVE_FABSF 1
23803 _ACEOF
23806 done
23808 else
23810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23811 $as_echo_n "checking for _fabsf declaration... " >&6; }
23812 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23813 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23814 $as_echo_n "(cached) " >&6
23815 else
23818 ac_ext=cpp
23819 ac_cpp='$CXXCPP $CPPFLAGS'
23820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23825 /* end confdefs.h. */
23826 #include <math.h>
23827 #ifdef HAVE_IEEEFP_H
23828 #include <ieeefp.h>
23829 #endif
23832 main ()
23834 _fabsf(0);
23836 return 0;
23838 _ACEOF
23839 if ac_fn_cxx_try_compile "$LINENO"; then :
23840 glibcxx_cv_func__fabsf_use=yes
23841 else
23842 glibcxx_cv_func__fabsf_use=no
23844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23845 ac_ext=c
23846 ac_cpp='$CPP $CPPFLAGS'
23847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23856 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23858 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23859 for ac_func in _fabsf
23860 do :
23861 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23862 if test "x$ac_cv_func__fabsf" = x""yes; then :
23863 cat >>confdefs.h <<_ACEOF
23864 #define HAVE__FABSF 1
23865 _ACEOF
23868 done
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23878 $as_echo_n "checking for fmodf declaration... " >&6; }
23879 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23880 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23881 $as_echo_n "(cached) " >&6
23882 else
23885 ac_ext=cpp
23886 ac_cpp='$CXXCPP $CPPFLAGS'
23887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23893 #include <math.h>
23895 main ()
23897 fmodf(0, 0);
23899 return 0;
23901 _ACEOF
23902 if ac_fn_cxx_try_compile "$LINENO"; then :
23903 glibcxx_cv_func_fmodf_use=yes
23904 else
23905 glibcxx_cv_func_fmodf_use=no
23907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23908 ac_ext=c
23909 ac_cpp='$CPP $CPPFLAGS'
23910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23919 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23921 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23922 for ac_func in fmodf
23923 do :
23924 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23925 if test "x$ac_cv_func_fmodf" = x""yes; then :
23926 cat >>confdefs.h <<_ACEOF
23927 #define HAVE_FMODF 1
23928 _ACEOF
23931 done
23933 else
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23936 $as_echo_n "checking for _fmodf declaration... " >&6; }
23937 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23938 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23943 ac_ext=cpp
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23950 /* end confdefs.h. */
23951 #include <math.h>
23953 main ()
23955 _fmodf(0, 0);
23957 return 0;
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func__fmodf_use=yes
23962 else
23963 glibcxx_cv_func__fmodf_use=no
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23977 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23979 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23980 for ac_func in _fmodf
23981 do :
23982 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23983 if test "x$ac_cv_func__fmodf" = x""yes; then :
23984 cat >>confdefs.h <<_ACEOF
23985 #define HAVE__FMODF 1
23986 _ACEOF
23989 done
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23999 $as_echo_n "checking for frexpf declaration... " >&6; }
24000 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24001 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24003 else
24006 ac_ext=cpp
24007 ac_cpp='$CXXCPP $CPPFLAGS'
24008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24013 /* end confdefs.h. */
24014 #include <math.h>
24016 main ()
24018 frexpf(0, 0);
24020 return 0;
24022 _ACEOF
24023 if ac_fn_cxx_try_compile "$LINENO"; then :
24024 glibcxx_cv_func_frexpf_use=yes
24025 else
24026 glibcxx_cv_func_frexpf_use=no
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24029 ac_ext=c
24030 ac_cpp='$CPP $CPPFLAGS'
24031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24040 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24042 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24043 for ac_func in frexpf
24044 do :
24045 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24046 if test "x$ac_cv_func_frexpf" = x""yes; then :
24047 cat >>confdefs.h <<_ACEOF
24048 #define HAVE_FREXPF 1
24049 _ACEOF
24052 done
24054 else
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24057 $as_echo_n "checking for _frexpf declaration... " >&6; }
24058 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24059 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
24060 $as_echo_n "(cached) " >&6
24061 else
24064 ac_ext=cpp
24065 ac_cpp='$CXXCPP $CPPFLAGS'
24066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24071 /* end confdefs.h. */
24072 #include <math.h>
24074 main ()
24076 _frexpf(0, 0);
24078 return 0;
24080 _ACEOF
24081 if ac_fn_cxx_try_compile "$LINENO"; then :
24082 glibcxx_cv_func__frexpf_use=yes
24083 else
24084 glibcxx_cv_func__frexpf_use=no
24086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24098 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24100 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24101 for ac_func in _frexpf
24102 do :
24103 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24104 if test "x$ac_cv_func__frexpf" = x""yes; then :
24105 cat >>confdefs.h <<_ACEOF
24106 #define HAVE__FREXPF 1
24107 _ACEOF
24110 done
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24120 $as_echo_n "checking for hypotf declaration... " >&6; }
24121 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24122 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24123 $as_echo_n "(cached) " >&6
24124 else
24127 ac_ext=cpp
24128 ac_cpp='$CXXCPP $CPPFLAGS'
24129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24135 #include <math.h>
24137 main ()
24139 hypotf(0, 0);
24141 return 0;
24143 _ACEOF
24144 if ac_fn_cxx_try_compile "$LINENO"; then :
24145 glibcxx_cv_func_hypotf_use=yes
24146 else
24147 glibcxx_cv_func_hypotf_use=no
24149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ac_ext=c
24151 ac_cpp='$CPP $CPPFLAGS'
24152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24161 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24163 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24164 for ac_func in hypotf
24165 do :
24166 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24167 if test "x$ac_cv_func_hypotf" = x""yes; then :
24168 cat >>confdefs.h <<_ACEOF
24169 #define HAVE_HYPOTF 1
24170 _ACEOF
24173 done
24175 else
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24178 $as_echo_n "checking for _hypotf declaration... " >&6; }
24179 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24180 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24181 $as_echo_n "(cached) " >&6
24182 else
24185 ac_ext=cpp
24186 ac_cpp='$CXXCPP $CPPFLAGS'
24187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24192 /* end confdefs.h. */
24193 #include <math.h>
24195 main ()
24197 _hypotf(0, 0);
24199 return 0;
24201 _ACEOF
24202 if ac_fn_cxx_try_compile "$LINENO"; then :
24203 glibcxx_cv_func__hypotf_use=yes
24204 else
24205 glibcxx_cv_func__hypotf_use=no
24207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24208 ac_ext=c
24209 ac_cpp='$CPP $CPPFLAGS'
24210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24219 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24221 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24222 for ac_func in _hypotf
24223 do :
24224 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24225 if test "x$ac_cv_func__hypotf" = x""yes; then :
24226 cat >>confdefs.h <<_ACEOF
24227 #define HAVE__HYPOTF 1
24228 _ACEOF
24231 done
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24241 $as_echo_n "checking for ldexpf declaration... " >&6; }
24242 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24243 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24244 $as_echo_n "(cached) " >&6
24245 else
24248 ac_ext=cpp
24249 ac_cpp='$CXXCPP $CPPFLAGS'
24250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24255 /* end confdefs.h. */
24256 #include <math.h>
24258 main ()
24260 ldexpf(0, 0);
24262 return 0;
24264 _ACEOF
24265 if ac_fn_cxx_try_compile "$LINENO"; then :
24266 glibcxx_cv_func_ldexpf_use=yes
24267 else
24268 glibcxx_cv_func_ldexpf_use=no
24270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24271 ac_ext=c
24272 ac_cpp='$CPP $CPPFLAGS'
24273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24282 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24284 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24285 for ac_func in ldexpf
24286 do :
24287 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24288 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24289 cat >>confdefs.h <<_ACEOF
24290 #define HAVE_LDEXPF 1
24291 _ACEOF
24294 done
24296 else
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24299 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24300 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24301 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24302 $as_echo_n "(cached) " >&6
24303 else
24306 ac_ext=cpp
24307 ac_cpp='$CXXCPP $CPPFLAGS'
24308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24313 /* end confdefs.h. */
24314 #include <math.h>
24316 main ()
24318 _ldexpf(0, 0);
24320 return 0;
24322 _ACEOF
24323 if ac_fn_cxx_try_compile "$LINENO"; then :
24324 glibcxx_cv_func__ldexpf_use=yes
24325 else
24326 glibcxx_cv_func__ldexpf_use=no
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24329 ac_ext=c
24330 ac_cpp='$CPP $CPPFLAGS'
24331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24340 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24342 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24343 for ac_func in _ldexpf
24344 do :
24345 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24346 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24347 cat >>confdefs.h <<_ACEOF
24348 #define HAVE__LDEXPF 1
24349 _ACEOF
24352 done
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24362 $as_echo_n "checking for logf declaration... " >&6; }
24363 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24364 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24365 $as_echo_n "(cached) " >&6
24366 else
24369 ac_ext=cpp
24370 ac_cpp='$CXXCPP $CPPFLAGS'
24371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24376 /* end confdefs.h. */
24377 #include <math.h>
24378 #ifdef HAVE_IEEEFP_H
24379 #include <ieeefp.h>
24380 #endif
24383 main ()
24385 logf(0);
24387 return 0;
24389 _ACEOF
24390 if ac_fn_cxx_try_compile "$LINENO"; then :
24391 glibcxx_cv_func_logf_use=yes
24392 else
24393 glibcxx_cv_func_logf_use=no
24395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24396 ac_ext=c
24397 ac_cpp='$CPP $CPPFLAGS'
24398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24407 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24409 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24410 for ac_func in logf
24411 do :
24412 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24413 if test "x$ac_cv_func_logf" = x""yes; then :
24414 cat >>confdefs.h <<_ACEOF
24415 #define HAVE_LOGF 1
24416 _ACEOF
24419 done
24421 else
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24424 $as_echo_n "checking for _logf declaration... " >&6; }
24425 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24426 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24427 $as_echo_n "(cached) " >&6
24428 else
24431 ac_ext=cpp
24432 ac_cpp='$CXXCPP $CPPFLAGS'
24433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24438 /* end confdefs.h. */
24439 #include <math.h>
24440 #ifdef HAVE_IEEEFP_H
24441 #include <ieeefp.h>
24442 #endif
24445 main ()
24447 _logf(0);
24449 return 0;
24451 _ACEOF
24452 if ac_fn_cxx_try_compile "$LINENO"; then :
24453 glibcxx_cv_func__logf_use=yes
24454 else
24455 glibcxx_cv_func__logf_use=no
24457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24458 ac_ext=c
24459 ac_cpp='$CPP $CPPFLAGS'
24460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24469 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24471 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24472 for ac_func in _logf
24473 do :
24474 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24475 if test "x$ac_cv_func__logf" = x""yes; then :
24476 cat >>confdefs.h <<_ACEOF
24477 #define HAVE__LOGF 1
24478 _ACEOF
24481 done
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24491 $as_echo_n "checking for log10f declaration... " >&6; }
24492 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24493 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24494 $as_echo_n "(cached) " >&6
24495 else
24498 ac_ext=cpp
24499 ac_cpp='$CXXCPP $CPPFLAGS'
24500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24505 /* end confdefs.h. */
24506 #include <math.h>
24507 #ifdef HAVE_IEEEFP_H
24508 #include <ieeefp.h>
24509 #endif
24512 main ()
24514 log10f(0);
24516 return 0;
24518 _ACEOF
24519 if ac_fn_cxx_try_compile "$LINENO"; then :
24520 glibcxx_cv_func_log10f_use=yes
24521 else
24522 glibcxx_cv_func_log10f_use=no
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_ext=c
24526 ac_cpp='$CPP $CPPFLAGS'
24527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24536 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24538 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24539 for ac_func in log10f
24540 do :
24541 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24542 if test "x$ac_cv_func_log10f" = x""yes; then :
24543 cat >>confdefs.h <<_ACEOF
24544 #define HAVE_LOG10F 1
24545 _ACEOF
24548 done
24550 else
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24553 $as_echo_n "checking for _log10f declaration... " >&6; }
24554 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24555 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24556 $as_echo_n "(cached) " >&6
24557 else
24560 ac_ext=cpp
24561 ac_cpp='$CXXCPP $CPPFLAGS'
24562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24567 /* end confdefs.h. */
24568 #include <math.h>
24569 #ifdef HAVE_IEEEFP_H
24570 #include <ieeefp.h>
24571 #endif
24574 main ()
24576 _log10f(0);
24578 return 0;
24580 _ACEOF
24581 if ac_fn_cxx_try_compile "$LINENO"; then :
24582 glibcxx_cv_func__log10f_use=yes
24583 else
24584 glibcxx_cv_func__log10f_use=no
24586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24587 ac_ext=c
24588 ac_cpp='$CPP $CPPFLAGS'
24589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24598 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24600 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24601 for ac_func in _log10f
24602 do :
24603 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24604 if test "x$ac_cv_func__log10f" = x""yes; then :
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE__LOG10F 1
24607 _ACEOF
24610 done
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24620 $as_echo_n "checking for modff declaration... " >&6; }
24621 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24622 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24623 $as_echo_n "(cached) " >&6
24624 else
24627 ac_ext=cpp
24628 ac_cpp='$CXXCPP $CPPFLAGS'
24629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24635 #include <math.h>
24637 main ()
24639 modff(0, 0);
24641 return 0;
24643 _ACEOF
24644 if ac_fn_cxx_try_compile "$LINENO"; then :
24645 glibcxx_cv_func_modff_use=yes
24646 else
24647 glibcxx_cv_func_modff_use=no
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 ac_ext=c
24651 ac_cpp='$CPP $CPPFLAGS'
24652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24661 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24663 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24664 for ac_func in modff
24665 do :
24666 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24667 if test "x$ac_cv_func_modff" = x""yes; then :
24668 cat >>confdefs.h <<_ACEOF
24669 #define HAVE_MODFF 1
24670 _ACEOF
24673 done
24675 else
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24678 $as_echo_n "checking for _modff declaration... " >&6; }
24679 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24680 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24681 $as_echo_n "(cached) " >&6
24682 else
24685 ac_ext=cpp
24686 ac_cpp='$CXXCPP $CPPFLAGS'
24687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24692 /* end confdefs.h. */
24693 #include <math.h>
24695 main ()
24697 _modff(0, 0);
24699 return 0;
24701 _ACEOF
24702 if ac_fn_cxx_try_compile "$LINENO"; then :
24703 glibcxx_cv_func__modff_use=yes
24704 else
24705 glibcxx_cv_func__modff_use=no
24707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 ac_ext=c
24709 ac_cpp='$CPP $CPPFLAGS'
24710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24719 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24721 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24722 for ac_func in _modff
24723 do :
24724 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24725 if test "x$ac_cv_func__modff" = x""yes; then :
24726 cat >>confdefs.h <<_ACEOF
24727 #define HAVE__MODFF 1
24728 _ACEOF
24731 done
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24741 $as_echo_n "checking for modf declaration... " >&6; }
24742 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24743 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24758 main ()
24760 modf(0, 0);
24762 return 0;
24764 _ACEOF
24765 if ac_fn_cxx_try_compile "$LINENO"; then :
24766 glibcxx_cv_func_modf_use=yes
24767 else
24768 glibcxx_cv_func_modf_use=no
24770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24771 ac_ext=c
24772 ac_cpp='$CPP $CPPFLAGS'
24773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24782 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24784 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24785 for ac_func in modf
24786 do :
24787 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24788 if test "x$ac_cv_func_modf" = x""yes; then :
24789 cat >>confdefs.h <<_ACEOF
24790 #define HAVE_MODF 1
24791 _ACEOF
24794 done
24796 else
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24799 $as_echo_n "checking for _modf declaration... " >&6; }
24800 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24801 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24802 $as_echo_n "(cached) " >&6
24803 else
24806 ac_ext=cpp
24807 ac_cpp='$CXXCPP $CPPFLAGS'
24808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24813 /* end confdefs.h. */
24814 #include <math.h>
24816 main ()
24818 _modf(0, 0);
24820 return 0;
24822 _ACEOF
24823 if ac_fn_cxx_try_compile "$LINENO"; then :
24824 glibcxx_cv_func__modf_use=yes
24825 else
24826 glibcxx_cv_func__modf_use=no
24828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 ac_ext=c
24830 ac_cpp='$CPP $CPPFLAGS'
24831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24840 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24842 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24843 for ac_func in _modf
24844 do :
24845 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24846 if test "x$ac_cv_func__modf" = x""yes; then :
24847 cat >>confdefs.h <<_ACEOF
24848 #define HAVE__MODF 1
24849 _ACEOF
24852 done
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24862 $as_echo_n "checking for powf declaration... " >&6; }
24863 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24864 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24865 $as_echo_n "(cached) " >&6
24866 else
24869 ac_ext=cpp
24870 ac_cpp='$CXXCPP $CPPFLAGS'
24871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24876 /* end confdefs.h. */
24877 #include <math.h>
24879 main ()
24881 powf(0, 0);
24883 return 0;
24885 _ACEOF
24886 if ac_fn_cxx_try_compile "$LINENO"; then :
24887 glibcxx_cv_func_powf_use=yes
24888 else
24889 glibcxx_cv_func_powf_use=no
24891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24892 ac_ext=c
24893 ac_cpp='$CPP $CPPFLAGS'
24894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24903 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24905 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24906 for ac_func in powf
24907 do :
24908 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24909 if test "x$ac_cv_func_powf" = x""yes; then :
24910 cat >>confdefs.h <<_ACEOF
24911 #define HAVE_POWF 1
24912 _ACEOF
24915 done
24917 else
24919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24920 $as_echo_n "checking for _powf declaration... " >&6; }
24921 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24922 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24923 $as_echo_n "(cached) " >&6
24924 else
24927 ac_ext=cpp
24928 ac_cpp='$CXXCPP $CPPFLAGS'
24929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24934 /* end confdefs.h. */
24935 #include <math.h>
24937 main ()
24939 _powf(0, 0);
24941 return 0;
24943 _ACEOF
24944 if ac_fn_cxx_try_compile "$LINENO"; then :
24945 glibcxx_cv_func__powf_use=yes
24946 else
24947 glibcxx_cv_func__powf_use=no
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24950 ac_ext=c
24951 ac_cpp='$CPP $CPPFLAGS'
24952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24961 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24963 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24964 for ac_func in _powf
24965 do :
24966 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24967 if test "x$ac_cv_func__powf" = x""yes; then :
24968 cat >>confdefs.h <<_ACEOF
24969 #define HAVE__POWF 1
24970 _ACEOF
24973 done
24982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24983 $as_echo_n "checking for sqrtf declaration... " >&6; }
24984 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24985 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24986 $as_echo_n "(cached) " >&6
24987 else
24990 ac_ext=cpp
24991 ac_cpp='$CXXCPP $CPPFLAGS'
24992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24997 /* end confdefs.h. */
24998 #include <math.h>
24999 #ifdef HAVE_IEEEFP_H
25000 #include <ieeefp.h>
25001 #endif
25004 main ()
25006 sqrtf(0);
25008 return 0;
25010 _ACEOF
25011 if ac_fn_cxx_try_compile "$LINENO"; then :
25012 glibcxx_cv_func_sqrtf_use=yes
25013 else
25014 glibcxx_cv_func_sqrtf_use=no
25016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25017 ac_ext=c
25018 ac_cpp='$CPP $CPPFLAGS'
25019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25028 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25030 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25031 for ac_func in sqrtf
25032 do :
25033 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25034 if test "x$ac_cv_func_sqrtf" = x""yes; then :
25035 cat >>confdefs.h <<_ACEOF
25036 #define HAVE_SQRTF 1
25037 _ACEOF
25040 done
25042 else
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25045 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25046 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25047 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
25048 $as_echo_n "(cached) " >&6
25049 else
25052 ac_ext=cpp
25053 ac_cpp='$CXXCPP $CPPFLAGS'
25054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25059 /* end confdefs.h. */
25060 #include <math.h>
25061 #ifdef HAVE_IEEEFP_H
25062 #include <ieeefp.h>
25063 #endif
25066 main ()
25068 _sqrtf(0);
25070 return 0;
25072 _ACEOF
25073 if ac_fn_cxx_try_compile "$LINENO"; then :
25074 glibcxx_cv_func__sqrtf_use=yes
25075 else
25076 glibcxx_cv_func__sqrtf_use=no
25078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25079 ac_ext=c
25080 ac_cpp='$CPP $CPPFLAGS'
25081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25090 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25092 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25093 for ac_func in _sqrtf
25094 do :
25095 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25096 if test "x$ac_cv_func__sqrtf" = x""yes; then :
25097 cat >>confdefs.h <<_ACEOF
25098 #define HAVE__SQRTF 1
25099 _ACEOF
25102 done
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25112 $as_echo_n "checking for sincosf declaration... " >&6; }
25113 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25114 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25119 ac_ext=cpp
25120 ac_cpp='$CXXCPP $CPPFLAGS'
25121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25127 #include <math.h>
25129 main ()
25131 sincosf(0, 0, 0);
25133 return 0;
25135 _ACEOF
25136 if ac_fn_cxx_try_compile "$LINENO"; then :
25137 glibcxx_cv_func_sincosf_use=yes
25138 else
25139 glibcxx_cv_func_sincosf_use=no
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142 ac_ext=c
25143 ac_cpp='$CPP $CPPFLAGS'
25144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25153 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25155 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25156 for ac_func in sincosf
25157 do :
25158 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25159 if test "x$ac_cv_func_sincosf" = x""yes; then :
25160 cat >>confdefs.h <<_ACEOF
25161 #define HAVE_SINCOSF 1
25162 _ACEOF
25165 done
25167 else
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25170 $as_echo_n "checking for _sincosf declaration... " >&6; }
25171 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25172 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25173 $as_echo_n "(cached) " >&6
25174 else
25177 ac_ext=cpp
25178 ac_cpp='$CXXCPP $CPPFLAGS'
25179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h. */
25185 #include <math.h>
25187 main ()
25189 _sincosf(0, 0, 0);
25191 return 0;
25193 _ACEOF
25194 if ac_fn_cxx_try_compile "$LINENO"; then :
25195 glibcxx_cv_func__sincosf_use=yes
25196 else
25197 glibcxx_cv_func__sincosf_use=no
25199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25200 ac_ext=c
25201 ac_cpp='$CPP $CPPFLAGS'
25202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25211 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25213 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25214 for ac_func in _sincosf
25215 do :
25216 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25217 if test "x$ac_cv_func__sincosf" = x""yes; then :
25218 cat >>confdefs.h <<_ACEOF
25219 #define HAVE__SINCOSF 1
25220 _ACEOF
25223 done
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25233 $as_echo_n "checking for finitef declaration... " >&6; }
25234 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25235 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25236 $as_echo_n "(cached) " >&6
25237 else
25240 ac_ext=cpp
25241 ac_cpp='$CXXCPP $CPPFLAGS'
25242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25247 /* end confdefs.h. */
25248 #include <math.h>
25249 #ifdef HAVE_IEEEFP_H
25250 #include <ieeefp.h>
25251 #endif
25254 main ()
25256 finitef(0);
25258 return 0;
25260 _ACEOF
25261 if ac_fn_cxx_try_compile "$LINENO"; then :
25262 glibcxx_cv_func_finitef_use=yes
25263 else
25264 glibcxx_cv_func_finitef_use=no
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267 ac_ext=c
25268 ac_cpp='$CPP $CPPFLAGS'
25269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25278 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25280 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25281 for ac_func in finitef
25282 do :
25283 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25284 if test "x$ac_cv_func_finitef" = x""yes; then :
25285 cat >>confdefs.h <<_ACEOF
25286 #define HAVE_FINITEF 1
25287 _ACEOF
25290 done
25292 else
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25295 $as_echo_n "checking for _finitef declaration... " >&6; }
25296 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25297 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25298 $as_echo_n "(cached) " >&6
25299 else
25302 ac_ext=cpp
25303 ac_cpp='$CXXCPP $CPPFLAGS'
25304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25309 /* end confdefs.h. */
25310 #include <math.h>
25311 #ifdef HAVE_IEEEFP_H
25312 #include <ieeefp.h>
25313 #endif
25316 main ()
25318 _finitef(0);
25320 return 0;
25322 _ACEOF
25323 if ac_fn_cxx_try_compile "$LINENO"; then :
25324 glibcxx_cv_func__finitef_use=yes
25325 else
25326 glibcxx_cv_func__finitef_use=no
25328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 ac_ext=c
25330 ac_cpp='$CPP $CPPFLAGS'
25331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25340 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25342 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25343 for ac_func in _finitef
25344 do :
25345 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25346 if test "x$ac_cv_func__finitef" = x""yes; then :
25347 cat >>confdefs.h <<_ACEOF
25348 #define HAVE__FINITEF 1
25349 _ACEOF
25352 done
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25362 $as_echo_n "checking for long double trig functions... " >&6; }
25363 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25378 main ()
25380 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25382 return 0;
25384 _ACEOF
25385 if ac_fn_cxx_try_compile "$LINENO"; then :
25386 glibcxx_cv_func_long_double_trig_use=yes
25387 else
25388 glibcxx_cv_func_long_double_trig_use=no
25390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25391 ac_ext=c
25392 ac_cpp='$CPP $CPPFLAGS'
25393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25400 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25401 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25402 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25403 do :
25404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25406 eval as_val=\$$as_ac_var
25407 if test "x$as_val" = x""yes; then :
25408 cat >>confdefs.h <<_ACEOF
25409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25410 _ACEOF
25413 done
25415 else
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25417 $as_echo_n "checking for _long double trig functions... " >&6; }
25418 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25419 $as_echo_n "(cached) " >&6
25420 else
25423 ac_ext=cpp
25424 ac_cpp='$CXXCPP $CPPFLAGS'
25425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25430 /* end confdefs.h. */
25431 #include <math.h>
25433 main ()
25435 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25437 return 0;
25439 _ACEOF
25440 if ac_fn_cxx_try_compile "$LINENO"; then :
25441 glibcxx_cv_func__long_double_trig_use=yes
25442 else
25443 glibcxx_cv_func__long_double_trig_use=no
25445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25446 ac_ext=c
25447 ac_cpp='$CPP $CPPFLAGS'
25448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25455 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25456 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25457 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25458 do :
25459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25461 eval as_val=\$$as_ac_var
25462 if test "x$as_val" = x""yes; then :
25463 cat >>confdefs.h <<_ACEOF
25464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25465 _ACEOF
25468 done
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25478 $as_echo_n "checking for long double round functions... " >&6; }
25479 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25480 $as_echo_n "(cached) " >&6
25481 else
25484 ac_ext=cpp
25485 ac_cpp='$CXXCPP $CPPFLAGS'
25486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 #include <math.h>
25494 main ()
25496 ceill (0); floorl (0);
25498 return 0;
25500 _ACEOF
25501 if ac_fn_cxx_try_compile "$LINENO"; then :
25502 glibcxx_cv_func_long_double_round_use=yes
25503 else
25504 glibcxx_cv_func_long_double_round_use=no
25506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25507 ac_ext=c
25508 ac_cpp='$CPP $CPPFLAGS'
25509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25516 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25517 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25518 for ac_func in ceill floorl
25519 do :
25520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25522 eval as_val=\$$as_ac_var
25523 if test "x$as_val" = x""yes; then :
25524 cat >>confdefs.h <<_ACEOF
25525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25526 _ACEOF
25529 done
25531 else
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25533 $as_echo_n "checking for _long double round functions... " >&6; }
25534 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25535 $as_echo_n "(cached) " >&6
25536 else
25539 ac_ext=cpp
25540 ac_cpp='$CXXCPP $CPPFLAGS'
25541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25546 /* end confdefs.h. */
25547 #include <math.h>
25549 main ()
25551 _ceill (0); _floorl (0);
25553 return 0;
25555 _ACEOF
25556 if ac_fn_cxx_try_compile "$LINENO"; then :
25557 glibcxx_cv_func__long_double_round_use=yes
25558 else
25559 glibcxx_cv_func__long_double_round_use=no
25561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25562 ac_ext=c
25563 ac_cpp='$CPP $CPPFLAGS'
25564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25571 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25572 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25573 for ac_func in _ceill _floorl
25574 do :
25575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25577 eval as_val=\$$as_ac_var
25578 if test "x$as_val" = x""yes; then :
25579 cat >>confdefs.h <<_ACEOF
25580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25581 _ACEOF
25584 done
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25595 $as_echo_n "checking for isnanl declaration... " >&6; }
25596 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25597 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25598 $as_echo_n "(cached) " >&6
25599 else
25602 ac_ext=cpp
25603 ac_cpp='$CXXCPP $CPPFLAGS'
25604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25609 /* end confdefs.h. */
25610 #include <math.h>
25611 #ifdef HAVE_IEEEFP_H
25612 #include <ieeefp.h>
25613 #endif
25616 main ()
25618 isnanl(0);
25620 return 0;
25622 _ACEOF
25623 if ac_fn_cxx_try_compile "$LINENO"; then :
25624 glibcxx_cv_func_isnanl_use=yes
25625 else
25626 glibcxx_cv_func_isnanl_use=no
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25629 ac_ext=c
25630 ac_cpp='$CPP $CPPFLAGS'
25631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25640 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25642 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25643 for ac_func in isnanl
25644 do :
25645 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25646 if test "x$ac_cv_func_isnanl" = x""yes; then :
25647 cat >>confdefs.h <<_ACEOF
25648 #define HAVE_ISNANL 1
25649 _ACEOF
25652 done
25654 else
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25657 $as_echo_n "checking for _isnanl declaration... " >&6; }
25658 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25659 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25660 $as_echo_n "(cached) " >&6
25661 else
25664 ac_ext=cpp
25665 ac_cpp='$CXXCPP $CPPFLAGS'
25666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25671 /* end confdefs.h. */
25672 #include <math.h>
25673 #ifdef HAVE_IEEEFP_H
25674 #include <ieeefp.h>
25675 #endif
25678 main ()
25680 _isnanl(0);
25682 return 0;
25684 _ACEOF
25685 if ac_fn_cxx_try_compile "$LINENO"; then :
25686 glibcxx_cv_func__isnanl_use=yes
25687 else
25688 glibcxx_cv_func__isnanl_use=no
25690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25691 ac_ext=c
25692 ac_cpp='$CPP $CPPFLAGS'
25693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25702 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25704 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25705 for ac_func in _isnanl
25706 do :
25707 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25708 if test "x$ac_cv_func__isnanl" = x""yes; then :
25709 cat >>confdefs.h <<_ACEOF
25710 #define HAVE__ISNANL 1
25711 _ACEOF
25714 done
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25724 $as_echo_n "checking for isinfl declaration... " >&6; }
25725 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25726 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25727 $as_echo_n "(cached) " >&6
25728 else
25731 ac_ext=cpp
25732 ac_cpp='$CXXCPP $CPPFLAGS'
25733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25738 /* end confdefs.h. */
25739 #include <math.h>
25740 #ifdef HAVE_IEEEFP_H
25741 #include <ieeefp.h>
25742 #endif
25745 main ()
25747 isinfl(0);
25749 return 0;
25751 _ACEOF
25752 if ac_fn_cxx_try_compile "$LINENO"; then :
25753 glibcxx_cv_func_isinfl_use=yes
25754 else
25755 glibcxx_cv_func_isinfl_use=no
25757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25758 ac_ext=c
25759 ac_cpp='$CPP $CPPFLAGS'
25760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25769 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25771 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25772 for ac_func in isinfl
25773 do :
25774 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25775 if test "x$ac_cv_func_isinfl" = x""yes; then :
25776 cat >>confdefs.h <<_ACEOF
25777 #define HAVE_ISINFL 1
25778 _ACEOF
25781 done
25783 else
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25786 $as_echo_n "checking for _isinfl declaration... " >&6; }
25787 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25788 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25789 $as_echo_n "(cached) " >&6
25790 else
25793 ac_ext=cpp
25794 ac_cpp='$CXXCPP $CPPFLAGS'
25795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25800 /* end confdefs.h. */
25801 #include <math.h>
25802 #ifdef HAVE_IEEEFP_H
25803 #include <ieeefp.h>
25804 #endif
25807 main ()
25809 _isinfl(0);
25811 return 0;
25813 _ACEOF
25814 if ac_fn_cxx_try_compile "$LINENO"; then :
25815 glibcxx_cv_func__isinfl_use=yes
25816 else
25817 glibcxx_cv_func__isinfl_use=no
25819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25820 ac_ext=c
25821 ac_cpp='$CPP $CPPFLAGS'
25822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25831 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25833 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25834 for ac_func in _isinfl
25835 do :
25836 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25837 if test "x$ac_cv_func__isinfl" = x""yes; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define HAVE__ISINFL 1
25840 _ACEOF
25843 done
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25853 $as_echo_n "checking for atan2l declaration... " >&6; }
25854 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25855 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25856 $as_echo_n "(cached) " >&6
25857 else
25860 ac_ext=cpp
25861 ac_cpp='$CXXCPP $CPPFLAGS'
25862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25867 /* end confdefs.h. */
25868 #include <math.h>
25870 main ()
25872 atan2l(0, 0);
25874 return 0;
25876 _ACEOF
25877 if ac_fn_cxx_try_compile "$LINENO"; then :
25878 glibcxx_cv_func_atan2l_use=yes
25879 else
25880 glibcxx_cv_func_atan2l_use=no
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 ac_ext=c
25884 ac_cpp='$CPP $CPPFLAGS'
25885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25894 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25896 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25897 for ac_func in atan2l
25898 do :
25899 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25900 if test "x$ac_cv_func_atan2l" = x""yes; then :
25901 cat >>confdefs.h <<_ACEOF
25902 #define HAVE_ATAN2L 1
25903 _ACEOF
25906 done
25908 else
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25911 $as_echo_n "checking for _atan2l declaration... " >&6; }
25912 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25913 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25914 $as_echo_n "(cached) " >&6
25915 else
25918 ac_ext=cpp
25919 ac_cpp='$CXXCPP $CPPFLAGS'
25920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25925 /* end confdefs.h. */
25926 #include <math.h>
25928 main ()
25930 _atan2l(0, 0);
25932 return 0;
25934 _ACEOF
25935 if ac_fn_cxx_try_compile "$LINENO"; then :
25936 glibcxx_cv_func__atan2l_use=yes
25937 else
25938 glibcxx_cv_func__atan2l_use=no
25940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25941 ac_ext=c
25942 ac_cpp='$CPP $CPPFLAGS'
25943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25952 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25954 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25955 for ac_func in _atan2l
25956 do :
25957 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25958 if test "x$ac_cv_func__atan2l" = x""yes; then :
25959 cat >>confdefs.h <<_ACEOF
25960 #define HAVE__ATAN2L 1
25961 _ACEOF
25964 done
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25974 $as_echo_n "checking for expl declaration... " >&6; }
25975 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25976 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25977 $as_echo_n "(cached) " >&6
25978 else
25981 ac_ext=cpp
25982 ac_cpp='$CXXCPP $CPPFLAGS'
25983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25988 /* end confdefs.h. */
25989 #include <math.h>
25990 #ifdef HAVE_IEEEFP_H
25991 #include <ieeefp.h>
25992 #endif
25995 main ()
25997 expl(0);
25999 return 0;
26001 _ACEOF
26002 if ac_fn_cxx_try_compile "$LINENO"; then :
26003 glibcxx_cv_func_expl_use=yes
26004 else
26005 glibcxx_cv_func_expl_use=no
26007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26008 ac_ext=c
26009 ac_cpp='$CPP $CPPFLAGS'
26010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26019 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26021 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26022 for ac_func in expl
26023 do :
26024 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26025 if test "x$ac_cv_func_expl" = x""yes; then :
26026 cat >>confdefs.h <<_ACEOF
26027 #define HAVE_EXPL 1
26028 _ACEOF
26031 done
26033 else
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26036 $as_echo_n "checking for _expl declaration... " >&6; }
26037 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26038 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
26039 $as_echo_n "(cached) " >&6
26040 else
26043 ac_ext=cpp
26044 ac_cpp='$CXXCPP $CPPFLAGS'
26045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26050 /* end confdefs.h. */
26051 #include <math.h>
26052 #ifdef HAVE_IEEEFP_H
26053 #include <ieeefp.h>
26054 #endif
26057 main ()
26059 _expl(0);
26061 return 0;
26063 _ACEOF
26064 if ac_fn_cxx_try_compile "$LINENO"; then :
26065 glibcxx_cv_func__expl_use=yes
26066 else
26067 glibcxx_cv_func__expl_use=no
26069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26070 ac_ext=c
26071 ac_cpp='$CPP $CPPFLAGS'
26072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26081 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26083 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26084 for ac_func in _expl
26085 do :
26086 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26087 if test "x$ac_cv_func__expl" = x""yes; then :
26088 cat >>confdefs.h <<_ACEOF
26089 #define HAVE__EXPL 1
26090 _ACEOF
26093 done
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26103 $as_echo_n "checking for fabsl declaration... " >&6; }
26104 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26105 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
26106 $as_echo_n "(cached) " >&6
26107 else
26110 ac_ext=cpp
26111 ac_cpp='$CXXCPP $CPPFLAGS'
26112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26117 /* end confdefs.h. */
26118 #include <math.h>
26119 #ifdef HAVE_IEEEFP_H
26120 #include <ieeefp.h>
26121 #endif
26124 main ()
26126 fabsl(0);
26128 return 0;
26130 _ACEOF
26131 if ac_fn_cxx_try_compile "$LINENO"; then :
26132 glibcxx_cv_func_fabsl_use=yes
26133 else
26134 glibcxx_cv_func_fabsl_use=no
26136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26137 ac_ext=c
26138 ac_cpp='$CPP $CPPFLAGS'
26139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26148 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26150 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26151 for ac_func in fabsl
26152 do :
26153 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26154 if test "x$ac_cv_func_fabsl" = x""yes; then :
26155 cat >>confdefs.h <<_ACEOF
26156 #define HAVE_FABSL 1
26157 _ACEOF
26160 done
26162 else
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26165 $as_echo_n "checking for _fabsl declaration... " >&6; }
26166 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26167 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26168 $as_echo_n "(cached) " >&6
26169 else
26172 ac_ext=cpp
26173 ac_cpp='$CXXCPP $CPPFLAGS'
26174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26179 /* end confdefs.h. */
26180 #include <math.h>
26181 #ifdef HAVE_IEEEFP_H
26182 #include <ieeefp.h>
26183 #endif
26186 main ()
26188 _fabsl(0);
26190 return 0;
26192 _ACEOF
26193 if ac_fn_cxx_try_compile "$LINENO"; then :
26194 glibcxx_cv_func__fabsl_use=yes
26195 else
26196 glibcxx_cv_func__fabsl_use=no
26198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26210 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26212 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26213 for ac_func in _fabsl
26214 do :
26215 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26216 if test "x$ac_cv_func__fabsl" = x""yes; then :
26217 cat >>confdefs.h <<_ACEOF
26218 #define HAVE__FABSL 1
26219 _ACEOF
26222 done
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26232 $as_echo_n "checking for fmodl declaration... " >&6; }
26233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26235 $as_echo_n "(cached) " >&6
26236 else
26239 ac_ext=cpp
26240 ac_cpp='$CXXCPP $CPPFLAGS'
26241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26246 /* end confdefs.h. */
26247 #include <math.h>
26249 main ()
26251 fmodl(0, 0);
26253 return 0;
26255 _ACEOF
26256 if ac_fn_cxx_try_compile "$LINENO"; then :
26257 glibcxx_cv_func_fmodl_use=yes
26258 else
26259 glibcxx_cv_func_fmodl_use=no
26261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26262 ac_ext=c
26263 ac_cpp='$CPP $CPPFLAGS'
26264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26273 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26275 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26276 for ac_func in fmodl
26277 do :
26278 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26279 if test "x$ac_cv_func_fmodl" = x""yes; then :
26280 cat >>confdefs.h <<_ACEOF
26281 #define HAVE_FMODL 1
26282 _ACEOF
26285 done
26287 else
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26290 $as_echo_n "checking for _fmodl declaration... " >&6; }
26291 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26292 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26293 $as_echo_n "(cached) " >&6
26294 else
26297 ac_ext=cpp
26298 ac_cpp='$CXXCPP $CPPFLAGS'
26299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 #include <math.h>
26307 main ()
26309 _fmodl(0, 0);
26311 return 0;
26313 _ACEOF
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26315 glibcxx_cv_func__fmodl_use=yes
26316 else
26317 glibcxx_cv_func__fmodl_use=no
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 ac_ext=c
26321 ac_cpp='$CPP $CPPFLAGS'
26322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26331 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26333 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26334 for ac_func in _fmodl
26335 do :
26336 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26337 if test "x$ac_cv_func__fmodl" = x""yes; then :
26338 cat >>confdefs.h <<_ACEOF
26339 #define HAVE__FMODL 1
26340 _ACEOF
26343 done
26352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26353 $as_echo_n "checking for frexpl declaration... " >&6; }
26354 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26355 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26356 $as_echo_n "(cached) " >&6
26357 else
26360 ac_ext=cpp
26361 ac_cpp='$CXXCPP $CPPFLAGS'
26362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 #include <math.h>
26370 main ()
26372 frexpl(0, 0);
26374 return 0;
26376 _ACEOF
26377 if ac_fn_cxx_try_compile "$LINENO"; then :
26378 glibcxx_cv_func_frexpl_use=yes
26379 else
26380 glibcxx_cv_func_frexpl_use=no
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_ext=c
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26394 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26396 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26397 for ac_func in frexpl
26398 do :
26399 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26400 if test "x$ac_cv_func_frexpl" = x""yes; then :
26401 cat >>confdefs.h <<_ACEOF
26402 #define HAVE_FREXPL 1
26403 _ACEOF
26406 done
26408 else
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26411 $as_echo_n "checking for _frexpl declaration... " >&6; }
26412 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26413 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26414 $as_echo_n "(cached) " >&6
26415 else
26418 ac_ext=cpp
26419 ac_cpp='$CXXCPP $CPPFLAGS'
26420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26425 /* end confdefs.h. */
26426 #include <math.h>
26428 main ()
26430 _frexpl(0, 0);
26432 return 0;
26434 _ACEOF
26435 if ac_fn_cxx_try_compile "$LINENO"; then :
26436 glibcxx_cv_func__frexpl_use=yes
26437 else
26438 glibcxx_cv_func__frexpl_use=no
26440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 ac_ext=c
26442 ac_cpp='$CPP $CPPFLAGS'
26443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26452 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26454 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26455 for ac_func in _frexpl
26456 do :
26457 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26458 if test "x$ac_cv_func__frexpl" = x""yes; then :
26459 cat >>confdefs.h <<_ACEOF
26460 #define HAVE__FREXPL 1
26461 _ACEOF
26464 done
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26474 $as_echo_n "checking for hypotl declaration... " >&6; }
26475 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26476 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26477 $as_echo_n "(cached) " >&6
26478 else
26481 ac_ext=cpp
26482 ac_cpp='$CXXCPP $CPPFLAGS'
26483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26489 #include <math.h>
26491 main ()
26493 hypotl(0, 0);
26495 return 0;
26497 _ACEOF
26498 if ac_fn_cxx_try_compile "$LINENO"; then :
26499 glibcxx_cv_func_hypotl_use=yes
26500 else
26501 glibcxx_cv_func_hypotl_use=no
26503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26504 ac_ext=c
26505 ac_cpp='$CPP $CPPFLAGS'
26506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26515 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26517 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26518 for ac_func in hypotl
26519 do :
26520 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26521 if test "x$ac_cv_func_hypotl" = x""yes; then :
26522 cat >>confdefs.h <<_ACEOF
26523 #define HAVE_HYPOTL 1
26524 _ACEOF
26527 done
26529 else
26531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26532 $as_echo_n "checking for _hypotl declaration... " >&6; }
26533 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26534 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26535 $as_echo_n "(cached) " >&6
26536 else
26539 ac_ext=cpp
26540 ac_cpp='$CXXCPP $CPPFLAGS'
26541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26546 /* end confdefs.h. */
26547 #include <math.h>
26549 main ()
26551 _hypotl(0, 0);
26553 return 0;
26555 _ACEOF
26556 if ac_fn_cxx_try_compile "$LINENO"; then :
26557 glibcxx_cv_func__hypotl_use=yes
26558 else
26559 glibcxx_cv_func__hypotl_use=no
26561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26562 ac_ext=c
26563 ac_cpp='$CPP $CPPFLAGS'
26564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26573 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26575 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26576 for ac_func in _hypotl
26577 do :
26578 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26579 if test "x$ac_cv_func__hypotl" = x""yes; then :
26580 cat >>confdefs.h <<_ACEOF
26581 #define HAVE__HYPOTL 1
26582 _ACEOF
26585 done
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26595 $as_echo_n "checking for ldexpl declaration... " >&6; }
26596 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26597 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26598 $as_echo_n "(cached) " >&6
26599 else
26602 ac_ext=cpp
26603 ac_cpp='$CXXCPP $CPPFLAGS'
26604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26609 /* end confdefs.h. */
26610 #include <math.h>
26612 main ()
26614 ldexpl(0, 0);
26616 return 0;
26618 _ACEOF
26619 if ac_fn_cxx_try_compile "$LINENO"; then :
26620 glibcxx_cv_func_ldexpl_use=yes
26621 else
26622 glibcxx_cv_func_ldexpl_use=no
26624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26625 ac_ext=c
26626 ac_cpp='$CPP $CPPFLAGS'
26627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26636 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26638 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26639 for ac_func in ldexpl
26640 do :
26641 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26642 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26643 cat >>confdefs.h <<_ACEOF
26644 #define HAVE_LDEXPL 1
26645 _ACEOF
26648 done
26650 else
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26653 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26654 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26655 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26656 $as_echo_n "(cached) " >&6
26657 else
26660 ac_ext=cpp
26661 ac_cpp='$CXXCPP $CPPFLAGS'
26662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26667 /* end confdefs.h. */
26668 #include <math.h>
26670 main ()
26672 _ldexpl(0, 0);
26674 return 0;
26676 _ACEOF
26677 if ac_fn_cxx_try_compile "$LINENO"; then :
26678 glibcxx_cv_func__ldexpl_use=yes
26679 else
26680 glibcxx_cv_func__ldexpl_use=no
26682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26683 ac_ext=c
26684 ac_cpp='$CPP $CPPFLAGS'
26685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26694 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26696 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26697 for ac_func in _ldexpl
26698 do :
26699 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26700 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26701 cat >>confdefs.h <<_ACEOF
26702 #define HAVE__LDEXPL 1
26703 _ACEOF
26706 done
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26716 $as_echo_n "checking for logl declaration... " >&6; }
26717 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26718 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26719 $as_echo_n "(cached) " >&6
26720 else
26723 ac_ext=cpp
26724 ac_cpp='$CXXCPP $CPPFLAGS'
26725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26730 /* end confdefs.h. */
26731 #include <math.h>
26732 #ifdef HAVE_IEEEFP_H
26733 #include <ieeefp.h>
26734 #endif
26737 main ()
26739 logl(0);
26741 return 0;
26743 _ACEOF
26744 if ac_fn_cxx_try_compile "$LINENO"; then :
26745 glibcxx_cv_func_logl_use=yes
26746 else
26747 glibcxx_cv_func_logl_use=no
26749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26750 ac_ext=c
26751 ac_cpp='$CPP $CPPFLAGS'
26752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26761 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26763 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26764 for ac_func in logl
26765 do :
26766 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26767 if test "x$ac_cv_func_logl" = x""yes; then :
26768 cat >>confdefs.h <<_ACEOF
26769 #define HAVE_LOGL 1
26770 _ACEOF
26773 done
26775 else
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26778 $as_echo_n "checking for _logl declaration... " >&6; }
26779 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26780 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26781 $as_echo_n "(cached) " >&6
26782 else
26785 ac_ext=cpp
26786 ac_cpp='$CXXCPP $CPPFLAGS'
26787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26792 /* end confdefs.h. */
26793 #include <math.h>
26794 #ifdef HAVE_IEEEFP_H
26795 #include <ieeefp.h>
26796 #endif
26799 main ()
26801 _logl(0);
26803 return 0;
26805 _ACEOF
26806 if ac_fn_cxx_try_compile "$LINENO"; then :
26807 glibcxx_cv_func__logl_use=yes
26808 else
26809 glibcxx_cv_func__logl_use=no
26811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26812 ac_ext=c
26813 ac_cpp='$CPP $CPPFLAGS'
26814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26823 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26825 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26826 for ac_func in _logl
26827 do :
26828 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26829 if test "x$ac_cv_func__logl" = x""yes; then :
26830 cat >>confdefs.h <<_ACEOF
26831 #define HAVE__LOGL 1
26832 _ACEOF
26835 done
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26845 $as_echo_n "checking for log10l declaration... " >&6; }
26846 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26847 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26848 $as_echo_n "(cached) " >&6
26849 else
26852 ac_ext=cpp
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 #include <math.h>
26861 #ifdef HAVE_IEEEFP_H
26862 #include <ieeefp.h>
26863 #endif
26866 main ()
26868 log10l(0);
26870 return 0;
26872 _ACEOF
26873 if ac_fn_cxx_try_compile "$LINENO"; then :
26874 glibcxx_cv_func_log10l_use=yes
26875 else
26876 glibcxx_cv_func_log10l_use=no
26878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26879 ac_ext=c
26880 ac_cpp='$CPP $CPPFLAGS'
26881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26890 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26892 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26893 for ac_func in log10l
26894 do :
26895 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26896 if test "x$ac_cv_func_log10l" = x""yes; then :
26897 cat >>confdefs.h <<_ACEOF
26898 #define HAVE_LOG10L 1
26899 _ACEOF
26902 done
26904 else
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26907 $as_echo_n "checking for _log10l declaration... " >&6; }
26908 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26909 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26910 $as_echo_n "(cached) " >&6
26911 else
26914 ac_ext=cpp
26915 ac_cpp='$CXXCPP $CPPFLAGS'
26916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26922 #include <math.h>
26923 #ifdef HAVE_IEEEFP_H
26924 #include <ieeefp.h>
26925 #endif
26928 main ()
26930 _log10l(0);
26932 return 0;
26934 _ACEOF
26935 if ac_fn_cxx_try_compile "$LINENO"; then :
26936 glibcxx_cv_func__log10l_use=yes
26937 else
26938 glibcxx_cv_func__log10l_use=no
26940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26941 ac_ext=c
26942 ac_cpp='$CPP $CPPFLAGS'
26943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26952 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26954 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26955 for ac_func in _log10l
26956 do :
26957 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26958 if test "x$ac_cv_func__log10l" = x""yes; then :
26959 cat >>confdefs.h <<_ACEOF
26960 #define HAVE__LOG10L 1
26961 _ACEOF
26964 done
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26974 $as_echo_n "checking for modfl declaration... " >&6; }
26975 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26976 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26977 $as_echo_n "(cached) " >&6
26978 else
26981 ac_ext=cpp
26982 ac_cpp='$CXXCPP $CPPFLAGS'
26983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26988 /* end confdefs.h. */
26989 #include <math.h>
26991 main ()
26993 modfl(0, 0);
26995 return 0;
26997 _ACEOF
26998 if ac_fn_cxx_try_compile "$LINENO"; then :
26999 glibcxx_cv_func_modfl_use=yes
27000 else
27001 glibcxx_cv_func_modfl_use=no
27003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27004 ac_ext=c
27005 ac_cpp='$CPP $CPPFLAGS'
27006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27015 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27017 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27018 for ac_func in modfl
27019 do :
27020 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27021 if test "x$ac_cv_func_modfl" = x""yes; then :
27022 cat >>confdefs.h <<_ACEOF
27023 #define HAVE_MODFL 1
27024 _ACEOF
27027 done
27029 else
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27032 $as_echo_n "checking for _modfl declaration... " >&6; }
27033 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27034 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
27035 $as_echo_n "(cached) " >&6
27036 else
27039 ac_ext=cpp
27040 ac_cpp='$CXXCPP $CPPFLAGS'
27041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27046 /* end confdefs.h. */
27047 #include <math.h>
27049 main ()
27051 _modfl(0, 0);
27053 return 0;
27055 _ACEOF
27056 if ac_fn_cxx_try_compile "$LINENO"; then :
27057 glibcxx_cv_func__modfl_use=yes
27058 else
27059 glibcxx_cv_func__modfl_use=no
27061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27073 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27075 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27076 for ac_func in _modfl
27077 do :
27078 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27079 if test "x$ac_cv_func__modfl" = x""yes; then :
27080 cat >>confdefs.h <<_ACEOF
27081 #define HAVE__MODFL 1
27082 _ACEOF
27085 done
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27095 $as_echo_n "checking for powl declaration... " >&6; }
27096 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27097 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
27098 $as_echo_n "(cached) " >&6
27099 else
27102 ac_ext=cpp
27103 ac_cpp='$CXXCPP $CPPFLAGS'
27104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27109 /* end confdefs.h. */
27110 #include <math.h>
27112 main ()
27114 powl(0, 0);
27116 return 0;
27118 _ACEOF
27119 if ac_fn_cxx_try_compile "$LINENO"; then :
27120 glibcxx_cv_func_powl_use=yes
27121 else
27122 glibcxx_cv_func_powl_use=no
27124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27125 ac_ext=c
27126 ac_cpp='$CPP $CPPFLAGS'
27127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27136 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27138 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27139 for ac_func in powl
27140 do :
27141 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27142 if test "x$ac_cv_func_powl" = x""yes; then :
27143 cat >>confdefs.h <<_ACEOF
27144 #define HAVE_POWL 1
27145 _ACEOF
27148 done
27150 else
27152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27153 $as_echo_n "checking for _powl declaration... " >&6; }
27154 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27155 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27156 $as_echo_n "(cached) " >&6
27157 else
27160 ac_ext=cpp
27161 ac_cpp='$CXXCPP $CPPFLAGS'
27162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h. */
27168 #include <math.h>
27170 main ()
27172 _powl(0, 0);
27174 return 0;
27176 _ACEOF
27177 if ac_fn_cxx_try_compile "$LINENO"; then :
27178 glibcxx_cv_func__powl_use=yes
27179 else
27180 glibcxx_cv_func__powl_use=no
27182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27183 ac_ext=c
27184 ac_cpp='$CPP $CPPFLAGS'
27185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27194 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27196 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27197 for ac_func in _powl
27198 do :
27199 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27200 if test "x$ac_cv_func__powl" = x""yes; then :
27201 cat >>confdefs.h <<_ACEOF
27202 #define HAVE__POWL 1
27203 _ACEOF
27206 done
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27216 $as_echo_n "checking for sqrtl declaration... " >&6; }
27217 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27218 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27219 $as_echo_n "(cached) " >&6
27220 else
27223 ac_ext=cpp
27224 ac_cpp='$CXXCPP $CPPFLAGS'
27225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27230 /* end confdefs.h. */
27231 #include <math.h>
27232 #ifdef HAVE_IEEEFP_H
27233 #include <ieeefp.h>
27234 #endif
27237 main ()
27239 sqrtl(0);
27241 return 0;
27243 _ACEOF
27244 if ac_fn_cxx_try_compile "$LINENO"; then :
27245 glibcxx_cv_func_sqrtl_use=yes
27246 else
27247 glibcxx_cv_func_sqrtl_use=no
27249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27250 ac_ext=c
27251 ac_cpp='$CPP $CPPFLAGS'
27252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27261 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27263 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27264 for ac_func in sqrtl
27265 do :
27266 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27267 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27268 cat >>confdefs.h <<_ACEOF
27269 #define HAVE_SQRTL 1
27270 _ACEOF
27273 done
27275 else
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27278 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27279 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27280 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27281 $as_echo_n "(cached) " >&6
27282 else
27285 ac_ext=cpp
27286 ac_cpp='$CXXCPP $CPPFLAGS'
27287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27292 /* end confdefs.h. */
27293 #include <math.h>
27294 #ifdef HAVE_IEEEFP_H
27295 #include <ieeefp.h>
27296 #endif
27299 main ()
27301 _sqrtl(0);
27303 return 0;
27305 _ACEOF
27306 if ac_fn_cxx_try_compile "$LINENO"; then :
27307 glibcxx_cv_func__sqrtl_use=yes
27308 else
27309 glibcxx_cv_func__sqrtl_use=no
27311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27312 ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27323 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27325 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27326 for ac_func in _sqrtl
27327 do :
27328 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27329 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27330 cat >>confdefs.h <<_ACEOF
27331 #define HAVE__SQRTL 1
27332 _ACEOF
27335 done
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27345 $as_echo_n "checking for sincosl declaration... " >&6; }
27346 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27347 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27348 $as_echo_n "(cached) " >&6
27349 else
27352 ac_ext=cpp
27353 ac_cpp='$CXXCPP $CPPFLAGS'
27354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27359 /* end confdefs.h. */
27360 #include <math.h>
27362 main ()
27364 sincosl(0, 0, 0);
27366 return 0;
27368 _ACEOF
27369 if ac_fn_cxx_try_compile "$LINENO"; then :
27370 glibcxx_cv_func_sincosl_use=yes
27371 else
27372 glibcxx_cv_func_sincosl_use=no
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 ac_ext=c
27376 ac_cpp='$CPP $CPPFLAGS'
27377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27386 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27388 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27389 for ac_func in sincosl
27390 do :
27391 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27392 if test "x$ac_cv_func_sincosl" = x""yes; then :
27393 cat >>confdefs.h <<_ACEOF
27394 #define HAVE_SINCOSL 1
27395 _ACEOF
27398 done
27400 else
27402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27403 $as_echo_n "checking for _sincosl declaration... " >&6; }
27404 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27405 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27406 $as_echo_n "(cached) " >&6
27407 else
27410 ac_ext=cpp
27411 ac_cpp='$CXXCPP $CPPFLAGS'
27412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27417 /* end confdefs.h. */
27418 #include <math.h>
27420 main ()
27422 _sincosl(0, 0, 0);
27424 return 0;
27426 _ACEOF
27427 if ac_fn_cxx_try_compile "$LINENO"; then :
27428 glibcxx_cv_func__sincosl_use=yes
27429 else
27430 glibcxx_cv_func__sincosl_use=no
27432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27433 ac_ext=c
27434 ac_cpp='$CPP $CPPFLAGS'
27435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27444 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27446 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27447 for ac_func in _sincosl
27448 do :
27449 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27450 if test "x$ac_cv_func__sincosl" = x""yes; then :
27451 cat >>confdefs.h <<_ACEOF
27452 #define HAVE__SINCOSL 1
27453 _ACEOF
27456 done
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27466 $as_echo_n "checking for finitel declaration... " >&6; }
27467 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27468 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27469 $as_echo_n "(cached) " >&6
27470 else
27473 ac_ext=cpp
27474 ac_cpp='$CXXCPP $CPPFLAGS'
27475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27480 /* end confdefs.h. */
27481 #include <math.h>
27482 #ifdef HAVE_IEEEFP_H
27483 #include <ieeefp.h>
27484 #endif
27487 main ()
27489 finitel(0);
27491 return 0;
27493 _ACEOF
27494 if ac_fn_cxx_try_compile "$LINENO"; then :
27495 glibcxx_cv_func_finitel_use=yes
27496 else
27497 glibcxx_cv_func_finitel_use=no
27499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27500 ac_ext=c
27501 ac_cpp='$CPP $CPPFLAGS'
27502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27511 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27513 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27514 for ac_func in finitel
27515 do :
27516 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27517 if test "x$ac_cv_func_finitel" = x""yes; then :
27518 cat >>confdefs.h <<_ACEOF
27519 #define HAVE_FINITEL 1
27520 _ACEOF
27523 done
27525 else
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27528 $as_echo_n "checking for _finitel declaration... " >&6; }
27529 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27530 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27531 $as_echo_n "(cached) " >&6
27532 else
27535 ac_ext=cpp
27536 ac_cpp='$CXXCPP $CPPFLAGS'
27537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27542 /* end confdefs.h. */
27543 #include <math.h>
27544 #ifdef HAVE_IEEEFP_H
27545 #include <ieeefp.h>
27546 #endif
27549 main ()
27551 _finitel(0);
27553 return 0;
27555 _ACEOF
27556 if ac_fn_cxx_try_compile "$LINENO"; then :
27557 glibcxx_cv_func__finitel_use=yes
27558 else
27559 glibcxx_cv_func__finitel_use=no
27561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27562 ac_ext=c
27563 ac_cpp='$CPP $CPPFLAGS'
27564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27573 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27575 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27576 for ac_func in _finitel
27577 do :
27578 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27579 if test "x$ac_cv_func__finitel" = x""yes; then :
27580 cat >>confdefs.h <<_ACEOF
27581 #define HAVE__FINITEL 1
27582 _ACEOF
27585 done
27593 LIBS="$ac_save_LIBS"
27594 CXXFLAGS="$ac_save_CXXFLAGS"
27597 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27598 ac_save_CXXFLAGS="$CXXFLAGS"
27599 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27603 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27604 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27605 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27606 $as_echo_n "(cached) " >&6
27607 else
27610 ac_ext=cpp
27611 ac_cpp='$CXXCPP $CPPFLAGS'
27612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27617 /* end confdefs.h. */
27618 #include <stdlib.h>
27620 main ()
27622 at_quick_exit(0);
27624 return 0;
27626 _ACEOF
27627 if ac_fn_cxx_try_compile "$LINENO"; then :
27628 glibcxx_cv_func_at_quick_exit_use=yes
27629 else
27630 glibcxx_cv_func_at_quick_exit_use=no
27632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27633 ac_ext=c
27634 ac_cpp='$CPP $CPPFLAGS'
27635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27644 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27645 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27646 for ac_func in at_quick_exit
27647 do :
27648 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27649 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27650 cat >>confdefs.h <<_ACEOF
27651 #define HAVE_AT_QUICK_EXIT 1
27652 _ACEOF
27655 done
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27661 $as_echo_n "checking for quick_exit declaration... " >&6; }
27662 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27663 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27664 $as_echo_n "(cached) " >&6
27665 else
27668 ac_ext=cpp
27669 ac_cpp='$CXXCPP $CPPFLAGS'
27670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27675 /* end confdefs.h. */
27676 #include <stdlib.h>
27678 main ()
27680 quick_exit(0);
27682 return 0;
27684 _ACEOF
27685 if ac_fn_cxx_try_compile "$LINENO"; then :
27686 glibcxx_cv_func_quick_exit_use=yes
27687 else
27688 glibcxx_cv_func_quick_exit_use=no
27690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27691 ac_ext=c
27692 ac_cpp='$CPP $CPPFLAGS'
27693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27702 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27703 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27704 for ac_func in quick_exit
27705 do :
27706 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27707 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27708 cat >>confdefs.h <<_ACEOF
27709 #define HAVE_QUICK_EXIT 1
27710 _ACEOF
27713 done
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27719 $as_echo_n "checking for strtold declaration... " >&6; }
27720 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27721 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27722 $as_echo_n "(cached) " >&6
27723 else
27726 ac_ext=cpp
27727 ac_cpp='$CXXCPP $CPPFLAGS'
27728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27733 /* end confdefs.h. */
27734 #include <stdlib.h>
27736 main ()
27738 strtold(0, 0);
27740 return 0;
27742 _ACEOF
27743 if ac_fn_cxx_try_compile "$LINENO"; then :
27744 glibcxx_cv_func_strtold_use=yes
27745 else
27746 glibcxx_cv_func_strtold_use=no
27748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27749 ac_ext=c
27750 ac_cpp='$CPP $CPPFLAGS'
27751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27760 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27761 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27762 for ac_func in strtold
27763 do :
27764 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27765 if test "x$ac_cv_func_strtold" = x""yes; then :
27766 cat >>confdefs.h <<_ACEOF
27767 #define HAVE_STRTOLD 1
27768 _ACEOF
27771 done
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27779 $as_echo_n "checking for strtof declaration... " >&6; }
27780 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27781 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27786 ac_ext=cpp
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27793 /* end confdefs.h. */
27794 #include <stdlib.h>
27796 main ()
27798 strtof(0, 0);
27800 return 0;
27802 _ACEOF
27803 if ac_fn_cxx_try_compile "$LINENO"; then :
27804 glibcxx_cv_func_strtof_use=yes
27805 else
27806 glibcxx_cv_func_strtof_use=no
27808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27809 ac_ext=c
27810 ac_cpp='$CPP $CPPFLAGS'
27811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27820 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27821 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27822 for ac_func in strtof
27823 do :
27824 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27825 if test "x$ac_cv_func_strtof" = x""yes; then :
27826 cat >>confdefs.h <<_ACEOF
27827 #define HAVE_STRTOF 1
27828 _ACEOF
27831 done
27838 CXXFLAGS="$ac_save_CXXFLAGS"
27841 # For /dev/random and /dev/urandom for TR1.
27844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27845 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27846 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27847 $as_echo_n "(cached) " >&6
27848 else
27850 if test -r /dev/random && test -r /dev/urandom; then
27851 ## For MSys environment the test above is detect as false-positive
27852 ## on mingw-targets. So disable it explicit for them.
27853 case ${target_os} in
27854 *mingw*) glibcxx_cv_random_tr1=no ;;
27855 *) glibcxx_cv_random_tr1=yes ;;
27856 esac
27857 else
27858 glibcxx_cv_random_tr1=no;
27863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27864 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27866 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27868 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27874 # For TLS support.
27877 # Check whether --enable-tls was given.
27878 if test "${enable_tls+set}" = set; then :
27879 enableval=$enable_tls;
27880 case "$enableval" in
27881 yes|no) ;;
27882 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27883 esac
27885 else
27886 enable_tls=yes
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27891 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27892 if test "${gcc_cv_have_tls+set}" = set; then :
27893 $as_echo_n "(cached) " >&6
27894 else
27896 if test "$cross_compiling" = yes; then :
27897 if test x$gcc_no_link = xyes; then
27898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27901 /* end confdefs.h. */
27902 __thread int a; int b; int main() { return a = b; }
27903 _ACEOF
27904 if ac_fn_c_try_link "$LINENO"; then :
27905 chktls_save_LDFLAGS="$LDFLAGS"
27906 case $host in
27907 *-*-linux*)
27908 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27910 esac
27911 chktls_save_CFLAGS="$CFLAGS"
27912 CFLAGS="-fPIC $CFLAGS"
27913 if test x$gcc_no_link = xyes; then
27914 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27917 /* end confdefs.h. */
27918 int f() { return 0; }
27919 _ACEOF
27920 if ac_fn_c_try_link "$LINENO"; then :
27921 if test x$gcc_no_link = xyes; then
27922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27925 /* end confdefs.h. */
27926 __thread int a; int b; int f() { return a = b; }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 gcc_cv_have_tls=yes
27930 else
27931 gcc_cv_have_tls=no
27933 rm -f core conftest.err conftest.$ac_objext \
27934 conftest$ac_exeext conftest.$ac_ext
27935 else
27936 gcc_cv_have_tls=yes
27938 rm -f core conftest.err conftest.$ac_objext \
27939 conftest$ac_exeext conftest.$ac_ext
27940 CFLAGS="$chktls_save_CFLAGS"
27941 LDFLAGS="$chktls_save_LDFLAGS"
27942 else
27943 gcc_cv_have_tls=no
27945 rm -f core conftest.err conftest.$ac_objext \
27946 conftest$ac_exeext conftest.$ac_ext
27949 else
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 __thread int a; int b; int main() { return a = b; }
27953 _ACEOF
27954 if ac_fn_c_try_run "$LINENO"; then :
27955 chktls_save_LDFLAGS="$LDFLAGS"
27956 LDFLAGS="-static $LDFLAGS"
27957 if test x$gcc_no_link = xyes; then
27958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27961 /* end confdefs.h. */
27962 int main() { return 0; }
27963 _ACEOF
27964 if ac_fn_c_try_link "$LINENO"; then :
27965 if test "$cross_compiling" = yes; then :
27966 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27967 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27968 as_fn_error "cannot run test program while cross compiling
27969 See \`config.log' for more details." "$LINENO" 5; }
27970 else
27971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27972 /* end confdefs.h. */
27973 __thread int a; int b; int main() { return a = b; }
27974 _ACEOF
27975 if ac_fn_c_try_run "$LINENO"; then :
27976 gcc_cv_have_tls=yes
27977 else
27978 gcc_cv_have_tls=no
27980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27981 conftest.$ac_objext conftest.beam conftest.$ac_ext
27984 else
27985 gcc_cv_have_tls=yes
27987 rm -f core conftest.err conftest.$ac_objext \
27988 conftest$ac_exeext conftest.$ac_ext
27989 LDFLAGS="$chktls_save_LDFLAGS"
27990 if test $gcc_cv_have_tls = yes; then
27991 chktls_save_CFLAGS="$CFLAGS"
27992 thread_CFLAGS=failed
27993 for flag in '' '-pthread' '-lpthread'; do
27994 CFLAGS="$flag $chktls_save_CFLAGS"
27995 if test x$gcc_no_link = xyes; then
27996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27999 /* end confdefs.h. */
28000 #include <pthread.h>
28001 void *g(void *d) { return NULL; }
28003 main ()
28005 pthread_t t; pthread_create(&t,NULL,g,NULL);
28007 return 0;
28009 _ACEOF
28010 if ac_fn_c_try_link "$LINENO"; then :
28011 thread_CFLAGS="$flag"
28013 rm -f core conftest.err conftest.$ac_objext \
28014 conftest$ac_exeext conftest.$ac_ext
28015 if test "X$thread_CFLAGS" != Xfailed; then
28016 break
28018 done
28019 CFLAGS="$chktls_save_CFLAGS"
28020 if test "X$thread_CFLAGS" != Xfailed; then
28021 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28022 if test "$cross_compiling" = yes; then :
28023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28025 as_fn_error "cannot run test program while cross compiling
28026 See \`config.log' for more details." "$LINENO" 5; }
28027 else
28028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28029 /* end confdefs.h. */
28030 #include <pthread.h>
28031 __thread int a;
28032 static int *volatile a_in_other_thread;
28033 static void *
28034 thread_func (void *arg)
28036 a_in_other_thread = &a;
28037 return (void *)0;
28040 main ()
28042 pthread_t thread;
28043 void *thread_retval;
28044 int *volatile a_in_main_thread;
28045 a_in_main_thread = &a;
28046 if (pthread_create (&thread, (pthread_attr_t *)0,
28047 thread_func, (void *)0))
28048 return 0;
28049 if (pthread_join (thread, &thread_retval))
28050 return 0;
28051 return (a_in_other_thread == a_in_main_thread);
28053 return 0;
28055 _ACEOF
28056 if ac_fn_c_try_run "$LINENO"; then :
28057 gcc_cv_have_tls=yes
28058 else
28059 gcc_cv_have_tls=no
28061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28062 conftest.$ac_objext conftest.beam conftest.$ac_ext
28065 CFLAGS="$chktls_save_CFLAGS"
28068 else
28069 gcc_cv_have_tls=no
28071 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28072 conftest.$ac_objext conftest.beam conftest.$ac_ext
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28077 $as_echo "$gcc_cv_have_tls" >&6; }
28078 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28080 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28084 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28085 do :
28086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28088 eval as_val=\$$as_ac_var
28089 if test "x$as_val" = x""yes; then :
28090 cat >>confdefs.h <<_ACEOF
28091 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28092 _ACEOF
28095 done
28097 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28098 do :
28099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28101 eval as_val=\$$as_ac_var
28102 if test "x$as_val" = x""yes; then :
28103 cat >>confdefs.h <<_ACEOF
28104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28105 _ACEOF
28108 done
28111 # For iconv support.
28113 if test "X$prefix" = "XNONE"; then
28114 acl_final_prefix="$ac_default_prefix"
28115 else
28116 acl_final_prefix="$prefix"
28118 if test "X$exec_prefix" = "XNONE"; then
28119 acl_final_exec_prefix='${prefix}'
28120 else
28121 acl_final_exec_prefix="$exec_prefix"
28123 acl_save_prefix="$prefix"
28124 prefix="$acl_final_prefix"
28125 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28126 prefix="$acl_save_prefix"
28129 # Check whether --with-gnu-ld was given.
28130 if test "${with_gnu_ld+set}" = set; then :
28131 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28132 else
28133 with_gnu_ld=no
28136 # Prepare PATH_SEPARATOR.
28137 # The user is always right.
28138 if test "${PATH_SEPARATOR+set}" != set; then
28139 echo "#! /bin/sh" >conf$$.sh
28140 echo "exit 0" >>conf$$.sh
28141 chmod +x conf$$.sh
28142 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28143 PATH_SEPARATOR=';'
28144 else
28145 PATH_SEPARATOR=:
28147 rm -f conf$$.sh
28149 ac_prog=ld
28150 if test "$GCC" = yes; then
28151 # Check if gcc -print-prog-name=ld gives a path.
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28153 $as_echo_n "checking for ld used by GCC... " >&6; }
28154 case $host in
28155 *-*-mingw*)
28156 # gcc leaves a trailing carriage return which upsets mingw
28157 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28159 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28160 esac
28161 case $ac_prog in
28162 # Accept absolute paths.
28163 [\\/]* | [A-Za-z]:[\\/]*)
28164 re_direlt='/[^/][^/]*/\.\./'
28165 # Canonicalize the path of ld
28166 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28167 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28168 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28169 done
28170 test -z "$LD" && LD="$ac_prog"
28173 # If it fails, then pretend we aren't using GCC.
28174 ac_prog=ld
28177 # If it is relative, then search for the first ld in PATH.
28178 with_gnu_ld=unknown
28180 esac
28181 elif test "$with_gnu_ld" = yes; then
28182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28183 $as_echo_n "checking for GNU ld... " >&6; }
28184 else
28185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28186 $as_echo_n "checking for non-GNU ld... " >&6; }
28188 if test "${acl_cv_path_LD+set}" = set; then :
28189 $as_echo_n "(cached) " >&6
28190 else
28191 if test -z "$LD"; then
28192 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28193 for ac_dir in $PATH; do
28194 test -z "$ac_dir" && ac_dir=.
28195 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28196 acl_cv_path_LD="$ac_dir/$ac_prog"
28197 # Check to see if the program is GNU ld. I'd rather use --version,
28198 # but apparently some GNU ld's only accept -v.
28199 # Break only if it was the GNU/non-GNU ld that we prefer.
28200 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28201 test "$with_gnu_ld" != no && break
28202 else
28203 test "$with_gnu_ld" != yes && break
28206 done
28207 IFS="$ac_save_ifs"
28208 else
28209 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28213 LD="$acl_cv_path_LD"
28214 if test -n "$LD"; then
28215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28216 $as_echo "$LD" >&6; }
28217 else
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28219 $as_echo "no" >&6; }
28221 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28223 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28224 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28225 $as_echo_n "(cached) " >&6
28226 else
28227 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28228 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28229 acl_cv_prog_gnu_ld=yes
28230 else
28231 acl_cv_prog_gnu_ld=no
28234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28235 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28236 with_gnu_ld=$acl_cv_prog_gnu_ld
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28241 $as_echo_n "checking for shared library run path origin... " >&6; }
28242 if test "${acl_cv_rpath+set}" = set; then :
28243 $as_echo_n "(cached) " >&6
28244 else
28246 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28247 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28248 . ./conftest.sh
28249 rm -f ./conftest.sh
28250 acl_cv_rpath=done
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28254 $as_echo "$acl_cv_rpath" >&6; }
28255 wl="$acl_cv_wl"
28256 libext="$acl_cv_libext"
28257 shlibext="$acl_cv_shlibext"
28258 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28259 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28260 hardcode_direct="$acl_cv_hardcode_direct"
28261 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28262 # Check whether --enable-rpath was given.
28263 if test "${enable_rpath+set}" = set; then :
28264 enableval=$enable_rpath; :
28265 else
28266 enable_rpath=yes
28276 use_additional=yes
28278 acl_save_prefix="$prefix"
28279 prefix="$acl_final_prefix"
28280 acl_save_exec_prefix="$exec_prefix"
28281 exec_prefix="$acl_final_exec_prefix"
28283 eval additional_includedir=\"$includedir\"
28284 eval additional_libdir=\"$libdir\"
28286 exec_prefix="$acl_save_exec_prefix"
28287 prefix="$acl_save_prefix"
28290 # Check whether --with-libiconv-prefix was given.
28291 if test "${with_libiconv_prefix+set}" = set; then :
28292 withval=$with_libiconv_prefix;
28293 if test "X$withval" = "Xno"; then
28294 use_additional=no
28295 else
28296 if test "X$withval" = "X"; then
28298 acl_save_prefix="$prefix"
28299 prefix="$acl_final_prefix"
28300 acl_save_exec_prefix="$exec_prefix"
28301 exec_prefix="$acl_final_exec_prefix"
28303 eval additional_includedir=\"$includedir\"
28304 eval additional_libdir=\"$libdir\"
28306 exec_prefix="$acl_save_exec_prefix"
28307 prefix="$acl_save_prefix"
28309 else
28310 additional_includedir="$withval/include"
28311 additional_libdir="$withval/lib"
28317 LIBICONV=
28318 LTLIBICONV=
28319 INCICONV=
28320 rpathdirs=
28321 ltrpathdirs=
28322 names_already_handled=
28323 names_next_round='iconv '
28324 while test -n "$names_next_round"; do
28325 names_this_round="$names_next_round"
28326 names_next_round=
28327 for name in $names_this_round; do
28328 already_handled=
28329 for n in $names_already_handled; do
28330 if test "$n" = "$name"; then
28331 already_handled=yes
28332 break
28334 done
28335 if test -z "$already_handled"; then
28336 names_already_handled="$names_already_handled $name"
28337 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28338 eval value=\"\$HAVE_LIB$uppername\"
28339 if test -n "$value"; then
28340 if test "$value" = yes; then
28341 eval value=\"\$LIB$uppername\"
28342 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28343 eval value=\"\$LTLIB$uppername\"
28344 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28345 else
28348 else
28349 found_dir=
28350 found_la=
28351 found_so=
28352 found_a=
28353 if test $use_additional = yes; then
28354 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28355 found_dir="$additional_libdir"
28356 found_so="$additional_libdir/lib$name.$shlibext"
28357 if test -f "$additional_libdir/lib$name.la"; then
28358 found_la="$additional_libdir/lib$name.la"
28360 else
28361 if test -f "$additional_libdir/lib$name.$libext"; then
28362 found_dir="$additional_libdir"
28363 found_a="$additional_libdir/lib$name.$libext"
28364 if test -f "$additional_libdir/lib$name.la"; then
28365 found_la="$additional_libdir/lib$name.la"
28370 if test "X$found_dir" = "X"; then
28371 for x in $LDFLAGS $LTLIBICONV; do
28373 acl_save_prefix="$prefix"
28374 prefix="$acl_final_prefix"
28375 acl_save_exec_prefix="$exec_prefix"
28376 exec_prefix="$acl_final_exec_prefix"
28377 eval x=\"$x\"
28378 exec_prefix="$acl_save_exec_prefix"
28379 prefix="$acl_save_prefix"
28381 case "$x" in
28382 -L*)
28383 dir=`echo "X$x" | sed -e 's/^X-L//'`
28384 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28385 found_dir="$dir"
28386 found_so="$dir/lib$name.$shlibext"
28387 if test -f "$dir/lib$name.la"; then
28388 found_la="$dir/lib$name.la"
28390 else
28391 if test -f "$dir/lib$name.$libext"; then
28392 found_dir="$dir"
28393 found_a="$dir/lib$name.$libext"
28394 if test -f "$dir/lib$name.la"; then
28395 found_la="$dir/lib$name.la"
28400 esac
28401 if test "X$found_dir" != "X"; then
28402 break
28404 done
28406 if test "X$found_dir" != "X"; then
28407 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28408 if test "X$found_so" != "X"; then
28409 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28410 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28411 else
28412 haveit=
28413 for x in $ltrpathdirs; do
28414 if test "X$x" = "X$found_dir"; then
28415 haveit=yes
28416 break
28418 done
28419 if test -z "$haveit"; then
28420 ltrpathdirs="$ltrpathdirs $found_dir"
28422 if test "$hardcode_direct" = yes; then
28423 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28424 else
28425 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28426 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28427 haveit=
28428 for x in $rpathdirs; do
28429 if test "X$x" = "X$found_dir"; then
28430 haveit=yes
28431 break
28433 done
28434 if test -z "$haveit"; then
28435 rpathdirs="$rpathdirs $found_dir"
28437 else
28438 haveit=
28439 for x in $LDFLAGS $LIBICONV; do
28441 acl_save_prefix="$prefix"
28442 prefix="$acl_final_prefix"
28443 acl_save_exec_prefix="$exec_prefix"
28444 exec_prefix="$acl_final_exec_prefix"
28445 eval x=\"$x\"
28446 exec_prefix="$acl_save_exec_prefix"
28447 prefix="$acl_save_prefix"
28449 if test "X$x" = "X-L$found_dir"; then
28450 haveit=yes
28451 break
28453 done
28454 if test -z "$haveit"; then
28455 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28457 if test "$hardcode_minus_L" != no; then
28458 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28459 else
28460 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28465 else
28466 if test "X$found_a" != "X"; then
28467 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28468 else
28469 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28472 additional_includedir=
28473 case "$found_dir" in
28474 */lib | */lib/)
28475 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28476 additional_includedir="$basedir/include"
28478 esac
28479 if test "X$additional_includedir" != "X"; then
28480 if test "X$additional_includedir" != "X/usr/include"; then
28481 haveit=
28482 if test "X$additional_includedir" = "X/usr/local/include"; then
28483 if test -n "$GCC"; then
28484 case $host_os in
28485 linux*) haveit=yes;;
28486 esac
28489 if test -z "$haveit"; then
28490 for x in $CPPFLAGS $INCICONV; do
28492 acl_save_prefix="$prefix"
28493 prefix="$acl_final_prefix"
28494 acl_save_exec_prefix="$exec_prefix"
28495 exec_prefix="$acl_final_exec_prefix"
28496 eval x=\"$x\"
28497 exec_prefix="$acl_save_exec_prefix"
28498 prefix="$acl_save_prefix"
28500 if test "X$x" = "X-I$additional_includedir"; then
28501 haveit=yes
28502 break
28504 done
28505 if test -z "$haveit"; then
28506 if test -d "$additional_includedir"; then
28507 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28513 if test -n "$found_la"; then
28514 save_libdir="$libdir"
28515 case "$found_la" in
28516 */* | *\\*) . "$found_la" ;;
28517 *) . "./$found_la" ;;
28518 esac
28519 libdir="$save_libdir"
28520 for dep in $dependency_libs; do
28521 case "$dep" in
28522 -L*)
28523 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28524 if test "X$additional_libdir" != "X/usr/lib"; then
28525 haveit=
28526 if test "X$additional_libdir" = "X/usr/local/lib"; then
28527 if test -n "$GCC"; then
28528 case $host_os in
28529 linux*) haveit=yes;;
28530 esac
28533 if test -z "$haveit"; then
28534 haveit=
28535 for x in $LDFLAGS $LIBICONV; do
28537 acl_save_prefix="$prefix"
28538 prefix="$acl_final_prefix"
28539 acl_save_exec_prefix="$exec_prefix"
28540 exec_prefix="$acl_final_exec_prefix"
28541 eval x=\"$x\"
28542 exec_prefix="$acl_save_exec_prefix"
28543 prefix="$acl_save_prefix"
28545 if test "X$x" = "X-L$additional_libdir"; then
28546 haveit=yes
28547 break
28549 done
28550 if test -z "$haveit"; then
28551 if test -d "$additional_libdir"; then
28552 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28555 haveit=
28556 for x in $LDFLAGS $LTLIBICONV; do
28558 acl_save_prefix="$prefix"
28559 prefix="$acl_final_prefix"
28560 acl_save_exec_prefix="$exec_prefix"
28561 exec_prefix="$acl_final_exec_prefix"
28562 eval x=\"$x\"
28563 exec_prefix="$acl_save_exec_prefix"
28564 prefix="$acl_save_prefix"
28566 if test "X$x" = "X-L$additional_libdir"; then
28567 haveit=yes
28568 break
28570 done
28571 if test -z "$haveit"; then
28572 if test -d "$additional_libdir"; then
28573 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28579 -R*)
28580 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28581 if test "$enable_rpath" != no; then
28582 haveit=
28583 for x in $rpathdirs; do
28584 if test "X$x" = "X$dir"; then
28585 haveit=yes
28586 break
28588 done
28589 if test -z "$haveit"; then
28590 rpathdirs="$rpathdirs $dir"
28592 haveit=
28593 for x in $ltrpathdirs; do
28594 if test "X$x" = "X$dir"; then
28595 haveit=yes
28596 break
28598 done
28599 if test -z "$haveit"; then
28600 ltrpathdirs="$ltrpathdirs $dir"
28604 -l*)
28605 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28607 *.la)
28608 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28611 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28612 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28614 esac
28615 done
28617 else
28618 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28619 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28623 done
28624 done
28625 if test "X$rpathdirs" != "X"; then
28626 if test -n "$hardcode_libdir_separator"; then
28627 alldirs=
28628 for found_dir in $rpathdirs; do
28629 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28630 done
28631 acl_save_libdir="$libdir"
28632 libdir="$alldirs"
28633 eval flag=\"$hardcode_libdir_flag_spec\"
28634 libdir="$acl_save_libdir"
28635 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28636 else
28637 for found_dir in $rpathdirs; do
28638 acl_save_libdir="$libdir"
28639 libdir="$found_dir"
28640 eval flag=\"$hardcode_libdir_flag_spec\"
28641 libdir="$acl_save_libdir"
28642 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28643 done
28646 if test "X$ltrpathdirs" != "X"; then
28647 for found_dir in $ltrpathdirs; do
28648 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28649 done
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28659 $as_echo_n "checking for iconv... " >&6; }
28660 if test "${am_cv_func_iconv+set}" = set; then :
28661 $as_echo_n "(cached) " >&6
28662 else
28664 am_cv_func_iconv="no, consider installing GNU libiconv"
28665 am_cv_lib_iconv=no
28666 am_save_CPPFLAGS="$CPPFLAGS"
28667 CPPFLAGS="$CPPFLAGS $INCICONV"
28668 if test x$gcc_no_link = xyes; then
28669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28672 /* end confdefs.h. */
28673 #include <stdlib.h>
28674 #include <iconv.h>
28676 main ()
28678 iconv_t cd = iconv_open("","");
28679 iconv(cd,NULL,NULL,NULL,NULL);
28680 iconv_close(cd);
28682 return 0;
28684 _ACEOF
28685 if ac_fn_c_try_link "$LINENO"; then :
28686 am_cv_func_iconv=yes
28688 rm -f core conftest.err conftest.$ac_objext \
28689 conftest$ac_exeext conftest.$ac_ext
28690 CPPFLAGS="$am_save_CPPFLAGS"
28692 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28693 for _libs in .libs _libs; do
28694 am_save_CPPFLAGS="$CPPFLAGS"
28695 am_save_LIBS="$LIBS"
28696 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28697 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28698 if test x$gcc_no_link = xyes; then
28699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28702 /* end confdefs.h. */
28703 #include <stdlib.h>
28704 #include <iconv.h>
28706 main ()
28708 iconv_t cd = iconv_open("","");
28709 iconv(cd,NULL,NULL,NULL,NULL);
28710 iconv_close(cd);
28712 return 0;
28714 _ACEOF
28715 if ac_fn_c_try_link "$LINENO"; then :
28716 INCICONV="-I../libiconv/include"
28717 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28718 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28719 am_cv_lib_iconv=yes
28720 am_cv_func_iconv=yes
28722 rm -f core conftest.err conftest.$ac_objext \
28723 conftest$ac_exeext conftest.$ac_ext
28724 CPPFLAGS="$am_save_CPPFLAGS"
28725 LIBS="$am_save_LIBS"
28726 if test "$am_cv_func_iconv" = "yes"; then
28727 break
28729 done
28732 if test "$am_cv_func_iconv" != yes; then
28733 am_save_CPPFLAGS="$CPPFLAGS"
28734 am_save_LIBS="$LIBS"
28735 CPPFLAGS="$LIBS $INCICONV"
28736 LIBS="$LIBS $LIBICONV"
28737 if test x$gcc_no_link = xyes; then
28738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28741 /* end confdefs.h. */
28742 #include <stdlib.h>
28743 #include <iconv.h>
28745 main ()
28747 iconv_t cd = iconv_open("","");
28748 iconv(cd,NULL,NULL,NULL,NULL);
28749 iconv_close(cd);
28751 return 0;
28753 _ACEOF
28754 if ac_fn_c_try_link "$LINENO"; then :
28755 am_cv_lib_iconv=yes
28756 am_cv_func_iconv=yes
28758 rm -f core conftest.err conftest.$ac_objext \
28759 conftest$ac_exeext conftest.$ac_ext
28760 CPPFLAGS="$am_save_CPPFLAGS"
28761 LIBS="$am_save_LIBS"
28765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28766 $as_echo "$am_cv_func_iconv" >&6; }
28767 if test "$am_cv_func_iconv" = yes; then
28769 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28772 if test "$am_cv_lib_iconv" = yes; then
28774 for element in $INCICONV; do
28775 haveit=
28776 for x in $CPPFLAGS; do
28778 acl_save_prefix="$prefix"
28779 prefix="$acl_final_prefix"
28780 acl_save_exec_prefix="$exec_prefix"
28781 exec_prefix="$acl_final_exec_prefix"
28782 eval x=\"$x\"
28783 exec_prefix="$acl_save_exec_prefix"
28784 prefix="$acl_save_prefix"
28786 if test "X$x" = "X$element"; then
28787 haveit=yes
28788 break
28790 done
28791 if test -z "$haveit"; then
28792 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28794 done
28796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28797 $as_echo_n "checking how to link with libiconv... " >&6; }
28798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28799 $as_echo "$LIBICONV" >&6; }
28800 else
28801 LIBICONV=
28802 LTLIBICONV=
28807 if test "$am_cv_func_iconv" = yes; then
28808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28809 $as_echo_n "checking for iconv declaration... " >&6; }
28810 if test "${am_cv_proto_iconv+set}" = set; then :
28811 $as_echo_n "(cached) " >&6
28812 else
28814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28815 /* end confdefs.h. */
28817 #include <stdlib.h>
28818 #include <iconv.h>
28819 extern
28820 #ifdef __cplusplus
28822 #endif
28823 #if defined(__STDC__) || defined(__cplusplus)
28824 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28825 #else
28826 size_t iconv();
28827 #endif
28830 main ()
28834 return 0;
28836 _ACEOF
28837 if ac_fn_c_try_compile "$LINENO"; then :
28838 am_cv_proto_iconv_arg1=""
28839 else
28840 am_cv_proto_iconv_arg1="const"
28842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28843 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);"
28846 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28848 }$am_cv_proto_iconv" >&5
28849 $as_echo "${ac_t:-
28850 }$am_cv_proto_iconv" >&6; }
28852 cat >>confdefs.h <<_ACEOF
28853 #define ICONV_CONST $am_cv_proto_iconv_arg1
28854 _ACEOF
28859 else
28861 # This lets us hard-code the functionality we know we'll have in the cross
28862 # target environment. "Let" is a sugar-coated word placed on an especially
28863 # dull and tedious hack, actually.
28865 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28866 # that involve linking, can't be used:
28867 # "cannot open sim-crt0.o"
28868 # "cannot open crt0.o"
28869 # etc. All this is because there currently exists no unified, consistent
28870 # way for top level CC information to be passed down to target directories:
28871 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28872 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28873 # crosses can be removed.
28875 # If Canadian cross, then don't pick up tools from the build directory.
28876 # Used only in GLIBCXX_EXPORT_INCLUDES.
28877 if test -n "$with_cross_host" &&
28878 test x"$build_alias" != x"$with_cross_host" &&
28879 test x"$build" != x"$target";
28880 then
28881 CANADIAN=yes
28882 else
28883 CANADIAN=no
28886 # Construct crosses by hand, eliminating bits that need ld...
28887 # GLIBCXX_CHECK_MATH_SUPPORT
28889 # First, test for "known" system libraries. We may be using newlib even
28890 # on a hosted environment.
28891 if test "x${with_newlib}" = "xyes"; then
28892 os_include_dir="os/newlib"
28893 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28896 # GLIBCXX_CHECK_STDLIB_SUPPORT
28897 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28900 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28902 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28904 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28906 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28908 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28910 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28912 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28914 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28916 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28918 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28920 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28922 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28924 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28926 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28928 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28930 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28932 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28934 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28936 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28938 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28940 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28942 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28945 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28947 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28949 else
28951 # Base decisions on target environment.
28952 case "${host}" in
28953 arm*-*-symbianelf*)
28954 # This is a freestanding configuration; there is nothing to do here.
28957 avr*-*-*)
28958 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28960 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28962 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28964 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28966 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28968 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28970 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28972 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28974 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28976 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28978 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28980 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28982 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28984 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28986 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28988 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28990 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28992 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28994 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28996 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28998 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29000 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29002 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29006 mips*-sde-elf*)
29007 # These definitions are for the SDE C library rather than newlib.
29008 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29011 # All these tests are for C++; save the language and the compiler flags.
29012 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29013 # found in GLIBCXX_CONFIGURE.
29015 ac_ext=cpp
29016 ac_cpp='$CXXCPP $CPPFLAGS'
29017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29021 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29022 ac_save_CXXFLAGS="$CXXFLAGS"
29024 # Check for maintainer-mode bits.
29025 if test x"$USE_MAINTAINER_MODE" = xno; then
29026 WERROR=''
29027 else
29028 WERROR='-Werror'
29031 # Check for -ffunction-sections -fdata-sections
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29033 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29034 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29037 int foo; void bar() { };
29039 main ()
29043 return 0;
29045 _ACEOF
29046 if ac_fn_cxx_try_compile "$LINENO"; then :
29047 ac_fdsections=yes
29048 else
29049 ac_fdsections=no
29051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29052 if test "$ac_test_CXXFLAGS" = set; then
29053 CXXFLAGS="$ac_save_CXXFLAGS"
29054 else
29055 # this is the suspicious part
29056 CXXFLAGS=''
29058 if test x"$ac_fdsections" = x"yes"; then
29059 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29062 $as_echo "$ac_fdsections" >&6; }
29064 ac_ext=c
29065 ac_cpp='$CPP $CPPFLAGS'
29066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29074 # If we're not using GNU ld, then there's no point in even trying these
29075 # tests. Check for that first. We should have already tested for gld
29076 # by now (in libtool), but require it now just to be safe...
29077 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29078 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29082 # The name set by libtool depends on the version of libtool. Shame on us
29083 # for depending on an impl detail, but c'est la vie. Older versions used
29084 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29085 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29086 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29087 # set (hence we're using an older libtool), then set it.
29088 if test x${with_gnu_ld+set} != xset; then
29089 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29090 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29091 with_gnu_ld=no
29092 else
29093 with_gnu_ld=$ac_cv_prog_gnu_ld
29097 # Start by getting the version number. I think the libtool test already
29098 # does some of this, but throws away the result.
29099 glibcxx_ld_is_gold=no
29100 if test x"$with_gnu_ld" = x"yes"; then
29101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29102 $as_echo_n "checking for ld version... " >&6; }
29104 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29105 glibcxx_ld_is_gold=yes
29107 ldver=`$LD --version 2>/dev/null |
29108 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
29110 glibcxx_gnu_ld_version=`echo $ldver | \
29111 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29113 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29116 # Set --gc-sections.
29117 glibcxx_have_gc_sections=no
29118 if test "$glibcxx_ld_is_gold" = "yes"; then
29119 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29120 glibcxx_have_gc_sections=yes
29122 else
29123 glibcxx_gcsections_min_ld=21602
29124 if test x"$with_gnu_ld" = x"yes" &&
29125 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29126 glibcxx_have_gc_sections=yes
29129 if test "$glibcxx_have_gc_sections" = "yes"; then
29130 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29131 # NB: This flag only works reliably after 2.16.1. Configure tests
29132 # for this are difficult, so hard wire a value that should work.
29134 ac_test_CFLAGS="${CFLAGS+set}"
29135 ac_save_CFLAGS="$CFLAGS"
29136 CFLAGS='-Wl,--gc-sections'
29138 # Check for -Wl,--gc-sections
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29140 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29141 if test x$gcc_no_link = xyes; then
29142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29145 /* end confdefs.h. */
29146 int one(void) { return 1; }
29147 int two(void) { return 2; }
29150 main ()
29152 two();
29154 return 0;
29156 _ACEOF
29157 if ac_fn_c_try_link "$LINENO"; then :
29158 ac_gcsections=yes
29159 else
29160 ac_gcsections=no
29162 rm -f core conftest.err conftest.$ac_objext \
29163 conftest$ac_exeext conftest.$ac_ext
29164 if test "$ac_gcsections" = "yes"; then
29165 rm -f conftest.c
29166 touch conftest.c
29167 if $CC -c conftest.c; then
29168 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29169 grep "Warning: gc-sections option ignored" > /dev/null; then
29170 ac_gcsections=no
29173 rm -f conftest.c conftest.o conftest
29175 if test "$ac_gcsections" = "yes"; then
29176 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29179 $as_echo "$ac_gcsections" >&6; }
29181 if test "$ac_test_CFLAGS" = set; then
29182 CFLAGS="$ac_save_CFLAGS"
29183 else
29184 # this is the suspicious part
29185 CFLAGS=''
29189 # Set -z,relro.
29190 # Note this is only for shared objects.
29191 ac_ld_relro=no
29192 if test x"$with_gnu_ld" = x"yes"; then
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29194 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29195 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29196 if test -n "$cxx_z_relo"; then
29197 OPT_LDFLAGS="-Wl,-z,relro"
29198 ac_ld_relro=yes
29200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29201 $as_echo "$ac_ld_relro" >&6; }
29204 # Set linker optimization flags.
29205 if test x"$with_gnu_ld" = x"yes"; then
29206 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29213 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29214 ac_save_CXXFLAGS="$CXXFLAGS"
29215 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29218 $as_echo_n "checking for sin in -lm... " >&6; }
29219 if test "${ac_cv_lib_m_sin+set}" = set; then :
29220 $as_echo_n "(cached) " >&6
29221 else
29222 ac_check_lib_save_LIBS=$LIBS
29223 LIBS="-lm $LIBS"
29224 if test x$gcc_no_link = xyes; then
29225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29228 /* end confdefs.h. */
29230 /* Override any GCC internal prototype to avoid an error.
29231 Use char because int might match the return type of a GCC
29232 builtin and then its argument prototype would still apply. */
29233 #ifdef __cplusplus
29234 extern "C"
29235 #endif
29236 char sin ();
29238 main ()
29240 return sin ();
29242 return 0;
29244 _ACEOF
29245 if ac_fn_c_try_link "$LINENO"; then :
29246 ac_cv_lib_m_sin=yes
29247 else
29248 ac_cv_lib_m_sin=no
29250 rm -f core conftest.err conftest.$ac_objext \
29251 conftest$ac_exeext conftest.$ac_ext
29252 LIBS=$ac_check_lib_save_LIBS
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29255 $as_echo "$ac_cv_lib_m_sin" >&6; }
29256 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29257 libm="-lm"
29260 ac_save_LIBS="$LIBS"
29261 LIBS="$LIBS $libm"
29265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29266 $as_echo_n "checking for isinf declaration... " >&6; }
29267 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29268 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29269 $as_echo_n "(cached) " >&6
29270 else
29273 ac_ext=cpp
29274 ac_cpp='$CXXCPP $CPPFLAGS'
29275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29280 /* end confdefs.h. */
29281 #include <math.h>
29282 #ifdef HAVE_IEEEFP_H
29283 #include <ieeefp.h>
29284 #endif
29287 main ()
29289 isinf(0);
29291 return 0;
29293 _ACEOF
29294 if ac_fn_cxx_try_compile "$LINENO"; then :
29295 glibcxx_cv_func_isinf_use=yes
29296 else
29297 glibcxx_cv_func_isinf_use=no
29299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29300 ac_ext=c
29301 ac_cpp='$CPP $CPPFLAGS'
29302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29311 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29313 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29314 for ac_func in isinf
29315 do :
29316 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29317 if test "x$ac_cv_func_isinf" = x""yes; then :
29318 cat >>confdefs.h <<_ACEOF
29319 #define HAVE_ISINF 1
29320 _ACEOF
29323 done
29325 else
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29328 $as_echo_n "checking for _isinf declaration... " >&6; }
29329 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29330 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29331 $as_echo_n "(cached) " >&6
29332 else
29335 ac_ext=cpp
29336 ac_cpp='$CXXCPP $CPPFLAGS'
29337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29342 /* end confdefs.h. */
29343 #include <math.h>
29344 #ifdef HAVE_IEEEFP_H
29345 #include <ieeefp.h>
29346 #endif
29349 main ()
29351 _isinf(0);
29353 return 0;
29355 _ACEOF
29356 if ac_fn_cxx_try_compile "$LINENO"; then :
29357 glibcxx_cv_func__isinf_use=yes
29358 else
29359 glibcxx_cv_func__isinf_use=no
29361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29362 ac_ext=c
29363 ac_cpp='$CPP $CPPFLAGS'
29364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29373 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29375 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29376 for ac_func in _isinf
29377 do :
29378 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29379 if test "x$ac_cv_func__isinf" = x""yes; then :
29380 cat >>confdefs.h <<_ACEOF
29381 #define HAVE__ISINF 1
29382 _ACEOF
29385 done
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29395 $as_echo_n "checking for isnan declaration... " >&6; }
29396 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29397 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29398 $as_echo_n "(cached) " >&6
29399 else
29402 ac_ext=cpp
29403 ac_cpp='$CXXCPP $CPPFLAGS'
29404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29409 /* end confdefs.h. */
29410 #include <math.h>
29411 #ifdef HAVE_IEEEFP_H
29412 #include <ieeefp.h>
29413 #endif
29416 main ()
29418 isnan(0);
29420 return 0;
29422 _ACEOF
29423 if ac_fn_cxx_try_compile "$LINENO"; then :
29424 glibcxx_cv_func_isnan_use=yes
29425 else
29426 glibcxx_cv_func_isnan_use=no
29428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29429 ac_ext=c
29430 ac_cpp='$CPP $CPPFLAGS'
29431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29440 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29442 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29443 for ac_func in isnan
29444 do :
29445 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29446 if test "x$ac_cv_func_isnan" = x""yes; then :
29447 cat >>confdefs.h <<_ACEOF
29448 #define HAVE_ISNAN 1
29449 _ACEOF
29452 done
29454 else
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29457 $as_echo_n "checking for _isnan declaration... " >&6; }
29458 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29459 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29460 $as_echo_n "(cached) " >&6
29461 else
29464 ac_ext=cpp
29465 ac_cpp='$CXXCPP $CPPFLAGS'
29466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29471 /* end confdefs.h. */
29472 #include <math.h>
29473 #ifdef HAVE_IEEEFP_H
29474 #include <ieeefp.h>
29475 #endif
29478 main ()
29480 _isnan(0);
29482 return 0;
29484 _ACEOF
29485 if ac_fn_cxx_try_compile "$LINENO"; then :
29486 glibcxx_cv_func__isnan_use=yes
29487 else
29488 glibcxx_cv_func__isnan_use=no
29490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29491 ac_ext=c
29492 ac_cpp='$CPP $CPPFLAGS'
29493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29502 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29504 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29505 for ac_func in _isnan
29506 do :
29507 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29508 if test "x$ac_cv_func__isnan" = x""yes; then :
29509 cat >>confdefs.h <<_ACEOF
29510 #define HAVE__ISNAN 1
29511 _ACEOF
29514 done
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29524 $as_echo_n "checking for finite declaration... " >&6; }
29525 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29526 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29527 $as_echo_n "(cached) " >&6
29528 else
29531 ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h. */
29539 #include <math.h>
29540 #ifdef HAVE_IEEEFP_H
29541 #include <ieeefp.h>
29542 #endif
29545 main ()
29547 finite(0);
29549 return 0;
29551 _ACEOF
29552 if ac_fn_cxx_try_compile "$LINENO"; then :
29553 glibcxx_cv_func_finite_use=yes
29554 else
29555 glibcxx_cv_func_finite_use=no
29557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29558 ac_ext=c
29559 ac_cpp='$CPP $CPPFLAGS'
29560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29569 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29571 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29572 for ac_func in finite
29573 do :
29574 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29575 if test "x$ac_cv_func_finite" = x""yes; then :
29576 cat >>confdefs.h <<_ACEOF
29577 #define HAVE_FINITE 1
29578 _ACEOF
29581 done
29583 else
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29586 $as_echo_n "checking for _finite declaration... " >&6; }
29587 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29588 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29589 $as_echo_n "(cached) " >&6
29590 else
29593 ac_ext=cpp
29594 ac_cpp='$CXXCPP $CPPFLAGS'
29595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29600 /* end confdefs.h. */
29601 #include <math.h>
29602 #ifdef HAVE_IEEEFP_H
29603 #include <ieeefp.h>
29604 #endif
29607 main ()
29609 _finite(0);
29611 return 0;
29613 _ACEOF
29614 if ac_fn_cxx_try_compile "$LINENO"; then :
29615 glibcxx_cv_func__finite_use=yes
29616 else
29617 glibcxx_cv_func__finite_use=no
29619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29620 ac_ext=c
29621 ac_cpp='$CPP $CPPFLAGS'
29622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29631 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29633 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29634 for ac_func in _finite
29635 do :
29636 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29637 if test "x$ac_cv_func__finite" = x""yes; then :
29638 cat >>confdefs.h <<_ACEOF
29639 #define HAVE__FINITE 1
29640 _ACEOF
29643 done
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29653 $as_echo_n "checking for sincos declaration... " >&6; }
29654 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29655 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29656 $as_echo_n "(cached) " >&6
29657 else
29660 ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29668 #include <math.h>
29670 main ()
29672 sincos(0, 0, 0);
29674 return 0;
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func_sincos_use=yes
29679 else
29680 glibcxx_cv_func_sincos_use=no
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29694 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29696 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29697 for ac_func in sincos
29698 do :
29699 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29700 if test "x$ac_cv_func_sincos" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE_SINCOS 1
29703 _ACEOF
29706 done
29708 else
29710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29711 $as_echo_n "checking for _sincos declaration... " >&6; }
29712 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29713 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29714 $as_echo_n "(cached) " >&6
29715 else
29718 ac_ext=cpp
29719 ac_cpp='$CXXCPP $CPPFLAGS'
29720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29725 /* end confdefs.h. */
29726 #include <math.h>
29728 main ()
29730 _sincos(0, 0, 0);
29732 return 0;
29734 _ACEOF
29735 if ac_fn_cxx_try_compile "$LINENO"; then :
29736 glibcxx_cv_func__sincos_use=yes
29737 else
29738 glibcxx_cv_func__sincos_use=no
29740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29741 ac_ext=c
29742 ac_cpp='$CPP $CPPFLAGS'
29743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29752 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29754 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29755 for ac_func in _sincos
29756 do :
29757 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29758 if test "x$ac_cv_func__sincos" = x""yes; then :
29759 cat >>confdefs.h <<_ACEOF
29760 #define HAVE__SINCOS 1
29761 _ACEOF
29764 done
29773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29774 $as_echo_n "checking for fpclass declaration... " >&6; }
29775 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29776 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29777 $as_echo_n "(cached) " >&6
29778 else
29781 ac_ext=cpp
29782 ac_cpp='$CXXCPP $CPPFLAGS'
29783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29788 /* end confdefs.h. */
29789 #include <math.h>
29790 #ifdef HAVE_IEEEFP_H
29791 #include <ieeefp.h>
29792 #endif
29795 main ()
29797 fpclass(0);
29799 return 0;
29801 _ACEOF
29802 if ac_fn_cxx_try_compile "$LINENO"; then :
29803 glibcxx_cv_func_fpclass_use=yes
29804 else
29805 glibcxx_cv_func_fpclass_use=no
29807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29808 ac_ext=c
29809 ac_cpp='$CPP $CPPFLAGS'
29810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29819 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29821 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29822 for ac_func in fpclass
29823 do :
29824 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29825 if test "x$ac_cv_func_fpclass" = x""yes; then :
29826 cat >>confdefs.h <<_ACEOF
29827 #define HAVE_FPCLASS 1
29828 _ACEOF
29831 done
29833 else
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29836 $as_echo_n "checking for _fpclass declaration... " >&6; }
29837 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29838 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29839 $as_echo_n "(cached) " >&6
29840 else
29843 ac_ext=cpp
29844 ac_cpp='$CXXCPP $CPPFLAGS'
29845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29851 #include <math.h>
29852 #ifdef HAVE_IEEEFP_H
29853 #include <ieeefp.h>
29854 #endif
29857 main ()
29859 _fpclass(0);
29861 return 0;
29863 _ACEOF
29864 if ac_fn_cxx_try_compile "$LINENO"; then :
29865 glibcxx_cv_func__fpclass_use=yes
29866 else
29867 glibcxx_cv_func__fpclass_use=no
29869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29870 ac_ext=c
29871 ac_cpp='$CPP $CPPFLAGS'
29872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29881 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29883 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29884 for ac_func in _fpclass
29885 do :
29886 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29887 if test "x$ac_cv_func__fpclass" = x""yes; then :
29888 cat >>confdefs.h <<_ACEOF
29889 #define HAVE__FPCLASS 1
29890 _ACEOF
29893 done
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29903 $as_echo_n "checking for qfpclass declaration... " >&6; }
29904 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29905 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29906 $as_echo_n "(cached) " >&6
29907 else
29910 ac_ext=cpp
29911 ac_cpp='$CXXCPP $CPPFLAGS'
29912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29917 /* end confdefs.h. */
29918 #include <math.h>
29919 #ifdef HAVE_IEEEFP_H
29920 #include <ieeefp.h>
29921 #endif
29924 main ()
29926 qfpclass(0);
29928 return 0;
29930 _ACEOF
29931 if ac_fn_cxx_try_compile "$LINENO"; then :
29932 glibcxx_cv_func_qfpclass_use=yes
29933 else
29934 glibcxx_cv_func_qfpclass_use=no
29936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29937 ac_ext=c
29938 ac_cpp='$CPP $CPPFLAGS'
29939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29948 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29950 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29951 for ac_func in qfpclass
29952 do :
29953 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29954 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29955 cat >>confdefs.h <<_ACEOF
29956 #define HAVE_QFPCLASS 1
29957 _ACEOF
29960 done
29962 else
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29965 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29966 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29967 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29968 $as_echo_n "(cached) " >&6
29969 else
29972 ac_ext=cpp
29973 ac_cpp='$CXXCPP $CPPFLAGS'
29974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29980 #include <math.h>
29981 #ifdef HAVE_IEEEFP_H
29982 #include <ieeefp.h>
29983 #endif
29986 main ()
29988 _qfpclass(0);
29990 return 0;
29992 _ACEOF
29993 if ac_fn_cxx_try_compile "$LINENO"; then :
29994 glibcxx_cv_func__qfpclass_use=yes
29995 else
29996 glibcxx_cv_func__qfpclass_use=no
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29999 ac_ext=c
30000 ac_cpp='$CPP $CPPFLAGS'
30001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30010 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30012 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30013 for ac_func in _qfpclass
30014 do :
30015 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30016 if test "x$ac_cv_func__qfpclass" = x""yes; then :
30017 cat >>confdefs.h <<_ACEOF
30018 #define HAVE__QFPCLASS 1
30019 _ACEOF
30022 done
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30032 $as_echo_n "checking for hypot declaration... " >&6; }
30033 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30034 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
30035 $as_echo_n "(cached) " >&6
30036 else
30039 ac_ext=cpp
30040 ac_cpp='$CXXCPP $CPPFLAGS'
30041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30046 /* end confdefs.h. */
30047 #include <math.h>
30049 main ()
30051 hypot(0, 0);
30053 return 0;
30055 _ACEOF
30056 if ac_fn_cxx_try_compile "$LINENO"; then :
30057 glibcxx_cv_func_hypot_use=yes
30058 else
30059 glibcxx_cv_func_hypot_use=no
30061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30062 ac_ext=c
30063 ac_cpp='$CPP $CPPFLAGS'
30064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30073 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30075 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30076 for ac_func in hypot
30077 do :
30078 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30079 if test "x$ac_cv_func_hypot" = x""yes; then :
30080 cat >>confdefs.h <<_ACEOF
30081 #define HAVE_HYPOT 1
30082 _ACEOF
30085 done
30087 else
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30090 $as_echo_n "checking for _hypot declaration... " >&6; }
30091 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30092 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
30093 $as_echo_n "(cached) " >&6
30094 else
30097 ac_ext=cpp
30098 ac_cpp='$CXXCPP $CPPFLAGS'
30099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30104 /* end confdefs.h. */
30105 #include <math.h>
30107 main ()
30109 _hypot(0, 0);
30111 return 0;
30113 _ACEOF
30114 if ac_fn_cxx_try_compile "$LINENO"; then :
30115 glibcxx_cv_func__hypot_use=yes
30116 else
30117 glibcxx_cv_func__hypot_use=no
30119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30120 ac_ext=c
30121 ac_cpp='$CPP $CPPFLAGS'
30122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30131 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30133 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30134 for ac_func in _hypot
30135 do :
30136 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30137 if test "x$ac_cv_func__hypot" = x""yes; then :
30138 cat >>confdefs.h <<_ACEOF
30139 #define HAVE__HYPOT 1
30140 _ACEOF
30143 done
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30153 $as_echo_n "checking for float trig functions... " >&6; }
30154 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
30155 $as_echo_n "(cached) " >&6
30156 else
30159 ac_ext=cpp
30160 ac_cpp='$CXXCPP $CPPFLAGS'
30161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30166 /* end confdefs.h. */
30167 #include <math.h>
30169 main ()
30171 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30173 return 0;
30175 _ACEOF
30176 if ac_fn_cxx_try_compile "$LINENO"; then :
30177 glibcxx_cv_func_float_trig_use=yes
30178 else
30179 glibcxx_cv_func_float_trig_use=no
30181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30182 ac_ext=c
30183 ac_cpp='$CPP $CPPFLAGS'
30184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30191 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30192 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30193 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30194 do :
30195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30197 eval as_val=\$$as_ac_var
30198 if test "x$as_val" = x""yes; then :
30199 cat >>confdefs.h <<_ACEOF
30200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30201 _ACEOF
30204 done
30206 else
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30208 $as_echo_n "checking for _float trig functions... " >&6; }
30209 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30210 $as_echo_n "(cached) " >&6
30211 else
30214 ac_ext=cpp
30215 ac_cpp='$CXXCPP $CPPFLAGS'
30216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h. */
30222 #include <math.h>
30224 main ()
30226 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30228 return 0;
30230 _ACEOF
30231 if ac_fn_cxx_try_compile "$LINENO"; then :
30232 glibcxx_cv_func__float_trig_use=yes
30233 else
30234 glibcxx_cv_func__float_trig_use=no
30236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30237 ac_ext=c
30238 ac_cpp='$CPP $CPPFLAGS'
30239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30246 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30247 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30248 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30249 do :
30250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30252 eval as_val=\$$as_ac_var
30253 if test "x$as_val" = x""yes; then :
30254 cat >>confdefs.h <<_ACEOF
30255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30256 _ACEOF
30259 done
30268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30269 $as_echo_n "checking for float round functions... " >&6; }
30270 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30271 $as_echo_n "(cached) " >&6
30272 else
30275 ac_ext=cpp
30276 ac_cpp='$CXXCPP $CPPFLAGS'
30277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30282 /* end confdefs.h. */
30283 #include <math.h>
30285 main ()
30287 ceilf (0); floorf (0);
30289 return 0;
30291 _ACEOF
30292 if ac_fn_cxx_try_compile "$LINENO"; then :
30293 glibcxx_cv_func_float_round_use=yes
30294 else
30295 glibcxx_cv_func_float_round_use=no
30297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30298 ac_ext=c
30299 ac_cpp='$CPP $CPPFLAGS'
30300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30307 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30308 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30309 for ac_func in ceilf floorf
30310 do :
30311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30313 eval as_val=\$$as_ac_var
30314 if test "x$as_val" = x""yes; then :
30315 cat >>confdefs.h <<_ACEOF
30316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30317 _ACEOF
30320 done
30322 else
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30324 $as_echo_n "checking for _float round functions... " >&6; }
30325 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30326 $as_echo_n "(cached) " >&6
30327 else
30330 ac_ext=cpp
30331 ac_cpp='$CXXCPP $CPPFLAGS'
30332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30337 /* end confdefs.h. */
30338 #include <math.h>
30340 main ()
30342 _ceilf (0); _floorf (0);
30344 return 0;
30346 _ACEOF
30347 if ac_fn_cxx_try_compile "$LINENO"; then :
30348 glibcxx_cv_func__float_round_use=yes
30349 else
30350 glibcxx_cv_func__float_round_use=no
30352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30353 ac_ext=c
30354 ac_cpp='$CPP $CPPFLAGS'
30355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30362 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30363 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30364 for ac_func in _ceilf _floorf
30365 do :
30366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30368 eval as_val=\$$as_ac_var
30369 if test "x$as_val" = x""yes; then :
30370 cat >>confdefs.h <<_ACEOF
30371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30372 _ACEOF
30375 done
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30386 $as_echo_n "checking for expf declaration... " >&6; }
30387 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30388 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30389 $as_echo_n "(cached) " >&6
30390 else
30393 ac_ext=cpp
30394 ac_cpp='$CXXCPP $CPPFLAGS'
30395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30400 /* end confdefs.h. */
30401 #include <math.h>
30402 #ifdef HAVE_IEEEFP_H
30403 #include <ieeefp.h>
30404 #endif
30407 main ()
30409 expf(0);
30411 return 0;
30413 _ACEOF
30414 if ac_fn_cxx_try_compile "$LINENO"; then :
30415 glibcxx_cv_func_expf_use=yes
30416 else
30417 glibcxx_cv_func_expf_use=no
30419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30420 ac_ext=c
30421 ac_cpp='$CPP $CPPFLAGS'
30422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30431 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30433 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30434 for ac_func in expf
30435 do :
30436 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30437 if test "x$ac_cv_func_expf" = x""yes; then :
30438 cat >>confdefs.h <<_ACEOF
30439 #define HAVE_EXPF 1
30440 _ACEOF
30443 done
30445 else
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30448 $as_echo_n "checking for _expf declaration... " >&6; }
30449 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30450 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30451 $as_echo_n "(cached) " >&6
30452 else
30455 ac_ext=cpp
30456 ac_cpp='$CXXCPP $CPPFLAGS'
30457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30462 /* end confdefs.h. */
30463 #include <math.h>
30464 #ifdef HAVE_IEEEFP_H
30465 #include <ieeefp.h>
30466 #endif
30469 main ()
30471 _expf(0);
30473 return 0;
30475 _ACEOF
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477 glibcxx_cv_func__expf_use=yes
30478 else
30479 glibcxx_cv_func__expf_use=no
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482 ac_ext=c
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30493 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30495 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30496 for ac_func in _expf
30497 do :
30498 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30499 if test "x$ac_cv_func__expf" = x""yes; then :
30500 cat >>confdefs.h <<_ACEOF
30501 #define HAVE__EXPF 1
30502 _ACEOF
30505 done
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30515 $as_echo_n "checking for isnanf declaration... " >&6; }
30516 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30517 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30518 $as_echo_n "(cached) " >&6
30519 else
30522 ac_ext=cpp
30523 ac_cpp='$CXXCPP $CPPFLAGS'
30524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h. */
30530 #include <math.h>
30531 #ifdef HAVE_IEEEFP_H
30532 #include <ieeefp.h>
30533 #endif
30536 main ()
30538 isnanf(0);
30540 return 0;
30542 _ACEOF
30543 if ac_fn_cxx_try_compile "$LINENO"; then :
30544 glibcxx_cv_func_isnanf_use=yes
30545 else
30546 glibcxx_cv_func_isnanf_use=no
30548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30549 ac_ext=c
30550 ac_cpp='$CPP $CPPFLAGS'
30551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30560 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30562 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30563 for ac_func in isnanf
30564 do :
30565 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30566 if test "x$ac_cv_func_isnanf" = x""yes; then :
30567 cat >>confdefs.h <<_ACEOF
30568 #define HAVE_ISNANF 1
30569 _ACEOF
30572 done
30574 else
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30577 $as_echo_n "checking for _isnanf declaration... " >&6; }
30578 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30579 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30580 $as_echo_n "(cached) " >&6
30581 else
30584 ac_ext=cpp
30585 ac_cpp='$CXXCPP $CPPFLAGS'
30586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30592 #include <math.h>
30593 #ifdef HAVE_IEEEFP_H
30594 #include <ieeefp.h>
30595 #endif
30598 main ()
30600 _isnanf(0);
30602 return 0;
30604 _ACEOF
30605 if ac_fn_cxx_try_compile "$LINENO"; then :
30606 glibcxx_cv_func__isnanf_use=yes
30607 else
30608 glibcxx_cv_func__isnanf_use=no
30610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30611 ac_ext=c
30612 ac_cpp='$CPP $CPPFLAGS'
30613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30622 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30624 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30625 for ac_func in _isnanf
30626 do :
30627 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30628 if test "x$ac_cv_func__isnanf" = x""yes; then :
30629 cat >>confdefs.h <<_ACEOF
30630 #define HAVE__ISNANF 1
30631 _ACEOF
30634 done
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30644 $as_echo_n "checking for isinff declaration... " >&6; }
30645 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30646 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30647 $as_echo_n "(cached) " >&6
30648 else
30651 ac_ext=cpp
30652 ac_cpp='$CXXCPP $CPPFLAGS'
30653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30658 /* end confdefs.h. */
30659 #include <math.h>
30660 #ifdef HAVE_IEEEFP_H
30661 #include <ieeefp.h>
30662 #endif
30665 main ()
30667 isinff(0);
30669 return 0;
30671 _ACEOF
30672 if ac_fn_cxx_try_compile "$LINENO"; then :
30673 glibcxx_cv_func_isinff_use=yes
30674 else
30675 glibcxx_cv_func_isinff_use=no
30677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30678 ac_ext=c
30679 ac_cpp='$CPP $CPPFLAGS'
30680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30689 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30691 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30692 for ac_func in isinff
30693 do :
30694 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30695 if test "x$ac_cv_func_isinff" = x""yes; then :
30696 cat >>confdefs.h <<_ACEOF
30697 #define HAVE_ISINFF 1
30698 _ACEOF
30701 done
30703 else
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30706 $as_echo_n "checking for _isinff declaration... " >&6; }
30707 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30708 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30709 $as_echo_n "(cached) " >&6
30710 else
30713 ac_ext=cpp
30714 ac_cpp='$CXXCPP $CPPFLAGS'
30715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30720 /* end confdefs.h. */
30721 #include <math.h>
30722 #ifdef HAVE_IEEEFP_H
30723 #include <ieeefp.h>
30724 #endif
30727 main ()
30729 _isinff(0);
30731 return 0;
30733 _ACEOF
30734 if ac_fn_cxx_try_compile "$LINENO"; then :
30735 glibcxx_cv_func__isinff_use=yes
30736 else
30737 glibcxx_cv_func__isinff_use=no
30739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30740 ac_ext=c
30741 ac_cpp='$CPP $CPPFLAGS'
30742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30751 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30753 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30754 for ac_func in _isinff
30755 do :
30756 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30757 if test "x$ac_cv_func__isinff" = x""yes; then :
30758 cat >>confdefs.h <<_ACEOF
30759 #define HAVE__ISINFF 1
30760 _ACEOF
30763 done
30772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30773 $as_echo_n "checking for atan2f declaration... " >&6; }
30774 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30775 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30776 $as_echo_n "(cached) " >&6
30777 else
30780 ac_ext=cpp
30781 ac_cpp='$CXXCPP $CPPFLAGS'
30782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30787 /* end confdefs.h. */
30788 #include <math.h>
30790 main ()
30792 atan2f(0, 0);
30794 return 0;
30796 _ACEOF
30797 if ac_fn_cxx_try_compile "$LINENO"; then :
30798 glibcxx_cv_func_atan2f_use=yes
30799 else
30800 glibcxx_cv_func_atan2f_use=no
30802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30803 ac_ext=c
30804 ac_cpp='$CPP $CPPFLAGS'
30805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30814 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30816 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30817 for ac_func in atan2f
30818 do :
30819 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30820 if test "x$ac_cv_func_atan2f" = x""yes; then :
30821 cat >>confdefs.h <<_ACEOF
30822 #define HAVE_ATAN2F 1
30823 _ACEOF
30826 done
30828 else
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30831 $as_echo_n "checking for _atan2f declaration... " >&6; }
30832 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30833 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30834 $as_echo_n "(cached) " >&6
30835 else
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846 #include <math.h>
30848 main ()
30850 _atan2f(0, 0);
30852 return 0;
30854 _ACEOF
30855 if ac_fn_cxx_try_compile "$LINENO"; then :
30856 glibcxx_cv_func__atan2f_use=yes
30857 else
30858 glibcxx_cv_func__atan2f_use=no
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 ac_ext=c
30862 ac_cpp='$CPP $CPPFLAGS'
30863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30872 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30874 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30875 for ac_func in _atan2f
30876 do :
30877 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30878 if test "x$ac_cv_func__atan2f" = x""yes; then :
30879 cat >>confdefs.h <<_ACEOF
30880 #define HAVE__ATAN2F 1
30881 _ACEOF
30884 done
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30894 $as_echo_n "checking for fabsf declaration... " >&6; }
30895 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30896 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30897 $as_echo_n "(cached) " >&6
30898 else
30901 ac_ext=cpp
30902 ac_cpp='$CXXCPP $CPPFLAGS'
30903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30908 /* end confdefs.h. */
30909 #include <math.h>
30910 #ifdef HAVE_IEEEFP_H
30911 #include <ieeefp.h>
30912 #endif
30915 main ()
30917 fabsf(0);
30919 return 0;
30921 _ACEOF
30922 if ac_fn_cxx_try_compile "$LINENO"; then :
30923 glibcxx_cv_func_fabsf_use=yes
30924 else
30925 glibcxx_cv_func_fabsf_use=no
30927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30928 ac_ext=c
30929 ac_cpp='$CPP $CPPFLAGS'
30930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30939 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30941 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30942 for ac_func in fabsf
30943 do :
30944 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30945 if test "x$ac_cv_func_fabsf" = x""yes; then :
30946 cat >>confdefs.h <<_ACEOF
30947 #define HAVE_FABSF 1
30948 _ACEOF
30951 done
30953 else
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30956 $as_echo_n "checking for _fabsf declaration... " >&6; }
30957 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30958 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30972 #ifdef HAVE_IEEEFP_H
30973 #include <ieeefp.h>
30974 #endif
30977 main ()
30979 _fabsf(0);
30981 return 0;
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func__fabsf_use=yes
30986 else
30987 glibcxx_cv_func__fabsf_use=no
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31001 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31003 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31004 for ac_func in _fabsf
31005 do :
31006 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31007 if test "x$ac_cv_func__fabsf" = x""yes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE__FABSF 1
31010 _ACEOF
31013 done
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31023 $as_echo_n "checking for fmodf declaration... " >&6; }
31024 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31025 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
31026 $as_echo_n "(cached) " >&6
31027 else
31030 ac_ext=cpp
31031 ac_cpp='$CXXCPP $CPPFLAGS'
31032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31037 /* end confdefs.h. */
31038 #include <math.h>
31040 main ()
31042 fmodf(0, 0);
31044 return 0;
31046 _ACEOF
31047 if ac_fn_cxx_try_compile "$LINENO"; then :
31048 glibcxx_cv_func_fmodf_use=yes
31049 else
31050 glibcxx_cv_func_fmodf_use=no
31052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31053 ac_ext=c
31054 ac_cpp='$CPP $CPPFLAGS'
31055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31064 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31066 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31067 for ac_func in fmodf
31068 do :
31069 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31070 if test "x$ac_cv_func_fmodf" = x""yes; then :
31071 cat >>confdefs.h <<_ACEOF
31072 #define HAVE_FMODF 1
31073 _ACEOF
31076 done
31078 else
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31081 $as_echo_n "checking for _fmodf declaration... " >&6; }
31082 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31083 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31098 main ()
31100 _fmodf(0, 0);
31102 return 0;
31104 _ACEOF
31105 if ac_fn_cxx_try_compile "$LINENO"; then :
31106 glibcxx_cv_func__fmodf_use=yes
31107 else
31108 glibcxx_cv_func__fmodf_use=no
31110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31111 ac_ext=c
31112 ac_cpp='$CPP $CPPFLAGS'
31113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31122 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31124 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31125 for ac_func in _fmodf
31126 do :
31127 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31128 if test "x$ac_cv_func__fmodf" = x""yes; then :
31129 cat >>confdefs.h <<_ACEOF
31130 #define HAVE__FMODF 1
31131 _ACEOF
31134 done
31143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31144 $as_echo_n "checking for frexpf declaration... " >&6; }
31145 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31146 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
31147 $as_echo_n "(cached) " >&6
31148 else
31151 ac_ext=cpp
31152 ac_cpp='$CXXCPP $CPPFLAGS'
31153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31158 /* end confdefs.h. */
31159 #include <math.h>
31161 main ()
31163 frexpf(0, 0);
31165 return 0;
31167 _ACEOF
31168 if ac_fn_cxx_try_compile "$LINENO"; then :
31169 glibcxx_cv_func_frexpf_use=yes
31170 else
31171 glibcxx_cv_func_frexpf_use=no
31173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31174 ac_ext=c
31175 ac_cpp='$CPP $CPPFLAGS'
31176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31185 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31187 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31188 for ac_func in frexpf
31189 do :
31190 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31191 if test "x$ac_cv_func_frexpf" = x""yes; then :
31192 cat >>confdefs.h <<_ACEOF
31193 #define HAVE_FREXPF 1
31194 _ACEOF
31197 done
31199 else
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31202 $as_echo_n "checking for _frexpf declaration... " >&6; }
31203 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31204 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31205 $as_echo_n "(cached) " >&6
31206 else
31209 ac_ext=cpp
31210 ac_cpp='$CXXCPP $CPPFLAGS'
31211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31216 /* end confdefs.h. */
31217 #include <math.h>
31219 main ()
31221 _frexpf(0, 0);
31223 return 0;
31225 _ACEOF
31226 if ac_fn_cxx_try_compile "$LINENO"; then :
31227 glibcxx_cv_func__frexpf_use=yes
31228 else
31229 glibcxx_cv_func__frexpf_use=no
31231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31232 ac_ext=c
31233 ac_cpp='$CPP $CPPFLAGS'
31234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31243 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31245 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31246 for ac_func in _frexpf
31247 do :
31248 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31249 if test "x$ac_cv_func__frexpf" = x""yes; then :
31250 cat >>confdefs.h <<_ACEOF
31251 #define HAVE__FREXPF 1
31252 _ACEOF
31255 done
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31265 $as_echo_n "checking for hypotf declaration... " >&6; }
31266 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31267 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31268 $as_echo_n "(cached) " >&6
31269 else
31272 ac_ext=cpp
31273 ac_cpp='$CXXCPP $CPPFLAGS'
31274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31279 /* end confdefs.h. */
31280 #include <math.h>
31282 main ()
31284 hypotf(0, 0);
31286 return 0;
31288 _ACEOF
31289 if ac_fn_cxx_try_compile "$LINENO"; then :
31290 glibcxx_cv_func_hypotf_use=yes
31291 else
31292 glibcxx_cv_func_hypotf_use=no
31294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31295 ac_ext=c
31296 ac_cpp='$CPP $CPPFLAGS'
31297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31306 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31308 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31309 for ac_func in hypotf
31310 do :
31311 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31312 if test "x$ac_cv_func_hypotf" = x""yes; then :
31313 cat >>confdefs.h <<_ACEOF
31314 #define HAVE_HYPOTF 1
31315 _ACEOF
31318 done
31320 else
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31323 $as_echo_n "checking for _hypotf declaration... " >&6; }
31324 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31325 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31326 $as_echo_n "(cached) " >&6
31327 else
31330 ac_ext=cpp
31331 ac_cpp='$CXXCPP $CPPFLAGS'
31332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31337 /* end confdefs.h. */
31338 #include <math.h>
31340 main ()
31342 _hypotf(0, 0);
31344 return 0;
31346 _ACEOF
31347 if ac_fn_cxx_try_compile "$LINENO"; then :
31348 glibcxx_cv_func__hypotf_use=yes
31349 else
31350 glibcxx_cv_func__hypotf_use=no
31352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31353 ac_ext=c
31354 ac_cpp='$CPP $CPPFLAGS'
31355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31364 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31366 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31367 for ac_func in _hypotf
31368 do :
31369 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31370 if test "x$ac_cv_func__hypotf" = x""yes; then :
31371 cat >>confdefs.h <<_ACEOF
31372 #define HAVE__HYPOTF 1
31373 _ACEOF
31376 done
31385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31386 $as_echo_n "checking for ldexpf declaration... " >&6; }
31387 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31388 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31389 $as_echo_n "(cached) " >&6
31390 else
31393 ac_ext=cpp
31394 ac_cpp='$CXXCPP $CPPFLAGS'
31395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31400 /* end confdefs.h. */
31401 #include <math.h>
31403 main ()
31405 ldexpf(0, 0);
31407 return 0;
31409 _ACEOF
31410 if ac_fn_cxx_try_compile "$LINENO"; then :
31411 glibcxx_cv_func_ldexpf_use=yes
31412 else
31413 glibcxx_cv_func_ldexpf_use=no
31415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31416 ac_ext=c
31417 ac_cpp='$CPP $CPPFLAGS'
31418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31427 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31429 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31430 for ac_func in ldexpf
31431 do :
31432 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31433 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31434 cat >>confdefs.h <<_ACEOF
31435 #define HAVE_LDEXPF 1
31436 _ACEOF
31439 done
31441 else
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31444 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31445 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31446 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31447 $as_echo_n "(cached) " >&6
31448 else
31451 ac_ext=cpp
31452 ac_cpp='$CXXCPP $CPPFLAGS'
31453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31458 /* end confdefs.h. */
31459 #include <math.h>
31461 main ()
31463 _ldexpf(0, 0);
31465 return 0;
31467 _ACEOF
31468 if ac_fn_cxx_try_compile "$LINENO"; then :
31469 glibcxx_cv_func__ldexpf_use=yes
31470 else
31471 glibcxx_cv_func__ldexpf_use=no
31473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31474 ac_ext=c
31475 ac_cpp='$CPP $CPPFLAGS'
31476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31485 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31487 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31488 for ac_func in _ldexpf
31489 do :
31490 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31491 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31492 cat >>confdefs.h <<_ACEOF
31493 #define HAVE__LDEXPF 1
31494 _ACEOF
31497 done
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31507 $as_echo_n "checking for logf declaration... " >&6; }
31508 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31509 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31510 $as_echo_n "(cached) " >&6
31511 else
31514 ac_ext=cpp
31515 ac_cpp='$CXXCPP $CPPFLAGS'
31516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31521 /* end confdefs.h. */
31522 #include <math.h>
31523 #ifdef HAVE_IEEEFP_H
31524 #include <ieeefp.h>
31525 #endif
31528 main ()
31530 logf(0);
31532 return 0;
31534 _ACEOF
31535 if ac_fn_cxx_try_compile "$LINENO"; then :
31536 glibcxx_cv_func_logf_use=yes
31537 else
31538 glibcxx_cv_func_logf_use=no
31540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31541 ac_ext=c
31542 ac_cpp='$CPP $CPPFLAGS'
31543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31552 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31554 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31555 for ac_func in logf
31556 do :
31557 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31558 if test "x$ac_cv_func_logf" = x""yes; then :
31559 cat >>confdefs.h <<_ACEOF
31560 #define HAVE_LOGF 1
31561 _ACEOF
31564 done
31566 else
31568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31569 $as_echo_n "checking for _logf declaration... " >&6; }
31570 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31571 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31572 $as_echo_n "(cached) " >&6
31573 else
31576 ac_ext=cpp
31577 ac_cpp='$CXXCPP $CPPFLAGS'
31578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31583 /* end confdefs.h. */
31584 #include <math.h>
31585 #ifdef HAVE_IEEEFP_H
31586 #include <ieeefp.h>
31587 #endif
31590 main ()
31592 _logf(0);
31594 return 0;
31596 _ACEOF
31597 if ac_fn_cxx_try_compile "$LINENO"; then :
31598 glibcxx_cv_func__logf_use=yes
31599 else
31600 glibcxx_cv_func__logf_use=no
31602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603 ac_ext=c
31604 ac_cpp='$CPP $CPPFLAGS'
31605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31614 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31616 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31617 for ac_func in _logf
31618 do :
31619 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31620 if test "x$ac_cv_func__logf" = x""yes; then :
31621 cat >>confdefs.h <<_ACEOF
31622 #define HAVE__LOGF 1
31623 _ACEOF
31626 done
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31636 $as_echo_n "checking for log10f declaration... " >&6; }
31637 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31638 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31639 $as_echo_n "(cached) " >&6
31640 else
31643 ac_ext=cpp
31644 ac_cpp='$CXXCPP $CPPFLAGS'
31645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31650 /* end confdefs.h. */
31651 #include <math.h>
31652 #ifdef HAVE_IEEEFP_H
31653 #include <ieeefp.h>
31654 #endif
31657 main ()
31659 log10f(0);
31661 return 0;
31663 _ACEOF
31664 if ac_fn_cxx_try_compile "$LINENO"; then :
31665 glibcxx_cv_func_log10f_use=yes
31666 else
31667 glibcxx_cv_func_log10f_use=no
31669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31670 ac_ext=c
31671 ac_cpp='$CPP $CPPFLAGS'
31672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31681 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31683 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31684 for ac_func in log10f
31685 do :
31686 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31687 if test "x$ac_cv_func_log10f" = x""yes; then :
31688 cat >>confdefs.h <<_ACEOF
31689 #define HAVE_LOG10F 1
31690 _ACEOF
31693 done
31695 else
31697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31698 $as_echo_n "checking for _log10f declaration... " >&6; }
31699 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31700 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31701 $as_echo_n "(cached) " >&6
31702 else
31705 ac_ext=cpp
31706 ac_cpp='$CXXCPP $CPPFLAGS'
31707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31712 /* end confdefs.h. */
31713 #include <math.h>
31714 #ifdef HAVE_IEEEFP_H
31715 #include <ieeefp.h>
31716 #endif
31719 main ()
31721 _log10f(0);
31723 return 0;
31725 _ACEOF
31726 if ac_fn_cxx_try_compile "$LINENO"; then :
31727 glibcxx_cv_func__log10f_use=yes
31728 else
31729 glibcxx_cv_func__log10f_use=no
31731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31732 ac_ext=c
31733 ac_cpp='$CPP $CPPFLAGS'
31734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31743 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31745 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31746 for ac_func in _log10f
31747 do :
31748 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31749 if test "x$ac_cv_func__log10f" = x""yes; then :
31750 cat >>confdefs.h <<_ACEOF
31751 #define HAVE__LOG10F 1
31752 _ACEOF
31755 done
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31765 $as_echo_n "checking for modff declaration... " >&6; }
31766 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31767 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31768 $as_echo_n "(cached) " >&6
31769 else
31772 ac_ext=cpp
31773 ac_cpp='$CXXCPP $CPPFLAGS'
31774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31779 /* end confdefs.h. */
31780 #include <math.h>
31782 main ()
31784 modff(0, 0);
31786 return 0;
31788 _ACEOF
31789 if ac_fn_cxx_try_compile "$LINENO"; then :
31790 glibcxx_cv_func_modff_use=yes
31791 else
31792 glibcxx_cv_func_modff_use=no
31794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31795 ac_ext=c
31796 ac_cpp='$CPP $CPPFLAGS'
31797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31806 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31808 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31809 for ac_func in modff
31810 do :
31811 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31812 if test "x$ac_cv_func_modff" = x""yes; then :
31813 cat >>confdefs.h <<_ACEOF
31814 #define HAVE_MODFF 1
31815 _ACEOF
31818 done
31820 else
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31823 $as_echo_n "checking for _modff declaration... " >&6; }
31824 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31825 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31826 $as_echo_n "(cached) " >&6
31827 else
31830 ac_ext=cpp
31831 ac_cpp='$CXXCPP $CPPFLAGS'
31832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h. */
31838 #include <math.h>
31840 main ()
31842 _modff(0, 0);
31844 return 0;
31846 _ACEOF
31847 if ac_fn_cxx_try_compile "$LINENO"; then :
31848 glibcxx_cv_func__modff_use=yes
31849 else
31850 glibcxx_cv_func__modff_use=no
31852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31853 ac_ext=c
31854 ac_cpp='$CPP $CPPFLAGS'
31855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31864 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31866 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31867 for ac_func in _modff
31868 do :
31869 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31870 if test "x$ac_cv_func__modff" = x""yes; then :
31871 cat >>confdefs.h <<_ACEOF
31872 #define HAVE__MODFF 1
31873 _ACEOF
31876 done
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31886 $as_echo_n "checking for modf declaration... " >&6; }
31887 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31888 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31889 $as_echo_n "(cached) " >&6
31890 else
31893 ac_ext=cpp
31894 ac_cpp='$CXXCPP $CPPFLAGS'
31895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31900 /* end confdefs.h. */
31901 #include <math.h>
31903 main ()
31905 modf(0, 0);
31907 return 0;
31909 _ACEOF
31910 if ac_fn_cxx_try_compile "$LINENO"; then :
31911 glibcxx_cv_func_modf_use=yes
31912 else
31913 glibcxx_cv_func_modf_use=no
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31916 ac_ext=c
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31927 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31929 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31930 for ac_func in modf
31931 do :
31932 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31933 if test "x$ac_cv_func_modf" = x""yes; then :
31934 cat >>confdefs.h <<_ACEOF
31935 #define HAVE_MODF 1
31936 _ACEOF
31939 done
31941 else
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31944 $as_echo_n "checking for _modf declaration... " >&6; }
31945 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31946 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31947 $as_echo_n "(cached) " >&6
31948 else
31951 ac_ext=cpp
31952 ac_cpp='$CXXCPP $CPPFLAGS'
31953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31958 /* end confdefs.h. */
31959 #include <math.h>
31961 main ()
31963 _modf(0, 0);
31965 return 0;
31967 _ACEOF
31968 if ac_fn_cxx_try_compile "$LINENO"; then :
31969 glibcxx_cv_func__modf_use=yes
31970 else
31971 glibcxx_cv_func__modf_use=no
31973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31974 ac_ext=c
31975 ac_cpp='$CPP $CPPFLAGS'
31976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31985 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31987 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31988 for ac_func in _modf
31989 do :
31990 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31991 if test "x$ac_cv_func__modf" = x""yes; then :
31992 cat >>confdefs.h <<_ACEOF
31993 #define HAVE__MODF 1
31994 _ACEOF
31997 done
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32007 $as_echo_n "checking for powf declaration... " >&6; }
32008 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32009 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
32010 $as_echo_n "(cached) " >&6
32011 else
32014 ac_ext=cpp
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021 /* end confdefs.h. */
32022 #include <math.h>
32024 main ()
32026 powf(0, 0);
32028 return 0;
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func_powf_use=yes
32033 else
32034 glibcxx_cv_func_powf_use=no
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32048 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32050 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32051 for ac_func in powf
32052 do :
32053 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32054 if test "x$ac_cv_func_powf" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE_POWF 1
32057 _ACEOF
32060 done
32062 else
32064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32065 $as_echo_n "checking for _powf declaration... " >&6; }
32066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32067 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
32068 $as_echo_n "(cached) " >&6
32069 else
32072 ac_ext=cpp
32073 ac_cpp='$CXXCPP $CPPFLAGS'
32074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32079 /* end confdefs.h. */
32080 #include <math.h>
32082 main ()
32084 _powf(0, 0);
32086 return 0;
32088 _ACEOF
32089 if ac_fn_cxx_try_compile "$LINENO"; then :
32090 glibcxx_cv_func__powf_use=yes
32091 else
32092 glibcxx_cv_func__powf_use=no
32094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32095 ac_ext=c
32096 ac_cpp='$CPP $CPPFLAGS'
32097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32106 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32108 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32109 for ac_func in _powf
32110 do :
32111 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32112 if test "x$ac_cv_func__powf" = x""yes; then :
32113 cat >>confdefs.h <<_ACEOF
32114 #define HAVE__POWF 1
32115 _ACEOF
32118 done
32127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32128 $as_echo_n "checking for sqrtf declaration... " >&6; }
32129 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32130 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
32131 $as_echo_n "(cached) " >&6
32132 else
32135 ac_ext=cpp
32136 ac_cpp='$CXXCPP $CPPFLAGS'
32137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32142 /* end confdefs.h. */
32143 #include <math.h>
32144 #ifdef HAVE_IEEEFP_H
32145 #include <ieeefp.h>
32146 #endif
32149 main ()
32151 sqrtf(0);
32153 return 0;
32155 _ACEOF
32156 if ac_fn_cxx_try_compile "$LINENO"; then :
32157 glibcxx_cv_func_sqrtf_use=yes
32158 else
32159 glibcxx_cv_func_sqrtf_use=no
32161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32162 ac_ext=c
32163 ac_cpp='$CPP $CPPFLAGS'
32164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32173 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32175 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32176 for ac_func in sqrtf
32177 do :
32178 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32179 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32180 cat >>confdefs.h <<_ACEOF
32181 #define HAVE_SQRTF 1
32182 _ACEOF
32185 done
32187 else
32189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32190 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32191 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32192 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32193 $as_echo_n "(cached) " >&6
32194 else
32197 ac_ext=cpp
32198 ac_cpp='$CXXCPP $CPPFLAGS'
32199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32204 /* end confdefs.h. */
32205 #include <math.h>
32206 #ifdef HAVE_IEEEFP_H
32207 #include <ieeefp.h>
32208 #endif
32211 main ()
32213 _sqrtf(0);
32215 return 0;
32217 _ACEOF
32218 if ac_fn_cxx_try_compile "$LINENO"; then :
32219 glibcxx_cv_func__sqrtf_use=yes
32220 else
32221 glibcxx_cv_func__sqrtf_use=no
32223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32224 ac_ext=c
32225 ac_cpp='$CPP $CPPFLAGS'
32226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32235 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32237 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32238 for ac_func in _sqrtf
32239 do :
32240 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32241 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32242 cat >>confdefs.h <<_ACEOF
32243 #define HAVE__SQRTF 1
32244 _ACEOF
32247 done
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32257 $as_echo_n "checking for sincosf declaration... " >&6; }
32258 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32259 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32260 $as_echo_n "(cached) " >&6
32261 else
32264 ac_ext=cpp
32265 ac_cpp='$CXXCPP $CPPFLAGS'
32266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32271 /* end confdefs.h. */
32272 #include <math.h>
32274 main ()
32276 sincosf(0, 0, 0);
32278 return 0;
32280 _ACEOF
32281 if ac_fn_cxx_try_compile "$LINENO"; then :
32282 glibcxx_cv_func_sincosf_use=yes
32283 else
32284 glibcxx_cv_func_sincosf_use=no
32286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32287 ac_ext=c
32288 ac_cpp='$CPP $CPPFLAGS'
32289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32298 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32300 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32301 for ac_func in sincosf
32302 do :
32303 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32304 if test "x$ac_cv_func_sincosf" = x""yes; then :
32305 cat >>confdefs.h <<_ACEOF
32306 #define HAVE_SINCOSF 1
32307 _ACEOF
32310 done
32312 else
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32315 $as_echo_n "checking for _sincosf declaration... " >&6; }
32316 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32317 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32318 $as_echo_n "(cached) " >&6
32319 else
32322 ac_ext=cpp
32323 ac_cpp='$CXXCPP $CPPFLAGS'
32324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32329 /* end confdefs.h. */
32330 #include <math.h>
32332 main ()
32334 _sincosf(0, 0, 0);
32336 return 0;
32338 _ACEOF
32339 if ac_fn_cxx_try_compile "$LINENO"; then :
32340 glibcxx_cv_func__sincosf_use=yes
32341 else
32342 glibcxx_cv_func__sincosf_use=no
32344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32345 ac_ext=c
32346 ac_cpp='$CPP $CPPFLAGS'
32347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32356 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32358 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32359 for ac_func in _sincosf
32360 do :
32361 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32362 if test "x$ac_cv_func__sincosf" = x""yes; then :
32363 cat >>confdefs.h <<_ACEOF
32364 #define HAVE__SINCOSF 1
32365 _ACEOF
32368 done
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32378 $as_echo_n "checking for finitef declaration... " >&6; }
32379 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32380 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32381 $as_echo_n "(cached) " >&6
32382 else
32385 ac_ext=cpp
32386 ac_cpp='$CXXCPP $CPPFLAGS'
32387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32393 #include <math.h>
32394 #ifdef HAVE_IEEEFP_H
32395 #include <ieeefp.h>
32396 #endif
32399 main ()
32401 finitef(0);
32403 return 0;
32405 _ACEOF
32406 if ac_fn_cxx_try_compile "$LINENO"; then :
32407 glibcxx_cv_func_finitef_use=yes
32408 else
32409 glibcxx_cv_func_finitef_use=no
32411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32412 ac_ext=c
32413 ac_cpp='$CPP $CPPFLAGS'
32414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32423 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32425 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32426 for ac_func in finitef
32427 do :
32428 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32429 if test "x$ac_cv_func_finitef" = x""yes; then :
32430 cat >>confdefs.h <<_ACEOF
32431 #define HAVE_FINITEF 1
32432 _ACEOF
32435 done
32437 else
32439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32440 $as_echo_n "checking for _finitef declaration... " >&6; }
32441 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32442 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32443 $as_echo_n "(cached) " >&6
32444 else
32447 ac_ext=cpp
32448 ac_cpp='$CXXCPP $CPPFLAGS'
32449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32454 /* end confdefs.h. */
32455 #include <math.h>
32456 #ifdef HAVE_IEEEFP_H
32457 #include <ieeefp.h>
32458 #endif
32461 main ()
32463 _finitef(0);
32465 return 0;
32467 _ACEOF
32468 if ac_fn_cxx_try_compile "$LINENO"; then :
32469 glibcxx_cv_func__finitef_use=yes
32470 else
32471 glibcxx_cv_func__finitef_use=no
32473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 ac_ext=c
32475 ac_cpp='$CPP $CPPFLAGS'
32476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32485 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32487 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32488 for ac_func in _finitef
32489 do :
32490 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32491 if test "x$ac_cv_func__finitef" = x""yes; then :
32492 cat >>confdefs.h <<_ACEOF
32493 #define HAVE__FINITEF 1
32494 _ACEOF
32497 done
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32507 $as_echo_n "checking for long double trig functions... " >&6; }
32508 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32509 $as_echo_n "(cached) " >&6
32510 else
32513 ac_ext=cpp
32514 ac_cpp='$CXXCPP $CPPFLAGS'
32515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32520 /* end confdefs.h. */
32521 #include <math.h>
32523 main ()
32525 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32527 return 0;
32529 _ACEOF
32530 if ac_fn_cxx_try_compile "$LINENO"; then :
32531 glibcxx_cv_func_long_double_trig_use=yes
32532 else
32533 glibcxx_cv_func_long_double_trig_use=no
32535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32536 ac_ext=c
32537 ac_cpp='$CPP $CPPFLAGS'
32538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32545 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32546 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32547 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32548 do :
32549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32551 eval as_val=\$$as_ac_var
32552 if test "x$as_val" = x""yes; then :
32553 cat >>confdefs.h <<_ACEOF
32554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32555 _ACEOF
32558 done
32560 else
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32562 $as_echo_n "checking for _long double trig functions... " >&6; }
32563 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32564 $as_echo_n "(cached) " >&6
32565 else
32568 ac_ext=cpp
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32575 /* end confdefs.h. */
32576 #include <math.h>
32578 main ()
32580 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32582 return 0;
32584 _ACEOF
32585 if ac_fn_cxx_try_compile "$LINENO"; then :
32586 glibcxx_cv_func__long_double_trig_use=yes
32587 else
32588 glibcxx_cv_func__long_double_trig_use=no
32590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32591 ac_ext=c
32592 ac_cpp='$CPP $CPPFLAGS'
32593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32600 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32601 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32602 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32603 do :
32604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32606 eval as_val=\$$as_ac_var
32607 if test "x$as_val" = x""yes; then :
32608 cat >>confdefs.h <<_ACEOF
32609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32610 _ACEOF
32613 done
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32623 $as_echo_n "checking for long double round functions... " >&6; }
32624 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32625 $as_echo_n "(cached) " >&6
32626 else
32629 ac_ext=cpp
32630 ac_cpp='$CXXCPP $CPPFLAGS'
32631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32636 /* end confdefs.h. */
32637 #include <math.h>
32639 main ()
32641 ceill (0); floorl (0);
32643 return 0;
32645 _ACEOF
32646 if ac_fn_cxx_try_compile "$LINENO"; then :
32647 glibcxx_cv_func_long_double_round_use=yes
32648 else
32649 glibcxx_cv_func_long_double_round_use=no
32651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32652 ac_ext=c
32653 ac_cpp='$CPP $CPPFLAGS'
32654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32661 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32662 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32663 for ac_func in ceill floorl
32664 do :
32665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32667 eval as_val=\$$as_ac_var
32668 if test "x$as_val" = x""yes; then :
32669 cat >>confdefs.h <<_ACEOF
32670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32671 _ACEOF
32674 done
32676 else
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32678 $as_echo_n "checking for _long double round functions... " >&6; }
32679 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32680 $as_echo_n "(cached) " >&6
32681 else
32684 ac_ext=cpp
32685 ac_cpp='$CXXCPP $CPPFLAGS'
32686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32691 /* end confdefs.h. */
32692 #include <math.h>
32694 main ()
32696 _ceill (0); _floorl (0);
32698 return 0;
32700 _ACEOF
32701 if ac_fn_cxx_try_compile "$LINENO"; then :
32702 glibcxx_cv_func__long_double_round_use=yes
32703 else
32704 glibcxx_cv_func__long_double_round_use=no
32706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32707 ac_ext=c
32708 ac_cpp='$CPP $CPPFLAGS'
32709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32716 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32717 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32718 for ac_func in _ceill _floorl
32719 do :
32720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32722 eval as_val=\$$as_ac_var
32723 if test "x$as_val" = x""yes; then :
32724 cat >>confdefs.h <<_ACEOF
32725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32726 _ACEOF
32729 done
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32740 $as_echo_n "checking for isnanl declaration... " >&6; }
32741 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32742 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32743 $as_echo_n "(cached) " >&6
32744 else
32747 ac_ext=cpp
32748 ac_cpp='$CXXCPP $CPPFLAGS'
32749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32754 /* end confdefs.h. */
32755 #include <math.h>
32756 #ifdef HAVE_IEEEFP_H
32757 #include <ieeefp.h>
32758 #endif
32761 main ()
32763 isnanl(0);
32765 return 0;
32767 _ACEOF
32768 if ac_fn_cxx_try_compile "$LINENO"; then :
32769 glibcxx_cv_func_isnanl_use=yes
32770 else
32771 glibcxx_cv_func_isnanl_use=no
32773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32774 ac_ext=c
32775 ac_cpp='$CPP $CPPFLAGS'
32776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32785 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32787 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32788 for ac_func in isnanl
32789 do :
32790 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32791 if test "x$ac_cv_func_isnanl" = x""yes; then :
32792 cat >>confdefs.h <<_ACEOF
32793 #define HAVE_ISNANL 1
32794 _ACEOF
32797 done
32799 else
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32802 $as_echo_n "checking for _isnanl declaration... " >&6; }
32803 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32804 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32805 $as_echo_n "(cached) " >&6
32806 else
32809 ac_ext=cpp
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32816 /* end confdefs.h. */
32817 #include <math.h>
32818 #ifdef HAVE_IEEEFP_H
32819 #include <ieeefp.h>
32820 #endif
32823 main ()
32825 _isnanl(0);
32827 return 0;
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831 glibcxx_cv_func__isnanl_use=yes
32832 else
32833 glibcxx_cv_func__isnanl_use=no
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32847 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32849 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32850 for ac_func in _isnanl
32851 do :
32852 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32853 if test "x$ac_cv_func__isnanl" = x""yes; then :
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE__ISNANL 1
32856 _ACEOF
32859 done
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32869 $as_echo_n "checking for isinfl declaration... " >&6; }
32870 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32871 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32872 $as_echo_n "(cached) " >&6
32873 else
32876 ac_ext=cpp
32877 ac_cpp='$CXXCPP $CPPFLAGS'
32878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32883 /* end confdefs.h. */
32884 #include <math.h>
32885 #ifdef HAVE_IEEEFP_H
32886 #include <ieeefp.h>
32887 #endif
32890 main ()
32892 isinfl(0);
32894 return 0;
32896 _ACEOF
32897 if ac_fn_cxx_try_compile "$LINENO"; then :
32898 glibcxx_cv_func_isinfl_use=yes
32899 else
32900 glibcxx_cv_func_isinfl_use=no
32902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32903 ac_ext=c
32904 ac_cpp='$CPP $CPPFLAGS'
32905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32914 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32916 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32917 for ac_func in isinfl
32918 do :
32919 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32920 if test "x$ac_cv_func_isinfl" = x""yes; then :
32921 cat >>confdefs.h <<_ACEOF
32922 #define HAVE_ISINFL 1
32923 _ACEOF
32926 done
32928 else
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32931 $as_echo_n "checking for _isinfl declaration... " >&6; }
32932 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32933 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32934 $as_echo_n "(cached) " >&6
32935 else
32938 ac_ext=cpp
32939 ac_cpp='$CXXCPP $CPPFLAGS'
32940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32945 /* end confdefs.h. */
32946 #include <math.h>
32947 #ifdef HAVE_IEEEFP_H
32948 #include <ieeefp.h>
32949 #endif
32952 main ()
32954 _isinfl(0);
32956 return 0;
32958 _ACEOF
32959 if ac_fn_cxx_try_compile "$LINENO"; then :
32960 glibcxx_cv_func__isinfl_use=yes
32961 else
32962 glibcxx_cv_func__isinfl_use=no
32964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32965 ac_ext=c
32966 ac_cpp='$CPP $CPPFLAGS'
32967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32976 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32978 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32979 for ac_func in _isinfl
32980 do :
32981 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32982 if test "x$ac_cv_func__isinfl" = x""yes; then :
32983 cat >>confdefs.h <<_ACEOF
32984 #define HAVE__ISINFL 1
32985 _ACEOF
32988 done
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32998 $as_echo_n "checking for atan2l declaration... " >&6; }
32999 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33000 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
33001 $as_echo_n "(cached) " >&6
33002 else
33005 ac_ext=cpp
33006 ac_cpp='$CXXCPP $CPPFLAGS'
33007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33012 /* end confdefs.h. */
33013 #include <math.h>
33015 main ()
33017 atan2l(0, 0);
33019 return 0;
33021 _ACEOF
33022 if ac_fn_cxx_try_compile "$LINENO"; then :
33023 glibcxx_cv_func_atan2l_use=yes
33024 else
33025 glibcxx_cv_func_atan2l_use=no
33027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33028 ac_ext=c
33029 ac_cpp='$CPP $CPPFLAGS'
33030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33039 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33041 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33042 for ac_func in atan2l
33043 do :
33044 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33045 if test "x$ac_cv_func_atan2l" = x""yes; then :
33046 cat >>confdefs.h <<_ACEOF
33047 #define HAVE_ATAN2L 1
33048 _ACEOF
33051 done
33053 else
33055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33056 $as_echo_n "checking for _atan2l declaration... " >&6; }
33057 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33058 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
33059 $as_echo_n "(cached) " >&6
33060 else
33063 ac_ext=cpp
33064 ac_cpp='$CXXCPP $CPPFLAGS'
33065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33070 /* end confdefs.h. */
33071 #include <math.h>
33073 main ()
33075 _atan2l(0, 0);
33077 return 0;
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func__atan2l_use=yes
33082 else
33083 glibcxx_cv_func__atan2l_use=no
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33097 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33099 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33100 for ac_func in _atan2l
33101 do :
33102 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33103 if test "x$ac_cv_func__atan2l" = x""yes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE__ATAN2L 1
33106 _ACEOF
33109 done
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33119 $as_echo_n "checking for expl declaration... " >&6; }
33120 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33121 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
33122 $as_echo_n "(cached) " >&6
33123 else
33126 ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h. */
33134 #include <math.h>
33135 #ifdef HAVE_IEEEFP_H
33136 #include <ieeefp.h>
33137 #endif
33140 main ()
33142 expl(0);
33144 return 0;
33146 _ACEOF
33147 if ac_fn_cxx_try_compile "$LINENO"; then :
33148 glibcxx_cv_func_expl_use=yes
33149 else
33150 glibcxx_cv_func_expl_use=no
33152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33153 ac_ext=c
33154 ac_cpp='$CPP $CPPFLAGS'
33155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33164 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33166 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33167 for ac_func in expl
33168 do :
33169 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33170 if test "x$ac_cv_func_expl" = x""yes; then :
33171 cat >>confdefs.h <<_ACEOF
33172 #define HAVE_EXPL 1
33173 _ACEOF
33176 done
33178 else
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33181 $as_echo_n "checking for _expl declaration... " >&6; }
33182 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33183 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33197 #ifdef HAVE_IEEEFP_H
33198 #include <ieeefp.h>
33199 #endif
33202 main ()
33204 _expl(0);
33206 return 0;
33208 _ACEOF
33209 if ac_fn_cxx_try_compile "$LINENO"; then :
33210 glibcxx_cv_func__expl_use=yes
33211 else
33212 glibcxx_cv_func__expl_use=no
33214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33215 ac_ext=c
33216 ac_cpp='$CPP $CPPFLAGS'
33217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33226 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33228 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33229 for ac_func in _expl
33230 do :
33231 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33232 if test "x$ac_cv_func__expl" = x""yes; then :
33233 cat >>confdefs.h <<_ACEOF
33234 #define HAVE__EXPL 1
33235 _ACEOF
33238 done
33247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33248 $as_echo_n "checking for fabsl declaration... " >&6; }
33249 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33250 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33251 $as_echo_n "(cached) " >&6
33252 else
33255 ac_ext=cpp
33256 ac_cpp='$CXXCPP $CPPFLAGS'
33257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33262 /* end confdefs.h. */
33263 #include <math.h>
33264 #ifdef HAVE_IEEEFP_H
33265 #include <ieeefp.h>
33266 #endif
33269 main ()
33271 fabsl(0);
33273 return 0;
33275 _ACEOF
33276 if ac_fn_cxx_try_compile "$LINENO"; then :
33277 glibcxx_cv_func_fabsl_use=yes
33278 else
33279 glibcxx_cv_func_fabsl_use=no
33281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33282 ac_ext=c
33283 ac_cpp='$CPP $CPPFLAGS'
33284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33293 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33295 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33296 for ac_func in fabsl
33297 do :
33298 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33299 if test "x$ac_cv_func_fabsl" = x""yes; then :
33300 cat >>confdefs.h <<_ACEOF
33301 #define HAVE_FABSL 1
33302 _ACEOF
33305 done
33307 else
33309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33310 $as_echo_n "checking for _fabsl declaration... " >&6; }
33311 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33312 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33313 $as_echo_n "(cached) " >&6
33314 else
33317 ac_ext=cpp
33318 ac_cpp='$CXXCPP $CPPFLAGS'
33319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33324 /* end confdefs.h. */
33325 #include <math.h>
33326 #ifdef HAVE_IEEEFP_H
33327 #include <ieeefp.h>
33328 #endif
33331 main ()
33333 _fabsl(0);
33335 return 0;
33337 _ACEOF
33338 if ac_fn_cxx_try_compile "$LINENO"; then :
33339 glibcxx_cv_func__fabsl_use=yes
33340 else
33341 glibcxx_cv_func__fabsl_use=no
33343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33344 ac_ext=c
33345 ac_cpp='$CPP $CPPFLAGS'
33346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33355 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33357 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33358 for ac_func in _fabsl
33359 do :
33360 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33361 if test "x$ac_cv_func__fabsl" = x""yes; then :
33362 cat >>confdefs.h <<_ACEOF
33363 #define HAVE__FABSL 1
33364 _ACEOF
33367 done
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33377 $as_echo_n "checking for fmodl declaration... " >&6; }
33378 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33379 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <math.h>
33394 main ()
33396 fmodl(0, 0);
33398 return 0;
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402 glibcxx_cv_func_fmodl_use=yes
33403 else
33404 glibcxx_cv_func_fmodl_use=no
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33418 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33420 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33421 for ac_func in fmodl
33422 do :
33423 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33424 if test "x$ac_cv_func_fmodl" = x""yes; then :
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE_FMODL 1
33427 _ACEOF
33430 done
33432 else
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33435 $as_echo_n "checking for _fmodl declaration... " >&6; }
33436 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33437 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33438 $as_echo_n "(cached) " >&6
33439 else
33442 ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h. */
33450 #include <math.h>
33452 main ()
33454 _fmodl(0, 0);
33456 return 0;
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460 glibcxx_cv_func__fmodl_use=yes
33461 else
33462 glibcxx_cv_func__fmodl_use=no
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465 ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33476 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33478 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33479 for ac_func in _fmodl
33480 do :
33481 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33482 if test "x$ac_cv_func__fmodl" = x""yes; then :
33483 cat >>confdefs.h <<_ACEOF
33484 #define HAVE__FMODL 1
33485 _ACEOF
33488 done
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33498 $as_echo_n "checking for frexpl declaration... " >&6; }
33499 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33500 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33501 $as_echo_n "(cached) " >&6
33502 else
33505 ac_ext=cpp
33506 ac_cpp='$CXXCPP $CPPFLAGS'
33507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33512 /* end confdefs.h. */
33513 #include <math.h>
33515 main ()
33517 frexpl(0, 0);
33519 return 0;
33521 _ACEOF
33522 if ac_fn_cxx_try_compile "$LINENO"; then :
33523 glibcxx_cv_func_frexpl_use=yes
33524 else
33525 glibcxx_cv_func_frexpl_use=no
33527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33528 ac_ext=c
33529 ac_cpp='$CPP $CPPFLAGS'
33530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33539 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33541 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33542 for ac_func in frexpl
33543 do :
33544 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33545 if test "x$ac_cv_func_frexpl" = x""yes; then :
33546 cat >>confdefs.h <<_ACEOF
33547 #define HAVE_FREXPL 1
33548 _ACEOF
33551 done
33553 else
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33556 $as_echo_n "checking for _frexpl declaration... " >&6; }
33557 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33558 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33559 $as_echo_n "(cached) " >&6
33560 else
33563 ac_ext=cpp
33564 ac_cpp='$CXXCPP $CPPFLAGS'
33565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33570 /* end confdefs.h. */
33571 #include <math.h>
33573 main ()
33575 _frexpl(0, 0);
33577 return 0;
33579 _ACEOF
33580 if ac_fn_cxx_try_compile "$LINENO"; then :
33581 glibcxx_cv_func__frexpl_use=yes
33582 else
33583 glibcxx_cv_func__frexpl_use=no
33585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 ac_ext=c
33587 ac_cpp='$CPP $CPPFLAGS'
33588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33597 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33599 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33600 for ac_func in _frexpl
33601 do :
33602 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33603 if test "x$ac_cv_func__frexpl" = x""yes; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define HAVE__FREXPL 1
33606 _ACEOF
33609 done
33618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33619 $as_echo_n "checking for hypotl declaration... " >&6; }
33620 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33621 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33622 $as_echo_n "(cached) " >&6
33623 else
33626 ac_ext=cpp
33627 ac_cpp='$CXXCPP $CPPFLAGS'
33628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33633 /* end confdefs.h. */
33634 #include <math.h>
33636 main ()
33638 hypotl(0, 0);
33640 return 0;
33642 _ACEOF
33643 if ac_fn_cxx_try_compile "$LINENO"; then :
33644 glibcxx_cv_func_hypotl_use=yes
33645 else
33646 glibcxx_cv_func_hypotl_use=no
33648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33649 ac_ext=c
33650 ac_cpp='$CPP $CPPFLAGS'
33651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33660 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33662 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33663 for ac_func in hypotl
33664 do :
33665 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33666 if test "x$ac_cv_func_hypotl" = x""yes; then :
33667 cat >>confdefs.h <<_ACEOF
33668 #define HAVE_HYPOTL 1
33669 _ACEOF
33672 done
33674 else
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33677 $as_echo_n "checking for _hypotl declaration... " >&6; }
33678 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33679 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33680 $as_echo_n "(cached) " >&6
33681 else
33684 ac_ext=cpp
33685 ac_cpp='$CXXCPP $CPPFLAGS'
33686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33691 /* end confdefs.h. */
33692 #include <math.h>
33694 main ()
33696 _hypotl(0, 0);
33698 return 0;
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func__hypotl_use=yes
33703 else
33704 glibcxx_cv_func__hypotl_use=no
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33718 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33720 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33721 for ac_func in _hypotl
33722 do :
33723 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33724 if test "x$ac_cv_func__hypotl" = x""yes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE__HYPOTL 1
33727 _ACEOF
33730 done
33739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33740 $as_echo_n "checking for ldexpl declaration... " >&6; }
33741 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33742 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33743 $as_echo_n "(cached) " >&6
33744 else
33747 ac_ext=cpp
33748 ac_cpp='$CXXCPP $CPPFLAGS'
33749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33754 /* end confdefs.h. */
33755 #include <math.h>
33757 main ()
33759 ldexpl(0, 0);
33761 return 0;
33763 _ACEOF
33764 if ac_fn_cxx_try_compile "$LINENO"; then :
33765 glibcxx_cv_func_ldexpl_use=yes
33766 else
33767 glibcxx_cv_func_ldexpl_use=no
33769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33770 ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33781 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33783 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33784 for ac_func in ldexpl
33785 do :
33786 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33787 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33788 cat >>confdefs.h <<_ACEOF
33789 #define HAVE_LDEXPL 1
33790 _ACEOF
33793 done
33795 else
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33798 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33799 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33800 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33801 $as_echo_n "(cached) " >&6
33802 else
33805 ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h. */
33813 #include <math.h>
33815 main ()
33817 _ldexpl(0, 0);
33819 return 0;
33821 _ACEOF
33822 if ac_fn_cxx_try_compile "$LINENO"; then :
33823 glibcxx_cv_func__ldexpl_use=yes
33824 else
33825 glibcxx_cv_func__ldexpl_use=no
33827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33828 ac_ext=c
33829 ac_cpp='$CPP $CPPFLAGS'
33830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33839 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33841 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33842 for ac_func in _ldexpl
33843 do :
33844 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33845 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33846 cat >>confdefs.h <<_ACEOF
33847 #define HAVE__LDEXPL 1
33848 _ACEOF
33851 done
33860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33861 $as_echo_n "checking for logl declaration... " >&6; }
33862 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33863 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33864 $as_echo_n "(cached) " >&6
33865 else
33868 ac_ext=cpp
33869 ac_cpp='$CXXCPP $CPPFLAGS'
33870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33875 /* end confdefs.h. */
33876 #include <math.h>
33877 #ifdef HAVE_IEEEFP_H
33878 #include <ieeefp.h>
33879 #endif
33882 main ()
33884 logl(0);
33886 return 0;
33888 _ACEOF
33889 if ac_fn_cxx_try_compile "$LINENO"; then :
33890 glibcxx_cv_func_logl_use=yes
33891 else
33892 glibcxx_cv_func_logl_use=no
33894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33895 ac_ext=c
33896 ac_cpp='$CPP $CPPFLAGS'
33897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33906 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33908 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33909 for ac_func in logl
33910 do :
33911 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33912 if test "x$ac_cv_func_logl" = x""yes; then :
33913 cat >>confdefs.h <<_ACEOF
33914 #define HAVE_LOGL 1
33915 _ACEOF
33918 done
33920 else
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33923 $as_echo_n "checking for _logl declaration... " >&6; }
33924 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33925 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33926 $as_echo_n "(cached) " >&6
33927 else
33930 ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h. */
33938 #include <math.h>
33939 #ifdef HAVE_IEEEFP_H
33940 #include <ieeefp.h>
33941 #endif
33944 main ()
33946 _logl(0);
33948 return 0;
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952 glibcxx_cv_func__logl_use=yes
33953 else
33954 glibcxx_cv_func__logl_use=no
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33968 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33970 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33971 for ac_func in _logl
33972 do :
33973 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33974 if test "x$ac_cv_func__logl" = x""yes; then :
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE__LOGL 1
33977 _ACEOF
33980 done
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33990 $as_echo_n "checking for log10l declaration... " >&6; }
33991 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33992 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33993 $as_echo_n "(cached) " >&6
33994 else
33997 ac_ext=cpp
33998 ac_cpp='$CXXCPP $CPPFLAGS'
33999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34004 /* end confdefs.h. */
34005 #include <math.h>
34006 #ifdef HAVE_IEEEFP_H
34007 #include <ieeefp.h>
34008 #endif
34011 main ()
34013 log10l(0);
34015 return 0;
34017 _ACEOF
34018 if ac_fn_cxx_try_compile "$LINENO"; then :
34019 glibcxx_cv_func_log10l_use=yes
34020 else
34021 glibcxx_cv_func_log10l_use=no
34023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34024 ac_ext=c
34025 ac_cpp='$CPP $CPPFLAGS'
34026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34035 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34037 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34038 for ac_func in log10l
34039 do :
34040 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34041 if test "x$ac_cv_func_log10l" = x""yes; then :
34042 cat >>confdefs.h <<_ACEOF
34043 #define HAVE_LOG10L 1
34044 _ACEOF
34047 done
34049 else
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34052 $as_echo_n "checking for _log10l declaration... " >&6; }
34053 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34054 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
34055 $as_echo_n "(cached) " >&6
34056 else
34059 ac_ext=cpp
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34066 /* end confdefs.h. */
34067 #include <math.h>
34068 #ifdef HAVE_IEEEFP_H
34069 #include <ieeefp.h>
34070 #endif
34073 main ()
34075 _log10l(0);
34077 return 0;
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func__log10l_use=yes
34082 else
34083 glibcxx_cv_func__log10l_use=no
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34097 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34099 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34100 for ac_func in _log10l
34101 do :
34102 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34103 if test "x$ac_cv_func__log10l" = x""yes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE__LOG10L 1
34106 _ACEOF
34109 done
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34119 $as_echo_n "checking for modfl declaration... " >&6; }
34120 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34121 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34136 main ()
34138 modfl(0, 0);
34140 return 0;
34142 _ACEOF
34143 if ac_fn_cxx_try_compile "$LINENO"; then :
34144 glibcxx_cv_func_modfl_use=yes
34145 else
34146 glibcxx_cv_func_modfl_use=no
34148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34149 ac_ext=c
34150 ac_cpp='$CPP $CPPFLAGS'
34151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34160 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34162 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34163 for ac_func in modfl
34164 do :
34165 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34166 if test "x$ac_cv_func_modfl" = x""yes; then :
34167 cat >>confdefs.h <<_ACEOF
34168 #define HAVE_MODFL 1
34169 _ACEOF
34172 done
34174 else
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34177 $as_echo_n "checking for _modfl declaration... " >&6; }
34178 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34179 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34180 $as_echo_n "(cached) " >&6
34181 else
34184 ac_ext=cpp
34185 ac_cpp='$CXXCPP $CPPFLAGS'
34186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34191 /* end confdefs.h. */
34192 #include <math.h>
34194 main ()
34196 _modfl(0, 0);
34198 return 0;
34200 _ACEOF
34201 if ac_fn_cxx_try_compile "$LINENO"; then :
34202 glibcxx_cv_func__modfl_use=yes
34203 else
34204 glibcxx_cv_func__modfl_use=no
34206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34207 ac_ext=c
34208 ac_cpp='$CPP $CPPFLAGS'
34209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34218 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34220 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34221 for ac_func in _modfl
34222 do :
34223 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34224 if test "x$ac_cv_func__modfl" = x""yes; then :
34225 cat >>confdefs.h <<_ACEOF
34226 #define HAVE__MODFL 1
34227 _ACEOF
34230 done
34239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34240 $as_echo_n "checking for powl declaration... " >&6; }
34241 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34242 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34243 $as_echo_n "(cached) " >&6
34244 else
34247 ac_ext=cpp
34248 ac_cpp='$CXXCPP $CPPFLAGS'
34249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34254 /* end confdefs.h. */
34255 #include <math.h>
34257 main ()
34259 powl(0, 0);
34261 return 0;
34263 _ACEOF
34264 if ac_fn_cxx_try_compile "$LINENO"; then :
34265 glibcxx_cv_func_powl_use=yes
34266 else
34267 glibcxx_cv_func_powl_use=no
34269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34270 ac_ext=c
34271 ac_cpp='$CPP $CPPFLAGS'
34272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34281 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34283 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34284 for ac_func in powl
34285 do :
34286 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34287 if test "x$ac_cv_func_powl" = x""yes; then :
34288 cat >>confdefs.h <<_ACEOF
34289 #define HAVE_POWL 1
34290 _ACEOF
34293 done
34295 else
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34298 $as_echo_n "checking for _powl declaration... " >&6; }
34299 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34300 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34315 main ()
34317 _powl(0, 0);
34319 return 0;
34321 _ACEOF
34322 if ac_fn_cxx_try_compile "$LINENO"; then :
34323 glibcxx_cv_func__powl_use=yes
34324 else
34325 glibcxx_cv_func__powl_use=no
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328 ac_ext=c
34329 ac_cpp='$CPP $CPPFLAGS'
34330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34339 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34341 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34342 for ac_func in _powl
34343 do :
34344 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34345 if test "x$ac_cv_func__powl" = x""yes; then :
34346 cat >>confdefs.h <<_ACEOF
34347 #define HAVE__POWL 1
34348 _ACEOF
34351 done
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34361 $as_echo_n "checking for sqrtl declaration... " >&6; }
34362 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34363 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34364 $as_echo_n "(cached) " >&6
34365 else
34368 ac_ext=cpp
34369 ac_cpp='$CXXCPP $CPPFLAGS'
34370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34375 /* end confdefs.h. */
34376 #include <math.h>
34377 #ifdef HAVE_IEEEFP_H
34378 #include <ieeefp.h>
34379 #endif
34382 main ()
34384 sqrtl(0);
34386 return 0;
34388 _ACEOF
34389 if ac_fn_cxx_try_compile "$LINENO"; then :
34390 glibcxx_cv_func_sqrtl_use=yes
34391 else
34392 glibcxx_cv_func_sqrtl_use=no
34394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34395 ac_ext=c
34396 ac_cpp='$CPP $CPPFLAGS'
34397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34406 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34408 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34409 for ac_func in sqrtl
34410 do :
34411 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34412 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34413 cat >>confdefs.h <<_ACEOF
34414 #define HAVE_SQRTL 1
34415 _ACEOF
34418 done
34420 else
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34423 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34424 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34425 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34426 $as_echo_n "(cached) " >&6
34427 else
34430 ac_ext=cpp
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437 /* end confdefs.h. */
34438 #include <math.h>
34439 #ifdef HAVE_IEEEFP_H
34440 #include <ieeefp.h>
34441 #endif
34444 main ()
34446 _sqrtl(0);
34448 return 0;
34450 _ACEOF
34451 if ac_fn_cxx_try_compile "$LINENO"; then :
34452 glibcxx_cv_func__sqrtl_use=yes
34453 else
34454 glibcxx_cv_func__sqrtl_use=no
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34457 ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34468 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34470 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34471 for ac_func in _sqrtl
34472 do :
34473 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34474 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34475 cat >>confdefs.h <<_ACEOF
34476 #define HAVE__SQRTL 1
34477 _ACEOF
34480 done
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34490 $as_echo_n "checking for sincosl declaration... " >&6; }
34491 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34492 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34493 $as_echo_n "(cached) " >&6
34494 else
34497 ac_ext=cpp
34498 ac_cpp='$CXXCPP $CPPFLAGS'
34499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34504 /* end confdefs.h. */
34505 #include <math.h>
34507 main ()
34509 sincosl(0, 0, 0);
34511 return 0;
34513 _ACEOF
34514 if ac_fn_cxx_try_compile "$LINENO"; then :
34515 glibcxx_cv_func_sincosl_use=yes
34516 else
34517 glibcxx_cv_func_sincosl_use=no
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520 ac_ext=c
34521 ac_cpp='$CPP $CPPFLAGS'
34522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34531 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34533 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34534 for ac_func in sincosl
34535 do :
34536 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34537 if test "x$ac_cv_func_sincosl" = x""yes; then :
34538 cat >>confdefs.h <<_ACEOF
34539 #define HAVE_SINCOSL 1
34540 _ACEOF
34543 done
34545 else
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34548 $as_echo_n "checking for _sincosl declaration... " >&6; }
34549 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34550 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34551 $as_echo_n "(cached) " >&6
34552 else
34555 ac_ext=cpp
34556 ac_cpp='$CXXCPP $CPPFLAGS'
34557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34562 /* end confdefs.h. */
34563 #include <math.h>
34565 main ()
34567 _sincosl(0, 0, 0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func__sincosl_use=yes
34574 else
34575 glibcxx_cv_func__sincosl_use=no
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34589 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34591 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34592 for ac_func in _sincosl
34593 do :
34594 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34595 if test "x$ac_cv_func__sincosl" = x""yes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE__SINCOSL 1
34598 _ACEOF
34601 done
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34611 $as_echo_n "checking for finitel declaration... " >&6; }
34612 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34613 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34614 $as_echo_n "(cached) " >&6
34615 else
34618 ac_ext=cpp
34619 ac_cpp='$CXXCPP $CPPFLAGS'
34620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34625 /* end confdefs.h. */
34626 #include <math.h>
34627 #ifdef HAVE_IEEEFP_H
34628 #include <ieeefp.h>
34629 #endif
34632 main ()
34634 finitel(0);
34636 return 0;
34638 _ACEOF
34639 if ac_fn_cxx_try_compile "$LINENO"; then :
34640 glibcxx_cv_func_finitel_use=yes
34641 else
34642 glibcxx_cv_func_finitel_use=no
34644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34645 ac_ext=c
34646 ac_cpp='$CPP $CPPFLAGS'
34647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34656 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34658 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34659 for ac_func in finitel
34660 do :
34661 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34662 if test "x$ac_cv_func_finitel" = x""yes; then :
34663 cat >>confdefs.h <<_ACEOF
34664 #define HAVE_FINITEL 1
34665 _ACEOF
34668 done
34670 else
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34673 $as_echo_n "checking for _finitel declaration... " >&6; }
34674 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34675 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 #ifdef HAVE_IEEEFP_H
34690 #include <ieeefp.h>
34691 #endif
34694 main ()
34696 _finitel(0);
34698 return 0;
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func__finitel_use=yes
34703 else
34704 glibcxx_cv_func__finitel_use=no
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34718 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34720 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34721 for ac_func in _finitel
34722 do :
34723 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34724 if test "x$ac_cv_func__finitel" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE__FINITEL 1
34727 _ACEOF
34730 done
34738 LIBS="$ac_save_LIBS"
34739 CXXFLAGS="$ac_save_CXXFLAGS"
34742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34743 ac_save_CXXFLAGS="$CXXFLAGS"
34744 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34748 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34749 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34750 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34751 $as_echo_n "(cached) " >&6
34752 else
34755 ac_ext=cpp
34756 ac_cpp='$CXXCPP $CPPFLAGS'
34757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34762 /* end confdefs.h. */
34763 #include <stdlib.h>
34765 main ()
34767 at_quick_exit(0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func_at_quick_exit_use=yes
34774 else
34775 glibcxx_cv_func_at_quick_exit_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34789 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34790 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34791 for ac_func in at_quick_exit
34792 do :
34793 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34794 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34795 cat >>confdefs.h <<_ACEOF
34796 #define HAVE_AT_QUICK_EXIT 1
34797 _ACEOF
34800 done
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34806 $as_echo_n "checking for quick_exit declaration... " >&6; }
34807 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34808 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34809 $as_echo_n "(cached) " >&6
34810 else
34813 ac_ext=cpp
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34820 /* end confdefs.h. */
34821 #include <stdlib.h>
34823 main ()
34825 quick_exit(0);
34827 return 0;
34829 _ACEOF
34830 if ac_fn_cxx_try_compile "$LINENO"; then :
34831 glibcxx_cv_func_quick_exit_use=yes
34832 else
34833 glibcxx_cv_func_quick_exit_use=no
34835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34836 ac_ext=c
34837 ac_cpp='$CPP $CPPFLAGS'
34838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34847 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34848 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34849 for ac_func in quick_exit
34850 do :
34851 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34852 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34853 cat >>confdefs.h <<_ACEOF
34854 #define HAVE_QUICK_EXIT 1
34855 _ACEOF
34858 done
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34864 $as_echo_n "checking for strtold declaration... " >&6; }
34865 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34866 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34867 $as_echo_n "(cached) " >&6
34868 else
34871 ac_ext=cpp
34872 ac_cpp='$CXXCPP $CPPFLAGS'
34873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34878 /* end confdefs.h. */
34879 #include <stdlib.h>
34881 main ()
34883 strtold(0, 0);
34885 return 0;
34887 _ACEOF
34888 if ac_fn_cxx_try_compile "$LINENO"; then :
34889 glibcxx_cv_func_strtold_use=yes
34890 else
34891 glibcxx_cv_func_strtold_use=no
34893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34894 ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34905 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34906 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34907 for ac_func in strtold
34908 do :
34909 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34910 if test "x$ac_cv_func_strtold" = x""yes; then :
34911 cat >>confdefs.h <<_ACEOF
34912 #define HAVE_STRTOLD 1
34913 _ACEOF
34916 done
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34924 $as_echo_n "checking for strtof declaration... " >&6; }
34925 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34926 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34927 $as_echo_n "(cached) " >&6
34928 else
34931 ac_ext=cpp
34932 ac_cpp='$CXXCPP $CPPFLAGS'
34933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34938 /* end confdefs.h. */
34939 #include <stdlib.h>
34941 main ()
34943 strtof(0, 0);
34945 return 0;
34947 _ACEOF
34948 if ac_fn_cxx_try_compile "$LINENO"; then :
34949 glibcxx_cv_func_strtof_use=yes
34950 else
34951 glibcxx_cv_func_strtof_use=no
34953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34954 ac_ext=c
34955 ac_cpp='$CPP $CPPFLAGS'
34956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34965 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34966 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34967 for ac_func in strtof
34968 do :
34969 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34970 if test "x$ac_cv_func_strtof" = x""yes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_STRTOF 1
34973 _ACEOF
34976 done
34983 CXXFLAGS="$ac_save_CXXFLAGS"
34986 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34988 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34990 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34992 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34995 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34997 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34999 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35003 spu-*-elf*)
35005 # All these tests are for C++; save the language and the compiler flags.
35006 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35007 # found in GLIBCXX_CONFIGURE.
35009 ac_ext=cpp
35010 ac_cpp='$CXXCPP $CPPFLAGS'
35011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35016 ac_save_CXXFLAGS="$CXXFLAGS"
35018 # Check for maintainer-mode bits.
35019 if test x"$USE_MAINTAINER_MODE" = xno; then
35020 WERROR=''
35021 else
35022 WERROR='-Werror'
35025 # Check for -ffunction-sections -fdata-sections
35026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35027 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35028 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35030 /* end confdefs.h. */
35031 int foo; void bar() { };
35033 main ()
35037 return 0;
35039 _ACEOF
35040 if ac_fn_cxx_try_compile "$LINENO"; then :
35041 ac_fdsections=yes
35042 else
35043 ac_fdsections=no
35045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35046 if test "$ac_test_CXXFLAGS" = set; then
35047 CXXFLAGS="$ac_save_CXXFLAGS"
35048 else
35049 # this is the suspicious part
35050 CXXFLAGS=''
35052 if test x"$ac_fdsections" = x"yes"; then
35053 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35056 $as_echo "$ac_fdsections" >&6; }
35058 ac_ext=c
35059 ac_cpp='$CPP $CPPFLAGS'
35060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35068 # If we're not using GNU ld, then there's no point in even trying these
35069 # tests. Check for that first. We should have already tested for gld
35070 # by now (in libtool), but require it now just to be safe...
35071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35076 # The name set by libtool depends on the version of libtool. Shame on us
35077 # for depending on an impl detail, but c'est la vie. Older versions used
35078 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35079 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35080 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35081 # set (hence we're using an older libtool), then set it.
35082 if test x${with_gnu_ld+set} != xset; then
35083 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35084 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35085 with_gnu_ld=no
35086 else
35087 with_gnu_ld=$ac_cv_prog_gnu_ld
35091 # Start by getting the version number. I think the libtool test already
35092 # does some of this, but throws away the result.
35093 glibcxx_ld_is_gold=no
35094 if test x"$with_gnu_ld" = x"yes"; then
35095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35096 $as_echo_n "checking for ld version... " >&6; }
35098 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35099 glibcxx_ld_is_gold=yes
35101 ldver=`$LD --version 2>/dev/null |
35102 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
35104 glibcxx_gnu_ld_version=`echo $ldver | \
35105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35107 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35110 # Set --gc-sections.
35111 glibcxx_have_gc_sections=no
35112 if test "$glibcxx_ld_is_gold" = "yes"; then
35113 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35114 glibcxx_have_gc_sections=yes
35116 else
35117 glibcxx_gcsections_min_ld=21602
35118 if test x"$with_gnu_ld" = x"yes" &&
35119 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35120 glibcxx_have_gc_sections=yes
35123 if test "$glibcxx_have_gc_sections" = "yes"; then
35124 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35125 # NB: This flag only works reliably after 2.16.1. Configure tests
35126 # for this are difficult, so hard wire a value that should work.
35128 ac_test_CFLAGS="${CFLAGS+set}"
35129 ac_save_CFLAGS="$CFLAGS"
35130 CFLAGS='-Wl,--gc-sections'
35132 # Check for -Wl,--gc-sections
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35134 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35135 if test x$gcc_no_link = xyes; then
35136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35139 /* end confdefs.h. */
35140 int one(void) { return 1; }
35141 int two(void) { return 2; }
35144 main ()
35146 two();
35148 return 0;
35150 _ACEOF
35151 if ac_fn_c_try_link "$LINENO"; then :
35152 ac_gcsections=yes
35153 else
35154 ac_gcsections=no
35156 rm -f core conftest.err conftest.$ac_objext \
35157 conftest$ac_exeext conftest.$ac_ext
35158 if test "$ac_gcsections" = "yes"; then
35159 rm -f conftest.c
35160 touch conftest.c
35161 if $CC -c conftest.c; then
35162 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35163 grep "Warning: gc-sections option ignored" > /dev/null; then
35164 ac_gcsections=no
35167 rm -f conftest.c conftest.o conftest
35169 if test "$ac_gcsections" = "yes"; then
35170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35173 $as_echo "$ac_gcsections" >&6; }
35175 if test "$ac_test_CFLAGS" = set; then
35176 CFLAGS="$ac_save_CFLAGS"
35177 else
35178 # this is the suspicious part
35179 CFLAGS=''
35183 # Set -z,relro.
35184 # Note this is only for shared objects.
35185 ac_ld_relro=no
35186 if test x"$with_gnu_ld" = x"yes"; then
35187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35188 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35189 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35190 if test -n "$cxx_z_relo"; then
35191 OPT_LDFLAGS="-Wl,-z,relro"
35192 ac_ld_relro=yes
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35195 $as_echo "$ac_ld_relro" >&6; }
35198 # Set linker optimization flags.
35199 if test x"$with_gnu_ld" = x"yes"; then
35200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35207 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35208 ac_save_CXXFLAGS="$CXXFLAGS"
35209 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35212 $as_echo_n "checking for sin in -lm... " >&6; }
35213 if test "${ac_cv_lib_m_sin+set}" = set; then :
35214 $as_echo_n "(cached) " >&6
35215 else
35216 ac_check_lib_save_LIBS=$LIBS
35217 LIBS="-lm $LIBS"
35218 if test x$gcc_no_link = xyes; then
35219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35222 /* end confdefs.h. */
35224 /* Override any GCC internal prototype to avoid an error.
35225 Use char because int might match the return type of a GCC
35226 builtin and then its argument prototype would still apply. */
35227 #ifdef __cplusplus
35228 extern "C"
35229 #endif
35230 char sin ();
35232 main ()
35234 return sin ();
35236 return 0;
35238 _ACEOF
35239 if ac_fn_c_try_link "$LINENO"; then :
35240 ac_cv_lib_m_sin=yes
35241 else
35242 ac_cv_lib_m_sin=no
35244 rm -f core conftest.err conftest.$ac_objext \
35245 conftest$ac_exeext conftest.$ac_ext
35246 LIBS=$ac_check_lib_save_LIBS
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35249 $as_echo "$ac_cv_lib_m_sin" >&6; }
35250 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35251 libm="-lm"
35254 ac_save_LIBS="$LIBS"
35255 LIBS="$LIBS $libm"
35259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35260 $as_echo_n "checking for isinf declaration... " >&6; }
35261 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35262 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35263 $as_echo_n "(cached) " >&6
35264 else
35267 ac_ext=cpp
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35274 /* end confdefs.h. */
35275 #include <math.h>
35276 #ifdef HAVE_IEEEFP_H
35277 #include <ieeefp.h>
35278 #endif
35281 main ()
35283 isinf(0);
35285 return 0;
35287 _ACEOF
35288 if ac_fn_cxx_try_compile "$LINENO"; then :
35289 glibcxx_cv_func_isinf_use=yes
35290 else
35291 glibcxx_cv_func_isinf_use=no
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35294 ac_ext=c
35295 ac_cpp='$CPP $CPPFLAGS'
35296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35305 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35307 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35308 for ac_func in isinf
35309 do :
35310 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35311 if test "x$ac_cv_func_isinf" = x""yes; then :
35312 cat >>confdefs.h <<_ACEOF
35313 #define HAVE_ISINF 1
35314 _ACEOF
35317 done
35319 else
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35322 $as_echo_n "checking for _isinf declaration... " >&6; }
35323 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35324 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35325 $as_echo_n "(cached) " >&6
35326 else
35329 ac_ext=cpp
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35337 #include <math.h>
35338 #ifdef HAVE_IEEEFP_H
35339 #include <ieeefp.h>
35340 #endif
35343 main ()
35345 _isinf(0);
35347 return 0;
35349 _ACEOF
35350 if ac_fn_cxx_try_compile "$LINENO"; then :
35351 glibcxx_cv_func__isinf_use=yes
35352 else
35353 glibcxx_cv_func__isinf_use=no
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356 ac_ext=c
35357 ac_cpp='$CPP $CPPFLAGS'
35358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35367 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35369 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35370 for ac_func in _isinf
35371 do :
35372 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35373 if test "x$ac_cv_func__isinf" = x""yes; then :
35374 cat >>confdefs.h <<_ACEOF
35375 #define HAVE__ISINF 1
35376 _ACEOF
35379 done
35388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35389 $as_echo_n "checking for isnan declaration... " >&6; }
35390 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35391 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35392 $as_echo_n "(cached) " >&6
35393 else
35396 ac_ext=cpp
35397 ac_cpp='$CXXCPP $CPPFLAGS'
35398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35403 /* end confdefs.h. */
35404 #include <math.h>
35405 #ifdef HAVE_IEEEFP_H
35406 #include <ieeefp.h>
35407 #endif
35410 main ()
35412 isnan(0);
35414 return 0;
35416 _ACEOF
35417 if ac_fn_cxx_try_compile "$LINENO"; then :
35418 glibcxx_cv_func_isnan_use=yes
35419 else
35420 glibcxx_cv_func_isnan_use=no
35422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35423 ac_ext=c
35424 ac_cpp='$CPP $CPPFLAGS'
35425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35434 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35436 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35437 for ac_func in isnan
35438 do :
35439 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35440 if test "x$ac_cv_func_isnan" = x""yes; then :
35441 cat >>confdefs.h <<_ACEOF
35442 #define HAVE_ISNAN 1
35443 _ACEOF
35446 done
35448 else
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35451 $as_echo_n "checking for _isnan declaration... " >&6; }
35452 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35453 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35454 $as_echo_n "(cached) " >&6
35455 else
35458 ac_ext=cpp
35459 ac_cpp='$CXXCPP $CPPFLAGS'
35460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35465 /* end confdefs.h. */
35466 #include <math.h>
35467 #ifdef HAVE_IEEEFP_H
35468 #include <ieeefp.h>
35469 #endif
35472 main ()
35474 _isnan(0);
35476 return 0;
35478 _ACEOF
35479 if ac_fn_cxx_try_compile "$LINENO"; then :
35480 glibcxx_cv_func__isnan_use=yes
35481 else
35482 glibcxx_cv_func__isnan_use=no
35484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35485 ac_ext=c
35486 ac_cpp='$CPP $CPPFLAGS'
35487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35496 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35498 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35499 for ac_func in _isnan
35500 do :
35501 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35502 if test "x$ac_cv_func__isnan" = x""yes; then :
35503 cat >>confdefs.h <<_ACEOF
35504 #define HAVE__ISNAN 1
35505 _ACEOF
35508 done
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35518 $as_echo_n "checking for finite declaration... " >&6; }
35519 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35520 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35521 $as_echo_n "(cached) " >&6
35522 else
35525 ac_ext=cpp
35526 ac_cpp='$CXXCPP $CPPFLAGS'
35527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35532 /* end confdefs.h. */
35533 #include <math.h>
35534 #ifdef HAVE_IEEEFP_H
35535 #include <ieeefp.h>
35536 #endif
35539 main ()
35541 finite(0);
35543 return 0;
35545 _ACEOF
35546 if ac_fn_cxx_try_compile "$LINENO"; then :
35547 glibcxx_cv_func_finite_use=yes
35548 else
35549 glibcxx_cv_func_finite_use=no
35551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552 ac_ext=c
35553 ac_cpp='$CPP $CPPFLAGS'
35554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35563 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35565 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35566 for ac_func in finite
35567 do :
35568 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35569 if test "x$ac_cv_func_finite" = x""yes; then :
35570 cat >>confdefs.h <<_ACEOF
35571 #define HAVE_FINITE 1
35572 _ACEOF
35575 done
35577 else
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35580 $as_echo_n "checking for _finite declaration... " >&6; }
35581 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35582 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35583 $as_echo_n "(cached) " >&6
35584 else
35587 ac_ext=cpp
35588 ac_cpp='$CXXCPP $CPPFLAGS'
35589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35594 /* end confdefs.h. */
35595 #include <math.h>
35596 #ifdef HAVE_IEEEFP_H
35597 #include <ieeefp.h>
35598 #endif
35601 main ()
35603 _finite(0);
35605 return 0;
35607 _ACEOF
35608 if ac_fn_cxx_try_compile "$LINENO"; then :
35609 glibcxx_cv_func__finite_use=yes
35610 else
35611 glibcxx_cv_func__finite_use=no
35613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35614 ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35625 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35627 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35628 for ac_func in _finite
35629 do :
35630 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35631 if test "x$ac_cv_func__finite" = x""yes; then :
35632 cat >>confdefs.h <<_ACEOF
35633 #define HAVE__FINITE 1
35634 _ACEOF
35637 done
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35647 $as_echo_n "checking for sincos declaration... " >&6; }
35648 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35649 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35650 $as_echo_n "(cached) " >&6
35651 else
35654 ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h. */
35662 #include <math.h>
35664 main ()
35666 sincos(0, 0, 0);
35668 return 0;
35670 _ACEOF
35671 if ac_fn_cxx_try_compile "$LINENO"; then :
35672 glibcxx_cv_func_sincos_use=yes
35673 else
35674 glibcxx_cv_func_sincos_use=no
35676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677 ac_ext=c
35678 ac_cpp='$CPP $CPPFLAGS'
35679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35688 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35690 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35691 for ac_func in sincos
35692 do :
35693 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35694 if test "x$ac_cv_func_sincos" = x""yes; then :
35695 cat >>confdefs.h <<_ACEOF
35696 #define HAVE_SINCOS 1
35697 _ACEOF
35700 done
35702 else
35704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35705 $as_echo_n "checking for _sincos declaration... " >&6; }
35706 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35707 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35708 $as_echo_n "(cached) " >&6
35709 else
35712 ac_ext=cpp
35713 ac_cpp='$CXXCPP $CPPFLAGS'
35714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35719 /* end confdefs.h. */
35720 #include <math.h>
35722 main ()
35724 _sincos(0, 0, 0);
35726 return 0;
35728 _ACEOF
35729 if ac_fn_cxx_try_compile "$LINENO"; then :
35730 glibcxx_cv_func__sincos_use=yes
35731 else
35732 glibcxx_cv_func__sincos_use=no
35734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35735 ac_ext=c
35736 ac_cpp='$CPP $CPPFLAGS'
35737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35746 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35748 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35749 for ac_func in _sincos
35750 do :
35751 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35752 if test "x$ac_cv_func__sincos" = x""yes; then :
35753 cat >>confdefs.h <<_ACEOF
35754 #define HAVE__SINCOS 1
35755 _ACEOF
35758 done
35767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35768 $as_echo_n "checking for fpclass declaration... " >&6; }
35769 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35770 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35771 $as_echo_n "(cached) " >&6
35772 else
35775 ac_ext=cpp
35776 ac_cpp='$CXXCPP $CPPFLAGS'
35777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35782 /* end confdefs.h. */
35783 #include <math.h>
35784 #ifdef HAVE_IEEEFP_H
35785 #include <ieeefp.h>
35786 #endif
35789 main ()
35791 fpclass(0);
35793 return 0;
35795 _ACEOF
35796 if ac_fn_cxx_try_compile "$LINENO"; then :
35797 glibcxx_cv_func_fpclass_use=yes
35798 else
35799 glibcxx_cv_func_fpclass_use=no
35801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35802 ac_ext=c
35803 ac_cpp='$CPP $CPPFLAGS'
35804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35813 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35815 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35816 for ac_func in fpclass
35817 do :
35818 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35819 if test "x$ac_cv_func_fpclass" = x""yes; then :
35820 cat >>confdefs.h <<_ACEOF
35821 #define HAVE_FPCLASS 1
35822 _ACEOF
35825 done
35827 else
35829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35830 $as_echo_n "checking for _fpclass declaration... " >&6; }
35831 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35832 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35833 $as_echo_n "(cached) " >&6
35834 else
35837 ac_ext=cpp
35838 ac_cpp='$CXXCPP $CPPFLAGS'
35839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35844 /* end confdefs.h. */
35845 #include <math.h>
35846 #ifdef HAVE_IEEEFP_H
35847 #include <ieeefp.h>
35848 #endif
35851 main ()
35853 _fpclass(0);
35855 return 0;
35857 _ACEOF
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859 glibcxx_cv_func__fpclass_use=yes
35860 else
35861 glibcxx_cv_func__fpclass_use=no
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 ac_ext=c
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35875 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35877 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35878 for ac_func in _fpclass
35879 do :
35880 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35881 if test "x$ac_cv_func__fpclass" = x""yes; then :
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE__FPCLASS 1
35884 _ACEOF
35887 done
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35897 $as_echo_n "checking for qfpclass declaration... " >&6; }
35898 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35899 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35913 #ifdef HAVE_IEEEFP_H
35914 #include <ieeefp.h>
35915 #endif
35918 main ()
35920 qfpclass(0);
35922 return 0;
35924 _ACEOF
35925 if ac_fn_cxx_try_compile "$LINENO"; then :
35926 glibcxx_cv_func_qfpclass_use=yes
35927 else
35928 glibcxx_cv_func_qfpclass_use=no
35930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35931 ac_ext=c
35932 ac_cpp='$CPP $CPPFLAGS'
35933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35942 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35944 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35945 for ac_func in qfpclass
35946 do :
35947 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35948 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35949 cat >>confdefs.h <<_ACEOF
35950 #define HAVE_QFPCLASS 1
35951 _ACEOF
35954 done
35956 else
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35959 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35960 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35961 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35962 $as_echo_n "(cached) " >&6
35963 else
35966 ac_ext=cpp
35967 ac_cpp='$CXXCPP $CPPFLAGS'
35968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35973 /* end confdefs.h. */
35974 #include <math.h>
35975 #ifdef HAVE_IEEEFP_H
35976 #include <ieeefp.h>
35977 #endif
35980 main ()
35982 _qfpclass(0);
35984 return 0;
35986 _ACEOF
35987 if ac_fn_cxx_try_compile "$LINENO"; then :
35988 glibcxx_cv_func__qfpclass_use=yes
35989 else
35990 glibcxx_cv_func__qfpclass_use=no
35992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35993 ac_ext=c
35994 ac_cpp='$CPP $CPPFLAGS'
35995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36004 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36006 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36007 for ac_func in _qfpclass
36008 do :
36009 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36010 if test "x$ac_cv_func__qfpclass" = x""yes; then :
36011 cat >>confdefs.h <<_ACEOF
36012 #define HAVE__QFPCLASS 1
36013 _ACEOF
36016 done
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36026 $as_echo_n "checking for hypot declaration... " >&6; }
36027 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36028 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
36029 $as_echo_n "(cached) " >&6
36030 else
36033 ac_ext=cpp
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36040 /* end confdefs.h. */
36041 #include <math.h>
36043 main ()
36045 hypot(0, 0);
36047 return 0;
36049 _ACEOF
36050 if ac_fn_cxx_try_compile "$LINENO"; then :
36051 glibcxx_cv_func_hypot_use=yes
36052 else
36053 glibcxx_cv_func_hypot_use=no
36055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36056 ac_ext=c
36057 ac_cpp='$CPP $CPPFLAGS'
36058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36067 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36069 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36070 for ac_func in hypot
36071 do :
36072 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36073 if test "x$ac_cv_func_hypot" = x""yes; then :
36074 cat >>confdefs.h <<_ACEOF
36075 #define HAVE_HYPOT 1
36076 _ACEOF
36079 done
36081 else
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36084 $as_echo_n "checking for _hypot declaration... " >&6; }
36085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
36087 $as_echo_n "(cached) " >&6
36088 else
36091 ac_ext=cpp
36092 ac_cpp='$CXXCPP $CPPFLAGS'
36093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36098 /* end confdefs.h. */
36099 #include <math.h>
36101 main ()
36103 _hypot(0, 0);
36105 return 0;
36107 _ACEOF
36108 if ac_fn_cxx_try_compile "$LINENO"; then :
36109 glibcxx_cv_func__hypot_use=yes
36110 else
36111 glibcxx_cv_func__hypot_use=no
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114 ac_ext=c
36115 ac_cpp='$CPP $CPPFLAGS'
36116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36125 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36128 for ac_func in _hypot
36129 do :
36130 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36131 if test "x$ac_cv_func__hypot" = x""yes; then :
36132 cat >>confdefs.h <<_ACEOF
36133 #define HAVE__HYPOT 1
36134 _ACEOF
36137 done
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36147 $as_echo_n "checking for float trig functions... " >&6; }
36148 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
36149 $as_echo_n "(cached) " >&6
36150 else
36153 ac_ext=cpp
36154 ac_cpp='$CXXCPP $CPPFLAGS'
36155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36160 /* end confdefs.h. */
36161 #include <math.h>
36163 main ()
36165 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36167 return 0;
36169 _ACEOF
36170 if ac_fn_cxx_try_compile "$LINENO"; then :
36171 glibcxx_cv_func_float_trig_use=yes
36172 else
36173 glibcxx_cv_func_float_trig_use=no
36175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36176 ac_ext=c
36177 ac_cpp='$CPP $CPPFLAGS'
36178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36185 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36186 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36187 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36188 do :
36189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36191 eval as_val=\$$as_ac_var
36192 if test "x$as_val" = x""yes; then :
36193 cat >>confdefs.h <<_ACEOF
36194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36195 _ACEOF
36198 done
36200 else
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36202 $as_echo_n "checking for _float trig functions... " >&6; }
36203 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36204 $as_echo_n "(cached) " >&6
36205 else
36208 ac_ext=cpp
36209 ac_cpp='$CXXCPP $CPPFLAGS'
36210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36215 /* end confdefs.h. */
36216 #include <math.h>
36218 main ()
36220 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36222 return 0;
36224 _ACEOF
36225 if ac_fn_cxx_try_compile "$LINENO"; then :
36226 glibcxx_cv_func__float_trig_use=yes
36227 else
36228 glibcxx_cv_func__float_trig_use=no
36230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36231 ac_ext=c
36232 ac_cpp='$CPP $CPPFLAGS'
36233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36240 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36241 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36242 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36243 do :
36244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36246 eval as_val=\$$as_ac_var
36247 if test "x$as_val" = x""yes; then :
36248 cat >>confdefs.h <<_ACEOF
36249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36250 _ACEOF
36253 done
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36263 $as_echo_n "checking for float round functions... " >&6; }
36264 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36265 $as_echo_n "(cached) " >&6
36266 else
36269 ac_ext=cpp
36270 ac_cpp='$CXXCPP $CPPFLAGS'
36271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36276 /* end confdefs.h. */
36277 #include <math.h>
36279 main ()
36281 ceilf (0); floorf (0);
36283 return 0;
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287 glibcxx_cv_func_float_round_use=yes
36288 else
36289 glibcxx_cv_func_float_round_use=no
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292 ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36301 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36302 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36303 for ac_func in ceilf floorf
36304 do :
36305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36307 eval as_val=\$$as_ac_var
36308 if test "x$as_val" = x""yes; then :
36309 cat >>confdefs.h <<_ACEOF
36310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36311 _ACEOF
36314 done
36316 else
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36318 $as_echo_n "checking for _float round functions... " >&6; }
36319 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36320 $as_echo_n "(cached) " >&6
36321 else
36324 ac_ext=cpp
36325 ac_cpp='$CXXCPP $CPPFLAGS'
36326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36331 /* end confdefs.h. */
36332 #include <math.h>
36334 main ()
36336 _ceilf (0); _floorf (0);
36338 return 0;
36340 _ACEOF
36341 if ac_fn_cxx_try_compile "$LINENO"; then :
36342 glibcxx_cv_func__float_round_use=yes
36343 else
36344 glibcxx_cv_func__float_round_use=no
36346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36347 ac_ext=c
36348 ac_cpp='$CPP $CPPFLAGS'
36349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36356 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36357 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36358 for ac_func in _ceilf _floorf
36359 do :
36360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36362 eval as_val=\$$as_ac_var
36363 if test "x$as_val" = x""yes; then :
36364 cat >>confdefs.h <<_ACEOF
36365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36366 _ACEOF
36369 done
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36380 $as_echo_n "checking for expf declaration... " >&6; }
36381 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36382 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36383 $as_echo_n "(cached) " >&6
36384 else
36387 ac_ext=cpp
36388 ac_cpp='$CXXCPP $CPPFLAGS'
36389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36394 /* end confdefs.h. */
36395 #include <math.h>
36396 #ifdef HAVE_IEEEFP_H
36397 #include <ieeefp.h>
36398 #endif
36401 main ()
36403 expf(0);
36405 return 0;
36407 _ACEOF
36408 if ac_fn_cxx_try_compile "$LINENO"; then :
36409 glibcxx_cv_func_expf_use=yes
36410 else
36411 glibcxx_cv_func_expf_use=no
36413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36414 ac_ext=c
36415 ac_cpp='$CPP $CPPFLAGS'
36416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36425 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36427 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36428 for ac_func in expf
36429 do :
36430 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36431 if test "x$ac_cv_func_expf" = x""yes; then :
36432 cat >>confdefs.h <<_ACEOF
36433 #define HAVE_EXPF 1
36434 _ACEOF
36437 done
36439 else
36441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36442 $as_echo_n "checking for _expf declaration... " >&6; }
36443 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36444 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36445 $as_echo_n "(cached) " >&6
36446 else
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36456 /* end confdefs.h. */
36457 #include <math.h>
36458 #ifdef HAVE_IEEEFP_H
36459 #include <ieeefp.h>
36460 #endif
36463 main ()
36465 _expf(0);
36467 return 0;
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471 glibcxx_cv_func__expf_use=yes
36472 else
36473 glibcxx_cv_func__expf_use=no
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36487 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36489 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36490 for ac_func in _expf
36491 do :
36492 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36493 if test "x$ac_cv_func__expf" = x""yes; then :
36494 cat >>confdefs.h <<_ACEOF
36495 #define HAVE__EXPF 1
36496 _ACEOF
36499 done
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36509 $as_echo_n "checking for isnanf declaration... " >&6; }
36510 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36511 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36512 $as_echo_n "(cached) " >&6
36513 else
36516 ac_ext=cpp
36517 ac_cpp='$CXXCPP $CPPFLAGS'
36518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36523 /* end confdefs.h. */
36524 #include <math.h>
36525 #ifdef HAVE_IEEEFP_H
36526 #include <ieeefp.h>
36527 #endif
36530 main ()
36532 isnanf(0);
36534 return 0;
36536 _ACEOF
36537 if ac_fn_cxx_try_compile "$LINENO"; then :
36538 glibcxx_cv_func_isnanf_use=yes
36539 else
36540 glibcxx_cv_func_isnanf_use=no
36542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36543 ac_ext=c
36544 ac_cpp='$CPP $CPPFLAGS'
36545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36554 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36556 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36557 for ac_func in isnanf
36558 do :
36559 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36560 if test "x$ac_cv_func_isnanf" = x""yes; then :
36561 cat >>confdefs.h <<_ACEOF
36562 #define HAVE_ISNANF 1
36563 _ACEOF
36566 done
36568 else
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36571 $as_echo_n "checking for _isnanf declaration... " >&6; }
36572 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36573 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36574 $as_echo_n "(cached) " >&6
36575 else
36578 ac_ext=cpp
36579 ac_cpp='$CXXCPP $CPPFLAGS'
36580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36585 /* end confdefs.h. */
36586 #include <math.h>
36587 #ifdef HAVE_IEEEFP_H
36588 #include <ieeefp.h>
36589 #endif
36592 main ()
36594 _isnanf(0);
36596 return 0;
36598 _ACEOF
36599 if ac_fn_cxx_try_compile "$LINENO"; then :
36600 glibcxx_cv_func__isnanf_use=yes
36601 else
36602 glibcxx_cv_func__isnanf_use=no
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36605 ac_ext=c
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36616 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36618 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36619 for ac_func in _isnanf
36620 do :
36621 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36622 if test "x$ac_cv_func__isnanf" = x""yes; then :
36623 cat >>confdefs.h <<_ACEOF
36624 #define HAVE__ISNANF 1
36625 _ACEOF
36628 done
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36638 $as_echo_n "checking for isinff declaration... " >&6; }
36639 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36640 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36641 $as_echo_n "(cached) " >&6
36642 else
36645 ac_ext=cpp
36646 ac_cpp='$CXXCPP $CPPFLAGS'
36647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36652 /* end confdefs.h. */
36653 #include <math.h>
36654 #ifdef HAVE_IEEEFP_H
36655 #include <ieeefp.h>
36656 #endif
36659 main ()
36661 isinff(0);
36663 return 0;
36665 _ACEOF
36666 if ac_fn_cxx_try_compile "$LINENO"; then :
36667 glibcxx_cv_func_isinff_use=yes
36668 else
36669 glibcxx_cv_func_isinff_use=no
36671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36672 ac_ext=c
36673 ac_cpp='$CPP $CPPFLAGS'
36674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36683 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36685 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36686 for ac_func in isinff
36687 do :
36688 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36689 if test "x$ac_cv_func_isinff" = x""yes; then :
36690 cat >>confdefs.h <<_ACEOF
36691 #define HAVE_ISINFF 1
36692 _ACEOF
36695 done
36697 else
36699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36700 $as_echo_n "checking for _isinff declaration... " >&6; }
36701 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36702 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36703 $as_echo_n "(cached) " >&6
36704 else
36707 ac_ext=cpp
36708 ac_cpp='$CXXCPP $CPPFLAGS'
36709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36714 /* end confdefs.h. */
36715 #include <math.h>
36716 #ifdef HAVE_IEEEFP_H
36717 #include <ieeefp.h>
36718 #endif
36721 main ()
36723 _isinff(0);
36725 return 0;
36727 _ACEOF
36728 if ac_fn_cxx_try_compile "$LINENO"; then :
36729 glibcxx_cv_func__isinff_use=yes
36730 else
36731 glibcxx_cv_func__isinff_use=no
36733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36734 ac_ext=c
36735 ac_cpp='$CPP $CPPFLAGS'
36736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36745 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36747 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36748 for ac_func in _isinff
36749 do :
36750 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36751 if test "x$ac_cv_func__isinff" = x""yes; then :
36752 cat >>confdefs.h <<_ACEOF
36753 #define HAVE__ISINFF 1
36754 _ACEOF
36757 done
36766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36767 $as_echo_n "checking for atan2f declaration... " >&6; }
36768 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36769 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36770 $as_echo_n "(cached) " >&6
36771 else
36774 ac_ext=cpp
36775 ac_cpp='$CXXCPP $CPPFLAGS'
36776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36781 /* end confdefs.h. */
36782 #include <math.h>
36784 main ()
36786 atan2f(0, 0);
36788 return 0;
36790 _ACEOF
36791 if ac_fn_cxx_try_compile "$LINENO"; then :
36792 glibcxx_cv_func_atan2f_use=yes
36793 else
36794 glibcxx_cv_func_atan2f_use=no
36796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36797 ac_ext=c
36798 ac_cpp='$CPP $CPPFLAGS'
36799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36808 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36810 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36811 for ac_func in atan2f
36812 do :
36813 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36814 if test "x$ac_cv_func_atan2f" = x""yes; then :
36815 cat >>confdefs.h <<_ACEOF
36816 #define HAVE_ATAN2F 1
36817 _ACEOF
36820 done
36822 else
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36825 $as_echo_n "checking for _atan2f declaration... " >&6; }
36826 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36827 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36828 $as_echo_n "(cached) " >&6
36829 else
36832 ac_ext=cpp
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36839 /* end confdefs.h. */
36840 #include <math.h>
36842 main ()
36844 _atan2f(0, 0);
36846 return 0;
36848 _ACEOF
36849 if ac_fn_cxx_try_compile "$LINENO"; then :
36850 glibcxx_cv_func__atan2f_use=yes
36851 else
36852 glibcxx_cv_func__atan2f_use=no
36854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36855 ac_ext=c
36856 ac_cpp='$CPP $CPPFLAGS'
36857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36866 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36868 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36869 for ac_func in _atan2f
36870 do :
36871 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36872 if test "x$ac_cv_func__atan2f" = x""yes; then :
36873 cat >>confdefs.h <<_ACEOF
36874 #define HAVE__ATAN2F 1
36875 _ACEOF
36878 done
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36888 $as_echo_n "checking for fabsf declaration... " >&6; }
36889 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36890 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36891 $as_echo_n "(cached) " >&6
36892 else
36895 ac_ext=cpp
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36902 /* end confdefs.h. */
36903 #include <math.h>
36904 #ifdef HAVE_IEEEFP_H
36905 #include <ieeefp.h>
36906 #endif
36909 main ()
36911 fabsf(0);
36913 return 0;
36915 _ACEOF
36916 if ac_fn_cxx_try_compile "$LINENO"; then :
36917 glibcxx_cv_func_fabsf_use=yes
36918 else
36919 glibcxx_cv_func_fabsf_use=no
36921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36922 ac_ext=c
36923 ac_cpp='$CPP $CPPFLAGS'
36924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36933 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36935 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36936 for ac_func in fabsf
36937 do :
36938 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36939 if test "x$ac_cv_func_fabsf" = x""yes; then :
36940 cat >>confdefs.h <<_ACEOF
36941 #define HAVE_FABSF 1
36942 _ACEOF
36945 done
36947 else
36949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36950 $as_echo_n "checking for _fabsf declaration... " >&6; }
36951 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36952 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36953 $as_echo_n "(cached) " >&6
36954 else
36957 ac_ext=cpp
36958 ac_cpp='$CXXCPP $CPPFLAGS'
36959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36964 /* end confdefs.h. */
36965 #include <math.h>
36966 #ifdef HAVE_IEEEFP_H
36967 #include <ieeefp.h>
36968 #endif
36971 main ()
36973 _fabsf(0);
36975 return 0;
36977 _ACEOF
36978 if ac_fn_cxx_try_compile "$LINENO"; then :
36979 glibcxx_cv_func__fabsf_use=yes
36980 else
36981 glibcxx_cv_func__fabsf_use=no
36983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36984 ac_ext=c
36985 ac_cpp='$CPP $CPPFLAGS'
36986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36995 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36997 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36998 for ac_func in _fabsf
36999 do :
37000 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37001 if test "x$ac_cv_func__fabsf" = x""yes; then :
37002 cat >>confdefs.h <<_ACEOF
37003 #define HAVE__FABSF 1
37004 _ACEOF
37007 done
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37017 $as_echo_n "checking for fmodf declaration... " >&6; }
37018 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37019 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
37020 $as_echo_n "(cached) " >&6
37021 else
37024 ac_ext=cpp
37025 ac_cpp='$CXXCPP $CPPFLAGS'
37026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37031 /* end confdefs.h. */
37032 #include <math.h>
37034 main ()
37036 fmodf(0, 0);
37038 return 0;
37040 _ACEOF
37041 if ac_fn_cxx_try_compile "$LINENO"; then :
37042 glibcxx_cv_func_fmodf_use=yes
37043 else
37044 glibcxx_cv_func_fmodf_use=no
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047 ac_ext=c
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37058 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37060 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37061 for ac_func in fmodf
37062 do :
37063 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37064 if test "x$ac_cv_func_fmodf" = x""yes; then :
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_FMODF 1
37067 _ACEOF
37070 done
37072 else
37074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37075 $as_echo_n "checking for _fmodf declaration... " >&6; }
37076 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37077 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
37078 $as_echo_n "(cached) " >&6
37079 else
37082 ac_ext=cpp
37083 ac_cpp='$CXXCPP $CPPFLAGS'
37084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37089 /* end confdefs.h. */
37090 #include <math.h>
37092 main ()
37094 _fmodf(0, 0);
37096 return 0;
37098 _ACEOF
37099 if ac_fn_cxx_try_compile "$LINENO"; then :
37100 glibcxx_cv_func__fmodf_use=yes
37101 else
37102 glibcxx_cv_func__fmodf_use=no
37104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37105 ac_ext=c
37106 ac_cpp='$CPP $CPPFLAGS'
37107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37116 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37118 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37119 for ac_func in _fmodf
37120 do :
37121 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37122 if test "x$ac_cv_func__fmodf" = x""yes; then :
37123 cat >>confdefs.h <<_ACEOF
37124 #define HAVE__FMODF 1
37125 _ACEOF
37128 done
37137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37138 $as_echo_n "checking for frexpf declaration... " >&6; }
37139 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37140 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
37141 $as_echo_n "(cached) " >&6
37142 else
37145 ac_ext=cpp
37146 ac_cpp='$CXXCPP $CPPFLAGS'
37147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37152 /* end confdefs.h. */
37153 #include <math.h>
37155 main ()
37157 frexpf(0, 0);
37159 return 0;
37161 _ACEOF
37162 if ac_fn_cxx_try_compile "$LINENO"; then :
37163 glibcxx_cv_func_frexpf_use=yes
37164 else
37165 glibcxx_cv_func_frexpf_use=no
37167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37168 ac_ext=c
37169 ac_cpp='$CPP $CPPFLAGS'
37170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37179 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37181 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37182 for ac_func in frexpf
37183 do :
37184 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37185 if test "x$ac_cv_func_frexpf" = x""yes; then :
37186 cat >>confdefs.h <<_ACEOF
37187 #define HAVE_FREXPF 1
37188 _ACEOF
37191 done
37193 else
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37196 $as_echo_n "checking for _frexpf declaration... " >&6; }
37197 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37198 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37199 $as_echo_n "(cached) " >&6
37200 else
37203 ac_ext=cpp
37204 ac_cpp='$CXXCPP $CPPFLAGS'
37205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37210 /* end confdefs.h. */
37211 #include <math.h>
37213 main ()
37215 _frexpf(0, 0);
37217 return 0;
37219 _ACEOF
37220 if ac_fn_cxx_try_compile "$LINENO"; then :
37221 glibcxx_cv_func__frexpf_use=yes
37222 else
37223 glibcxx_cv_func__frexpf_use=no
37225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37226 ac_ext=c
37227 ac_cpp='$CPP $CPPFLAGS'
37228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37237 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37239 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37240 for ac_func in _frexpf
37241 do :
37242 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37243 if test "x$ac_cv_func__frexpf" = x""yes; then :
37244 cat >>confdefs.h <<_ACEOF
37245 #define HAVE__FREXPF 1
37246 _ACEOF
37249 done
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37259 $as_echo_n "checking for hypotf declaration... " >&6; }
37260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37262 $as_echo_n "(cached) " >&6
37263 else
37266 ac_ext=cpp
37267 ac_cpp='$CXXCPP $CPPFLAGS'
37268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37273 /* end confdefs.h. */
37274 #include <math.h>
37276 main ()
37278 hypotf(0, 0);
37280 return 0;
37282 _ACEOF
37283 if ac_fn_cxx_try_compile "$LINENO"; then :
37284 glibcxx_cv_func_hypotf_use=yes
37285 else
37286 glibcxx_cv_func_hypotf_use=no
37288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37289 ac_ext=c
37290 ac_cpp='$CPP $CPPFLAGS'
37291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37300 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37302 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37303 for ac_func in hypotf
37304 do :
37305 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37306 if test "x$ac_cv_func_hypotf" = x""yes; then :
37307 cat >>confdefs.h <<_ACEOF
37308 #define HAVE_HYPOTF 1
37309 _ACEOF
37312 done
37314 else
37316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37317 $as_echo_n "checking for _hypotf declaration... " >&6; }
37318 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37319 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37320 $as_echo_n "(cached) " >&6
37321 else
37324 ac_ext=cpp
37325 ac_cpp='$CXXCPP $CPPFLAGS'
37326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37331 /* end confdefs.h. */
37332 #include <math.h>
37334 main ()
37336 _hypotf(0, 0);
37338 return 0;
37340 _ACEOF
37341 if ac_fn_cxx_try_compile "$LINENO"; then :
37342 glibcxx_cv_func__hypotf_use=yes
37343 else
37344 glibcxx_cv_func__hypotf_use=no
37346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37347 ac_ext=c
37348 ac_cpp='$CPP $CPPFLAGS'
37349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37358 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37360 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37361 for ac_func in _hypotf
37362 do :
37363 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37364 if test "x$ac_cv_func__hypotf" = x""yes; then :
37365 cat >>confdefs.h <<_ACEOF
37366 #define HAVE__HYPOTF 1
37367 _ACEOF
37370 done
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37380 $as_echo_n "checking for ldexpf declaration... " >&6; }
37381 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37382 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37383 $as_echo_n "(cached) " >&6
37384 else
37387 ac_ext=cpp
37388 ac_cpp='$CXXCPP $CPPFLAGS'
37389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37394 /* end confdefs.h. */
37395 #include <math.h>
37397 main ()
37399 ldexpf(0, 0);
37401 return 0;
37403 _ACEOF
37404 if ac_fn_cxx_try_compile "$LINENO"; then :
37405 glibcxx_cv_func_ldexpf_use=yes
37406 else
37407 glibcxx_cv_func_ldexpf_use=no
37409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410 ac_ext=c
37411 ac_cpp='$CPP $CPPFLAGS'
37412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37421 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37423 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37424 for ac_func in ldexpf
37425 do :
37426 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37427 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37428 cat >>confdefs.h <<_ACEOF
37429 #define HAVE_LDEXPF 1
37430 _ACEOF
37433 done
37435 else
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37438 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37439 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37440 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37441 $as_echo_n "(cached) " >&6
37442 else
37445 ac_ext=cpp
37446 ac_cpp='$CXXCPP $CPPFLAGS'
37447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37452 /* end confdefs.h. */
37453 #include <math.h>
37455 main ()
37457 _ldexpf(0, 0);
37459 return 0;
37461 _ACEOF
37462 if ac_fn_cxx_try_compile "$LINENO"; then :
37463 glibcxx_cv_func__ldexpf_use=yes
37464 else
37465 glibcxx_cv_func__ldexpf_use=no
37467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37468 ac_ext=c
37469 ac_cpp='$CPP $CPPFLAGS'
37470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37479 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37481 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37482 for ac_func in _ldexpf
37483 do :
37484 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37485 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37486 cat >>confdefs.h <<_ACEOF
37487 #define HAVE__LDEXPF 1
37488 _ACEOF
37491 done
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37501 $as_echo_n "checking for logf declaration... " >&6; }
37502 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37503 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37504 $as_echo_n "(cached) " >&6
37505 else
37508 ac_ext=cpp
37509 ac_cpp='$CXXCPP $CPPFLAGS'
37510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37515 /* end confdefs.h. */
37516 #include <math.h>
37517 #ifdef HAVE_IEEEFP_H
37518 #include <ieeefp.h>
37519 #endif
37522 main ()
37524 logf(0);
37526 return 0;
37528 _ACEOF
37529 if ac_fn_cxx_try_compile "$LINENO"; then :
37530 glibcxx_cv_func_logf_use=yes
37531 else
37532 glibcxx_cv_func_logf_use=no
37534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37535 ac_ext=c
37536 ac_cpp='$CPP $CPPFLAGS'
37537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37546 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37548 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37549 for ac_func in logf
37550 do :
37551 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37552 if test "x$ac_cv_func_logf" = x""yes; then :
37553 cat >>confdefs.h <<_ACEOF
37554 #define HAVE_LOGF 1
37555 _ACEOF
37558 done
37560 else
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37563 $as_echo_n "checking for _logf declaration... " >&6; }
37564 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37565 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37566 $as_echo_n "(cached) " >&6
37567 else
37570 ac_ext=cpp
37571 ac_cpp='$CXXCPP $CPPFLAGS'
37572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37577 /* end confdefs.h. */
37578 #include <math.h>
37579 #ifdef HAVE_IEEEFP_H
37580 #include <ieeefp.h>
37581 #endif
37584 main ()
37586 _logf(0);
37588 return 0;
37590 _ACEOF
37591 if ac_fn_cxx_try_compile "$LINENO"; then :
37592 glibcxx_cv_func__logf_use=yes
37593 else
37594 glibcxx_cv_func__logf_use=no
37596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37597 ac_ext=c
37598 ac_cpp='$CPP $CPPFLAGS'
37599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37608 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37610 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37611 for ac_func in _logf
37612 do :
37613 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37614 if test "x$ac_cv_func__logf" = x""yes; then :
37615 cat >>confdefs.h <<_ACEOF
37616 #define HAVE__LOGF 1
37617 _ACEOF
37620 done
37629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37630 $as_echo_n "checking for log10f declaration... " >&6; }
37631 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37632 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37633 $as_echo_n "(cached) " >&6
37634 else
37637 ac_ext=cpp
37638 ac_cpp='$CXXCPP $CPPFLAGS'
37639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37644 /* end confdefs.h. */
37645 #include <math.h>
37646 #ifdef HAVE_IEEEFP_H
37647 #include <ieeefp.h>
37648 #endif
37651 main ()
37653 log10f(0);
37655 return 0;
37657 _ACEOF
37658 if ac_fn_cxx_try_compile "$LINENO"; then :
37659 glibcxx_cv_func_log10f_use=yes
37660 else
37661 glibcxx_cv_func_log10f_use=no
37663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37664 ac_ext=c
37665 ac_cpp='$CPP $CPPFLAGS'
37666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37675 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37677 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37678 for ac_func in log10f
37679 do :
37680 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37681 if test "x$ac_cv_func_log10f" = x""yes; then :
37682 cat >>confdefs.h <<_ACEOF
37683 #define HAVE_LOG10F 1
37684 _ACEOF
37687 done
37689 else
37691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37692 $as_echo_n "checking for _log10f declaration... " >&6; }
37693 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37694 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37695 $as_echo_n "(cached) " >&6
37696 else
37699 ac_ext=cpp
37700 ac_cpp='$CXXCPP $CPPFLAGS'
37701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37706 /* end confdefs.h. */
37707 #include <math.h>
37708 #ifdef HAVE_IEEEFP_H
37709 #include <ieeefp.h>
37710 #endif
37713 main ()
37715 _log10f(0);
37717 return 0;
37719 _ACEOF
37720 if ac_fn_cxx_try_compile "$LINENO"; then :
37721 glibcxx_cv_func__log10f_use=yes
37722 else
37723 glibcxx_cv_func__log10f_use=no
37725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37726 ac_ext=c
37727 ac_cpp='$CPP $CPPFLAGS'
37728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37737 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37739 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37740 for ac_func in _log10f
37741 do :
37742 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37743 if test "x$ac_cv_func__log10f" = x""yes; then :
37744 cat >>confdefs.h <<_ACEOF
37745 #define HAVE__LOG10F 1
37746 _ACEOF
37749 done
37758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37759 $as_echo_n "checking for modff declaration... " >&6; }
37760 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37761 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37762 $as_echo_n "(cached) " >&6
37763 else
37766 ac_ext=cpp
37767 ac_cpp='$CXXCPP $CPPFLAGS'
37768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37773 /* end confdefs.h. */
37774 #include <math.h>
37776 main ()
37778 modff(0, 0);
37780 return 0;
37782 _ACEOF
37783 if ac_fn_cxx_try_compile "$LINENO"; then :
37784 glibcxx_cv_func_modff_use=yes
37785 else
37786 glibcxx_cv_func_modff_use=no
37788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37789 ac_ext=c
37790 ac_cpp='$CPP $CPPFLAGS'
37791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37800 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37802 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37803 for ac_func in modff
37804 do :
37805 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37806 if test "x$ac_cv_func_modff" = x""yes; then :
37807 cat >>confdefs.h <<_ACEOF
37808 #define HAVE_MODFF 1
37809 _ACEOF
37812 done
37814 else
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37817 $as_echo_n "checking for _modff declaration... " >&6; }
37818 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37819 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37820 $as_echo_n "(cached) " >&6
37821 else
37824 ac_ext=cpp
37825 ac_cpp='$CXXCPP $CPPFLAGS'
37826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37831 /* end confdefs.h. */
37832 #include <math.h>
37834 main ()
37836 _modff(0, 0);
37838 return 0;
37840 _ACEOF
37841 if ac_fn_cxx_try_compile "$LINENO"; then :
37842 glibcxx_cv_func__modff_use=yes
37843 else
37844 glibcxx_cv_func__modff_use=no
37846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37847 ac_ext=c
37848 ac_cpp='$CPP $CPPFLAGS'
37849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37858 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37860 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37861 for ac_func in _modff
37862 do :
37863 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37864 if test "x$ac_cv_func__modff" = x""yes; then :
37865 cat >>confdefs.h <<_ACEOF
37866 #define HAVE__MODFF 1
37867 _ACEOF
37870 done
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37880 $as_echo_n "checking for modf declaration... " >&6; }
37881 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37882 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37883 $as_echo_n "(cached) " >&6
37884 else
37887 ac_ext=cpp
37888 ac_cpp='$CXXCPP $CPPFLAGS'
37889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37894 /* end confdefs.h. */
37895 #include <math.h>
37897 main ()
37899 modf(0, 0);
37901 return 0;
37903 _ACEOF
37904 if ac_fn_cxx_try_compile "$LINENO"; then :
37905 glibcxx_cv_func_modf_use=yes
37906 else
37907 glibcxx_cv_func_modf_use=no
37909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37910 ac_ext=c
37911 ac_cpp='$CPP $CPPFLAGS'
37912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37921 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37923 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37924 for ac_func in modf
37925 do :
37926 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37927 if test "x$ac_cv_func_modf" = x""yes; then :
37928 cat >>confdefs.h <<_ACEOF
37929 #define HAVE_MODF 1
37930 _ACEOF
37933 done
37935 else
37937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37938 $as_echo_n "checking for _modf declaration... " >&6; }
37939 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37940 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37941 $as_echo_n "(cached) " >&6
37942 else
37945 ac_ext=cpp
37946 ac_cpp='$CXXCPP $CPPFLAGS'
37947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37952 /* end confdefs.h. */
37953 #include <math.h>
37955 main ()
37957 _modf(0, 0);
37959 return 0;
37961 _ACEOF
37962 if ac_fn_cxx_try_compile "$LINENO"; then :
37963 glibcxx_cv_func__modf_use=yes
37964 else
37965 glibcxx_cv_func__modf_use=no
37967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37968 ac_ext=c
37969 ac_cpp='$CPP $CPPFLAGS'
37970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37979 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37981 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37982 for ac_func in _modf
37983 do :
37984 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37985 if test "x$ac_cv_func__modf" = x""yes; then :
37986 cat >>confdefs.h <<_ACEOF
37987 #define HAVE__MODF 1
37988 _ACEOF
37991 done
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38001 $as_echo_n "checking for powf declaration... " >&6; }
38002 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38003 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
38004 $as_echo_n "(cached) " >&6
38005 else
38008 ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h. */
38016 #include <math.h>
38018 main ()
38020 powf(0, 0);
38022 return 0;
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026 glibcxx_cv_func_powf_use=yes
38027 else
38028 glibcxx_cv_func_powf_use=no
38030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031 ac_ext=c
38032 ac_cpp='$CPP $CPPFLAGS'
38033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38042 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38044 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38045 for ac_func in powf
38046 do :
38047 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38048 if test "x$ac_cv_func_powf" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE_POWF 1
38051 _ACEOF
38054 done
38056 else
38058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38059 $as_echo_n "checking for _powf declaration... " >&6; }
38060 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38061 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
38062 $as_echo_n "(cached) " >&6
38063 else
38066 ac_ext=cpp
38067 ac_cpp='$CXXCPP $CPPFLAGS'
38068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38073 /* end confdefs.h. */
38074 #include <math.h>
38076 main ()
38078 _powf(0, 0);
38080 return 0;
38082 _ACEOF
38083 if ac_fn_cxx_try_compile "$LINENO"; then :
38084 glibcxx_cv_func__powf_use=yes
38085 else
38086 glibcxx_cv_func__powf_use=no
38088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38089 ac_ext=c
38090 ac_cpp='$CPP $CPPFLAGS'
38091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38100 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38102 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38103 for ac_func in _powf
38104 do :
38105 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38106 if test "x$ac_cv_func__powf" = x""yes; then :
38107 cat >>confdefs.h <<_ACEOF
38108 #define HAVE__POWF 1
38109 _ACEOF
38112 done
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38122 $as_echo_n "checking for sqrtf declaration... " >&6; }
38123 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38124 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
38125 $as_echo_n "(cached) " >&6
38126 else
38129 ac_ext=cpp
38130 ac_cpp='$CXXCPP $CPPFLAGS'
38131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38136 /* end confdefs.h. */
38137 #include <math.h>
38138 #ifdef HAVE_IEEEFP_H
38139 #include <ieeefp.h>
38140 #endif
38143 main ()
38145 sqrtf(0);
38147 return 0;
38149 _ACEOF
38150 if ac_fn_cxx_try_compile "$LINENO"; then :
38151 glibcxx_cv_func_sqrtf_use=yes
38152 else
38153 glibcxx_cv_func_sqrtf_use=no
38155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38156 ac_ext=c
38157 ac_cpp='$CPP $CPPFLAGS'
38158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38167 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38169 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38170 for ac_func in sqrtf
38171 do :
38172 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38173 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38174 cat >>confdefs.h <<_ACEOF
38175 #define HAVE_SQRTF 1
38176 _ACEOF
38179 done
38181 else
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38184 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38185 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38186 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38187 $as_echo_n "(cached) " >&6
38188 else
38191 ac_ext=cpp
38192 ac_cpp='$CXXCPP $CPPFLAGS'
38193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38198 /* end confdefs.h. */
38199 #include <math.h>
38200 #ifdef HAVE_IEEEFP_H
38201 #include <ieeefp.h>
38202 #endif
38205 main ()
38207 _sqrtf(0);
38209 return 0;
38211 _ACEOF
38212 if ac_fn_cxx_try_compile "$LINENO"; then :
38213 glibcxx_cv_func__sqrtf_use=yes
38214 else
38215 glibcxx_cv_func__sqrtf_use=no
38217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38218 ac_ext=c
38219 ac_cpp='$CPP $CPPFLAGS'
38220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38229 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38231 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38232 for ac_func in _sqrtf
38233 do :
38234 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38235 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38236 cat >>confdefs.h <<_ACEOF
38237 #define HAVE__SQRTF 1
38238 _ACEOF
38241 done
38250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38251 $as_echo_n "checking for sincosf declaration... " >&6; }
38252 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38253 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38254 $as_echo_n "(cached) " >&6
38255 else
38258 ac_ext=cpp
38259 ac_cpp='$CXXCPP $CPPFLAGS'
38260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38265 /* end confdefs.h. */
38266 #include <math.h>
38268 main ()
38270 sincosf(0, 0, 0);
38272 return 0;
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func_sincosf_use=yes
38277 else
38278 glibcxx_cv_func_sincosf_use=no
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38292 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38294 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38295 for ac_func in sincosf
38296 do :
38297 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38298 if test "x$ac_cv_func_sincosf" = x""yes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE_SINCOSF 1
38301 _ACEOF
38304 done
38306 else
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38309 $as_echo_n "checking for _sincosf declaration... " >&6; }
38310 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38311 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38312 $as_echo_n "(cached) " >&6
38313 else
38316 ac_ext=cpp
38317 ac_cpp='$CXXCPP $CPPFLAGS'
38318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38323 /* end confdefs.h. */
38324 #include <math.h>
38326 main ()
38328 _sincosf(0, 0, 0);
38330 return 0;
38332 _ACEOF
38333 if ac_fn_cxx_try_compile "$LINENO"; then :
38334 glibcxx_cv_func__sincosf_use=yes
38335 else
38336 glibcxx_cv_func__sincosf_use=no
38338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38339 ac_ext=c
38340 ac_cpp='$CPP $CPPFLAGS'
38341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38350 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38352 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38353 for ac_func in _sincosf
38354 do :
38355 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38356 if test "x$ac_cv_func__sincosf" = x""yes; then :
38357 cat >>confdefs.h <<_ACEOF
38358 #define HAVE__SINCOSF 1
38359 _ACEOF
38362 done
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38372 $as_echo_n "checking for finitef declaration... " >&6; }
38373 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38374 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38375 $as_echo_n "(cached) " >&6
38376 else
38379 ac_ext=cpp
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38386 /* end confdefs.h. */
38387 #include <math.h>
38388 #ifdef HAVE_IEEEFP_H
38389 #include <ieeefp.h>
38390 #endif
38393 main ()
38395 finitef(0);
38397 return 0;
38399 _ACEOF
38400 if ac_fn_cxx_try_compile "$LINENO"; then :
38401 glibcxx_cv_func_finitef_use=yes
38402 else
38403 glibcxx_cv_func_finitef_use=no
38405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38406 ac_ext=c
38407 ac_cpp='$CPP $CPPFLAGS'
38408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38417 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38419 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38420 for ac_func in finitef
38421 do :
38422 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38423 if test "x$ac_cv_func_finitef" = x""yes; then :
38424 cat >>confdefs.h <<_ACEOF
38425 #define HAVE_FINITEF 1
38426 _ACEOF
38429 done
38431 else
38433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38434 $as_echo_n "checking for _finitef declaration... " >&6; }
38435 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38436 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38437 $as_echo_n "(cached) " >&6
38438 else
38441 ac_ext=cpp
38442 ac_cpp='$CXXCPP $CPPFLAGS'
38443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38448 /* end confdefs.h. */
38449 #include <math.h>
38450 #ifdef HAVE_IEEEFP_H
38451 #include <ieeefp.h>
38452 #endif
38455 main ()
38457 _finitef(0);
38459 return 0;
38461 _ACEOF
38462 if ac_fn_cxx_try_compile "$LINENO"; then :
38463 glibcxx_cv_func__finitef_use=yes
38464 else
38465 glibcxx_cv_func__finitef_use=no
38467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38468 ac_ext=c
38469 ac_cpp='$CPP $CPPFLAGS'
38470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38479 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38481 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38482 for ac_func in _finitef
38483 do :
38484 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38485 if test "x$ac_cv_func__finitef" = x""yes; then :
38486 cat >>confdefs.h <<_ACEOF
38487 #define HAVE__FINITEF 1
38488 _ACEOF
38491 done
38500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38501 $as_echo_n "checking for long double trig functions... " >&6; }
38502 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38503 $as_echo_n "(cached) " >&6
38504 else
38507 ac_ext=cpp
38508 ac_cpp='$CXXCPP $CPPFLAGS'
38509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38514 /* end confdefs.h. */
38515 #include <math.h>
38517 main ()
38519 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38521 return 0;
38523 _ACEOF
38524 if ac_fn_cxx_try_compile "$LINENO"; then :
38525 glibcxx_cv_func_long_double_trig_use=yes
38526 else
38527 glibcxx_cv_func_long_double_trig_use=no
38529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38530 ac_ext=c
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38539 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38540 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38541 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38542 do :
38543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38545 eval as_val=\$$as_ac_var
38546 if test "x$as_val" = x""yes; then :
38547 cat >>confdefs.h <<_ACEOF
38548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38549 _ACEOF
38552 done
38554 else
38555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38556 $as_echo_n "checking for _long double trig functions... " >&6; }
38557 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38558 $as_echo_n "(cached) " >&6
38559 else
38562 ac_ext=cpp
38563 ac_cpp='$CXXCPP $CPPFLAGS'
38564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38569 /* end confdefs.h. */
38570 #include <math.h>
38572 main ()
38574 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38576 return 0;
38578 _ACEOF
38579 if ac_fn_cxx_try_compile "$LINENO"; then :
38580 glibcxx_cv_func__long_double_trig_use=yes
38581 else
38582 glibcxx_cv_func__long_double_trig_use=no
38584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38585 ac_ext=c
38586 ac_cpp='$CPP $CPPFLAGS'
38587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38594 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38595 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38596 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38597 do :
38598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38600 eval as_val=\$$as_ac_var
38601 if test "x$as_val" = x""yes; then :
38602 cat >>confdefs.h <<_ACEOF
38603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38604 _ACEOF
38607 done
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38617 $as_echo_n "checking for long double round functions... " >&6; }
38618 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38619 $as_echo_n "(cached) " >&6
38620 else
38623 ac_ext=cpp
38624 ac_cpp='$CXXCPP $CPPFLAGS'
38625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38630 /* end confdefs.h. */
38631 #include <math.h>
38633 main ()
38635 ceill (0); floorl (0);
38637 return 0;
38639 _ACEOF
38640 if ac_fn_cxx_try_compile "$LINENO"; then :
38641 glibcxx_cv_func_long_double_round_use=yes
38642 else
38643 glibcxx_cv_func_long_double_round_use=no
38645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38646 ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38655 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38656 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38657 for ac_func in ceill floorl
38658 do :
38659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38661 eval as_val=\$$as_ac_var
38662 if test "x$as_val" = x""yes; then :
38663 cat >>confdefs.h <<_ACEOF
38664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38665 _ACEOF
38668 done
38670 else
38671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38672 $as_echo_n "checking for _long double round functions... " >&6; }
38673 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38674 $as_echo_n "(cached) " >&6
38675 else
38678 ac_ext=cpp
38679 ac_cpp='$CXXCPP $CPPFLAGS'
38680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38685 /* end confdefs.h. */
38686 #include <math.h>
38688 main ()
38690 _ceill (0); _floorl (0);
38692 return 0;
38694 _ACEOF
38695 if ac_fn_cxx_try_compile "$LINENO"; then :
38696 glibcxx_cv_func__long_double_round_use=yes
38697 else
38698 glibcxx_cv_func__long_double_round_use=no
38700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38701 ac_ext=c
38702 ac_cpp='$CPP $CPPFLAGS'
38703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38710 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38711 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38712 for ac_func in _ceill _floorl
38713 do :
38714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38716 eval as_val=\$$as_ac_var
38717 if test "x$as_val" = x""yes; then :
38718 cat >>confdefs.h <<_ACEOF
38719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38720 _ACEOF
38723 done
38733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38734 $as_echo_n "checking for isnanl declaration... " >&6; }
38735 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38736 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38737 $as_echo_n "(cached) " >&6
38738 else
38741 ac_ext=cpp
38742 ac_cpp='$CXXCPP $CPPFLAGS'
38743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38748 /* end confdefs.h. */
38749 #include <math.h>
38750 #ifdef HAVE_IEEEFP_H
38751 #include <ieeefp.h>
38752 #endif
38755 main ()
38757 isnanl(0);
38759 return 0;
38761 _ACEOF
38762 if ac_fn_cxx_try_compile "$LINENO"; then :
38763 glibcxx_cv_func_isnanl_use=yes
38764 else
38765 glibcxx_cv_func_isnanl_use=no
38767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38768 ac_ext=c
38769 ac_cpp='$CPP $CPPFLAGS'
38770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38779 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38781 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38782 for ac_func in isnanl
38783 do :
38784 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38785 if test "x$ac_cv_func_isnanl" = x""yes; then :
38786 cat >>confdefs.h <<_ACEOF
38787 #define HAVE_ISNANL 1
38788 _ACEOF
38791 done
38793 else
38795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38796 $as_echo_n "checking for _isnanl declaration... " >&6; }
38797 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38798 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38799 $as_echo_n "(cached) " >&6
38800 else
38803 ac_ext=cpp
38804 ac_cpp='$CXXCPP $CPPFLAGS'
38805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38810 /* end confdefs.h. */
38811 #include <math.h>
38812 #ifdef HAVE_IEEEFP_H
38813 #include <ieeefp.h>
38814 #endif
38817 main ()
38819 _isnanl(0);
38821 return 0;
38823 _ACEOF
38824 if ac_fn_cxx_try_compile "$LINENO"; then :
38825 glibcxx_cv_func__isnanl_use=yes
38826 else
38827 glibcxx_cv_func__isnanl_use=no
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38830 ac_ext=c
38831 ac_cpp='$CPP $CPPFLAGS'
38832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38841 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38843 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38844 for ac_func in _isnanl
38845 do :
38846 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38847 if test "x$ac_cv_func__isnanl" = x""yes; then :
38848 cat >>confdefs.h <<_ACEOF
38849 #define HAVE__ISNANL 1
38850 _ACEOF
38853 done
38862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38863 $as_echo_n "checking for isinfl declaration... " >&6; }
38864 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38865 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38866 $as_echo_n "(cached) " >&6
38867 else
38870 ac_ext=cpp
38871 ac_cpp='$CXXCPP $CPPFLAGS'
38872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38877 /* end confdefs.h. */
38878 #include <math.h>
38879 #ifdef HAVE_IEEEFP_H
38880 #include <ieeefp.h>
38881 #endif
38884 main ()
38886 isinfl(0);
38888 return 0;
38890 _ACEOF
38891 if ac_fn_cxx_try_compile "$LINENO"; then :
38892 glibcxx_cv_func_isinfl_use=yes
38893 else
38894 glibcxx_cv_func_isinfl_use=no
38896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38897 ac_ext=c
38898 ac_cpp='$CPP $CPPFLAGS'
38899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38908 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38910 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38911 for ac_func in isinfl
38912 do :
38913 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38914 if test "x$ac_cv_func_isinfl" = x""yes; then :
38915 cat >>confdefs.h <<_ACEOF
38916 #define HAVE_ISINFL 1
38917 _ACEOF
38920 done
38922 else
38924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38925 $as_echo_n "checking for _isinfl declaration... " >&6; }
38926 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38927 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38928 $as_echo_n "(cached) " >&6
38929 else
38932 ac_ext=cpp
38933 ac_cpp='$CXXCPP $CPPFLAGS'
38934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939 /* end confdefs.h. */
38940 #include <math.h>
38941 #ifdef HAVE_IEEEFP_H
38942 #include <ieeefp.h>
38943 #endif
38946 main ()
38948 _isinfl(0);
38950 return 0;
38952 _ACEOF
38953 if ac_fn_cxx_try_compile "$LINENO"; then :
38954 glibcxx_cv_func__isinfl_use=yes
38955 else
38956 glibcxx_cv_func__isinfl_use=no
38958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38959 ac_ext=c
38960 ac_cpp='$CPP $CPPFLAGS'
38961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38970 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38972 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38973 for ac_func in _isinfl
38974 do :
38975 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38976 if test "x$ac_cv_func__isinfl" = x""yes; then :
38977 cat >>confdefs.h <<_ACEOF
38978 #define HAVE__ISINFL 1
38979 _ACEOF
38982 done
38991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38992 $as_echo_n "checking for atan2l declaration... " >&6; }
38993 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38994 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38995 $as_echo_n "(cached) " >&6
38996 else
38999 ac_ext=cpp
39000 ac_cpp='$CXXCPP $CPPFLAGS'
39001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39006 /* end confdefs.h. */
39007 #include <math.h>
39009 main ()
39011 atan2l(0, 0);
39013 return 0;
39015 _ACEOF
39016 if ac_fn_cxx_try_compile "$LINENO"; then :
39017 glibcxx_cv_func_atan2l_use=yes
39018 else
39019 glibcxx_cv_func_atan2l_use=no
39021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39022 ac_ext=c
39023 ac_cpp='$CPP $CPPFLAGS'
39024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39033 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39035 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39036 for ac_func in atan2l
39037 do :
39038 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39039 if test "x$ac_cv_func_atan2l" = x""yes; then :
39040 cat >>confdefs.h <<_ACEOF
39041 #define HAVE_ATAN2L 1
39042 _ACEOF
39045 done
39047 else
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39050 $as_echo_n "checking for _atan2l declaration... " >&6; }
39051 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39052 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
39053 $as_echo_n "(cached) " >&6
39054 else
39057 ac_ext=cpp
39058 ac_cpp='$CXXCPP $CPPFLAGS'
39059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h. */
39065 #include <math.h>
39067 main ()
39069 _atan2l(0, 0);
39071 return 0;
39073 _ACEOF
39074 if ac_fn_cxx_try_compile "$LINENO"; then :
39075 glibcxx_cv_func__atan2l_use=yes
39076 else
39077 glibcxx_cv_func__atan2l_use=no
39079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080 ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39091 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39094 for ac_func in _atan2l
39095 do :
39096 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39097 if test "x$ac_cv_func__atan2l" = x""yes; then :
39098 cat >>confdefs.h <<_ACEOF
39099 #define HAVE__ATAN2L 1
39100 _ACEOF
39103 done
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39113 $as_echo_n "checking for expl declaration... " >&6; }
39114 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39115 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
39116 $as_echo_n "(cached) " >&6
39117 else
39120 ac_ext=cpp
39121 ac_cpp='$CXXCPP $CPPFLAGS'
39122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39127 /* end confdefs.h. */
39128 #include <math.h>
39129 #ifdef HAVE_IEEEFP_H
39130 #include <ieeefp.h>
39131 #endif
39134 main ()
39136 expl(0);
39138 return 0;
39140 _ACEOF
39141 if ac_fn_cxx_try_compile "$LINENO"; then :
39142 glibcxx_cv_func_expl_use=yes
39143 else
39144 glibcxx_cv_func_expl_use=no
39146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39147 ac_ext=c
39148 ac_cpp='$CPP $CPPFLAGS'
39149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39158 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39160 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39161 for ac_func in expl
39162 do :
39163 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39164 if test "x$ac_cv_func_expl" = x""yes; then :
39165 cat >>confdefs.h <<_ACEOF
39166 #define HAVE_EXPL 1
39167 _ACEOF
39170 done
39172 else
39174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39175 $as_echo_n "checking for _expl declaration... " >&6; }
39176 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39177 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39178 $as_echo_n "(cached) " >&6
39179 else
39182 ac_ext=cpp
39183 ac_cpp='$CXXCPP $CPPFLAGS'
39184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39189 /* end confdefs.h. */
39190 #include <math.h>
39191 #ifdef HAVE_IEEEFP_H
39192 #include <ieeefp.h>
39193 #endif
39196 main ()
39198 _expl(0);
39200 return 0;
39202 _ACEOF
39203 if ac_fn_cxx_try_compile "$LINENO"; then :
39204 glibcxx_cv_func__expl_use=yes
39205 else
39206 glibcxx_cv_func__expl_use=no
39208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39209 ac_ext=c
39210 ac_cpp='$CPP $CPPFLAGS'
39211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39220 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39222 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39223 for ac_func in _expl
39224 do :
39225 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39226 if test "x$ac_cv_func__expl" = x""yes; then :
39227 cat >>confdefs.h <<_ACEOF
39228 #define HAVE__EXPL 1
39229 _ACEOF
39232 done
39241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39242 $as_echo_n "checking for fabsl declaration... " >&6; }
39243 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39244 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39245 $as_echo_n "(cached) " >&6
39246 else
39249 ac_ext=cpp
39250 ac_cpp='$CXXCPP $CPPFLAGS'
39251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39256 /* end confdefs.h. */
39257 #include <math.h>
39258 #ifdef HAVE_IEEEFP_H
39259 #include <ieeefp.h>
39260 #endif
39263 main ()
39265 fabsl(0);
39267 return 0;
39269 _ACEOF
39270 if ac_fn_cxx_try_compile "$LINENO"; then :
39271 glibcxx_cv_func_fabsl_use=yes
39272 else
39273 glibcxx_cv_func_fabsl_use=no
39275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39276 ac_ext=c
39277 ac_cpp='$CPP $CPPFLAGS'
39278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39287 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39289 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39290 for ac_func in fabsl
39291 do :
39292 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39293 if test "x$ac_cv_func_fabsl" = x""yes; then :
39294 cat >>confdefs.h <<_ACEOF
39295 #define HAVE_FABSL 1
39296 _ACEOF
39299 done
39301 else
39303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39304 $as_echo_n "checking for _fabsl declaration... " >&6; }
39305 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39306 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39307 $as_echo_n "(cached) " >&6
39308 else
39311 ac_ext=cpp
39312 ac_cpp='$CXXCPP $CPPFLAGS'
39313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39318 /* end confdefs.h. */
39319 #include <math.h>
39320 #ifdef HAVE_IEEEFP_H
39321 #include <ieeefp.h>
39322 #endif
39325 main ()
39327 _fabsl(0);
39329 return 0;
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333 glibcxx_cv_func__fabsl_use=yes
39334 else
39335 glibcxx_cv_func__fabsl_use=no
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338 ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39349 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39351 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39352 for ac_func in _fabsl
39353 do :
39354 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39355 if test "x$ac_cv_func__fabsl" = x""yes; then :
39356 cat >>confdefs.h <<_ACEOF
39357 #define HAVE__FABSL 1
39358 _ACEOF
39361 done
39370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39371 $as_echo_n "checking for fmodl declaration... " >&6; }
39372 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39373 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39374 $as_echo_n "(cached) " >&6
39375 else
39378 ac_ext=cpp
39379 ac_cpp='$CXXCPP $CPPFLAGS'
39380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39385 /* end confdefs.h. */
39386 #include <math.h>
39388 main ()
39390 fmodl(0, 0);
39392 return 0;
39394 _ACEOF
39395 if ac_fn_cxx_try_compile "$LINENO"; then :
39396 glibcxx_cv_func_fmodl_use=yes
39397 else
39398 glibcxx_cv_func_fmodl_use=no
39400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39401 ac_ext=c
39402 ac_cpp='$CPP $CPPFLAGS'
39403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39412 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39414 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39415 for ac_func in fmodl
39416 do :
39417 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39418 if test "x$ac_cv_func_fmodl" = x""yes; then :
39419 cat >>confdefs.h <<_ACEOF
39420 #define HAVE_FMODL 1
39421 _ACEOF
39424 done
39426 else
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39429 $as_echo_n "checking for _fmodl declaration... " >&6; }
39430 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39431 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39432 $as_echo_n "(cached) " >&6
39433 else
39436 ac_ext=cpp
39437 ac_cpp='$CXXCPP $CPPFLAGS'
39438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39443 /* end confdefs.h. */
39444 #include <math.h>
39446 main ()
39448 _fmodl(0, 0);
39450 return 0;
39452 _ACEOF
39453 if ac_fn_cxx_try_compile "$LINENO"; then :
39454 glibcxx_cv_func__fmodl_use=yes
39455 else
39456 glibcxx_cv_func__fmodl_use=no
39458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459 ac_ext=c
39460 ac_cpp='$CPP $CPPFLAGS'
39461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39470 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39472 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39473 for ac_func in _fmodl
39474 do :
39475 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39476 if test "x$ac_cv_func__fmodl" = x""yes; then :
39477 cat >>confdefs.h <<_ACEOF
39478 #define HAVE__FMODL 1
39479 _ACEOF
39482 done
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39492 $as_echo_n "checking for frexpl declaration... " >&6; }
39493 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39494 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39495 $as_echo_n "(cached) " >&6
39496 else
39499 ac_ext=cpp
39500 ac_cpp='$CXXCPP $CPPFLAGS'
39501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39506 /* end confdefs.h. */
39507 #include <math.h>
39509 main ()
39511 frexpl(0, 0);
39513 return 0;
39515 _ACEOF
39516 if ac_fn_cxx_try_compile "$LINENO"; then :
39517 glibcxx_cv_func_frexpl_use=yes
39518 else
39519 glibcxx_cv_func_frexpl_use=no
39521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39522 ac_ext=c
39523 ac_cpp='$CPP $CPPFLAGS'
39524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39533 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39535 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39536 for ac_func in frexpl
39537 do :
39538 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39539 if test "x$ac_cv_func_frexpl" = x""yes; then :
39540 cat >>confdefs.h <<_ACEOF
39541 #define HAVE_FREXPL 1
39542 _ACEOF
39545 done
39547 else
39549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39550 $as_echo_n "checking for _frexpl declaration... " >&6; }
39551 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39552 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39553 $as_echo_n "(cached) " >&6
39554 else
39557 ac_ext=cpp
39558 ac_cpp='$CXXCPP $CPPFLAGS'
39559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39564 /* end confdefs.h. */
39565 #include <math.h>
39567 main ()
39569 _frexpl(0, 0);
39571 return 0;
39573 _ACEOF
39574 if ac_fn_cxx_try_compile "$LINENO"; then :
39575 glibcxx_cv_func__frexpl_use=yes
39576 else
39577 glibcxx_cv_func__frexpl_use=no
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580 ac_ext=c
39581 ac_cpp='$CPP $CPPFLAGS'
39582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39591 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39593 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39594 for ac_func in _frexpl
39595 do :
39596 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39597 if test "x$ac_cv_func__frexpl" = x""yes; then :
39598 cat >>confdefs.h <<_ACEOF
39599 #define HAVE__FREXPL 1
39600 _ACEOF
39603 done
39612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39613 $as_echo_n "checking for hypotl declaration... " >&6; }
39614 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39615 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39616 $as_echo_n "(cached) " >&6
39617 else
39620 ac_ext=cpp
39621 ac_cpp='$CXXCPP $CPPFLAGS'
39622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39627 /* end confdefs.h. */
39628 #include <math.h>
39630 main ()
39632 hypotl(0, 0);
39634 return 0;
39636 _ACEOF
39637 if ac_fn_cxx_try_compile "$LINENO"; then :
39638 glibcxx_cv_func_hypotl_use=yes
39639 else
39640 glibcxx_cv_func_hypotl_use=no
39642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39643 ac_ext=c
39644 ac_cpp='$CPP $CPPFLAGS'
39645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39654 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39656 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39657 for ac_func in hypotl
39658 do :
39659 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39660 if test "x$ac_cv_func_hypotl" = x""yes; then :
39661 cat >>confdefs.h <<_ACEOF
39662 #define HAVE_HYPOTL 1
39663 _ACEOF
39666 done
39668 else
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39671 $as_echo_n "checking for _hypotl declaration... " >&6; }
39672 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39673 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39674 $as_echo_n "(cached) " >&6
39675 else
39678 ac_ext=cpp
39679 ac_cpp='$CXXCPP $CPPFLAGS'
39680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39685 /* end confdefs.h. */
39686 #include <math.h>
39688 main ()
39690 _hypotl(0, 0);
39692 return 0;
39694 _ACEOF
39695 if ac_fn_cxx_try_compile "$LINENO"; then :
39696 glibcxx_cv_func__hypotl_use=yes
39697 else
39698 glibcxx_cv_func__hypotl_use=no
39700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39701 ac_ext=c
39702 ac_cpp='$CPP $CPPFLAGS'
39703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39712 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39714 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39715 for ac_func in _hypotl
39716 do :
39717 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39718 if test "x$ac_cv_func__hypotl" = x""yes; then :
39719 cat >>confdefs.h <<_ACEOF
39720 #define HAVE__HYPOTL 1
39721 _ACEOF
39724 done
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39734 $as_echo_n "checking for ldexpl declaration... " >&6; }
39735 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39736 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39737 $as_echo_n "(cached) " >&6
39738 else
39741 ac_ext=cpp
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748 /* end confdefs.h. */
39749 #include <math.h>
39751 main ()
39753 ldexpl(0, 0);
39755 return 0;
39757 _ACEOF
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759 glibcxx_cv_func_ldexpl_use=yes
39760 else
39761 glibcxx_cv_func_ldexpl_use=no
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39775 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39777 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39778 for ac_func in ldexpl
39779 do :
39780 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39781 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39782 cat >>confdefs.h <<_ACEOF
39783 #define HAVE_LDEXPL 1
39784 _ACEOF
39787 done
39789 else
39791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39792 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39793 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39794 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39795 $as_echo_n "(cached) " >&6
39796 else
39799 ac_ext=cpp
39800 ac_cpp='$CXXCPP $CPPFLAGS'
39801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39806 /* end confdefs.h. */
39807 #include <math.h>
39809 main ()
39811 _ldexpl(0, 0);
39813 return 0;
39815 _ACEOF
39816 if ac_fn_cxx_try_compile "$LINENO"; then :
39817 glibcxx_cv_func__ldexpl_use=yes
39818 else
39819 glibcxx_cv_func__ldexpl_use=no
39821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39822 ac_ext=c
39823 ac_cpp='$CPP $CPPFLAGS'
39824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39833 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39835 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39836 for ac_func in _ldexpl
39837 do :
39838 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39839 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39840 cat >>confdefs.h <<_ACEOF
39841 #define HAVE__LDEXPL 1
39842 _ACEOF
39845 done
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39855 $as_echo_n "checking for logl declaration... " >&6; }
39856 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39857 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39858 $as_echo_n "(cached) " >&6
39859 else
39862 ac_ext=cpp
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h. */
39870 #include <math.h>
39871 #ifdef HAVE_IEEEFP_H
39872 #include <ieeefp.h>
39873 #endif
39876 main ()
39878 logl(0);
39880 return 0;
39882 _ACEOF
39883 if ac_fn_cxx_try_compile "$LINENO"; then :
39884 glibcxx_cv_func_logl_use=yes
39885 else
39886 glibcxx_cv_func_logl_use=no
39888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39889 ac_ext=c
39890 ac_cpp='$CPP $CPPFLAGS'
39891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39900 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39902 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39903 for ac_func in logl
39904 do :
39905 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39906 if test "x$ac_cv_func_logl" = x""yes; then :
39907 cat >>confdefs.h <<_ACEOF
39908 #define HAVE_LOGL 1
39909 _ACEOF
39912 done
39914 else
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39917 $as_echo_n "checking for _logl declaration... " >&6; }
39918 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39919 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39920 $as_echo_n "(cached) " >&6
39921 else
39924 ac_ext=cpp
39925 ac_cpp='$CXXCPP $CPPFLAGS'
39926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39931 /* end confdefs.h. */
39932 #include <math.h>
39933 #ifdef HAVE_IEEEFP_H
39934 #include <ieeefp.h>
39935 #endif
39938 main ()
39940 _logl(0);
39942 return 0;
39944 _ACEOF
39945 if ac_fn_cxx_try_compile "$LINENO"; then :
39946 glibcxx_cv_func__logl_use=yes
39947 else
39948 glibcxx_cv_func__logl_use=no
39950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39951 ac_ext=c
39952 ac_cpp='$CPP $CPPFLAGS'
39953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39962 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39964 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39965 for ac_func in _logl
39966 do :
39967 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39968 if test "x$ac_cv_func__logl" = x""yes; then :
39969 cat >>confdefs.h <<_ACEOF
39970 #define HAVE__LOGL 1
39971 _ACEOF
39974 done
39983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39984 $as_echo_n "checking for log10l declaration... " >&6; }
39985 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39986 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39987 $as_echo_n "(cached) " >&6
39988 else
39991 ac_ext=cpp
39992 ac_cpp='$CXXCPP $CPPFLAGS'
39993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39998 /* end confdefs.h. */
39999 #include <math.h>
40000 #ifdef HAVE_IEEEFP_H
40001 #include <ieeefp.h>
40002 #endif
40005 main ()
40007 log10l(0);
40009 return 0;
40011 _ACEOF
40012 if ac_fn_cxx_try_compile "$LINENO"; then :
40013 glibcxx_cv_func_log10l_use=yes
40014 else
40015 glibcxx_cv_func_log10l_use=no
40017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40018 ac_ext=c
40019 ac_cpp='$CPP $CPPFLAGS'
40020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40029 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40031 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40032 for ac_func in log10l
40033 do :
40034 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40035 if test "x$ac_cv_func_log10l" = x""yes; then :
40036 cat >>confdefs.h <<_ACEOF
40037 #define HAVE_LOG10L 1
40038 _ACEOF
40041 done
40043 else
40045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40046 $as_echo_n "checking for _log10l declaration... " >&6; }
40047 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40048 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
40049 $as_echo_n "(cached) " >&6
40050 else
40053 ac_ext=cpp
40054 ac_cpp='$CXXCPP $CPPFLAGS'
40055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40060 /* end confdefs.h. */
40061 #include <math.h>
40062 #ifdef HAVE_IEEEFP_H
40063 #include <ieeefp.h>
40064 #endif
40067 main ()
40069 _log10l(0);
40071 return 0;
40073 _ACEOF
40074 if ac_fn_cxx_try_compile "$LINENO"; then :
40075 glibcxx_cv_func__log10l_use=yes
40076 else
40077 glibcxx_cv_func__log10l_use=no
40079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40080 ac_ext=c
40081 ac_cpp='$CPP $CPPFLAGS'
40082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40091 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40093 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40094 for ac_func in _log10l
40095 do :
40096 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40097 if test "x$ac_cv_func__log10l" = x""yes; then :
40098 cat >>confdefs.h <<_ACEOF
40099 #define HAVE__LOG10L 1
40100 _ACEOF
40103 done
40112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40113 $as_echo_n "checking for modfl declaration... " >&6; }
40114 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40115 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
40116 $as_echo_n "(cached) " >&6
40117 else
40120 ac_ext=cpp
40121 ac_cpp='$CXXCPP $CPPFLAGS'
40122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40127 /* end confdefs.h. */
40128 #include <math.h>
40130 main ()
40132 modfl(0, 0);
40134 return 0;
40136 _ACEOF
40137 if ac_fn_cxx_try_compile "$LINENO"; then :
40138 glibcxx_cv_func_modfl_use=yes
40139 else
40140 glibcxx_cv_func_modfl_use=no
40142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40143 ac_ext=c
40144 ac_cpp='$CPP $CPPFLAGS'
40145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40154 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40156 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40157 for ac_func in modfl
40158 do :
40159 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40160 if test "x$ac_cv_func_modfl" = x""yes; then :
40161 cat >>confdefs.h <<_ACEOF
40162 #define HAVE_MODFL 1
40163 _ACEOF
40166 done
40168 else
40170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40171 $as_echo_n "checking for _modfl declaration... " >&6; }
40172 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40173 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40174 $as_echo_n "(cached) " >&6
40175 else
40178 ac_ext=cpp
40179 ac_cpp='$CXXCPP $CPPFLAGS'
40180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40185 /* end confdefs.h. */
40186 #include <math.h>
40188 main ()
40190 _modfl(0, 0);
40192 return 0;
40194 _ACEOF
40195 if ac_fn_cxx_try_compile "$LINENO"; then :
40196 glibcxx_cv_func__modfl_use=yes
40197 else
40198 glibcxx_cv_func__modfl_use=no
40200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40201 ac_ext=c
40202 ac_cpp='$CPP $CPPFLAGS'
40203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40212 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40214 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40215 for ac_func in _modfl
40216 do :
40217 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40218 if test "x$ac_cv_func__modfl" = x""yes; then :
40219 cat >>confdefs.h <<_ACEOF
40220 #define HAVE__MODFL 1
40221 _ACEOF
40224 done
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40234 $as_echo_n "checking for powl declaration... " >&6; }
40235 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40236 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40237 $as_echo_n "(cached) " >&6
40238 else
40241 ac_ext=cpp
40242 ac_cpp='$CXXCPP $CPPFLAGS'
40243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40248 /* end confdefs.h. */
40249 #include <math.h>
40251 main ()
40253 powl(0, 0);
40255 return 0;
40257 _ACEOF
40258 if ac_fn_cxx_try_compile "$LINENO"; then :
40259 glibcxx_cv_func_powl_use=yes
40260 else
40261 glibcxx_cv_func_powl_use=no
40263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40264 ac_ext=c
40265 ac_cpp='$CPP $CPPFLAGS'
40266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40275 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40277 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40278 for ac_func in powl
40279 do :
40280 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40281 if test "x$ac_cv_func_powl" = x""yes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define HAVE_POWL 1
40284 _ACEOF
40287 done
40289 else
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40292 $as_echo_n "checking for _powl declaration... " >&6; }
40293 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40294 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40295 $as_echo_n "(cached) " >&6
40296 else
40299 ac_ext=cpp
40300 ac_cpp='$CXXCPP $CPPFLAGS'
40301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40306 /* end confdefs.h. */
40307 #include <math.h>
40309 main ()
40311 _powl(0, 0);
40313 return 0;
40315 _ACEOF
40316 if ac_fn_cxx_try_compile "$LINENO"; then :
40317 glibcxx_cv_func__powl_use=yes
40318 else
40319 glibcxx_cv_func__powl_use=no
40321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40322 ac_ext=c
40323 ac_cpp='$CPP $CPPFLAGS'
40324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40333 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40335 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40336 for ac_func in _powl
40337 do :
40338 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40339 if test "x$ac_cv_func__powl" = x""yes; then :
40340 cat >>confdefs.h <<_ACEOF
40341 #define HAVE__POWL 1
40342 _ACEOF
40345 done
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40355 $as_echo_n "checking for sqrtl declaration... " >&6; }
40356 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40357 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40358 $as_echo_n "(cached) " >&6
40359 else
40362 ac_ext=cpp
40363 ac_cpp='$CXXCPP $CPPFLAGS'
40364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40369 /* end confdefs.h. */
40370 #include <math.h>
40371 #ifdef HAVE_IEEEFP_H
40372 #include <ieeefp.h>
40373 #endif
40376 main ()
40378 sqrtl(0);
40380 return 0;
40382 _ACEOF
40383 if ac_fn_cxx_try_compile "$LINENO"; then :
40384 glibcxx_cv_func_sqrtl_use=yes
40385 else
40386 glibcxx_cv_func_sqrtl_use=no
40388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40389 ac_ext=c
40390 ac_cpp='$CPP $CPPFLAGS'
40391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40400 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40402 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40403 for ac_func in sqrtl
40404 do :
40405 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40406 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40407 cat >>confdefs.h <<_ACEOF
40408 #define HAVE_SQRTL 1
40409 _ACEOF
40412 done
40414 else
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40417 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40418 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40419 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40420 $as_echo_n "(cached) " >&6
40421 else
40424 ac_ext=cpp
40425 ac_cpp='$CXXCPP $CPPFLAGS'
40426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40431 /* end confdefs.h. */
40432 #include <math.h>
40433 #ifdef HAVE_IEEEFP_H
40434 #include <ieeefp.h>
40435 #endif
40438 main ()
40440 _sqrtl(0);
40442 return 0;
40444 _ACEOF
40445 if ac_fn_cxx_try_compile "$LINENO"; then :
40446 glibcxx_cv_func__sqrtl_use=yes
40447 else
40448 glibcxx_cv_func__sqrtl_use=no
40450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40451 ac_ext=c
40452 ac_cpp='$CPP $CPPFLAGS'
40453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40462 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40464 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40465 for ac_func in _sqrtl
40466 do :
40467 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40468 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40469 cat >>confdefs.h <<_ACEOF
40470 #define HAVE__SQRTL 1
40471 _ACEOF
40474 done
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40484 $as_echo_n "checking for sincosl declaration... " >&6; }
40485 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40486 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40487 $as_echo_n "(cached) " >&6
40488 else
40491 ac_ext=cpp
40492 ac_cpp='$CXXCPP $CPPFLAGS'
40493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40498 /* end confdefs.h. */
40499 #include <math.h>
40501 main ()
40503 sincosl(0, 0, 0);
40505 return 0;
40507 _ACEOF
40508 if ac_fn_cxx_try_compile "$LINENO"; then :
40509 glibcxx_cv_func_sincosl_use=yes
40510 else
40511 glibcxx_cv_func_sincosl_use=no
40513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40514 ac_ext=c
40515 ac_cpp='$CPP $CPPFLAGS'
40516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40525 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40527 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40528 for ac_func in sincosl
40529 do :
40530 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40531 if test "x$ac_cv_func_sincosl" = x""yes; then :
40532 cat >>confdefs.h <<_ACEOF
40533 #define HAVE_SINCOSL 1
40534 _ACEOF
40537 done
40539 else
40541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40542 $as_echo_n "checking for _sincosl declaration... " >&6; }
40543 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40544 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40545 $as_echo_n "(cached) " >&6
40546 else
40549 ac_ext=cpp
40550 ac_cpp='$CXXCPP $CPPFLAGS'
40551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40556 /* end confdefs.h. */
40557 #include <math.h>
40559 main ()
40561 _sincosl(0, 0, 0);
40563 return 0;
40565 _ACEOF
40566 if ac_fn_cxx_try_compile "$LINENO"; then :
40567 glibcxx_cv_func__sincosl_use=yes
40568 else
40569 glibcxx_cv_func__sincosl_use=no
40571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40572 ac_ext=c
40573 ac_cpp='$CPP $CPPFLAGS'
40574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40583 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40585 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40586 for ac_func in _sincosl
40587 do :
40588 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40589 if test "x$ac_cv_func__sincosl" = x""yes; then :
40590 cat >>confdefs.h <<_ACEOF
40591 #define HAVE__SINCOSL 1
40592 _ACEOF
40595 done
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40605 $as_echo_n "checking for finitel declaration... " >&6; }
40606 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40607 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40608 $as_echo_n "(cached) " >&6
40609 else
40612 ac_ext=cpp
40613 ac_cpp='$CXXCPP $CPPFLAGS'
40614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40619 /* end confdefs.h. */
40620 #include <math.h>
40621 #ifdef HAVE_IEEEFP_H
40622 #include <ieeefp.h>
40623 #endif
40626 main ()
40628 finitel(0);
40630 return 0;
40632 _ACEOF
40633 if ac_fn_cxx_try_compile "$LINENO"; then :
40634 glibcxx_cv_func_finitel_use=yes
40635 else
40636 glibcxx_cv_func_finitel_use=no
40638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40639 ac_ext=c
40640 ac_cpp='$CPP $CPPFLAGS'
40641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40650 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40652 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40653 for ac_func in finitel
40654 do :
40655 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40656 if test "x$ac_cv_func_finitel" = x""yes; then :
40657 cat >>confdefs.h <<_ACEOF
40658 #define HAVE_FINITEL 1
40659 _ACEOF
40662 done
40664 else
40666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40667 $as_echo_n "checking for _finitel declaration... " >&6; }
40668 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40669 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40670 $as_echo_n "(cached) " >&6
40671 else
40674 ac_ext=cpp
40675 ac_cpp='$CXXCPP $CPPFLAGS'
40676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40681 /* end confdefs.h. */
40682 #include <math.h>
40683 #ifdef HAVE_IEEEFP_H
40684 #include <ieeefp.h>
40685 #endif
40688 main ()
40690 _finitel(0);
40692 return 0;
40694 _ACEOF
40695 if ac_fn_cxx_try_compile "$LINENO"; then :
40696 glibcxx_cv_func__finitel_use=yes
40697 else
40698 glibcxx_cv_func__finitel_use=no
40700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40701 ac_ext=c
40702 ac_cpp='$CPP $CPPFLAGS'
40703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40712 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40714 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40715 for ac_func in _finitel
40716 do :
40717 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40718 if test "x$ac_cv_func__finitel" = x""yes; then :
40719 cat >>confdefs.h <<_ACEOF
40720 #define HAVE__FINITEL 1
40721 _ACEOF
40724 done
40732 LIBS="$ac_save_LIBS"
40733 CXXFLAGS="$ac_save_CXXFLAGS"
40736 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40737 ac_save_CXXFLAGS="$CXXFLAGS"
40738 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40742 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40743 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40744 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40745 $as_echo_n "(cached) " >&6
40746 else
40749 ac_ext=cpp
40750 ac_cpp='$CXXCPP $CPPFLAGS'
40751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40756 /* end confdefs.h. */
40757 #include <stdlib.h>
40759 main ()
40761 at_quick_exit(0);
40763 return 0;
40765 _ACEOF
40766 if ac_fn_cxx_try_compile "$LINENO"; then :
40767 glibcxx_cv_func_at_quick_exit_use=yes
40768 else
40769 glibcxx_cv_func_at_quick_exit_use=no
40771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40772 ac_ext=c
40773 ac_cpp='$CPP $CPPFLAGS'
40774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40783 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40784 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40785 for ac_func in at_quick_exit
40786 do :
40787 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40788 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40789 cat >>confdefs.h <<_ACEOF
40790 #define HAVE_AT_QUICK_EXIT 1
40791 _ACEOF
40794 done
40799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40800 $as_echo_n "checking for quick_exit declaration... " >&6; }
40801 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40802 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40803 $as_echo_n "(cached) " >&6
40804 else
40807 ac_ext=cpp
40808 ac_cpp='$CXXCPP $CPPFLAGS'
40809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40814 /* end confdefs.h. */
40815 #include <stdlib.h>
40817 main ()
40819 quick_exit(0);
40821 return 0;
40823 _ACEOF
40824 if ac_fn_cxx_try_compile "$LINENO"; then :
40825 glibcxx_cv_func_quick_exit_use=yes
40826 else
40827 glibcxx_cv_func_quick_exit_use=no
40829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40830 ac_ext=c
40831 ac_cpp='$CPP $CPPFLAGS'
40832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40841 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40842 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40843 for ac_func in quick_exit
40844 do :
40845 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40846 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40847 cat >>confdefs.h <<_ACEOF
40848 #define HAVE_QUICK_EXIT 1
40849 _ACEOF
40852 done
40857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40858 $as_echo_n "checking for strtold declaration... " >&6; }
40859 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40860 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40861 $as_echo_n "(cached) " >&6
40862 else
40865 ac_ext=cpp
40866 ac_cpp='$CXXCPP $CPPFLAGS'
40867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40872 /* end confdefs.h. */
40873 #include <stdlib.h>
40875 main ()
40877 strtold(0, 0);
40879 return 0;
40881 _ACEOF
40882 if ac_fn_cxx_try_compile "$LINENO"; then :
40883 glibcxx_cv_func_strtold_use=yes
40884 else
40885 glibcxx_cv_func_strtold_use=no
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40888 ac_ext=c
40889 ac_cpp='$CPP $CPPFLAGS'
40890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40899 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40900 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40901 for ac_func in strtold
40902 do :
40903 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40904 if test "x$ac_cv_func_strtold" = x""yes; then :
40905 cat >>confdefs.h <<_ACEOF
40906 #define HAVE_STRTOLD 1
40907 _ACEOF
40910 done
40917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40918 $as_echo_n "checking for strtof declaration... " >&6; }
40919 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40920 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40921 $as_echo_n "(cached) " >&6
40922 else
40925 ac_ext=cpp
40926 ac_cpp='$CXXCPP $CPPFLAGS'
40927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40932 /* end confdefs.h. */
40933 #include <stdlib.h>
40935 main ()
40937 strtof(0, 0);
40939 return 0;
40941 _ACEOF
40942 if ac_fn_cxx_try_compile "$LINENO"; then :
40943 glibcxx_cv_func_strtof_use=yes
40944 else
40945 glibcxx_cv_func_strtof_use=no
40947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40948 ac_ext=c
40949 ac_cpp='$CPP $CPPFLAGS'
40950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40959 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40960 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40961 for ac_func in strtof
40962 do :
40963 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40964 if test "x$ac_cv_func_strtof" = x""yes; then :
40965 cat >>confdefs.h <<_ACEOF
40966 #define HAVE_STRTOF 1
40967 _ACEOF
40970 done
40977 CXXFLAGS="$ac_save_CXXFLAGS"
40984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40985 $as_echo_n "checking for iconv... " >&6; }
40986 if test "${am_cv_func_iconv+set}" = set; then :
40987 $as_echo_n "(cached) " >&6
40988 else
40990 am_cv_func_iconv="no, consider installing GNU libiconv"
40991 am_cv_lib_iconv=no
40992 am_save_CPPFLAGS="$CPPFLAGS"
40993 CPPFLAGS="$CPPFLAGS $INCICONV"
40994 if test x$gcc_no_link = xyes; then
40995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40998 /* end confdefs.h. */
40999 #include <stdlib.h>
41000 #include <iconv.h>
41002 main ()
41004 iconv_t cd = iconv_open("","");
41005 iconv(cd,NULL,NULL,NULL,NULL);
41006 iconv_close(cd);
41008 return 0;
41010 _ACEOF
41011 if ac_fn_c_try_link "$LINENO"; then :
41012 am_cv_func_iconv=yes
41014 rm -f core conftest.err conftest.$ac_objext \
41015 conftest$ac_exeext conftest.$ac_ext
41016 CPPFLAGS="$am_save_CPPFLAGS"
41018 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41019 for _libs in .libs _libs; do
41020 am_save_CPPFLAGS="$CPPFLAGS"
41021 am_save_LIBS="$LIBS"
41022 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41023 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41024 if test x$gcc_no_link = xyes; then
41025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41028 /* end confdefs.h. */
41029 #include <stdlib.h>
41030 #include <iconv.h>
41032 main ()
41034 iconv_t cd = iconv_open("","");
41035 iconv(cd,NULL,NULL,NULL,NULL);
41036 iconv_close(cd);
41038 return 0;
41040 _ACEOF
41041 if ac_fn_c_try_link "$LINENO"; then :
41042 INCICONV="-I../libiconv/include"
41043 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41044 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41045 am_cv_lib_iconv=yes
41046 am_cv_func_iconv=yes
41048 rm -f core conftest.err conftest.$ac_objext \
41049 conftest$ac_exeext conftest.$ac_ext
41050 CPPFLAGS="$am_save_CPPFLAGS"
41051 LIBS="$am_save_LIBS"
41052 if test "$am_cv_func_iconv" = "yes"; then
41053 break
41055 done
41058 if test "$am_cv_func_iconv" != yes; then
41059 am_save_CPPFLAGS="$CPPFLAGS"
41060 am_save_LIBS="$LIBS"
41061 CPPFLAGS="$LIBS $INCICONV"
41062 LIBS="$LIBS $LIBICONV"
41063 if test x$gcc_no_link = xyes; then
41064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41067 /* end confdefs.h. */
41068 #include <stdlib.h>
41069 #include <iconv.h>
41071 main ()
41073 iconv_t cd = iconv_open("","");
41074 iconv(cd,NULL,NULL,NULL,NULL);
41075 iconv_close(cd);
41077 return 0;
41079 _ACEOF
41080 if ac_fn_c_try_link "$LINENO"; then :
41081 am_cv_lib_iconv=yes
41082 am_cv_func_iconv=yes
41084 rm -f core conftest.err conftest.$ac_objext \
41085 conftest$ac_exeext conftest.$ac_ext
41086 CPPFLAGS="$am_save_CPPFLAGS"
41087 LIBS="$am_save_LIBS"
41091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41092 $as_echo "$am_cv_func_iconv" >&6; }
41093 if test "$am_cv_func_iconv" = yes; then
41095 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41098 if test "$am_cv_lib_iconv" = yes; then
41100 for element in $INCICONV; do
41101 haveit=
41102 for x in $CPPFLAGS; do
41104 acl_save_prefix="$prefix"
41105 prefix="$acl_final_prefix"
41106 acl_save_exec_prefix="$exec_prefix"
41107 exec_prefix="$acl_final_exec_prefix"
41108 eval x=\"$x\"
41109 exec_prefix="$acl_save_exec_prefix"
41110 prefix="$acl_save_prefix"
41112 if test "X$x" = "X$element"; then
41113 haveit=yes
41114 break
41116 done
41117 if test -z "$haveit"; then
41118 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41120 done
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41123 $as_echo_n "checking how to link with libiconv... " >&6; }
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41125 $as_echo "$LIBICONV" >&6; }
41126 else
41127 LIBICONV=
41128 LTLIBICONV=
41133 if test "$am_cv_func_iconv" = yes; then
41134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41135 $as_echo_n "checking for iconv declaration... " >&6; }
41136 if test "${am_cv_proto_iconv+set}" = set; then :
41137 $as_echo_n "(cached) " >&6
41138 else
41140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41141 /* end confdefs.h. */
41143 #include <stdlib.h>
41144 #include <iconv.h>
41145 extern
41146 #ifdef __cplusplus
41148 #endif
41149 #if defined(__STDC__) || defined(__cplusplus)
41150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41151 #else
41152 size_t iconv();
41153 #endif
41156 main ()
41160 return 0;
41162 _ACEOF
41163 if ac_fn_c_try_compile "$LINENO"; then :
41164 am_cv_proto_iconv_arg1=""
41165 else
41166 am_cv_proto_iconv_arg1="const"
41168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41169 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);"
41172 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41174 }$am_cv_proto_iconv" >&5
41175 $as_echo "${ac_t:-
41176 }$am_cv_proto_iconv" >&6; }
41178 cat >>confdefs.h <<_ACEOF
41179 #define ICONV_CONST $am_cv_proto_iconv_arg1
41180 _ACEOF
41186 *-aix*)
41188 # If we're not using GNU ld, then there's no point in even trying these
41189 # tests. Check for that first. We should have already tested for gld
41190 # by now (in libtool), but require it now just to be safe...
41191 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41192 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41196 # The name set by libtool depends on the version of libtool. Shame on us
41197 # for depending on an impl detail, but c'est la vie. Older versions used
41198 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41199 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41200 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41201 # set (hence we're using an older libtool), then set it.
41202 if test x${with_gnu_ld+set} != xset; then
41203 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41204 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41205 with_gnu_ld=no
41206 else
41207 with_gnu_ld=$ac_cv_prog_gnu_ld
41211 # Start by getting the version number. I think the libtool test already
41212 # does some of this, but throws away the result.
41213 glibcxx_ld_is_gold=no
41214 if test x"$with_gnu_ld" = x"yes"; then
41215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41216 $as_echo_n "checking for ld version... " >&6; }
41218 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41219 glibcxx_ld_is_gold=yes
41221 ldver=`$LD --version 2>/dev/null |
41222 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
41224 glibcxx_gnu_ld_version=`echo $ldver | \
41225 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41227 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41230 # Set --gc-sections.
41231 glibcxx_have_gc_sections=no
41232 if test "$glibcxx_ld_is_gold" = "yes"; then
41233 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41234 glibcxx_have_gc_sections=yes
41236 else
41237 glibcxx_gcsections_min_ld=21602
41238 if test x"$with_gnu_ld" = x"yes" &&
41239 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41240 glibcxx_have_gc_sections=yes
41243 if test "$glibcxx_have_gc_sections" = "yes"; then
41244 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41245 # NB: This flag only works reliably after 2.16.1. Configure tests
41246 # for this are difficult, so hard wire a value that should work.
41248 ac_test_CFLAGS="${CFLAGS+set}"
41249 ac_save_CFLAGS="$CFLAGS"
41250 CFLAGS='-Wl,--gc-sections'
41252 # Check for -Wl,--gc-sections
41253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41254 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41255 if test x$gcc_no_link = xyes; then
41256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41259 /* end confdefs.h. */
41260 int one(void) { return 1; }
41261 int two(void) { return 2; }
41264 main ()
41266 two();
41268 return 0;
41270 _ACEOF
41271 if ac_fn_c_try_link "$LINENO"; then :
41272 ac_gcsections=yes
41273 else
41274 ac_gcsections=no
41276 rm -f core conftest.err conftest.$ac_objext \
41277 conftest$ac_exeext conftest.$ac_ext
41278 if test "$ac_gcsections" = "yes"; then
41279 rm -f conftest.c
41280 touch conftest.c
41281 if $CC -c conftest.c; then
41282 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41283 grep "Warning: gc-sections option ignored" > /dev/null; then
41284 ac_gcsections=no
41287 rm -f conftest.c conftest.o conftest
41289 if test "$ac_gcsections" = "yes"; then
41290 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41293 $as_echo "$ac_gcsections" >&6; }
41295 if test "$ac_test_CFLAGS" = set; then
41296 CFLAGS="$ac_save_CFLAGS"
41297 else
41298 # this is the suspicious part
41299 CFLAGS=''
41303 # Set -z,relro.
41304 # Note this is only for shared objects.
41305 ac_ld_relro=no
41306 if test x"$with_gnu_ld" = x"yes"; then
41307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41308 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41309 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41310 if test -n "$cxx_z_relo"; then
41311 OPT_LDFLAGS="-Wl,-z,relro"
41312 ac_ld_relro=yes
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41315 $as_echo "$ac_ld_relro" >&6; }
41318 # Set linker optimization flags.
41319 if test x"$with_gnu_ld" = x"yes"; then
41320 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41327 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41328 ac_save_CXXFLAGS="$CXXFLAGS"
41329 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41332 $as_echo_n "checking for sin in -lm... " >&6; }
41333 if test "${ac_cv_lib_m_sin+set}" = set; then :
41334 $as_echo_n "(cached) " >&6
41335 else
41336 ac_check_lib_save_LIBS=$LIBS
41337 LIBS="-lm $LIBS"
41338 if test x$gcc_no_link = xyes; then
41339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41342 /* end confdefs.h. */
41344 /* Override any GCC internal prototype to avoid an error.
41345 Use char because int might match the return type of a GCC
41346 builtin and then its argument prototype would still apply. */
41347 #ifdef __cplusplus
41348 extern "C"
41349 #endif
41350 char sin ();
41352 main ()
41354 return sin ();
41356 return 0;
41358 _ACEOF
41359 if ac_fn_c_try_link "$LINENO"; then :
41360 ac_cv_lib_m_sin=yes
41361 else
41362 ac_cv_lib_m_sin=no
41364 rm -f core conftest.err conftest.$ac_objext \
41365 conftest$ac_exeext conftest.$ac_ext
41366 LIBS=$ac_check_lib_save_LIBS
41368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41369 $as_echo "$ac_cv_lib_m_sin" >&6; }
41370 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41371 libm="-lm"
41374 ac_save_LIBS="$LIBS"
41375 LIBS="$LIBS $libm"
41379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41380 $as_echo_n "checking for isinf declaration... " >&6; }
41381 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41382 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41383 $as_echo_n "(cached) " >&6
41384 else
41387 ac_ext=cpp
41388 ac_cpp='$CXXCPP $CPPFLAGS'
41389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41394 /* end confdefs.h. */
41395 #include <math.h>
41396 #ifdef HAVE_IEEEFP_H
41397 #include <ieeefp.h>
41398 #endif
41401 main ()
41403 isinf(0);
41405 return 0;
41407 _ACEOF
41408 if ac_fn_cxx_try_compile "$LINENO"; then :
41409 glibcxx_cv_func_isinf_use=yes
41410 else
41411 glibcxx_cv_func_isinf_use=no
41413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41414 ac_ext=c
41415 ac_cpp='$CPP $CPPFLAGS'
41416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41425 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41427 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41428 for ac_func in isinf
41429 do :
41430 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41431 if test "x$ac_cv_func_isinf" = x""yes; then :
41432 cat >>confdefs.h <<_ACEOF
41433 #define HAVE_ISINF 1
41434 _ACEOF
41437 done
41439 else
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41442 $as_echo_n "checking for _isinf declaration... " >&6; }
41443 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41444 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41445 $as_echo_n "(cached) " >&6
41446 else
41449 ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h. */
41457 #include <math.h>
41458 #ifdef HAVE_IEEEFP_H
41459 #include <ieeefp.h>
41460 #endif
41463 main ()
41465 _isinf(0);
41467 return 0;
41469 _ACEOF
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471 glibcxx_cv_func__isinf_use=yes
41472 else
41473 glibcxx_cv_func__isinf_use=no
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476 ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41487 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41489 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41490 for ac_func in _isinf
41491 do :
41492 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41493 if test "x$ac_cv_func__isinf" = x""yes; then :
41494 cat >>confdefs.h <<_ACEOF
41495 #define HAVE__ISINF 1
41496 _ACEOF
41499 done
41508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41509 $as_echo_n "checking for isnan declaration... " >&6; }
41510 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41511 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41512 $as_echo_n "(cached) " >&6
41513 else
41516 ac_ext=cpp
41517 ac_cpp='$CXXCPP $CPPFLAGS'
41518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41523 /* end confdefs.h. */
41524 #include <math.h>
41525 #ifdef HAVE_IEEEFP_H
41526 #include <ieeefp.h>
41527 #endif
41530 main ()
41532 isnan(0);
41534 return 0;
41536 _ACEOF
41537 if ac_fn_cxx_try_compile "$LINENO"; then :
41538 glibcxx_cv_func_isnan_use=yes
41539 else
41540 glibcxx_cv_func_isnan_use=no
41542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41543 ac_ext=c
41544 ac_cpp='$CPP $CPPFLAGS'
41545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41554 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41556 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41557 for ac_func in isnan
41558 do :
41559 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41560 if test "x$ac_cv_func_isnan" = x""yes; then :
41561 cat >>confdefs.h <<_ACEOF
41562 #define HAVE_ISNAN 1
41563 _ACEOF
41566 done
41568 else
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41571 $as_echo_n "checking for _isnan declaration... " >&6; }
41572 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41573 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41574 $as_echo_n "(cached) " >&6
41575 else
41578 ac_ext=cpp
41579 ac_cpp='$CXXCPP $CPPFLAGS'
41580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41585 /* end confdefs.h. */
41586 #include <math.h>
41587 #ifdef HAVE_IEEEFP_H
41588 #include <ieeefp.h>
41589 #endif
41592 main ()
41594 _isnan(0);
41596 return 0;
41598 _ACEOF
41599 if ac_fn_cxx_try_compile "$LINENO"; then :
41600 glibcxx_cv_func__isnan_use=yes
41601 else
41602 glibcxx_cv_func__isnan_use=no
41604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41605 ac_ext=c
41606 ac_cpp='$CPP $CPPFLAGS'
41607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41616 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41618 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41619 for ac_func in _isnan
41620 do :
41621 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41622 if test "x$ac_cv_func__isnan" = x""yes; then :
41623 cat >>confdefs.h <<_ACEOF
41624 #define HAVE__ISNAN 1
41625 _ACEOF
41628 done
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41638 $as_echo_n "checking for finite declaration... " >&6; }
41639 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41640 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41641 $as_echo_n "(cached) " >&6
41642 else
41645 ac_ext=cpp
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41652 /* end confdefs.h. */
41653 #include <math.h>
41654 #ifdef HAVE_IEEEFP_H
41655 #include <ieeefp.h>
41656 #endif
41659 main ()
41661 finite(0);
41663 return 0;
41665 _ACEOF
41666 if ac_fn_cxx_try_compile "$LINENO"; then :
41667 glibcxx_cv_func_finite_use=yes
41668 else
41669 glibcxx_cv_func_finite_use=no
41671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41672 ac_ext=c
41673 ac_cpp='$CPP $CPPFLAGS'
41674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41683 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41685 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41686 for ac_func in finite
41687 do :
41688 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41689 if test "x$ac_cv_func_finite" = x""yes; then :
41690 cat >>confdefs.h <<_ACEOF
41691 #define HAVE_FINITE 1
41692 _ACEOF
41695 done
41697 else
41699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41700 $as_echo_n "checking for _finite declaration... " >&6; }
41701 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41702 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41703 $as_echo_n "(cached) " >&6
41704 else
41707 ac_ext=cpp
41708 ac_cpp='$CXXCPP $CPPFLAGS'
41709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41714 /* end confdefs.h. */
41715 #include <math.h>
41716 #ifdef HAVE_IEEEFP_H
41717 #include <ieeefp.h>
41718 #endif
41721 main ()
41723 _finite(0);
41725 return 0;
41727 _ACEOF
41728 if ac_fn_cxx_try_compile "$LINENO"; then :
41729 glibcxx_cv_func__finite_use=yes
41730 else
41731 glibcxx_cv_func__finite_use=no
41733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41734 ac_ext=c
41735 ac_cpp='$CPP $CPPFLAGS'
41736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41745 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41747 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41748 for ac_func in _finite
41749 do :
41750 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41751 if test "x$ac_cv_func__finite" = x""yes; then :
41752 cat >>confdefs.h <<_ACEOF
41753 #define HAVE__FINITE 1
41754 _ACEOF
41757 done
41766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41767 $as_echo_n "checking for sincos declaration... " >&6; }
41768 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41769 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41770 $as_echo_n "(cached) " >&6
41771 else
41774 ac_ext=cpp
41775 ac_cpp='$CXXCPP $CPPFLAGS'
41776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41781 /* end confdefs.h. */
41782 #include <math.h>
41784 main ()
41786 sincos(0, 0, 0);
41788 return 0;
41790 _ACEOF
41791 if ac_fn_cxx_try_compile "$LINENO"; then :
41792 glibcxx_cv_func_sincos_use=yes
41793 else
41794 glibcxx_cv_func_sincos_use=no
41796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41797 ac_ext=c
41798 ac_cpp='$CPP $CPPFLAGS'
41799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41808 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41810 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41811 for ac_func in sincos
41812 do :
41813 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41814 if test "x$ac_cv_func_sincos" = x""yes; then :
41815 cat >>confdefs.h <<_ACEOF
41816 #define HAVE_SINCOS 1
41817 _ACEOF
41820 done
41822 else
41824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41825 $as_echo_n "checking for _sincos declaration... " >&6; }
41826 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41827 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41828 $as_echo_n "(cached) " >&6
41829 else
41832 ac_ext=cpp
41833 ac_cpp='$CXXCPP $CPPFLAGS'
41834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41839 /* end confdefs.h. */
41840 #include <math.h>
41842 main ()
41844 _sincos(0, 0, 0);
41846 return 0;
41848 _ACEOF
41849 if ac_fn_cxx_try_compile "$LINENO"; then :
41850 glibcxx_cv_func__sincos_use=yes
41851 else
41852 glibcxx_cv_func__sincos_use=no
41854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41855 ac_ext=c
41856 ac_cpp='$CPP $CPPFLAGS'
41857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41866 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41868 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41869 for ac_func in _sincos
41870 do :
41871 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41872 if test "x$ac_cv_func__sincos" = x""yes; then :
41873 cat >>confdefs.h <<_ACEOF
41874 #define HAVE__SINCOS 1
41875 _ACEOF
41878 done
41887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41888 $as_echo_n "checking for fpclass declaration... " >&6; }
41889 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41890 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41891 $as_echo_n "(cached) " >&6
41892 else
41895 ac_ext=cpp
41896 ac_cpp='$CXXCPP $CPPFLAGS'
41897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41902 /* end confdefs.h. */
41903 #include <math.h>
41904 #ifdef HAVE_IEEEFP_H
41905 #include <ieeefp.h>
41906 #endif
41909 main ()
41911 fpclass(0);
41913 return 0;
41915 _ACEOF
41916 if ac_fn_cxx_try_compile "$LINENO"; then :
41917 glibcxx_cv_func_fpclass_use=yes
41918 else
41919 glibcxx_cv_func_fpclass_use=no
41921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41922 ac_ext=c
41923 ac_cpp='$CPP $CPPFLAGS'
41924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41933 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41935 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41936 for ac_func in fpclass
41937 do :
41938 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41939 if test "x$ac_cv_func_fpclass" = x""yes; then :
41940 cat >>confdefs.h <<_ACEOF
41941 #define HAVE_FPCLASS 1
41942 _ACEOF
41945 done
41947 else
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41950 $as_echo_n "checking for _fpclass declaration... " >&6; }
41951 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41952 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41966 #ifdef HAVE_IEEEFP_H
41967 #include <ieeefp.h>
41968 #endif
41971 main ()
41973 _fpclass(0);
41975 return 0;
41977 _ACEOF
41978 if ac_fn_cxx_try_compile "$LINENO"; then :
41979 glibcxx_cv_func__fpclass_use=yes
41980 else
41981 glibcxx_cv_func__fpclass_use=no
41983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41984 ac_ext=c
41985 ac_cpp='$CPP $CPPFLAGS'
41986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41995 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41997 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41998 for ac_func in _fpclass
41999 do :
42000 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42001 if test "x$ac_cv_func__fpclass" = x""yes; then :
42002 cat >>confdefs.h <<_ACEOF
42003 #define HAVE__FPCLASS 1
42004 _ACEOF
42007 done
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42017 $as_echo_n "checking for qfpclass declaration... " >&6; }
42018 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42019 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
42020 $as_echo_n "(cached) " >&6
42021 else
42024 ac_ext=cpp
42025 ac_cpp='$CXXCPP $CPPFLAGS'
42026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42031 /* end confdefs.h. */
42032 #include <math.h>
42033 #ifdef HAVE_IEEEFP_H
42034 #include <ieeefp.h>
42035 #endif
42038 main ()
42040 qfpclass(0);
42042 return 0;
42044 _ACEOF
42045 if ac_fn_cxx_try_compile "$LINENO"; then :
42046 glibcxx_cv_func_qfpclass_use=yes
42047 else
42048 glibcxx_cv_func_qfpclass_use=no
42050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42051 ac_ext=c
42052 ac_cpp='$CPP $CPPFLAGS'
42053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42062 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42064 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42065 for ac_func in qfpclass
42066 do :
42067 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42068 if test "x$ac_cv_func_qfpclass" = x""yes; then :
42069 cat >>confdefs.h <<_ACEOF
42070 #define HAVE_QFPCLASS 1
42071 _ACEOF
42074 done
42076 else
42078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42079 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42080 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42081 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
42082 $as_echo_n "(cached) " >&6
42083 else
42086 ac_ext=cpp
42087 ac_cpp='$CXXCPP $CPPFLAGS'
42088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42093 /* end confdefs.h. */
42094 #include <math.h>
42095 #ifdef HAVE_IEEEFP_H
42096 #include <ieeefp.h>
42097 #endif
42100 main ()
42102 _qfpclass(0);
42104 return 0;
42106 _ACEOF
42107 if ac_fn_cxx_try_compile "$LINENO"; then :
42108 glibcxx_cv_func__qfpclass_use=yes
42109 else
42110 glibcxx_cv_func__qfpclass_use=no
42112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42113 ac_ext=c
42114 ac_cpp='$CPP $CPPFLAGS'
42115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42124 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42126 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42127 for ac_func in _qfpclass
42128 do :
42129 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42130 if test "x$ac_cv_func__qfpclass" = x""yes; then :
42131 cat >>confdefs.h <<_ACEOF
42132 #define HAVE__QFPCLASS 1
42133 _ACEOF
42136 done
42145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42146 $as_echo_n "checking for hypot declaration... " >&6; }
42147 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42148 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
42149 $as_echo_n "(cached) " >&6
42150 else
42153 ac_ext=cpp
42154 ac_cpp='$CXXCPP $CPPFLAGS'
42155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42160 /* end confdefs.h. */
42161 #include <math.h>
42163 main ()
42165 hypot(0, 0);
42167 return 0;
42169 _ACEOF
42170 if ac_fn_cxx_try_compile "$LINENO"; then :
42171 glibcxx_cv_func_hypot_use=yes
42172 else
42173 glibcxx_cv_func_hypot_use=no
42175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42176 ac_ext=c
42177 ac_cpp='$CPP $CPPFLAGS'
42178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42187 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42189 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42190 for ac_func in hypot
42191 do :
42192 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42193 if test "x$ac_cv_func_hypot" = x""yes; then :
42194 cat >>confdefs.h <<_ACEOF
42195 #define HAVE_HYPOT 1
42196 _ACEOF
42199 done
42201 else
42203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42204 $as_echo_n "checking for _hypot declaration... " >&6; }
42205 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42206 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42207 $as_echo_n "(cached) " >&6
42208 else
42211 ac_ext=cpp
42212 ac_cpp='$CXXCPP $CPPFLAGS'
42213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42218 /* end confdefs.h. */
42219 #include <math.h>
42221 main ()
42223 _hypot(0, 0);
42225 return 0;
42227 _ACEOF
42228 if ac_fn_cxx_try_compile "$LINENO"; then :
42229 glibcxx_cv_func__hypot_use=yes
42230 else
42231 glibcxx_cv_func__hypot_use=no
42233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42234 ac_ext=c
42235 ac_cpp='$CPP $CPPFLAGS'
42236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42245 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42247 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42248 for ac_func in _hypot
42249 do :
42250 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42251 if test "x$ac_cv_func__hypot" = x""yes; then :
42252 cat >>confdefs.h <<_ACEOF
42253 #define HAVE__HYPOT 1
42254 _ACEOF
42257 done
42266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42267 $as_echo_n "checking for float trig functions... " >&6; }
42268 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42283 main ()
42285 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42287 return 0;
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func_float_trig_use=yes
42292 else
42293 glibcxx_cv_func_float_trig_use=no
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42305 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42306 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42307 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42308 do :
42309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42311 eval as_val=\$$as_ac_var
42312 if test "x$as_val" = x""yes; then :
42313 cat >>confdefs.h <<_ACEOF
42314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42315 _ACEOF
42318 done
42320 else
42321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42322 $as_echo_n "checking for _float trig functions... " >&6; }
42323 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42324 $as_echo_n "(cached) " >&6
42325 else
42328 ac_ext=cpp
42329 ac_cpp='$CXXCPP $CPPFLAGS'
42330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42335 /* end confdefs.h. */
42336 #include <math.h>
42338 main ()
42340 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42342 return 0;
42344 _ACEOF
42345 if ac_fn_cxx_try_compile "$LINENO"; then :
42346 glibcxx_cv_func__float_trig_use=yes
42347 else
42348 glibcxx_cv_func__float_trig_use=no
42350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42351 ac_ext=c
42352 ac_cpp='$CPP $CPPFLAGS'
42353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42360 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42361 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42362 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42363 do :
42364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42366 eval as_val=\$$as_ac_var
42367 if test "x$as_val" = x""yes; then :
42368 cat >>confdefs.h <<_ACEOF
42369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42370 _ACEOF
42373 done
42382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42383 $as_echo_n "checking for float round functions... " >&6; }
42384 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42385 $as_echo_n "(cached) " >&6
42386 else
42389 ac_ext=cpp
42390 ac_cpp='$CXXCPP $CPPFLAGS'
42391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42396 /* end confdefs.h. */
42397 #include <math.h>
42399 main ()
42401 ceilf (0); floorf (0);
42403 return 0;
42405 _ACEOF
42406 if ac_fn_cxx_try_compile "$LINENO"; then :
42407 glibcxx_cv_func_float_round_use=yes
42408 else
42409 glibcxx_cv_func_float_round_use=no
42411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42412 ac_ext=c
42413 ac_cpp='$CPP $CPPFLAGS'
42414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42421 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42422 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42423 for ac_func in ceilf floorf
42424 do :
42425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42427 eval as_val=\$$as_ac_var
42428 if test "x$as_val" = x""yes; then :
42429 cat >>confdefs.h <<_ACEOF
42430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42431 _ACEOF
42434 done
42436 else
42437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42438 $as_echo_n "checking for _float round functions... " >&6; }
42439 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42440 $as_echo_n "(cached) " >&6
42441 else
42444 ac_ext=cpp
42445 ac_cpp='$CXXCPP $CPPFLAGS'
42446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42451 /* end confdefs.h. */
42452 #include <math.h>
42454 main ()
42456 _ceilf (0); _floorf (0);
42458 return 0;
42460 _ACEOF
42461 if ac_fn_cxx_try_compile "$LINENO"; then :
42462 glibcxx_cv_func__float_round_use=yes
42463 else
42464 glibcxx_cv_func__float_round_use=no
42466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42467 ac_ext=c
42468 ac_cpp='$CPP $CPPFLAGS'
42469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42476 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42477 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42478 for ac_func in _ceilf _floorf
42479 do :
42480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42482 eval as_val=\$$as_ac_var
42483 if test "x$as_val" = x""yes; then :
42484 cat >>confdefs.h <<_ACEOF
42485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42486 _ACEOF
42489 done
42499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42500 $as_echo_n "checking for expf declaration... " >&6; }
42501 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42502 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42503 $as_echo_n "(cached) " >&6
42504 else
42507 ac_ext=cpp
42508 ac_cpp='$CXXCPP $CPPFLAGS'
42509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42514 /* end confdefs.h. */
42515 #include <math.h>
42516 #ifdef HAVE_IEEEFP_H
42517 #include <ieeefp.h>
42518 #endif
42521 main ()
42523 expf(0);
42525 return 0;
42527 _ACEOF
42528 if ac_fn_cxx_try_compile "$LINENO"; then :
42529 glibcxx_cv_func_expf_use=yes
42530 else
42531 glibcxx_cv_func_expf_use=no
42533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42534 ac_ext=c
42535 ac_cpp='$CPP $CPPFLAGS'
42536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42545 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42547 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42548 for ac_func in expf
42549 do :
42550 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42551 if test "x$ac_cv_func_expf" = x""yes; then :
42552 cat >>confdefs.h <<_ACEOF
42553 #define HAVE_EXPF 1
42554 _ACEOF
42557 done
42559 else
42561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42562 $as_echo_n "checking for _expf declaration... " >&6; }
42563 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42564 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42565 $as_echo_n "(cached) " >&6
42566 else
42569 ac_ext=cpp
42570 ac_cpp='$CXXCPP $CPPFLAGS'
42571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42576 /* end confdefs.h. */
42577 #include <math.h>
42578 #ifdef HAVE_IEEEFP_H
42579 #include <ieeefp.h>
42580 #endif
42583 main ()
42585 _expf(0);
42587 return 0;
42589 _ACEOF
42590 if ac_fn_cxx_try_compile "$LINENO"; then :
42591 glibcxx_cv_func__expf_use=yes
42592 else
42593 glibcxx_cv_func__expf_use=no
42595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42596 ac_ext=c
42597 ac_cpp='$CPP $CPPFLAGS'
42598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42607 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42609 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42610 for ac_func in _expf
42611 do :
42612 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42613 if test "x$ac_cv_func__expf" = x""yes; then :
42614 cat >>confdefs.h <<_ACEOF
42615 #define HAVE__EXPF 1
42616 _ACEOF
42619 done
42628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42629 $as_echo_n "checking for isnanf declaration... " >&6; }
42630 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42631 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42632 $as_echo_n "(cached) " >&6
42633 else
42636 ac_ext=cpp
42637 ac_cpp='$CXXCPP $CPPFLAGS'
42638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42643 /* end confdefs.h. */
42644 #include <math.h>
42645 #ifdef HAVE_IEEEFP_H
42646 #include <ieeefp.h>
42647 #endif
42650 main ()
42652 isnanf(0);
42654 return 0;
42656 _ACEOF
42657 if ac_fn_cxx_try_compile "$LINENO"; then :
42658 glibcxx_cv_func_isnanf_use=yes
42659 else
42660 glibcxx_cv_func_isnanf_use=no
42662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42663 ac_ext=c
42664 ac_cpp='$CPP $CPPFLAGS'
42665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42674 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42676 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42677 for ac_func in isnanf
42678 do :
42679 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42680 if test "x$ac_cv_func_isnanf" = x""yes; then :
42681 cat >>confdefs.h <<_ACEOF
42682 #define HAVE_ISNANF 1
42683 _ACEOF
42686 done
42688 else
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42691 $as_echo_n "checking for _isnanf declaration... " >&6; }
42692 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42693 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42694 $as_echo_n "(cached) " >&6
42695 else
42698 ac_ext=cpp
42699 ac_cpp='$CXXCPP $CPPFLAGS'
42700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42705 /* end confdefs.h. */
42706 #include <math.h>
42707 #ifdef HAVE_IEEEFP_H
42708 #include <ieeefp.h>
42709 #endif
42712 main ()
42714 _isnanf(0);
42716 return 0;
42718 _ACEOF
42719 if ac_fn_cxx_try_compile "$LINENO"; then :
42720 glibcxx_cv_func__isnanf_use=yes
42721 else
42722 glibcxx_cv_func__isnanf_use=no
42724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42725 ac_ext=c
42726 ac_cpp='$CPP $CPPFLAGS'
42727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42736 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42738 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42739 for ac_func in _isnanf
42740 do :
42741 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42742 if test "x$ac_cv_func__isnanf" = x""yes; then :
42743 cat >>confdefs.h <<_ACEOF
42744 #define HAVE__ISNANF 1
42745 _ACEOF
42748 done
42757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42758 $as_echo_n "checking for isinff declaration... " >&6; }
42759 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42760 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42761 $as_echo_n "(cached) " >&6
42762 else
42765 ac_ext=cpp
42766 ac_cpp='$CXXCPP $CPPFLAGS'
42767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42772 /* end confdefs.h. */
42773 #include <math.h>
42774 #ifdef HAVE_IEEEFP_H
42775 #include <ieeefp.h>
42776 #endif
42779 main ()
42781 isinff(0);
42783 return 0;
42785 _ACEOF
42786 if ac_fn_cxx_try_compile "$LINENO"; then :
42787 glibcxx_cv_func_isinff_use=yes
42788 else
42789 glibcxx_cv_func_isinff_use=no
42791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42792 ac_ext=c
42793 ac_cpp='$CPP $CPPFLAGS'
42794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42803 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42805 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42806 for ac_func in isinff
42807 do :
42808 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42809 if test "x$ac_cv_func_isinff" = x""yes; then :
42810 cat >>confdefs.h <<_ACEOF
42811 #define HAVE_ISINFF 1
42812 _ACEOF
42815 done
42817 else
42819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42820 $as_echo_n "checking for _isinff declaration... " >&6; }
42821 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42822 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42823 $as_echo_n "(cached) " >&6
42824 else
42827 ac_ext=cpp
42828 ac_cpp='$CXXCPP $CPPFLAGS'
42829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42834 /* end confdefs.h. */
42835 #include <math.h>
42836 #ifdef HAVE_IEEEFP_H
42837 #include <ieeefp.h>
42838 #endif
42841 main ()
42843 _isinff(0);
42845 return 0;
42847 _ACEOF
42848 if ac_fn_cxx_try_compile "$LINENO"; then :
42849 glibcxx_cv_func__isinff_use=yes
42850 else
42851 glibcxx_cv_func__isinff_use=no
42853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42854 ac_ext=c
42855 ac_cpp='$CPP $CPPFLAGS'
42856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42865 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42867 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42868 for ac_func in _isinff
42869 do :
42870 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42871 if test "x$ac_cv_func__isinff" = x""yes; then :
42872 cat >>confdefs.h <<_ACEOF
42873 #define HAVE__ISINFF 1
42874 _ACEOF
42877 done
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42887 $as_echo_n "checking for atan2f declaration... " >&6; }
42888 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42889 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42890 $as_echo_n "(cached) " >&6
42891 else
42894 ac_ext=cpp
42895 ac_cpp='$CXXCPP $CPPFLAGS'
42896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42901 /* end confdefs.h. */
42902 #include <math.h>
42904 main ()
42906 atan2f(0, 0);
42908 return 0;
42910 _ACEOF
42911 if ac_fn_cxx_try_compile "$LINENO"; then :
42912 glibcxx_cv_func_atan2f_use=yes
42913 else
42914 glibcxx_cv_func_atan2f_use=no
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917 ac_ext=c
42918 ac_cpp='$CPP $CPPFLAGS'
42919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42928 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42930 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42931 for ac_func in atan2f
42932 do :
42933 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42934 if test "x$ac_cv_func_atan2f" = x""yes; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define HAVE_ATAN2F 1
42937 _ACEOF
42940 done
42942 else
42944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42945 $as_echo_n "checking for _atan2f declaration... " >&6; }
42946 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42947 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42948 $as_echo_n "(cached) " >&6
42949 else
42952 ac_ext=cpp
42953 ac_cpp='$CXXCPP $CPPFLAGS'
42954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42959 /* end confdefs.h. */
42960 #include <math.h>
42962 main ()
42964 _atan2f(0, 0);
42966 return 0;
42968 _ACEOF
42969 if ac_fn_cxx_try_compile "$LINENO"; then :
42970 glibcxx_cv_func__atan2f_use=yes
42971 else
42972 glibcxx_cv_func__atan2f_use=no
42974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42975 ac_ext=c
42976 ac_cpp='$CPP $CPPFLAGS'
42977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42986 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42988 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42989 for ac_func in _atan2f
42990 do :
42991 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42992 if test "x$ac_cv_func__atan2f" = x""yes; then :
42993 cat >>confdefs.h <<_ACEOF
42994 #define HAVE__ATAN2F 1
42995 _ACEOF
42998 done
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43008 $as_echo_n "checking for fabsf declaration... " >&6; }
43009 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43010 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
43011 $as_echo_n "(cached) " >&6
43012 else
43015 ac_ext=cpp
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43022 /* end confdefs.h. */
43023 #include <math.h>
43024 #ifdef HAVE_IEEEFP_H
43025 #include <ieeefp.h>
43026 #endif
43029 main ()
43031 fabsf(0);
43033 return 0;
43035 _ACEOF
43036 if ac_fn_cxx_try_compile "$LINENO"; then :
43037 glibcxx_cv_func_fabsf_use=yes
43038 else
43039 glibcxx_cv_func_fabsf_use=no
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042 ac_ext=c
43043 ac_cpp='$CPP $CPPFLAGS'
43044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43053 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43055 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43056 for ac_func in fabsf
43057 do :
43058 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43059 if test "x$ac_cv_func_fabsf" = x""yes; then :
43060 cat >>confdefs.h <<_ACEOF
43061 #define HAVE_FABSF 1
43062 _ACEOF
43065 done
43067 else
43069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43070 $as_echo_n "checking for _fabsf declaration... " >&6; }
43071 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43072 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
43073 $as_echo_n "(cached) " >&6
43074 else
43077 ac_ext=cpp
43078 ac_cpp='$CXXCPP $CPPFLAGS'
43079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43084 /* end confdefs.h. */
43085 #include <math.h>
43086 #ifdef HAVE_IEEEFP_H
43087 #include <ieeefp.h>
43088 #endif
43091 main ()
43093 _fabsf(0);
43095 return 0;
43097 _ACEOF
43098 if ac_fn_cxx_try_compile "$LINENO"; then :
43099 glibcxx_cv_func__fabsf_use=yes
43100 else
43101 glibcxx_cv_func__fabsf_use=no
43103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43104 ac_ext=c
43105 ac_cpp='$CPP $CPPFLAGS'
43106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43115 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43117 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43118 for ac_func in _fabsf
43119 do :
43120 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43121 if test "x$ac_cv_func__fabsf" = x""yes; then :
43122 cat >>confdefs.h <<_ACEOF
43123 #define HAVE__FABSF 1
43124 _ACEOF
43127 done
43136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43137 $as_echo_n "checking for fmodf declaration... " >&6; }
43138 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43139 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
43140 $as_echo_n "(cached) " >&6
43141 else
43144 ac_ext=cpp
43145 ac_cpp='$CXXCPP $CPPFLAGS'
43146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43151 /* end confdefs.h. */
43152 #include <math.h>
43154 main ()
43156 fmodf(0, 0);
43158 return 0;
43160 _ACEOF
43161 if ac_fn_cxx_try_compile "$LINENO"; then :
43162 glibcxx_cv_func_fmodf_use=yes
43163 else
43164 glibcxx_cv_func_fmodf_use=no
43166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43167 ac_ext=c
43168 ac_cpp='$CPP $CPPFLAGS'
43169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43178 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43180 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43181 for ac_func in fmodf
43182 do :
43183 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43184 if test "x$ac_cv_func_fmodf" = x""yes; then :
43185 cat >>confdefs.h <<_ACEOF
43186 #define HAVE_FMODF 1
43187 _ACEOF
43190 done
43192 else
43194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43195 $as_echo_n "checking for _fmodf declaration... " >&6; }
43196 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43197 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43198 $as_echo_n "(cached) " >&6
43199 else
43202 ac_ext=cpp
43203 ac_cpp='$CXXCPP $CPPFLAGS'
43204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43209 /* end confdefs.h. */
43210 #include <math.h>
43212 main ()
43214 _fmodf(0, 0);
43216 return 0;
43218 _ACEOF
43219 if ac_fn_cxx_try_compile "$LINENO"; then :
43220 glibcxx_cv_func__fmodf_use=yes
43221 else
43222 glibcxx_cv_func__fmodf_use=no
43224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43225 ac_ext=c
43226 ac_cpp='$CPP $CPPFLAGS'
43227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43236 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43238 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43239 for ac_func in _fmodf
43240 do :
43241 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43242 if test "x$ac_cv_func__fmodf" = x""yes; then :
43243 cat >>confdefs.h <<_ACEOF
43244 #define HAVE__FMODF 1
43245 _ACEOF
43248 done
43257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43258 $as_echo_n "checking for frexpf declaration... " >&6; }
43259 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43260 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43261 $as_echo_n "(cached) " >&6
43262 else
43265 ac_ext=cpp
43266 ac_cpp='$CXXCPP $CPPFLAGS'
43267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43272 /* end confdefs.h. */
43273 #include <math.h>
43275 main ()
43277 frexpf(0, 0);
43279 return 0;
43281 _ACEOF
43282 if ac_fn_cxx_try_compile "$LINENO"; then :
43283 glibcxx_cv_func_frexpf_use=yes
43284 else
43285 glibcxx_cv_func_frexpf_use=no
43287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43288 ac_ext=c
43289 ac_cpp='$CPP $CPPFLAGS'
43290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43299 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43301 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43302 for ac_func in frexpf
43303 do :
43304 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43305 if test "x$ac_cv_func_frexpf" = x""yes; then :
43306 cat >>confdefs.h <<_ACEOF
43307 #define HAVE_FREXPF 1
43308 _ACEOF
43311 done
43313 else
43315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43316 $as_echo_n "checking for _frexpf declaration... " >&6; }
43317 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43318 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43319 $as_echo_n "(cached) " >&6
43320 else
43323 ac_ext=cpp
43324 ac_cpp='$CXXCPP $CPPFLAGS'
43325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43330 /* end confdefs.h. */
43331 #include <math.h>
43333 main ()
43335 _frexpf(0, 0);
43337 return 0;
43339 _ACEOF
43340 if ac_fn_cxx_try_compile "$LINENO"; then :
43341 glibcxx_cv_func__frexpf_use=yes
43342 else
43343 glibcxx_cv_func__frexpf_use=no
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43346 ac_ext=c
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43357 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43359 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43360 for ac_func in _frexpf
43361 do :
43362 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43363 if test "x$ac_cv_func__frexpf" = x""yes; then :
43364 cat >>confdefs.h <<_ACEOF
43365 #define HAVE__FREXPF 1
43366 _ACEOF
43369 done
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43379 $as_echo_n "checking for hypotf declaration... " >&6; }
43380 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43381 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43382 $as_echo_n "(cached) " >&6
43383 else
43386 ac_ext=cpp
43387 ac_cpp='$CXXCPP $CPPFLAGS'
43388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43393 /* end confdefs.h. */
43394 #include <math.h>
43396 main ()
43398 hypotf(0, 0);
43400 return 0;
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func_hypotf_use=yes
43405 else
43406 glibcxx_cv_func_hypotf_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43420 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43422 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43423 for ac_func in hypotf
43424 do :
43425 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43426 if test "x$ac_cv_func_hypotf" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE_HYPOTF 1
43429 _ACEOF
43432 done
43434 else
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43437 $as_echo_n "checking for _hypotf declaration... " >&6; }
43438 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43439 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43440 $as_echo_n "(cached) " >&6
43441 else
43444 ac_ext=cpp
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h. */
43452 #include <math.h>
43454 main ()
43456 _hypotf(0, 0);
43458 return 0;
43460 _ACEOF
43461 if ac_fn_cxx_try_compile "$LINENO"; then :
43462 glibcxx_cv_func__hypotf_use=yes
43463 else
43464 glibcxx_cv_func__hypotf_use=no
43466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43467 ac_ext=c
43468 ac_cpp='$CPP $CPPFLAGS'
43469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43478 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43480 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43481 for ac_func in _hypotf
43482 do :
43483 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43484 if test "x$ac_cv_func__hypotf" = x""yes; then :
43485 cat >>confdefs.h <<_ACEOF
43486 #define HAVE__HYPOTF 1
43487 _ACEOF
43490 done
43499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43500 $as_echo_n "checking for ldexpf declaration... " >&6; }
43501 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43502 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43503 $as_echo_n "(cached) " >&6
43504 else
43507 ac_ext=cpp
43508 ac_cpp='$CXXCPP $CPPFLAGS'
43509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43514 /* end confdefs.h. */
43515 #include <math.h>
43517 main ()
43519 ldexpf(0, 0);
43521 return 0;
43523 _ACEOF
43524 if ac_fn_cxx_try_compile "$LINENO"; then :
43525 glibcxx_cv_func_ldexpf_use=yes
43526 else
43527 glibcxx_cv_func_ldexpf_use=no
43529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43530 ac_ext=c
43531 ac_cpp='$CPP $CPPFLAGS'
43532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43541 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43543 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43544 for ac_func in ldexpf
43545 do :
43546 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43547 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43548 cat >>confdefs.h <<_ACEOF
43549 #define HAVE_LDEXPF 1
43550 _ACEOF
43553 done
43555 else
43557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43558 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43559 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43560 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43561 $as_echo_n "(cached) " >&6
43562 else
43565 ac_ext=cpp
43566 ac_cpp='$CXXCPP $CPPFLAGS'
43567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43572 /* end confdefs.h. */
43573 #include <math.h>
43575 main ()
43577 _ldexpf(0, 0);
43579 return 0;
43581 _ACEOF
43582 if ac_fn_cxx_try_compile "$LINENO"; then :
43583 glibcxx_cv_func__ldexpf_use=yes
43584 else
43585 glibcxx_cv_func__ldexpf_use=no
43587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43588 ac_ext=c
43589 ac_cpp='$CPP $CPPFLAGS'
43590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43599 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43601 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43602 for ac_func in _ldexpf
43603 do :
43604 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43605 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43606 cat >>confdefs.h <<_ACEOF
43607 #define HAVE__LDEXPF 1
43608 _ACEOF
43611 done
43620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43621 $as_echo_n "checking for logf declaration... " >&6; }
43622 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43623 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43624 $as_echo_n "(cached) " >&6
43625 else
43628 ac_ext=cpp
43629 ac_cpp='$CXXCPP $CPPFLAGS'
43630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43635 /* end confdefs.h. */
43636 #include <math.h>
43637 #ifdef HAVE_IEEEFP_H
43638 #include <ieeefp.h>
43639 #endif
43642 main ()
43644 logf(0);
43646 return 0;
43648 _ACEOF
43649 if ac_fn_cxx_try_compile "$LINENO"; then :
43650 glibcxx_cv_func_logf_use=yes
43651 else
43652 glibcxx_cv_func_logf_use=no
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_ext=c
43656 ac_cpp='$CPP $CPPFLAGS'
43657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43666 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43668 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43669 for ac_func in logf
43670 do :
43671 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43672 if test "x$ac_cv_func_logf" = x""yes; then :
43673 cat >>confdefs.h <<_ACEOF
43674 #define HAVE_LOGF 1
43675 _ACEOF
43678 done
43680 else
43682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43683 $as_echo_n "checking for _logf declaration... " >&6; }
43684 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43685 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43686 $as_echo_n "(cached) " >&6
43687 else
43690 ac_ext=cpp
43691 ac_cpp='$CXXCPP $CPPFLAGS'
43692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43697 /* end confdefs.h. */
43698 #include <math.h>
43699 #ifdef HAVE_IEEEFP_H
43700 #include <ieeefp.h>
43701 #endif
43704 main ()
43706 _logf(0);
43708 return 0;
43710 _ACEOF
43711 if ac_fn_cxx_try_compile "$LINENO"; then :
43712 glibcxx_cv_func__logf_use=yes
43713 else
43714 glibcxx_cv_func__logf_use=no
43716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43717 ac_ext=c
43718 ac_cpp='$CPP $CPPFLAGS'
43719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43728 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43730 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43731 for ac_func in _logf
43732 do :
43733 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43734 if test "x$ac_cv_func__logf" = x""yes; then :
43735 cat >>confdefs.h <<_ACEOF
43736 #define HAVE__LOGF 1
43737 _ACEOF
43740 done
43749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43750 $as_echo_n "checking for log10f declaration... " >&6; }
43751 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43752 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43753 $as_echo_n "(cached) " >&6
43754 else
43757 ac_ext=cpp
43758 ac_cpp='$CXXCPP $CPPFLAGS'
43759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43764 /* end confdefs.h. */
43765 #include <math.h>
43766 #ifdef HAVE_IEEEFP_H
43767 #include <ieeefp.h>
43768 #endif
43771 main ()
43773 log10f(0);
43775 return 0;
43777 _ACEOF
43778 if ac_fn_cxx_try_compile "$LINENO"; then :
43779 glibcxx_cv_func_log10f_use=yes
43780 else
43781 glibcxx_cv_func_log10f_use=no
43783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43784 ac_ext=c
43785 ac_cpp='$CPP $CPPFLAGS'
43786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43795 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43797 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43798 for ac_func in log10f
43799 do :
43800 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43801 if test "x$ac_cv_func_log10f" = x""yes; then :
43802 cat >>confdefs.h <<_ACEOF
43803 #define HAVE_LOG10F 1
43804 _ACEOF
43807 done
43809 else
43811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43812 $as_echo_n "checking for _log10f declaration... " >&6; }
43813 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43814 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43815 $as_echo_n "(cached) " >&6
43816 else
43819 ac_ext=cpp
43820 ac_cpp='$CXXCPP $CPPFLAGS'
43821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43826 /* end confdefs.h. */
43827 #include <math.h>
43828 #ifdef HAVE_IEEEFP_H
43829 #include <ieeefp.h>
43830 #endif
43833 main ()
43835 _log10f(0);
43837 return 0;
43839 _ACEOF
43840 if ac_fn_cxx_try_compile "$LINENO"; then :
43841 glibcxx_cv_func__log10f_use=yes
43842 else
43843 glibcxx_cv_func__log10f_use=no
43845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 ac_ext=c
43847 ac_cpp='$CPP $CPPFLAGS'
43848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43857 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43859 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43860 for ac_func in _log10f
43861 do :
43862 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43863 if test "x$ac_cv_func__log10f" = x""yes; then :
43864 cat >>confdefs.h <<_ACEOF
43865 #define HAVE__LOG10F 1
43866 _ACEOF
43869 done
43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43879 $as_echo_n "checking for modff declaration... " >&6; }
43880 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43881 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43882 $as_echo_n "(cached) " >&6
43883 else
43886 ac_ext=cpp
43887 ac_cpp='$CXXCPP $CPPFLAGS'
43888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43893 /* end confdefs.h. */
43894 #include <math.h>
43896 main ()
43898 modff(0, 0);
43900 return 0;
43902 _ACEOF
43903 if ac_fn_cxx_try_compile "$LINENO"; then :
43904 glibcxx_cv_func_modff_use=yes
43905 else
43906 glibcxx_cv_func_modff_use=no
43908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43909 ac_ext=c
43910 ac_cpp='$CPP $CPPFLAGS'
43911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43920 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43922 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43923 for ac_func in modff
43924 do :
43925 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43926 if test "x$ac_cv_func_modff" = x""yes; then :
43927 cat >>confdefs.h <<_ACEOF
43928 #define HAVE_MODFF 1
43929 _ACEOF
43932 done
43934 else
43936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43937 $as_echo_n "checking for _modff declaration... " >&6; }
43938 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43939 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43940 $as_echo_n "(cached) " >&6
43941 else
43944 ac_ext=cpp
43945 ac_cpp='$CXXCPP $CPPFLAGS'
43946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43951 /* end confdefs.h. */
43952 #include <math.h>
43954 main ()
43956 _modff(0, 0);
43958 return 0;
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func__modff_use=yes
43963 else
43964 glibcxx_cv_func__modff_use=no
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43978 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43980 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43981 for ac_func in _modff
43982 do :
43983 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43984 if test "x$ac_cv_func__modff" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE__MODFF 1
43987 _ACEOF
43990 done
43999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44000 $as_echo_n "checking for modf declaration... " >&6; }
44001 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44002 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
44003 $as_echo_n "(cached) " >&6
44004 else
44007 ac_ext=cpp
44008 ac_cpp='$CXXCPP $CPPFLAGS'
44009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44014 /* end confdefs.h. */
44015 #include <math.h>
44017 main ()
44019 modf(0, 0);
44021 return 0;
44023 _ACEOF
44024 if ac_fn_cxx_try_compile "$LINENO"; then :
44025 glibcxx_cv_func_modf_use=yes
44026 else
44027 glibcxx_cv_func_modf_use=no
44029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44030 ac_ext=c
44031 ac_cpp='$CPP $CPPFLAGS'
44032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44041 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44043 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44044 for ac_func in modf
44045 do :
44046 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44047 if test "x$ac_cv_func_modf" = x""yes; then :
44048 cat >>confdefs.h <<_ACEOF
44049 #define HAVE_MODF 1
44050 _ACEOF
44053 done
44055 else
44057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44058 $as_echo_n "checking for _modf declaration... " >&6; }
44059 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44060 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
44061 $as_echo_n "(cached) " >&6
44062 else
44065 ac_ext=cpp
44066 ac_cpp='$CXXCPP $CPPFLAGS'
44067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44072 /* end confdefs.h. */
44073 #include <math.h>
44075 main ()
44077 _modf(0, 0);
44079 return 0;
44081 _ACEOF
44082 if ac_fn_cxx_try_compile "$LINENO"; then :
44083 glibcxx_cv_func__modf_use=yes
44084 else
44085 glibcxx_cv_func__modf_use=no
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44088 ac_ext=c
44089 ac_cpp='$CPP $CPPFLAGS'
44090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44099 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44101 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44102 for ac_func in _modf
44103 do :
44104 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44105 if test "x$ac_cv_func__modf" = x""yes; then :
44106 cat >>confdefs.h <<_ACEOF
44107 #define HAVE__MODF 1
44108 _ACEOF
44111 done
44120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44121 $as_echo_n "checking for powf declaration... " >&6; }
44122 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44123 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
44124 $as_echo_n "(cached) " >&6
44125 else
44128 ac_ext=cpp
44129 ac_cpp='$CXXCPP $CPPFLAGS'
44130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44135 /* end confdefs.h. */
44136 #include <math.h>
44138 main ()
44140 powf(0, 0);
44142 return 0;
44144 _ACEOF
44145 if ac_fn_cxx_try_compile "$LINENO"; then :
44146 glibcxx_cv_func_powf_use=yes
44147 else
44148 glibcxx_cv_func_powf_use=no
44150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44151 ac_ext=c
44152 ac_cpp='$CPP $CPPFLAGS'
44153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44162 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44164 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44165 for ac_func in powf
44166 do :
44167 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44168 if test "x$ac_cv_func_powf" = x""yes; then :
44169 cat >>confdefs.h <<_ACEOF
44170 #define HAVE_POWF 1
44171 _ACEOF
44174 done
44176 else
44178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44179 $as_echo_n "checking for _powf declaration... " >&6; }
44180 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44181 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44182 $as_echo_n "(cached) " >&6
44183 else
44186 ac_ext=cpp
44187 ac_cpp='$CXXCPP $CPPFLAGS'
44188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44193 /* end confdefs.h. */
44194 #include <math.h>
44196 main ()
44198 _powf(0, 0);
44200 return 0;
44202 _ACEOF
44203 if ac_fn_cxx_try_compile "$LINENO"; then :
44204 glibcxx_cv_func__powf_use=yes
44205 else
44206 glibcxx_cv_func__powf_use=no
44208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44209 ac_ext=c
44210 ac_cpp='$CPP $CPPFLAGS'
44211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44220 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44222 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44223 for ac_func in _powf
44224 do :
44225 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44226 if test "x$ac_cv_func__powf" = x""yes; then :
44227 cat >>confdefs.h <<_ACEOF
44228 #define HAVE__POWF 1
44229 _ACEOF
44232 done
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44242 $as_echo_n "checking for sqrtf declaration... " >&6; }
44243 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44244 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44245 $as_echo_n "(cached) " >&6
44246 else
44249 ac_ext=cpp
44250 ac_cpp='$CXXCPP $CPPFLAGS'
44251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44256 /* end confdefs.h. */
44257 #include <math.h>
44258 #ifdef HAVE_IEEEFP_H
44259 #include <ieeefp.h>
44260 #endif
44263 main ()
44265 sqrtf(0);
44267 return 0;
44269 _ACEOF
44270 if ac_fn_cxx_try_compile "$LINENO"; then :
44271 glibcxx_cv_func_sqrtf_use=yes
44272 else
44273 glibcxx_cv_func_sqrtf_use=no
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276 ac_ext=c
44277 ac_cpp='$CPP $CPPFLAGS'
44278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44287 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44289 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44290 for ac_func in sqrtf
44291 do :
44292 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44293 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44294 cat >>confdefs.h <<_ACEOF
44295 #define HAVE_SQRTF 1
44296 _ACEOF
44299 done
44301 else
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44304 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44305 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44306 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44307 $as_echo_n "(cached) " >&6
44308 else
44311 ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h. */
44319 #include <math.h>
44320 #ifdef HAVE_IEEEFP_H
44321 #include <ieeefp.h>
44322 #endif
44325 main ()
44327 _sqrtf(0);
44329 return 0;
44331 _ACEOF
44332 if ac_fn_cxx_try_compile "$LINENO"; then :
44333 glibcxx_cv_func__sqrtf_use=yes
44334 else
44335 glibcxx_cv_func__sqrtf_use=no
44337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338 ac_ext=c
44339 ac_cpp='$CPP $CPPFLAGS'
44340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44349 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44351 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44352 for ac_func in _sqrtf
44353 do :
44354 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44355 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44356 cat >>confdefs.h <<_ACEOF
44357 #define HAVE__SQRTF 1
44358 _ACEOF
44361 done
44370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44371 $as_echo_n "checking for sincosf declaration... " >&6; }
44372 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44373 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44374 $as_echo_n "(cached) " >&6
44375 else
44378 ac_ext=cpp
44379 ac_cpp='$CXXCPP $CPPFLAGS'
44380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44385 /* end confdefs.h. */
44386 #include <math.h>
44388 main ()
44390 sincosf(0, 0, 0);
44392 return 0;
44394 _ACEOF
44395 if ac_fn_cxx_try_compile "$LINENO"; then :
44396 glibcxx_cv_func_sincosf_use=yes
44397 else
44398 glibcxx_cv_func_sincosf_use=no
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401 ac_ext=c
44402 ac_cpp='$CPP $CPPFLAGS'
44403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44412 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44414 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44415 for ac_func in sincosf
44416 do :
44417 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44418 if test "x$ac_cv_func_sincosf" = x""yes; then :
44419 cat >>confdefs.h <<_ACEOF
44420 #define HAVE_SINCOSF 1
44421 _ACEOF
44424 done
44426 else
44428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44429 $as_echo_n "checking for _sincosf declaration... " >&6; }
44430 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44431 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44432 $as_echo_n "(cached) " >&6
44433 else
44436 ac_ext=cpp
44437 ac_cpp='$CXXCPP $CPPFLAGS'
44438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44443 /* end confdefs.h. */
44444 #include <math.h>
44446 main ()
44448 _sincosf(0, 0, 0);
44450 return 0;
44452 _ACEOF
44453 if ac_fn_cxx_try_compile "$LINENO"; then :
44454 glibcxx_cv_func__sincosf_use=yes
44455 else
44456 glibcxx_cv_func__sincosf_use=no
44458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44459 ac_ext=c
44460 ac_cpp='$CPP $CPPFLAGS'
44461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44470 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44472 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44473 for ac_func in _sincosf
44474 do :
44475 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44476 if test "x$ac_cv_func__sincosf" = x""yes; then :
44477 cat >>confdefs.h <<_ACEOF
44478 #define HAVE__SINCOSF 1
44479 _ACEOF
44482 done
44491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44492 $as_echo_n "checking for finitef declaration... " >&6; }
44493 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44494 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44495 $as_echo_n "(cached) " >&6
44496 else
44499 ac_ext=cpp
44500 ac_cpp='$CXXCPP $CPPFLAGS'
44501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44506 /* end confdefs.h. */
44507 #include <math.h>
44508 #ifdef HAVE_IEEEFP_H
44509 #include <ieeefp.h>
44510 #endif
44513 main ()
44515 finitef(0);
44517 return 0;
44519 _ACEOF
44520 if ac_fn_cxx_try_compile "$LINENO"; then :
44521 glibcxx_cv_func_finitef_use=yes
44522 else
44523 glibcxx_cv_func_finitef_use=no
44525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44526 ac_ext=c
44527 ac_cpp='$CPP $CPPFLAGS'
44528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44537 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44539 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44540 for ac_func in finitef
44541 do :
44542 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44543 if test "x$ac_cv_func_finitef" = x""yes; then :
44544 cat >>confdefs.h <<_ACEOF
44545 #define HAVE_FINITEF 1
44546 _ACEOF
44549 done
44551 else
44553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44554 $as_echo_n "checking for _finitef declaration... " >&6; }
44555 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44556 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44557 $as_echo_n "(cached) " >&6
44558 else
44561 ac_ext=cpp
44562 ac_cpp='$CXXCPP $CPPFLAGS'
44563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44568 /* end confdefs.h. */
44569 #include <math.h>
44570 #ifdef HAVE_IEEEFP_H
44571 #include <ieeefp.h>
44572 #endif
44575 main ()
44577 _finitef(0);
44579 return 0;
44581 _ACEOF
44582 if ac_fn_cxx_try_compile "$LINENO"; then :
44583 glibcxx_cv_func__finitef_use=yes
44584 else
44585 glibcxx_cv_func__finitef_use=no
44587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44588 ac_ext=c
44589 ac_cpp='$CPP $CPPFLAGS'
44590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44599 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44601 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44602 for ac_func in _finitef
44603 do :
44604 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44605 if test "x$ac_cv_func__finitef" = x""yes; then :
44606 cat >>confdefs.h <<_ACEOF
44607 #define HAVE__FINITEF 1
44608 _ACEOF
44611 done
44620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44621 $as_echo_n "checking for long double trig functions... " >&6; }
44622 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44623 $as_echo_n "(cached) " >&6
44624 else
44627 ac_ext=cpp
44628 ac_cpp='$CXXCPP $CPPFLAGS'
44629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44634 /* end confdefs.h. */
44635 #include <math.h>
44637 main ()
44639 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44641 return 0;
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func_long_double_trig_use=yes
44646 else
44647 glibcxx_cv_func_long_double_trig_use=no
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44659 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44660 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44661 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44662 do :
44663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44665 eval as_val=\$$as_ac_var
44666 if test "x$as_val" = x""yes; then :
44667 cat >>confdefs.h <<_ACEOF
44668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44669 _ACEOF
44672 done
44674 else
44675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44676 $as_echo_n "checking for _long double trig functions... " >&6; }
44677 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44678 $as_echo_n "(cached) " >&6
44679 else
44682 ac_ext=cpp
44683 ac_cpp='$CXXCPP $CPPFLAGS'
44684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h. */
44690 #include <math.h>
44692 main ()
44694 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44696 return 0;
44698 _ACEOF
44699 if ac_fn_cxx_try_compile "$LINENO"; then :
44700 glibcxx_cv_func__long_double_trig_use=yes
44701 else
44702 glibcxx_cv_func__long_double_trig_use=no
44704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44705 ac_ext=c
44706 ac_cpp='$CPP $CPPFLAGS'
44707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44714 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44715 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44716 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44717 do :
44718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44720 eval as_val=\$$as_ac_var
44721 if test "x$as_val" = x""yes; then :
44722 cat >>confdefs.h <<_ACEOF
44723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44724 _ACEOF
44727 done
44736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44737 $as_echo_n "checking for long double round functions... " >&6; }
44738 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44739 $as_echo_n "(cached) " >&6
44740 else
44743 ac_ext=cpp
44744 ac_cpp='$CXXCPP $CPPFLAGS'
44745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44750 /* end confdefs.h. */
44751 #include <math.h>
44753 main ()
44755 ceill (0); floorl (0);
44757 return 0;
44759 _ACEOF
44760 if ac_fn_cxx_try_compile "$LINENO"; then :
44761 glibcxx_cv_func_long_double_round_use=yes
44762 else
44763 glibcxx_cv_func_long_double_round_use=no
44765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44766 ac_ext=c
44767 ac_cpp='$CPP $CPPFLAGS'
44768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44775 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44776 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44777 for ac_func in ceill floorl
44778 do :
44779 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44780 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44781 eval as_val=\$$as_ac_var
44782 if test "x$as_val" = x""yes; then :
44783 cat >>confdefs.h <<_ACEOF
44784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44785 _ACEOF
44788 done
44790 else
44791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44792 $as_echo_n "checking for _long double round functions... " >&6; }
44793 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44794 $as_echo_n "(cached) " >&6
44795 else
44798 ac_ext=cpp
44799 ac_cpp='$CXXCPP $CPPFLAGS'
44800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44805 /* end confdefs.h. */
44806 #include <math.h>
44808 main ()
44810 _ceill (0); _floorl (0);
44812 return 0;
44814 _ACEOF
44815 if ac_fn_cxx_try_compile "$LINENO"; then :
44816 glibcxx_cv_func__long_double_round_use=yes
44817 else
44818 glibcxx_cv_func__long_double_round_use=no
44820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44821 ac_ext=c
44822 ac_cpp='$CPP $CPPFLAGS'
44823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44830 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44831 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44832 for ac_func in _ceill _floorl
44833 do :
44834 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44835 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44836 eval as_val=\$$as_ac_var
44837 if test "x$as_val" = x""yes; then :
44838 cat >>confdefs.h <<_ACEOF
44839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44840 _ACEOF
44843 done
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44854 $as_echo_n "checking for isnanl declaration... " >&6; }
44855 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44856 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44857 $as_echo_n "(cached) " >&6
44858 else
44861 ac_ext=cpp
44862 ac_cpp='$CXXCPP $CPPFLAGS'
44863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44868 /* end confdefs.h. */
44869 #include <math.h>
44870 #ifdef HAVE_IEEEFP_H
44871 #include <ieeefp.h>
44872 #endif
44875 main ()
44877 isnanl(0);
44879 return 0;
44881 _ACEOF
44882 if ac_fn_cxx_try_compile "$LINENO"; then :
44883 glibcxx_cv_func_isnanl_use=yes
44884 else
44885 glibcxx_cv_func_isnanl_use=no
44887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44888 ac_ext=c
44889 ac_cpp='$CPP $CPPFLAGS'
44890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44899 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44901 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44902 for ac_func in isnanl
44903 do :
44904 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44905 if test "x$ac_cv_func_isnanl" = x""yes; then :
44906 cat >>confdefs.h <<_ACEOF
44907 #define HAVE_ISNANL 1
44908 _ACEOF
44911 done
44913 else
44915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44916 $as_echo_n "checking for _isnanl declaration... " >&6; }
44917 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44918 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44919 $as_echo_n "(cached) " >&6
44920 else
44923 ac_ext=cpp
44924 ac_cpp='$CXXCPP $CPPFLAGS'
44925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44930 /* end confdefs.h. */
44931 #include <math.h>
44932 #ifdef HAVE_IEEEFP_H
44933 #include <ieeefp.h>
44934 #endif
44937 main ()
44939 _isnanl(0);
44941 return 0;
44943 _ACEOF
44944 if ac_fn_cxx_try_compile "$LINENO"; then :
44945 glibcxx_cv_func__isnanl_use=yes
44946 else
44947 glibcxx_cv_func__isnanl_use=no
44949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44950 ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44961 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44963 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44964 for ac_func in _isnanl
44965 do :
44966 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44967 if test "x$ac_cv_func__isnanl" = x""yes; then :
44968 cat >>confdefs.h <<_ACEOF
44969 #define HAVE__ISNANL 1
44970 _ACEOF
44973 done
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44983 $as_echo_n "checking for isinfl declaration... " >&6; }
44984 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44985 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44986 $as_echo_n "(cached) " >&6
44987 else
44990 ac_ext=cpp
44991 ac_cpp='$CXXCPP $CPPFLAGS'
44992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44997 /* end confdefs.h. */
44998 #include <math.h>
44999 #ifdef HAVE_IEEEFP_H
45000 #include <ieeefp.h>
45001 #endif
45004 main ()
45006 isinfl(0);
45008 return 0;
45010 _ACEOF
45011 if ac_fn_cxx_try_compile "$LINENO"; then :
45012 glibcxx_cv_func_isinfl_use=yes
45013 else
45014 glibcxx_cv_func_isinfl_use=no
45016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45017 ac_ext=c
45018 ac_cpp='$CPP $CPPFLAGS'
45019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45028 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45030 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45031 for ac_func in isinfl
45032 do :
45033 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45034 if test "x$ac_cv_func_isinfl" = x""yes; then :
45035 cat >>confdefs.h <<_ACEOF
45036 #define HAVE_ISINFL 1
45037 _ACEOF
45040 done
45042 else
45044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45045 $as_echo_n "checking for _isinfl declaration... " >&6; }
45046 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45047 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
45048 $as_echo_n "(cached) " >&6
45049 else
45052 ac_ext=cpp
45053 ac_cpp='$CXXCPP $CPPFLAGS'
45054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45059 /* end confdefs.h. */
45060 #include <math.h>
45061 #ifdef HAVE_IEEEFP_H
45062 #include <ieeefp.h>
45063 #endif
45066 main ()
45068 _isinfl(0);
45070 return 0;
45072 _ACEOF
45073 if ac_fn_cxx_try_compile "$LINENO"; then :
45074 glibcxx_cv_func__isinfl_use=yes
45075 else
45076 glibcxx_cv_func__isinfl_use=no
45078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45079 ac_ext=c
45080 ac_cpp='$CPP $CPPFLAGS'
45081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45090 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45092 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45093 for ac_func in _isinfl
45094 do :
45095 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45096 if test "x$ac_cv_func__isinfl" = x""yes; then :
45097 cat >>confdefs.h <<_ACEOF
45098 #define HAVE__ISINFL 1
45099 _ACEOF
45102 done
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45112 $as_echo_n "checking for atan2l declaration... " >&6; }
45113 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45114 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
45115 $as_echo_n "(cached) " >&6
45116 else
45119 ac_ext=cpp
45120 ac_cpp='$CXXCPP $CPPFLAGS'
45121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45126 /* end confdefs.h. */
45127 #include <math.h>
45129 main ()
45131 atan2l(0, 0);
45133 return 0;
45135 _ACEOF
45136 if ac_fn_cxx_try_compile "$LINENO"; then :
45137 glibcxx_cv_func_atan2l_use=yes
45138 else
45139 glibcxx_cv_func_atan2l_use=no
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45153 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45155 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45156 for ac_func in atan2l
45157 do :
45158 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45159 if test "x$ac_cv_func_atan2l" = x""yes; then :
45160 cat >>confdefs.h <<_ACEOF
45161 #define HAVE_ATAN2L 1
45162 _ACEOF
45165 done
45167 else
45169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45170 $as_echo_n "checking for _atan2l declaration... " >&6; }
45171 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45172 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45173 $as_echo_n "(cached) " >&6
45174 else
45177 ac_ext=cpp
45178 ac_cpp='$CXXCPP $CPPFLAGS'
45179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45184 /* end confdefs.h. */
45185 #include <math.h>
45187 main ()
45189 _atan2l(0, 0);
45191 return 0;
45193 _ACEOF
45194 if ac_fn_cxx_try_compile "$LINENO"; then :
45195 glibcxx_cv_func__atan2l_use=yes
45196 else
45197 glibcxx_cv_func__atan2l_use=no
45199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45200 ac_ext=c
45201 ac_cpp='$CPP $CPPFLAGS'
45202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45211 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45213 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45214 for ac_func in _atan2l
45215 do :
45216 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45217 if test "x$ac_cv_func__atan2l" = x""yes; then :
45218 cat >>confdefs.h <<_ACEOF
45219 #define HAVE__ATAN2L 1
45220 _ACEOF
45223 done
45232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45233 $as_echo_n "checking for expl declaration... " >&6; }
45234 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45235 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45236 $as_echo_n "(cached) " >&6
45237 else
45240 ac_ext=cpp
45241 ac_cpp='$CXXCPP $CPPFLAGS'
45242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45247 /* end confdefs.h. */
45248 #include <math.h>
45249 #ifdef HAVE_IEEEFP_H
45250 #include <ieeefp.h>
45251 #endif
45254 main ()
45256 expl(0);
45258 return 0;
45260 _ACEOF
45261 if ac_fn_cxx_try_compile "$LINENO"; then :
45262 glibcxx_cv_func_expl_use=yes
45263 else
45264 glibcxx_cv_func_expl_use=no
45266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45267 ac_ext=c
45268 ac_cpp='$CPP $CPPFLAGS'
45269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45278 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45280 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45281 for ac_func in expl
45282 do :
45283 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45284 if test "x$ac_cv_func_expl" = x""yes; then :
45285 cat >>confdefs.h <<_ACEOF
45286 #define HAVE_EXPL 1
45287 _ACEOF
45290 done
45292 else
45294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45295 $as_echo_n "checking for _expl declaration... " >&6; }
45296 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45297 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45298 $as_echo_n "(cached) " >&6
45299 else
45302 ac_ext=cpp
45303 ac_cpp='$CXXCPP $CPPFLAGS'
45304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45309 /* end confdefs.h. */
45310 #include <math.h>
45311 #ifdef HAVE_IEEEFP_H
45312 #include <ieeefp.h>
45313 #endif
45316 main ()
45318 _expl(0);
45320 return 0;
45322 _ACEOF
45323 if ac_fn_cxx_try_compile "$LINENO"; then :
45324 glibcxx_cv_func__expl_use=yes
45325 else
45326 glibcxx_cv_func__expl_use=no
45328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45329 ac_ext=c
45330 ac_cpp='$CPP $CPPFLAGS'
45331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45340 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45342 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45343 for ac_func in _expl
45344 do :
45345 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45346 if test "x$ac_cv_func__expl" = x""yes; then :
45347 cat >>confdefs.h <<_ACEOF
45348 #define HAVE__EXPL 1
45349 _ACEOF
45352 done
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45362 $as_echo_n "checking for fabsl declaration... " >&6; }
45363 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45364 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45365 $as_echo_n "(cached) " >&6
45366 else
45369 ac_ext=cpp
45370 ac_cpp='$CXXCPP $CPPFLAGS'
45371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h. */
45377 #include <math.h>
45378 #ifdef HAVE_IEEEFP_H
45379 #include <ieeefp.h>
45380 #endif
45383 main ()
45385 fabsl(0);
45387 return 0;
45389 _ACEOF
45390 if ac_fn_cxx_try_compile "$LINENO"; then :
45391 glibcxx_cv_func_fabsl_use=yes
45392 else
45393 glibcxx_cv_func_fabsl_use=no
45395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45396 ac_ext=c
45397 ac_cpp='$CPP $CPPFLAGS'
45398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45407 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45409 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45410 for ac_func in fabsl
45411 do :
45412 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45413 if test "x$ac_cv_func_fabsl" = x""yes; then :
45414 cat >>confdefs.h <<_ACEOF
45415 #define HAVE_FABSL 1
45416 _ACEOF
45419 done
45421 else
45423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45424 $as_echo_n "checking for _fabsl declaration... " >&6; }
45425 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45426 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45427 $as_echo_n "(cached) " >&6
45428 else
45431 ac_ext=cpp
45432 ac_cpp='$CXXCPP $CPPFLAGS'
45433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45438 /* end confdefs.h. */
45439 #include <math.h>
45440 #ifdef HAVE_IEEEFP_H
45441 #include <ieeefp.h>
45442 #endif
45445 main ()
45447 _fabsl(0);
45449 return 0;
45451 _ACEOF
45452 if ac_fn_cxx_try_compile "$LINENO"; then :
45453 glibcxx_cv_func__fabsl_use=yes
45454 else
45455 glibcxx_cv_func__fabsl_use=no
45457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45458 ac_ext=c
45459 ac_cpp='$CPP $CPPFLAGS'
45460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45469 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45471 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45472 for ac_func in _fabsl
45473 do :
45474 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45475 if test "x$ac_cv_func__fabsl" = x""yes; then :
45476 cat >>confdefs.h <<_ACEOF
45477 #define HAVE__FABSL 1
45478 _ACEOF
45481 done
45490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45491 $as_echo_n "checking for fmodl declaration... " >&6; }
45492 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45493 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45494 $as_echo_n "(cached) " >&6
45495 else
45498 ac_ext=cpp
45499 ac_cpp='$CXXCPP $CPPFLAGS'
45500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45505 /* end confdefs.h. */
45506 #include <math.h>
45508 main ()
45510 fmodl(0, 0);
45512 return 0;
45514 _ACEOF
45515 if ac_fn_cxx_try_compile "$LINENO"; then :
45516 glibcxx_cv_func_fmodl_use=yes
45517 else
45518 glibcxx_cv_func_fmodl_use=no
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45532 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45534 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45535 for ac_func in fmodl
45536 do :
45537 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45538 if test "x$ac_cv_func_fmodl" = x""yes; then :
45539 cat >>confdefs.h <<_ACEOF
45540 #define HAVE_FMODL 1
45541 _ACEOF
45544 done
45546 else
45548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45549 $as_echo_n "checking for _fmodl declaration... " >&6; }
45550 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45551 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45552 $as_echo_n "(cached) " >&6
45553 else
45556 ac_ext=cpp
45557 ac_cpp='$CXXCPP $CPPFLAGS'
45558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45563 /* end confdefs.h. */
45564 #include <math.h>
45566 main ()
45568 _fmodl(0, 0);
45570 return 0;
45572 _ACEOF
45573 if ac_fn_cxx_try_compile "$LINENO"; then :
45574 glibcxx_cv_func__fmodl_use=yes
45575 else
45576 glibcxx_cv_func__fmodl_use=no
45578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45579 ac_ext=c
45580 ac_cpp='$CPP $CPPFLAGS'
45581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45590 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45592 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45593 for ac_func in _fmodl
45594 do :
45595 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45596 if test "x$ac_cv_func__fmodl" = x""yes; then :
45597 cat >>confdefs.h <<_ACEOF
45598 #define HAVE__FMODL 1
45599 _ACEOF
45602 done
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45612 $as_echo_n "checking for frexpl declaration... " >&6; }
45613 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45614 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45615 $as_echo_n "(cached) " >&6
45616 else
45619 ac_ext=cpp
45620 ac_cpp='$CXXCPP $CPPFLAGS'
45621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45626 /* end confdefs.h. */
45627 #include <math.h>
45629 main ()
45631 frexpl(0, 0);
45633 return 0;
45635 _ACEOF
45636 if ac_fn_cxx_try_compile "$LINENO"; then :
45637 glibcxx_cv_func_frexpl_use=yes
45638 else
45639 glibcxx_cv_func_frexpl_use=no
45641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45642 ac_ext=c
45643 ac_cpp='$CPP $CPPFLAGS'
45644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45653 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45655 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45656 for ac_func in frexpl
45657 do :
45658 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45659 if test "x$ac_cv_func_frexpl" = x""yes; then :
45660 cat >>confdefs.h <<_ACEOF
45661 #define HAVE_FREXPL 1
45662 _ACEOF
45665 done
45667 else
45669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45670 $as_echo_n "checking for _frexpl declaration... " >&6; }
45671 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45672 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45673 $as_echo_n "(cached) " >&6
45674 else
45677 ac_ext=cpp
45678 ac_cpp='$CXXCPP $CPPFLAGS'
45679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45684 /* end confdefs.h. */
45685 #include <math.h>
45687 main ()
45689 _frexpl(0, 0);
45691 return 0;
45693 _ACEOF
45694 if ac_fn_cxx_try_compile "$LINENO"; then :
45695 glibcxx_cv_func__frexpl_use=yes
45696 else
45697 glibcxx_cv_func__frexpl_use=no
45699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45700 ac_ext=c
45701 ac_cpp='$CPP $CPPFLAGS'
45702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45711 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45713 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45714 for ac_func in _frexpl
45715 do :
45716 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45717 if test "x$ac_cv_func__frexpl" = x""yes; then :
45718 cat >>confdefs.h <<_ACEOF
45719 #define HAVE__FREXPL 1
45720 _ACEOF
45723 done
45732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45733 $as_echo_n "checking for hypotl declaration... " >&6; }
45734 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45735 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45736 $as_echo_n "(cached) " >&6
45737 else
45740 ac_ext=cpp
45741 ac_cpp='$CXXCPP $CPPFLAGS'
45742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45747 /* end confdefs.h. */
45748 #include <math.h>
45750 main ()
45752 hypotl(0, 0);
45754 return 0;
45756 _ACEOF
45757 if ac_fn_cxx_try_compile "$LINENO"; then :
45758 glibcxx_cv_func_hypotl_use=yes
45759 else
45760 glibcxx_cv_func_hypotl_use=no
45762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45763 ac_ext=c
45764 ac_cpp='$CPP $CPPFLAGS'
45765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45774 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45776 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45777 for ac_func in hypotl
45778 do :
45779 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45780 if test "x$ac_cv_func_hypotl" = x""yes; then :
45781 cat >>confdefs.h <<_ACEOF
45782 #define HAVE_HYPOTL 1
45783 _ACEOF
45786 done
45788 else
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45791 $as_echo_n "checking for _hypotl declaration... " >&6; }
45792 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45793 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45794 $as_echo_n "(cached) " >&6
45795 else
45798 ac_ext=cpp
45799 ac_cpp='$CXXCPP $CPPFLAGS'
45800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45805 /* end confdefs.h. */
45806 #include <math.h>
45808 main ()
45810 _hypotl(0, 0);
45812 return 0;
45814 _ACEOF
45815 if ac_fn_cxx_try_compile "$LINENO"; then :
45816 glibcxx_cv_func__hypotl_use=yes
45817 else
45818 glibcxx_cv_func__hypotl_use=no
45820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45821 ac_ext=c
45822 ac_cpp='$CPP $CPPFLAGS'
45823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45832 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45834 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45835 for ac_func in _hypotl
45836 do :
45837 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45838 if test "x$ac_cv_func__hypotl" = x""yes; then :
45839 cat >>confdefs.h <<_ACEOF
45840 #define HAVE__HYPOTL 1
45841 _ACEOF
45844 done
45853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45854 $as_echo_n "checking for ldexpl declaration... " >&6; }
45855 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45856 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45857 $as_echo_n "(cached) " >&6
45858 else
45861 ac_ext=cpp
45862 ac_cpp='$CXXCPP $CPPFLAGS'
45863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45868 /* end confdefs.h. */
45869 #include <math.h>
45871 main ()
45873 ldexpl(0, 0);
45875 return 0;
45877 _ACEOF
45878 if ac_fn_cxx_try_compile "$LINENO"; then :
45879 glibcxx_cv_func_ldexpl_use=yes
45880 else
45881 glibcxx_cv_func_ldexpl_use=no
45883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45884 ac_ext=c
45885 ac_cpp='$CPP $CPPFLAGS'
45886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45895 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45897 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45898 for ac_func in ldexpl
45899 do :
45900 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45901 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45902 cat >>confdefs.h <<_ACEOF
45903 #define HAVE_LDEXPL 1
45904 _ACEOF
45907 done
45909 else
45911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45912 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45913 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45914 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45915 $as_echo_n "(cached) " >&6
45916 else
45919 ac_ext=cpp
45920 ac_cpp='$CXXCPP $CPPFLAGS'
45921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45926 /* end confdefs.h. */
45927 #include <math.h>
45929 main ()
45931 _ldexpl(0, 0);
45933 return 0;
45935 _ACEOF
45936 if ac_fn_cxx_try_compile "$LINENO"; then :
45937 glibcxx_cv_func__ldexpl_use=yes
45938 else
45939 glibcxx_cv_func__ldexpl_use=no
45941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45942 ac_ext=c
45943 ac_cpp='$CPP $CPPFLAGS'
45944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45953 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45955 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45956 for ac_func in _ldexpl
45957 do :
45958 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45959 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45960 cat >>confdefs.h <<_ACEOF
45961 #define HAVE__LDEXPL 1
45962 _ACEOF
45965 done
45974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45975 $as_echo_n "checking for logl declaration... " >&6; }
45976 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45977 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45978 $as_echo_n "(cached) " >&6
45979 else
45982 ac_ext=cpp
45983 ac_cpp='$CXXCPP $CPPFLAGS'
45984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45989 /* end confdefs.h. */
45990 #include <math.h>
45991 #ifdef HAVE_IEEEFP_H
45992 #include <ieeefp.h>
45993 #endif
45996 main ()
45998 logl(0);
46000 return 0;
46002 _ACEOF
46003 if ac_fn_cxx_try_compile "$LINENO"; then :
46004 glibcxx_cv_func_logl_use=yes
46005 else
46006 glibcxx_cv_func_logl_use=no
46008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46009 ac_ext=c
46010 ac_cpp='$CPP $CPPFLAGS'
46011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46020 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46022 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46023 for ac_func in logl
46024 do :
46025 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46026 if test "x$ac_cv_func_logl" = x""yes; then :
46027 cat >>confdefs.h <<_ACEOF
46028 #define HAVE_LOGL 1
46029 _ACEOF
46032 done
46034 else
46036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46037 $as_echo_n "checking for _logl declaration... " >&6; }
46038 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46039 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
46040 $as_echo_n "(cached) " >&6
46041 else
46044 ac_ext=cpp
46045 ac_cpp='$CXXCPP $CPPFLAGS'
46046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46051 /* end confdefs.h. */
46052 #include <math.h>
46053 #ifdef HAVE_IEEEFP_H
46054 #include <ieeefp.h>
46055 #endif
46058 main ()
46060 _logl(0);
46062 return 0;
46064 _ACEOF
46065 if ac_fn_cxx_try_compile "$LINENO"; then :
46066 glibcxx_cv_func__logl_use=yes
46067 else
46068 glibcxx_cv_func__logl_use=no
46070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46071 ac_ext=c
46072 ac_cpp='$CPP $CPPFLAGS'
46073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46082 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46084 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46085 for ac_func in _logl
46086 do :
46087 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46088 if test "x$ac_cv_func__logl" = x""yes; then :
46089 cat >>confdefs.h <<_ACEOF
46090 #define HAVE__LOGL 1
46091 _ACEOF
46094 done
46103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46104 $as_echo_n "checking for log10l declaration... " >&6; }
46105 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46106 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
46107 $as_echo_n "(cached) " >&6
46108 else
46111 ac_ext=cpp
46112 ac_cpp='$CXXCPP $CPPFLAGS'
46113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46118 /* end confdefs.h. */
46119 #include <math.h>
46120 #ifdef HAVE_IEEEFP_H
46121 #include <ieeefp.h>
46122 #endif
46125 main ()
46127 log10l(0);
46129 return 0;
46131 _ACEOF
46132 if ac_fn_cxx_try_compile "$LINENO"; then :
46133 glibcxx_cv_func_log10l_use=yes
46134 else
46135 glibcxx_cv_func_log10l_use=no
46137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46138 ac_ext=c
46139 ac_cpp='$CPP $CPPFLAGS'
46140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46149 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46151 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46152 for ac_func in log10l
46153 do :
46154 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46155 if test "x$ac_cv_func_log10l" = x""yes; then :
46156 cat >>confdefs.h <<_ACEOF
46157 #define HAVE_LOG10L 1
46158 _ACEOF
46161 done
46163 else
46165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46166 $as_echo_n "checking for _log10l declaration... " >&6; }
46167 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46168 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46169 $as_echo_n "(cached) " >&6
46170 else
46173 ac_ext=cpp
46174 ac_cpp='$CXXCPP $CPPFLAGS'
46175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46180 /* end confdefs.h. */
46181 #include <math.h>
46182 #ifdef HAVE_IEEEFP_H
46183 #include <ieeefp.h>
46184 #endif
46187 main ()
46189 _log10l(0);
46191 return 0;
46193 _ACEOF
46194 if ac_fn_cxx_try_compile "$LINENO"; then :
46195 glibcxx_cv_func__log10l_use=yes
46196 else
46197 glibcxx_cv_func__log10l_use=no
46199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46200 ac_ext=c
46201 ac_cpp='$CPP $CPPFLAGS'
46202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46211 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46213 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46214 for ac_func in _log10l
46215 do :
46216 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46217 if test "x$ac_cv_func__log10l" = x""yes; then :
46218 cat >>confdefs.h <<_ACEOF
46219 #define HAVE__LOG10L 1
46220 _ACEOF
46223 done
46232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46233 $as_echo_n "checking for modfl declaration... " >&6; }
46234 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46235 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46236 $as_echo_n "(cached) " >&6
46237 else
46240 ac_ext=cpp
46241 ac_cpp='$CXXCPP $CPPFLAGS'
46242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46247 /* end confdefs.h. */
46248 #include <math.h>
46250 main ()
46252 modfl(0, 0);
46254 return 0;
46256 _ACEOF
46257 if ac_fn_cxx_try_compile "$LINENO"; then :
46258 glibcxx_cv_func_modfl_use=yes
46259 else
46260 glibcxx_cv_func_modfl_use=no
46262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46263 ac_ext=c
46264 ac_cpp='$CPP $CPPFLAGS'
46265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46274 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46276 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46277 for ac_func in modfl
46278 do :
46279 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46280 if test "x$ac_cv_func_modfl" = x""yes; then :
46281 cat >>confdefs.h <<_ACEOF
46282 #define HAVE_MODFL 1
46283 _ACEOF
46286 done
46288 else
46290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46291 $as_echo_n "checking for _modfl declaration... " >&6; }
46292 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46293 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46294 $as_echo_n "(cached) " >&6
46295 else
46298 ac_ext=cpp
46299 ac_cpp='$CXXCPP $CPPFLAGS'
46300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46305 /* end confdefs.h. */
46306 #include <math.h>
46308 main ()
46310 _modfl(0, 0);
46312 return 0;
46314 _ACEOF
46315 if ac_fn_cxx_try_compile "$LINENO"; then :
46316 glibcxx_cv_func__modfl_use=yes
46317 else
46318 glibcxx_cv_func__modfl_use=no
46320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46321 ac_ext=c
46322 ac_cpp='$CPP $CPPFLAGS'
46323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46332 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46334 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46335 for ac_func in _modfl
46336 do :
46337 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46338 if test "x$ac_cv_func__modfl" = x""yes; then :
46339 cat >>confdefs.h <<_ACEOF
46340 #define HAVE__MODFL 1
46341 _ACEOF
46344 done
46353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46354 $as_echo_n "checking for powl declaration... " >&6; }
46355 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46356 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46357 $as_echo_n "(cached) " >&6
46358 else
46361 ac_ext=cpp
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46368 /* end confdefs.h. */
46369 #include <math.h>
46371 main ()
46373 powl(0, 0);
46375 return 0;
46377 _ACEOF
46378 if ac_fn_cxx_try_compile "$LINENO"; then :
46379 glibcxx_cv_func_powl_use=yes
46380 else
46381 glibcxx_cv_func_powl_use=no
46383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46384 ac_ext=c
46385 ac_cpp='$CPP $CPPFLAGS'
46386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46395 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46397 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46398 for ac_func in powl
46399 do :
46400 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46401 if test "x$ac_cv_func_powl" = x""yes; then :
46402 cat >>confdefs.h <<_ACEOF
46403 #define HAVE_POWL 1
46404 _ACEOF
46407 done
46409 else
46411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46412 $as_echo_n "checking for _powl declaration... " >&6; }
46413 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46414 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46415 $as_echo_n "(cached) " >&6
46416 else
46419 ac_ext=cpp
46420 ac_cpp='$CXXCPP $CPPFLAGS'
46421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46426 /* end confdefs.h. */
46427 #include <math.h>
46429 main ()
46431 _powl(0, 0);
46433 return 0;
46435 _ACEOF
46436 if ac_fn_cxx_try_compile "$LINENO"; then :
46437 glibcxx_cv_func__powl_use=yes
46438 else
46439 glibcxx_cv_func__powl_use=no
46441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46442 ac_ext=c
46443 ac_cpp='$CPP $CPPFLAGS'
46444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46453 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46455 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46456 for ac_func in _powl
46457 do :
46458 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46459 if test "x$ac_cv_func__powl" = x""yes; then :
46460 cat >>confdefs.h <<_ACEOF
46461 #define HAVE__POWL 1
46462 _ACEOF
46465 done
46474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46475 $as_echo_n "checking for sqrtl declaration... " >&6; }
46476 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46477 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46478 $as_echo_n "(cached) " >&6
46479 else
46482 ac_ext=cpp
46483 ac_cpp='$CXXCPP $CPPFLAGS'
46484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46489 /* end confdefs.h. */
46490 #include <math.h>
46491 #ifdef HAVE_IEEEFP_H
46492 #include <ieeefp.h>
46493 #endif
46496 main ()
46498 sqrtl(0);
46500 return 0;
46502 _ACEOF
46503 if ac_fn_cxx_try_compile "$LINENO"; then :
46504 glibcxx_cv_func_sqrtl_use=yes
46505 else
46506 glibcxx_cv_func_sqrtl_use=no
46508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46509 ac_ext=c
46510 ac_cpp='$CPP $CPPFLAGS'
46511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46520 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46522 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46523 for ac_func in sqrtl
46524 do :
46525 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46526 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46527 cat >>confdefs.h <<_ACEOF
46528 #define HAVE_SQRTL 1
46529 _ACEOF
46532 done
46534 else
46536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46537 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46538 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46539 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46540 $as_echo_n "(cached) " >&6
46541 else
46544 ac_ext=cpp
46545 ac_cpp='$CXXCPP $CPPFLAGS'
46546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46551 /* end confdefs.h. */
46552 #include <math.h>
46553 #ifdef HAVE_IEEEFP_H
46554 #include <ieeefp.h>
46555 #endif
46558 main ()
46560 _sqrtl(0);
46562 return 0;
46564 _ACEOF
46565 if ac_fn_cxx_try_compile "$LINENO"; then :
46566 glibcxx_cv_func__sqrtl_use=yes
46567 else
46568 glibcxx_cv_func__sqrtl_use=no
46570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46571 ac_ext=c
46572 ac_cpp='$CPP $CPPFLAGS'
46573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46582 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46584 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46585 for ac_func in _sqrtl
46586 do :
46587 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46588 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46589 cat >>confdefs.h <<_ACEOF
46590 #define HAVE__SQRTL 1
46591 _ACEOF
46594 done
46603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46604 $as_echo_n "checking for sincosl declaration... " >&6; }
46605 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46606 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46607 $as_echo_n "(cached) " >&6
46608 else
46611 ac_ext=cpp
46612 ac_cpp='$CXXCPP $CPPFLAGS'
46613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46618 /* end confdefs.h. */
46619 #include <math.h>
46621 main ()
46623 sincosl(0, 0, 0);
46625 return 0;
46627 _ACEOF
46628 if ac_fn_cxx_try_compile "$LINENO"; then :
46629 glibcxx_cv_func_sincosl_use=yes
46630 else
46631 glibcxx_cv_func_sincosl_use=no
46633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46634 ac_ext=c
46635 ac_cpp='$CPP $CPPFLAGS'
46636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46645 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46647 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46648 for ac_func in sincosl
46649 do :
46650 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46651 if test "x$ac_cv_func_sincosl" = x""yes; then :
46652 cat >>confdefs.h <<_ACEOF
46653 #define HAVE_SINCOSL 1
46654 _ACEOF
46657 done
46659 else
46661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46662 $as_echo_n "checking for _sincosl declaration... " >&6; }
46663 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46664 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46665 $as_echo_n "(cached) " >&6
46666 else
46669 ac_ext=cpp
46670 ac_cpp='$CXXCPP $CPPFLAGS'
46671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46676 /* end confdefs.h. */
46677 #include <math.h>
46679 main ()
46681 _sincosl(0, 0, 0);
46683 return 0;
46685 _ACEOF
46686 if ac_fn_cxx_try_compile "$LINENO"; then :
46687 glibcxx_cv_func__sincosl_use=yes
46688 else
46689 glibcxx_cv_func__sincosl_use=no
46691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46692 ac_ext=c
46693 ac_cpp='$CPP $CPPFLAGS'
46694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46703 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46705 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46706 for ac_func in _sincosl
46707 do :
46708 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46709 if test "x$ac_cv_func__sincosl" = x""yes; then :
46710 cat >>confdefs.h <<_ACEOF
46711 #define HAVE__SINCOSL 1
46712 _ACEOF
46715 done
46724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46725 $as_echo_n "checking for finitel declaration... " >&6; }
46726 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46727 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46728 $as_echo_n "(cached) " >&6
46729 else
46732 ac_ext=cpp
46733 ac_cpp='$CXXCPP $CPPFLAGS'
46734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46739 /* end confdefs.h. */
46740 #include <math.h>
46741 #ifdef HAVE_IEEEFP_H
46742 #include <ieeefp.h>
46743 #endif
46746 main ()
46748 finitel(0);
46750 return 0;
46752 _ACEOF
46753 if ac_fn_cxx_try_compile "$LINENO"; then :
46754 glibcxx_cv_func_finitel_use=yes
46755 else
46756 glibcxx_cv_func_finitel_use=no
46758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46759 ac_ext=c
46760 ac_cpp='$CPP $CPPFLAGS'
46761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46770 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46772 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46773 for ac_func in finitel
46774 do :
46775 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46776 if test "x$ac_cv_func_finitel" = x""yes; then :
46777 cat >>confdefs.h <<_ACEOF
46778 #define HAVE_FINITEL 1
46779 _ACEOF
46782 done
46784 else
46786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46787 $as_echo_n "checking for _finitel declaration... " >&6; }
46788 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46789 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46790 $as_echo_n "(cached) " >&6
46791 else
46794 ac_ext=cpp
46795 ac_cpp='$CXXCPP $CPPFLAGS'
46796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46801 /* end confdefs.h. */
46802 #include <math.h>
46803 #ifdef HAVE_IEEEFP_H
46804 #include <ieeefp.h>
46805 #endif
46808 main ()
46810 _finitel(0);
46812 return 0;
46814 _ACEOF
46815 if ac_fn_cxx_try_compile "$LINENO"; then :
46816 glibcxx_cv_func__finitel_use=yes
46817 else
46818 glibcxx_cv_func__finitel_use=no
46820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46821 ac_ext=c
46822 ac_cpp='$CPP $CPPFLAGS'
46823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46832 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46834 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46835 for ac_func in _finitel
46836 do :
46837 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46838 if test "x$ac_cv_func__finitel" = x""yes; then :
46839 cat >>confdefs.h <<_ACEOF
46840 #define HAVE__FINITEL 1
46841 _ACEOF
46844 done
46852 LIBS="$ac_save_LIBS"
46853 CXXFLAGS="$ac_save_CXXFLAGS"
46856 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46857 ac_save_CXXFLAGS="$CXXFLAGS"
46858 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46862 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46863 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46864 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46865 $as_echo_n "(cached) " >&6
46866 else
46869 ac_ext=cpp
46870 ac_cpp='$CXXCPP $CPPFLAGS'
46871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46876 /* end confdefs.h. */
46877 #include <stdlib.h>
46879 main ()
46881 at_quick_exit(0);
46883 return 0;
46885 _ACEOF
46886 if ac_fn_cxx_try_compile "$LINENO"; then :
46887 glibcxx_cv_func_at_quick_exit_use=yes
46888 else
46889 glibcxx_cv_func_at_quick_exit_use=no
46891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46892 ac_ext=c
46893 ac_cpp='$CPP $CPPFLAGS'
46894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46903 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46904 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46905 for ac_func in at_quick_exit
46906 do :
46907 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46908 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46909 cat >>confdefs.h <<_ACEOF
46910 #define HAVE_AT_QUICK_EXIT 1
46911 _ACEOF
46914 done
46919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46920 $as_echo_n "checking for quick_exit declaration... " >&6; }
46921 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46922 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46923 $as_echo_n "(cached) " >&6
46924 else
46927 ac_ext=cpp
46928 ac_cpp='$CXXCPP $CPPFLAGS'
46929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46934 /* end confdefs.h. */
46935 #include <stdlib.h>
46937 main ()
46939 quick_exit(0);
46941 return 0;
46943 _ACEOF
46944 if ac_fn_cxx_try_compile "$LINENO"; then :
46945 glibcxx_cv_func_quick_exit_use=yes
46946 else
46947 glibcxx_cv_func_quick_exit_use=no
46949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46950 ac_ext=c
46951 ac_cpp='$CPP $CPPFLAGS'
46952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46961 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46962 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46963 for ac_func in quick_exit
46964 do :
46965 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46966 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46967 cat >>confdefs.h <<_ACEOF
46968 #define HAVE_QUICK_EXIT 1
46969 _ACEOF
46972 done
46977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46978 $as_echo_n "checking for strtold declaration... " >&6; }
46979 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46980 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46981 $as_echo_n "(cached) " >&6
46982 else
46985 ac_ext=cpp
46986 ac_cpp='$CXXCPP $CPPFLAGS'
46987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46992 /* end confdefs.h. */
46993 #include <stdlib.h>
46995 main ()
46997 strtold(0, 0);
46999 return 0;
47001 _ACEOF
47002 if ac_fn_cxx_try_compile "$LINENO"; then :
47003 glibcxx_cv_func_strtold_use=yes
47004 else
47005 glibcxx_cv_func_strtold_use=no
47007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47008 ac_ext=c
47009 ac_cpp='$CPP $CPPFLAGS'
47010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47019 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47020 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47021 for ac_func in strtold
47022 do :
47023 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47024 if test "x$ac_cv_func_strtold" = x""yes; then :
47025 cat >>confdefs.h <<_ACEOF
47026 #define HAVE_STRTOLD 1
47027 _ACEOF
47030 done
47037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47038 $as_echo_n "checking for strtof declaration... " >&6; }
47039 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47040 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
47041 $as_echo_n "(cached) " >&6
47042 else
47045 ac_ext=cpp
47046 ac_cpp='$CXXCPP $CPPFLAGS'
47047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47052 /* end confdefs.h. */
47053 #include <stdlib.h>
47055 main ()
47057 strtof(0, 0);
47059 return 0;
47061 _ACEOF
47062 if ac_fn_cxx_try_compile "$LINENO"; then :
47063 glibcxx_cv_func_strtof_use=yes
47064 else
47065 glibcxx_cv_func_strtof_use=no
47067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47068 ac_ext=c
47069 ac_cpp='$CPP $CPPFLAGS'
47070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47079 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47080 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47081 for ac_func in strtof
47082 do :
47083 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47084 if test "x$ac_cv_func_strtof" = x""yes; then :
47085 cat >>confdefs.h <<_ACEOF
47086 #define HAVE_STRTOF 1
47087 _ACEOF
47090 done
47097 CXXFLAGS="$ac_save_CXXFLAGS"
47099 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47101 # We don't yet support AIX's TLS ABI.
47102 #GCC_CHECK_TLS
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47109 $as_echo_n "checking for iconv... " >&6; }
47110 if test "${am_cv_func_iconv+set}" = set; then :
47111 $as_echo_n "(cached) " >&6
47112 else
47114 am_cv_func_iconv="no, consider installing GNU libiconv"
47115 am_cv_lib_iconv=no
47116 am_save_CPPFLAGS="$CPPFLAGS"
47117 CPPFLAGS="$CPPFLAGS $INCICONV"
47118 if test x$gcc_no_link = xyes; then
47119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47122 /* end confdefs.h. */
47123 #include <stdlib.h>
47124 #include <iconv.h>
47126 main ()
47128 iconv_t cd = iconv_open("","");
47129 iconv(cd,NULL,NULL,NULL,NULL);
47130 iconv_close(cd);
47132 return 0;
47134 _ACEOF
47135 if ac_fn_c_try_link "$LINENO"; then :
47136 am_cv_func_iconv=yes
47138 rm -f core conftest.err conftest.$ac_objext \
47139 conftest$ac_exeext conftest.$ac_ext
47140 CPPFLAGS="$am_save_CPPFLAGS"
47142 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47143 for _libs in .libs _libs; do
47144 am_save_CPPFLAGS="$CPPFLAGS"
47145 am_save_LIBS="$LIBS"
47146 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47147 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47148 if test x$gcc_no_link = xyes; then
47149 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h. */
47153 #include <stdlib.h>
47154 #include <iconv.h>
47156 main ()
47158 iconv_t cd = iconv_open("","");
47159 iconv(cd,NULL,NULL,NULL,NULL);
47160 iconv_close(cd);
47162 return 0;
47164 _ACEOF
47165 if ac_fn_c_try_link "$LINENO"; then :
47166 INCICONV="-I../libiconv/include"
47167 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47168 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47169 am_cv_lib_iconv=yes
47170 am_cv_func_iconv=yes
47172 rm -f core conftest.err conftest.$ac_objext \
47173 conftest$ac_exeext conftest.$ac_ext
47174 CPPFLAGS="$am_save_CPPFLAGS"
47175 LIBS="$am_save_LIBS"
47176 if test "$am_cv_func_iconv" = "yes"; then
47177 break
47179 done
47182 if test "$am_cv_func_iconv" != yes; then
47183 am_save_CPPFLAGS="$CPPFLAGS"
47184 am_save_LIBS="$LIBS"
47185 CPPFLAGS="$LIBS $INCICONV"
47186 LIBS="$LIBS $LIBICONV"
47187 if test x$gcc_no_link = xyes; then
47188 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47191 /* end confdefs.h. */
47192 #include <stdlib.h>
47193 #include <iconv.h>
47195 main ()
47197 iconv_t cd = iconv_open("","");
47198 iconv(cd,NULL,NULL,NULL,NULL);
47199 iconv_close(cd);
47201 return 0;
47203 _ACEOF
47204 if ac_fn_c_try_link "$LINENO"; then :
47205 am_cv_lib_iconv=yes
47206 am_cv_func_iconv=yes
47208 rm -f core conftest.err conftest.$ac_objext \
47209 conftest$ac_exeext conftest.$ac_ext
47210 CPPFLAGS="$am_save_CPPFLAGS"
47211 LIBS="$am_save_LIBS"
47215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47216 $as_echo "$am_cv_func_iconv" >&6; }
47217 if test "$am_cv_func_iconv" = yes; then
47219 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47222 if test "$am_cv_lib_iconv" = yes; then
47224 for element in $INCICONV; do
47225 haveit=
47226 for x in $CPPFLAGS; do
47228 acl_save_prefix="$prefix"
47229 prefix="$acl_final_prefix"
47230 acl_save_exec_prefix="$exec_prefix"
47231 exec_prefix="$acl_final_exec_prefix"
47232 eval x=\"$x\"
47233 exec_prefix="$acl_save_exec_prefix"
47234 prefix="$acl_save_prefix"
47236 if test "X$x" = "X$element"; then
47237 haveit=yes
47238 break
47240 done
47241 if test -z "$haveit"; then
47242 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47244 done
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47247 $as_echo_n "checking how to link with libiconv... " >&6; }
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47249 $as_echo "$LIBICONV" >&6; }
47250 else
47251 LIBICONV=
47252 LTLIBICONV=
47257 if test "$am_cv_func_iconv" = yes; then
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47259 $as_echo_n "checking for iconv declaration... " >&6; }
47260 if test "${am_cv_proto_iconv+set}" = set; then :
47261 $as_echo_n "(cached) " >&6
47262 else
47264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47265 /* end confdefs.h. */
47267 #include <stdlib.h>
47268 #include <iconv.h>
47269 extern
47270 #ifdef __cplusplus
47272 #endif
47273 #if defined(__STDC__) || defined(__cplusplus)
47274 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47275 #else
47276 size_t iconv();
47277 #endif
47280 main ()
47284 return 0;
47286 _ACEOF
47287 if ac_fn_c_try_compile "$LINENO"; then :
47288 am_cv_proto_iconv_arg1=""
47289 else
47290 am_cv_proto_iconv_arg1="const"
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47293 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);"
47296 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47298 }$am_cv_proto_iconv" >&5
47299 $as_echo "${ac_t:-
47300 }$am_cv_proto_iconv" >&6; }
47302 cat >>confdefs.h <<_ACEOF
47303 #define ICONV_CONST $am_cv_proto_iconv_arg1
47304 _ACEOF
47310 *-darwin*)
47311 # Darwin versions vary, but the linker should work in a cross environment,
47312 # so we just check for all the features here.
47313 # Check for available headers.
47315 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47317 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47318 ac_save_CXXFLAGS="$CXXFLAGS"
47319 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47322 $as_echo_n "checking for sin in -lm... " >&6; }
47323 if test "${ac_cv_lib_m_sin+set}" = set; then :
47324 $as_echo_n "(cached) " >&6
47325 else
47326 ac_check_lib_save_LIBS=$LIBS
47327 LIBS="-lm $LIBS"
47328 if test x$gcc_no_link = xyes; then
47329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47332 /* end confdefs.h. */
47334 /* Override any GCC internal prototype to avoid an error.
47335 Use char because int might match the return type of a GCC
47336 builtin and then its argument prototype would still apply. */
47337 #ifdef __cplusplus
47338 extern "C"
47339 #endif
47340 char sin ();
47342 main ()
47344 return sin ();
47346 return 0;
47348 _ACEOF
47349 if ac_fn_c_try_link "$LINENO"; then :
47350 ac_cv_lib_m_sin=yes
47351 else
47352 ac_cv_lib_m_sin=no
47354 rm -f core conftest.err conftest.$ac_objext \
47355 conftest$ac_exeext conftest.$ac_ext
47356 LIBS=$ac_check_lib_save_LIBS
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47359 $as_echo "$ac_cv_lib_m_sin" >&6; }
47360 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47361 libm="-lm"
47364 ac_save_LIBS="$LIBS"
47365 LIBS="$LIBS $libm"
47369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47370 $as_echo_n "checking for isinf declaration... " >&6; }
47371 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47372 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47373 $as_echo_n "(cached) " >&6
47374 else
47377 ac_ext=cpp
47378 ac_cpp='$CXXCPP $CPPFLAGS'
47379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47384 /* end confdefs.h. */
47385 #include <math.h>
47386 #ifdef HAVE_IEEEFP_H
47387 #include <ieeefp.h>
47388 #endif
47391 main ()
47393 isinf(0);
47395 return 0;
47397 _ACEOF
47398 if ac_fn_cxx_try_compile "$LINENO"; then :
47399 glibcxx_cv_func_isinf_use=yes
47400 else
47401 glibcxx_cv_func_isinf_use=no
47403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47404 ac_ext=c
47405 ac_cpp='$CPP $CPPFLAGS'
47406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47415 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47417 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47418 for ac_func in isinf
47419 do :
47420 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47421 if test "x$ac_cv_func_isinf" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define HAVE_ISINF 1
47424 _ACEOF
47427 done
47429 else
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47432 $as_echo_n "checking for _isinf declaration... " >&6; }
47433 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47434 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47448 #ifdef HAVE_IEEEFP_H
47449 #include <ieeefp.h>
47450 #endif
47453 main ()
47455 _isinf(0);
47457 return 0;
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func__isinf_use=yes
47462 else
47463 glibcxx_cv_func__isinf_use=no
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47477 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47479 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47480 for ac_func in _isinf
47481 do :
47482 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47483 if test "x$ac_cv_func__isinf" = x""yes; then :
47484 cat >>confdefs.h <<_ACEOF
47485 #define HAVE__ISINF 1
47486 _ACEOF
47489 done
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47499 $as_echo_n "checking for isnan declaration... " >&6; }
47500 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47501 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47502 $as_echo_n "(cached) " >&6
47503 else
47506 ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h. */
47514 #include <math.h>
47515 #ifdef HAVE_IEEEFP_H
47516 #include <ieeefp.h>
47517 #endif
47520 main ()
47522 isnan(0);
47524 return 0;
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_isnan_use=yes
47529 else
47530 glibcxx_cv_func_isnan_use=no
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47544 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47546 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47547 for ac_func in isnan
47548 do :
47549 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47550 if test "x$ac_cv_func_isnan" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_ISNAN 1
47553 _ACEOF
47556 done
47558 else
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47561 $as_echo_n "checking for _isnan declaration... " >&6; }
47562 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47563 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 #ifdef HAVE_IEEEFP_H
47578 #include <ieeefp.h>
47579 #endif
47582 main ()
47584 _isnan(0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__isnan_use=yes
47591 else
47592 glibcxx_cv_func__isnan_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47606 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47608 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47609 for ac_func in _isnan
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47612 if test "x$ac_cv_func__isnan" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__ISNAN 1
47615 _ACEOF
47618 done
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47628 $as_echo_n "checking for finite declaration... " >&6; }
47629 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47630 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47644 #ifdef HAVE_IEEEFP_H
47645 #include <ieeefp.h>
47646 #endif
47649 main ()
47651 finite(0);
47653 return 0;
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657 glibcxx_cv_func_finite_use=yes
47658 else
47659 glibcxx_cv_func_finite_use=no
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662 ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47673 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47675 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47676 for ac_func in finite
47677 do :
47678 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47679 if test "x$ac_cv_func_finite" = x""yes; then :
47680 cat >>confdefs.h <<_ACEOF
47681 #define HAVE_FINITE 1
47682 _ACEOF
47685 done
47687 else
47689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47690 $as_echo_n "checking for _finite declaration... " >&6; }
47691 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47692 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47693 $as_echo_n "(cached) " >&6
47694 else
47697 ac_ext=cpp
47698 ac_cpp='$CXXCPP $CPPFLAGS'
47699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47704 /* end confdefs.h. */
47705 #include <math.h>
47706 #ifdef HAVE_IEEEFP_H
47707 #include <ieeefp.h>
47708 #endif
47711 main ()
47713 _finite(0);
47715 return 0;
47717 _ACEOF
47718 if ac_fn_cxx_try_compile "$LINENO"; then :
47719 glibcxx_cv_func__finite_use=yes
47720 else
47721 glibcxx_cv_func__finite_use=no
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 ac_ext=c
47725 ac_cpp='$CPP $CPPFLAGS'
47726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47735 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47737 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47738 for ac_func in _finite
47739 do :
47740 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47741 if test "x$ac_cv_func__finite" = x""yes; then :
47742 cat >>confdefs.h <<_ACEOF
47743 #define HAVE__FINITE 1
47744 _ACEOF
47747 done
47756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47757 $as_echo_n "checking for sincos declaration... " >&6; }
47758 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47759 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47760 $as_echo_n "(cached) " >&6
47761 else
47764 ac_ext=cpp
47765 ac_cpp='$CXXCPP $CPPFLAGS'
47766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47771 /* end confdefs.h. */
47772 #include <math.h>
47774 main ()
47776 sincos(0, 0, 0);
47778 return 0;
47780 _ACEOF
47781 if ac_fn_cxx_try_compile "$LINENO"; then :
47782 glibcxx_cv_func_sincos_use=yes
47783 else
47784 glibcxx_cv_func_sincos_use=no
47786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47787 ac_ext=c
47788 ac_cpp='$CPP $CPPFLAGS'
47789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47798 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47800 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47801 for ac_func in sincos
47802 do :
47803 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47804 if test "x$ac_cv_func_sincos" = x""yes; then :
47805 cat >>confdefs.h <<_ACEOF
47806 #define HAVE_SINCOS 1
47807 _ACEOF
47810 done
47812 else
47814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47815 $as_echo_n "checking for _sincos declaration... " >&6; }
47816 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47817 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47818 $as_echo_n "(cached) " >&6
47819 else
47822 ac_ext=cpp
47823 ac_cpp='$CXXCPP $CPPFLAGS'
47824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47829 /* end confdefs.h. */
47830 #include <math.h>
47832 main ()
47834 _sincos(0, 0, 0);
47836 return 0;
47838 _ACEOF
47839 if ac_fn_cxx_try_compile "$LINENO"; then :
47840 glibcxx_cv_func__sincos_use=yes
47841 else
47842 glibcxx_cv_func__sincos_use=no
47844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47845 ac_ext=c
47846 ac_cpp='$CPP $CPPFLAGS'
47847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47856 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47858 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47859 for ac_func in _sincos
47860 do :
47861 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47862 if test "x$ac_cv_func__sincos" = x""yes; then :
47863 cat >>confdefs.h <<_ACEOF
47864 #define HAVE__SINCOS 1
47865 _ACEOF
47868 done
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47878 $as_echo_n "checking for fpclass declaration... " >&6; }
47879 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47880 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47881 $as_echo_n "(cached) " >&6
47882 else
47885 ac_ext=cpp
47886 ac_cpp='$CXXCPP $CPPFLAGS'
47887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47892 /* end confdefs.h. */
47893 #include <math.h>
47894 #ifdef HAVE_IEEEFP_H
47895 #include <ieeefp.h>
47896 #endif
47899 main ()
47901 fpclass(0);
47903 return 0;
47905 _ACEOF
47906 if ac_fn_cxx_try_compile "$LINENO"; then :
47907 glibcxx_cv_func_fpclass_use=yes
47908 else
47909 glibcxx_cv_func_fpclass_use=no
47911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47912 ac_ext=c
47913 ac_cpp='$CPP $CPPFLAGS'
47914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47923 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47925 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47926 for ac_func in fpclass
47927 do :
47928 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47929 if test "x$ac_cv_func_fpclass" = x""yes; then :
47930 cat >>confdefs.h <<_ACEOF
47931 #define HAVE_FPCLASS 1
47932 _ACEOF
47935 done
47937 else
47939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47940 $as_echo_n "checking for _fpclass declaration... " >&6; }
47941 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47942 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47943 $as_echo_n "(cached) " >&6
47944 else
47947 ac_ext=cpp
47948 ac_cpp='$CXXCPP $CPPFLAGS'
47949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47954 /* end confdefs.h. */
47955 #include <math.h>
47956 #ifdef HAVE_IEEEFP_H
47957 #include <ieeefp.h>
47958 #endif
47961 main ()
47963 _fpclass(0);
47965 return 0;
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969 glibcxx_cv_func__fpclass_use=yes
47970 else
47971 glibcxx_cv_func__fpclass_use=no
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47985 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47987 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47988 for ac_func in _fpclass
47989 do :
47990 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47991 if test "x$ac_cv_func__fpclass" = x""yes; then :
47992 cat >>confdefs.h <<_ACEOF
47993 #define HAVE__FPCLASS 1
47994 _ACEOF
47997 done
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48007 $as_echo_n "checking for qfpclass declaration... " >&6; }
48008 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48009 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48023 #ifdef HAVE_IEEEFP_H
48024 #include <ieeefp.h>
48025 #endif
48028 main ()
48030 qfpclass(0);
48032 return 0;
48034 _ACEOF
48035 if ac_fn_cxx_try_compile "$LINENO"; then :
48036 glibcxx_cv_func_qfpclass_use=yes
48037 else
48038 glibcxx_cv_func_qfpclass_use=no
48040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48041 ac_ext=c
48042 ac_cpp='$CPP $CPPFLAGS'
48043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48052 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48054 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48055 for ac_func in qfpclass
48056 do :
48057 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48058 if test "x$ac_cv_func_qfpclass" = x""yes; then :
48059 cat >>confdefs.h <<_ACEOF
48060 #define HAVE_QFPCLASS 1
48061 _ACEOF
48064 done
48066 else
48068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48069 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48070 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48071 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
48072 $as_echo_n "(cached) " >&6
48073 else
48076 ac_ext=cpp
48077 ac_cpp='$CXXCPP $CPPFLAGS'
48078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48083 /* end confdefs.h. */
48084 #include <math.h>
48085 #ifdef HAVE_IEEEFP_H
48086 #include <ieeefp.h>
48087 #endif
48090 main ()
48092 _qfpclass(0);
48094 return 0;
48096 _ACEOF
48097 if ac_fn_cxx_try_compile "$LINENO"; then :
48098 glibcxx_cv_func__qfpclass_use=yes
48099 else
48100 glibcxx_cv_func__qfpclass_use=no
48102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48114 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48116 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48117 for ac_func in _qfpclass
48118 do :
48119 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48120 if test "x$ac_cv_func__qfpclass" = x""yes; then :
48121 cat >>confdefs.h <<_ACEOF
48122 #define HAVE__QFPCLASS 1
48123 _ACEOF
48126 done
48135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48136 $as_echo_n "checking for hypot declaration... " >&6; }
48137 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48138 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
48139 $as_echo_n "(cached) " >&6
48140 else
48143 ac_ext=cpp
48144 ac_cpp='$CXXCPP $CPPFLAGS'
48145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48150 /* end confdefs.h. */
48151 #include <math.h>
48153 main ()
48155 hypot(0, 0);
48157 return 0;
48159 _ACEOF
48160 if ac_fn_cxx_try_compile "$LINENO"; then :
48161 glibcxx_cv_func_hypot_use=yes
48162 else
48163 glibcxx_cv_func_hypot_use=no
48165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48166 ac_ext=c
48167 ac_cpp='$CPP $CPPFLAGS'
48168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48177 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48179 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48180 for ac_func in hypot
48181 do :
48182 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48183 if test "x$ac_cv_func_hypot" = x""yes; then :
48184 cat >>confdefs.h <<_ACEOF
48185 #define HAVE_HYPOT 1
48186 _ACEOF
48189 done
48191 else
48193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48194 $as_echo_n "checking for _hypot declaration... " >&6; }
48195 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48196 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48197 $as_echo_n "(cached) " >&6
48198 else
48201 ac_ext=cpp
48202 ac_cpp='$CXXCPP $CPPFLAGS'
48203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48208 /* end confdefs.h. */
48209 #include <math.h>
48211 main ()
48213 _hypot(0, 0);
48215 return 0;
48217 _ACEOF
48218 if ac_fn_cxx_try_compile "$LINENO"; then :
48219 glibcxx_cv_func__hypot_use=yes
48220 else
48221 glibcxx_cv_func__hypot_use=no
48223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48224 ac_ext=c
48225 ac_cpp='$CPP $CPPFLAGS'
48226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48235 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48237 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48238 for ac_func in _hypot
48239 do :
48240 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48241 if test "x$ac_cv_func__hypot" = x""yes; then :
48242 cat >>confdefs.h <<_ACEOF
48243 #define HAVE__HYPOT 1
48244 _ACEOF
48247 done
48256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48257 $as_echo_n "checking for float trig functions... " >&6; }
48258 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48259 $as_echo_n "(cached) " >&6
48260 else
48263 ac_ext=cpp
48264 ac_cpp='$CXXCPP $CPPFLAGS'
48265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48270 /* end confdefs.h. */
48271 #include <math.h>
48273 main ()
48275 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48277 return 0;
48279 _ACEOF
48280 if ac_fn_cxx_try_compile "$LINENO"; then :
48281 glibcxx_cv_func_float_trig_use=yes
48282 else
48283 glibcxx_cv_func_float_trig_use=no
48285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48286 ac_ext=c
48287 ac_cpp='$CPP $CPPFLAGS'
48288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48295 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48296 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48297 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48298 do :
48299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48301 eval as_val=\$$as_ac_var
48302 if test "x$as_val" = x""yes; then :
48303 cat >>confdefs.h <<_ACEOF
48304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48305 _ACEOF
48308 done
48310 else
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48312 $as_echo_n "checking for _float trig functions... " >&6; }
48313 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48314 $as_echo_n "(cached) " >&6
48315 else
48318 ac_ext=cpp
48319 ac_cpp='$CXXCPP $CPPFLAGS'
48320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48325 /* end confdefs.h. */
48326 #include <math.h>
48328 main ()
48330 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48332 return 0;
48334 _ACEOF
48335 if ac_fn_cxx_try_compile "$LINENO"; then :
48336 glibcxx_cv_func__float_trig_use=yes
48337 else
48338 glibcxx_cv_func__float_trig_use=no
48340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48341 ac_ext=c
48342 ac_cpp='$CPP $CPPFLAGS'
48343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48350 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48351 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48352 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48353 do :
48354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48356 eval as_val=\$$as_ac_var
48357 if test "x$as_val" = x""yes; then :
48358 cat >>confdefs.h <<_ACEOF
48359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48360 _ACEOF
48363 done
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48373 $as_echo_n "checking for float round functions... " >&6; }
48374 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48375 $as_echo_n "(cached) " >&6
48376 else
48379 ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 #include <math.h>
48389 main ()
48391 ceilf (0); floorf (0);
48393 return 0;
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func_float_round_use=yes
48398 else
48399 glibcxx_cv_func_float_round_use=no
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48411 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48412 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48413 for ac_func in ceilf floorf
48414 do :
48415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48417 eval as_val=\$$as_ac_var
48418 if test "x$as_val" = x""yes; then :
48419 cat >>confdefs.h <<_ACEOF
48420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48421 _ACEOF
48424 done
48426 else
48427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48428 $as_echo_n "checking for _float round functions... " >&6; }
48429 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48430 $as_echo_n "(cached) " >&6
48431 else
48434 ac_ext=cpp
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48441 /* end confdefs.h. */
48442 #include <math.h>
48444 main ()
48446 _ceilf (0); _floorf (0);
48448 return 0;
48450 _ACEOF
48451 if ac_fn_cxx_try_compile "$LINENO"; then :
48452 glibcxx_cv_func__float_round_use=yes
48453 else
48454 glibcxx_cv_func__float_round_use=no
48456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48466 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48467 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48468 for ac_func in _ceilf _floorf
48469 do :
48470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48472 eval as_val=\$$as_ac_var
48473 if test "x$as_val" = x""yes; then :
48474 cat >>confdefs.h <<_ACEOF
48475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48476 _ACEOF
48479 done
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48490 $as_echo_n "checking for expf declaration... " >&6; }
48491 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48492 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48493 $as_echo_n "(cached) " >&6
48494 else
48497 ac_ext=cpp
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48504 /* end confdefs.h. */
48505 #include <math.h>
48506 #ifdef HAVE_IEEEFP_H
48507 #include <ieeefp.h>
48508 #endif
48511 main ()
48513 expf(0);
48515 return 0;
48517 _ACEOF
48518 if ac_fn_cxx_try_compile "$LINENO"; then :
48519 glibcxx_cv_func_expf_use=yes
48520 else
48521 glibcxx_cv_func_expf_use=no
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 ac_ext=c
48525 ac_cpp='$CPP $CPPFLAGS'
48526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48535 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48537 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48538 for ac_func in expf
48539 do :
48540 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48541 if test "x$ac_cv_func_expf" = x""yes; then :
48542 cat >>confdefs.h <<_ACEOF
48543 #define HAVE_EXPF 1
48544 _ACEOF
48547 done
48549 else
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48552 $as_echo_n "checking for _expf declaration... " >&6; }
48553 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48554 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48555 $as_echo_n "(cached) " >&6
48556 else
48559 ac_ext=cpp
48560 ac_cpp='$CXXCPP $CPPFLAGS'
48561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48566 /* end confdefs.h. */
48567 #include <math.h>
48568 #ifdef HAVE_IEEEFP_H
48569 #include <ieeefp.h>
48570 #endif
48573 main ()
48575 _expf(0);
48577 return 0;
48579 _ACEOF
48580 if ac_fn_cxx_try_compile "$LINENO"; then :
48581 glibcxx_cv_func__expf_use=yes
48582 else
48583 glibcxx_cv_func__expf_use=no
48585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48586 ac_ext=c
48587 ac_cpp='$CPP $CPPFLAGS'
48588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48597 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48599 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48600 for ac_func in _expf
48601 do :
48602 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48603 if test "x$ac_cv_func__expf" = x""yes; then :
48604 cat >>confdefs.h <<_ACEOF
48605 #define HAVE__EXPF 1
48606 _ACEOF
48609 done
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48619 $as_echo_n "checking for isnanf declaration... " >&6; }
48620 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48621 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48622 $as_echo_n "(cached) " >&6
48623 else
48626 ac_ext=cpp
48627 ac_cpp='$CXXCPP $CPPFLAGS'
48628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48633 /* end confdefs.h. */
48634 #include <math.h>
48635 #ifdef HAVE_IEEEFP_H
48636 #include <ieeefp.h>
48637 #endif
48640 main ()
48642 isnanf(0);
48644 return 0;
48646 _ACEOF
48647 if ac_fn_cxx_try_compile "$LINENO"; then :
48648 glibcxx_cv_func_isnanf_use=yes
48649 else
48650 glibcxx_cv_func_isnanf_use=no
48652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48653 ac_ext=c
48654 ac_cpp='$CPP $CPPFLAGS'
48655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48664 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48666 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48667 for ac_func in isnanf
48668 do :
48669 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48670 if test "x$ac_cv_func_isnanf" = x""yes; then :
48671 cat >>confdefs.h <<_ACEOF
48672 #define HAVE_ISNANF 1
48673 _ACEOF
48676 done
48678 else
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48681 $as_echo_n "checking for _isnanf declaration... " >&6; }
48682 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48683 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48684 $as_echo_n "(cached) " >&6
48685 else
48688 ac_ext=cpp
48689 ac_cpp='$CXXCPP $CPPFLAGS'
48690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48695 /* end confdefs.h. */
48696 #include <math.h>
48697 #ifdef HAVE_IEEEFP_H
48698 #include <ieeefp.h>
48699 #endif
48702 main ()
48704 _isnanf(0);
48706 return 0;
48708 _ACEOF
48709 if ac_fn_cxx_try_compile "$LINENO"; then :
48710 glibcxx_cv_func__isnanf_use=yes
48711 else
48712 glibcxx_cv_func__isnanf_use=no
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48726 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48728 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48729 for ac_func in _isnanf
48730 do :
48731 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48732 if test "x$ac_cv_func__isnanf" = x""yes; then :
48733 cat >>confdefs.h <<_ACEOF
48734 #define HAVE__ISNANF 1
48735 _ACEOF
48738 done
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48748 $as_echo_n "checking for isinff declaration... " >&6; }
48749 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48750 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48751 $as_echo_n "(cached) " >&6
48752 else
48755 ac_ext=cpp
48756 ac_cpp='$CXXCPP $CPPFLAGS'
48757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48762 /* end confdefs.h. */
48763 #include <math.h>
48764 #ifdef HAVE_IEEEFP_H
48765 #include <ieeefp.h>
48766 #endif
48769 main ()
48771 isinff(0);
48773 return 0;
48775 _ACEOF
48776 if ac_fn_cxx_try_compile "$LINENO"; then :
48777 glibcxx_cv_func_isinff_use=yes
48778 else
48779 glibcxx_cv_func_isinff_use=no
48781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48782 ac_ext=c
48783 ac_cpp='$CPP $CPPFLAGS'
48784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48793 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48795 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48796 for ac_func in isinff
48797 do :
48798 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48799 if test "x$ac_cv_func_isinff" = x""yes; then :
48800 cat >>confdefs.h <<_ACEOF
48801 #define HAVE_ISINFF 1
48802 _ACEOF
48805 done
48807 else
48809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48810 $as_echo_n "checking for _isinff declaration... " >&6; }
48811 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48812 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48826 #ifdef HAVE_IEEEFP_H
48827 #include <ieeefp.h>
48828 #endif
48831 main ()
48833 _isinff(0);
48835 return 0;
48837 _ACEOF
48838 if ac_fn_cxx_try_compile "$LINENO"; then :
48839 glibcxx_cv_func__isinff_use=yes
48840 else
48841 glibcxx_cv_func__isinff_use=no
48843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48844 ac_ext=c
48845 ac_cpp='$CPP $CPPFLAGS'
48846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48855 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48857 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48858 for ac_func in _isinff
48859 do :
48860 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48861 if test "x$ac_cv_func__isinff" = x""yes; then :
48862 cat >>confdefs.h <<_ACEOF
48863 #define HAVE__ISINFF 1
48864 _ACEOF
48867 done
48876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48877 $as_echo_n "checking for atan2f declaration... " >&6; }
48878 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48879 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48880 $as_echo_n "(cached) " >&6
48881 else
48884 ac_ext=cpp
48885 ac_cpp='$CXXCPP $CPPFLAGS'
48886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48891 /* end confdefs.h. */
48892 #include <math.h>
48894 main ()
48896 atan2f(0, 0);
48898 return 0;
48900 _ACEOF
48901 if ac_fn_cxx_try_compile "$LINENO"; then :
48902 glibcxx_cv_func_atan2f_use=yes
48903 else
48904 glibcxx_cv_func_atan2f_use=no
48906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48907 ac_ext=c
48908 ac_cpp='$CPP $CPPFLAGS'
48909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48918 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48920 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48921 for ac_func in atan2f
48922 do :
48923 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48924 if test "x$ac_cv_func_atan2f" = x""yes; then :
48925 cat >>confdefs.h <<_ACEOF
48926 #define HAVE_ATAN2F 1
48927 _ACEOF
48930 done
48932 else
48934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48935 $as_echo_n "checking for _atan2f declaration... " >&6; }
48936 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48937 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48938 $as_echo_n "(cached) " >&6
48939 else
48942 ac_ext=cpp
48943 ac_cpp='$CXXCPP $CPPFLAGS'
48944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48949 /* end confdefs.h. */
48950 #include <math.h>
48952 main ()
48954 _atan2f(0, 0);
48956 return 0;
48958 _ACEOF
48959 if ac_fn_cxx_try_compile "$LINENO"; then :
48960 glibcxx_cv_func__atan2f_use=yes
48961 else
48962 glibcxx_cv_func__atan2f_use=no
48964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48965 ac_ext=c
48966 ac_cpp='$CPP $CPPFLAGS'
48967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48976 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48978 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48979 for ac_func in _atan2f
48980 do :
48981 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48982 if test "x$ac_cv_func__atan2f" = x""yes; then :
48983 cat >>confdefs.h <<_ACEOF
48984 #define HAVE__ATAN2F 1
48985 _ACEOF
48988 done
48997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48998 $as_echo_n "checking for fabsf declaration... " >&6; }
48999 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49000 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
49001 $as_echo_n "(cached) " >&6
49002 else
49005 ac_ext=cpp
49006 ac_cpp='$CXXCPP $CPPFLAGS'
49007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49012 /* end confdefs.h. */
49013 #include <math.h>
49014 #ifdef HAVE_IEEEFP_H
49015 #include <ieeefp.h>
49016 #endif
49019 main ()
49021 fabsf(0);
49023 return 0;
49025 _ACEOF
49026 if ac_fn_cxx_try_compile "$LINENO"; then :
49027 glibcxx_cv_func_fabsf_use=yes
49028 else
49029 glibcxx_cv_func_fabsf_use=no
49031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49032 ac_ext=c
49033 ac_cpp='$CPP $CPPFLAGS'
49034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49043 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49045 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49046 for ac_func in fabsf
49047 do :
49048 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49049 if test "x$ac_cv_func_fabsf" = x""yes; then :
49050 cat >>confdefs.h <<_ACEOF
49051 #define HAVE_FABSF 1
49052 _ACEOF
49055 done
49057 else
49059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49060 $as_echo_n "checking for _fabsf declaration... " >&6; }
49061 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49062 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
49063 $as_echo_n "(cached) " >&6
49064 else
49067 ac_ext=cpp
49068 ac_cpp='$CXXCPP $CPPFLAGS'
49069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49074 /* end confdefs.h. */
49075 #include <math.h>
49076 #ifdef HAVE_IEEEFP_H
49077 #include <ieeefp.h>
49078 #endif
49081 main ()
49083 _fabsf(0);
49085 return 0;
49087 _ACEOF
49088 if ac_fn_cxx_try_compile "$LINENO"; then :
49089 glibcxx_cv_func__fabsf_use=yes
49090 else
49091 glibcxx_cv_func__fabsf_use=no
49093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49094 ac_ext=c
49095 ac_cpp='$CPP $CPPFLAGS'
49096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49105 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49107 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49108 for ac_func in _fabsf
49109 do :
49110 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49111 if test "x$ac_cv_func__fabsf" = x""yes; then :
49112 cat >>confdefs.h <<_ACEOF
49113 #define HAVE__FABSF 1
49114 _ACEOF
49117 done
49126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49127 $as_echo_n "checking for fmodf declaration... " >&6; }
49128 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49129 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
49130 $as_echo_n "(cached) " >&6
49131 else
49134 ac_ext=cpp
49135 ac_cpp='$CXXCPP $CPPFLAGS'
49136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49141 /* end confdefs.h. */
49142 #include <math.h>
49144 main ()
49146 fmodf(0, 0);
49148 return 0;
49150 _ACEOF
49151 if ac_fn_cxx_try_compile "$LINENO"; then :
49152 glibcxx_cv_func_fmodf_use=yes
49153 else
49154 glibcxx_cv_func_fmodf_use=no
49156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49157 ac_ext=c
49158 ac_cpp='$CPP $CPPFLAGS'
49159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49168 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49170 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49171 for ac_func in fmodf
49172 do :
49173 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49174 if test "x$ac_cv_func_fmodf" = x""yes; then :
49175 cat >>confdefs.h <<_ACEOF
49176 #define HAVE_FMODF 1
49177 _ACEOF
49180 done
49182 else
49184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49185 $as_echo_n "checking for _fmodf declaration... " >&6; }
49186 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49187 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49188 $as_echo_n "(cached) " >&6
49189 else
49192 ac_ext=cpp
49193 ac_cpp='$CXXCPP $CPPFLAGS'
49194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49199 /* end confdefs.h. */
49200 #include <math.h>
49202 main ()
49204 _fmodf(0, 0);
49206 return 0;
49208 _ACEOF
49209 if ac_fn_cxx_try_compile "$LINENO"; then :
49210 glibcxx_cv_func__fmodf_use=yes
49211 else
49212 glibcxx_cv_func__fmodf_use=no
49214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49215 ac_ext=c
49216 ac_cpp='$CPP $CPPFLAGS'
49217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49226 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49228 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49229 for ac_func in _fmodf
49230 do :
49231 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49232 if test "x$ac_cv_func__fmodf" = x""yes; then :
49233 cat >>confdefs.h <<_ACEOF
49234 #define HAVE__FMODF 1
49235 _ACEOF
49238 done
49247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49248 $as_echo_n "checking for frexpf declaration... " >&6; }
49249 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49250 if test "${glibcxx_cv_func_frexpf_use+set}" = set; 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 frexpf(0, 0);
49269 return 0;
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func_frexpf_use=yes
49274 else
49275 glibcxx_cv_func_frexpf_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
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49289 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49291 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49292 for ac_func in frexpf
49293 do :
49294 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49295 if test "x$ac_cv_func_frexpf" = x""yes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE_FREXPF 1
49298 _ACEOF
49301 done
49303 else
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49306 $as_echo_n "checking for _frexpf declaration... " >&6; }
49307 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49308 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49309 $as_echo_n "(cached) " >&6
49310 else
49313 ac_ext=cpp
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49320 /* end confdefs.h. */
49321 #include <math.h>
49323 main ()
49325 _frexpf(0, 0);
49327 return 0;
49329 _ACEOF
49330 if ac_fn_cxx_try_compile "$LINENO"; then :
49331 glibcxx_cv_func__frexpf_use=yes
49332 else
49333 glibcxx_cv_func__frexpf_use=no
49335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49336 ac_ext=c
49337 ac_cpp='$CPP $CPPFLAGS'
49338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49347 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49349 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49350 for ac_func in _frexpf
49351 do :
49352 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49353 if test "x$ac_cv_func__frexpf" = x""yes; then :
49354 cat >>confdefs.h <<_ACEOF
49355 #define HAVE__FREXPF 1
49356 _ACEOF
49359 done
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49369 $as_echo_n "checking for hypotf declaration... " >&6; }
49370 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49371 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49386 main ()
49388 hypotf(0, 0);
49390 return 0;
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func_hypotf_use=yes
49395 else
49396 glibcxx_cv_func_hypotf_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49410 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49412 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49413 for ac_func in hypotf
49414 do :
49415 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49416 if test "x$ac_cv_func_hypotf" = x""yes; then :
49417 cat >>confdefs.h <<_ACEOF
49418 #define HAVE_HYPOTF 1
49419 _ACEOF
49422 done
49424 else
49426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49427 $as_echo_n "checking for _hypotf declaration... " >&6; }
49428 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49429 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49430 $as_echo_n "(cached) " >&6
49431 else
49434 ac_ext=cpp
49435 ac_cpp='$CXXCPP $CPPFLAGS'
49436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49441 /* end confdefs.h. */
49442 #include <math.h>
49444 main ()
49446 _hypotf(0, 0);
49448 return 0;
49450 _ACEOF
49451 if ac_fn_cxx_try_compile "$LINENO"; then :
49452 glibcxx_cv_func__hypotf_use=yes
49453 else
49454 glibcxx_cv_func__hypotf_use=no
49456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49457 ac_ext=c
49458 ac_cpp='$CPP $CPPFLAGS'
49459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49468 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49470 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49471 for ac_func in _hypotf
49472 do :
49473 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49474 if test "x$ac_cv_func__hypotf" = x""yes; then :
49475 cat >>confdefs.h <<_ACEOF
49476 #define HAVE__HYPOTF 1
49477 _ACEOF
49480 done
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49490 $as_echo_n "checking for ldexpf declaration... " >&6; }
49491 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49492 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49493 $as_echo_n "(cached) " >&6
49494 else
49497 ac_ext=cpp
49498 ac_cpp='$CXXCPP $CPPFLAGS'
49499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49504 /* end confdefs.h. */
49505 #include <math.h>
49507 main ()
49509 ldexpf(0, 0);
49511 return 0;
49513 _ACEOF
49514 if ac_fn_cxx_try_compile "$LINENO"; then :
49515 glibcxx_cv_func_ldexpf_use=yes
49516 else
49517 glibcxx_cv_func_ldexpf_use=no
49519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49520 ac_ext=c
49521 ac_cpp='$CPP $CPPFLAGS'
49522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49531 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49533 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49534 for ac_func in ldexpf
49535 do :
49536 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49537 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define HAVE_LDEXPF 1
49540 _ACEOF
49543 done
49545 else
49547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49548 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49549 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49550 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49551 $as_echo_n "(cached) " >&6
49552 else
49555 ac_ext=cpp
49556 ac_cpp='$CXXCPP $CPPFLAGS'
49557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49562 /* end confdefs.h. */
49563 #include <math.h>
49565 main ()
49567 _ldexpf(0, 0);
49569 return 0;
49571 _ACEOF
49572 if ac_fn_cxx_try_compile "$LINENO"; then :
49573 glibcxx_cv_func__ldexpf_use=yes
49574 else
49575 glibcxx_cv_func__ldexpf_use=no
49577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49578 ac_ext=c
49579 ac_cpp='$CPP $CPPFLAGS'
49580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49589 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49591 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49592 for ac_func in _ldexpf
49593 do :
49594 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49595 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49596 cat >>confdefs.h <<_ACEOF
49597 #define HAVE__LDEXPF 1
49598 _ACEOF
49601 done
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49611 $as_echo_n "checking for logf declaration... " >&6; }
49612 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49613 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49614 $as_echo_n "(cached) " >&6
49615 else
49618 ac_ext=cpp
49619 ac_cpp='$CXXCPP $CPPFLAGS'
49620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625 /* end confdefs.h. */
49626 #include <math.h>
49627 #ifdef HAVE_IEEEFP_H
49628 #include <ieeefp.h>
49629 #endif
49632 main ()
49634 logf(0);
49636 return 0;
49638 _ACEOF
49639 if ac_fn_cxx_try_compile "$LINENO"; then :
49640 glibcxx_cv_func_logf_use=yes
49641 else
49642 glibcxx_cv_func_logf_use=no
49644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645 ac_ext=c
49646 ac_cpp='$CPP $CPPFLAGS'
49647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49656 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49658 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49659 for ac_func in logf
49660 do :
49661 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49662 if test "x$ac_cv_func_logf" = x""yes; then :
49663 cat >>confdefs.h <<_ACEOF
49664 #define HAVE_LOGF 1
49665 _ACEOF
49668 done
49670 else
49672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49673 $as_echo_n "checking for _logf declaration... " >&6; }
49674 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49675 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49676 $as_echo_n "(cached) " >&6
49677 else
49680 ac_ext=cpp
49681 ac_cpp='$CXXCPP $CPPFLAGS'
49682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49687 /* end confdefs.h. */
49688 #include <math.h>
49689 #ifdef HAVE_IEEEFP_H
49690 #include <ieeefp.h>
49691 #endif
49694 main ()
49696 _logf(0);
49698 return 0;
49700 _ACEOF
49701 if ac_fn_cxx_try_compile "$LINENO"; then :
49702 glibcxx_cv_func__logf_use=yes
49703 else
49704 glibcxx_cv_func__logf_use=no
49706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49707 ac_ext=c
49708 ac_cpp='$CPP $CPPFLAGS'
49709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49718 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49720 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49721 for ac_func in _logf
49722 do :
49723 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49724 if test "x$ac_cv_func__logf" = x""yes; then :
49725 cat >>confdefs.h <<_ACEOF
49726 #define HAVE__LOGF 1
49727 _ACEOF
49730 done
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49740 $as_echo_n "checking for log10f declaration... " >&6; }
49741 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49742 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49743 $as_echo_n "(cached) " >&6
49744 else
49747 ac_ext=cpp
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754 /* end confdefs.h. */
49755 #include <math.h>
49756 #ifdef HAVE_IEEEFP_H
49757 #include <ieeefp.h>
49758 #endif
49761 main ()
49763 log10f(0);
49765 return 0;
49767 _ACEOF
49768 if ac_fn_cxx_try_compile "$LINENO"; then :
49769 glibcxx_cv_func_log10f_use=yes
49770 else
49771 glibcxx_cv_func_log10f_use=no
49773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49774 ac_ext=c
49775 ac_cpp='$CPP $CPPFLAGS'
49776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49785 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49787 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49788 for ac_func in log10f
49789 do :
49790 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49791 if test "x$ac_cv_func_log10f" = x""yes; then :
49792 cat >>confdefs.h <<_ACEOF
49793 #define HAVE_LOG10F 1
49794 _ACEOF
49797 done
49799 else
49801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49802 $as_echo_n "checking for _log10f declaration... " >&6; }
49803 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49804 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49805 $as_echo_n "(cached) " >&6
49806 else
49809 ac_ext=cpp
49810 ac_cpp='$CXXCPP $CPPFLAGS'
49811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49816 /* end confdefs.h. */
49817 #include <math.h>
49818 #ifdef HAVE_IEEEFP_H
49819 #include <ieeefp.h>
49820 #endif
49823 main ()
49825 _log10f(0);
49827 return 0;
49829 _ACEOF
49830 if ac_fn_cxx_try_compile "$LINENO"; then :
49831 glibcxx_cv_func__log10f_use=yes
49832 else
49833 glibcxx_cv_func__log10f_use=no
49835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49836 ac_ext=c
49837 ac_cpp='$CPP $CPPFLAGS'
49838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49847 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49849 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49850 for ac_func in _log10f
49851 do :
49852 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49853 if test "x$ac_cv_func__log10f" = x""yes; then :
49854 cat >>confdefs.h <<_ACEOF
49855 #define HAVE__LOG10F 1
49856 _ACEOF
49859 done
49868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49869 $as_echo_n "checking for modff declaration... " >&6; }
49870 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49871 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49872 $as_echo_n "(cached) " >&6
49873 else
49876 ac_ext=cpp
49877 ac_cpp='$CXXCPP $CPPFLAGS'
49878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49883 /* end confdefs.h. */
49884 #include <math.h>
49886 main ()
49888 modff(0, 0);
49890 return 0;
49892 _ACEOF
49893 if ac_fn_cxx_try_compile "$LINENO"; then :
49894 glibcxx_cv_func_modff_use=yes
49895 else
49896 glibcxx_cv_func_modff_use=no
49898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49899 ac_ext=c
49900 ac_cpp='$CPP $CPPFLAGS'
49901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49910 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49912 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49913 for ac_func in modff
49914 do :
49915 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49916 if test "x$ac_cv_func_modff" = x""yes; then :
49917 cat >>confdefs.h <<_ACEOF
49918 #define HAVE_MODFF 1
49919 _ACEOF
49922 done
49924 else
49926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49927 $as_echo_n "checking for _modff declaration... " >&6; }
49928 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49929 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49930 $as_echo_n "(cached) " >&6
49931 else
49934 ac_ext=cpp
49935 ac_cpp='$CXXCPP $CPPFLAGS'
49936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49941 /* end confdefs.h. */
49942 #include <math.h>
49944 main ()
49946 _modff(0, 0);
49948 return 0;
49950 _ACEOF
49951 if ac_fn_cxx_try_compile "$LINENO"; then :
49952 glibcxx_cv_func__modff_use=yes
49953 else
49954 glibcxx_cv_func__modff_use=no
49956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49957 ac_ext=c
49958 ac_cpp='$CPP $CPPFLAGS'
49959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49968 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49970 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49971 for ac_func in _modff
49972 do :
49973 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49974 if test "x$ac_cv_func__modff" = x""yes; then :
49975 cat >>confdefs.h <<_ACEOF
49976 #define HAVE__MODFF 1
49977 _ACEOF
49980 done
49989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49990 $as_echo_n "checking for modf declaration... " >&6; }
49991 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49992 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49993 $as_echo_n "(cached) " >&6
49994 else
49997 ac_ext=cpp
49998 ac_cpp='$CXXCPP $CPPFLAGS'
49999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50004 /* end confdefs.h. */
50005 #include <math.h>
50007 main ()
50009 modf(0, 0);
50011 return 0;
50013 _ACEOF
50014 if ac_fn_cxx_try_compile "$LINENO"; then :
50015 glibcxx_cv_func_modf_use=yes
50016 else
50017 glibcxx_cv_func_modf_use=no
50019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50020 ac_ext=c
50021 ac_cpp='$CPP $CPPFLAGS'
50022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50031 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50033 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50034 for ac_func in modf
50035 do :
50036 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50037 if test "x$ac_cv_func_modf" = x""yes; then :
50038 cat >>confdefs.h <<_ACEOF
50039 #define HAVE_MODF 1
50040 _ACEOF
50043 done
50045 else
50047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50048 $as_echo_n "checking for _modf declaration... " >&6; }
50049 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50050 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
50051 $as_echo_n "(cached) " >&6
50052 else
50055 ac_ext=cpp
50056 ac_cpp='$CXXCPP $CPPFLAGS'
50057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50062 /* end confdefs.h. */
50063 #include <math.h>
50065 main ()
50067 _modf(0, 0);
50069 return 0;
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__modf_use=yes
50074 else
50075 glibcxx_cv_func__modf_use=no
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50089 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50091 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50092 for ac_func in _modf
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50095 if test "x$ac_cv_func__modf" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__MODF 1
50098 _ACEOF
50101 done
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50111 $as_echo_n "checking for powf declaration... " >&6; }
50112 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50113 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50128 main ()
50130 powf(0, 0);
50132 return 0;
50134 _ACEOF
50135 if ac_fn_cxx_try_compile "$LINENO"; then :
50136 glibcxx_cv_func_powf_use=yes
50137 else
50138 glibcxx_cv_func_powf_use=no
50140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50141 ac_ext=c
50142 ac_cpp='$CPP $CPPFLAGS'
50143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50152 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50154 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50155 for ac_func in powf
50156 do :
50157 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50158 if test "x$ac_cv_func_powf" = x""yes; then :
50159 cat >>confdefs.h <<_ACEOF
50160 #define HAVE_POWF 1
50161 _ACEOF
50164 done
50166 else
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50169 $as_echo_n "checking for _powf declaration... " >&6; }
50170 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50171 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50172 $as_echo_n "(cached) " >&6
50173 else
50176 ac_ext=cpp
50177 ac_cpp='$CXXCPP $CPPFLAGS'
50178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50183 /* end confdefs.h. */
50184 #include <math.h>
50186 main ()
50188 _powf(0, 0);
50190 return 0;
50192 _ACEOF
50193 if ac_fn_cxx_try_compile "$LINENO"; then :
50194 glibcxx_cv_func__powf_use=yes
50195 else
50196 glibcxx_cv_func__powf_use=no
50198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50199 ac_ext=c
50200 ac_cpp='$CPP $CPPFLAGS'
50201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50210 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50212 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50213 for ac_func in _powf
50214 do :
50215 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50216 if test "x$ac_cv_func__powf" = x""yes; then :
50217 cat >>confdefs.h <<_ACEOF
50218 #define HAVE__POWF 1
50219 _ACEOF
50222 done
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50232 $as_echo_n "checking for sqrtf declaration... " >&6; }
50233 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50234 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50235 $as_echo_n "(cached) " >&6
50236 else
50239 ac_ext=cpp
50240 ac_cpp='$CXXCPP $CPPFLAGS'
50241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50246 /* end confdefs.h. */
50247 #include <math.h>
50248 #ifdef HAVE_IEEEFP_H
50249 #include <ieeefp.h>
50250 #endif
50253 main ()
50255 sqrtf(0);
50257 return 0;
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261 glibcxx_cv_func_sqrtf_use=yes
50262 else
50263 glibcxx_cv_func_sqrtf_use=no
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266 ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50277 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50279 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50280 for ac_func in sqrtf
50281 do :
50282 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50283 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50284 cat >>confdefs.h <<_ACEOF
50285 #define HAVE_SQRTF 1
50286 _ACEOF
50289 done
50291 else
50293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50294 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50295 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50296 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50297 $as_echo_n "(cached) " >&6
50298 else
50301 ac_ext=cpp
50302 ac_cpp='$CXXCPP $CPPFLAGS'
50303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50308 /* end confdefs.h. */
50309 #include <math.h>
50310 #ifdef HAVE_IEEEFP_H
50311 #include <ieeefp.h>
50312 #endif
50315 main ()
50317 _sqrtf(0);
50319 return 0;
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__sqrtf_use=yes
50324 else
50325 glibcxx_cv_func__sqrtf_use=no
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50339 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50341 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50342 for ac_func in _sqrtf
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50345 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__SQRTF 1
50348 _ACEOF
50351 done
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50361 $as_echo_n "checking for sincosf declaration... " >&6; }
50362 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50363 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50364 $as_echo_n "(cached) " >&6
50365 else
50368 ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 #include <math.h>
50378 main ()
50380 sincosf(0, 0, 0);
50382 return 0;
50384 _ACEOF
50385 if ac_fn_cxx_try_compile "$LINENO"; then :
50386 glibcxx_cv_func_sincosf_use=yes
50387 else
50388 glibcxx_cv_func_sincosf_use=no
50390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50391 ac_ext=c
50392 ac_cpp='$CPP $CPPFLAGS'
50393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50402 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50404 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50405 for ac_func in sincosf
50406 do :
50407 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50408 if test "x$ac_cv_func_sincosf" = x""yes; then :
50409 cat >>confdefs.h <<_ACEOF
50410 #define HAVE_SINCOSF 1
50411 _ACEOF
50414 done
50416 else
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50419 $as_echo_n "checking for _sincosf declaration... " >&6; }
50420 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50421 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50422 $as_echo_n "(cached) " >&6
50423 else
50426 ac_ext=cpp
50427 ac_cpp='$CXXCPP $CPPFLAGS'
50428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50433 /* end confdefs.h. */
50434 #include <math.h>
50436 main ()
50438 _sincosf(0, 0, 0);
50440 return 0;
50442 _ACEOF
50443 if ac_fn_cxx_try_compile "$LINENO"; then :
50444 glibcxx_cv_func__sincosf_use=yes
50445 else
50446 glibcxx_cv_func__sincosf_use=no
50448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50449 ac_ext=c
50450 ac_cpp='$CPP $CPPFLAGS'
50451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50460 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50462 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50463 for ac_func in _sincosf
50464 do :
50465 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50466 if test "x$ac_cv_func__sincosf" = x""yes; then :
50467 cat >>confdefs.h <<_ACEOF
50468 #define HAVE__SINCOSF 1
50469 _ACEOF
50472 done
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50482 $as_echo_n "checking for finitef declaration... " >&6; }
50483 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50484 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50485 $as_echo_n "(cached) " >&6
50486 else
50489 ac_ext=cpp
50490 ac_cpp='$CXXCPP $CPPFLAGS'
50491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 #include <math.h>
50498 #ifdef HAVE_IEEEFP_H
50499 #include <ieeefp.h>
50500 #endif
50503 main ()
50505 finitef(0);
50507 return 0;
50509 _ACEOF
50510 if ac_fn_cxx_try_compile "$LINENO"; then :
50511 glibcxx_cv_func_finitef_use=yes
50512 else
50513 glibcxx_cv_func_finitef_use=no
50515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50516 ac_ext=c
50517 ac_cpp='$CPP $CPPFLAGS'
50518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50527 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50529 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50530 for ac_func in finitef
50531 do :
50532 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50533 if test "x$ac_cv_func_finitef" = x""yes; then :
50534 cat >>confdefs.h <<_ACEOF
50535 #define HAVE_FINITEF 1
50536 _ACEOF
50539 done
50541 else
50543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50544 $as_echo_n "checking for _finitef declaration... " >&6; }
50545 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50546 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50547 $as_echo_n "(cached) " >&6
50548 else
50551 ac_ext=cpp
50552 ac_cpp='$CXXCPP $CPPFLAGS'
50553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50558 /* end confdefs.h. */
50559 #include <math.h>
50560 #ifdef HAVE_IEEEFP_H
50561 #include <ieeefp.h>
50562 #endif
50565 main ()
50567 _finitef(0);
50569 return 0;
50571 _ACEOF
50572 if ac_fn_cxx_try_compile "$LINENO"; then :
50573 glibcxx_cv_func__finitef_use=yes
50574 else
50575 glibcxx_cv_func__finitef_use=no
50577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50578 ac_ext=c
50579 ac_cpp='$CPP $CPPFLAGS'
50580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50589 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50591 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50592 for ac_func in _finitef
50593 do :
50594 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50595 if test "x$ac_cv_func__finitef" = x""yes; then :
50596 cat >>confdefs.h <<_ACEOF
50597 #define HAVE__FINITEF 1
50598 _ACEOF
50601 done
50610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50611 $as_echo_n "checking for long double trig functions... " >&6; }
50612 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50613 $as_echo_n "(cached) " >&6
50614 else
50617 ac_ext=cpp
50618 ac_cpp='$CXXCPP $CPPFLAGS'
50619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50624 /* end confdefs.h. */
50625 #include <math.h>
50627 main ()
50629 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50631 return 0;
50633 _ACEOF
50634 if ac_fn_cxx_try_compile "$LINENO"; then :
50635 glibcxx_cv_func_long_double_trig_use=yes
50636 else
50637 glibcxx_cv_func_long_double_trig_use=no
50639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50640 ac_ext=c
50641 ac_cpp='$CPP $CPPFLAGS'
50642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50649 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50650 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50651 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50652 do :
50653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50655 eval as_val=\$$as_ac_var
50656 if test "x$as_val" = x""yes; then :
50657 cat >>confdefs.h <<_ACEOF
50658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50659 _ACEOF
50662 done
50664 else
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50666 $as_echo_n "checking for _long double trig functions... " >&6; }
50667 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50668 $as_echo_n "(cached) " >&6
50669 else
50672 ac_ext=cpp
50673 ac_cpp='$CXXCPP $CPPFLAGS'
50674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50679 /* end confdefs.h. */
50680 #include <math.h>
50682 main ()
50684 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50686 return 0;
50688 _ACEOF
50689 if ac_fn_cxx_try_compile "$LINENO"; then :
50690 glibcxx_cv_func__long_double_trig_use=yes
50691 else
50692 glibcxx_cv_func__long_double_trig_use=no
50694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50695 ac_ext=c
50696 ac_cpp='$CPP $CPPFLAGS'
50697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50704 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50705 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50706 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50707 do :
50708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50710 eval as_val=\$$as_ac_var
50711 if test "x$as_val" = x""yes; then :
50712 cat >>confdefs.h <<_ACEOF
50713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50714 _ACEOF
50717 done
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50727 $as_echo_n "checking for long double round functions... " >&6; }
50728 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50729 $as_echo_n "(cached) " >&6
50730 else
50733 ac_ext=cpp
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740 /* end confdefs.h. */
50741 #include <math.h>
50743 main ()
50745 ceill (0); floorl (0);
50747 return 0;
50749 _ACEOF
50750 if ac_fn_cxx_try_compile "$LINENO"; then :
50751 glibcxx_cv_func_long_double_round_use=yes
50752 else
50753 glibcxx_cv_func_long_double_round_use=no
50755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756 ac_ext=c
50757 ac_cpp='$CPP $CPPFLAGS'
50758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50765 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50766 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50767 for ac_func in ceill floorl
50768 do :
50769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50771 eval as_val=\$$as_ac_var
50772 if test "x$as_val" = x""yes; then :
50773 cat >>confdefs.h <<_ACEOF
50774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50775 _ACEOF
50778 done
50780 else
50781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50782 $as_echo_n "checking for _long double round functions... " >&6; }
50783 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50784 $as_echo_n "(cached) " >&6
50785 else
50788 ac_ext=cpp
50789 ac_cpp='$CXXCPP $CPPFLAGS'
50790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50795 /* end confdefs.h. */
50796 #include <math.h>
50798 main ()
50800 _ceill (0); _floorl (0);
50802 return 0;
50804 _ACEOF
50805 if ac_fn_cxx_try_compile "$LINENO"; then :
50806 glibcxx_cv_func__long_double_round_use=yes
50807 else
50808 glibcxx_cv_func__long_double_round_use=no
50810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50811 ac_ext=c
50812 ac_cpp='$CPP $CPPFLAGS'
50813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50820 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50821 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50822 for ac_func in _ceill _floorl
50823 do :
50824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50826 eval as_val=\$$as_ac_var
50827 if test "x$as_val" = x""yes; then :
50828 cat >>confdefs.h <<_ACEOF
50829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50830 _ACEOF
50833 done
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50844 $as_echo_n "checking for isnanl declaration... " >&6; }
50845 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50846 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50847 $as_echo_n "(cached) " >&6
50848 else
50851 ac_ext=cpp
50852 ac_cpp='$CXXCPP $CPPFLAGS'
50853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50858 /* end confdefs.h. */
50859 #include <math.h>
50860 #ifdef HAVE_IEEEFP_H
50861 #include <ieeefp.h>
50862 #endif
50865 main ()
50867 isnanl(0);
50869 return 0;
50871 _ACEOF
50872 if ac_fn_cxx_try_compile "$LINENO"; then :
50873 glibcxx_cv_func_isnanl_use=yes
50874 else
50875 glibcxx_cv_func_isnanl_use=no
50877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50878 ac_ext=c
50879 ac_cpp='$CPP $CPPFLAGS'
50880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50889 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50891 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50892 for ac_func in isnanl
50893 do :
50894 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50895 if test "x$ac_cv_func_isnanl" = x""yes; then :
50896 cat >>confdefs.h <<_ACEOF
50897 #define HAVE_ISNANL 1
50898 _ACEOF
50901 done
50903 else
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50906 $as_echo_n "checking for _isnanl declaration... " >&6; }
50907 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50908 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50909 $as_echo_n "(cached) " >&6
50910 else
50913 ac_ext=cpp
50914 ac_cpp='$CXXCPP $CPPFLAGS'
50915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50920 /* end confdefs.h. */
50921 #include <math.h>
50922 #ifdef HAVE_IEEEFP_H
50923 #include <ieeefp.h>
50924 #endif
50927 main ()
50929 _isnanl(0);
50931 return 0;
50933 _ACEOF
50934 if ac_fn_cxx_try_compile "$LINENO"; then :
50935 glibcxx_cv_func__isnanl_use=yes
50936 else
50937 glibcxx_cv_func__isnanl_use=no
50939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50940 ac_ext=c
50941 ac_cpp='$CPP $CPPFLAGS'
50942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50951 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50953 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50954 for ac_func in _isnanl
50955 do :
50956 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50957 if test "x$ac_cv_func__isnanl" = x""yes; then :
50958 cat >>confdefs.h <<_ACEOF
50959 #define HAVE__ISNANL 1
50960 _ACEOF
50963 done
50972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50973 $as_echo_n "checking for isinfl declaration... " >&6; }
50974 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50975 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50976 $as_echo_n "(cached) " >&6
50977 else
50980 ac_ext=cpp
50981 ac_cpp='$CXXCPP $CPPFLAGS'
50982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50987 /* end confdefs.h. */
50988 #include <math.h>
50989 #ifdef HAVE_IEEEFP_H
50990 #include <ieeefp.h>
50991 #endif
50994 main ()
50996 isinfl(0);
50998 return 0;
51000 _ACEOF
51001 if ac_fn_cxx_try_compile "$LINENO"; then :
51002 glibcxx_cv_func_isinfl_use=yes
51003 else
51004 glibcxx_cv_func_isinfl_use=no
51006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51007 ac_ext=c
51008 ac_cpp='$CPP $CPPFLAGS'
51009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51018 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51020 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51021 for ac_func in isinfl
51022 do :
51023 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51024 if test "x$ac_cv_func_isinfl" = x""yes; then :
51025 cat >>confdefs.h <<_ACEOF
51026 #define HAVE_ISINFL 1
51027 _ACEOF
51030 done
51032 else
51034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51035 $as_echo_n "checking for _isinfl declaration... " >&6; }
51036 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51037 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
51038 $as_echo_n "(cached) " >&6
51039 else
51042 ac_ext=cpp
51043 ac_cpp='$CXXCPP $CPPFLAGS'
51044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51049 /* end confdefs.h. */
51050 #include <math.h>
51051 #ifdef HAVE_IEEEFP_H
51052 #include <ieeefp.h>
51053 #endif
51056 main ()
51058 _isinfl(0);
51060 return 0;
51062 _ACEOF
51063 if ac_fn_cxx_try_compile "$LINENO"; then :
51064 glibcxx_cv_func__isinfl_use=yes
51065 else
51066 glibcxx_cv_func__isinfl_use=no
51068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51069 ac_ext=c
51070 ac_cpp='$CPP $CPPFLAGS'
51071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51080 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51082 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51083 for ac_func in _isinfl
51084 do :
51085 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51086 if test "x$ac_cv_func__isinfl" = x""yes; then :
51087 cat >>confdefs.h <<_ACEOF
51088 #define HAVE__ISINFL 1
51089 _ACEOF
51092 done
51101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51102 $as_echo_n "checking for atan2l declaration... " >&6; }
51103 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51104 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
51105 $as_echo_n "(cached) " >&6
51106 else
51109 ac_ext=cpp
51110 ac_cpp='$CXXCPP $CPPFLAGS'
51111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51116 /* end confdefs.h. */
51117 #include <math.h>
51119 main ()
51121 atan2l(0, 0);
51123 return 0;
51125 _ACEOF
51126 if ac_fn_cxx_try_compile "$LINENO"; then :
51127 glibcxx_cv_func_atan2l_use=yes
51128 else
51129 glibcxx_cv_func_atan2l_use=no
51131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51132 ac_ext=c
51133 ac_cpp='$CPP $CPPFLAGS'
51134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51143 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51145 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51146 for ac_func in atan2l
51147 do :
51148 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51149 if test "x$ac_cv_func_atan2l" = x""yes; then :
51150 cat >>confdefs.h <<_ACEOF
51151 #define HAVE_ATAN2L 1
51152 _ACEOF
51155 done
51157 else
51159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51160 $as_echo_n "checking for _atan2l declaration... " >&6; }
51161 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51162 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51163 $as_echo_n "(cached) " >&6
51164 else
51167 ac_ext=cpp
51168 ac_cpp='$CXXCPP $CPPFLAGS'
51169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51174 /* end confdefs.h. */
51175 #include <math.h>
51177 main ()
51179 _atan2l(0, 0);
51181 return 0;
51183 _ACEOF
51184 if ac_fn_cxx_try_compile "$LINENO"; then :
51185 glibcxx_cv_func__atan2l_use=yes
51186 else
51187 glibcxx_cv_func__atan2l_use=no
51189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51190 ac_ext=c
51191 ac_cpp='$CPP $CPPFLAGS'
51192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51201 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51203 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51204 for ac_func in _atan2l
51205 do :
51206 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51207 if test "x$ac_cv_func__atan2l" = x""yes; then :
51208 cat >>confdefs.h <<_ACEOF
51209 #define HAVE__ATAN2L 1
51210 _ACEOF
51213 done
51222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51223 $as_echo_n "checking for expl declaration... " >&6; }
51224 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51225 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51226 $as_echo_n "(cached) " >&6
51227 else
51230 ac_ext=cpp
51231 ac_cpp='$CXXCPP $CPPFLAGS'
51232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51237 /* end confdefs.h. */
51238 #include <math.h>
51239 #ifdef HAVE_IEEEFP_H
51240 #include <ieeefp.h>
51241 #endif
51244 main ()
51246 expl(0);
51248 return 0;
51250 _ACEOF
51251 if ac_fn_cxx_try_compile "$LINENO"; then :
51252 glibcxx_cv_func_expl_use=yes
51253 else
51254 glibcxx_cv_func_expl_use=no
51256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51257 ac_ext=c
51258 ac_cpp='$CPP $CPPFLAGS'
51259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51268 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51270 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51271 for ac_func in expl
51272 do :
51273 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51274 if test "x$ac_cv_func_expl" = x""yes; then :
51275 cat >>confdefs.h <<_ACEOF
51276 #define HAVE_EXPL 1
51277 _ACEOF
51280 done
51282 else
51284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51285 $as_echo_n "checking for _expl declaration... " >&6; }
51286 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51287 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51288 $as_echo_n "(cached) " >&6
51289 else
51292 ac_ext=cpp
51293 ac_cpp='$CXXCPP $CPPFLAGS'
51294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51299 /* end confdefs.h. */
51300 #include <math.h>
51301 #ifdef HAVE_IEEEFP_H
51302 #include <ieeefp.h>
51303 #endif
51306 main ()
51308 _expl(0);
51310 return 0;
51312 _ACEOF
51313 if ac_fn_cxx_try_compile "$LINENO"; then :
51314 glibcxx_cv_func__expl_use=yes
51315 else
51316 glibcxx_cv_func__expl_use=no
51318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51319 ac_ext=c
51320 ac_cpp='$CPP $CPPFLAGS'
51321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51330 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51332 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51333 for ac_func in _expl
51334 do :
51335 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51336 if test "x$ac_cv_func__expl" = x""yes; then :
51337 cat >>confdefs.h <<_ACEOF
51338 #define HAVE__EXPL 1
51339 _ACEOF
51342 done
51351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51352 $as_echo_n "checking for fabsl declaration... " >&6; }
51353 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51354 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51355 $as_echo_n "(cached) " >&6
51356 else
51359 ac_ext=cpp
51360 ac_cpp='$CXXCPP $CPPFLAGS'
51361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51366 /* end confdefs.h. */
51367 #include <math.h>
51368 #ifdef HAVE_IEEEFP_H
51369 #include <ieeefp.h>
51370 #endif
51373 main ()
51375 fabsl(0);
51377 return 0;
51379 _ACEOF
51380 if ac_fn_cxx_try_compile "$LINENO"; then :
51381 glibcxx_cv_func_fabsl_use=yes
51382 else
51383 glibcxx_cv_func_fabsl_use=no
51385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51386 ac_ext=c
51387 ac_cpp='$CPP $CPPFLAGS'
51388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51397 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51399 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51400 for ac_func in fabsl
51401 do :
51402 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51403 if test "x$ac_cv_func_fabsl" = x""yes; then :
51404 cat >>confdefs.h <<_ACEOF
51405 #define HAVE_FABSL 1
51406 _ACEOF
51409 done
51411 else
51413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51414 $as_echo_n "checking for _fabsl declaration... " >&6; }
51415 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51416 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51417 $as_echo_n "(cached) " >&6
51418 else
51421 ac_ext=cpp
51422 ac_cpp='$CXXCPP $CPPFLAGS'
51423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51428 /* end confdefs.h. */
51429 #include <math.h>
51430 #ifdef HAVE_IEEEFP_H
51431 #include <ieeefp.h>
51432 #endif
51435 main ()
51437 _fabsl(0);
51439 return 0;
51441 _ACEOF
51442 if ac_fn_cxx_try_compile "$LINENO"; then :
51443 glibcxx_cv_func__fabsl_use=yes
51444 else
51445 glibcxx_cv_func__fabsl_use=no
51447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51448 ac_ext=c
51449 ac_cpp='$CPP $CPPFLAGS'
51450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51459 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51461 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51462 for ac_func in _fabsl
51463 do :
51464 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51465 if test "x$ac_cv_func__fabsl" = x""yes; then :
51466 cat >>confdefs.h <<_ACEOF
51467 #define HAVE__FABSL 1
51468 _ACEOF
51471 done
51480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51481 $as_echo_n "checking for fmodl declaration... " >&6; }
51482 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51483 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51484 $as_echo_n "(cached) " >&6
51485 else
51488 ac_ext=cpp
51489 ac_cpp='$CXXCPP $CPPFLAGS'
51490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51495 /* end confdefs.h. */
51496 #include <math.h>
51498 main ()
51500 fmodl(0, 0);
51502 return 0;
51504 _ACEOF
51505 if ac_fn_cxx_try_compile "$LINENO"; then :
51506 glibcxx_cv_func_fmodl_use=yes
51507 else
51508 glibcxx_cv_func_fmodl_use=no
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51511 ac_ext=c
51512 ac_cpp='$CPP $CPPFLAGS'
51513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51522 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51524 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51525 for ac_func in fmodl
51526 do :
51527 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51528 if test "x$ac_cv_func_fmodl" = x""yes; then :
51529 cat >>confdefs.h <<_ACEOF
51530 #define HAVE_FMODL 1
51531 _ACEOF
51534 done
51536 else
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51539 $as_echo_n "checking for _fmodl declaration... " >&6; }
51540 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51541 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51542 $as_echo_n "(cached) " >&6
51543 else
51546 ac_ext=cpp
51547 ac_cpp='$CXXCPP $CPPFLAGS'
51548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h. */
51554 #include <math.h>
51556 main ()
51558 _fmodl(0, 0);
51560 return 0;
51562 _ACEOF
51563 if ac_fn_cxx_try_compile "$LINENO"; then :
51564 glibcxx_cv_func__fmodl_use=yes
51565 else
51566 glibcxx_cv_func__fmodl_use=no
51568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51569 ac_ext=c
51570 ac_cpp='$CPP $CPPFLAGS'
51571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51580 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51582 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51583 for ac_func in _fmodl
51584 do :
51585 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51586 if test "x$ac_cv_func__fmodl" = x""yes; then :
51587 cat >>confdefs.h <<_ACEOF
51588 #define HAVE__FMODL 1
51589 _ACEOF
51592 done
51601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51602 $as_echo_n "checking for frexpl declaration... " >&6; }
51603 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51604 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51605 $as_echo_n "(cached) " >&6
51606 else
51609 ac_ext=cpp
51610 ac_cpp='$CXXCPP $CPPFLAGS'
51611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51616 /* end confdefs.h. */
51617 #include <math.h>
51619 main ()
51621 frexpl(0, 0);
51623 return 0;
51625 _ACEOF
51626 if ac_fn_cxx_try_compile "$LINENO"; then :
51627 glibcxx_cv_func_frexpl_use=yes
51628 else
51629 glibcxx_cv_func_frexpl_use=no
51631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51632 ac_ext=c
51633 ac_cpp='$CPP $CPPFLAGS'
51634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51643 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51645 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51646 for ac_func in frexpl
51647 do :
51648 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51649 if test "x$ac_cv_func_frexpl" = x""yes; then :
51650 cat >>confdefs.h <<_ACEOF
51651 #define HAVE_FREXPL 1
51652 _ACEOF
51655 done
51657 else
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51660 $as_echo_n "checking for _frexpl declaration... " >&6; }
51661 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51662 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51663 $as_echo_n "(cached) " >&6
51664 else
51667 ac_ext=cpp
51668 ac_cpp='$CXXCPP $CPPFLAGS'
51669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51674 /* end confdefs.h. */
51675 #include <math.h>
51677 main ()
51679 _frexpl(0, 0);
51681 return 0;
51683 _ACEOF
51684 if ac_fn_cxx_try_compile "$LINENO"; then :
51685 glibcxx_cv_func__frexpl_use=yes
51686 else
51687 glibcxx_cv_func__frexpl_use=no
51689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51690 ac_ext=c
51691 ac_cpp='$CPP $CPPFLAGS'
51692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51701 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51703 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51704 for ac_func in _frexpl
51705 do :
51706 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51707 if test "x$ac_cv_func__frexpl" = x""yes; then :
51708 cat >>confdefs.h <<_ACEOF
51709 #define HAVE__FREXPL 1
51710 _ACEOF
51713 done
51722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51723 $as_echo_n "checking for hypotl declaration... " >&6; }
51724 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51725 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51726 $as_echo_n "(cached) " >&6
51727 else
51730 ac_ext=cpp
51731 ac_cpp='$CXXCPP $CPPFLAGS'
51732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51737 /* end confdefs.h. */
51738 #include <math.h>
51740 main ()
51742 hypotl(0, 0);
51744 return 0;
51746 _ACEOF
51747 if ac_fn_cxx_try_compile "$LINENO"; then :
51748 glibcxx_cv_func_hypotl_use=yes
51749 else
51750 glibcxx_cv_func_hypotl_use=no
51752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51753 ac_ext=c
51754 ac_cpp='$CPP $CPPFLAGS'
51755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51764 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51766 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51767 for ac_func in hypotl
51768 do :
51769 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51770 if test "x$ac_cv_func_hypotl" = x""yes; then :
51771 cat >>confdefs.h <<_ACEOF
51772 #define HAVE_HYPOTL 1
51773 _ACEOF
51776 done
51778 else
51780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51781 $as_echo_n "checking for _hypotl declaration... " >&6; }
51782 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51783 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51784 $as_echo_n "(cached) " >&6
51785 else
51788 ac_ext=cpp
51789 ac_cpp='$CXXCPP $CPPFLAGS'
51790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51795 /* end confdefs.h. */
51796 #include <math.h>
51798 main ()
51800 _hypotl(0, 0);
51802 return 0;
51804 _ACEOF
51805 if ac_fn_cxx_try_compile "$LINENO"; then :
51806 glibcxx_cv_func__hypotl_use=yes
51807 else
51808 glibcxx_cv_func__hypotl_use=no
51810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51811 ac_ext=c
51812 ac_cpp='$CPP $CPPFLAGS'
51813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51822 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51824 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51825 for ac_func in _hypotl
51826 do :
51827 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51828 if test "x$ac_cv_func__hypotl" = x""yes; then :
51829 cat >>confdefs.h <<_ACEOF
51830 #define HAVE__HYPOTL 1
51831 _ACEOF
51834 done
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51844 $as_echo_n "checking for ldexpl declaration... " >&6; }
51845 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51846 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51847 $as_echo_n "(cached) " >&6
51848 else
51851 ac_ext=cpp
51852 ac_cpp='$CXXCPP $CPPFLAGS'
51853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51858 /* end confdefs.h. */
51859 #include <math.h>
51861 main ()
51863 ldexpl(0, 0);
51865 return 0;
51867 _ACEOF
51868 if ac_fn_cxx_try_compile "$LINENO"; then :
51869 glibcxx_cv_func_ldexpl_use=yes
51870 else
51871 glibcxx_cv_func_ldexpl_use=no
51873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51874 ac_ext=c
51875 ac_cpp='$CPP $CPPFLAGS'
51876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51885 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51887 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51888 for ac_func in ldexpl
51889 do :
51890 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51891 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51892 cat >>confdefs.h <<_ACEOF
51893 #define HAVE_LDEXPL 1
51894 _ACEOF
51897 done
51899 else
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51902 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51903 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51904 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51905 $as_echo_n "(cached) " >&6
51906 else
51909 ac_ext=cpp
51910 ac_cpp='$CXXCPP $CPPFLAGS'
51911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51916 /* end confdefs.h. */
51917 #include <math.h>
51919 main ()
51921 _ldexpl(0, 0);
51923 return 0;
51925 _ACEOF
51926 if ac_fn_cxx_try_compile "$LINENO"; then :
51927 glibcxx_cv_func__ldexpl_use=yes
51928 else
51929 glibcxx_cv_func__ldexpl_use=no
51931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51932 ac_ext=c
51933 ac_cpp='$CPP $CPPFLAGS'
51934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51943 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51945 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51946 for ac_func in _ldexpl
51947 do :
51948 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51949 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51950 cat >>confdefs.h <<_ACEOF
51951 #define HAVE__LDEXPL 1
51952 _ACEOF
51955 done
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51965 $as_echo_n "checking for logl declaration... " >&6; }
51966 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51967 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <math.h>
51981 #ifdef HAVE_IEEEFP_H
51982 #include <ieeefp.h>
51983 #endif
51986 main ()
51988 logl(0);
51990 return 0;
51992 _ACEOF
51993 if ac_fn_cxx_try_compile "$LINENO"; then :
51994 glibcxx_cv_func_logl_use=yes
51995 else
51996 glibcxx_cv_func_logl_use=no
51998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51999 ac_ext=c
52000 ac_cpp='$CPP $CPPFLAGS'
52001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52010 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52012 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52013 for ac_func in logl
52014 do :
52015 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52016 if test "x$ac_cv_func_logl" = x""yes; then :
52017 cat >>confdefs.h <<_ACEOF
52018 #define HAVE_LOGL 1
52019 _ACEOF
52022 done
52024 else
52026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52027 $as_echo_n "checking for _logl declaration... " >&6; }
52028 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52029 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
52030 $as_echo_n "(cached) " >&6
52031 else
52034 ac_ext=cpp
52035 ac_cpp='$CXXCPP $CPPFLAGS'
52036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52041 /* end confdefs.h. */
52042 #include <math.h>
52043 #ifdef HAVE_IEEEFP_H
52044 #include <ieeefp.h>
52045 #endif
52048 main ()
52050 _logl(0);
52052 return 0;
52054 _ACEOF
52055 if ac_fn_cxx_try_compile "$LINENO"; then :
52056 glibcxx_cv_func__logl_use=yes
52057 else
52058 glibcxx_cv_func__logl_use=no
52060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061 ac_ext=c
52062 ac_cpp='$CPP $CPPFLAGS'
52063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52072 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52074 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52075 for ac_func in _logl
52076 do :
52077 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52078 if test "x$ac_cv_func__logl" = x""yes; then :
52079 cat >>confdefs.h <<_ACEOF
52080 #define HAVE__LOGL 1
52081 _ACEOF
52084 done
52093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52094 $as_echo_n "checking for log10l declaration... " >&6; }
52095 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52096 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
52097 $as_echo_n "(cached) " >&6
52098 else
52101 ac_ext=cpp
52102 ac_cpp='$CXXCPP $CPPFLAGS'
52103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52108 /* end confdefs.h. */
52109 #include <math.h>
52110 #ifdef HAVE_IEEEFP_H
52111 #include <ieeefp.h>
52112 #endif
52115 main ()
52117 log10l(0);
52119 return 0;
52121 _ACEOF
52122 if ac_fn_cxx_try_compile "$LINENO"; then :
52123 glibcxx_cv_func_log10l_use=yes
52124 else
52125 glibcxx_cv_func_log10l_use=no
52127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52128 ac_ext=c
52129 ac_cpp='$CPP $CPPFLAGS'
52130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52139 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52141 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52142 for ac_func in log10l
52143 do :
52144 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52145 if test "x$ac_cv_func_log10l" = x""yes; then :
52146 cat >>confdefs.h <<_ACEOF
52147 #define HAVE_LOG10L 1
52148 _ACEOF
52151 done
52153 else
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52156 $as_echo_n "checking for _log10l declaration... " >&6; }
52157 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52158 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
52159 $as_echo_n "(cached) " >&6
52160 else
52163 ac_ext=cpp
52164 ac_cpp='$CXXCPP $CPPFLAGS'
52165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52170 /* end confdefs.h. */
52171 #include <math.h>
52172 #ifdef HAVE_IEEEFP_H
52173 #include <ieeefp.h>
52174 #endif
52177 main ()
52179 _log10l(0);
52181 return 0;
52183 _ACEOF
52184 if ac_fn_cxx_try_compile "$LINENO"; then :
52185 glibcxx_cv_func__log10l_use=yes
52186 else
52187 glibcxx_cv_func__log10l_use=no
52189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52190 ac_ext=c
52191 ac_cpp='$CPP $CPPFLAGS'
52192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52201 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52203 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52204 for ac_func in _log10l
52205 do :
52206 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52207 if test "x$ac_cv_func__log10l" = x""yes; then :
52208 cat >>confdefs.h <<_ACEOF
52209 #define HAVE__LOG10L 1
52210 _ACEOF
52213 done
52222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52223 $as_echo_n "checking for modfl declaration... " >&6; }
52224 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52225 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52226 $as_echo_n "(cached) " >&6
52227 else
52230 ac_ext=cpp
52231 ac_cpp='$CXXCPP $CPPFLAGS'
52232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52237 /* end confdefs.h. */
52238 #include <math.h>
52240 main ()
52242 modfl(0, 0);
52244 return 0;
52246 _ACEOF
52247 if ac_fn_cxx_try_compile "$LINENO"; then :
52248 glibcxx_cv_func_modfl_use=yes
52249 else
52250 glibcxx_cv_func_modfl_use=no
52252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52253 ac_ext=c
52254 ac_cpp='$CPP $CPPFLAGS'
52255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52264 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52266 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52267 for ac_func in modfl
52268 do :
52269 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52270 if test "x$ac_cv_func_modfl" = x""yes; then :
52271 cat >>confdefs.h <<_ACEOF
52272 #define HAVE_MODFL 1
52273 _ACEOF
52276 done
52278 else
52280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52281 $as_echo_n "checking for _modfl declaration... " >&6; }
52282 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52283 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52284 $as_echo_n "(cached) " >&6
52285 else
52288 ac_ext=cpp
52289 ac_cpp='$CXXCPP $CPPFLAGS'
52290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52295 /* end confdefs.h. */
52296 #include <math.h>
52298 main ()
52300 _modfl(0, 0);
52302 return 0;
52304 _ACEOF
52305 if ac_fn_cxx_try_compile "$LINENO"; then :
52306 glibcxx_cv_func__modfl_use=yes
52307 else
52308 glibcxx_cv_func__modfl_use=no
52310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52311 ac_ext=c
52312 ac_cpp='$CPP $CPPFLAGS'
52313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52322 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52324 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52325 for ac_func in _modfl
52326 do :
52327 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52328 if test "x$ac_cv_func__modfl" = x""yes; then :
52329 cat >>confdefs.h <<_ACEOF
52330 #define HAVE__MODFL 1
52331 _ACEOF
52334 done
52343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52344 $as_echo_n "checking for powl declaration... " >&6; }
52345 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52346 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52347 $as_echo_n "(cached) " >&6
52348 else
52351 ac_ext=cpp
52352 ac_cpp='$CXXCPP $CPPFLAGS'
52353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 #include <math.h>
52361 main ()
52363 powl(0, 0);
52365 return 0;
52367 _ACEOF
52368 if ac_fn_cxx_try_compile "$LINENO"; then :
52369 glibcxx_cv_func_powl_use=yes
52370 else
52371 glibcxx_cv_func_powl_use=no
52373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52374 ac_ext=c
52375 ac_cpp='$CPP $CPPFLAGS'
52376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52385 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52387 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52388 for ac_func in powl
52389 do :
52390 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52391 if test "x$ac_cv_func_powl" = x""yes; then :
52392 cat >>confdefs.h <<_ACEOF
52393 #define HAVE_POWL 1
52394 _ACEOF
52397 done
52399 else
52401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52402 $as_echo_n "checking for _powl declaration... " >&6; }
52403 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52404 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52405 $as_echo_n "(cached) " >&6
52406 else
52409 ac_ext=cpp
52410 ac_cpp='$CXXCPP $CPPFLAGS'
52411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52416 /* end confdefs.h. */
52417 #include <math.h>
52419 main ()
52421 _powl(0, 0);
52423 return 0;
52425 _ACEOF
52426 if ac_fn_cxx_try_compile "$LINENO"; then :
52427 glibcxx_cv_func__powl_use=yes
52428 else
52429 glibcxx_cv_func__powl_use=no
52431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52432 ac_ext=c
52433 ac_cpp='$CPP $CPPFLAGS'
52434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52443 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52445 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52446 for ac_func in _powl
52447 do :
52448 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52449 if test "x$ac_cv_func__powl" = x""yes; then :
52450 cat >>confdefs.h <<_ACEOF
52451 #define HAVE__POWL 1
52452 _ACEOF
52455 done
52464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52465 $as_echo_n "checking for sqrtl declaration... " >&6; }
52466 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52467 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52468 $as_echo_n "(cached) " >&6
52469 else
52472 ac_ext=cpp
52473 ac_cpp='$CXXCPP $CPPFLAGS'
52474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52479 /* end confdefs.h. */
52480 #include <math.h>
52481 #ifdef HAVE_IEEEFP_H
52482 #include <ieeefp.h>
52483 #endif
52486 main ()
52488 sqrtl(0);
52490 return 0;
52492 _ACEOF
52493 if ac_fn_cxx_try_compile "$LINENO"; then :
52494 glibcxx_cv_func_sqrtl_use=yes
52495 else
52496 glibcxx_cv_func_sqrtl_use=no
52498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52499 ac_ext=c
52500 ac_cpp='$CPP $CPPFLAGS'
52501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52510 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52512 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52513 for ac_func in sqrtl
52514 do :
52515 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52516 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52517 cat >>confdefs.h <<_ACEOF
52518 #define HAVE_SQRTL 1
52519 _ACEOF
52522 done
52524 else
52526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52527 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52528 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52529 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52530 $as_echo_n "(cached) " >&6
52531 else
52534 ac_ext=cpp
52535 ac_cpp='$CXXCPP $CPPFLAGS'
52536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52541 /* end confdefs.h. */
52542 #include <math.h>
52543 #ifdef HAVE_IEEEFP_H
52544 #include <ieeefp.h>
52545 #endif
52548 main ()
52550 _sqrtl(0);
52552 return 0;
52554 _ACEOF
52555 if ac_fn_cxx_try_compile "$LINENO"; then :
52556 glibcxx_cv_func__sqrtl_use=yes
52557 else
52558 glibcxx_cv_func__sqrtl_use=no
52560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52561 ac_ext=c
52562 ac_cpp='$CPP $CPPFLAGS'
52563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52572 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52574 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52575 for ac_func in _sqrtl
52576 do :
52577 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52578 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52579 cat >>confdefs.h <<_ACEOF
52580 #define HAVE__SQRTL 1
52581 _ACEOF
52584 done
52593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52594 $as_echo_n "checking for sincosl declaration... " >&6; }
52595 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52596 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52597 $as_echo_n "(cached) " >&6
52598 else
52601 ac_ext=cpp
52602 ac_cpp='$CXXCPP $CPPFLAGS'
52603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52608 /* end confdefs.h. */
52609 #include <math.h>
52611 main ()
52613 sincosl(0, 0, 0);
52615 return 0;
52617 _ACEOF
52618 if ac_fn_cxx_try_compile "$LINENO"; then :
52619 glibcxx_cv_func_sincosl_use=yes
52620 else
52621 glibcxx_cv_func_sincosl_use=no
52623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52624 ac_ext=c
52625 ac_cpp='$CPP $CPPFLAGS'
52626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52635 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52637 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52638 for ac_func in sincosl
52639 do :
52640 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52641 if test "x$ac_cv_func_sincosl" = x""yes; then :
52642 cat >>confdefs.h <<_ACEOF
52643 #define HAVE_SINCOSL 1
52644 _ACEOF
52647 done
52649 else
52651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52652 $as_echo_n "checking for _sincosl declaration... " >&6; }
52653 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52654 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52655 $as_echo_n "(cached) " >&6
52656 else
52659 ac_ext=cpp
52660 ac_cpp='$CXXCPP $CPPFLAGS'
52661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52666 /* end confdefs.h. */
52667 #include <math.h>
52669 main ()
52671 _sincosl(0, 0, 0);
52673 return 0;
52675 _ACEOF
52676 if ac_fn_cxx_try_compile "$LINENO"; then :
52677 glibcxx_cv_func__sincosl_use=yes
52678 else
52679 glibcxx_cv_func__sincosl_use=no
52681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52682 ac_ext=c
52683 ac_cpp='$CPP $CPPFLAGS'
52684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52693 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52695 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52696 for ac_func in _sincosl
52697 do :
52698 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52699 if test "x$ac_cv_func__sincosl" = x""yes; then :
52700 cat >>confdefs.h <<_ACEOF
52701 #define HAVE__SINCOSL 1
52702 _ACEOF
52705 done
52714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52715 $as_echo_n "checking for finitel declaration... " >&6; }
52716 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52717 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52718 $as_echo_n "(cached) " >&6
52719 else
52722 ac_ext=cpp
52723 ac_cpp='$CXXCPP $CPPFLAGS'
52724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52729 /* end confdefs.h. */
52730 #include <math.h>
52731 #ifdef HAVE_IEEEFP_H
52732 #include <ieeefp.h>
52733 #endif
52736 main ()
52738 finitel(0);
52740 return 0;
52742 _ACEOF
52743 if ac_fn_cxx_try_compile "$LINENO"; then :
52744 glibcxx_cv_func_finitel_use=yes
52745 else
52746 glibcxx_cv_func_finitel_use=no
52748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52749 ac_ext=c
52750 ac_cpp='$CPP $CPPFLAGS'
52751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52760 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52762 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52763 for ac_func in finitel
52764 do :
52765 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52766 if test "x$ac_cv_func_finitel" = x""yes; then :
52767 cat >>confdefs.h <<_ACEOF
52768 #define HAVE_FINITEL 1
52769 _ACEOF
52772 done
52774 else
52776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52777 $as_echo_n "checking for _finitel declaration... " >&6; }
52778 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52779 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52780 $as_echo_n "(cached) " >&6
52781 else
52784 ac_ext=cpp
52785 ac_cpp='$CXXCPP $CPPFLAGS'
52786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52791 /* end confdefs.h. */
52792 #include <math.h>
52793 #ifdef HAVE_IEEEFP_H
52794 #include <ieeefp.h>
52795 #endif
52798 main ()
52800 _finitel(0);
52802 return 0;
52804 _ACEOF
52805 if ac_fn_cxx_try_compile "$LINENO"; then :
52806 glibcxx_cv_func__finitel_use=yes
52807 else
52808 glibcxx_cv_func__finitel_use=no
52810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52811 ac_ext=c
52812 ac_cpp='$CPP $CPPFLAGS'
52813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52822 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52824 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52825 for ac_func in _finitel
52826 do :
52827 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52828 if test "x$ac_cv_func__finitel" = x""yes; then :
52829 cat >>confdefs.h <<_ACEOF
52830 #define HAVE__FINITEL 1
52831 _ACEOF
52834 done
52842 LIBS="$ac_save_LIBS"
52843 CXXFLAGS="$ac_save_CXXFLAGS"
52846 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52847 ac_save_CXXFLAGS="$CXXFLAGS"
52848 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52852 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52853 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52854 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52855 $as_echo_n "(cached) " >&6
52856 else
52859 ac_ext=cpp
52860 ac_cpp='$CXXCPP $CPPFLAGS'
52861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52866 /* end confdefs.h. */
52867 #include <stdlib.h>
52869 main ()
52871 at_quick_exit(0);
52873 return 0;
52875 _ACEOF
52876 if ac_fn_cxx_try_compile "$LINENO"; then :
52877 glibcxx_cv_func_at_quick_exit_use=yes
52878 else
52879 glibcxx_cv_func_at_quick_exit_use=no
52881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52882 ac_ext=c
52883 ac_cpp='$CPP $CPPFLAGS'
52884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52893 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52894 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52895 for ac_func in at_quick_exit
52896 do :
52897 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52898 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52899 cat >>confdefs.h <<_ACEOF
52900 #define HAVE_AT_QUICK_EXIT 1
52901 _ACEOF
52904 done
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52910 $as_echo_n "checking for quick_exit declaration... " >&6; }
52911 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52912 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52913 $as_echo_n "(cached) " >&6
52914 else
52917 ac_ext=cpp
52918 ac_cpp='$CXXCPP $CPPFLAGS'
52919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52924 /* end confdefs.h. */
52925 #include <stdlib.h>
52927 main ()
52929 quick_exit(0);
52931 return 0;
52933 _ACEOF
52934 if ac_fn_cxx_try_compile "$LINENO"; then :
52935 glibcxx_cv_func_quick_exit_use=yes
52936 else
52937 glibcxx_cv_func_quick_exit_use=no
52939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52940 ac_ext=c
52941 ac_cpp='$CPP $CPPFLAGS'
52942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52951 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52952 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52953 for ac_func in quick_exit
52954 do :
52955 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52956 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52957 cat >>confdefs.h <<_ACEOF
52958 #define HAVE_QUICK_EXIT 1
52959 _ACEOF
52962 done
52967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52968 $as_echo_n "checking for strtold declaration... " >&6; }
52969 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52970 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52971 $as_echo_n "(cached) " >&6
52972 else
52975 ac_ext=cpp
52976 ac_cpp='$CXXCPP $CPPFLAGS'
52977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52982 /* end confdefs.h. */
52983 #include <stdlib.h>
52985 main ()
52987 strtold(0, 0);
52989 return 0;
52991 _ACEOF
52992 if ac_fn_cxx_try_compile "$LINENO"; then :
52993 glibcxx_cv_func_strtold_use=yes
52994 else
52995 glibcxx_cv_func_strtold_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_strtold_use" >&5
53009 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53010 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53011 for ac_func in strtold
53012 do :
53013 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53014 if test "x$ac_cv_func_strtold" = x""yes; then :
53015 cat >>confdefs.h <<_ACEOF
53016 #define HAVE_STRTOLD 1
53017 _ACEOF
53020 done
53027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53028 $as_echo_n "checking for strtof declaration... " >&6; }
53029 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53030 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
53031 $as_echo_n "(cached) " >&6
53032 else
53035 ac_ext=cpp
53036 ac_cpp='$CXXCPP $CPPFLAGS'
53037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53042 /* end confdefs.h. */
53043 #include <stdlib.h>
53045 main ()
53047 strtof(0, 0);
53049 return 0;
53051 _ACEOF
53052 if ac_fn_cxx_try_compile "$LINENO"; then :
53053 glibcxx_cv_func_strtof_use=yes
53054 else
53055 glibcxx_cv_func_strtof_use=no
53057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53058 ac_ext=c
53059 ac_cpp='$CPP $CPPFLAGS'
53060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53069 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53070 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53071 for ac_func in strtof
53072 do :
53073 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53074 if test "x$ac_cv_func_strtof" = x""yes; then :
53075 cat >>confdefs.h <<_ACEOF
53076 #define HAVE_STRTOF 1
53077 _ACEOF
53080 done
53087 CXXFLAGS="$ac_save_CXXFLAGS"
53091 *djgpp)
53092 # GLIBCXX_CHECK_MATH_SUPPORT
53093 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53095 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53097 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53099 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53101 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53105 *-freebsd*)
53106 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53109 # If we're not using GNU ld, then there's no point in even trying these
53110 # tests. Check for that first. We should have already tested for gld
53111 # by now (in libtool), but require it now just to be safe...
53112 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53113 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53117 # The name set by libtool depends on the version of libtool. Shame on us
53118 # for depending on an impl detail, but c'est la vie. Older versions used
53119 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53120 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53121 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53122 # set (hence we're using an older libtool), then set it.
53123 if test x${with_gnu_ld+set} != xset; then
53124 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53125 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53126 with_gnu_ld=no
53127 else
53128 with_gnu_ld=$ac_cv_prog_gnu_ld
53132 # Start by getting the version number. I think the libtool test already
53133 # does some of this, but throws away the result.
53134 glibcxx_ld_is_gold=no
53135 if test x"$with_gnu_ld" = x"yes"; then
53136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53137 $as_echo_n "checking for ld version... " >&6; }
53139 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53140 glibcxx_ld_is_gold=yes
53142 ldver=`$LD --version 2>/dev/null |
53143 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53145 glibcxx_gnu_ld_version=`echo $ldver | \
53146 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53148 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53151 # Set --gc-sections.
53152 glibcxx_have_gc_sections=no
53153 if test "$glibcxx_ld_is_gold" = "yes"; then
53154 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53155 glibcxx_have_gc_sections=yes
53157 else
53158 glibcxx_gcsections_min_ld=21602
53159 if test x"$with_gnu_ld" = x"yes" &&
53160 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53161 glibcxx_have_gc_sections=yes
53164 if test "$glibcxx_have_gc_sections" = "yes"; then
53165 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53166 # NB: This flag only works reliably after 2.16.1. Configure tests
53167 # for this are difficult, so hard wire a value that should work.
53169 ac_test_CFLAGS="${CFLAGS+set}"
53170 ac_save_CFLAGS="$CFLAGS"
53171 CFLAGS='-Wl,--gc-sections'
53173 # Check for -Wl,--gc-sections
53174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53175 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53176 if test x$gcc_no_link = xyes; then
53177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53180 /* end confdefs.h. */
53181 int one(void) { return 1; }
53182 int two(void) { return 2; }
53185 main ()
53187 two();
53189 return 0;
53191 _ACEOF
53192 if ac_fn_c_try_link "$LINENO"; then :
53193 ac_gcsections=yes
53194 else
53195 ac_gcsections=no
53197 rm -f core conftest.err conftest.$ac_objext \
53198 conftest$ac_exeext conftest.$ac_ext
53199 if test "$ac_gcsections" = "yes"; then
53200 rm -f conftest.c
53201 touch conftest.c
53202 if $CC -c conftest.c; then
53203 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53204 grep "Warning: gc-sections option ignored" > /dev/null; then
53205 ac_gcsections=no
53208 rm -f conftest.c conftest.o conftest
53210 if test "$ac_gcsections" = "yes"; then
53211 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53214 $as_echo "$ac_gcsections" >&6; }
53216 if test "$ac_test_CFLAGS" = set; then
53217 CFLAGS="$ac_save_CFLAGS"
53218 else
53219 # this is the suspicious part
53220 CFLAGS=''
53224 # Set -z,relro.
53225 # Note this is only for shared objects.
53226 ac_ld_relro=no
53227 if test x"$with_gnu_ld" = x"yes"; then
53228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53229 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53230 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53231 if test -n "$cxx_z_relo"; then
53232 OPT_LDFLAGS="-Wl,-z,relro"
53233 ac_ld_relro=yes
53235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53236 $as_echo "$ac_ld_relro" >&6; }
53239 # Set linker optimization flags.
53240 if test x"$with_gnu_ld" = x"yes"; then
53241 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53247 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53249 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53251 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53253 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53255 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53257 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53259 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53261 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53263 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53266 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53268 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53270 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53272 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53274 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53276 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53278 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53280 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53282 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53284 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53286 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53288 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53290 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53292 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53294 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53296 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53298 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53300 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53302 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53304 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53306 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53308 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53310 if test x"long_double_math_on_this_cpu" = x"yes"; then
53311 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53313 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53315 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53318 for ac_func in __cxa_thread_atexit
53319 do :
53320 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53321 if test "x$ac_cv_func___cxa_thread_atexit" = x""yes; then :
53322 cat >>confdefs.h <<_ACEOF
53323 #define HAVE___CXA_THREAD_ATEXIT 1
53324 _ACEOF
53327 done
53331 *-fuchsia*)
53332 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53336 *-hpux*)
53337 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53340 # If we're not using GNU ld, then there's no point in even trying these
53341 # tests. Check for that first. We should have already tested for gld
53342 # by now (in libtool), but require it now just to be safe...
53343 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53344 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53348 # The name set by libtool depends on the version of libtool. Shame on us
53349 # for depending on an impl detail, but c'est la vie. Older versions used
53350 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53351 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53352 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53353 # set (hence we're using an older libtool), then set it.
53354 if test x${with_gnu_ld+set} != xset; then
53355 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53356 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53357 with_gnu_ld=no
53358 else
53359 with_gnu_ld=$ac_cv_prog_gnu_ld
53363 # Start by getting the version number. I think the libtool test already
53364 # does some of this, but throws away the result.
53365 glibcxx_ld_is_gold=no
53366 if test x"$with_gnu_ld" = x"yes"; then
53367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53368 $as_echo_n "checking for ld version... " >&6; }
53370 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53371 glibcxx_ld_is_gold=yes
53373 ldver=`$LD --version 2>/dev/null |
53374 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53376 glibcxx_gnu_ld_version=`echo $ldver | \
53377 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53379 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53382 # Set --gc-sections.
53383 glibcxx_have_gc_sections=no
53384 if test "$glibcxx_ld_is_gold" = "yes"; then
53385 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53386 glibcxx_have_gc_sections=yes
53388 else
53389 glibcxx_gcsections_min_ld=21602
53390 if test x"$with_gnu_ld" = x"yes" &&
53391 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53392 glibcxx_have_gc_sections=yes
53395 if test "$glibcxx_have_gc_sections" = "yes"; then
53396 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53397 # NB: This flag only works reliably after 2.16.1. Configure tests
53398 # for this are difficult, so hard wire a value that should work.
53400 ac_test_CFLAGS="${CFLAGS+set}"
53401 ac_save_CFLAGS="$CFLAGS"
53402 CFLAGS='-Wl,--gc-sections'
53404 # Check for -Wl,--gc-sections
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53406 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53407 if test x$gcc_no_link = xyes; then
53408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53411 /* end confdefs.h. */
53412 int one(void) { return 1; }
53413 int two(void) { return 2; }
53416 main ()
53418 two();
53420 return 0;
53422 _ACEOF
53423 if ac_fn_c_try_link "$LINENO"; then :
53424 ac_gcsections=yes
53425 else
53426 ac_gcsections=no
53428 rm -f core conftest.err conftest.$ac_objext \
53429 conftest$ac_exeext conftest.$ac_ext
53430 if test "$ac_gcsections" = "yes"; then
53431 rm -f conftest.c
53432 touch conftest.c
53433 if $CC -c conftest.c; then
53434 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53435 grep "Warning: gc-sections option ignored" > /dev/null; then
53436 ac_gcsections=no
53439 rm -f conftest.c conftest.o conftest
53441 if test "$ac_gcsections" = "yes"; then
53442 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53445 $as_echo "$ac_gcsections" >&6; }
53447 if test "$ac_test_CFLAGS" = set; then
53448 CFLAGS="$ac_save_CFLAGS"
53449 else
53450 # this is the suspicious part
53451 CFLAGS=''
53455 # Set -z,relro.
53456 # Note this is only for shared objects.
53457 ac_ld_relro=no
53458 if test x"$with_gnu_ld" = x"yes"; then
53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53460 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53461 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53462 if test -n "$cxx_z_relo"; then
53463 OPT_LDFLAGS="-Wl,-z,relro"
53464 ac_ld_relro=yes
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53467 $as_echo "$ac_ld_relro" >&6; }
53470 # Set linker optimization flags.
53471 if test x"$with_gnu_ld" = x"yes"; then
53472 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53479 # GLIBCXX_CHECK_MATH_SUPPORT
53480 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53482 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53484 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53486 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53488 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53490 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53492 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53494 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53496 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53498 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53500 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53502 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53504 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53506 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53508 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53510 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53512 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53514 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53516 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53518 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53520 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53523 # GLIBCXX_CHECK_STDLIB_SUPPORT
53524 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53529 # Check whether --enable-tls was given.
53530 if test "${enable_tls+set}" = set; then :
53531 enableval=$enable_tls;
53532 case "$enableval" in
53533 yes|no) ;;
53534 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53535 esac
53537 else
53538 enable_tls=yes
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53543 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53544 if test "${gcc_cv_have_tls+set}" = set; then :
53545 $as_echo_n "(cached) " >&6
53546 else
53548 if test "$cross_compiling" = yes; then :
53549 if test x$gcc_no_link = xyes; then
53550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53553 /* end confdefs.h. */
53554 __thread int a; int b; int main() { return a = b; }
53555 _ACEOF
53556 if ac_fn_c_try_link "$LINENO"; then :
53557 chktls_save_LDFLAGS="$LDFLAGS"
53558 case $host in
53559 *-*-linux*)
53560 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53562 esac
53563 chktls_save_CFLAGS="$CFLAGS"
53564 CFLAGS="-fPIC $CFLAGS"
53565 if test x$gcc_no_link = xyes; then
53566 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53569 /* end confdefs.h. */
53570 int f() { return 0; }
53571 _ACEOF
53572 if ac_fn_c_try_link "$LINENO"; then :
53573 if test x$gcc_no_link = xyes; then
53574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53578 __thread int a; int b; int f() { return a = b; }
53579 _ACEOF
53580 if ac_fn_c_try_link "$LINENO"; then :
53581 gcc_cv_have_tls=yes
53582 else
53583 gcc_cv_have_tls=no
53585 rm -f core conftest.err conftest.$ac_objext \
53586 conftest$ac_exeext conftest.$ac_ext
53587 else
53588 gcc_cv_have_tls=yes
53590 rm -f core conftest.err conftest.$ac_objext \
53591 conftest$ac_exeext conftest.$ac_ext
53592 CFLAGS="$chktls_save_CFLAGS"
53593 LDFLAGS="$chktls_save_LDFLAGS"
53594 else
53595 gcc_cv_have_tls=no
53597 rm -f core conftest.err conftest.$ac_objext \
53598 conftest$ac_exeext conftest.$ac_ext
53601 else
53602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53603 /* end confdefs.h. */
53604 __thread int a; int b; int main() { return a = b; }
53605 _ACEOF
53606 if ac_fn_c_try_run "$LINENO"; then :
53607 chktls_save_LDFLAGS="$LDFLAGS"
53608 LDFLAGS="-static $LDFLAGS"
53609 if test x$gcc_no_link = xyes; then
53610 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53613 /* end confdefs.h. */
53614 int main() { return 0; }
53615 _ACEOF
53616 if ac_fn_c_try_link "$LINENO"; then :
53617 if test "$cross_compiling" = yes; then :
53618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53620 as_fn_error "cannot run test program while cross compiling
53621 See \`config.log' for more details." "$LINENO" 5; }
53622 else
53623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53624 /* end confdefs.h. */
53625 __thread int a; int b; int main() { return a = b; }
53626 _ACEOF
53627 if ac_fn_c_try_run "$LINENO"; then :
53628 gcc_cv_have_tls=yes
53629 else
53630 gcc_cv_have_tls=no
53632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53633 conftest.$ac_objext conftest.beam conftest.$ac_ext
53636 else
53637 gcc_cv_have_tls=yes
53639 rm -f core conftest.err conftest.$ac_objext \
53640 conftest$ac_exeext conftest.$ac_ext
53641 LDFLAGS="$chktls_save_LDFLAGS"
53642 if test $gcc_cv_have_tls = yes; then
53643 chktls_save_CFLAGS="$CFLAGS"
53644 thread_CFLAGS=failed
53645 for flag in '' '-pthread' '-lpthread'; do
53646 CFLAGS="$flag $chktls_save_CFLAGS"
53647 if test x$gcc_no_link = xyes; then
53648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53651 /* end confdefs.h. */
53652 #include <pthread.h>
53653 void *g(void *d) { return NULL; }
53655 main ()
53657 pthread_t t; pthread_create(&t,NULL,g,NULL);
53659 return 0;
53661 _ACEOF
53662 if ac_fn_c_try_link "$LINENO"; then :
53663 thread_CFLAGS="$flag"
53665 rm -f core conftest.err conftest.$ac_objext \
53666 conftest$ac_exeext conftest.$ac_ext
53667 if test "X$thread_CFLAGS" != Xfailed; then
53668 break
53670 done
53671 CFLAGS="$chktls_save_CFLAGS"
53672 if test "X$thread_CFLAGS" != Xfailed; then
53673 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53674 if test "$cross_compiling" = yes; then :
53675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53677 as_fn_error "cannot run test program while cross compiling
53678 See \`config.log' for more details." "$LINENO" 5; }
53679 else
53680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53681 /* end confdefs.h. */
53682 #include <pthread.h>
53683 __thread int a;
53684 static int *volatile a_in_other_thread;
53685 static void *
53686 thread_func (void *arg)
53688 a_in_other_thread = &a;
53689 return (void *)0;
53692 main ()
53694 pthread_t thread;
53695 void *thread_retval;
53696 int *volatile a_in_main_thread;
53697 a_in_main_thread = &a;
53698 if (pthread_create (&thread, (pthread_attr_t *)0,
53699 thread_func, (void *)0))
53700 return 0;
53701 if (pthread_join (thread, &thread_retval))
53702 return 0;
53703 return (a_in_other_thread == a_in_main_thread);
53705 return 0;
53707 _ACEOF
53708 if ac_fn_c_try_run "$LINENO"; then :
53709 gcc_cv_have_tls=yes
53710 else
53711 gcc_cv_have_tls=no
53713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53714 conftest.$ac_objext conftest.beam conftest.$ac_ext
53717 CFLAGS="$chktls_save_CFLAGS"
53720 else
53721 gcc_cv_have_tls=no
53723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53724 conftest.$ac_objext conftest.beam conftest.$ac_ext
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53729 $as_echo "$gcc_cv_have_tls" >&6; }
53730 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53732 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53735 case "$target" in
53736 *-hpux10*)
53737 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53739 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53741 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53743 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53745 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53748 esac
53750 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53752 # All these tests are for C++; save the language and the compiler flags.
53753 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53754 # found in GLIBCXX_CONFIGURE.
53756 ac_ext=cpp
53757 ac_cpp='$CXXCPP $CPPFLAGS'
53758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53762 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53763 ac_save_CXXFLAGS="$CXXFLAGS"
53765 # Check for maintainer-mode bits.
53766 if test x"$USE_MAINTAINER_MODE" = xno; then
53767 WERROR=''
53768 else
53769 WERROR='-Werror'
53772 # Check for -ffunction-sections -fdata-sections
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53774 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53775 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53777 /* end confdefs.h. */
53778 int foo; void bar() { };
53780 main ()
53784 return 0;
53786 _ACEOF
53787 if ac_fn_cxx_try_compile "$LINENO"; then :
53788 ac_fdsections=yes
53789 else
53790 ac_fdsections=no
53792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53793 if test "$ac_test_CXXFLAGS" = set; then
53794 CXXFLAGS="$ac_save_CXXFLAGS"
53795 else
53796 # this is the suspicious part
53797 CXXFLAGS=''
53799 if test x"$ac_fdsections" = x"yes"; then
53800 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53803 $as_echo "$ac_fdsections" >&6; }
53805 ac_ext=c
53806 ac_cpp='$CPP $CPPFLAGS'
53807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53815 # If we're not using GNU ld, then there's no point in even trying these
53816 # tests. Check for that first. We should have already tested for gld
53817 # by now (in libtool), but require it now just to be safe...
53818 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53819 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53823 # The name set by libtool depends on the version of libtool. Shame on us
53824 # for depending on an impl detail, but c'est la vie. Older versions used
53825 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53826 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53827 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53828 # set (hence we're using an older libtool), then set it.
53829 if test x${with_gnu_ld+set} != xset; then
53830 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53831 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53832 with_gnu_ld=no
53833 else
53834 with_gnu_ld=$ac_cv_prog_gnu_ld
53838 # Start by getting the version number. I think the libtool test already
53839 # does some of this, but throws away the result.
53840 glibcxx_ld_is_gold=no
53841 if test x"$with_gnu_ld" = x"yes"; then
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53843 $as_echo_n "checking for ld version... " >&6; }
53845 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53846 glibcxx_ld_is_gold=yes
53848 ldver=`$LD --version 2>/dev/null |
53849 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
53851 glibcxx_gnu_ld_version=`echo $ldver | \
53852 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53854 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53857 # Set --gc-sections.
53858 glibcxx_have_gc_sections=no
53859 if test "$glibcxx_ld_is_gold" = "yes"; then
53860 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53861 glibcxx_have_gc_sections=yes
53863 else
53864 glibcxx_gcsections_min_ld=21602
53865 if test x"$with_gnu_ld" = x"yes" &&
53866 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53867 glibcxx_have_gc_sections=yes
53870 if test "$glibcxx_have_gc_sections" = "yes"; then
53871 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53872 # NB: This flag only works reliably after 2.16.1. Configure tests
53873 # for this are difficult, so hard wire a value that should work.
53875 ac_test_CFLAGS="${CFLAGS+set}"
53876 ac_save_CFLAGS="$CFLAGS"
53877 CFLAGS='-Wl,--gc-sections'
53879 # Check for -Wl,--gc-sections
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53881 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53882 if test x$gcc_no_link = xyes; then
53883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 int one(void) { return 1; }
53888 int two(void) { return 2; }
53891 main ()
53893 two();
53895 return 0;
53897 _ACEOF
53898 if ac_fn_c_try_link "$LINENO"; then :
53899 ac_gcsections=yes
53900 else
53901 ac_gcsections=no
53903 rm -f core conftest.err conftest.$ac_objext \
53904 conftest$ac_exeext conftest.$ac_ext
53905 if test "$ac_gcsections" = "yes"; then
53906 rm -f conftest.c
53907 touch conftest.c
53908 if $CC -c conftest.c; then
53909 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53910 grep "Warning: gc-sections option ignored" > /dev/null; then
53911 ac_gcsections=no
53914 rm -f conftest.c conftest.o conftest
53916 if test "$ac_gcsections" = "yes"; then
53917 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53920 $as_echo "$ac_gcsections" >&6; }
53922 if test "$ac_test_CFLAGS" = set; then
53923 CFLAGS="$ac_save_CFLAGS"
53924 else
53925 # this is the suspicious part
53926 CFLAGS=''
53930 # Set -z,relro.
53931 # Note this is only for shared objects.
53932 ac_ld_relro=no
53933 if test x"$with_gnu_ld" = x"yes"; then
53934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53935 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53936 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53937 if test -n "$cxx_z_relo"; then
53938 OPT_LDFLAGS="-Wl,-z,relro"
53939 ac_ld_relro=yes
53941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53942 $as_echo "$ac_ld_relro" >&6; }
53945 # Set linker optimization flags.
53946 if test x"$with_gnu_ld" = x"yes"; then
53947 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53954 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53955 ac_save_CXXFLAGS="$CXXFLAGS"
53956 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53959 $as_echo_n "checking for sin in -lm... " >&6; }
53960 if test "${ac_cv_lib_m_sin+set}" = set; then :
53961 $as_echo_n "(cached) " >&6
53962 else
53963 ac_check_lib_save_LIBS=$LIBS
53964 LIBS="-lm $LIBS"
53965 if test x$gcc_no_link = xyes; then
53966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53969 /* end confdefs.h. */
53971 /* Override any GCC internal prototype to avoid an error.
53972 Use char because int might match the return type of a GCC
53973 builtin and then its argument prototype would still apply. */
53974 #ifdef __cplusplus
53975 extern "C"
53976 #endif
53977 char sin ();
53979 main ()
53981 return sin ();
53983 return 0;
53985 _ACEOF
53986 if ac_fn_c_try_link "$LINENO"; then :
53987 ac_cv_lib_m_sin=yes
53988 else
53989 ac_cv_lib_m_sin=no
53991 rm -f core conftest.err conftest.$ac_objext \
53992 conftest$ac_exeext conftest.$ac_ext
53993 LIBS=$ac_check_lib_save_LIBS
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53996 $as_echo "$ac_cv_lib_m_sin" >&6; }
53997 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53998 libm="-lm"
54001 ac_save_LIBS="$LIBS"
54002 LIBS="$LIBS $libm"
54006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54007 $as_echo_n "checking for isinf declaration... " >&6; }
54008 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54009 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
54010 $as_echo_n "(cached) " >&6
54011 else
54014 ac_ext=cpp
54015 ac_cpp='$CXXCPP $CPPFLAGS'
54016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54021 /* end confdefs.h. */
54022 #include <math.h>
54023 #ifdef HAVE_IEEEFP_H
54024 #include <ieeefp.h>
54025 #endif
54028 main ()
54030 isinf(0);
54032 return 0;
54034 _ACEOF
54035 if ac_fn_cxx_try_compile "$LINENO"; then :
54036 glibcxx_cv_func_isinf_use=yes
54037 else
54038 glibcxx_cv_func_isinf_use=no
54040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54041 ac_ext=c
54042 ac_cpp='$CPP $CPPFLAGS'
54043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54052 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54054 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54055 for ac_func in isinf
54056 do :
54057 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54058 if test "x$ac_cv_func_isinf" = x""yes; then :
54059 cat >>confdefs.h <<_ACEOF
54060 #define HAVE_ISINF 1
54061 _ACEOF
54064 done
54066 else
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54069 $as_echo_n "checking for _isinf declaration... " >&6; }
54070 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54071 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
54072 $as_echo_n "(cached) " >&6
54073 else
54076 ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h. */
54084 #include <math.h>
54085 #ifdef HAVE_IEEEFP_H
54086 #include <ieeefp.h>
54087 #endif
54090 main ()
54092 _isinf(0);
54094 return 0;
54096 _ACEOF
54097 if ac_fn_cxx_try_compile "$LINENO"; then :
54098 glibcxx_cv_func__isinf_use=yes
54099 else
54100 glibcxx_cv_func__isinf_use=no
54102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54103 ac_ext=c
54104 ac_cpp='$CPP $CPPFLAGS'
54105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54114 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54116 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54117 for ac_func in _isinf
54118 do :
54119 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54120 if test "x$ac_cv_func__isinf" = x""yes; then :
54121 cat >>confdefs.h <<_ACEOF
54122 #define HAVE__ISINF 1
54123 _ACEOF
54126 done
54135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54136 $as_echo_n "checking for isnan declaration... " >&6; }
54137 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54138 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
54139 $as_echo_n "(cached) " >&6
54140 else
54143 ac_ext=cpp
54144 ac_cpp='$CXXCPP $CPPFLAGS'
54145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54150 /* end confdefs.h. */
54151 #include <math.h>
54152 #ifdef HAVE_IEEEFP_H
54153 #include <ieeefp.h>
54154 #endif
54157 main ()
54159 isnan(0);
54161 return 0;
54163 _ACEOF
54164 if ac_fn_cxx_try_compile "$LINENO"; then :
54165 glibcxx_cv_func_isnan_use=yes
54166 else
54167 glibcxx_cv_func_isnan_use=no
54169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54170 ac_ext=c
54171 ac_cpp='$CPP $CPPFLAGS'
54172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54181 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54183 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54184 for ac_func in isnan
54185 do :
54186 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54187 if test "x$ac_cv_func_isnan" = x""yes; then :
54188 cat >>confdefs.h <<_ACEOF
54189 #define HAVE_ISNAN 1
54190 _ACEOF
54193 done
54195 else
54197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54198 $as_echo_n "checking for _isnan declaration... " >&6; }
54199 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54200 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54201 $as_echo_n "(cached) " >&6
54202 else
54205 ac_ext=cpp
54206 ac_cpp='$CXXCPP $CPPFLAGS'
54207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54212 /* end confdefs.h. */
54213 #include <math.h>
54214 #ifdef HAVE_IEEEFP_H
54215 #include <ieeefp.h>
54216 #endif
54219 main ()
54221 _isnan(0);
54223 return 0;
54225 _ACEOF
54226 if ac_fn_cxx_try_compile "$LINENO"; then :
54227 glibcxx_cv_func__isnan_use=yes
54228 else
54229 glibcxx_cv_func__isnan_use=no
54231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54232 ac_ext=c
54233 ac_cpp='$CPP $CPPFLAGS'
54234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54243 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54245 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54246 for ac_func in _isnan
54247 do :
54248 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54249 if test "x$ac_cv_func__isnan" = x""yes; then :
54250 cat >>confdefs.h <<_ACEOF
54251 #define HAVE__ISNAN 1
54252 _ACEOF
54255 done
54264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54265 $as_echo_n "checking for finite declaration... " >&6; }
54266 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54267 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54268 $as_echo_n "(cached) " >&6
54269 else
54272 ac_ext=cpp
54273 ac_cpp='$CXXCPP $CPPFLAGS'
54274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54279 /* end confdefs.h. */
54280 #include <math.h>
54281 #ifdef HAVE_IEEEFP_H
54282 #include <ieeefp.h>
54283 #endif
54286 main ()
54288 finite(0);
54290 return 0;
54292 _ACEOF
54293 if ac_fn_cxx_try_compile "$LINENO"; then :
54294 glibcxx_cv_func_finite_use=yes
54295 else
54296 glibcxx_cv_func_finite_use=no
54298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54299 ac_ext=c
54300 ac_cpp='$CPP $CPPFLAGS'
54301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54310 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54312 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54313 for ac_func in finite
54314 do :
54315 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54316 if test "x$ac_cv_func_finite" = x""yes; then :
54317 cat >>confdefs.h <<_ACEOF
54318 #define HAVE_FINITE 1
54319 _ACEOF
54322 done
54324 else
54326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54327 $as_echo_n "checking for _finite declaration... " >&6; }
54328 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54329 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54330 $as_echo_n "(cached) " >&6
54331 else
54334 ac_ext=cpp
54335 ac_cpp='$CXXCPP $CPPFLAGS'
54336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54341 /* end confdefs.h. */
54342 #include <math.h>
54343 #ifdef HAVE_IEEEFP_H
54344 #include <ieeefp.h>
54345 #endif
54348 main ()
54350 _finite(0);
54352 return 0;
54354 _ACEOF
54355 if ac_fn_cxx_try_compile "$LINENO"; then :
54356 glibcxx_cv_func__finite_use=yes
54357 else
54358 glibcxx_cv_func__finite_use=no
54360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54361 ac_ext=c
54362 ac_cpp='$CPP $CPPFLAGS'
54363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54372 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54374 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54375 for ac_func in _finite
54376 do :
54377 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54378 if test "x$ac_cv_func__finite" = x""yes; then :
54379 cat >>confdefs.h <<_ACEOF
54380 #define HAVE__FINITE 1
54381 _ACEOF
54384 done
54393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54394 $as_echo_n "checking for sincos declaration... " >&6; }
54395 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54396 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54397 $as_echo_n "(cached) " >&6
54398 else
54401 ac_ext=cpp
54402 ac_cpp='$CXXCPP $CPPFLAGS'
54403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54408 /* end confdefs.h. */
54409 #include <math.h>
54411 main ()
54413 sincos(0, 0, 0);
54415 return 0;
54417 _ACEOF
54418 if ac_fn_cxx_try_compile "$LINENO"; then :
54419 glibcxx_cv_func_sincos_use=yes
54420 else
54421 glibcxx_cv_func_sincos_use=no
54423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54424 ac_ext=c
54425 ac_cpp='$CPP $CPPFLAGS'
54426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54435 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54437 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54438 for ac_func in sincos
54439 do :
54440 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54441 if test "x$ac_cv_func_sincos" = x""yes; then :
54442 cat >>confdefs.h <<_ACEOF
54443 #define HAVE_SINCOS 1
54444 _ACEOF
54447 done
54449 else
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54452 $as_echo_n "checking for _sincos declaration... " >&6; }
54453 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54454 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54455 $as_echo_n "(cached) " >&6
54456 else
54459 ac_ext=cpp
54460 ac_cpp='$CXXCPP $CPPFLAGS'
54461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54466 /* end confdefs.h. */
54467 #include <math.h>
54469 main ()
54471 _sincos(0, 0, 0);
54473 return 0;
54475 _ACEOF
54476 if ac_fn_cxx_try_compile "$LINENO"; then :
54477 glibcxx_cv_func__sincos_use=yes
54478 else
54479 glibcxx_cv_func__sincos_use=no
54481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54482 ac_ext=c
54483 ac_cpp='$CPP $CPPFLAGS'
54484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54493 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54495 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54496 for ac_func in _sincos
54497 do :
54498 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54499 if test "x$ac_cv_func__sincos" = x""yes; then :
54500 cat >>confdefs.h <<_ACEOF
54501 #define HAVE__SINCOS 1
54502 _ACEOF
54505 done
54514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54515 $as_echo_n "checking for fpclass declaration... " >&6; }
54516 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54517 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54518 $as_echo_n "(cached) " >&6
54519 else
54522 ac_ext=cpp
54523 ac_cpp='$CXXCPP $CPPFLAGS'
54524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54529 /* end confdefs.h. */
54530 #include <math.h>
54531 #ifdef HAVE_IEEEFP_H
54532 #include <ieeefp.h>
54533 #endif
54536 main ()
54538 fpclass(0);
54540 return 0;
54542 _ACEOF
54543 if ac_fn_cxx_try_compile "$LINENO"; then :
54544 glibcxx_cv_func_fpclass_use=yes
54545 else
54546 glibcxx_cv_func_fpclass_use=no
54548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54549 ac_ext=c
54550 ac_cpp='$CPP $CPPFLAGS'
54551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54560 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54562 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54563 for ac_func in fpclass
54564 do :
54565 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54566 if test "x$ac_cv_func_fpclass" = x""yes; then :
54567 cat >>confdefs.h <<_ACEOF
54568 #define HAVE_FPCLASS 1
54569 _ACEOF
54572 done
54574 else
54576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54577 $as_echo_n "checking for _fpclass declaration... " >&6; }
54578 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54579 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54580 $as_echo_n "(cached) " >&6
54581 else
54584 ac_ext=cpp
54585 ac_cpp='$CXXCPP $CPPFLAGS'
54586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54591 /* end confdefs.h. */
54592 #include <math.h>
54593 #ifdef HAVE_IEEEFP_H
54594 #include <ieeefp.h>
54595 #endif
54598 main ()
54600 _fpclass(0);
54602 return 0;
54604 _ACEOF
54605 if ac_fn_cxx_try_compile "$LINENO"; then :
54606 glibcxx_cv_func__fpclass_use=yes
54607 else
54608 glibcxx_cv_func__fpclass_use=no
54610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54611 ac_ext=c
54612 ac_cpp='$CPP $CPPFLAGS'
54613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54622 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54624 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54625 for ac_func in _fpclass
54626 do :
54627 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54628 if test "x$ac_cv_func__fpclass" = x""yes; then :
54629 cat >>confdefs.h <<_ACEOF
54630 #define HAVE__FPCLASS 1
54631 _ACEOF
54634 done
54643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54644 $as_echo_n "checking for qfpclass declaration... " >&6; }
54645 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54646 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54647 $as_echo_n "(cached) " >&6
54648 else
54651 ac_ext=cpp
54652 ac_cpp='$CXXCPP $CPPFLAGS'
54653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54658 /* end confdefs.h. */
54659 #include <math.h>
54660 #ifdef HAVE_IEEEFP_H
54661 #include <ieeefp.h>
54662 #endif
54665 main ()
54667 qfpclass(0);
54669 return 0;
54671 _ACEOF
54672 if ac_fn_cxx_try_compile "$LINENO"; then :
54673 glibcxx_cv_func_qfpclass_use=yes
54674 else
54675 glibcxx_cv_func_qfpclass_use=no
54677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54678 ac_ext=c
54679 ac_cpp='$CPP $CPPFLAGS'
54680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54689 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54691 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54692 for ac_func in qfpclass
54693 do :
54694 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54695 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54696 cat >>confdefs.h <<_ACEOF
54697 #define HAVE_QFPCLASS 1
54698 _ACEOF
54701 done
54703 else
54705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54706 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54707 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54708 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54709 $as_echo_n "(cached) " >&6
54710 else
54713 ac_ext=cpp
54714 ac_cpp='$CXXCPP $CPPFLAGS'
54715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54720 /* end confdefs.h. */
54721 #include <math.h>
54722 #ifdef HAVE_IEEEFP_H
54723 #include <ieeefp.h>
54724 #endif
54727 main ()
54729 _qfpclass(0);
54731 return 0;
54733 _ACEOF
54734 if ac_fn_cxx_try_compile "$LINENO"; then :
54735 glibcxx_cv_func__qfpclass_use=yes
54736 else
54737 glibcxx_cv_func__qfpclass_use=no
54739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54740 ac_ext=c
54741 ac_cpp='$CPP $CPPFLAGS'
54742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54751 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54753 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54754 for ac_func in _qfpclass
54755 do :
54756 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54757 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54758 cat >>confdefs.h <<_ACEOF
54759 #define HAVE__QFPCLASS 1
54760 _ACEOF
54763 done
54772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54773 $as_echo_n "checking for hypot declaration... " >&6; }
54774 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54775 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54776 $as_echo_n "(cached) " >&6
54777 else
54780 ac_ext=cpp
54781 ac_cpp='$CXXCPP $CPPFLAGS'
54782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54787 /* end confdefs.h. */
54788 #include <math.h>
54790 main ()
54792 hypot(0, 0);
54794 return 0;
54796 _ACEOF
54797 if ac_fn_cxx_try_compile "$LINENO"; then :
54798 glibcxx_cv_func_hypot_use=yes
54799 else
54800 glibcxx_cv_func_hypot_use=no
54802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54803 ac_ext=c
54804 ac_cpp='$CPP $CPPFLAGS'
54805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54814 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54816 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54817 for ac_func in hypot
54818 do :
54819 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54820 if test "x$ac_cv_func_hypot" = x""yes; then :
54821 cat >>confdefs.h <<_ACEOF
54822 #define HAVE_HYPOT 1
54823 _ACEOF
54826 done
54828 else
54830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54831 $as_echo_n "checking for _hypot declaration... " >&6; }
54832 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54833 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54834 $as_echo_n "(cached) " >&6
54835 else
54838 ac_ext=cpp
54839 ac_cpp='$CXXCPP $CPPFLAGS'
54840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54845 /* end confdefs.h. */
54846 #include <math.h>
54848 main ()
54850 _hypot(0, 0);
54852 return 0;
54854 _ACEOF
54855 if ac_fn_cxx_try_compile "$LINENO"; then :
54856 glibcxx_cv_func__hypot_use=yes
54857 else
54858 glibcxx_cv_func__hypot_use=no
54860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54861 ac_ext=c
54862 ac_cpp='$CPP $CPPFLAGS'
54863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54872 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54874 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54875 for ac_func in _hypot
54876 do :
54877 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54878 if test "x$ac_cv_func__hypot" = x""yes; then :
54879 cat >>confdefs.h <<_ACEOF
54880 #define HAVE__HYPOT 1
54881 _ACEOF
54884 done
54893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54894 $as_echo_n "checking for float trig functions... " >&6; }
54895 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54896 $as_echo_n "(cached) " >&6
54897 else
54900 ac_ext=cpp
54901 ac_cpp='$CXXCPP $CPPFLAGS'
54902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54907 /* end confdefs.h. */
54908 #include <math.h>
54910 main ()
54912 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54914 return 0;
54916 _ACEOF
54917 if ac_fn_cxx_try_compile "$LINENO"; then :
54918 glibcxx_cv_func_float_trig_use=yes
54919 else
54920 glibcxx_cv_func_float_trig_use=no
54922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54923 ac_ext=c
54924 ac_cpp='$CPP $CPPFLAGS'
54925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54932 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54933 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54934 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54935 do :
54936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54938 eval as_val=\$$as_ac_var
54939 if test "x$as_val" = x""yes; then :
54940 cat >>confdefs.h <<_ACEOF
54941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54942 _ACEOF
54945 done
54947 else
54948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54949 $as_echo_n "checking for _float trig functions... " >&6; }
54950 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54951 $as_echo_n "(cached) " >&6
54952 else
54955 ac_ext=cpp
54956 ac_cpp='$CXXCPP $CPPFLAGS'
54957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54962 /* end confdefs.h. */
54963 #include <math.h>
54965 main ()
54967 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54969 return 0;
54971 _ACEOF
54972 if ac_fn_cxx_try_compile "$LINENO"; then :
54973 glibcxx_cv_func__float_trig_use=yes
54974 else
54975 glibcxx_cv_func__float_trig_use=no
54977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54978 ac_ext=c
54979 ac_cpp='$CPP $CPPFLAGS'
54980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54987 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54988 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54989 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54990 do :
54991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54993 eval as_val=\$$as_ac_var
54994 if test "x$as_val" = x""yes; then :
54995 cat >>confdefs.h <<_ACEOF
54996 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54997 _ACEOF
55000 done
55009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55010 $as_echo_n "checking for float round functions... " >&6; }
55011 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
55012 $as_echo_n "(cached) " >&6
55013 else
55016 ac_ext=cpp
55017 ac_cpp='$CXXCPP $CPPFLAGS'
55018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55023 /* end confdefs.h. */
55024 #include <math.h>
55026 main ()
55028 ceilf (0); floorf (0);
55030 return 0;
55032 _ACEOF
55033 if ac_fn_cxx_try_compile "$LINENO"; then :
55034 glibcxx_cv_func_float_round_use=yes
55035 else
55036 glibcxx_cv_func_float_round_use=no
55038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55039 ac_ext=c
55040 ac_cpp='$CPP $CPPFLAGS'
55041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55048 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55049 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55050 for ac_func in ceilf floorf
55051 do :
55052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55054 eval as_val=\$$as_ac_var
55055 if test "x$as_val" = x""yes; then :
55056 cat >>confdefs.h <<_ACEOF
55057 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55058 _ACEOF
55061 done
55063 else
55064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55065 $as_echo_n "checking for _float round functions... " >&6; }
55066 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
55067 $as_echo_n "(cached) " >&6
55068 else
55071 ac_ext=cpp
55072 ac_cpp='$CXXCPP $CPPFLAGS'
55073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55078 /* end confdefs.h. */
55079 #include <math.h>
55081 main ()
55083 _ceilf (0); _floorf (0);
55085 return 0;
55087 _ACEOF
55088 if ac_fn_cxx_try_compile "$LINENO"; then :
55089 glibcxx_cv_func__float_round_use=yes
55090 else
55091 glibcxx_cv_func__float_round_use=no
55093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55094 ac_ext=c
55095 ac_cpp='$CPP $CPPFLAGS'
55096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55103 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55104 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55105 for ac_func in _ceilf _floorf
55106 do :
55107 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55108 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55109 eval as_val=\$$as_ac_var
55110 if test "x$as_val" = x""yes; then :
55111 cat >>confdefs.h <<_ACEOF
55112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55113 _ACEOF
55116 done
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55127 $as_echo_n "checking for expf declaration... " >&6; }
55128 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55129 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
55130 $as_echo_n "(cached) " >&6
55131 else
55134 ac_ext=cpp
55135 ac_cpp='$CXXCPP $CPPFLAGS'
55136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55141 /* end confdefs.h. */
55142 #include <math.h>
55143 #ifdef HAVE_IEEEFP_H
55144 #include <ieeefp.h>
55145 #endif
55148 main ()
55150 expf(0);
55152 return 0;
55154 _ACEOF
55155 if ac_fn_cxx_try_compile "$LINENO"; then :
55156 glibcxx_cv_func_expf_use=yes
55157 else
55158 glibcxx_cv_func_expf_use=no
55160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55161 ac_ext=c
55162 ac_cpp='$CPP $CPPFLAGS'
55163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55172 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55174 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55175 for ac_func in expf
55176 do :
55177 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55178 if test "x$ac_cv_func_expf" = x""yes; then :
55179 cat >>confdefs.h <<_ACEOF
55180 #define HAVE_EXPF 1
55181 _ACEOF
55184 done
55186 else
55188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55189 $as_echo_n "checking for _expf declaration... " >&6; }
55190 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55191 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55192 $as_echo_n "(cached) " >&6
55193 else
55196 ac_ext=cpp
55197 ac_cpp='$CXXCPP $CPPFLAGS'
55198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55203 /* end confdefs.h. */
55204 #include <math.h>
55205 #ifdef HAVE_IEEEFP_H
55206 #include <ieeefp.h>
55207 #endif
55210 main ()
55212 _expf(0);
55214 return 0;
55216 _ACEOF
55217 if ac_fn_cxx_try_compile "$LINENO"; then :
55218 glibcxx_cv_func__expf_use=yes
55219 else
55220 glibcxx_cv_func__expf_use=no
55222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55223 ac_ext=c
55224 ac_cpp='$CPP $CPPFLAGS'
55225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55234 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55236 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55237 for ac_func in _expf
55238 do :
55239 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55240 if test "x$ac_cv_func__expf" = x""yes; then :
55241 cat >>confdefs.h <<_ACEOF
55242 #define HAVE__EXPF 1
55243 _ACEOF
55246 done
55255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55256 $as_echo_n "checking for isnanf declaration... " >&6; }
55257 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55258 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55259 $as_echo_n "(cached) " >&6
55260 else
55263 ac_ext=cpp
55264 ac_cpp='$CXXCPP $CPPFLAGS'
55265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55270 /* end confdefs.h. */
55271 #include <math.h>
55272 #ifdef HAVE_IEEEFP_H
55273 #include <ieeefp.h>
55274 #endif
55277 main ()
55279 isnanf(0);
55281 return 0;
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_isnanf_use=yes
55286 else
55287 glibcxx_cv_func_isnanf_use=no
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55301 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55303 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55304 for ac_func in isnanf
55305 do :
55306 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55307 if test "x$ac_cv_func_isnanf" = x""yes; then :
55308 cat >>confdefs.h <<_ACEOF
55309 #define HAVE_ISNANF 1
55310 _ACEOF
55313 done
55315 else
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55318 $as_echo_n "checking for _isnanf declaration... " >&6; }
55319 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55320 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55321 $as_echo_n "(cached) " >&6
55322 else
55325 ac_ext=cpp
55326 ac_cpp='$CXXCPP $CPPFLAGS'
55327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55332 /* end confdefs.h. */
55333 #include <math.h>
55334 #ifdef HAVE_IEEEFP_H
55335 #include <ieeefp.h>
55336 #endif
55339 main ()
55341 _isnanf(0);
55343 return 0;
55345 _ACEOF
55346 if ac_fn_cxx_try_compile "$LINENO"; then :
55347 glibcxx_cv_func__isnanf_use=yes
55348 else
55349 glibcxx_cv_func__isnanf_use=no
55351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55352 ac_ext=c
55353 ac_cpp='$CPP $CPPFLAGS'
55354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55363 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55365 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55366 for ac_func in _isnanf
55367 do :
55368 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55369 if test "x$ac_cv_func__isnanf" = x""yes; then :
55370 cat >>confdefs.h <<_ACEOF
55371 #define HAVE__ISNANF 1
55372 _ACEOF
55375 done
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55385 $as_echo_n "checking for isinff declaration... " >&6; }
55386 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55387 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55388 $as_echo_n "(cached) " >&6
55389 else
55392 ac_ext=cpp
55393 ac_cpp='$CXXCPP $CPPFLAGS'
55394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55399 /* end confdefs.h. */
55400 #include <math.h>
55401 #ifdef HAVE_IEEEFP_H
55402 #include <ieeefp.h>
55403 #endif
55406 main ()
55408 isinff(0);
55410 return 0;
55412 _ACEOF
55413 if ac_fn_cxx_try_compile "$LINENO"; then :
55414 glibcxx_cv_func_isinff_use=yes
55415 else
55416 glibcxx_cv_func_isinff_use=no
55418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55419 ac_ext=c
55420 ac_cpp='$CPP $CPPFLAGS'
55421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55430 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55432 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55433 for ac_func in isinff
55434 do :
55435 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55436 if test "x$ac_cv_func_isinff" = x""yes; then :
55437 cat >>confdefs.h <<_ACEOF
55438 #define HAVE_ISINFF 1
55439 _ACEOF
55442 done
55444 else
55446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55447 $as_echo_n "checking for _isinff declaration... " >&6; }
55448 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55449 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55450 $as_echo_n "(cached) " >&6
55451 else
55454 ac_ext=cpp
55455 ac_cpp='$CXXCPP $CPPFLAGS'
55456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55461 /* end confdefs.h. */
55462 #include <math.h>
55463 #ifdef HAVE_IEEEFP_H
55464 #include <ieeefp.h>
55465 #endif
55468 main ()
55470 _isinff(0);
55472 return 0;
55474 _ACEOF
55475 if ac_fn_cxx_try_compile "$LINENO"; then :
55476 glibcxx_cv_func__isinff_use=yes
55477 else
55478 glibcxx_cv_func__isinff_use=no
55480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55481 ac_ext=c
55482 ac_cpp='$CPP $CPPFLAGS'
55483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55492 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55494 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55495 for ac_func in _isinff
55496 do :
55497 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55498 if test "x$ac_cv_func__isinff" = x""yes; then :
55499 cat >>confdefs.h <<_ACEOF
55500 #define HAVE__ISINFF 1
55501 _ACEOF
55504 done
55513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55514 $as_echo_n "checking for atan2f declaration... " >&6; }
55515 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55516 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55517 $as_echo_n "(cached) " >&6
55518 else
55521 ac_ext=cpp
55522 ac_cpp='$CXXCPP $CPPFLAGS'
55523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55528 /* end confdefs.h. */
55529 #include <math.h>
55531 main ()
55533 atan2f(0, 0);
55535 return 0;
55537 _ACEOF
55538 if ac_fn_cxx_try_compile "$LINENO"; then :
55539 glibcxx_cv_func_atan2f_use=yes
55540 else
55541 glibcxx_cv_func_atan2f_use=no
55543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55544 ac_ext=c
55545 ac_cpp='$CPP $CPPFLAGS'
55546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55555 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55557 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55558 for ac_func in atan2f
55559 do :
55560 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55561 if test "x$ac_cv_func_atan2f" = x""yes; then :
55562 cat >>confdefs.h <<_ACEOF
55563 #define HAVE_ATAN2F 1
55564 _ACEOF
55567 done
55569 else
55571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55572 $as_echo_n "checking for _atan2f declaration... " >&6; }
55573 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55574 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55575 $as_echo_n "(cached) " >&6
55576 else
55579 ac_ext=cpp
55580 ac_cpp='$CXXCPP $CPPFLAGS'
55581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55586 /* end confdefs.h. */
55587 #include <math.h>
55589 main ()
55591 _atan2f(0, 0);
55593 return 0;
55595 _ACEOF
55596 if ac_fn_cxx_try_compile "$LINENO"; then :
55597 glibcxx_cv_func__atan2f_use=yes
55598 else
55599 glibcxx_cv_func__atan2f_use=no
55601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55602 ac_ext=c
55603 ac_cpp='$CPP $CPPFLAGS'
55604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55613 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55615 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55616 for ac_func in _atan2f
55617 do :
55618 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55619 if test "x$ac_cv_func__atan2f" = x""yes; then :
55620 cat >>confdefs.h <<_ACEOF
55621 #define HAVE__ATAN2F 1
55622 _ACEOF
55625 done
55634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55635 $as_echo_n "checking for fabsf declaration... " >&6; }
55636 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55637 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55638 $as_echo_n "(cached) " >&6
55639 else
55642 ac_ext=cpp
55643 ac_cpp='$CXXCPP $CPPFLAGS'
55644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55649 /* end confdefs.h. */
55650 #include <math.h>
55651 #ifdef HAVE_IEEEFP_H
55652 #include <ieeefp.h>
55653 #endif
55656 main ()
55658 fabsf(0);
55660 return 0;
55662 _ACEOF
55663 if ac_fn_cxx_try_compile "$LINENO"; then :
55664 glibcxx_cv_func_fabsf_use=yes
55665 else
55666 glibcxx_cv_func_fabsf_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
55679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55680 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55682 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55683 for ac_func in fabsf
55684 do :
55685 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55686 if test "x$ac_cv_func_fabsf" = x""yes; then :
55687 cat >>confdefs.h <<_ACEOF
55688 #define HAVE_FABSF 1
55689 _ACEOF
55692 done
55694 else
55696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55697 $as_echo_n "checking for _fabsf declaration... " >&6; }
55698 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55699 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55700 $as_echo_n "(cached) " >&6
55701 else
55704 ac_ext=cpp
55705 ac_cpp='$CXXCPP $CPPFLAGS'
55706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55711 /* end confdefs.h. */
55712 #include <math.h>
55713 #ifdef HAVE_IEEEFP_H
55714 #include <ieeefp.h>
55715 #endif
55718 main ()
55720 _fabsf(0);
55722 return 0;
55724 _ACEOF
55725 if ac_fn_cxx_try_compile "$LINENO"; then :
55726 glibcxx_cv_func__fabsf_use=yes
55727 else
55728 glibcxx_cv_func__fabsf_use=no
55730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55731 ac_ext=c
55732 ac_cpp='$CPP $CPPFLAGS'
55733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55742 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55744 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55745 for ac_func in _fabsf
55746 do :
55747 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55748 if test "x$ac_cv_func__fabsf" = x""yes; then :
55749 cat >>confdefs.h <<_ACEOF
55750 #define HAVE__FABSF 1
55751 _ACEOF
55754 done
55763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55764 $as_echo_n "checking for fmodf declaration... " >&6; }
55765 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55766 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55767 $as_echo_n "(cached) " >&6
55768 else
55771 ac_ext=cpp
55772 ac_cpp='$CXXCPP $CPPFLAGS'
55773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55778 /* end confdefs.h. */
55779 #include <math.h>
55781 main ()
55783 fmodf(0, 0);
55785 return 0;
55787 _ACEOF
55788 if ac_fn_cxx_try_compile "$LINENO"; then :
55789 glibcxx_cv_func_fmodf_use=yes
55790 else
55791 glibcxx_cv_func_fmodf_use=no
55793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55794 ac_ext=c
55795 ac_cpp='$CPP $CPPFLAGS'
55796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55805 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55807 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55808 for ac_func in fmodf
55809 do :
55810 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55811 if test "x$ac_cv_func_fmodf" = x""yes; then :
55812 cat >>confdefs.h <<_ACEOF
55813 #define HAVE_FMODF 1
55814 _ACEOF
55817 done
55819 else
55821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55822 $as_echo_n "checking for _fmodf declaration... " >&6; }
55823 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55824 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55825 $as_echo_n "(cached) " >&6
55826 else
55829 ac_ext=cpp
55830 ac_cpp='$CXXCPP $CPPFLAGS'
55831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55836 /* end confdefs.h. */
55837 #include <math.h>
55839 main ()
55841 _fmodf(0, 0);
55843 return 0;
55845 _ACEOF
55846 if ac_fn_cxx_try_compile "$LINENO"; then :
55847 glibcxx_cv_func__fmodf_use=yes
55848 else
55849 glibcxx_cv_func__fmodf_use=no
55851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55852 ac_ext=c
55853 ac_cpp='$CPP $CPPFLAGS'
55854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55863 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55865 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55866 for ac_func in _fmodf
55867 do :
55868 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55869 if test "x$ac_cv_func__fmodf" = x""yes; then :
55870 cat >>confdefs.h <<_ACEOF
55871 #define HAVE__FMODF 1
55872 _ACEOF
55875 done
55884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55885 $as_echo_n "checking for frexpf declaration... " >&6; }
55886 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55887 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55888 $as_echo_n "(cached) " >&6
55889 else
55892 ac_ext=cpp
55893 ac_cpp='$CXXCPP $CPPFLAGS'
55894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55899 /* end confdefs.h. */
55900 #include <math.h>
55902 main ()
55904 frexpf(0, 0);
55906 return 0;
55908 _ACEOF
55909 if ac_fn_cxx_try_compile "$LINENO"; then :
55910 glibcxx_cv_func_frexpf_use=yes
55911 else
55912 glibcxx_cv_func_frexpf_use=no
55914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55915 ac_ext=c
55916 ac_cpp='$CPP $CPPFLAGS'
55917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55926 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55928 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55929 for ac_func in frexpf
55930 do :
55931 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55932 if test "x$ac_cv_func_frexpf" = x""yes; then :
55933 cat >>confdefs.h <<_ACEOF
55934 #define HAVE_FREXPF 1
55935 _ACEOF
55938 done
55940 else
55942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55943 $as_echo_n "checking for _frexpf declaration... " >&6; }
55944 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55945 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55946 $as_echo_n "(cached) " >&6
55947 else
55950 ac_ext=cpp
55951 ac_cpp='$CXXCPP $CPPFLAGS'
55952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55957 /* end confdefs.h. */
55958 #include <math.h>
55960 main ()
55962 _frexpf(0, 0);
55964 return 0;
55966 _ACEOF
55967 if ac_fn_cxx_try_compile "$LINENO"; then :
55968 glibcxx_cv_func__frexpf_use=yes
55969 else
55970 glibcxx_cv_func__frexpf_use=no
55972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55973 ac_ext=c
55974 ac_cpp='$CPP $CPPFLAGS'
55975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55984 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55986 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55987 for ac_func in _frexpf
55988 do :
55989 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55990 if test "x$ac_cv_func__frexpf" = x""yes; then :
55991 cat >>confdefs.h <<_ACEOF
55992 #define HAVE__FREXPF 1
55993 _ACEOF
55996 done
56005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56006 $as_echo_n "checking for hypotf declaration... " >&6; }
56007 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56008 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
56009 $as_echo_n "(cached) " >&6
56010 else
56013 ac_ext=cpp
56014 ac_cpp='$CXXCPP $CPPFLAGS'
56015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56020 /* end confdefs.h. */
56021 #include <math.h>
56023 main ()
56025 hypotf(0, 0);
56027 return 0;
56029 _ACEOF
56030 if ac_fn_cxx_try_compile "$LINENO"; then :
56031 glibcxx_cv_func_hypotf_use=yes
56032 else
56033 glibcxx_cv_func_hypotf_use=no
56035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56036 ac_ext=c
56037 ac_cpp='$CPP $CPPFLAGS'
56038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56047 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56049 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56050 for ac_func in hypotf
56051 do :
56052 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56053 if test "x$ac_cv_func_hypotf" = x""yes; then :
56054 cat >>confdefs.h <<_ACEOF
56055 #define HAVE_HYPOTF 1
56056 _ACEOF
56059 done
56061 else
56063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56064 $as_echo_n "checking for _hypotf declaration... " >&6; }
56065 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56066 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
56067 $as_echo_n "(cached) " >&6
56068 else
56071 ac_ext=cpp
56072 ac_cpp='$CXXCPP $CPPFLAGS'
56073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56078 /* end confdefs.h. */
56079 #include <math.h>
56081 main ()
56083 _hypotf(0, 0);
56085 return 0;
56087 _ACEOF
56088 if ac_fn_cxx_try_compile "$LINENO"; then :
56089 glibcxx_cv_func__hypotf_use=yes
56090 else
56091 glibcxx_cv_func__hypotf_use=no
56093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56094 ac_ext=c
56095 ac_cpp='$CPP $CPPFLAGS'
56096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56105 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56107 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56108 for ac_func in _hypotf
56109 do :
56110 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56111 if test "x$ac_cv_func__hypotf" = x""yes; then :
56112 cat >>confdefs.h <<_ACEOF
56113 #define HAVE__HYPOTF 1
56114 _ACEOF
56117 done
56126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56127 $as_echo_n "checking for ldexpf declaration... " >&6; }
56128 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56129 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
56130 $as_echo_n "(cached) " >&6
56131 else
56134 ac_ext=cpp
56135 ac_cpp='$CXXCPP $CPPFLAGS'
56136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56141 /* end confdefs.h. */
56142 #include <math.h>
56144 main ()
56146 ldexpf(0, 0);
56148 return 0;
56150 _ACEOF
56151 if ac_fn_cxx_try_compile "$LINENO"; then :
56152 glibcxx_cv_func_ldexpf_use=yes
56153 else
56154 glibcxx_cv_func_ldexpf_use=no
56156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56157 ac_ext=c
56158 ac_cpp='$CPP $CPPFLAGS'
56159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56168 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56170 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56171 for ac_func in ldexpf
56172 do :
56173 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56174 if test "x$ac_cv_func_ldexpf" = x""yes; then :
56175 cat >>confdefs.h <<_ACEOF
56176 #define HAVE_LDEXPF 1
56177 _ACEOF
56180 done
56182 else
56184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56185 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56186 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56187 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56188 $as_echo_n "(cached) " >&6
56189 else
56192 ac_ext=cpp
56193 ac_cpp='$CXXCPP $CPPFLAGS'
56194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56199 /* end confdefs.h. */
56200 #include <math.h>
56202 main ()
56204 _ldexpf(0, 0);
56206 return 0;
56208 _ACEOF
56209 if ac_fn_cxx_try_compile "$LINENO"; then :
56210 glibcxx_cv_func__ldexpf_use=yes
56211 else
56212 glibcxx_cv_func__ldexpf_use=no
56214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56215 ac_ext=c
56216 ac_cpp='$CPP $CPPFLAGS'
56217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56226 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56228 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56229 for ac_func in _ldexpf
56230 do :
56231 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56232 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56233 cat >>confdefs.h <<_ACEOF
56234 #define HAVE__LDEXPF 1
56235 _ACEOF
56238 done
56247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56248 $as_echo_n "checking for logf declaration... " >&6; }
56249 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56250 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56251 $as_echo_n "(cached) " >&6
56252 else
56255 ac_ext=cpp
56256 ac_cpp='$CXXCPP $CPPFLAGS'
56257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56262 /* end confdefs.h. */
56263 #include <math.h>
56264 #ifdef HAVE_IEEEFP_H
56265 #include <ieeefp.h>
56266 #endif
56269 main ()
56271 logf(0);
56273 return 0;
56275 _ACEOF
56276 if ac_fn_cxx_try_compile "$LINENO"; then :
56277 glibcxx_cv_func_logf_use=yes
56278 else
56279 glibcxx_cv_func_logf_use=no
56281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56282 ac_ext=c
56283 ac_cpp='$CPP $CPPFLAGS'
56284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56293 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56295 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56296 for ac_func in logf
56297 do :
56298 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56299 if test "x$ac_cv_func_logf" = x""yes; then :
56300 cat >>confdefs.h <<_ACEOF
56301 #define HAVE_LOGF 1
56302 _ACEOF
56305 done
56307 else
56309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56310 $as_echo_n "checking for _logf declaration... " >&6; }
56311 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56312 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56313 $as_echo_n "(cached) " >&6
56314 else
56317 ac_ext=cpp
56318 ac_cpp='$CXXCPP $CPPFLAGS'
56319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56324 /* end confdefs.h. */
56325 #include <math.h>
56326 #ifdef HAVE_IEEEFP_H
56327 #include <ieeefp.h>
56328 #endif
56331 main ()
56333 _logf(0);
56335 return 0;
56337 _ACEOF
56338 if ac_fn_cxx_try_compile "$LINENO"; then :
56339 glibcxx_cv_func__logf_use=yes
56340 else
56341 glibcxx_cv_func__logf_use=no
56343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56344 ac_ext=c
56345 ac_cpp='$CPP $CPPFLAGS'
56346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56355 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56357 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56358 for ac_func in _logf
56359 do :
56360 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56361 if test "x$ac_cv_func__logf" = x""yes; then :
56362 cat >>confdefs.h <<_ACEOF
56363 #define HAVE__LOGF 1
56364 _ACEOF
56367 done
56376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56377 $as_echo_n "checking for log10f declaration... " >&6; }
56378 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56379 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56380 $as_echo_n "(cached) " >&6
56381 else
56384 ac_ext=cpp
56385 ac_cpp='$CXXCPP $CPPFLAGS'
56386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56391 /* end confdefs.h. */
56392 #include <math.h>
56393 #ifdef HAVE_IEEEFP_H
56394 #include <ieeefp.h>
56395 #endif
56398 main ()
56400 log10f(0);
56402 return 0;
56404 _ACEOF
56405 if ac_fn_cxx_try_compile "$LINENO"; then :
56406 glibcxx_cv_func_log10f_use=yes
56407 else
56408 glibcxx_cv_func_log10f_use=no
56410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56411 ac_ext=c
56412 ac_cpp='$CPP $CPPFLAGS'
56413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56422 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56424 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56425 for ac_func in log10f
56426 do :
56427 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56428 if test "x$ac_cv_func_log10f" = x""yes; then :
56429 cat >>confdefs.h <<_ACEOF
56430 #define HAVE_LOG10F 1
56431 _ACEOF
56434 done
56436 else
56438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56439 $as_echo_n "checking for _log10f declaration... " >&6; }
56440 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56441 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56442 $as_echo_n "(cached) " >&6
56443 else
56446 ac_ext=cpp
56447 ac_cpp='$CXXCPP $CPPFLAGS'
56448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56453 /* end confdefs.h. */
56454 #include <math.h>
56455 #ifdef HAVE_IEEEFP_H
56456 #include <ieeefp.h>
56457 #endif
56460 main ()
56462 _log10f(0);
56464 return 0;
56466 _ACEOF
56467 if ac_fn_cxx_try_compile "$LINENO"; then :
56468 glibcxx_cv_func__log10f_use=yes
56469 else
56470 glibcxx_cv_func__log10f_use=no
56472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56473 ac_ext=c
56474 ac_cpp='$CPP $CPPFLAGS'
56475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56484 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56486 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56487 for ac_func in _log10f
56488 do :
56489 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56490 if test "x$ac_cv_func__log10f" = x""yes; then :
56491 cat >>confdefs.h <<_ACEOF
56492 #define HAVE__LOG10F 1
56493 _ACEOF
56496 done
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56506 $as_echo_n "checking for modff declaration... " >&6; }
56507 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56508 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56509 $as_echo_n "(cached) " >&6
56510 else
56513 ac_ext=cpp
56514 ac_cpp='$CXXCPP $CPPFLAGS'
56515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56520 /* end confdefs.h. */
56521 #include <math.h>
56523 main ()
56525 modff(0, 0);
56527 return 0;
56529 _ACEOF
56530 if ac_fn_cxx_try_compile "$LINENO"; then :
56531 glibcxx_cv_func_modff_use=yes
56532 else
56533 glibcxx_cv_func_modff_use=no
56535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56536 ac_ext=c
56537 ac_cpp='$CPP $CPPFLAGS'
56538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56547 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56549 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56550 for ac_func in modff
56551 do :
56552 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56553 if test "x$ac_cv_func_modff" = x""yes; then :
56554 cat >>confdefs.h <<_ACEOF
56555 #define HAVE_MODFF 1
56556 _ACEOF
56559 done
56561 else
56563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56564 $as_echo_n "checking for _modff declaration... " >&6; }
56565 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56566 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56567 $as_echo_n "(cached) " >&6
56568 else
56571 ac_ext=cpp
56572 ac_cpp='$CXXCPP $CPPFLAGS'
56573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56578 /* end confdefs.h. */
56579 #include <math.h>
56581 main ()
56583 _modff(0, 0);
56585 return 0;
56587 _ACEOF
56588 if ac_fn_cxx_try_compile "$LINENO"; then :
56589 glibcxx_cv_func__modff_use=yes
56590 else
56591 glibcxx_cv_func__modff_use=no
56593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56594 ac_ext=c
56595 ac_cpp='$CPP $CPPFLAGS'
56596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56605 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56607 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56608 for ac_func in _modff
56609 do :
56610 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56611 if test "x$ac_cv_func__modff" = x""yes; then :
56612 cat >>confdefs.h <<_ACEOF
56613 #define HAVE__MODFF 1
56614 _ACEOF
56617 done
56626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56627 $as_echo_n "checking for modf declaration... " >&6; }
56628 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56629 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56630 $as_echo_n "(cached) " >&6
56631 else
56634 ac_ext=cpp
56635 ac_cpp='$CXXCPP $CPPFLAGS'
56636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56641 /* end confdefs.h. */
56642 #include <math.h>
56644 main ()
56646 modf(0, 0);
56648 return 0;
56650 _ACEOF
56651 if ac_fn_cxx_try_compile "$LINENO"; then :
56652 glibcxx_cv_func_modf_use=yes
56653 else
56654 glibcxx_cv_func_modf_use=no
56656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56657 ac_ext=c
56658 ac_cpp='$CPP $CPPFLAGS'
56659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56668 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56670 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56671 for ac_func in modf
56672 do :
56673 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56674 if test "x$ac_cv_func_modf" = x""yes; then :
56675 cat >>confdefs.h <<_ACEOF
56676 #define HAVE_MODF 1
56677 _ACEOF
56680 done
56682 else
56684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56685 $as_echo_n "checking for _modf declaration... " >&6; }
56686 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56687 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56688 $as_echo_n "(cached) " >&6
56689 else
56692 ac_ext=cpp
56693 ac_cpp='$CXXCPP $CPPFLAGS'
56694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56699 /* end confdefs.h. */
56700 #include <math.h>
56702 main ()
56704 _modf(0, 0);
56706 return 0;
56708 _ACEOF
56709 if ac_fn_cxx_try_compile "$LINENO"; then :
56710 glibcxx_cv_func__modf_use=yes
56711 else
56712 glibcxx_cv_func__modf_use=no
56714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56715 ac_ext=c
56716 ac_cpp='$CPP $CPPFLAGS'
56717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56726 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56728 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56729 for ac_func in _modf
56730 do :
56731 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56732 if test "x$ac_cv_func__modf" = x""yes; then :
56733 cat >>confdefs.h <<_ACEOF
56734 #define HAVE__MODF 1
56735 _ACEOF
56738 done
56747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56748 $as_echo_n "checking for powf declaration... " >&6; }
56749 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56750 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56751 $as_echo_n "(cached) " >&6
56752 else
56755 ac_ext=cpp
56756 ac_cpp='$CXXCPP $CPPFLAGS'
56757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56762 /* end confdefs.h. */
56763 #include <math.h>
56765 main ()
56767 powf(0, 0);
56769 return 0;
56771 _ACEOF
56772 if ac_fn_cxx_try_compile "$LINENO"; then :
56773 glibcxx_cv_func_powf_use=yes
56774 else
56775 glibcxx_cv_func_powf_use=no
56777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56778 ac_ext=c
56779 ac_cpp='$CPP $CPPFLAGS'
56780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56789 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56791 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56792 for ac_func in powf
56793 do :
56794 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56795 if test "x$ac_cv_func_powf" = x""yes; then :
56796 cat >>confdefs.h <<_ACEOF
56797 #define HAVE_POWF 1
56798 _ACEOF
56801 done
56803 else
56805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56806 $as_echo_n "checking for _powf declaration... " >&6; }
56807 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56808 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56809 $as_echo_n "(cached) " >&6
56810 else
56813 ac_ext=cpp
56814 ac_cpp='$CXXCPP $CPPFLAGS'
56815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56820 /* end confdefs.h. */
56821 #include <math.h>
56823 main ()
56825 _powf(0, 0);
56827 return 0;
56829 _ACEOF
56830 if ac_fn_cxx_try_compile "$LINENO"; then :
56831 glibcxx_cv_func__powf_use=yes
56832 else
56833 glibcxx_cv_func__powf_use=no
56835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56836 ac_ext=c
56837 ac_cpp='$CPP $CPPFLAGS'
56838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56847 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56849 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56850 for ac_func in _powf
56851 do :
56852 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56853 if test "x$ac_cv_func__powf" = x""yes; then :
56854 cat >>confdefs.h <<_ACEOF
56855 #define HAVE__POWF 1
56856 _ACEOF
56859 done
56868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56869 $as_echo_n "checking for sqrtf declaration... " >&6; }
56870 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56871 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56872 $as_echo_n "(cached) " >&6
56873 else
56876 ac_ext=cpp
56877 ac_cpp='$CXXCPP $CPPFLAGS'
56878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56883 /* end confdefs.h. */
56884 #include <math.h>
56885 #ifdef HAVE_IEEEFP_H
56886 #include <ieeefp.h>
56887 #endif
56890 main ()
56892 sqrtf(0);
56894 return 0;
56896 _ACEOF
56897 if ac_fn_cxx_try_compile "$LINENO"; then :
56898 glibcxx_cv_func_sqrtf_use=yes
56899 else
56900 glibcxx_cv_func_sqrtf_use=no
56902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56903 ac_ext=c
56904 ac_cpp='$CPP $CPPFLAGS'
56905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56914 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56916 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56917 for ac_func in sqrtf
56918 do :
56919 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56920 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56921 cat >>confdefs.h <<_ACEOF
56922 #define HAVE_SQRTF 1
56923 _ACEOF
56926 done
56928 else
56930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56931 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56932 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56933 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56934 $as_echo_n "(cached) " >&6
56935 else
56938 ac_ext=cpp
56939 ac_cpp='$CXXCPP $CPPFLAGS'
56940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56945 /* end confdefs.h. */
56946 #include <math.h>
56947 #ifdef HAVE_IEEEFP_H
56948 #include <ieeefp.h>
56949 #endif
56952 main ()
56954 _sqrtf(0);
56956 return 0;
56958 _ACEOF
56959 if ac_fn_cxx_try_compile "$LINENO"; then :
56960 glibcxx_cv_func__sqrtf_use=yes
56961 else
56962 glibcxx_cv_func__sqrtf_use=no
56964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56965 ac_ext=c
56966 ac_cpp='$CPP $CPPFLAGS'
56967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56976 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56978 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56979 for ac_func in _sqrtf
56980 do :
56981 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56982 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56983 cat >>confdefs.h <<_ACEOF
56984 #define HAVE__SQRTF 1
56985 _ACEOF
56988 done
56997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56998 $as_echo_n "checking for sincosf declaration... " >&6; }
56999 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57000 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
57001 $as_echo_n "(cached) " >&6
57002 else
57005 ac_ext=cpp
57006 ac_cpp='$CXXCPP $CPPFLAGS'
57007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57012 /* end confdefs.h. */
57013 #include <math.h>
57015 main ()
57017 sincosf(0, 0, 0);
57019 return 0;
57021 _ACEOF
57022 if ac_fn_cxx_try_compile "$LINENO"; then :
57023 glibcxx_cv_func_sincosf_use=yes
57024 else
57025 glibcxx_cv_func_sincosf_use=no
57027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57028 ac_ext=c
57029 ac_cpp='$CPP $CPPFLAGS'
57030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57039 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57041 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57042 for ac_func in sincosf
57043 do :
57044 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57045 if test "x$ac_cv_func_sincosf" = x""yes; then :
57046 cat >>confdefs.h <<_ACEOF
57047 #define HAVE_SINCOSF 1
57048 _ACEOF
57051 done
57053 else
57055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57056 $as_echo_n "checking for _sincosf declaration... " >&6; }
57057 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57058 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
57059 $as_echo_n "(cached) " >&6
57060 else
57063 ac_ext=cpp
57064 ac_cpp='$CXXCPP $CPPFLAGS'
57065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57070 /* end confdefs.h. */
57071 #include <math.h>
57073 main ()
57075 _sincosf(0, 0, 0);
57077 return 0;
57079 _ACEOF
57080 if ac_fn_cxx_try_compile "$LINENO"; then :
57081 glibcxx_cv_func__sincosf_use=yes
57082 else
57083 glibcxx_cv_func__sincosf_use=no
57085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57086 ac_ext=c
57087 ac_cpp='$CPP $CPPFLAGS'
57088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57097 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57099 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57100 for ac_func in _sincosf
57101 do :
57102 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57103 if test "x$ac_cv_func__sincosf" = x""yes; then :
57104 cat >>confdefs.h <<_ACEOF
57105 #define HAVE__SINCOSF 1
57106 _ACEOF
57109 done
57118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57119 $as_echo_n "checking for finitef declaration... " >&6; }
57120 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57121 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
57122 $as_echo_n "(cached) " >&6
57123 else
57126 ac_ext=cpp
57127 ac_cpp='$CXXCPP $CPPFLAGS'
57128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57133 /* end confdefs.h. */
57134 #include <math.h>
57135 #ifdef HAVE_IEEEFP_H
57136 #include <ieeefp.h>
57137 #endif
57140 main ()
57142 finitef(0);
57144 return 0;
57146 _ACEOF
57147 if ac_fn_cxx_try_compile "$LINENO"; then :
57148 glibcxx_cv_func_finitef_use=yes
57149 else
57150 glibcxx_cv_func_finitef_use=no
57152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57153 ac_ext=c
57154 ac_cpp='$CPP $CPPFLAGS'
57155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57164 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57166 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57167 for ac_func in finitef
57168 do :
57169 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57170 if test "x$ac_cv_func_finitef" = x""yes; then :
57171 cat >>confdefs.h <<_ACEOF
57172 #define HAVE_FINITEF 1
57173 _ACEOF
57176 done
57178 else
57180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57181 $as_echo_n "checking for _finitef declaration... " >&6; }
57182 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57183 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57184 $as_echo_n "(cached) " >&6
57185 else
57188 ac_ext=cpp
57189 ac_cpp='$CXXCPP $CPPFLAGS'
57190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57195 /* end confdefs.h. */
57196 #include <math.h>
57197 #ifdef HAVE_IEEEFP_H
57198 #include <ieeefp.h>
57199 #endif
57202 main ()
57204 _finitef(0);
57206 return 0;
57208 _ACEOF
57209 if ac_fn_cxx_try_compile "$LINENO"; then :
57210 glibcxx_cv_func__finitef_use=yes
57211 else
57212 glibcxx_cv_func__finitef_use=no
57214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57215 ac_ext=c
57216 ac_cpp='$CPP $CPPFLAGS'
57217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57226 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57228 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57229 for ac_func in _finitef
57230 do :
57231 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57232 if test "x$ac_cv_func__finitef" = x""yes; then :
57233 cat >>confdefs.h <<_ACEOF
57234 #define HAVE__FINITEF 1
57235 _ACEOF
57238 done
57247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57248 $as_echo_n "checking for long double trig functions... " >&6; }
57249 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57250 $as_echo_n "(cached) " >&6
57251 else
57254 ac_ext=cpp
57255 ac_cpp='$CXXCPP $CPPFLAGS'
57256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57261 /* end confdefs.h. */
57262 #include <math.h>
57264 main ()
57266 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57268 return 0;
57270 _ACEOF
57271 if ac_fn_cxx_try_compile "$LINENO"; then :
57272 glibcxx_cv_func_long_double_trig_use=yes
57273 else
57274 glibcxx_cv_func_long_double_trig_use=no
57276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57277 ac_ext=c
57278 ac_cpp='$CPP $CPPFLAGS'
57279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57286 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57287 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57288 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57289 do :
57290 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57291 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57292 eval as_val=\$$as_ac_var
57293 if test "x$as_val" = x""yes; then :
57294 cat >>confdefs.h <<_ACEOF
57295 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57296 _ACEOF
57299 done
57301 else
57302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57303 $as_echo_n "checking for _long double trig functions... " >&6; }
57304 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57305 $as_echo_n "(cached) " >&6
57306 else
57309 ac_ext=cpp
57310 ac_cpp='$CXXCPP $CPPFLAGS'
57311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57316 /* end confdefs.h. */
57317 #include <math.h>
57319 main ()
57321 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57323 return 0;
57325 _ACEOF
57326 if ac_fn_cxx_try_compile "$LINENO"; then :
57327 glibcxx_cv_func__long_double_trig_use=yes
57328 else
57329 glibcxx_cv_func__long_double_trig_use=no
57331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57332 ac_ext=c
57333 ac_cpp='$CPP $CPPFLAGS'
57334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57341 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57342 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57343 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57344 do :
57345 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57346 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57347 eval as_val=\$$as_ac_var
57348 if test "x$as_val" = x""yes; then :
57349 cat >>confdefs.h <<_ACEOF
57350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57351 _ACEOF
57354 done
57363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57364 $as_echo_n "checking for long double round functions... " >&6; }
57365 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57366 $as_echo_n "(cached) " >&6
57367 else
57370 ac_ext=cpp
57371 ac_cpp='$CXXCPP $CPPFLAGS'
57372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57377 /* end confdefs.h. */
57378 #include <math.h>
57380 main ()
57382 ceill (0); floorl (0);
57384 return 0;
57386 _ACEOF
57387 if ac_fn_cxx_try_compile "$LINENO"; then :
57388 glibcxx_cv_func_long_double_round_use=yes
57389 else
57390 glibcxx_cv_func_long_double_round_use=no
57392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57393 ac_ext=c
57394 ac_cpp='$CPP $CPPFLAGS'
57395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57402 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57403 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57404 for ac_func in ceill floorl
57405 do :
57406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57408 eval as_val=\$$as_ac_var
57409 if test "x$as_val" = x""yes; then :
57410 cat >>confdefs.h <<_ACEOF
57411 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57412 _ACEOF
57415 done
57417 else
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57419 $as_echo_n "checking for _long double round functions... " >&6; }
57420 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <math.h>
57435 main ()
57437 _ceill (0); _floorl (0);
57439 return 0;
57441 _ACEOF
57442 if ac_fn_cxx_try_compile "$LINENO"; then :
57443 glibcxx_cv_func__long_double_round_use=yes
57444 else
57445 glibcxx_cv_func__long_double_round_use=no
57447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57448 ac_ext=c
57449 ac_cpp='$CPP $CPPFLAGS'
57450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57457 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57458 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57459 for ac_func in _ceill _floorl
57460 do :
57461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57462 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57463 eval as_val=\$$as_ac_var
57464 if test "x$as_val" = x""yes; then :
57465 cat >>confdefs.h <<_ACEOF
57466 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57467 _ACEOF
57470 done
57480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57481 $as_echo_n "checking for isnanl declaration... " >&6; }
57482 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57483 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57484 $as_echo_n "(cached) " >&6
57485 else
57488 ac_ext=cpp
57489 ac_cpp='$CXXCPP $CPPFLAGS'
57490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57495 /* end confdefs.h. */
57496 #include <math.h>
57497 #ifdef HAVE_IEEEFP_H
57498 #include <ieeefp.h>
57499 #endif
57502 main ()
57504 isnanl(0);
57506 return 0;
57508 _ACEOF
57509 if ac_fn_cxx_try_compile "$LINENO"; then :
57510 glibcxx_cv_func_isnanl_use=yes
57511 else
57512 glibcxx_cv_func_isnanl_use=no
57514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57515 ac_ext=c
57516 ac_cpp='$CPP $CPPFLAGS'
57517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57526 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57528 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57529 for ac_func in isnanl
57530 do :
57531 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57532 if test "x$ac_cv_func_isnanl" = x""yes; then :
57533 cat >>confdefs.h <<_ACEOF
57534 #define HAVE_ISNANL 1
57535 _ACEOF
57538 done
57540 else
57542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57543 $as_echo_n "checking for _isnanl declaration... " >&6; }
57544 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57545 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57546 $as_echo_n "(cached) " >&6
57547 else
57550 ac_ext=cpp
57551 ac_cpp='$CXXCPP $CPPFLAGS'
57552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57557 /* end confdefs.h. */
57558 #include <math.h>
57559 #ifdef HAVE_IEEEFP_H
57560 #include <ieeefp.h>
57561 #endif
57564 main ()
57566 _isnanl(0);
57568 return 0;
57570 _ACEOF
57571 if ac_fn_cxx_try_compile "$LINENO"; then :
57572 glibcxx_cv_func__isnanl_use=yes
57573 else
57574 glibcxx_cv_func__isnanl_use=no
57576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57577 ac_ext=c
57578 ac_cpp='$CPP $CPPFLAGS'
57579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57588 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57590 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57591 for ac_func in _isnanl
57592 do :
57593 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57594 if test "x$ac_cv_func__isnanl" = x""yes; then :
57595 cat >>confdefs.h <<_ACEOF
57596 #define HAVE__ISNANL 1
57597 _ACEOF
57600 done
57609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57610 $as_echo_n "checking for isinfl declaration... " >&6; }
57611 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57612 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57613 $as_echo_n "(cached) " >&6
57614 else
57617 ac_ext=cpp
57618 ac_cpp='$CXXCPP $CPPFLAGS'
57619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57624 /* end confdefs.h. */
57625 #include <math.h>
57626 #ifdef HAVE_IEEEFP_H
57627 #include <ieeefp.h>
57628 #endif
57631 main ()
57633 isinfl(0);
57635 return 0;
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_isinfl_use=yes
57640 else
57641 glibcxx_cv_func_isinfl_use=no
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57655 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57657 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57658 for ac_func in isinfl
57659 do :
57660 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57661 if test "x$ac_cv_func_isinfl" = x""yes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_ISINFL 1
57664 _ACEOF
57667 done
57669 else
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57672 $as_echo_n "checking for _isinfl declaration... " >&6; }
57673 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57674 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57688 #ifdef HAVE_IEEEFP_H
57689 #include <ieeefp.h>
57690 #endif
57693 main ()
57695 _isinfl(0);
57697 return 0;
57699 _ACEOF
57700 if ac_fn_cxx_try_compile "$LINENO"; then :
57701 glibcxx_cv_func__isinfl_use=yes
57702 else
57703 glibcxx_cv_func__isinfl_use=no
57705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57706 ac_ext=c
57707 ac_cpp='$CPP $CPPFLAGS'
57708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57717 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57719 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57720 for ac_func in _isinfl
57721 do :
57722 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57723 if test "x$ac_cv_func__isinfl" = x""yes; then :
57724 cat >>confdefs.h <<_ACEOF
57725 #define HAVE__ISINFL 1
57726 _ACEOF
57729 done
57738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57739 $as_echo_n "checking for atan2l declaration... " >&6; }
57740 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57741 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57742 $as_echo_n "(cached) " >&6
57743 else
57746 ac_ext=cpp
57747 ac_cpp='$CXXCPP $CPPFLAGS'
57748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57753 /* end confdefs.h. */
57754 #include <math.h>
57756 main ()
57758 atan2l(0, 0);
57760 return 0;
57762 _ACEOF
57763 if ac_fn_cxx_try_compile "$LINENO"; then :
57764 glibcxx_cv_func_atan2l_use=yes
57765 else
57766 glibcxx_cv_func_atan2l_use=no
57768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57769 ac_ext=c
57770 ac_cpp='$CPP $CPPFLAGS'
57771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57780 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57782 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57783 for ac_func in atan2l
57784 do :
57785 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57786 if test "x$ac_cv_func_atan2l" = x""yes; then :
57787 cat >>confdefs.h <<_ACEOF
57788 #define HAVE_ATAN2L 1
57789 _ACEOF
57792 done
57794 else
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57797 $as_echo_n "checking for _atan2l declaration... " >&6; }
57798 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57799 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57800 $as_echo_n "(cached) " >&6
57801 else
57804 ac_ext=cpp
57805 ac_cpp='$CXXCPP $CPPFLAGS'
57806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57811 /* end confdefs.h. */
57812 #include <math.h>
57814 main ()
57816 _atan2l(0, 0);
57818 return 0;
57820 _ACEOF
57821 if ac_fn_cxx_try_compile "$LINENO"; then :
57822 glibcxx_cv_func__atan2l_use=yes
57823 else
57824 glibcxx_cv_func__atan2l_use=no
57826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57827 ac_ext=c
57828 ac_cpp='$CPP $CPPFLAGS'
57829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57838 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57840 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57841 for ac_func in _atan2l
57842 do :
57843 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57844 if test "x$ac_cv_func__atan2l" = x""yes; then :
57845 cat >>confdefs.h <<_ACEOF
57846 #define HAVE__ATAN2L 1
57847 _ACEOF
57850 done
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57860 $as_echo_n "checking for expl declaration... " >&6; }
57861 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57862 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57863 $as_echo_n "(cached) " >&6
57864 else
57867 ac_ext=cpp
57868 ac_cpp='$CXXCPP $CPPFLAGS'
57869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57874 /* end confdefs.h. */
57875 #include <math.h>
57876 #ifdef HAVE_IEEEFP_H
57877 #include <ieeefp.h>
57878 #endif
57881 main ()
57883 expl(0);
57885 return 0;
57887 _ACEOF
57888 if ac_fn_cxx_try_compile "$LINENO"; then :
57889 glibcxx_cv_func_expl_use=yes
57890 else
57891 glibcxx_cv_func_expl_use=no
57893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57894 ac_ext=c
57895 ac_cpp='$CPP $CPPFLAGS'
57896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57905 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57907 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57908 for ac_func in expl
57909 do :
57910 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57911 if test "x$ac_cv_func_expl" = x""yes; then :
57912 cat >>confdefs.h <<_ACEOF
57913 #define HAVE_EXPL 1
57914 _ACEOF
57917 done
57919 else
57921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57922 $as_echo_n "checking for _expl declaration... " >&6; }
57923 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57924 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57925 $as_echo_n "(cached) " >&6
57926 else
57929 ac_ext=cpp
57930 ac_cpp='$CXXCPP $CPPFLAGS'
57931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57936 /* end confdefs.h. */
57937 #include <math.h>
57938 #ifdef HAVE_IEEEFP_H
57939 #include <ieeefp.h>
57940 #endif
57943 main ()
57945 _expl(0);
57947 return 0;
57949 _ACEOF
57950 if ac_fn_cxx_try_compile "$LINENO"; then :
57951 glibcxx_cv_func__expl_use=yes
57952 else
57953 glibcxx_cv_func__expl_use=no
57955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57956 ac_ext=c
57957 ac_cpp='$CPP $CPPFLAGS'
57958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57967 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57969 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57970 for ac_func in _expl
57971 do :
57972 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57973 if test "x$ac_cv_func__expl" = x""yes; then :
57974 cat >>confdefs.h <<_ACEOF
57975 #define HAVE__EXPL 1
57976 _ACEOF
57979 done
57988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57989 $as_echo_n "checking for fabsl declaration... " >&6; }
57990 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57991 if test "${glibcxx_cv_func_fabsl_use+set}" = set; 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>
58005 #ifdef HAVE_IEEEFP_H
58006 #include <ieeefp.h>
58007 #endif
58010 main ()
58012 fabsl(0);
58014 return 0;
58016 _ACEOF
58017 if ac_fn_cxx_try_compile "$LINENO"; then :
58018 glibcxx_cv_func_fabsl_use=yes
58019 else
58020 glibcxx_cv_func_fabsl_use=no
58022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58023 ac_ext=c
58024 ac_cpp='$CPP $CPPFLAGS'
58025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58034 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58036 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58037 for ac_func in fabsl
58038 do :
58039 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58040 if test "x$ac_cv_func_fabsl" = x""yes; then :
58041 cat >>confdefs.h <<_ACEOF
58042 #define HAVE_FABSL 1
58043 _ACEOF
58046 done
58048 else
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58051 $as_echo_n "checking for _fabsl declaration... " >&6; }
58052 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58053 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
58054 $as_echo_n "(cached) " >&6
58055 else
58058 ac_ext=cpp
58059 ac_cpp='$CXXCPP $CPPFLAGS'
58060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58065 /* end confdefs.h. */
58066 #include <math.h>
58067 #ifdef HAVE_IEEEFP_H
58068 #include <ieeefp.h>
58069 #endif
58072 main ()
58074 _fabsl(0);
58076 return 0;
58078 _ACEOF
58079 if ac_fn_cxx_try_compile "$LINENO"; then :
58080 glibcxx_cv_func__fabsl_use=yes
58081 else
58082 glibcxx_cv_func__fabsl_use=no
58084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58085 ac_ext=c
58086 ac_cpp='$CPP $CPPFLAGS'
58087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58096 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58098 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58099 for ac_func in _fabsl
58100 do :
58101 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58102 if test "x$ac_cv_func__fabsl" = x""yes; then :
58103 cat >>confdefs.h <<_ACEOF
58104 #define HAVE__FABSL 1
58105 _ACEOF
58108 done
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58118 $as_echo_n "checking for fmodl declaration... " >&6; }
58119 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58120 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
58121 $as_echo_n "(cached) " >&6
58122 else
58125 ac_ext=cpp
58126 ac_cpp='$CXXCPP $CPPFLAGS'
58127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58132 /* end confdefs.h. */
58133 #include <math.h>
58135 main ()
58137 fmodl(0, 0);
58139 return 0;
58141 _ACEOF
58142 if ac_fn_cxx_try_compile "$LINENO"; then :
58143 glibcxx_cv_func_fmodl_use=yes
58144 else
58145 glibcxx_cv_func_fmodl_use=no
58147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58148 ac_ext=c
58149 ac_cpp='$CPP $CPPFLAGS'
58150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58159 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58161 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58162 for ac_func in fmodl
58163 do :
58164 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58165 if test "x$ac_cv_func_fmodl" = x""yes; then :
58166 cat >>confdefs.h <<_ACEOF
58167 #define HAVE_FMODL 1
58168 _ACEOF
58171 done
58173 else
58175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58176 $as_echo_n "checking for _fmodl declaration... " >&6; }
58177 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58178 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
58179 $as_echo_n "(cached) " >&6
58180 else
58183 ac_ext=cpp
58184 ac_cpp='$CXXCPP $CPPFLAGS'
58185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58190 /* end confdefs.h. */
58191 #include <math.h>
58193 main ()
58195 _fmodl(0, 0);
58197 return 0;
58199 _ACEOF
58200 if ac_fn_cxx_try_compile "$LINENO"; then :
58201 glibcxx_cv_func__fmodl_use=yes
58202 else
58203 glibcxx_cv_func__fmodl_use=no
58205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58206 ac_ext=c
58207 ac_cpp='$CPP $CPPFLAGS'
58208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58217 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58219 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58220 for ac_func in _fmodl
58221 do :
58222 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58223 if test "x$ac_cv_func__fmodl" = x""yes; then :
58224 cat >>confdefs.h <<_ACEOF
58225 #define HAVE__FMODL 1
58226 _ACEOF
58229 done
58238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58239 $as_echo_n "checking for frexpl declaration... " >&6; }
58240 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58241 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58242 $as_echo_n "(cached) " >&6
58243 else
58246 ac_ext=cpp
58247 ac_cpp='$CXXCPP $CPPFLAGS'
58248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58253 /* end confdefs.h. */
58254 #include <math.h>
58256 main ()
58258 frexpl(0, 0);
58260 return 0;
58262 _ACEOF
58263 if ac_fn_cxx_try_compile "$LINENO"; then :
58264 glibcxx_cv_func_frexpl_use=yes
58265 else
58266 glibcxx_cv_func_frexpl_use=no
58268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58269 ac_ext=c
58270 ac_cpp='$CPP $CPPFLAGS'
58271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58280 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58282 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58283 for ac_func in frexpl
58284 do :
58285 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58286 if test "x$ac_cv_func_frexpl" = x""yes; then :
58287 cat >>confdefs.h <<_ACEOF
58288 #define HAVE_FREXPL 1
58289 _ACEOF
58292 done
58294 else
58296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58297 $as_echo_n "checking for _frexpl declaration... " >&6; }
58298 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58299 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58300 $as_echo_n "(cached) " >&6
58301 else
58304 ac_ext=cpp
58305 ac_cpp='$CXXCPP $CPPFLAGS'
58306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58311 /* end confdefs.h. */
58312 #include <math.h>
58314 main ()
58316 _frexpl(0, 0);
58318 return 0;
58320 _ACEOF
58321 if ac_fn_cxx_try_compile "$LINENO"; then :
58322 glibcxx_cv_func__frexpl_use=yes
58323 else
58324 glibcxx_cv_func__frexpl_use=no
58326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58327 ac_ext=c
58328 ac_cpp='$CPP $CPPFLAGS'
58329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58338 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58340 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58341 for ac_func in _frexpl
58342 do :
58343 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58344 if test "x$ac_cv_func__frexpl" = x""yes; then :
58345 cat >>confdefs.h <<_ACEOF
58346 #define HAVE__FREXPL 1
58347 _ACEOF
58350 done
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58360 $as_echo_n "checking for hypotl declaration... " >&6; }
58361 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58362 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58363 $as_echo_n "(cached) " >&6
58364 else
58367 ac_ext=cpp
58368 ac_cpp='$CXXCPP $CPPFLAGS'
58369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58374 /* end confdefs.h. */
58375 #include <math.h>
58377 main ()
58379 hypotl(0, 0);
58381 return 0;
58383 _ACEOF
58384 if ac_fn_cxx_try_compile "$LINENO"; then :
58385 glibcxx_cv_func_hypotl_use=yes
58386 else
58387 glibcxx_cv_func_hypotl_use=no
58389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58390 ac_ext=c
58391 ac_cpp='$CPP $CPPFLAGS'
58392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58401 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58403 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58404 for ac_func in hypotl
58405 do :
58406 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58407 if test "x$ac_cv_func_hypotl" = x""yes; then :
58408 cat >>confdefs.h <<_ACEOF
58409 #define HAVE_HYPOTL 1
58410 _ACEOF
58413 done
58415 else
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58418 $as_echo_n "checking for _hypotl declaration... " >&6; }
58419 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58420 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58421 $as_echo_n "(cached) " >&6
58422 else
58425 ac_ext=cpp
58426 ac_cpp='$CXXCPP $CPPFLAGS'
58427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58432 /* end confdefs.h. */
58433 #include <math.h>
58435 main ()
58437 _hypotl(0, 0);
58439 return 0;
58441 _ACEOF
58442 if ac_fn_cxx_try_compile "$LINENO"; then :
58443 glibcxx_cv_func__hypotl_use=yes
58444 else
58445 glibcxx_cv_func__hypotl_use=no
58447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58448 ac_ext=c
58449 ac_cpp='$CPP $CPPFLAGS'
58450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58459 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58461 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58462 for ac_func in _hypotl
58463 do :
58464 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58465 if test "x$ac_cv_func__hypotl" = x""yes; then :
58466 cat >>confdefs.h <<_ACEOF
58467 #define HAVE__HYPOTL 1
58468 _ACEOF
58471 done
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58481 $as_echo_n "checking for ldexpl declaration... " >&6; }
58482 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58483 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58484 $as_echo_n "(cached) " >&6
58485 else
58488 ac_ext=cpp
58489 ac_cpp='$CXXCPP $CPPFLAGS'
58490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58495 /* end confdefs.h. */
58496 #include <math.h>
58498 main ()
58500 ldexpl(0, 0);
58502 return 0;
58504 _ACEOF
58505 if ac_fn_cxx_try_compile "$LINENO"; then :
58506 glibcxx_cv_func_ldexpl_use=yes
58507 else
58508 glibcxx_cv_func_ldexpl_use=no
58510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58511 ac_ext=c
58512 ac_cpp='$CPP $CPPFLAGS'
58513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58522 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58524 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58525 for ac_func in ldexpl
58526 do :
58527 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58528 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58529 cat >>confdefs.h <<_ACEOF
58530 #define HAVE_LDEXPL 1
58531 _ACEOF
58534 done
58536 else
58538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58539 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58540 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58541 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58542 $as_echo_n "(cached) " >&6
58543 else
58546 ac_ext=cpp
58547 ac_cpp='$CXXCPP $CPPFLAGS'
58548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58553 /* end confdefs.h. */
58554 #include <math.h>
58556 main ()
58558 _ldexpl(0, 0);
58560 return 0;
58562 _ACEOF
58563 if ac_fn_cxx_try_compile "$LINENO"; then :
58564 glibcxx_cv_func__ldexpl_use=yes
58565 else
58566 glibcxx_cv_func__ldexpl_use=no
58568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58569 ac_ext=c
58570 ac_cpp='$CPP $CPPFLAGS'
58571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58580 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58582 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58583 for ac_func in _ldexpl
58584 do :
58585 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58586 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58587 cat >>confdefs.h <<_ACEOF
58588 #define HAVE__LDEXPL 1
58589 _ACEOF
58592 done
58601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58602 $as_echo_n "checking for logl declaration... " >&6; }
58603 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58604 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58605 $as_echo_n "(cached) " >&6
58606 else
58609 ac_ext=cpp
58610 ac_cpp='$CXXCPP $CPPFLAGS'
58611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58616 /* end confdefs.h. */
58617 #include <math.h>
58618 #ifdef HAVE_IEEEFP_H
58619 #include <ieeefp.h>
58620 #endif
58623 main ()
58625 logl(0);
58627 return 0;
58629 _ACEOF
58630 if ac_fn_cxx_try_compile "$LINENO"; then :
58631 glibcxx_cv_func_logl_use=yes
58632 else
58633 glibcxx_cv_func_logl_use=no
58635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58636 ac_ext=c
58637 ac_cpp='$CPP $CPPFLAGS'
58638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58647 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58649 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58650 for ac_func in logl
58651 do :
58652 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58653 if test "x$ac_cv_func_logl" = x""yes; then :
58654 cat >>confdefs.h <<_ACEOF
58655 #define HAVE_LOGL 1
58656 _ACEOF
58659 done
58661 else
58663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58664 $as_echo_n "checking for _logl declaration... " >&6; }
58665 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58666 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58667 $as_echo_n "(cached) " >&6
58668 else
58671 ac_ext=cpp
58672 ac_cpp='$CXXCPP $CPPFLAGS'
58673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58678 /* end confdefs.h. */
58679 #include <math.h>
58680 #ifdef HAVE_IEEEFP_H
58681 #include <ieeefp.h>
58682 #endif
58685 main ()
58687 _logl(0);
58689 return 0;
58691 _ACEOF
58692 if ac_fn_cxx_try_compile "$LINENO"; then :
58693 glibcxx_cv_func__logl_use=yes
58694 else
58695 glibcxx_cv_func__logl_use=no
58697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58698 ac_ext=c
58699 ac_cpp='$CPP $CPPFLAGS'
58700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58709 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58711 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58712 for ac_func in _logl
58713 do :
58714 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58715 if test "x$ac_cv_func__logl" = x""yes; then :
58716 cat >>confdefs.h <<_ACEOF
58717 #define HAVE__LOGL 1
58718 _ACEOF
58721 done
58730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58731 $as_echo_n "checking for log10l declaration... " >&6; }
58732 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58733 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58734 $as_echo_n "(cached) " >&6
58735 else
58738 ac_ext=cpp
58739 ac_cpp='$CXXCPP $CPPFLAGS'
58740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58745 /* end confdefs.h. */
58746 #include <math.h>
58747 #ifdef HAVE_IEEEFP_H
58748 #include <ieeefp.h>
58749 #endif
58752 main ()
58754 log10l(0);
58756 return 0;
58758 _ACEOF
58759 if ac_fn_cxx_try_compile "$LINENO"; then :
58760 glibcxx_cv_func_log10l_use=yes
58761 else
58762 glibcxx_cv_func_log10l_use=no
58764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58765 ac_ext=c
58766 ac_cpp='$CPP $CPPFLAGS'
58767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58776 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58778 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58779 for ac_func in log10l
58780 do :
58781 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58782 if test "x$ac_cv_func_log10l" = x""yes; then :
58783 cat >>confdefs.h <<_ACEOF
58784 #define HAVE_LOG10L 1
58785 _ACEOF
58788 done
58790 else
58792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58793 $as_echo_n "checking for _log10l declaration... " >&6; }
58794 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58795 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58796 $as_echo_n "(cached) " >&6
58797 else
58800 ac_ext=cpp
58801 ac_cpp='$CXXCPP $CPPFLAGS'
58802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58807 /* end confdefs.h. */
58808 #include <math.h>
58809 #ifdef HAVE_IEEEFP_H
58810 #include <ieeefp.h>
58811 #endif
58814 main ()
58816 _log10l(0);
58818 return 0;
58820 _ACEOF
58821 if ac_fn_cxx_try_compile "$LINENO"; then :
58822 glibcxx_cv_func__log10l_use=yes
58823 else
58824 glibcxx_cv_func__log10l_use=no
58826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58827 ac_ext=c
58828 ac_cpp='$CPP $CPPFLAGS'
58829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58838 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58840 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58841 for ac_func in _log10l
58842 do :
58843 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58844 if test "x$ac_cv_func__log10l" = x""yes; then :
58845 cat >>confdefs.h <<_ACEOF
58846 #define HAVE__LOG10L 1
58847 _ACEOF
58850 done
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58860 $as_echo_n "checking for modfl declaration... " >&6; }
58861 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58862 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58863 $as_echo_n "(cached) " >&6
58864 else
58867 ac_ext=cpp
58868 ac_cpp='$CXXCPP $CPPFLAGS'
58869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58874 /* end confdefs.h. */
58875 #include <math.h>
58877 main ()
58879 modfl(0, 0);
58881 return 0;
58883 _ACEOF
58884 if ac_fn_cxx_try_compile "$LINENO"; then :
58885 glibcxx_cv_func_modfl_use=yes
58886 else
58887 glibcxx_cv_func_modfl_use=no
58889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58890 ac_ext=c
58891 ac_cpp='$CPP $CPPFLAGS'
58892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58901 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58903 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58904 for ac_func in modfl
58905 do :
58906 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58907 if test "x$ac_cv_func_modfl" = x""yes; then :
58908 cat >>confdefs.h <<_ACEOF
58909 #define HAVE_MODFL 1
58910 _ACEOF
58913 done
58915 else
58917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58918 $as_echo_n "checking for _modfl declaration... " >&6; }
58919 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58920 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58921 $as_echo_n "(cached) " >&6
58922 else
58925 ac_ext=cpp
58926 ac_cpp='$CXXCPP $CPPFLAGS'
58927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58932 /* end confdefs.h. */
58933 #include <math.h>
58935 main ()
58937 _modfl(0, 0);
58939 return 0;
58941 _ACEOF
58942 if ac_fn_cxx_try_compile "$LINENO"; then :
58943 glibcxx_cv_func__modfl_use=yes
58944 else
58945 glibcxx_cv_func__modfl_use=no
58947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58948 ac_ext=c
58949 ac_cpp='$CPP $CPPFLAGS'
58950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58959 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58961 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58962 for ac_func in _modfl
58963 do :
58964 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58965 if test "x$ac_cv_func__modfl" = x""yes; then :
58966 cat >>confdefs.h <<_ACEOF
58967 #define HAVE__MODFL 1
58968 _ACEOF
58971 done
58980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58981 $as_echo_n "checking for powl declaration... " >&6; }
58982 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58983 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58984 $as_echo_n "(cached) " >&6
58985 else
58988 ac_ext=cpp
58989 ac_cpp='$CXXCPP $CPPFLAGS'
58990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58995 /* end confdefs.h. */
58996 #include <math.h>
58998 main ()
59000 powl(0, 0);
59002 return 0;
59004 _ACEOF
59005 if ac_fn_cxx_try_compile "$LINENO"; then :
59006 glibcxx_cv_func_powl_use=yes
59007 else
59008 glibcxx_cv_func_powl_use=no
59010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59011 ac_ext=c
59012 ac_cpp='$CPP $CPPFLAGS'
59013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59022 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59024 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59025 for ac_func in powl
59026 do :
59027 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59028 if test "x$ac_cv_func_powl" = x""yes; then :
59029 cat >>confdefs.h <<_ACEOF
59030 #define HAVE_POWL 1
59031 _ACEOF
59034 done
59036 else
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59039 $as_echo_n "checking for _powl declaration... " >&6; }
59040 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59041 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
59042 $as_echo_n "(cached) " >&6
59043 else
59046 ac_ext=cpp
59047 ac_cpp='$CXXCPP $CPPFLAGS'
59048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59053 /* end confdefs.h. */
59054 #include <math.h>
59056 main ()
59058 _powl(0, 0);
59060 return 0;
59062 _ACEOF
59063 if ac_fn_cxx_try_compile "$LINENO"; then :
59064 glibcxx_cv_func__powl_use=yes
59065 else
59066 glibcxx_cv_func__powl_use=no
59068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59069 ac_ext=c
59070 ac_cpp='$CPP $CPPFLAGS'
59071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59080 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59082 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59083 for ac_func in _powl
59084 do :
59085 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59086 if test "x$ac_cv_func__powl" = x""yes; then :
59087 cat >>confdefs.h <<_ACEOF
59088 #define HAVE__POWL 1
59089 _ACEOF
59092 done
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59102 $as_echo_n "checking for sqrtl declaration... " >&6; }
59103 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59104 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
59105 $as_echo_n "(cached) " >&6
59106 else
59109 ac_ext=cpp
59110 ac_cpp='$CXXCPP $CPPFLAGS'
59111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59116 /* end confdefs.h. */
59117 #include <math.h>
59118 #ifdef HAVE_IEEEFP_H
59119 #include <ieeefp.h>
59120 #endif
59123 main ()
59125 sqrtl(0);
59127 return 0;
59129 _ACEOF
59130 if ac_fn_cxx_try_compile "$LINENO"; then :
59131 glibcxx_cv_func_sqrtl_use=yes
59132 else
59133 glibcxx_cv_func_sqrtl_use=no
59135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59136 ac_ext=c
59137 ac_cpp='$CPP $CPPFLAGS'
59138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59147 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59149 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59150 for ac_func in sqrtl
59151 do :
59152 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59153 if test "x$ac_cv_func_sqrtl" = x""yes; then :
59154 cat >>confdefs.h <<_ACEOF
59155 #define HAVE_SQRTL 1
59156 _ACEOF
59159 done
59161 else
59163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59164 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59165 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59166 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
59167 $as_echo_n "(cached) " >&6
59168 else
59171 ac_ext=cpp
59172 ac_cpp='$CXXCPP $CPPFLAGS'
59173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59178 /* end confdefs.h. */
59179 #include <math.h>
59180 #ifdef HAVE_IEEEFP_H
59181 #include <ieeefp.h>
59182 #endif
59185 main ()
59187 _sqrtl(0);
59189 return 0;
59191 _ACEOF
59192 if ac_fn_cxx_try_compile "$LINENO"; then :
59193 glibcxx_cv_func__sqrtl_use=yes
59194 else
59195 glibcxx_cv_func__sqrtl_use=no
59197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59198 ac_ext=c
59199 ac_cpp='$CPP $CPPFLAGS'
59200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59209 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59211 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59212 for ac_func in _sqrtl
59213 do :
59214 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59215 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59216 cat >>confdefs.h <<_ACEOF
59217 #define HAVE__SQRTL 1
59218 _ACEOF
59221 done
59230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59231 $as_echo_n "checking for sincosl declaration... " >&6; }
59232 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59233 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59234 $as_echo_n "(cached) " >&6
59235 else
59238 ac_ext=cpp
59239 ac_cpp='$CXXCPP $CPPFLAGS'
59240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59245 /* end confdefs.h. */
59246 #include <math.h>
59248 main ()
59250 sincosl(0, 0, 0);
59252 return 0;
59254 _ACEOF
59255 if ac_fn_cxx_try_compile "$LINENO"; then :
59256 glibcxx_cv_func_sincosl_use=yes
59257 else
59258 glibcxx_cv_func_sincosl_use=no
59260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59261 ac_ext=c
59262 ac_cpp='$CPP $CPPFLAGS'
59263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59272 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59274 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59275 for ac_func in sincosl
59276 do :
59277 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59278 if test "x$ac_cv_func_sincosl" = x""yes; then :
59279 cat >>confdefs.h <<_ACEOF
59280 #define HAVE_SINCOSL 1
59281 _ACEOF
59284 done
59286 else
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59289 $as_echo_n "checking for _sincosl declaration... " >&6; }
59290 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59291 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59292 $as_echo_n "(cached) " >&6
59293 else
59296 ac_ext=cpp
59297 ac_cpp='$CXXCPP $CPPFLAGS'
59298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59303 /* end confdefs.h. */
59304 #include <math.h>
59306 main ()
59308 _sincosl(0, 0, 0);
59310 return 0;
59312 _ACEOF
59313 if ac_fn_cxx_try_compile "$LINENO"; then :
59314 glibcxx_cv_func__sincosl_use=yes
59315 else
59316 glibcxx_cv_func__sincosl_use=no
59318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59319 ac_ext=c
59320 ac_cpp='$CPP $CPPFLAGS'
59321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59330 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59332 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59333 for ac_func in _sincosl
59334 do :
59335 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59336 if test "x$ac_cv_func__sincosl" = x""yes; then :
59337 cat >>confdefs.h <<_ACEOF
59338 #define HAVE__SINCOSL 1
59339 _ACEOF
59342 done
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59352 $as_echo_n "checking for finitel declaration... " >&6; }
59353 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59354 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59355 $as_echo_n "(cached) " >&6
59356 else
59359 ac_ext=cpp
59360 ac_cpp='$CXXCPP $CPPFLAGS'
59361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59366 /* end confdefs.h. */
59367 #include <math.h>
59368 #ifdef HAVE_IEEEFP_H
59369 #include <ieeefp.h>
59370 #endif
59373 main ()
59375 finitel(0);
59377 return 0;
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381 glibcxx_cv_func_finitel_use=yes
59382 else
59383 glibcxx_cv_func_finitel_use=no
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386 ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59397 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59399 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59400 for ac_func in finitel
59401 do :
59402 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59403 if test "x$ac_cv_func_finitel" = x""yes; then :
59404 cat >>confdefs.h <<_ACEOF
59405 #define HAVE_FINITEL 1
59406 _ACEOF
59409 done
59411 else
59413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59414 $as_echo_n "checking for _finitel declaration... " >&6; }
59415 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59416 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59417 $as_echo_n "(cached) " >&6
59418 else
59421 ac_ext=cpp
59422 ac_cpp='$CXXCPP $CPPFLAGS'
59423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59428 /* end confdefs.h. */
59429 #include <math.h>
59430 #ifdef HAVE_IEEEFP_H
59431 #include <ieeefp.h>
59432 #endif
59435 main ()
59437 _finitel(0);
59439 return 0;
59441 _ACEOF
59442 if ac_fn_cxx_try_compile "$LINENO"; then :
59443 glibcxx_cv_func__finitel_use=yes
59444 else
59445 glibcxx_cv_func__finitel_use=no
59447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59448 ac_ext=c
59449 ac_cpp='$CPP $CPPFLAGS'
59450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59459 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59461 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59462 for ac_func in _finitel
59463 do :
59464 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59465 if test "x$ac_cv_func__finitel" = x""yes; then :
59466 cat >>confdefs.h <<_ACEOF
59467 #define HAVE__FINITEL 1
59468 _ACEOF
59471 done
59479 LIBS="$ac_save_LIBS"
59480 CXXFLAGS="$ac_save_CXXFLAGS"
59483 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59484 ac_save_CXXFLAGS="$CXXFLAGS"
59485 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59489 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59490 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59491 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59492 $as_echo_n "(cached) " >&6
59493 else
59496 ac_ext=cpp
59497 ac_cpp='$CXXCPP $CPPFLAGS'
59498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59503 /* end confdefs.h. */
59504 #include <stdlib.h>
59506 main ()
59508 at_quick_exit(0);
59510 return 0;
59512 _ACEOF
59513 if ac_fn_cxx_try_compile "$LINENO"; then :
59514 glibcxx_cv_func_at_quick_exit_use=yes
59515 else
59516 glibcxx_cv_func_at_quick_exit_use=no
59518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59519 ac_ext=c
59520 ac_cpp='$CPP $CPPFLAGS'
59521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59530 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59531 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59532 for ac_func in at_quick_exit
59533 do :
59534 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59535 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59536 cat >>confdefs.h <<_ACEOF
59537 #define HAVE_AT_QUICK_EXIT 1
59538 _ACEOF
59541 done
59546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59547 $as_echo_n "checking for quick_exit declaration... " >&6; }
59548 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59549 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59550 $as_echo_n "(cached) " >&6
59551 else
59554 ac_ext=cpp
59555 ac_cpp='$CXXCPP $CPPFLAGS'
59556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59561 /* end confdefs.h. */
59562 #include <stdlib.h>
59564 main ()
59566 quick_exit(0);
59568 return 0;
59570 _ACEOF
59571 if ac_fn_cxx_try_compile "$LINENO"; then :
59572 glibcxx_cv_func_quick_exit_use=yes
59573 else
59574 glibcxx_cv_func_quick_exit_use=no
59576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59577 ac_ext=c
59578 ac_cpp='$CPP $CPPFLAGS'
59579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59588 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59589 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59590 for ac_func in quick_exit
59591 do :
59592 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59593 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59594 cat >>confdefs.h <<_ACEOF
59595 #define HAVE_QUICK_EXIT 1
59596 _ACEOF
59599 done
59604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59605 $as_echo_n "checking for strtold declaration... " >&6; }
59606 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59607 if test "${glibcxx_cv_func_strtold_use+set}" = set; 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 <stdlib.h>
59622 main ()
59624 strtold(0, 0);
59626 return 0;
59628 _ACEOF
59629 if ac_fn_cxx_try_compile "$LINENO"; then :
59630 glibcxx_cv_func_strtold_use=yes
59631 else
59632 glibcxx_cv_func_strtold_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_strtold_use" >&5
59646 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59647 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59648 for ac_func in strtold
59649 do :
59650 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59651 if test "x$ac_cv_func_strtold" = x""yes; then :
59652 cat >>confdefs.h <<_ACEOF
59653 #define HAVE_STRTOLD 1
59654 _ACEOF
59657 done
59664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59665 $as_echo_n "checking for strtof declaration... " >&6; }
59666 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59667 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59668 $as_echo_n "(cached) " >&6
59669 else
59672 ac_ext=cpp
59673 ac_cpp='$CXXCPP $CPPFLAGS'
59674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59679 /* end confdefs.h. */
59680 #include <stdlib.h>
59682 main ()
59684 strtof(0, 0);
59686 return 0;
59688 _ACEOF
59689 if ac_fn_cxx_try_compile "$LINENO"; then :
59690 glibcxx_cv_func_strtof_use=yes
59691 else
59692 glibcxx_cv_func_strtof_use=no
59694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59695 ac_ext=c
59696 ac_cpp='$CPP $CPPFLAGS'
59697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59706 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59707 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59708 for ac_func in strtof
59709 do :
59710 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59711 if test "x$ac_cv_func_strtof" = x""yes; then :
59712 cat >>confdefs.h <<_ACEOF
59713 #define HAVE_STRTOF 1
59714 _ACEOF
59717 done
59724 CXXFLAGS="$ac_save_CXXFLAGS"
59726 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59730 # Check whether --enable-tls was given.
59731 if test "${enable_tls+set}" = set; then :
59732 enableval=$enable_tls;
59733 case "$enableval" in
59734 yes|no) ;;
59735 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59736 esac
59738 else
59739 enable_tls=yes
59743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59744 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59745 if test "${gcc_cv_have_tls+set}" = set; then :
59746 $as_echo_n "(cached) " >&6
59747 else
59749 if test "$cross_compiling" = yes; then :
59750 if test x$gcc_no_link = xyes; then
59751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59754 /* end confdefs.h. */
59755 __thread int a; int b; int main() { return a = b; }
59756 _ACEOF
59757 if ac_fn_c_try_link "$LINENO"; then :
59758 chktls_save_LDFLAGS="$LDFLAGS"
59759 case $host in
59760 *-*-linux*)
59761 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59763 esac
59764 chktls_save_CFLAGS="$CFLAGS"
59765 CFLAGS="-fPIC $CFLAGS"
59766 if test x$gcc_no_link = xyes; then
59767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59770 /* end confdefs.h. */
59771 int f() { return 0; }
59772 _ACEOF
59773 if ac_fn_c_try_link "$LINENO"; then :
59774 if test x$gcc_no_link = xyes; then
59775 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59779 __thread int a; int b; int f() { return a = b; }
59780 _ACEOF
59781 if ac_fn_c_try_link "$LINENO"; then :
59782 gcc_cv_have_tls=yes
59783 else
59784 gcc_cv_have_tls=no
59786 rm -f core conftest.err conftest.$ac_objext \
59787 conftest$ac_exeext conftest.$ac_ext
59788 else
59789 gcc_cv_have_tls=yes
59791 rm -f core conftest.err conftest.$ac_objext \
59792 conftest$ac_exeext conftest.$ac_ext
59793 CFLAGS="$chktls_save_CFLAGS"
59794 LDFLAGS="$chktls_save_LDFLAGS"
59795 else
59796 gcc_cv_have_tls=no
59798 rm -f core conftest.err conftest.$ac_objext \
59799 conftest$ac_exeext conftest.$ac_ext
59802 else
59803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59804 /* end confdefs.h. */
59805 __thread int a; int b; int main() { return a = b; }
59806 _ACEOF
59807 if ac_fn_c_try_run "$LINENO"; then :
59808 chktls_save_LDFLAGS="$LDFLAGS"
59809 LDFLAGS="-static $LDFLAGS"
59810 if test x$gcc_no_link = xyes; then
59811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 int main() { return 0; }
59816 _ACEOF
59817 if ac_fn_c_try_link "$LINENO"; then :
59818 if test "$cross_compiling" = yes; then :
59819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59821 as_fn_error "cannot run test program while cross compiling
59822 See \`config.log' for more details." "$LINENO" 5; }
59823 else
59824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59825 /* end confdefs.h. */
59826 __thread int a; int b; int main() { return a = b; }
59827 _ACEOF
59828 if ac_fn_c_try_run "$LINENO"; then :
59829 gcc_cv_have_tls=yes
59830 else
59831 gcc_cv_have_tls=no
59833 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59834 conftest.$ac_objext conftest.beam conftest.$ac_ext
59837 else
59838 gcc_cv_have_tls=yes
59840 rm -f core conftest.err conftest.$ac_objext \
59841 conftest$ac_exeext conftest.$ac_ext
59842 LDFLAGS="$chktls_save_LDFLAGS"
59843 if test $gcc_cv_have_tls = yes; then
59844 chktls_save_CFLAGS="$CFLAGS"
59845 thread_CFLAGS=failed
59846 for flag in '' '-pthread' '-lpthread'; do
59847 CFLAGS="$flag $chktls_save_CFLAGS"
59848 if test x$gcc_no_link = xyes; then
59849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59852 /* end confdefs.h. */
59853 #include <pthread.h>
59854 void *g(void *d) { return NULL; }
59856 main ()
59858 pthread_t t; pthread_create(&t,NULL,g,NULL);
59860 return 0;
59862 _ACEOF
59863 if ac_fn_c_try_link "$LINENO"; then :
59864 thread_CFLAGS="$flag"
59866 rm -f core conftest.err conftest.$ac_objext \
59867 conftest$ac_exeext conftest.$ac_ext
59868 if test "X$thread_CFLAGS" != Xfailed; then
59869 break
59871 done
59872 CFLAGS="$chktls_save_CFLAGS"
59873 if test "X$thread_CFLAGS" != Xfailed; then
59874 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59875 if test "$cross_compiling" = yes; then :
59876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59878 as_fn_error "cannot run test program while cross compiling
59879 See \`config.log' for more details." "$LINENO" 5; }
59880 else
59881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59882 /* end confdefs.h. */
59883 #include <pthread.h>
59884 __thread int a;
59885 static int *volatile a_in_other_thread;
59886 static void *
59887 thread_func (void *arg)
59889 a_in_other_thread = &a;
59890 return (void *)0;
59893 main ()
59895 pthread_t thread;
59896 void *thread_retval;
59897 int *volatile a_in_main_thread;
59898 a_in_main_thread = &a;
59899 if (pthread_create (&thread, (pthread_attr_t *)0,
59900 thread_func, (void *)0))
59901 return 0;
59902 if (pthread_join (thread, &thread_retval))
59903 return 0;
59904 return (a_in_other_thread == a_in_main_thread);
59906 return 0;
59908 _ACEOF
59909 if ac_fn_c_try_run "$LINENO"; then :
59910 gcc_cv_have_tls=yes
59911 else
59912 gcc_cv_have_tls=no
59914 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59915 conftest.$ac_objext conftest.beam conftest.$ac_ext
59918 CFLAGS="$chktls_save_CFLAGS"
59921 else
59922 gcc_cv_have_tls=no
59924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59925 conftest.$ac_objext conftest.beam conftest.$ac_ext
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59930 $as_echo "$gcc_cv_have_tls" >&6; }
59931 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59933 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59936 for ac_func in __cxa_thread_atexit_impl
59937 do :
59938 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59939 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59940 cat >>confdefs.h <<_ACEOF
59941 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59942 _ACEOF
59945 done
59947 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
59948 do :
59949 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59950 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59951 eval as_val=\$$as_ac_var
59952 if test "x$as_val" = x""yes; then :
59953 cat >>confdefs.h <<_ACEOF
59954 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59955 _ACEOF
59958 done
59965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59966 $as_echo_n "checking for iconv... " >&6; }
59967 if test "${am_cv_func_iconv+set}" = set; then :
59968 $as_echo_n "(cached) " >&6
59969 else
59971 am_cv_func_iconv="no, consider installing GNU libiconv"
59972 am_cv_lib_iconv=no
59973 am_save_CPPFLAGS="$CPPFLAGS"
59974 CPPFLAGS="$CPPFLAGS $INCICONV"
59975 if test x$gcc_no_link = xyes; then
59976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59979 /* end confdefs.h. */
59980 #include <stdlib.h>
59981 #include <iconv.h>
59983 main ()
59985 iconv_t cd = iconv_open("","");
59986 iconv(cd,NULL,NULL,NULL,NULL);
59987 iconv_close(cd);
59989 return 0;
59991 _ACEOF
59992 if ac_fn_c_try_link "$LINENO"; then :
59993 am_cv_func_iconv=yes
59995 rm -f core conftest.err conftest.$ac_objext \
59996 conftest$ac_exeext conftest.$ac_ext
59997 CPPFLAGS="$am_save_CPPFLAGS"
59999 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60000 for _libs in .libs _libs; do
60001 am_save_CPPFLAGS="$CPPFLAGS"
60002 am_save_LIBS="$LIBS"
60003 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60004 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60005 if test x$gcc_no_link = xyes; then
60006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60009 /* end confdefs.h. */
60010 #include <stdlib.h>
60011 #include <iconv.h>
60013 main ()
60015 iconv_t cd = iconv_open("","");
60016 iconv(cd,NULL,NULL,NULL,NULL);
60017 iconv_close(cd);
60019 return 0;
60021 _ACEOF
60022 if ac_fn_c_try_link "$LINENO"; then :
60023 INCICONV="-I../libiconv/include"
60024 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60025 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60026 am_cv_lib_iconv=yes
60027 am_cv_func_iconv=yes
60029 rm -f core conftest.err conftest.$ac_objext \
60030 conftest$ac_exeext conftest.$ac_ext
60031 CPPFLAGS="$am_save_CPPFLAGS"
60032 LIBS="$am_save_LIBS"
60033 if test "$am_cv_func_iconv" = "yes"; then
60034 break
60036 done
60039 if test "$am_cv_func_iconv" != yes; then
60040 am_save_CPPFLAGS="$CPPFLAGS"
60041 am_save_LIBS="$LIBS"
60042 CPPFLAGS="$LIBS $INCICONV"
60043 LIBS="$LIBS $LIBICONV"
60044 if test x$gcc_no_link = xyes; then
60045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60048 /* end confdefs.h. */
60049 #include <stdlib.h>
60050 #include <iconv.h>
60052 main ()
60054 iconv_t cd = iconv_open("","");
60055 iconv(cd,NULL,NULL,NULL,NULL);
60056 iconv_close(cd);
60058 return 0;
60060 _ACEOF
60061 if ac_fn_c_try_link "$LINENO"; then :
60062 am_cv_lib_iconv=yes
60063 am_cv_func_iconv=yes
60065 rm -f core conftest.err conftest.$ac_objext \
60066 conftest$ac_exeext conftest.$ac_ext
60067 CPPFLAGS="$am_save_CPPFLAGS"
60068 LIBS="$am_save_LIBS"
60072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60073 $as_echo "$am_cv_func_iconv" >&6; }
60074 if test "$am_cv_func_iconv" = yes; then
60076 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60079 if test "$am_cv_lib_iconv" = yes; then
60081 for element in $INCICONV; do
60082 haveit=
60083 for x in $CPPFLAGS; do
60085 acl_save_prefix="$prefix"
60086 prefix="$acl_final_prefix"
60087 acl_save_exec_prefix="$exec_prefix"
60088 exec_prefix="$acl_final_exec_prefix"
60089 eval x=\"$x\"
60090 exec_prefix="$acl_save_exec_prefix"
60091 prefix="$acl_save_prefix"
60093 if test "X$x" = "X$element"; then
60094 haveit=yes
60095 break
60097 done
60098 if test -z "$haveit"; then
60099 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60101 done
60103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60104 $as_echo_n "checking how to link with libiconv... " >&6; }
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60106 $as_echo "$LIBICONV" >&6; }
60107 else
60108 LIBICONV=
60109 LTLIBICONV=
60114 if test "$am_cv_func_iconv" = yes; then
60115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60116 $as_echo_n "checking for iconv declaration... " >&6; }
60117 if test "${am_cv_proto_iconv+set}" = set; then :
60118 $as_echo_n "(cached) " >&6
60119 else
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60124 #include <stdlib.h>
60125 #include <iconv.h>
60126 extern
60127 #ifdef __cplusplus
60129 #endif
60130 #if defined(__STDC__) || defined(__cplusplus)
60131 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60132 #else
60133 size_t iconv();
60134 #endif
60137 main ()
60141 return 0;
60143 _ACEOF
60144 if ac_fn_c_try_compile "$LINENO"; then :
60145 am_cv_proto_iconv_arg1=""
60146 else
60147 am_cv_proto_iconv_arg1="const"
60149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60150 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);"
60153 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60155 }$am_cv_proto_iconv" >&5
60156 $as_echo "${ac_t:-
60157 }$am_cv_proto_iconv" >&6; }
60159 cat >>confdefs.h <<_ACEOF
60160 #define ICONV_CONST $am_cv_proto_iconv_arg1
60161 _ACEOF
60166 *-mingw32*)
60168 # If we're not using GNU ld, then there's no point in even trying these
60169 # tests. Check for that first. We should have already tested for gld
60170 # by now (in libtool), but require it now just to be safe...
60171 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60172 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60176 # The name set by libtool depends on the version of libtool. Shame on us
60177 # for depending on an impl detail, but c'est la vie. Older versions used
60178 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60179 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60180 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60181 # set (hence we're using an older libtool), then set it.
60182 if test x${with_gnu_ld+set} != xset; then
60183 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60184 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60185 with_gnu_ld=no
60186 else
60187 with_gnu_ld=$ac_cv_prog_gnu_ld
60191 # Start by getting the version number. I think the libtool test already
60192 # does some of this, but throws away the result.
60193 glibcxx_ld_is_gold=no
60194 if test x"$with_gnu_ld" = x"yes"; then
60195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60196 $as_echo_n "checking for ld version... " >&6; }
60198 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60199 glibcxx_ld_is_gold=yes
60201 ldver=`$LD --version 2>/dev/null |
60202 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
60204 glibcxx_gnu_ld_version=`echo $ldver | \
60205 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60207 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60210 # Set --gc-sections.
60211 glibcxx_have_gc_sections=no
60212 if test "$glibcxx_ld_is_gold" = "yes"; then
60213 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60214 glibcxx_have_gc_sections=yes
60216 else
60217 glibcxx_gcsections_min_ld=21602
60218 if test x"$with_gnu_ld" = x"yes" &&
60219 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60220 glibcxx_have_gc_sections=yes
60223 if test "$glibcxx_have_gc_sections" = "yes"; then
60224 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60225 # NB: This flag only works reliably after 2.16.1. Configure tests
60226 # for this are difficult, so hard wire a value that should work.
60228 ac_test_CFLAGS="${CFLAGS+set}"
60229 ac_save_CFLAGS="$CFLAGS"
60230 CFLAGS='-Wl,--gc-sections'
60232 # Check for -Wl,--gc-sections
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60234 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60235 if test x$gcc_no_link = xyes; then
60236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60239 /* end confdefs.h. */
60240 int one(void) { return 1; }
60241 int two(void) { return 2; }
60244 main ()
60246 two();
60248 return 0;
60250 _ACEOF
60251 if ac_fn_c_try_link "$LINENO"; then :
60252 ac_gcsections=yes
60253 else
60254 ac_gcsections=no
60256 rm -f core conftest.err conftest.$ac_objext \
60257 conftest$ac_exeext conftest.$ac_ext
60258 if test "$ac_gcsections" = "yes"; then
60259 rm -f conftest.c
60260 touch conftest.c
60261 if $CC -c conftest.c; then
60262 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60263 grep "Warning: gc-sections option ignored" > /dev/null; then
60264 ac_gcsections=no
60267 rm -f conftest.c conftest.o conftest
60269 if test "$ac_gcsections" = "yes"; then
60270 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60273 $as_echo "$ac_gcsections" >&6; }
60275 if test "$ac_test_CFLAGS" = set; then
60276 CFLAGS="$ac_save_CFLAGS"
60277 else
60278 # this is the suspicious part
60279 CFLAGS=''
60283 # Set -z,relro.
60284 # Note this is only for shared objects.
60285 ac_ld_relro=no
60286 if test x"$with_gnu_ld" = x"yes"; then
60287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60288 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60289 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60290 if test -n "$cxx_z_relo"; then
60291 OPT_LDFLAGS="-Wl,-z,relro"
60292 ac_ld_relro=yes
60294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60295 $as_echo "$ac_ld_relro" >&6; }
60298 # Set linker optimization flags.
60299 if test x"$with_gnu_ld" = x"yes"; then
60300 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60307 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60308 ac_save_CXXFLAGS="$CXXFLAGS"
60309 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60312 $as_echo_n "checking for sin in -lm... " >&6; }
60313 if test "${ac_cv_lib_m_sin+set}" = set; then :
60314 $as_echo_n "(cached) " >&6
60315 else
60316 ac_check_lib_save_LIBS=$LIBS
60317 LIBS="-lm $LIBS"
60318 if test x$gcc_no_link = xyes; then
60319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60322 /* end confdefs.h. */
60324 /* Override any GCC internal prototype to avoid an error.
60325 Use char because int might match the return type of a GCC
60326 builtin and then its argument prototype would still apply. */
60327 #ifdef __cplusplus
60328 extern "C"
60329 #endif
60330 char sin ();
60332 main ()
60334 return sin ();
60336 return 0;
60338 _ACEOF
60339 if ac_fn_c_try_link "$LINENO"; then :
60340 ac_cv_lib_m_sin=yes
60341 else
60342 ac_cv_lib_m_sin=no
60344 rm -f core conftest.err conftest.$ac_objext \
60345 conftest$ac_exeext conftest.$ac_ext
60346 LIBS=$ac_check_lib_save_LIBS
60348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60349 $as_echo "$ac_cv_lib_m_sin" >&6; }
60350 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60351 libm="-lm"
60354 ac_save_LIBS="$LIBS"
60355 LIBS="$LIBS $libm"
60359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60360 $as_echo_n "checking for isinf declaration... " >&6; }
60361 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60362 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60363 $as_echo_n "(cached) " >&6
60364 else
60367 ac_ext=cpp
60368 ac_cpp='$CXXCPP $CPPFLAGS'
60369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60374 /* end confdefs.h. */
60375 #include <math.h>
60376 #ifdef HAVE_IEEEFP_H
60377 #include <ieeefp.h>
60378 #endif
60381 main ()
60383 isinf(0);
60385 return 0;
60387 _ACEOF
60388 if ac_fn_cxx_try_compile "$LINENO"; then :
60389 glibcxx_cv_func_isinf_use=yes
60390 else
60391 glibcxx_cv_func_isinf_use=no
60393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60394 ac_ext=c
60395 ac_cpp='$CPP $CPPFLAGS'
60396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60405 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60407 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60408 for ac_func in isinf
60409 do :
60410 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60411 if test "x$ac_cv_func_isinf" = x""yes; then :
60412 cat >>confdefs.h <<_ACEOF
60413 #define HAVE_ISINF 1
60414 _ACEOF
60417 done
60419 else
60421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60422 $as_echo_n "checking for _isinf declaration... " >&6; }
60423 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60424 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60425 $as_echo_n "(cached) " >&6
60426 else
60429 ac_ext=cpp
60430 ac_cpp='$CXXCPP $CPPFLAGS'
60431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60436 /* end confdefs.h. */
60437 #include <math.h>
60438 #ifdef HAVE_IEEEFP_H
60439 #include <ieeefp.h>
60440 #endif
60443 main ()
60445 _isinf(0);
60447 return 0;
60449 _ACEOF
60450 if ac_fn_cxx_try_compile "$LINENO"; then :
60451 glibcxx_cv_func__isinf_use=yes
60452 else
60453 glibcxx_cv_func__isinf_use=no
60455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60456 ac_ext=c
60457 ac_cpp='$CPP $CPPFLAGS'
60458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60467 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60469 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60470 for ac_func in _isinf
60471 do :
60472 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60473 if test "x$ac_cv_func__isinf" = x""yes; then :
60474 cat >>confdefs.h <<_ACEOF
60475 #define HAVE__ISINF 1
60476 _ACEOF
60479 done
60488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60489 $as_echo_n "checking for isnan declaration... " >&6; }
60490 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60491 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60492 $as_echo_n "(cached) " >&6
60493 else
60496 ac_ext=cpp
60497 ac_cpp='$CXXCPP $CPPFLAGS'
60498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60503 /* end confdefs.h. */
60504 #include <math.h>
60505 #ifdef HAVE_IEEEFP_H
60506 #include <ieeefp.h>
60507 #endif
60510 main ()
60512 isnan(0);
60514 return 0;
60516 _ACEOF
60517 if ac_fn_cxx_try_compile "$LINENO"; then :
60518 glibcxx_cv_func_isnan_use=yes
60519 else
60520 glibcxx_cv_func_isnan_use=no
60522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60523 ac_ext=c
60524 ac_cpp='$CPP $CPPFLAGS'
60525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60534 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60536 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60537 for ac_func in isnan
60538 do :
60539 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60540 if test "x$ac_cv_func_isnan" = x""yes; then :
60541 cat >>confdefs.h <<_ACEOF
60542 #define HAVE_ISNAN 1
60543 _ACEOF
60546 done
60548 else
60550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60551 $as_echo_n "checking for _isnan declaration... " >&6; }
60552 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60553 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60554 $as_echo_n "(cached) " >&6
60555 else
60558 ac_ext=cpp
60559 ac_cpp='$CXXCPP $CPPFLAGS'
60560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60565 /* end confdefs.h. */
60566 #include <math.h>
60567 #ifdef HAVE_IEEEFP_H
60568 #include <ieeefp.h>
60569 #endif
60572 main ()
60574 _isnan(0);
60576 return 0;
60578 _ACEOF
60579 if ac_fn_cxx_try_compile "$LINENO"; then :
60580 glibcxx_cv_func__isnan_use=yes
60581 else
60582 glibcxx_cv_func__isnan_use=no
60584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60585 ac_ext=c
60586 ac_cpp='$CPP $CPPFLAGS'
60587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60596 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60598 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60599 for ac_func in _isnan
60600 do :
60601 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60602 if test "x$ac_cv_func__isnan" = x""yes; then :
60603 cat >>confdefs.h <<_ACEOF
60604 #define HAVE__ISNAN 1
60605 _ACEOF
60608 done
60617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60618 $as_echo_n "checking for finite declaration... " >&6; }
60619 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60620 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60621 $as_echo_n "(cached) " >&6
60622 else
60625 ac_ext=cpp
60626 ac_cpp='$CXXCPP $CPPFLAGS'
60627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60632 /* end confdefs.h. */
60633 #include <math.h>
60634 #ifdef HAVE_IEEEFP_H
60635 #include <ieeefp.h>
60636 #endif
60639 main ()
60641 finite(0);
60643 return 0;
60645 _ACEOF
60646 if ac_fn_cxx_try_compile "$LINENO"; then :
60647 glibcxx_cv_func_finite_use=yes
60648 else
60649 glibcxx_cv_func_finite_use=no
60651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60652 ac_ext=c
60653 ac_cpp='$CPP $CPPFLAGS'
60654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60663 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60665 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60666 for ac_func in finite
60667 do :
60668 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60669 if test "x$ac_cv_func_finite" = x""yes; then :
60670 cat >>confdefs.h <<_ACEOF
60671 #define HAVE_FINITE 1
60672 _ACEOF
60675 done
60677 else
60679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60680 $as_echo_n "checking for _finite declaration... " >&6; }
60681 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60682 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60683 $as_echo_n "(cached) " >&6
60684 else
60687 ac_ext=cpp
60688 ac_cpp='$CXXCPP $CPPFLAGS'
60689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60694 /* end confdefs.h. */
60695 #include <math.h>
60696 #ifdef HAVE_IEEEFP_H
60697 #include <ieeefp.h>
60698 #endif
60701 main ()
60703 _finite(0);
60705 return 0;
60707 _ACEOF
60708 if ac_fn_cxx_try_compile "$LINENO"; then :
60709 glibcxx_cv_func__finite_use=yes
60710 else
60711 glibcxx_cv_func__finite_use=no
60713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60714 ac_ext=c
60715 ac_cpp='$CPP $CPPFLAGS'
60716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60725 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60727 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60728 for ac_func in _finite
60729 do :
60730 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60731 if test "x$ac_cv_func__finite" = x""yes; then :
60732 cat >>confdefs.h <<_ACEOF
60733 #define HAVE__FINITE 1
60734 _ACEOF
60737 done
60746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60747 $as_echo_n "checking for sincos declaration... " >&6; }
60748 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60749 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60750 $as_echo_n "(cached) " >&6
60751 else
60754 ac_ext=cpp
60755 ac_cpp='$CXXCPP $CPPFLAGS'
60756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60761 /* end confdefs.h. */
60762 #include <math.h>
60764 main ()
60766 sincos(0, 0, 0);
60768 return 0;
60770 _ACEOF
60771 if ac_fn_cxx_try_compile "$LINENO"; then :
60772 glibcxx_cv_func_sincos_use=yes
60773 else
60774 glibcxx_cv_func_sincos_use=no
60776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60777 ac_ext=c
60778 ac_cpp='$CPP $CPPFLAGS'
60779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60788 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60790 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60791 for ac_func in sincos
60792 do :
60793 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60794 if test "x$ac_cv_func_sincos" = x""yes; then :
60795 cat >>confdefs.h <<_ACEOF
60796 #define HAVE_SINCOS 1
60797 _ACEOF
60800 done
60802 else
60804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60805 $as_echo_n "checking for _sincos declaration... " >&6; }
60806 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60807 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60808 $as_echo_n "(cached) " >&6
60809 else
60812 ac_ext=cpp
60813 ac_cpp='$CXXCPP $CPPFLAGS'
60814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60819 /* end confdefs.h. */
60820 #include <math.h>
60822 main ()
60824 _sincos(0, 0, 0);
60826 return 0;
60828 _ACEOF
60829 if ac_fn_cxx_try_compile "$LINENO"; then :
60830 glibcxx_cv_func__sincos_use=yes
60831 else
60832 glibcxx_cv_func__sincos_use=no
60834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60835 ac_ext=c
60836 ac_cpp='$CPP $CPPFLAGS'
60837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60846 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60848 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60849 for ac_func in _sincos
60850 do :
60851 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60852 if test "x$ac_cv_func__sincos" = x""yes; then :
60853 cat >>confdefs.h <<_ACEOF
60854 #define HAVE__SINCOS 1
60855 _ACEOF
60858 done
60867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60868 $as_echo_n "checking for fpclass declaration... " >&6; }
60869 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60870 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60871 $as_echo_n "(cached) " >&6
60872 else
60875 ac_ext=cpp
60876 ac_cpp='$CXXCPP $CPPFLAGS'
60877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60882 /* end confdefs.h. */
60883 #include <math.h>
60884 #ifdef HAVE_IEEEFP_H
60885 #include <ieeefp.h>
60886 #endif
60889 main ()
60891 fpclass(0);
60893 return 0;
60895 _ACEOF
60896 if ac_fn_cxx_try_compile "$LINENO"; then :
60897 glibcxx_cv_func_fpclass_use=yes
60898 else
60899 glibcxx_cv_func_fpclass_use=no
60901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60902 ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60913 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60915 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60916 for ac_func in fpclass
60917 do :
60918 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60919 if test "x$ac_cv_func_fpclass" = x""yes; then :
60920 cat >>confdefs.h <<_ACEOF
60921 #define HAVE_FPCLASS 1
60922 _ACEOF
60925 done
60927 else
60929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60930 $as_echo_n "checking for _fpclass declaration... " >&6; }
60931 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60932 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60933 $as_echo_n "(cached) " >&6
60934 else
60937 ac_ext=cpp
60938 ac_cpp='$CXXCPP $CPPFLAGS'
60939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60944 /* end confdefs.h. */
60945 #include <math.h>
60946 #ifdef HAVE_IEEEFP_H
60947 #include <ieeefp.h>
60948 #endif
60951 main ()
60953 _fpclass(0);
60955 return 0;
60957 _ACEOF
60958 if ac_fn_cxx_try_compile "$LINENO"; then :
60959 glibcxx_cv_func__fpclass_use=yes
60960 else
60961 glibcxx_cv_func__fpclass_use=no
60963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60964 ac_ext=c
60965 ac_cpp='$CPP $CPPFLAGS'
60966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60975 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60977 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60978 for ac_func in _fpclass
60979 do :
60980 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60981 if test "x$ac_cv_func__fpclass" = x""yes; then :
60982 cat >>confdefs.h <<_ACEOF
60983 #define HAVE__FPCLASS 1
60984 _ACEOF
60987 done
60996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60997 $as_echo_n "checking for qfpclass declaration... " >&6; }
60998 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60999 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
61000 $as_echo_n "(cached) " >&6
61001 else
61004 ac_ext=cpp
61005 ac_cpp='$CXXCPP $CPPFLAGS'
61006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61011 /* end confdefs.h. */
61012 #include <math.h>
61013 #ifdef HAVE_IEEEFP_H
61014 #include <ieeefp.h>
61015 #endif
61018 main ()
61020 qfpclass(0);
61022 return 0;
61024 _ACEOF
61025 if ac_fn_cxx_try_compile "$LINENO"; then :
61026 glibcxx_cv_func_qfpclass_use=yes
61027 else
61028 glibcxx_cv_func_qfpclass_use=no
61030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61031 ac_ext=c
61032 ac_cpp='$CPP $CPPFLAGS'
61033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61042 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61044 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61045 for ac_func in qfpclass
61046 do :
61047 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61048 if test "x$ac_cv_func_qfpclass" = x""yes; then :
61049 cat >>confdefs.h <<_ACEOF
61050 #define HAVE_QFPCLASS 1
61051 _ACEOF
61054 done
61056 else
61058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61059 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61060 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61061 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
61062 $as_echo_n "(cached) " >&6
61063 else
61066 ac_ext=cpp
61067 ac_cpp='$CXXCPP $CPPFLAGS'
61068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61073 /* end confdefs.h. */
61074 #include <math.h>
61075 #ifdef HAVE_IEEEFP_H
61076 #include <ieeefp.h>
61077 #endif
61080 main ()
61082 _qfpclass(0);
61084 return 0;
61086 _ACEOF
61087 if ac_fn_cxx_try_compile "$LINENO"; then :
61088 glibcxx_cv_func__qfpclass_use=yes
61089 else
61090 glibcxx_cv_func__qfpclass_use=no
61092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61093 ac_ext=c
61094 ac_cpp='$CPP $CPPFLAGS'
61095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61104 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61106 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61107 for ac_func in _qfpclass
61108 do :
61109 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61110 if test "x$ac_cv_func__qfpclass" = x""yes; then :
61111 cat >>confdefs.h <<_ACEOF
61112 #define HAVE__QFPCLASS 1
61113 _ACEOF
61116 done
61125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61126 $as_echo_n "checking for hypot declaration... " >&6; }
61127 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61128 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
61129 $as_echo_n "(cached) " >&6
61130 else
61133 ac_ext=cpp
61134 ac_cpp='$CXXCPP $CPPFLAGS'
61135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61140 /* end confdefs.h. */
61141 #include <math.h>
61143 main ()
61145 hypot(0, 0);
61147 return 0;
61149 _ACEOF
61150 if ac_fn_cxx_try_compile "$LINENO"; then :
61151 glibcxx_cv_func_hypot_use=yes
61152 else
61153 glibcxx_cv_func_hypot_use=no
61155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61156 ac_ext=c
61157 ac_cpp='$CPP $CPPFLAGS'
61158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61167 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61169 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61170 for ac_func in hypot
61171 do :
61172 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61173 if test "x$ac_cv_func_hypot" = x""yes; then :
61174 cat >>confdefs.h <<_ACEOF
61175 #define HAVE_HYPOT 1
61176 _ACEOF
61179 done
61181 else
61183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61184 $as_echo_n "checking for _hypot declaration... " >&6; }
61185 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61186 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
61187 $as_echo_n "(cached) " >&6
61188 else
61191 ac_ext=cpp
61192 ac_cpp='$CXXCPP $CPPFLAGS'
61193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61198 /* end confdefs.h. */
61199 #include <math.h>
61201 main ()
61203 _hypot(0, 0);
61205 return 0;
61207 _ACEOF
61208 if ac_fn_cxx_try_compile "$LINENO"; then :
61209 glibcxx_cv_func__hypot_use=yes
61210 else
61211 glibcxx_cv_func__hypot_use=no
61213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61214 ac_ext=c
61215 ac_cpp='$CPP $CPPFLAGS'
61216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61225 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61227 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61228 for ac_func in _hypot
61229 do :
61230 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61231 if test "x$ac_cv_func__hypot" = x""yes; then :
61232 cat >>confdefs.h <<_ACEOF
61233 #define HAVE__HYPOT 1
61234 _ACEOF
61237 done
61246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61247 $as_echo_n "checking for float trig functions... " >&6; }
61248 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61249 $as_echo_n "(cached) " >&6
61250 else
61253 ac_ext=cpp
61254 ac_cpp='$CXXCPP $CPPFLAGS'
61255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61260 /* end confdefs.h. */
61261 #include <math.h>
61263 main ()
61265 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61267 return 0;
61269 _ACEOF
61270 if ac_fn_cxx_try_compile "$LINENO"; then :
61271 glibcxx_cv_func_float_trig_use=yes
61272 else
61273 glibcxx_cv_func_float_trig_use=no
61275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61276 ac_ext=c
61277 ac_cpp='$CPP $CPPFLAGS'
61278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61285 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61286 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61287 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61288 do :
61289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61291 eval as_val=\$$as_ac_var
61292 if test "x$as_val" = x""yes; then :
61293 cat >>confdefs.h <<_ACEOF
61294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61295 _ACEOF
61298 done
61300 else
61301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61302 $as_echo_n "checking for _float trig functions... " >&6; }
61303 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61318 main ()
61320 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61322 return 0;
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func__float_trig_use=yes
61327 else
61328 glibcxx_cv_func__float_trig_use=no
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61340 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61341 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61342 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61343 do :
61344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61346 eval as_val=\$$as_ac_var
61347 if test "x$as_val" = x""yes; then :
61348 cat >>confdefs.h <<_ACEOF
61349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61350 _ACEOF
61353 done
61362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61363 $as_echo_n "checking for float round functions... " >&6; }
61364 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61365 $as_echo_n "(cached) " >&6
61366 else
61369 ac_ext=cpp
61370 ac_cpp='$CXXCPP $CPPFLAGS'
61371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61376 /* end confdefs.h. */
61377 #include <math.h>
61379 main ()
61381 ceilf (0); floorf (0);
61383 return 0;
61385 _ACEOF
61386 if ac_fn_cxx_try_compile "$LINENO"; then :
61387 glibcxx_cv_func_float_round_use=yes
61388 else
61389 glibcxx_cv_func_float_round_use=no
61391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61392 ac_ext=c
61393 ac_cpp='$CPP $CPPFLAGS'
61394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61401 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61402 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61403 for ac_func in ceilf floorf
61404 do :
61405 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61406 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61407 eval as_val=\$$as_ac_var
61408 if test "x$as_val" = x""yes; then :
61409 cat >>confdefs.h <<_ACEOF
61410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61411 _ACEOF
61414 done
61416 else
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61418 $as_echo_n "checking for _float round functions... " >&6; }
61419 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61420 $as_echo_n "(cached) " >&6
61421 else
61424 ac_ext=cpp
61425 ac_cpp='$CXXCPP $CPPFLAGS'
61426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61431 /* end confdefs.h. */
61432 #include <math.h>
61434 main ()
61436 _ceilf (0); _floorf (0);
61438 return 0;
61440 _ACEOF
61441 if ac_fn_cxx_try_compile "$LINENO"; then :
61442 glibcxx_cv_func__float_round_use=yes
61443 else
61444 glibcxx_cv_func__float_round_use=no
61446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61447 ac_ext=c
61448 ac_cpp='$CPP $CPPFLAGS'
61449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61456 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61457 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61458 for ac_func in _ceilf _floorf
61459 do :
61460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61462 eval as_val=\$$as_ac_var
61463 if test "x$as_val" = x""yes; then :
61464 cat >>confdefs.h <<_ACEOF
61465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61466 _ACEOF
61469 done
61479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61480 $as_echo_n "checking for expf declaration... " >&6; }
61481 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61482 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61483 $as_echo_n "(cached) " >&6
61484 else
61487 ac_ext=cpp
61488 ac_cpp='$CXXCPP $CPPFLAGS'
61489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61494 /* end confdefs.h. */
61495 #include <math.h>
61496 #ifdef HAVE_IEEEFP_H
61497 #include <ieeefp.h>
61498 #endif
61501 main ()
61503 expf(0);
61505 return 0;
61507 _ACEOF
61508 if ac_fn_cxx_try_compile "$LINENO"; then :
61509 glibcxx_cv_func_expf_use=yes
61510 else
61511 glibcxx_cv_func_expf_use=no
61513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61514 ac_ext=c
61515 ac_cpp='$CPP $CPPFLAGS'
61516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61525 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61527 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61528 for ac_func in expf
61529 do :
61530 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61531 if test "x$ac_cv_func_expf" = x""yes; then :
61532 cat >>confdefs.h <<_ACEOF
61533 #define HAVE_EXPF 1
61534 _ACEOF
61537 done
61539 else
61541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61542 $as_echo_n "checking for _expf declaration... " >&6; }
61543 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61544 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61545 $as_echo_n "(cached) " >&6
61546 else
61549 ac_ext=cpp
61550 ac_cpp='$CXXCPP $CPPFLAGS'
61551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61556 /* end confdefs.h. */
61557 #include <math.h>
61558 #ifdef HAVE_IEEEFP_H
61559 #include <ieeefp.h>
61560 #endif
61563 main ()
61565 _expf(0);
61567 return 0;
61569 _ACEOF
61570 if ac_fn_cxx_try_compile "$LINENO"; then :
61571 glibcxx_cv_func__expf_use=yes
61572 else
61573 glibcxx_cv_func__expf_use=no
61575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61576 ac_ext=c
61577 ac_cpp='$CPP $CPPFLAGS'
61578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61587 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61589 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61590 for ac_func in _expf
61591 do :
61592 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61593 if test "x$ac_cv_func__expf" = x""yes; then :
61594 cat >>confdefs.h <<_ACEOF
61595 #define HAVE__EXPF 1
61596 _ACEOF
61599 done
61608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61609 $as_echo_n "checking for isnanf declaration... " >&6; }
61610 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61611 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61612 $as_echo_n "(cached) " >&6
61613 else
61616 ac_ext=cpp
61617 ac_cpp='$CXXCPP $CPPFLAGS'
61618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61623 /* end confdefs.h. */
61624 #include <math.h>
61625 #ifdef HAVE_IEEEFP_H
61626 #include <ieeefp.h>
61627 #endif
61630 main ()
61632 isnanf(0);
61634 return 0;
61636 _ACEOF
61637 if ac_fn_cxx_try_compile "$LINENO"; then :
61638 glibcxx_cv_func_isnanf_use=yes
61639 else
61640 glibcxx_cv_func_isnanf_use=no
61642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61654 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61656 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61657 for ac_func in isnanf
61658 do :
61659 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61660 if test "x$ac_cv_func_isnanf" = x""yes; then :
61661 cat >>confdefs.h <<_ACEOF
61662 #define HAVE_ISNANF 1
61663 _ACEOF
61666 done
61668 else
61670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61671 $as_echo_n "checking for _isnanf declaration... " >&6; }
61672 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61673 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61674 $as_echo_n "(cached) " >&6
61675 else
61678 ac_ext=cpp
61679 ac_cpp='$CXXCPP $CPPFLAGS'
61680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61685 /* end confdefs.h. */
61686 #include <math.h>
61687 #ifdef HAVE_IEEEFP_H
61688 #include <ieeefp.h>
61689 #endif
61692 main ()
61694 _isnanf(0);
61696 return 0;
61698 _ACEOF
61699 if ac_fn_cxx_try_compile "$LINENO"; then :
61700 glibcxx_cv_func__isnanf_use=yes
61701 else
61702 glibcxx_cv_func__isnanf_use=no
61704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61705 ac_ext=c
61706 ac_cpp='$CPP $CPPFLAGS'
61707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61716 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61718 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61719 for ac_func in _isnanf
61720 do :
61721 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61722 if test "x$ac_cv_func__isnanf" = x""yes; then :
61723 cat >>confdefs.h <<_ACEOF
61724 #define HAVE__ISNANF 1
61725 _ACEOF
61728 done
61737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61738 $as_echo_n "checking for isinff declaration... " >&6; }
61739 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61740 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61741 $as_echo_n "(cached) " >&6
61742 else
61745 ac_ext=cpp
61746 ac_cpp='$CXXCPP $CPPFLAGS'
61747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61752 /* end confdefs.h. */
61753 #include <math.h>
61754 #ifdef HAVE_IEEEFP_H
61755 #include <ieeefp.h>
61756 #endif
61759 main ()
61761 isinff(0);
61763 return 0;
61765 _ACEOF
61766 if ac_fn_cxx_try_compile "$LINENO"; then :
61767 glibcxx_cv_func_isinff_use=yes
61768 else
61769 glibcxx_cv_func_isinff_use=no
61771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61772 ac_ext=c
61773 ac_cpp='$CPP $CPPFLAGS'
61774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61783 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61785 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61786 for ac_func in isinff
61787 do :
61788 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61789 if test "x$ac_cv_func_isinff" = x""yes; then :
61790 cat >>confdefs.h <<_ACEOF
61791 #define HAVE_ISINFF 1
61792 _ACEOF
61795 done
61797 else
61799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61800 $as_echo_n "checking for _isinff declaration... " >&6; }
61801 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61802 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61803 $as_echo_n "(cached) " >&6
61804 else
61807 ac_ext=cpp
61808 ac_cpp='$CXXCPP $CPPFLAGS'
61809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61814 /* end confdefs.h. */
61815 #include <math.h>
61816 #ifdef HAVE_IEEEFP_H
61817 #include <ieeefp.h>
61818 #endif
61821 main ()
61823 _isinff(0);
61825 return 0;
61827 _ACEOF
61828 if ac_fn_cxx_try_compile "$LINENO"; then :
61829 glibcxx_cv_func__isinff_use=yes
61830 else
61831 glibcxx_cv_func__isinff_use=no
61833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61834 ac_ext=c
61835 ac_cpp='$CPP $CPPFLAGS'
61836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61845 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61847 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61848 for ac_func in _isinff
61849 do :
61850 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61851 if test "x$ac_cv_func__isinff" = x""yes; then :
61852 cat >>confdefs.h <<_ACEOF
61853 #define HAVE__ISINFF 1
61854 _ACEOF
61857 done
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61867 $as_echo_n "checking for atan2f declaration... " >&6; }
61868 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61869 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61870 $as_echo_n "(cached) " >&6
61871 else
61874 ac_ext=cpp
61875 ac_cpp='$CXXCPP $CPPFLAGS'
61876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61881 /* end confdefs.h. */
61882 #include <math.h>
61884 main ()
61886 atan2f(0, 0);
61888 return 0;
61890 _ACEOF
61891 if ac_fn_cxx_try_compile "$LINENO"; then :
61892 glibcxx_cv_func_atan2f_use=yes
61893 else
61894 glibcxx_cv_func_atan2f_use=no
61896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61897 ac_ext=c
61898 ac_cpp='$CPP $CPPFLAGS'
61899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61908 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61910 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61911 for ac_func in atan2f
61912 do :
61913 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61914 if test "x$ac_cv_func_atan2f" = x""yes; then :
61915 cat >>confdefs.h <<_ACEOF
61916 #define HAVE_ATAN2F 1
61917 _ACEOF
61920 done
61922 else
61924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61925 $as_echo_n "checking for _atan2f declaration... " >&6; }
61926 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61927 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61928 $as_echo_n "(cached) " >&6
61929 else
61932 ac_ext=cpp
61933 ac_cpp='$CXXCPP $CPPFLAGS'
61934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61939 /* end confdefs.h. */
61940 #include <math.h>
61942 main ()
61944 _atan2f(0, 0);
61946 return 0;
61948 _ACEOF
61949 if ac_fn_cxx_try_compile "$LINENO"; then :
61950 glibcxx_cv_func__atan2f_use=yes
61951 else
61952 glibcxx_cv_func__atan2f_use=no
61954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61955 ac_ext=c
61956 ac_cpp='$CPP $CPPFLAGS'
61957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61966 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61968 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61969 for ac_func in _atan2f
61970 do :
61971 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61972 if test "x$ac_cv_func__atan2f" = x""yes; then :
61973 cat >>confdefs.h <<_ACEOF
61974 #define HAVE__ATAN2F 1
61975 _ACEOF
61978 done
61987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61988 $as_echo_n "checking for fabsf declaration... " >&6; }
61989 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61990 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61991 $as_echo_n "(cached) " >&6
61992 else
61995 ac_ext=cpp
61996 ac_cpp='$CXXCPP $CPPFLAGS'
61997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62002 /* end confdefs.h. */
62003 #include <math.h>
62004 #ifdef HAVE_IEEEFP_H
62005 #include <ieeefp.h>
62006 #endif
62009 main ()
62011 fabsf(0);
62013 return 0;
62015 _ACEOF
62016 if ac_fn_cxx_try_compile "$LINENO"; then :
62017 glibcxx_cv_func_fabsf_use=yes
62018 else
62019 glibcxx_cv_func_fabsf_use=no
62021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62022 ac_ext=c
62023 ac_cpp='$CPP $CPPFLAGS'
62024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62033 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62035 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62036 for ac_func in fabsf
62037 do :
62038 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62039 if test "x$ac_cv_func_fabsf" = x""yes; then :
62040 cat >>confdefs.h <<_ACEOF
62041 #define HAVE_FABSF 1
62042 _ACEOF
62045 done
62047 else
62049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62050 $as_echo_n "checking for _fabsf declaration... " >&6; }
62051 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62052 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
62053 $as_echo_n "(cached) " >&6
62054 else
62057 ac_ext=cpp
62058 ac_cpp='$CXXCPP $CPPFLAGS'
62059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62064 /* end confdefs.h. */
62065 #include <math.h>
62066 #ifdef HAVE_IEEEFP_H
62067 #include <ieeefp.h>
62068 #endif
62071 main ()
62073 _fabsf(0);
62075 return 0;
62077 _ACEOF
62078 if ac_fn_cxx_try_compile "$LINENO"; then :
62079 glibcxx_cv_func__fabsf_use=yes
62080 else
62081 glibcxx_cv_func__fabsf_use=no
62083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62084 ac_ext=c
62085 ac_cpp='$CPP $CPPFLAGS'
62086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62095 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62097 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62098 for ac_func in _fabsf
62099 do :
62100 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62101 if test "x$ac_cv_func__fabsf" = x""yes; then :
62102 cat >>confdefs.h <<_ACEOF
62103 #define HAVE__FABSF 1
62104 _ACEOF
62107 done
62116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62117 $as_echo_n "checking for fmodf declaration... " >&6; }
62118 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62119 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
62120 $as_echo_n "(cached) " >&6
62121 else
62124 ac_ext=cpp
62125 ac_cpp='$CXXCPP $CPPFLAGS'
62126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62131 /* end confdefs.h. */
62132 #include <math.h>
62134 main ()
62136 fmodf(0, 0);
62138 return 0;
62140 _ACEOF
62141 if ac_fn_cxx_try_compile "$LINENO"; then :
62142 glibcxx_cv_func_fmodf_use=yes
62143 else
62144 glibcxx_cv_func_fmodf_use=no
62146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62147 ac_ext=c
62148 ac_cpp='$CPP $CPPFLAGS'
62149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62158 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62160 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62161 for ac_func in fmodf
62162 do :
62163 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62164 if test "x$ac_cv_func_fmodf" = x""yes; then :
62165 cat >>confdefs.h <<_ACEOF
62166 #define HAVE_FMODF 1
62167 _ACEOF
62170 done
62172 else
62174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62175 $as_echo_n "checking for _fmodf declaration... " >&6; }
62176 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62177 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
62178 $as_echo_n "(cached) " >&6
62179 else
62182 ac_ext=cpp
62183 ac_cpp='$CXXCPP $CPPFLAGS'
62184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62189 /* end confdefs.h. */
62190 #include <math.h>
62192 main ()
62194 _fmodf(0, 0);
62196 return 0;
62198 _ACEOF
62199 if ac_fn_cxx_try_compile "$LINENO"; then :
62200 glibcxx_cv_func__fmodf_use=yes
62201 else
62202 glibcxx_cv_func__fmodf_use=no
62204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62205 ac_ext=c
62206 ac_cpp='$CPP $CPPFLAGS'
62207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62216 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62218 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62219 for ac_func in _fmodf
62220 do :
62221 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62222 if test "x$ac_cv_func__fmodf" = x""yes; then :
62223 cat >>confdefs.h <<_ACEOF
62224 #define HAVE__FMODF 1
62225 _ACEOF
62228 done
62237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62238 $as_echo_n "checking for frexpf declaration... " >&6; }
62239 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62240 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62241 $as_echo_n "(cached) " >&6
62242 else
62245 ac_ext=cpp
62246 ac_cpp='$CXXCPP $CPPFLAGS'
62247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62252 /* end confdefs.h. */
62253 #include <math.h>
62255 main ()
62257 frexpf(0, 0);
62259 return 0;
62261 _ACEOF
62262 if ac_fn_cxx_try_compile "$LINENO"; then :
62263 glibcxx_cv_func_frexpf_use=yes
62264 else
62265 glibcxx_cv_func_frexpf_use=no
62267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62268 ac_ext=c
62269 ac_cpp='$CPP $CPPFLAGS'
62270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62279 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62281 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62282 for ac_func in frexpf
62283 do :
62284 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62285 if test "x$ac_cv_func_frexpf" = x""yes; then :
62286 cat >>confdefs.h <<_ACEOF
62287 #define HAVE_FREXPF 1
62288 _ACEOF
62291 done
62293 else
62295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62296 $as_echo_n "checking for _frexpf declaration... " >&6; }
62297 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62298 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62299 $as_echo_n "(cached) " >&6
62300 else
62303 ac_ext=cpp
62304 ac_cpp='$CXXCPP $CPPFLAGS'
62305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62310 /* end confdefs.h. */
62311 #include <math.h>
62313 main ()
62315 _frexpf(0, 0);
62317 return 0;
62319 _ACEOF
62320 if ac_fn_cxx_try_compile "$LINENO"; then :
62321 glibcxx_cv_func__frexpf_use=yes
62322 else
62323 glibcxx_cv_func__frexpf_use=no
62325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62326 ac_ext=c
62327 ac_cpp='$CPP $CPPFLAGS'
62328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62337 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62339 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62340 for ac_func in _frexpf
62341 do :
62342 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62343 if test "x$ac_cv_func__frexpf" = x""yes; then :
62344 cat >>confdefs.h <<_ACEOF
62345 #define HAVE__FREXPF 1
62346 _ACEOF
62349 done
62358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62359 $as_echo_n "checking for hypotf declaration... " >&6; }
62360 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62361 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62362 $as_echo_n "(cached) " >&6
62363 else
62366 ac_ext=cpp
62367 ac_cpp='$CXXCPP $CPPFLAGS'
62368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62373 /* end confdefs.h. */
62374 #include <math.h>
62376 main ()
62378 hypotf(0, 0);
62380 return 0;
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384 glibcxx_cv_func_hypotf_use=yes
62385 else
62386 glibcxx_cv_func_hypotf_use=no
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389 ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62400 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62402 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62403 for ac_func in hypotf
62404 do :
62405 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62406 if test "x$ac_cv_func_hypotf" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define HAVE_HYPOTF 1
62409 _ACEOF
62412 done
62414 else
62416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62417 $as_echo_n "checking for _hypotf declaration... " >&6; }
62418 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62419 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62420 $as_echo_n "(cached) " >&6
62421 else
62424 ac_ext=cpp
62425 ac_cpp='$CXXCPP $CPPFLAGS'
62426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62431 /* end confdefs.h. */
62432 #include <math.h>
62434 main ()
62436 _hypotf(0, 0);
62438 return 0;
62440 _ACEOF
62441 if ac_fn_cxx_try_compile "$LINENO"; then :
62442 glibcxx_cv_func__hypotf_use=yes
62443 else
62444 glibcxx_cv_func__hypotf_use=no
62446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62447 ac_ext=c
62448 ac_cpp='$CPP $CPPFLAGS'
62449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62458 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62460 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62461 for ac_func in _hypotf
62462 do :
62463 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62464 if test "x$ac_cv_func__hypotf" = x""yes; then :
62465 cat >>confdefs.h <<_ACEOF
62466 #define HAVE__HYPOTF 1
62467 _ACEOF
62470 done
62479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62480 $as_echo_n "checking for ldexpf declaration... " >&6; }
62481 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62482 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62483 $as_echo_n "(cached) " >&6
62484 else
62487 ac_ext=cpp
62488 ac_cpp='$CXXCPP $CPPFLAGS'
62489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62494 /* end confdefs.h. */
62495 #include <math.h>
62497 main ()
62499 ldexpf(0, 0);
62501 return 0;
62503 _ACEOF
62504 if ac_fn_cxx_try_compile "$LINENO"; then :
62505 glibcxx_cv_func_ldexpf_use=yes
62506 else
62507 glibcxx_cv_func_ldexpf_use=no
62509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62510 ac_ext=c
62511 ac_cpp='$CPP $CPPFLAGS'
62512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62521 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62523 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62524 for ac_func in ldexpf
62525 do :
62526 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62527 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62528 cat >>confdefs.h <<_ACEOF
62529 #define HAVE_LDEXPF 1
62530 _ACEOF
62533 done
62535 else
62537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62538 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62539 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62540 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62541 $as_echo_n "(cached) " >&6
62542 else
62545 ac_ext=cpp
62546 ac_cpp='$CXXCPP $CPPFLAGS'
62547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62552 /* end confdefs.h. */
62553 #include <math.h>
62555 main ()
62557 _ldexpf(0, 0);
62559 return 0;
62561 _ACEOF
62562 if ac_fn_cxx_try_compile "$LINENO"; then :
62563 glibcxx_cv_func__ldexpf_use=yes
62564 else
62565 glibcxx_cv_func__ldexpf_use=no
62567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62568 ac_ext=c
62569 ac_cpp='$CPP $CPPFLAGS'
62570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62579 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62581 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62582 for ac_func in _ldexpf
62583 do :
62584 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62585 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62586 cat >>confdefs.h <<_ACEOF
62587 #define HAVE__LDEXPF 1
62588 _ACEOF
62591 done
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62601 $as_echo_n "checking for logf declaration... " >&6; }
62602 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62603 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62604 $as_echo_n "(cached) " >&6
62605 else
62608 ac_ext=cpp
62609 ac_cpp='$CXXCPP $CPPFLAGS'
62610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62615 /* end confdefs.h. */
62616 #include <math.h>
62617 #ifdef HAVE_IEEEFP_H
62618 #include <ieeefp.h>
62619 #endif
62622 main ()
62624 logf(0);
62626 return 0;
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630 glibcxx_cv_func_logf_use=yes
62631 else
62632 glibcxx_cv_func_logf_use=no
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635 ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62646 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62648 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62649 for ac_func in logf
62650 do :
62651 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62652 if test "x$ac_cv_func_logf" = x""yes; then :
62653 cat >>confdefs.h <<_ACEOF
62654 #define HAVE_LOGF 1
62655 _ACEOF
62658 done
62660 else
62662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62663 $as_echo_n "checking for _logf declaration... " >&6; }
62664 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62665 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62666 $as_echo_n "(cached) " >&6
62667 else
62670 ac_ext=cpp
62671 ac_cpp='$CXXCPP $CPPFLAGS'
62672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62677 /* end confdefs.h. */
62678 #include <math.h>
62679 #ifdef HAVE_IEEEFP_H
62680 #include <ieeefp.h>
62681 #endif
62684 main ()
62686 _logf(0);
62688 return 0;
62690 _ACEOF
62691 if ac_fn_cxx_try_compile "$LINENO"; then :
62692 glibcxx_cv_func__logf_use=yes
62693 else
62694 glibcxx_cv_func__logf_use=no
62696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62697 ac_ext=c
62698 ac_cpp='$CPP $CPPFLAGS'
62699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62708 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62710 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62711 for ac_func in _logf
62712 do :
62713 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62714 if test "x$ac_cv_func__logf" = x""yes; then :
62715 cat >>confdefs.h <<_ACEOF
62716 #define HAVE__LOGF 1
62717 _ACEOF
62720 done
62729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62730 $as_echo_n "checking for log10f declaration... " >&6; }
62731 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62732 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62733 $as_echo_n "(cached) " >&6
62734 else
62737 ac_ext=cpp
62738 ac_cpp='$CXXCPP $CPPFLAGS'
62739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62744 /* end confdefs.h. */
62745 #include <math.h>
62746 #ifdef HAVE_IEEEFP_H
62747 #include <ieeefp.h>
62748 #endif
62751 main ()
62753 log10f(0);
62755 return 0;
62757 _ACEOF
62758 if ac_fn_cxx_try_compile "$LINENO"; then :
62759 glibcxx_cv_func_log10f_use=yes
62760 else
62761 glibcxx_cv_func_log10f_use=no
62763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62764 ac_ext=c
62765 ac_cpp='$CPP $CPPFLAGS'
62766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62775 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62777 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62778 for ac_func in log10f
62779 do :
62780 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62781 if test "x$ac_cv_func_log10f" = x""yes; then :
62782 cat >>confdefs.h <<_ACEOF
62783 #define HAVE_LOG10F 1
62784 _ACEOF
62787 done
62789 else
62791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62792 $as_echo_n "checking for _log10f declaration... " >&6; }
62793 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62794 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62795 $as_echo_n "(cached) " >&6
62796 else
62799 ac_ext=cpp
62800 ac_cpp='$CXXCPP $CPPFLAGS'
62801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62806 /* end confdefs.h. */
62807 #include <math.h>
62808 #ifdef HAVE_IEEEFP_H
62809 #include <ieeefp.h>
62810 #endif
62813 main ()
62815 _log10f(0);
62817 return 0;
62819 _ACEOF
62820 if ac_fn_cxx_try_compile "$LINENO"; then :
62821 glibcxx_cv_func__log10f_use=yes
62822 else
62823 glibcxx_cv_func__log10f_use=no
62825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62826 ac_ext=c
62827 ac_cpp='$CPP $CPPFLAGS'
62828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62837 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62839 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62840 for ac_func in _log10f
62841 do :
62842 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62843 if test "x$ac_cv_func__log10f" = x""yes; then :
62844 cat >>confdefs.h <<_ACEOF
62845 #define HAVE__LOG10F 1
62846 _ACEOF
62849 done
62858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62859 $as_echo_n "checking for modff declaration... " >&6; }
62860 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62861 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62862 $as_echo_n "(cached) " >&6
62863 else
62866 ac_ext=cpp
62867 ac_cpp='$CXXCPP $CPPFLAGS'
62868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62873 /* end confdefs.h. */
62874 #include <math.h>
62876 main ()
62878 modff(0, 0);
62880 return 0;
62882 _ACEOF
62883 if ac_fn_cxx_try_compile "$LINENO"; then :
62884 glibcxx_cv_func_modff_use=yes
62885 else
62886 glibcxx_cv_func_modff_use=no
62888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62889 ac_ext=c
62890 ac_cpp='$CPP $CPPFLAGS'
62891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62900 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62902 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62903 for ac_func in modff
62904 do :
62905 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62906 if test "x$ac_cv_func_modff" = x""yes; then :
62907 cat >>confdefs.h <<_ACEOF
62908 #define HAVE_MODFF 1
62909 _ACEOF
62912 done
62914 else
62916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62917 $as_echo_n "checking for _modff declaration... " >&6; }
62918 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62919 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62920 $as_echo_n "(cached) " >&6
62921 else
62924 ac_ext=cpp
62925 ac_cpp='$CXXCPP $CPPFLAGS'
62926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62931 /* end confdefs.h. */
62932 #include <math.h>
62934 main ()
62936 _modff(0, 0);
62938 return 0;
62940 _ACEOF
62941 if ac_fn_cxx_try_compile "$LINENO"; then :
62942 glibcxx_cv_func__modff_use=yes
62943 else
62944 glibcxx_cv_func__modff_use=no
62946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62947 ac_ext=c
62948 ac_cpp='$CPP $CPPFLAGS'
62949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62958 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62960 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62961 for ac_func in _modff
62962 do :
62963 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62964 if test "x$ac_cv_func__modff" = x""yes; then :
62965 cat >>confdefs.h <<_ACEOF
62966 #define HAVE__MODFF 1
62967 _ACEOF
62970 done
62979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62980 $as_echo_n "checking for modf declaration... " >&6; }
62981 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62982 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62983 $as_echo_n "(cached) " >&6
62984 else
62987 ac_ext=cpp
62988 ac_cpp='$CXXCPP $CPPFLAGS'
62989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62994 /* end confdefs.h. */
62995 #include <math.h>
62997 main ()
62999 modf(0, 0);
63001 return 0;
63003 _ACEOF
63004 if ac_fn_cxx_try_compile "$LINENO"; then :
63005 glibcxx_cv_func_modf_use=yes
63006 else
63007 glibcxx_cv_func_modf_use=no
63009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63010 ac_ext=c
63011 ac_cpp='$CPP $CPPFLAGS'
63012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63021 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63023 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63024 for ac_func in modf
63025 do :
63026 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63027 if test "x$ac_cv_func_modf" = x""yes; then :
63028 cat >>confdefs.h <<_ACEOF
63029 #define HAVE_MODF 1
63030 _ACEOF
63033 done
63035 else
63037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63038 $as_echo_n "checking for _modf declaration... " >&6; }
63039 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63040 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
63041 $as_echo_n "(cached) " >&6
63042 else
63045 ac_ext=cpp
63046 ac_cpp='$CXXCPP $CPPFLAGS'
63047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63052 /* end confdefs.h. */
63053 #include <math.h>
63055 main ()
63057 _modf(0, 0);
63059 return 0;
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func__modf_use=yes
63064 else
63065 glibcxx_cv_func__modf_use=no
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068 ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63079 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63081 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63082 for ac_func in _modf
63083 do :
63084 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63085 if test "x$ac_cv_func__modf" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE__MODF 1
63088 _ACEOF
63091 done
63100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63101 $as_echo_n "checking for powf declaration... " >&6; }
63102 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63103 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
63104 $as_echo_n "(cached) " >&6
63105 else
63108 ac_ext=cpp
63109 ac_cpp='$CXXCPP $CPPFLAGS'
63110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63115 /* end confdefs.h. */
63116 #include <math.h>
63118 main ()
63120 powf(0, 0);
63122 return 0;
63124 _ACEOF
63125 if ac_fn_cxx_try_compile "$LINENO"; then :
63126 glibcxx_cv_func_powf_use=yes
63127 else
63128 glibcxx_cv_func_powf_use=no
63130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63131 ac_ext=c
63132 ac_cpp='$CPP $CPPFLAGS'
63133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63142 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63144 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63145 for ac_func in powf
63146 do :
63147 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63148 if test "x$ac_cv_func_powf" = x""yes; then :
63149 cat >>confdefs.h <<_ACEOF
63150 #define HAVE_POWF 1
63151 _ACEOF
63154 done
63156 else
63158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63159 $as_echo_n "checking for _powf declaration... " >&6; }
63160 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63161 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
63162 $as_echo_n "(cached) " >&6
63163 else
63166 ac_ext=cpp
63167 ac_cpp='$CXXCPP $CPPFLAGS'
63168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63173 /* end confdefs.h. */
63174 #include <math.h>
63176 main ()
63178 _powf(0, 0);
63180 return 0;
63182 _ACEOF
63183 if ac_fn_cxx_try_compile "$LINENO"; then :
63184 glibcxx_cv_func__powf_use=yes
63185 else
63186 glibcxx_cv_func__powf_use=no
63188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63189 ac_ext=c
63190 ac_cpp='$CPP $CPPFLAGS'
63191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63200 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63202 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63203 for ac_func in _powf
63204 do :
63205 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63206 if test "x$ac_cv_func__powf" = x""yes; then :
63207 cat >>confdefs.h <<_ACEOF
63208 #define HAVE__POWF 1
63209 _ACEOF
63212 done
63221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63222 $as_echo_n "checking for sqrtf declaration... " >&6; }
63223 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63224 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63225 $as_echo_n "(cached) " >&6
63226 else
63229 ac_ext=cpp
63230 ac_cpp='$CXXCPP $CPPFLAGS'
63231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63236 /* end confdefs.h. */
63237 #include <math.h>
63238 #ifdef HAVE_IEEEFP_H
63239 #include <ieeefp.h>
63240 #endif
63243 main ()
63245 sqrtf(0);
63247 return 0;
63249 _ACEOF
63250 if ac_fn_cxx_try_compile "$LINENO"; then :
63251 glibcxx_cv_func_sqrtf_use=yes
63252 else
63253 glibcxx_cv_func_sqrtf_use=no
63255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63256 ac_ext=c
63257 ac_cpp='$CPP $CPPFLAGS'
63258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63267 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63269 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63270 for ac_func in sqrtf
63271 do :
63272 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63273 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63274 cat >>confdefs.h <<_ACEOF
63275 #define HAVE_SQRTF 1
63276 _ACEOF
63279 done
63281 else
63283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63284 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63285 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63286 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63287 $as_echo_n "(cached) " >&6
63288 else
63291 ac_ext=cpp
63292 ac_cpp='$CXXCPP $CPPFLAGS'
63293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63298 /* end confdefs.h. */
63299 #include <math.h>
63300 #ifdef HAVE_IEEEFP_H
63301 #include <ieeefp.h>
63302 #endif
63305 main ()
63307 _sqrtf(0);
63309 return 0;
63311 _ACEOF
63312 if ac_fn_cxx_try_compile "$LINENO"; then :
63313 glibcxx_cv_func__sqrtf_use=yes
63314 else
63315 glibcxx_cv_func__sqrtf_use=no
63317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63318 ac_ext=c
63319 ac_cpp='$CPP $CPPFLAGS'
63320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63329 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63331 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63332 for ac_func in _sqrtf
63333 do :
63334 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63335 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63336 cat >>confdefs.h <<_ACEOF
63337 #define HAVE__SQRTF 1
63338 _ACEOF
63341 done
63350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63351 $as_echo_n "checking for sincosf declaration... " >&6; }
63352 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63353 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63354 $as_echo_n "(cached) " >&6
63355 else
63358 ac_ext=cpp
63359 ac_cpp='$CXXCPP $CPPFLAGS'
63360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63365 /* end confdefs.h. */
63366 #include <math.h>
63368 main ()
63370 sincosf(0, 0, 0);
63372 return 0;
63374 _ACEOF
63375 if ac_fn_cxx_try_compile "$LINENO"; then :
63376 glibcxx_cv_func_sincosf_use=yes
63377 else
63378 glibcxx_cv_func_sincosf_use=no
63380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63381 ac_ext=c
63382 ac_cpp='$CPP $CPPFLAGS'
63383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63392 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63394 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63395 for ac_func in sincosf
63396 do :
63397 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63398 if test "x$ac_cv_func_sincosf" = x""yes; then :
63399 cat >>confdefs.h <<_ACEOF
63400 #define HAVE_SINCOSF 1
63401 _ACEOF
63404 done
63406 else
63408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63409 $as_echo_n "checking for _sincosf declaration... " >&6; }
63410 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63411 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63412 $as_echo_n "(cached) " >&6
63413 else
63416 ac_ext=cpp
63417 ac_cpp='$CXXCPP $CPPFLAGS'
63418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63423 /* end confdefs.h. */
63424 #include <math.h>
63426 main ()
63428 _sincosf(0, 0, 0);
63430 return 0;
63432 _ACEOF
63433 if ac_fn_cxx_try_compile "$LINENO"; then :
63434 glibcxx_cv_func__sincosf_use=yes
63435 else
63436 glibcxx_cv_func__sincosf_use=no
63438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63439 ac_ext=c
63440 ac_cpp='$CPP $CPPFLAGS'
63441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63450 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63452 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63453 for ac_func in _sincosf
63454 do :
63455 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63456 if test "x$ac_cv_func__sincosf" = x""yes; then :
63457 cat >>confdefs.h <<_ACEOF
63458 #define HAVE__SINCOSF 1
63459 _ACEOF
63462 done
63471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63472 $as_echo_n "checking for finitef declaration... " >&6; }
63473 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63474 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63475 $as_echo_n "(cached) " >&6
63476 else
63479 ac_ext=cpp
63480 ac_cpp='$CXXCPP $CPPFLAGS'
63481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63486 /* end confdefs.h. */
63487 #include <math.h>
63488 #ifdef HAVE_IEEEFP_H
63489 #include <ieeefp.h>
63490 #endif
63493 main ()
63495 finitef(0);
63497 return 0;
63499 _ACEOF
63500 if ac_fn_cxx_try_compile "$LINENO"; then :
63501 glibcxx_cv_func_finitef_use=yes
63502 else
63503 glibcxx_cv_func_finitef_use=no
63505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63506 ac_ext=c
63507 ac_cpp='$CPP $CPPFLAGS'
63508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63517 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63519 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63520 for ac_func in finitef
63521 do :
63522 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63523 if test "x$ac_cv_func_finitef" = x""yes; then :
63524 cat >>confdefs.h <<_ACEOF
63525 #define HAVE_FINITEF 1
63526 _ACEOF
63529 done
63531 else
63533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63534 $as_echo_n "checking for _finitef declaration... " >&6; }
63535 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63536 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63537 $as_echo_n "(cached) " >&6
63538 else
63541 ac_ext=cpp
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63548 /* end confdefs.h. */
63549 #include <math.h>
63550 #ifdef HAVE_IEEEFP_H
63551 #include <ieeefp.h>
63552 #endif
63555 main ()
63557 _finitef(0);
63559 return 0;
63561 _ACEOF
63562 if ac_fn_cxx_try_compile "$LINENO"; then :
63563 glibcxx_cv_func__finitef_use=yes
63564 else
63565 glibcxx_cv_func__finitef_use=no
63567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63568 ac_ext=c
63569 ac_cpp='$CPP $CPPFLAGS'
63570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63579 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63581 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63582 for ac_func in _finitef
63583 do :
63584 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63585 if test "x$ac_cv_func__finitef" = x""yes; then :
63586 cat >>confdefs.h <<_ACEOF
63587 #define HAVE__FINITEF 1
63588 _ACEOF
63591 done
63600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63601 $as_echo_n "checking for long double trig functions... " >&6; }
63602 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63603 $as_echo_n "(cached) " >&6
63604 else
63607 ac_ext=cpp
63608 ac_cpp='$CXXCPP $CPPFLAGS'
63609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63614 /* end confdefs.h. */
63615 #include <math.h>
63617 main ()
63619 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63621 return 0;
63623 _ACEOF
63624 if ac_fn_cxx_try_compile "$LINENO"; then :
63625 glibcxx_cv_func_long_double_trig_use=yes
63626 else
63627 glibcxx_cv_func_long_double_trig_use=no
63629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63630 ac_ext=c
63631 ac_cpp='$CPP $CPPFLAGS'
63632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63639 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63640 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63641 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63642 do :
63643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63645 eval as_val=\$$as_ac_var
63646 if test "x$as_val" = x""yes; then :
63647 cat >>confdefs.h <<_ACEOF
63648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63649 _ACEOF
63652 done
63654 else
63655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63656 $as_echo_n "checking for _long double trig functions... " >&6; }
63657 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63658 $as_echo_n "(cached) " >&6
63659 else
63662 ac_ext=cpp
63663 ac_cpp='$CXXCPP $CPPFLAGS'
63664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63669 /* end confdefs.h. */
63670 #include <math.h>
63672 main ()
63674 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63676 return 0;
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680 glibcxx_cv_func__long_double_trig_use=yes
63681 else
63682 glibcxx_cv_func__long_double_trig_use=no
63684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63685 ac_ext=c
63686 ac_cpp='$CPP $CPPFLAGS'
63687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63694 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63695 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63696 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63697 do :
63698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63699 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63700 eval as_val=\$$as_ac_var
63701 if test "x$as_val" = x""yes; then :
63702 cat >>confdefs.h <<_ACEOF
63703 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63704 _ACEOF
63707 done
63716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63717 $as_echo_n "checking for long double round functions... " >&6; }
63718 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63719 $as_echo_n "(cached) " >&6
63720 else
63723 ac_ext=cpp
63724 ac_cpp='$CXXCPP $CPPFLAGS'
63725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63730 /* end confdefs.h. */
63731 #include <math.h>
63733 main ()
63735 ceill (0); floorl (0);
63737 return 0;
63739 _ACEOF
63740 if ac_fn_cxx_try_compile "$LINENO"; then :
63741 glibcxx_cv_func_long_double_round_use=yes
63742 else
63743 glibcxx_cv_func_long_double_round_use=no
63745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63746 ac_ext=c
63747 ac_cpp='$CPP $CPPFLAGS'
63748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63755 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63756 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63757 for ac_func in ceill floorl
63758 do :
63759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63760 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63761 eval as_val=\$$as_ac_var
63762 if test "x$as_val" = x""yes; then :
63763 cat >>confdefs.h <<_ACEOF
63764 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63765 _ACEOF
63768 done
63770 else
63771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63772 $as_echo_n "checking for _long double round functions... " >&6; }
63773 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63774 $as_echo_n "(cached) " >&6
63775 else
63778 ac_ext=cpp
63779 ac_cpp='$CXXCPP $CPPFLAGS'
63780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63785 /* end confdefs.h. */
63786 #include <math.h>
63788 main ()
63790 _ceill (0); _floorl (0);
63792 return 0;
63794 _ACEOF
63795 if ac_fn_cxx_try_compile "$LINENO"; then :
63796 glibcxx_cv_func__long_double_round_use=yes
63797 else
63798 glibcxx_cv_func__long_double_round_use=no
63800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63801 ac_ext=c
63802 ac_cpp='$CPP $CPPFLAGS'
63803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63810 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63811 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63812 for ac_func in _ceill _floorl
63813 do :
63814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63815 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63816 eval as_val=\$$as_ac_var
63817 if test "x$as_val" = x""yes; then :
63818 cat >>confdefs.h <<_ACEOF
63819 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63820 _ACEOF
63823 done
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63834 $as_echo_n "checking for isnanl declaration... " >&6; }
63835 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63836 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63837 $as_echo_n "(cached) " >&6
63838 else
63841 ac_ext=cpp
63842 ac_cpp='$CXXCPP $CPPFLAGS'
63843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63848 /* end confdefs.h. */
63849 #include <math.h>
63850 #ifdef HAVE_IEEEFP_H
63851 #include <ieeefp.h>
63852 #endif
63855 main ()
63857 isnanl(0);
63859 return 0;
63861 _ACEOF
63862 if ac_fn_cxx_try_compile "$LINENO"; then :
63863 glibcxx_cv_func_isnanl_use=yes
63864 else
63865 glibcxx_cv_func_isnanl_use=no
63867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63868 ac_ext=c
63869 ac_cpp='$CPP $CPPFLAGS'
63870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63879 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63881 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63882 for ac_func in isnanl
63883 do :
63884 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63885 if test "x$ac_cv_func_isnanl" = x""yes; then :
63886 cat >>confdefs.h <<_ACEOF
63887 #define HAVE_ISNANL 1
63888 _ACEOF
63891 done
63893 else
63895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63896 $as_echo_n "checking for _isnanl declaration... " >&6; }
63897 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63898 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63899 $as_echo_n "(cached) " >&6
63900 else
63903 ac_ext=cpp
63904 ac_cpp='$CXXCPP $CPPFLAGS'
63905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63910 /* end confdefs.h. */
63911 #include <math.h>
63912 #ifdef HAVE_IEEEFP_H
63913 #include <ieeefp.h>
63914 #endif
63917 main ()
63919 _isnanl(0);
63921 return 0;
63923 _ACEOF
63924 if ac_fn_cxx_try_compile "$LINENO"; then :
63925 glibcxx_cv_func__isnanl_use=yes
63926 else
63927 glibcxx_cv_func__isnanl_use=no
63929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63930 ac_ext=c
63931 ac_cpp='$CPP $CPPFLAGS'
63932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63941 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63943 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63944 for ac_func in _isnanl
63945 do :
63946 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63947 if test "x$ac_cv_func__isnanl" = x""yes; then :
63948 cat >>confdefs.h <<_ACEOF
63949 #define HAVE__ISNANL 1
63950 _ACEOF
63953 done
63962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63963 $as_echo_n "checking for isinfl declaration... " >&6; }
63964 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63965 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63966 $as_echo_n "(cached) " >&6
63967 else
63970 ac_ext=cpp
63971 ac_cpp='$CXXCPP $CPPFLAGS'
63972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63977 /* end confdefs.h. */
63978 #include <math.h>
63979 #ifdef HAVE_IEEEFP_H
63980 #include <ieeefp.h>
63981 #endif
63984 main ()
63986 isinfl(0);
63988 return 0;
63990 _ACEOF
63991 if ac_fn_cxx_try_compile "$LINENO"; then :
63992 glibcxx_cv_func_isinfl_use=yes
63993 else
63994 glibcxx_cv_func_isinfl_use=no
63996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63997 ac_ext=c
63998 ac_cpp='$CPP $CPPFLAGS'
63999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64008 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64010 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64011 for ac_func in isinfl
64012 do :
64013 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64014 if test "x$ac_cv_func_isinfl" = x""yes; then :
64015 cat >>confdefs.h <<_ACEOF
64016 #define HAVE_ISINFL 1
64017 _ACEOF
64020 done
64022 else
64024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64025 $as_echo_n "checking for _isinfl declaration... " >&6; }
64026 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64027 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
64028 $as_echo_n "(cached) " >&6
64029 else
64032 ac_ext=cpp
64033 ac_cpp='$CXXCPP $CPPFLAGS'
64034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64039 /* end confdefs.h. */
64040 #include <math.h>
64041 #ifdef HAVE_IEEEFP_H
64042 #include <ieeefp.h>
64043 #endif
64046 main ()
64048 _isinfl(0);
64050 return 0;
64052 _ACEOF
64053 if ac_fn_cxx_try_compile "$LINENO"; then :
64054 glibcxx_cv_func__isinfl_use=yes
64055 else
64056 glibcxx_cv_func__isinfl_use=no
64058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64059 ac_ext=c
64060 ac_cpp='$CPP $CPPFLAGS'
64061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64070 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64072 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64073 for ac_func in _isinfl
64074 do :
64075 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64076 if test "x$ac_cv_func__isinfl" = x""yes; then :
64077 cat >>confdefs.h <<_ACEOF
64078 #define HAVE__ISINFL 1
64079 _ACEOF
64082 done
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64092 $as_echo_n "checking for atan2l declaration... " >&6; }
64093 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64094 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
64095 $as_echo_n "(cached) " >&6
64096 else
64099 ac_ext=cpp
64100 ac_cpp='$CXXCPP $CPPFLAGS'
64101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64106 /* end confdefs.h. */
64107 #include <math.h>
64109 main ()
64111 atan2l(0, 0);
64113 return 0;
64115 _ACEOF
64116 if ac_fn_cxx_try_compile "$LINENO"; then :
64117 glibcxx_cv_func_atan2l_use=yes
64118 else
64119 glibcxx_cv_func_atan2l_use=no
64121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64122 ac_ext=c
64123 ac_cpp='$CPP $CPPFLAGS'
64124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64133 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64135 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64136 for ac_func in atan2l
64137 do :
64138 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64139 if test "x$ac_cv_func_atan2l" = x""yes; then :
64140 cat >>confdefs.h <<_ACEOF
64141 #define HAVE_ATAN2L 1
64142 _ACEOF
64145 done
64147 else
64149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64150 $as_echo_n "checking for _atan2l declaration... " >&6; }
64151 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64152 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
64153 $as_echo_n "(cached) " >&6
64154 else
64157 ac_ext=cpp
64158 ac_cpp='$CXXCPP $CPPFLAGS'
64159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64164 /* end confdefs.h. */
64165 #include <math.h>
64167 main ()
64169 _atan2l(0, 0);
64171 return 0;
64173 _ACEOF
64174 if ac_fn_cxx_try_compile "$LINENO"; then :
64175 glibcxx_cv_func__atan2l_use=yes
64176 else
64177 glibcxx_cv_func__atan2l_use=no
64179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64180 ac_ext=c
64181 ac_cpp='$CPP $CPPFLAGS'
64182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64191 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64193 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64194 for ac_func in _atan2l
64195 do :
64196 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64197 if test "x$ac_cv_func__atan2l" = x""yes; then :
64198 cat >>confdefs.h <<_ACEOF
64199 #define HAVE__ATAN2L 1
64200 _ACEOF
64203 done
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64213 $as_echo_n "checking for expl declaration... " >&6; }
64214 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64215 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64216 $as_echo_n "(cached) " >&6
64217 else
64220 ac_ext=cpp
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h. */
64228 #include <math.h>
64229 #ifdef HAVE_IEEEFP_H
64230 #include <ieeefp.h>
64231 #endif
64234 main ()
64236 expl(0);
64238 return 0;
64240 _ACEOF
64241 if ac_fn_cxx_try_compile "$LINENO"; then :
64242 glibcxx_cv_func_expl_use=yes
64243 else
64244 glibcxx_cv_func_expl_use=no
64246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64247 ac_ext=c
64248 ac_cpp='$CPP $CPPFLAGS'
64249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64258 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64260 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64261 for ac_func in expl
64262 do :
64263 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64264 if test "x$ac_cv_func_expl" = x""yes; then :
64265 cat >>confdefs.h <<_ACEOF
64266 #define HAVE_EXPL 1
64267 _ACEOF
64270 done
64272 else
64274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64275 $as_echo_n "checking for _expl declaration... " >&6; }
64276 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64277 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64278 $as_echo_n "(cached) " >&6
64279 else
64282 ac_ext=cpp
64283 ac_cpp='$CXXCPP $CPPFLAGS'
64284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64289 /* end confdefs.h. */
64290 #include <math.h>
64291 #ifdef HAVE_IEEEFP_H
64292 #include <ieeefp.h>
64293 #endif
64296 main ()
64298 _expl(0);
64300 return 0;
64302 _ACEOF
64303 if ac_fn_cxx_try_compile "$LINENO"; then :
64304 glibcxx_cv_func__expl_use=yes
64305 else
64306 glibcxx_cv_func__expl_use=no
64308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64309 ac_ext=c
64310 ac_cpp='$CPP $CPPFLAGS'
64311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64320 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64322 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64323 for ac_func in _expl
64324 do :
64325 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64326 if test "x$ac_cv_func__expl" = x""yes; then :
64327 cat >>confdefs.h <<_ACEOF
64328 #define HAVE__EXPL 1
64329 _ACEOF
64332 done
64341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64342 $as_echo_n "checking for fabsl declaration... " >&6; }
64343 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64344 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64345 $as_echo_n "(cached) " >&6
64346 else
64349 ac_ext=cpp
64350 ac_cpp='$CXXCPP $CPPFLAGS'
64351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64356 /* end confdefs.h. */
64357 #include <math.h>
64358 #ifdef HAVE_IEEEFP_H
64359 #include <ieeefp.h>
64360 #endif
64363 main ()
64365 fabsl(0);
64367 return 0;
64369 _ACEOF
64370 if ac_fn_cxx_try_compile "$LINENO"; then :
64371 glibcxx_cv_func_fabsl_use=yes
64372 else
64373 glibcxx_cv_func_fabsl_use=no
64375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64376 ac_ext=c
64377 ac_cpp='$CPP $CPPFLAGS'
64378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64387 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64389 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64390 for ac_func in fabsl
64391 do :
64392 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64393 if test "x$ac_cv_func_fabsl" = x""yes; then :
64394 cat >>confdefs.h <<_ACEOF
64395 #define HAVE_FABSL 1
64396 _ACEOF
64399 done
64401 else
64403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64404 $as_echo_n "checking for _fabsl declaration... " >&6; }
64405 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64406 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64407 $as_echo_n "(cached) " >&6
64408 else
64411 ac_ext=cpp
64412 ac_cpp='$CXXCPP $CPPFLAGS'
64413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64418 /* end confdefs.h. */
64419 #include <math.h>
64420 #ifdef HAVE_IEEEFP_H
64421 #include <ieeefp.h>
64422 #endif
64425 main ()
64427 _fabsl(0);
64429 return 0;
64431 _ACEOF
64432 if ac_fn_cxx_try_compile "$LINENO"; then :
64433 glibcxx_cv_func__fabsl_use=yes
64434 else
64435 glibcxx_cv_func__fabsl_use=no
64437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64438 ac_ext=c
64439 ac_cpp='$CPP $CPPFLAGS'
64440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64449 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64451 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64452 for ac_func in _fabsl
64453 do :
64454 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64455 if test "x$ac_cv_func__fabsl" = x""yes; then :
64456 cat >>confdefs.h <<_ACEOF
64457 #define HAVE__FABSL 1
64458 _ACEOF
64461 done
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64471 $as_echo_n "checking for fmodl declaration... " >&6; }
64472 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64473 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64474 $as_echo_n "(cached) " >&6
64475 else
64478 ac_ext=cpp
64479 ac_cpp='$CXXCPP $CPPFLAGS'
64480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64485 /* end confdefs.h. */
64486 #include <math.h>
64488 main ()
64490 fmodl(0, 0);
64492 return 0;
64494 _ACEOF
64495 if ac_fn_cxx_try_compile "$LINENO"; then :
64496 glibcxx_cv_func_fmodl_use=yes
64497 else
64498 glibcxx_cv_func_fmodl_use=no
64500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64501 ac_ext=c
64502 ac_cpp='$CPP $CPPFLAGS'
64503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64512 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64514 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64515 for ac_func in fmodl
64516 do :
64517 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64518 if test "x$ac_cv_func_fmodl" = x""yes; then :
64519 cat >>confdefs.h <<_ACEOF
64520 #define HAVE_FMODL 1
64521 _ACEOF
64524 done
64526 else
64528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64529 $as_echo_n "checking for _fmodl declaration... " >&6; }
64530 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64531 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64532 $as_echo_n "(cached) " >&6
64533 else
64536 ac_ext=cpp
64537 ac_cpp='$CXXCPP $CPPFLAGS'
64538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64543 /* end confdefs.h. */
64544 #include <math.h>
64546 main ()
64548 _fmodl(0, 0);
64550 return 0;
64552 _ACEOF
64553 if ac_fn_cxx_try_compile "$LINENO"; then :
64554 glibcxx_cv_func__fmodl_use=yes
64555 else
64556 glibcxx_cv_func__fmodl_use=no
64558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64559 ac_ext=c
64560 ac_cpp='$CPP $CPPFLAGS'
64561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64570 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64572 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64573 for ac_func in _fmodl
64574 do :
64575 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64576 if test "x$ac_cv_func__fmodl" = x""yes; then :
64577 cat >>confdefs.h <<_ACEOF
64578 #define HAVE__FMODL 1
64579 _ACEOF
64582 done
64591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64592 $as_echo_n "checking for frexpl declaration... " >&6; }
64593 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64594 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64595 $as_echo_n "(cached) " >&6
64596 else
64599 ac_ext=cpp
64600 ac_cpp='$CXXCPP $CPPFLAGS'
64601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64606 /* end confdefs.h. */
64607 #include <math.h>
64609 main ()
64611 frexpl(0, 0);
64613 return 0;
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617 glibcxx_cv_func_frexpl_use=yes
64618 else
64619 glibcxx_cv_func_frexpl_use=no
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622 ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64633 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64635 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64636 for ac_func in frexpl
64637 do :
64638 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64639 if test "x$ac_cv_func_frexpl" = x""yes; then :
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE_FREXPL 1
64642 _ACEOF
64645 done
64647 else
64649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64650 $as_echo_n "checking for _frexpl declaration... " >&6; }
64651 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64652 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64653 $as_echo_n "(cached) " >&6
64654 else
64657 ac_ext=cpp
64658 ac_cpp='$CXXCPP $CPPFLAGS'
64659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64664 /* end confdefs.h. */
64665 #include <math.h>
64667 main ()
64669 _frexpl(0, 0);
64671 return 0;
64673 _ACEOF
64674 if ac_fn_cxx_try_compile "$LINENO"; then :
64675 glibcxx_cv_func__frexpl_use=yes
64676 else
64677 glibcxx_cv_func__frexpl_use=no
64679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64680 ac_ext=c
64681 ac_cpp='$CPP $CPPFLAGS'
64682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64691 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64693 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64694 for ac_func in _frexpl
64695 do :
64696 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64697 if test "x$ac_cv_func__frexpl" = x""yes; then :
64698 cat >>confdefs.h <<_ACEOF
64699 #define HAVE__FREXPL 1
64700 _ACEOF
64703 done
64712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64713 $as_echo_n "checking for hypotl declaration... " >&6; }
64714 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64715 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64716 $as_echo_n "(cached) " >&6
64717 else
64720 ac_ext=cpp
64721 ac_cpp='$CXXCPP $CPPFLAGS'
64722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64727 /* end confdefs.h. */
64728 #include <math.h>
64730 main ()
64732 hypotl(0, 0);
64734 return 0;
64736 _ACEOF
64737 if ac_fn_cxx_try_compile "$LINENO"; then :
64738 glibcxx_cv_func_hypotl_use=yes
64739 else
64740 glibcxx_cv_func_hypotl_use=no
64742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64743 ac_ext=c
64744 ac_cpp='$CPP $CPPFLAGS'
64745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64754 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64756 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64757 for ac_func in hypotl
64758 do :
64759 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64760 if test "x$ac_cv_func_hypotl" = x""yes; then :
64761 cat >>confdefs.h <<_ACEOF
64762 #define HAVE_HYPOTL 1
64763 _ACEOF
64766 done
64768 else
64770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64771 $as_echo_n "checking for _hypotl declaration... " >&6; }
64772 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64773 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64774 $as_echo_n "(cached) " >&6
64775 else
64778 ac_ext=cpp
64779 ac_cpp='$CXXCPP $CPPFLAGS'
64780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64785 /* end confdefs.h. */
64786 #include <math.h>
64788 main ()
64790 _hypotl(0, 0);
64792 return 0;
64794 _ACEOF
64795 if ac_fn_cxx_try_compile "$LINENO"; then :
64796 glibcxx_cv_func__hypotl_use=yes
64797 else
64798 glibcxx_cv_func__hypotl_use=no
64800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64801 ac_ext=c
64802 ac_cpp='$CPP $CPPFLAGS'
64803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64812 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64814 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64815 for ac_func in _hypotl
64816 do :
64817 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64818 if test "x$ac_cv_func__hypotl" = x""yes; then :
64819 cat >>confdefs.h <<_ACEOF
64820 #define HAVE__HYPOTL 1
64821 _ACEOF
64824 done
64833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64834 $as_echo_n "checking for ldexpl declaration... " >&6; }
64835 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64836 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64837 $as_echo_n "(cached) " >&6
64838 else
64841 ac_ext=cpp
64842 ac_cpp='$CXXCPP $CPPFLAGS'
64843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64848 /* end confdefs.h. */
64849 #include <math.h>
64851 main ()
64853 ldexpl(0, 0);
64855 return 0;
64857 _ACEOF
64858 if ac_fn_cxx_try_compile "$LINENO"; then :
64859 glibcxx_cv_func_ldexpl_use=yes
64860 else
64861 glibcxx_cv_func_ldexpl_use=no
64863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64864 ac_ext=c
64865 ac_cpp='$CPP $CPPFLAGS'
64866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64875 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64877 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64878 for ac_func in ldexpl
64879 do :
64880 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64881 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64882 cat >>confdefs.h <<_ACEOF
64883 #define HAVE_LDEXPL 1
64884 _ACEOF
64887 done
64889 else
64891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64892 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64893 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64894 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64895 $as_echo_n "(cached) " >&6
64896 else
64899 ac_ext=cpp
64900 ac_cpp='$CXXCPP $CPPFLAGS'
64901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64906 /* end confdefs.h. */
64907 #include <math.h>
64909 main ()
64911 _ldexpl(0, 0);
64913 return 0;
64915 _ACEOF
64916 if ac_fn_cxx_try_compile "$LINENO"; then :
64917 glibcxx_cv_func__ldexpl_use=yes
64918 else
64919 glibcxx_cv_func__ldexpl_use=no
64921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64922 ac_ext=c
64923 ac_cpp='$CPP $CPPFLAGS'
64924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64933 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64935 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64936 for ac_func in _ldexpl
64937 do :
64938 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64939 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64940 cat >>confdefs.h <<_ACEOF
64941 #define HAVE__LDEXPL 1
64942 _ACEOF
64945 done
64954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64955 $as_echo_n "checking for logl declaration... " >&6; }
64956 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64957 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64958 $as_echo_n "(cached) " >&6
64959 else
64962 ac_ext=cpp
64963 ac_cpp='$CXXCPP $CPPFLAGS'
64964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64969 /* end confdefs.h. */
64970 #include <math.h>
64971 #ifdef HAVE_IEEEFP_H
64972 #include <ieeefp.h>
64973 #endif
64976 main ()
64978 logl(0);
64980 return 0;
64982 _ACEOF
64983 if ac_fn_cxx_try_compile "$LINENO"; then :
64984 glibcxx_cv_func_logl_use=yes
64985 else
64986 glibcxx_cv_func_logl_use=no
64988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64989 ac_ext=c
64990 ac_cpp='$CPP $CPPFLAGS'
64991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65000 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65002 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65003 for ac_func in logl
65004 do :
65005 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65006 if test "x$ac_cv_func_logl" = x""yes; then :
65007 cat >>confdefs.h <<_ACEOF
65008 #define HAVE_LOGL 1
65009 _ACEOF
65012 done
65014 else
65016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65017 $as_echo_n "checking for _logl declaration... " >&6; }
65018 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65019 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
65020 $as_echo_n "(cached) " >&6
65021 else
65024 ac_ext=cpp
65025 ac_cpp='$CXXCPP $CPPFLAGS'
65026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65031 /* end confdefs.h. */
65032 #include <math.h>
65033 #ifdef HAVE_IEEEFP_H
65034 #include <ieeefp.h>
65035 #endif
65038 main ()
65040 _logl(0);
65042 return 0;
65044 _ACEOF
65045 if ac_fn_cxx_try_compile "$LINENO"; then :
65046 glibcxx_cv_func__logl_use=yes
65047 else
65048 glibcxx_cv_func__logl_use=no
65050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65051 ac_ext=c
65052 ac_cpp='$CPP $CPPFLAGS'
65053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65062 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65064 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65065 for ac_func in _logl
65066 do :
65067 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65068 if test "x$ac_cv_func__logl" = x""yes; then :
65069 cat >>confdefs.h <<_ACEOF
65070 #define HAVE__LOGL 1
65071 _ACEOF
65074 done
65083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65084 $as_echo_n "checking for log10l declaration... " >&6; }
65085 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65086 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
65087 $as_echo_n "(cached) " >&6
65088 else
65091 ac_ext=cpp
65092 ac_cpp='$CXXCPP $CPPFLAGS'
65093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65098 /* end confdefs.h. */
65099 #include <math.h>
65100 #ifdef HAVE_IEEEFP_H
65101 #include <ieeefp.h>
65102 #endif
65105 main ()
65107 log10l(0);
65109 return 0;
65111 _ACEOF
65112 if ac_fn_cxx_try_compile "$LINENO"; then :
65113 glibcxx_cv_func_log10l_use=yes
65114 else
65115 glibcxx_cv_func_log10l_use=no
65117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65118 ac_ext=c
65119 ac_cpp='$CPP $CPPFLAGS'
65120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65129 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65131 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65132 for ac_func in log10l
65133 do :
65134 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65135 if test "x$ac_cv_func_log10l" = x""yes; then :
65136 cat >>confdefs.h <<_ACEOF
65137 #define HAVE_LOG10L 1
65138 _ACEOF
65141 done
65143 else
65145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65146 $as_echo_n "checking for _log10l declaration... " >&6; }
65147 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65148 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
65149 $as_echo_n "(cached) " >&6
65150 else
65153 ac_ext=cpp
65154 ac_cpp='$CXXCPP $CPPFLAGS'
65155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65160 /* end confdefs.h. */
65161 #include <math.h>
65162 #ifdef HAVE_IEEEFP_H
65163 #include <ieeefp.h>
65164 #endif
65167 main ()
65169 _log10l(0);
65171 return 0;
65173 _ACEOF
65174 if ac_fn_cxx_try_compile "$LINENO"; then :
65175 glibcxx_cv_func__log10l_use=yes
65176 else
65177 glibcxx_cv_func__log10l_use=no
65179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65180 ac_ext=c
65181 ac_cpp='$CPP $CPPFLAGS'
65182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65191 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65193 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65194 for ac_func in _log10l
65195 do :
65196 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65197 if test "x$ac_cv_func__log10l" = x""yes; then :
65198 cat >>confdefs.h <<_ACEOF
65199 #define HAVE__LOG10L 1
65200 _ACEOF
65203 done
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65213 $as_echo_n "checking for modfl declaration... " >&6; }
65214 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65215 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65216 $as_echo_n "(cached) " >&6
65217 else
65220 ac_ext=cpp
65221 ac_cpp='$CXXCPP $CPPFLAGS'
65222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65227 /* end confdefs.h. */
65228 #include <math.h>
65230 main ()
65232 modfl(0, 0);
65234 return 0;
65236 _ACEOF
65237 if ac_fn_cxx_try_compile "$LINENO"; then :
65238 glibcxx_cv_func_modfl_use=yes
65239 else
65240 glibcxx_cv_func_modfl_use=no
65242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65243 ac_ext=c
65244 ac_cpp='$CPP $CPPFLAGS'
65245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65254 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65256 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65257 for ac_func in modfl
65258 do :
65259 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65260 if test "x$ac_cv_func_modfl" = x""yes; then :
65261 cat >>confdefs.h <<_ACEOF
65262 #define HAVE_MODFL 1
65263 _ACEOF
65266 done
65268 else
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65271 $as_echo_n "checking for _modfl declaration... " >&6; }
65272 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65273 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65274 $as_echo_n "(cached) " >&6
65275 else
65278 ac_ext=cpp
65279 ac_cpp='$CXXCPP $CPPFLAGS'
65280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65285 /* end confdefs.h. */
65286 #include <math.h>
65288 main ()
65290 _modfl(0, 0);
65292 return 0;
65294 _ACEOF
65295 if ac_fn_cxx_try_compile "$LINENO"; then :
65296 glibcxx_cv_func__modfl_use=yes
65297 else
65298 glibcxx_cv_func__modfl_use=no
65300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65301 ac_ext=c
65302 ac_cpp='$CPP $CPPFLAGS'
65303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65312 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65314 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65315 for ac_func in _modfl
65316 do :
65317 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65318 if test "x$ac_cv_func__modfl" = x""yes; then :
65319 cat >>confdefs.h <<_ACEOF
65320 #define HAVE__MODFL 1
65321 _ACEOF
65324 done
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65334 $as_echo_n "checking for powl declaration... " >&6; }
65335 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65336 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65337 $as_echo_n "(cached) " >&6
65338 else
65341 ac_ext=cpp
65342 ac_cpp='$CXXCPP $CPPFLAGS'
65343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65348 /* end confdefs.h. */
65349 #include <math.h>
65351 main ()
65353 powl(0, 0);
65355 return 0;
65357 _ACEOF
65358 if ac_fn_cxx_try_compile "$LINENO"; then :
65359 glibcxx_cv_func_powl_use=yes
65360 else
65361 glibcxx_cv_func_powl_use=no
65363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65364 ac_ext=c
65365 ac_cpp='$CPP $CPPFLAGS'
65366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65375 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65377 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65378 for ac_func in powl
65379 do :
65380 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65381 if test "x$ac_cv_func_powl" = x""yes; then :
65382 cat >>confdefs.h <<_ACEOF
65383 #define HAVE_POWL 1
65384 _ACEOF
65387 done
65389 else
65391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65392 $as_echo_n "checking for _powl declaration... " >&6; }
65393 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65394 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65395 $as_echo_n "(cached) " >&6
65396 else
65399 ac_ext=cpp
65400 ac_cpp='$CXXCPP $CPPFLAGS'
65401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65406 /* end confdefs.h. */
65407 #include <math.h>
65409 main ()
65411 _powl(0, 0);
65413 return 0;
65415 _ACEOF
65416 if ac_fn_cxx_try_compile "$LINENO"; then :
65417 glibcxx_cv_func__powl_use=yes
65418 else
65419 glibcxx_cv_func__powl_use=no
65421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65422 ac_ext=c
65423 ac_cpp='$CPP $CPPFLAGS'
65424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65433 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65435 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65436 for ac_func in _powl
65437 do :
65438 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65439 if test "x$ac_cv_func__powl" = x""yes; then :
65440 cat >>confdefs.h <<_ACEOF
65441 #define HAVE__POWL 1
65442 _ACEOF
65445 done
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65455 $as_echo_n "checking for sqrtl declaration... " >&6; }
65456 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65457 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65458 $as_echo_n "(cached) " >&6
65459 else
65462 ac_ext=cpp
65463 ac_cpp='$CXXCPP $CPPFLAGS'
65464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65469 /* end confdefs.h. */
65470 #include <math.h>
65471 #ifdef HAVE_IEEEFP_H
65472 #include <ieeefp.h>
65473 #endif
65476 main ()
65478 sqrtl(0);
65480 return 0;
65482 _ACEOF
65483 if ac_fn_cxx_try_compile "$LINENO"; then :
65484 glibcxx_cv_func_sqrtl_use=yes
65485 else
65486 glibcxx_cv_func_sqrtl_use=no
65488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65489 ac_ext=c
65490 ac_cpp='$CPP $CPPFLAGS'
65491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65500 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65502 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65503 for ac_func in sqrtl
65504 do :
65505 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65506 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65507 cat >>confdefs.h <<_ACEOF
65508 #define HAVE_SQRTL 1
65509 _ACEOF
65512 done
65514 else
65516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65517 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65518 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65519 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65520 $as_echo_n "(cached) " >&6
65521 else
65524 ac_ext=cpp
65525 ac_cpp='$CXXCPP $CPPFLAGS'
65526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65531 /* end confdefs.h. */
65532 #include <math.h>
65533 #ifdef HAVE_IEEEFP_H
65534 #include <ieeefp.h>
65535 #endif
65538 main ()
65540 _sqrtl(0);
65542 return 0;
65544 _ACEOF
65545 if ac_fn_cxx_try_compile "$LINENO"; then :
65546 glibcxx_cv_func__sqrtl_use=yes
65547 else
65548 glibcxx_cv_func__sqrtl_use=no
65550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65551 ac_ext=c
65552 ac_cpp='$CPP $CPPFLAGS'
65553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65562 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65564 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65565 for ac_func in _sqrtl
65566 do :
65567 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65568 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65569 cat >>confdefs.h <<_ACEOF
65570 #define HAVE__SQRTL 1
65571 _ACEOF
65574 done
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65584 $as_echo_n "checking for sincosl declaration... " >&6; }
65585 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65586 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65587 $as_echo_n "(cached) " >&6
65588 else
65591 ac_ext=cpp
65592 ac_cpp='$CXXCPP $CPPFLAGS'
65593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65598 /* end confdefs.h. */
65599 #include <math.h>
65601 main ()
65603 sincosl(0, 0, 0);
65605 return 0;
65607 _ACEOF
65608 if ac_fn_cxx_try_compile "$LINENO"; then :
65609 glibcxx_cv_func_sincosl_use=yes
65610 else
65611 glibcxx_cv_func_sincosl_use=no
65613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65614 ac_ext=c
65615 ac_cpp='$CPP $CPPFLAGS'
65616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65625 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65627 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65628 for ac_func in sincosl
65629 do :
65630 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65631 if test "x$ac_cv_func_sincosl" = x""yes; then :
65632 cat >>confdefs.h <<_ACEOF
65633 #define HAVE_SINCOSL 1
65634 _ACEOF
65637 done
65639 else
65641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65642 $as_echo_n "checking for _sincosl declaration... " >&6; }
65643 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65644 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65645 $as_echo_n "(cached) " >&6
65646 else
65649 ac_ext=cpp
65650 ac_cpp='$CXXCPP $CPPFLAGS'
65651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65656 /* end confdefs.h. */
65657 #include <math.h>
65659 main ()
65661 _sincosl(0, 0, 0);
65663 return 0;
65665 _ACEOF
65666 if ac_fn_cxx_try_compile "$LINENO"; then :
65667 glibcxx_cv_func__sincosl_use=yes
65668 else
65669 glibcxx_cv_func__sincosl_use=no
65671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65672 ac_ext=c
65673 ac_cpp='$CPP $CPPFLAGS'
65674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65683 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65685 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65686 for ac_func in _sincosl
65687 do :
65688 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65689 if test "x$ac_cv_func__sincosl" = x""yes; then :
65690 cat >>confdefs.h <<_ACEOF
65691 #define HAVE__SINCOSL 1
65692 _ACEOF
65695 done
65704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65705 $as_echo_n "checking for finitel declaration... " >&6; }
65706 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65707 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65708 $as_echo_n "(cached) " >&6
65709 else
65712 ac_ext=cpp
65713 ac_cpp='$CXXCPP $CPPFLAGS'
65714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65719 /* end confdefs.h. */
65720 #include <math.h>
65721 #ifdef HAVE_IEEEFP_H
65722 #include <ieeefp.h>
65723 #endif
65726 main ()
65728 finitel(0);
65730 return 0;
65732 _ACEOF
65733 if ac_fn_cxx_try_compile "$LINENO"; then :
65734 glibcxx_cv_func_finitel_use=yes
65735 else
65736 glibcxx_cv_func_finitel_use=no
65738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65739 ac_ext=c
65740 ac_cpp='$CPP $CPPFLAGS'
65741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65750 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65752 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65753 for ac_func in finitel
65754 do :
65755 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65756 if test "x$ac_cv_func_finitel" = x""yes; then :
65757 cat >>confdefs.h <<_ACEOF
65758 #define HAVE_FINITEL 1
65759 _ACEOF
65762 done
65764 else
65766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65767 $as_echo_n "checking for _finitel declaration... " >&6; }
65768 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65769 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65770 $as_echo_n "(cached) " >&6
65771 else
65774 ac_ext=cpp
65775 ac_cpp='$CXXCPP $CPPFLAGS'
65776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65781 /* end confdefs.h. */
65782 #include <math.h>
65783 #ifdef HAVE_IEEEFP_H
65784 #include <ieeefp.h>
65785 #endif
65788 main ()
65790 _finitel(0);
65792 return 0;
65794 _ACEOF
65795 if ac_fn_cxx_try_compile "$LINENO"; then :
65796 glibcxx_cv_func__finitel_use=yes
65797 else
65798 glibcxx_cv_func__finitel_use=no
65800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65801 ac_ext=c
65802 ac_cpp='$CPP $CPPFLAGS'
65803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65812 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65814 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65815 for ac_func in _finitel
65816 do :
65817 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65818 if test "x$ac_cv_func__finitel" = x""yes; then :
65819 cat >>confdefs.h <<_ACEOF
65820 #define HAVE__FINITEL 1
65821 _ACEOF
65824 done
65832 LIBS="$ac_save_LIBS"
65833 CXXFLAGS="$ac_save_CXXFLAGS"
65836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65837 ac_save_CXXFLAGS="$CXXFLAGS"
65838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65842 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65843 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65844 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65845 $as_echo_n "(cached) " >&6
65846 else
65849 ac_ext=cpp
65850 ac_cpp='$CXXCPP $CPPFLAGS'
65851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65856 /* end confdefs.h. */
65857 #include <stdlib.h>
65859 main ()
65861 at_quick_exit(0);
65863 return 0;
65865 _ACEOF
65866 if ac_fn_cxx_try_compile "$LINENO"; then :
65867 glibcxx_cv_func_at_quick_exit_use=yes
65868 else
65869 glibcxx_cv_func_at_quick_exit_use=no
65871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65872 ac_ext=c
65873 ac_cpp='$CPP $CPPFLAGS'
65874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65883 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65884 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65885 for ac_func in at_quick_exit
65886 do :
65887 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65888 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65889 cat >>confdefs.h <<_ACEOF
65890 #define HAVE_AT_QUICK_EXIT 1
65891 _ACEOF
65894 done
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65900 $as_echo_n "checking for quick_exit declaration... " >&6; }
65901 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65902 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <stdlib.h>
65917 main ()
65919 quick_exit(0);
65921 return 0;
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_quick_exit_use=yes
65926 else
65927 glibcxx_cv_func_quick_exit_use=no
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65941 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65942 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65943 for ac_func in quick_exit
65944 do :
65945 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65946 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define HAVE_QUICK_EXIT 1
65949 _ACEOF
65952 done
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65958 $as_echo_n "checking for strtold declaration... " >&6; }
65959 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65960 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65961 $as_echo_n "(cached) " >&6
65962 else
65965 ac_ext=cpp
65966 ac_cpp='$CXXCPP $CPPFLAGS'
65967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65972 /* end confdefs.h. */
65973 #include <stdlib.h>
65975 main ()
65977 strtold(0, 0);
65979 return 0;
65981 _ACEOF
65982 if ac_fn_cxx_try_compile "$LINENO"; then :
65983 glibcxx_cv_func_strtold_use=yes
65984 else
65985 glibcxx_cv_func_strtold_use=no
65987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65988 ac_ext=c
65989 ac_cpp='$CPP $CPPFLAGS'
65990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65999 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66000 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66001 for ac_func in strtold
66002 do :
66003 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66004 if test "x$ac_cv_func_strtold" = x""yes; then :
66005 cat >>confdefs.h <<_ACEOF
66006 #define HAVE_STRTOLD 1
66007 _ACEOF
66010 done
66017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66018 $as_echo_n "checking for strtof declaration... " >&6; }
66019 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66020 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
66021 $as_echo_n "(cached) " >&6
66022 else
66025 ac_ext=cpp
66026 ac_cpp='$CXXCPP $CPPFLAGS'
66027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66032 /* end confdefs.h. */
66033 #include <stdlib.h>
66035 main ()
66037 strtof(0, 0);
66039 return 0;
66041 _ACEOF
66042 if ac_fn_cxx_try_compile "$LINENO"; then :
66043 glibcxx_cv_func_strtof_use=yes
66044 else
66045 glibcxx_cv_func_strtof_use=no
66047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66048 ac_ext=c
66049 ac_cpp='$CPP $CPPFLAGS'
66050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66059 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66060 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66061 for ac_func in strtof
66062 do :
66063 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66064 if test "x$ac_cv_func_strtof" = x""yes; then :
66065 cat >>confdefs.h <<_ACEOF
66066 #define HAVE_STRTOF 1
66067 _ACEOF
66070 done
66077 CXXFLAGS="$ac_save_CXXFLAGS"
66080 *-netbsd*)
66081 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66084 # If we're not using GNU ld, then there's no point in even trying these
66085 # tests. Check for that first. We should have already tested for gld
66086 # by now (in libtool), but require it now just to be safe...
66087 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66088 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66092 # The name set by libtool depends on the version of libtool. Shame on us
66093 # for depending on an impl detail, but c'est la vie. Older versions used
66094 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66095 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66096 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66097 # set (hence we're using an older libtool), then set it.
66098 if test x${with_gnu_ld+set} != xset; then
66099 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66100 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66101 with_gnu_ld=no
66102 else
66103 with_gnu_ld=$ac_cv_prog_gnu_ld
66107 # Start by getting the version number. I think the libtool test already
66108 # does some of this, but throws away the result.
66109 glibcxx_ld_is_gold=no
66110 if test x"$with_gnu_ld" = x"yes"; then
66111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66112 $as_echo_n "checking for ld version... " >&6; }
66114 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66115 glibcxx_ld_is_gold=yes
66117 ldver=`$LD --version 2>/dev/null |
66118 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66120 glibcxx_gnu_ld_version=`echo $ldver | \
66121 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66123 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66126 # Set --gc-sections.
66127 glibcxx_have_gc_sections=no
66128 if test "$glibcxx_ld_is_gold" = "yes"; then
66129 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66130 glibcxx_have_gc_sections=yes
66132 else
66133 glibcxx_gcsections_min_ld=21602
66134 if test x"$with_gnu_ld" = x"yes" &&
66135 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66136 glibcxx_have_gc_sections=yes
66139 if test "$glibcxx_have_gc_sections" = "yes"; then
66140 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66141 # NB: This flag only works reliably after 2.16.1. Configure tests
66142 # for this are difficult, so hard wire a value that should work.
66144 ac_test_CFLAGS="${CFLAGS+set}"
66145 ac_save_CFLAGS="$CFLAGS"
66146 CFLAGS='-Wl,--gc-sections'
66148 # Check for -Wl,--gc-sections
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66150 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66151 if test x$gcc_no_link = xyes; then
66152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66155 /* end confdefs.h. */
66156 int one(void) { return 1; }
66157 int two(void) { return 2; }
66160 main ()
66162 two();
66164 return 0;
66166 _ACEOF
66167 if ac_fn_c_try_link "$LINENO"; then :
66168 ac_gcsections=yes
66169 else
66170 ac_gcsections=no
66172 rm -f core conftest.err conftest.$ac_objext \
66173 conftest$ac_exeext conftest.$ac_ext
66174 if test "$ac_gcsections" = "yes"; then
66175 rm -f conftest.c
66176 touch conftest.c
66177 if $CC -c conftest.c; then
66178 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66179 grep "Warning: gc-sections option ignored" > /dev/null; then
66180 ac_gcsections=no
66183 rm -f conftest.c conftest.o conftest
66185 if test "$ac_gcsections" = "yes"; then
66186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66189 $as_echo "$ac_gcsections" >&6; }
66191 if test "$ac_test_CFLAGS" = set; then
66192 CFLAGS="$ac_save_CFLAGS"
66193 else
66194 # this is the suspicious part
66195 CFLAGS=''
66199 # Set -z,relro.
66200 # Note this is only for shared objects.
66201 ac_ld_relro=no
66202 if test x"$with_gnu_ld" = x"yes"; then
66203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66204 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66205 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66206 if test -n "$cxx_z_relo"; then
66207 OPT_LDFLAGS="-Wl,-z,relro"
66208 ac_ld_relro=yes
66210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66211 $as_echo "$ac_ld_relro" >&6; }
66214 # Set linker optimization flags.
66215 if test x"$with_gnu_ld" = x"yes"; then
66216 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66222 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66224 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66226 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66228 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66230 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66232 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66234 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66236 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66238 if test x"long_double_math_on_this_cpu" = x"yes"; then
66239 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66241 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66243 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66247 *-qnx6.1* | *-qnx6.2*)
66248 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66251 # If we're not using GNU ld, then there's no point in even trying these
66252 # tests. Check for that first. We should have already tested for gld
66253 # by now (in libtool), but require it now just to be safe...
66254 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66255 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66259 # The name set by libtool depends on the version of libtool. Shame on us
66260 # for depending on an impl detail, but c'est la vie. Older versions used
66261 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66262 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66263 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66264 # set (hence we're using an older libtool), then set it.
66265 if test x${with_gnu_ld+set} != xset; then
66266 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66267 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66268 with_gnu_ld=no
66269 else
66270 with_gnu_ld=$ac_cv_prog_gnu_ld
66274 # Start by getting the version number. I think the libtool test already
66275 # does some of this, but throws away the result.
66276 glibcxx_ld_is_gold=no
66277 if test x"$with_gnu_ld" = x"yes"; then
66278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66279 $as_echo_n "checking for ld version... " >&6; }
66281 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66282 glibcxx_ld_is_gold=yes
66284 ldver=`$LD --version 2>/dev/null |
66285 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66287 glibcxx_gnu_ld_version=`echo $ldver | \
66288 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66290 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66293 # Set --gc-sections.
66294 glibcxx_have_gc_sections=no
66295 if test "$glibcxx_ld_is_gold" = "yes"; then
66296 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66297 glibcxx_have_gc_sections=yes
66299 else
66300 glibcxx_gcsections_min_ld=21602
66301 if test x"$with_gnu_ld" = x"yes" &&
66302 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66303 glibcxx_have_gc_sections=yes
66306 if test "$glibcxx_have_gc_sections" = "yes"; then
66307 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66308 # NB: This flag only works reliably after 2.16.1. Configure tests
66309 # for this are difficult, so hard wire a value that should work.
66311 ac_test_CFLAGS="${CFLAGS+set}"
66312 ac_save_CFLAGS="$CFLAGS"
66313 CFLAGS='-Wl,--gc-sections'
66315 # Check for -Wl,--gc-sections
66316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66317 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66318 if test x$gcc_no_link = xyes; then
66319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66322 /* end confdefs.h. */
66323 int one(void) { return 1; }
66324 int two(void) { return 2; }
66327 main ()
66329 two();
66331 return 0;
66333 _ACEOF
66334 if ac_fn_c_try_link "$LINENO"; then :
66335 ac_gcsections=yes
66336 else
66337 ac_gcsections=no
66339 rm -f core conftest.err conftest.$ac_objext \
66340 conftest$ac_exeext conftest.$ac_ext
66341 if test "$ac_gcsections" = "yes"; then
66342 rm -f conftest.c
66343 touch conftest.c
66344 if $CC -c conftest.c; then
66345 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66346 grep "Warning: gc-sections option ignored" > /dev/null; then
66347 ac_gcsections=no
66350 rm -f conftest.c conftest.o conftest
66352 if test "$ac_gcsections" = "yes"; then
66353 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66356 $as_echo "$ac_gcsections" >&6; }
66358 if test "$ac_test_CFLAGS" = set; then
66359 CFLAGS="$ac_save_CFLAGS"
66360 else
66361 # this is the suspicious part
66362 CFLAGS=''
66366 # Set -z,relro.
66367 # Note this is only for shared objects.
66368 ac_ld_relro=no
66369 if test x"$with_gnu_ld" = x"yes"; then
66370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66371 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66372 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66373 if test -n "$cxx_z_relo"; then
66374 OPT_LDFLAGS="-Wl,-z,relro"
66375 ac_ld_relro=yes
66377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66378 $as_echo "$ac_ld_relro" >&6; }
66381 # Set linker optimization flags.
66382 if test x"$with_gnu_ld" = x"yes"; then
66383 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66389 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66391 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66393 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66395 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66397 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66399 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66401 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66403 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66405 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66407 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66409 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66411 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66414 *-rtems*)
66416 # All these tests are for C++; save the language and the compiler flags.
66417 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66418 # found in GLIBCXX_CONFIGURE.
66420 ac_ext=cpp
66421 ac_cpp='$CXXCPP $CPPFLAGS'
66422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66426 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66427 ac_save_CXXFLAGS="$CXXFLAGS"
66429 # Check for maintainer-mode bits.
66430 if test x"$USE_MAINTAINER_MODE" = xno; then
66431 WERROR=''
66432 else
66433 WERROR='-Werror'
66436 # Check for -ffunction-sections -fdata-sections
66437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66438 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66439 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66441 /* end confdefs.h. */
66442 int foo; void bar() { };
66444 main ()
66448 return 0;
66450 _ACEOF
66451 if ac_fn_cxx_try_compile "$LINENO"; then :
66452 ac_fdsections=yes
66453 else
66454 ac_fdsections=no
66456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66457 if test "$ac_test_CXXFLAGS" = set; then
66458 CXXFLAGS="$ac_save_CXXFLAGS"
66459 else
66460 # this is the suspicious part
66461 CXXFLAGS=''
66463 if test x"$ac_fdsections" = x"yes"; then
66464 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66467 $as_echo "$ac_fdsections" >&6; }
66469 ac_ext=c
66470 ac_cpp='$CPP $CPPFLAGS'
66471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66479 # If we're not using GNU ld, then there's no point in even trying these
66480 # tests. Check for that first. We should have already tested for gld
66481 # by now (in libtool), but require it now just to be safe...
66482 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66483 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66487 # The name set by libtool depends on the version of libtool. Shame on us
66488 # for depending on an impl detail, but c'est la vie. Older versions used
66489 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66490 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66491 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66492 # set (hence we're using an older libtool), then set it.
66493 if test x${with_gnu_ld+set} != xset; then
66494 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66495 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66496 with_gnu_ld=no
66497 else
66498 with_gnu_ld=$ac_cv_prog_gnu_ld
66502 # Start by getting the version number. I think the libtool test already
66503 # does some of this, but throws away the result.
66504 glibcxx_ld_is_gold=no
66505 if test x"$with_gnu_ld" = x"yes"; then
66506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66507 $as_echo_n "checking for ld version... " >&6; }
66509 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66510 glibcxx_ld_is_gold=yes
66512 ldver=`$LD --version 2>/dev/null |
66513 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
66515 glibcxx_gnu_ld_version=`echo $ldver | \
66516 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66518 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66521 # Set --gc-sections.
66522 glibcxx_have_gc_sections=no
66523 if test "$glibcxx_ld_is_gold" = "yes"; then
66524 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66525 glibcxx_have_gc_sections=yes
66527 else
66528 glibcxx_gcsections_min_ld=21602
66529 if test x"$with_gnu_ld" = x"yes" &&
66530 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66531 glibcxx_have_gc_sections=yes
66534 if test "$glibcxx_have_gc_sections" = "yes"; then
66535 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66536 # NB: This flag only works reliably after 2.16.1. Configure tests
66537 # for this are difficult, so hard wire a value that should work.
66539 ac_test_CFLAGS="${CFLAGS+set}"
66540 ac_save_CFLAGS="$CFLAGS"
66541 CFLAGS='-Wl,--gc-sections'
66543 # Check for -Wl,--gc-sections
66544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66545 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66546 if test x$gcc_no_link = xyes; then
66547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66550 /* end confdefs.h. */
66551 int one(void) { return 1; }
66552 int two(void) { return 2; }
66555 main ()
66557 two();
66559 return 0;
66561 _ACEOF
66562 if ac_fn_c_try_link "$LINENO"; then :
66563 ac_gcsections=yes
66564 else
66565 ac_gcsections=no
66567 rm -f core conftest.err conftest.$ac_objext \
66568 conftest$ac_exeext conftest.$ac_ext
66569 if test "$ac_gcsections" = "yes"; then
66570 rm -f conftest.c
66571 touch conftest.c
66572 if $CC -c conftest.c; then
66573 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66574 grep "Warning: gc-sections option ignored" > /dev/null; then
66575 ac_gcsections=no
66578 rm -f conftest.c conftest.o conftest
66580 if test "$ac_gcsections" = "yes"; then
66581 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66584 $as_echo "$ac_gcsections" >&6; }
66586 if test "$ac_test_CFLAGS" = set; then
66587 CFLAGS="$ac_save_CFLAGS"
66588 else
66589 # this is the suspicious part
66590 CFLAGS=''
66594 # Set -z,relro.
66595 # Note this is only for shared objects.
66596 ac_ld_relro=no
66597 if test x"$with_gnu_ld" = x"yes"; then
66598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66599 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66600 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66601 if test -n "$cxx_z_relo"; then
66602 OPT_LDFLAGS="-Wl,-z,relro"
66603 ac_ld_relro=yes
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66606 $as_echo "$ac_ld_relro" >&6; }
66609 # Set linker optimization flags.
66610 if test x"$with_gnu_ld" = x"yes"; then
66611 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66618 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66619 ac_save_CXXFLAGS="$CXXFLAGS"
66620 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66623 $as_echo_n "checking for sin in -lm... " >&6; }
66624 if test "${ac_cv_lib_m_sin+set}" = set; then :
66625 $as_echo_n "(cached) " >&6
66626 else
66627 ac_check_lib_save_LIBS=$LIBS
66628 LIBS="-lm $LIBS"
66629 if test x$gcc_no_link = xyes; then
66630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66633 /* end confdefs.h. */
66635 /* Override any GCC internal prototype to avoid an error.
66636 Use char because int might match the return type of a GCC
66637 builtin and then its argument prototype would still apply. */
66638 #ifdef __cplusplus
66639 extern "C"
66640 #endif
66641 char sin ();
66643 main ()
66645 return sin ();
66647 return 0;
66649 _ACEOF
66650 if ac_fn_c_try_link "$LINENO"; then :
66651 ac_cv_lib_m_sin=yes
66652 else
66653 ac_cv_lib_m_sin=no
66655 rm -f core conftest.err conftest.$ac_objext \
66656 conftest$ac_exeext conftest.$ac_ext
66657 LIBS=$ac_check_lib_save_LIBS
66659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66660 $as_echo "$ac_cv_lib_m_sin" >&6; }
66661 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66662 libm="-lm"
66665 ac_save_LIBS="$LIBS"
66666 LIBS="$LIBS $libm"
66670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66671 $as_echo_n "checking for isinf declaration... " >&6; }
66672 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66673 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66674 $as_echo_n "(cached) " >&6
66675 else
66678 ac_ext=cpp
66679 ac_cpp='$CXXCPP $CPPFLAGS'
66680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66685 /* end confdefs.h. */
66686 #include <math.h>
66687 #ifdef HAVE_IEEEFP_H
66688 #include <ieeefp.h>
66689 #endif
66692 main ()
66694 isinf(0);
66696 return 0;
66698 _ACEOF
66699 if ac_fn_cxx_try_compile "$LINENO"; then :
66700 glibcxx_cv_func_isinf_use=yes
66701 else
66702 glibcxx_cv_func_isinf_use=no
66704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66705 ac_ext=c
66706 ac_cpp='$CPP $CPPFLAGS'
66707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66716 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66718 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66719 for ac_func in isinf
66720 do :
66721 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66722 if test "x$ac_cv_func_isinf" = x""yes; then :
66723 cat >>confdefs.h <<_ACEOF
66724 #define HAVE_ISINF 1
66725 _ACEOF
66728 done
66730 else
66732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66733 $as_echo_n "checking for _isinf declaration... " >&6; }
66734 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66735 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66736 $as_echo_n "(cached) " >&6
66737 else
66740 ac_ext=cpp
66741 ac_cpp='$CXXCPP $CPPFLAGS'
66742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66747 /* end confdefs.h. */
66748 #include <math.h>
66749 #ifdef HAVE_IEEEFP_H
66750 #include <ieeefp.h>
66751 #endif
66754 main ()
66756 _isinf(0);
66758 return 0;
66760 _ACEOF
66761 if ac_fn_cxx_try_compile "$LINENO"; then :
66762 glibcxx_cv_func__isinf_use=yes
66763 else
66764 glibcxx_cv_func__isinf_use=no
66766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66767 ac_ext=c
66768 ac_cpp='$CPP $CPPFLAGS'
66769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66778 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66780 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66781 for ac_func in _isinf
66782 do :
66783 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66784 if test "x$ac_cv_func__isinf" = x""yes; then :
66785 cat >>confdefs.h <<_ACEOF
66786 #define HAVE__ISINF 1
66787 _ACEOF
66790 done
66799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66800 $as_echo_n "checking for isnan declaration... " >&6; }
66801 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66802 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66803 $as_echo_n "(cached) " >&6
66804 else
66807 ac_ext=cpp
66808 ac_cpp='$CXXCPP $CPPFLAGS'
66809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66814 /* end confdefs.h. */
66815 #include <math.h>
66816 #ifdef HAVE_IEEEFP_H
66817 #include <ieeefp.h>
66818 #endif
66821 main ()
66823 isnan(0);
66825 return 0;
66827 _ACEOF
66828 if ac_fn_cxx_try_compile "$LINENO"; then :
66829 glibcxx_cv_func_isnan_use=yes
66830 else
66831 glibcxx_cv_func_isnan_use=no
66833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66834 ac_ext=c
66835 ac_cpp='$CPP $CPPFLAGS'
66836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66845 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66847 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66848 for ac_func in isnan
66849 do :
66850 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66851 if test "x$ac_cv_func_isnan" = x""yes; then :
66852 cat >>confdefs.h <<_ACEOF
66853 #define HAVE_ISNAN 1
66854 _ACEOF
66857 done
66859 else
66861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66862 $as_echo_n "checking for _isnan declaration... " >&6; }
66863 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66864 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66865 $as_echo_n "(cached) " >&6
66866 else
66869 ac_ext=cpp
66870 ac_cpp='$CXXCPP $CPPFLAGS'
66871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66876 /* end confdefs.h. */
66877 #include <math.h>
66878 #ifdef HAVE_IEEEFP_H
66879 #include <ieeefp.h>
66880 #endif
66883 main ()
66885 _isnan(0);
66887 return 0;
66889 _ACEOF
66890 if ac_fn_cxx_try_compile "$LINENO"; then :
66891 glibcxx_cv_func__isnan_use=yes
66892 else
66893 glibcxx_cv_func__isnan_use=no
66895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66896 ac_ext=c
66897 ac_cpp='$CPP $CPPFLAGS'
66898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66907 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66909 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66910 for ac_func in _isnan
66911 do :
66912 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66913 if test "x$ac_cv_func__isnan" = x""yes; then :
66914 cat >>confdefs.h <<_ACEOF
66915 #define HAVE__ISNAN 1
66916 _ACEOF
66919 done
66928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66929 $as_echo_n "checking for finite declaration... " >&6; }
66930 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66931 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66932 $as_echo_n "(cached) " >&6
66933 else
66936 ac_ext=cpp
66937 ac_cpp='$CXXCPP $CPPFLAGS'
66938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66943 /* end confdefs.h. */
66944 #include <math.h>
66945 #ifdef HAVE_IEEEFP_H
66946 #include <ieeefp.h>
66947 #endif
66950 main ()
66952 finite(0);
66954 return 0;
66956 _ACEOF
66957 if ac_fn_cxx_try_compile "$LINENO"; then :
66958 glibcxx_cv_func_finite_use=yes
66959 else
66960 glibcxx_cv_func_finite_use=no
66962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66963 ac_ext=c
66964 ac_cpp='$CPP $CPPFLAGS'
66965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66974 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66976 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66977 for ac_func in finite
66978 do :
66979 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66980 if test "x$ac_cv_func_finite" = x""yes; then :
66981 cat >>confdefs.h <<_ACEOF
66982 #define HAVE_FINITE 1
66983 _ACEOF
66986 done
66988 else
66990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66991 $as_echo_n "checking for _finite declaration... " >&6; }
66992 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66993 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66994 $as_echo_n "(cached) " >&6
66995 else
66998 ac_ext=cpp
66999 ac_cpp='$CXXCPP $CPPFLAGS'
67000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67005 /* end confdefs.h. */
67006 #include <math.h>
67007 #ifdef HAVE_IEEEFP_H
67008 #include <ieeefp.h>
67009 #endif
67012 main ()
67014 _finite(0);
67016 return 0;
67018 _ACEOF
67019 if ac_fn_cxx_try_compile "$LINENO"; then :
67020 glibcxx_cv_func__finite_use=yes
67021 else
67022 glibcxx_cv_func__finite_use=no
67024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67025 ac_ext=c
67026 ac_cpp='$CPP $CPPFLAGS'
67027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67036 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67038 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67039 for ac_func in _finite
67040 do :
67041 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67042 if test "x$ac_cv_func__finite" = x""yes; then :
67043 cat >>confdefs.h <<_ACEOF
67044 #define HAVE__FINITE 1
67045 _ACEOF
67048 done
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67058 $as_echo_n "checking for sincos declaration... " >&6; }
67059 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67060 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
67061 $as_echo_n "(cached) " >&6
67062 else
67065 ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h. */
67073 #include <math.h>
67075 main ()
67077 sincos(0, 0, 0);
67079 return 0;
67081 _ACEOF
67082 if ac_fn_cxx_try_compile "$LINENO"; then :
67083 glibcxx_cv_func_sincos_use=yes
67084 else
67085 glibcxx_cv_func_sincos_use=no
67087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67088 ac_ext=c
67089 ac_cpp='$CPP $CPPFLAGS'
67090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67099 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67101 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67102 for ac_func in sincos
67103 do :
67104 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67105 if test "x$ac_cv_func_sincos" = x""yes; then :
67106 cat >>confdefs.h <<_ACEOF
67107 #define HAVE_SINCOS 1
67108 _ACEOF
67111 done
67113 else
67115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67116 $as_echo_n "checking for _sincos declaration... " >&6; }
67117 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67118 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
67119 $as_echo_n "(cached) " >&6
67120 else
67123 ac_ext=cpp
67124 ac_cpp='$CXXCPP $CPPFLAGS'
67125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67130 /* end confdefs.h. */
67131 #include <math.h>
67133 main ()
67135 _sincos(0, 0, 0);
67137 return 0;
67139 _ACEOF
67140 if ac_fn_cxx_try_compile "$LINENO"; then :
67141 glibcxx_cv_func__sincos_use=yes
67142 else
67143 glibcxx_cv_func__sincos_use=no
67145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67146 ac_ext=c
67147 ac_cpp='$CPP $CPPFLAGS'
67148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67157 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67159 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67160 for ac_func in _sincos
67161 do :
67162 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67163 if test "x$ac_cv_func__sincos" = x""yes; then :
67164 cat >>confdefs.h <<_ACEOF
67165 #define HAVE__SINCOS 1
67166 _ACEOF
67169 done
67178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67179 $as_echo_n "checking for fpclass declaration... " >&6; }
67180 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67181 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
67182 $as_echo_n "(cached) " >&6
67183 else
67186 ac_ext=cpp
67187 ac_cpp='$CXXCPP $CPPFLAGS'
67188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67193 /* end confdefs.h. */
67194 #include <math.h>
67195 #ifdef HAVE_IEEEFP_H
67196 #include <ieeefp.h>
67197 #endif
67200 main ()
67202 fpclass(0);
67204 return 0;
67206 _ACEOF
67207 if ac_fn_cxx_try_compile "$LINENO"; then :
67208 glibcxx_cv_func_fpclass_use=yes
67209 else
67210 glibcxx_cv_func_fpclass_use=no
67212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67213 ac_ext=c
67214 ac_cpp='$CPP $CPPFLAGS'
67215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67224 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67226 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67227 for ac_func in fpclass
67228 do :
67229 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67230 if test "x$ac_cv_func_fpclass" = x""yes; then :
67231 cat >>confdefs.h <<_ACEOF
67232 #define HAVE_FPCLASS 1
67233 _ACEOF
67236 done
67238 else
67240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67241 $as_echo_n "checking for _fpclass declaration... " >&6; }
67242 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67243 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67244 $as_echo_n "(cached) " >&6
67245 else
67248 ac_ext=cpp
67249 ac_cpp='$CXXCPP $CPPFLAGS'
67250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67255 /* end confdefs.h. */
67256 #include <math.h>
67257 #ifdef HAVE_IEEEFP_H
67258 #include <ieeefp.h>
67259 #endif
67262 main ()
67264 _fpclass(0);
67266 return 0;
67268 _ACEOF
67269 if ac_fn_cxx_try_compile "$LINENO"; then :
67270 glibcxx_cv_func__fpclass_use=yes
67271 else
67272 glibcxx_cv_func__fpclass_use=no
67274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67275 ac_ext=c
67276 ac_cpp='$CPP $CPPFLAGS'
67277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67286 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67288 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67289 for ac_func in _fpclass
67290 do :
67291 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67292 if test "x$ac_cv_func__fpclass" = x""yes; then :
67293 cat >>confdefs.h <<_ACEOF
67294 #define HAVE__FPCLASS 1
67295 _ACEOF
67298 done
67307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67308 $as_echo_n "checking for qfpclass declaration... " >&6; }
67309 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67310 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67311 $as_echo_n "(cached) " >&6
67312 else
67315 ac_ext=cpp
67316 ac_cpp='$CXXCPP $CPPFLAGS'
67317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67322 /* end confdefs.h. */
67323 #include <math.h>
67324 #ifdef HAVE_IEEEFP_H
67325 #include <ieeefp.h>
67326 #endif
67329 main ()
67331 qfpclass(0);
67333 return 0;
67335 _ACEOF
67336 if ac_fn_cxx_try_compile "$LINENO"; then :
67337 glibcxx_cv_func_qfpclass_use=yes
67338 else
67339 glibcxx_cv_func_qfpclass_use=no
67341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67342 ac_ext=c
67343 ac_cpp='$CPP $CPPFLAGS'
67344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67353 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67355 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67356 for ac_func in qfpclass
67357 do :
67358 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67359 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67360 cat >>confdefs.h <<_ACEOF
67361 #define HAVE_QFPCLASS 1
67362 _ACEOF
67365 done
67367 else
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67370 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67371 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67372 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67373 $as_echo_n "(cached) " >&6
67374 else
67377 ac_ext=cpp
67378 ac_cpp='$CXXCPP $CPPFLAGS'
67379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67384 /* end confdefs.h. */
67385 #include <math.h>
67386 #ifdef HAVE_IEEEFP_H
67387 #include <ieeefp.h>
67388 #endif
67391 main ()
67393 _qfpclass(0);
67395 return 0;
67397 _ACEOF
67398 if ac_fn_cxx_try_compile "$LINENO"; then :
67399 glibcxx_cv_func__qfpclass_use=yes
67400 else
67401 glibcxx_cv_func__qfpclass_use=no
67403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67404 ac_ext=c
67405 ac_cpp='$CPP $CPPFLAGS'
67406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67415 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67417 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67418 for ac_func in _qfpclass
67419 do :
67420 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67421 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67422 cat >>confdefs.h <<_ACEOF
67423 #define HAVE__QFPCLASS 1
67424 _ACEOF
67427 done
67436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67437 $as_echo_n "checking for hypot declaration... " >&6; }
67438 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67439 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67440 $as_echo_n "(cached) " >&6
67441 else
67444 ac_ext=cpp
67445 ac_cpp='$CXXCPP $CPPFLAGS'
67446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67451 /* end confdefs.h. */
67452 #include <math.h>
67454 main ()
67456 hypot(0, 0);
67458 return 0;
67460 _ACEOF
67461 if ac_fn_cxx_try_compile "$LINENO"; then :
67462 glibcxx_cv_func_hypot_use=yes
67463 else
67464 glibcxx_cv_func_hypot_use=no
67466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67467 ac_ext=c
67468 ac_cpp='$CPP $CPPFLAGS'
67469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67478 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67480 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67481 for ac_func in hypot
67482 do :
67483 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67484 if test "x$ac_cv_func_hypot" = x""yes; then :
67485 cat >>confdefs.h <<_ACEOF
67486 #define HAVE_HYPOT 1
67487 _ACEOF
67490 done
67492 else
67494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67495 $as_echo_n "checking for _hypot declaration... " >&6; }
67496 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67497 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67498 $as_echo_n "(cached) " >&6
67499 else
67502 ac_ext=cpp
67503 ac_cpp='$CXXCPP $CPPFLAGS'
67504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67509 /* end confdefs.h. */
67510 #include <math.h>
67512 main ()
67514 _hypot(0, 0);
67516 return 0;
67518 _ACEOF
67519 if ac_fn_cxx_try_compile "$LINENO"; then :
67520 glibcxx_cv_func__hypot_use=yes
67521 else
67522 glibcxx_cv_func__hypot_use=no
67524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67525 ac_ext=c
67526 ac_cpp='$CPP $CPPFLAGS'
67527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67536 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67538 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67539 for ac_func in _hypot
67540 do :
67541 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67542 if test "x$ac_cv_func__hypot" = x""yes; then :
67543 cat >>confdefs.h <<_ACEOF
67544 #define HAVE__HYPOT 1
67545 _ACEOF
67548 done
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67558 $as_echo_n "checking for float trig functions... " >&6; }
67559 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67560 $as_echo_n "(cached) " >&6
67561 else
67564 ac_ext=cpp
67565 ac_cpp='$CXXCPP $CPPFLAGS'
67566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67571 /* end confdefs.h. */
67572 #include <math.h>
67574 main ()
67576 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67578 return 0;
67580 _ACEOF
67581 if ac_fn_cxx_try_compile "$LINENO"; then :
67582 glibcxx_cv_func_float_trig_use=yes
67583 else
67584 glibcxx_cv_func_float_trig_use=no
67586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67587 ac_ext=c
67588 ac_cpp='$CPP $CPPFLAGS'
67589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67596 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67597 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67598 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67599 do :
67600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67602 eval as_val=\$$as_ac_var
67603 if test "x$as_val" = x""yes; then :
67604 cat >>confdefs.h <<_ACEOF
67605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67606 _ACEOF
67609 done
67611 else
67612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67613 $as_echo_n "checking for _float trig functions... " >&6; }
67614 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67615 $as_echo_n "(cached) " >&6
67616 else
67619 ac_ext=cpp
67620 ac_cpp='$CXXCPP $CPPFLAGS'
67621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67626 /* end confdefs.h. */
67627 #include <math.h>
67629 main ()
67631 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67633 return 0;
67635 _ACEOF
67636 if ac_fn_cxx_try_compile "$LINENO"; then :
67637 glibcxx_cv_func__float_trig_use=yes
67638 else
67639 glibcxx_cv_func__float_trig_use=no
67641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67642 ac_ext=c
67643 ac_cpp='$CPP $CPPFLAGS'
67644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67651 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67652 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67653 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67654 do :
67655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67657 eval as_val=\$$as_ac_var
67658 if test "x$as_val" = x""yes; then :
67659 cat >>confdefs.h <<_ACEOF
67660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67661 _ACEOF
67664 done
67673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67674 $as_echo_n "checking for float round functions... " >&6; }
67675 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67676 $as_echo_n "(cached) " >&6
67677 else
67680 ac_ext=cpp
67681 ac_cpp='$CXXCPP $CPPFLAGS'
67682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67687 /* end confdefs.h. */
67688 #include <math.h>
67690 main ()
67692 ceilf (0); floorf (0);
67694 return 0;
67696 _ACEOF
67697 if ac_fn_cxx_try_compile "$LINENO"; then :
67698 glibcxx_cv_func_float_round_use=yes
67699 else
67700 glibcxx_cv_func_float_round_use=no
67702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67703 ac_ext=c
67704 ac_cpp='$CPP $CPPFLAGS'
67705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67712 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67713 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67714 for ac_func in ceilf floorf
67715 do :
67716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67718 eval as_val=\$$as_ac_var
67719 if test "x$as_val" = x""yes; then :
67720 cat >>confdefs.h <<_ACEOF
67721 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67722 _ACEOF
67725 done
67727 else
67728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67729 $as_echo_n "checking for _float round functions... " >&6; }
67730 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67731 $as_echo_n "(cached) " >&6
67732 else
67735 ac_ext=cpp
67736 ac_cpp='$CXXCPP $CPPFLAGS'
67737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67742 /* end confdefs.h. */
67743 #include <math.h>
67745 main ()
67747 _ceilf (0); _floorf (0);
67749 return 0;
67751 _ACEOF
67752 if ac_fn_cxx_try_compile "$LINENO"; then :
67753 glibcxx_cv_func__float_round_use=yes
67754 else
67755 glibcxx_cv_func__float_round_use=no
67757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67758 ac_ext=c
67759 ac_cpp='$CPP $CPPFLAGS'
67760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67767 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67768 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67769 for ac_func in _ceilf _floorf
67770 do :
67771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67773 eval as_val=\$$as_ac_var
67774 if test "x$as_val" = x""yes; then :
67775 cat >>confdefs.h <<_ACEOF
67776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67777 _ACEOF
67780 done
67790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67791 $as_echo_n "checking for expf declaration... " >&6; }
67792 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67793 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67794 $as_echo_n "(cached) " >&6
67795 else
67798 ac_ext=cpp
67799 ac_cpp='$CXXCPP $CPPFLAGS'
67800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67805 /* end confdefs.h. */
67806 #include <math.h>
67807 #ifdef HAVE_IEEEFP_H
67808 #include <ieeefp.h>
67809 #endif
67812 main ()
67814 expf(0);
67816 return 0;
67818 _ACEOF
67819 if ac_fn_cxx_try_compile "$LINENO"; then :
67820 glibcxx_cv_func_expf_use=yes
67821 else
67822 glibcxx_cv_func_expf_use=no
67824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67825 ac_ext=c
67826 ac_cpp='$CPP $CPPFLAGS'
67827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67836 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67838 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67839 for ac_func in expf
67840 do :
67841 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67842 if test "x$ac_cv_func_expf" = x""yes; then :
67843 cat >>confdefs.h <<_ACEOF
67844 #define HAVE_EXPF 1
67845 _ACEOF
67848 done
67850 else
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67853 $as_echo_n "checking for _expf declaration... " >&6; }
67854 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67855 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67856 $as_echo_n "(cached) " >&6
67857 else
67860 ac_ext=cpp
67861 ac_cpp='$CXXCPP $CPPFLAGS'
67862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67867 /* end confdefs.h. */
67868 #include <math.h>
67869 #ifdef HAVE_IEEEFP_H
67870 #include <ieeefp.h>
67871 #endif
67874 main ()
67876 _expf(0);
67878 return 0;
67880 _ACEOF
67881 if ac_fn_cxx_try_compile "$LINENO"; then :
67882 glibcxx_cv_func__expf_use=yes
67883 else
67884 glibcxx_cv_func__expf_use=no
67886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67887 ac_ext=c
67888 ac_cpp='$CPP $CPPFLAGS'
67889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67898 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67900 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67901 for ac_func in _expf
67902 do :
67903 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67904 if test "x$ac_cv_func__expf" = x""yes; then :
67905 cat >>confdefs.h <<_ACEOF
67906 #define HAVE__EXPF 1
67907 _ACEOF
67910 done
67919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67920 $as_echo_n "checking for isnanf declaration... " >&6; }
67921 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67922 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67923 $as_echo_n "(cached) " >&6
67924 else
67927 ac_ext=cpp
67928 ac_cpp='$CXXCPP $CPPFLAGS'
67929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67934 /* end confdefs.h. */
67935 #include <math.h>
67936 #ifdef HAVE_IEEEFP_H
67937 #include <ieeefp.h>
67938 #endif
67941 main ()
67943 isnanf(0);
67945 return 0;
67947 _ACEOF
67948 if ac_fn_cxx_try_compile "$LINENO"; then :
67949 glibcxx_cv_func_isnanf_use=yes
67950 else
67951 glibcxx_cv_func_isnanf_use=no
67953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67954 ac_ext=c
67955 ac_cpp='$CPP $CPPFLAGS'
67956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67965 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67967 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67968 for ac_func in isnanf
67969 do :
67970 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67971 if test "x$ac_cv_func_isnanf" = x""yes; then :
67972 cat >>confdefs.h <<_ACEOF
67973 #define HAVE_ISNANF 1
67974 _ACEOF
67977 done
67979 else
67981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67982 $as_echo_n "checking for _isnanf declaration... " >&6; }
67983 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67984 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67985 $as_echo_n "(cached) " >&6
67986 else
67989 ac_ext=cpp
67990 ac_cpp='$CXXCPP $CPPFLAGS'
67991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67996 /* end confdefs.h. */
67997 #include <math.h>
67998 #ifdef HAVE_IEEEFP_H
67999 #include <ieeefp.h>
68000 #endif
68003 main ()
68005 _isnanf(0);
68007 return 0;
68009 _ACEOF
68010 if ac_fn_cxx_try_compile "$LINENO"; then :
68011 glibcxx_cv_func__isnanf_use=yes
68012 else
68013 glibcxx_cv_func__isnanf_use=no
68015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68016 ac_ext=c
68017 ac_cpp='$CPP $CPPFLAGS'
68018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68027 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68029 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68030 for ac_func in _isnanf
68031 do :
68032 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68033 if test "x$ac_cv_func__isnanf" = x""yes; then :
68034 cat >>confdefs.h <<_ACEOF
68035 #define HAVE__ISNANF 1
68036 _ACEOF
68039 done
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68049 $as_echo_n "checking for isinff declaration... " >&6; }
68050 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68051 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
68052 $as_echo_n "(cached) " >&6
68053 else
68056 ac_ext=cpp
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68063 /* end confdefs.h. */
68064 #include <math.h>
68065 #ifdef HAVE_IEEEFP_H
68066 #include <ieeefp.h>
68067 #endif
68070 main ()
68072 isinff(0);
68074 return 0;
68076 _ACEOF
68077 if ac_fn_cxx_try_compile "$LINENO"; then :
68078 glibcxx_cv_func_isinff_use=yes
68079 else
68080 glibcxx_cv_func_isinff_use=no
68082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68083 ac_ext=c
68084 ac_cpp='$CPP $CPPFLAGS'
68085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68094 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68096 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68097 for ac_func in isinff
68098 do :
68099 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68100 if test "x$ac_cv_func_isinff" = x""yes; then :
68101 cat >>confdefs.h <<_ACEOF
68102 #define HAVE_ISINFF 1
68103 _ACEOF
68106 done
68108 else
68110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68111 $as_echo_n "checking for _isinff declaration... " >&6; }
68112 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68113 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
68114 $as_echo_n "(cached) " >&6
68115 else
68118 ac_ext=cpp
68119 ac_cpp='$CXXCPP $CPPFLAGS'
68120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68125 /* end confdefs.h. */
68126 #include <math.h>
68127 #ifdef HAVE_IEEEFP_H
68128 #include <ieeefp.h>
68129 #endif
68132 main ()
68134 _isinff(0);
68136 return 0;
68138 _ACEOF
68139 if ac_fn_cxx_try_compile "$LINENO"; then :
68140 glibcxx_cv_func__isinff_use=yes
68141 else
68142 glibcxx_cv_func__isinff_use=no
68144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68145 ac_ext=c
68146 ac_cpp='$CPP $CPPFLAGS'
68147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68156 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68158 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68159 for ac_func in _isinff
68160 do :
68161 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68162 if test "x$ac_cv_func__isinff" = x""yes; then :
68163 cat >>confdefs.h <<_ACEOF
68164 #define HAVE__ISINFF 1
68165 _ACEOF
68168 done
68177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68178 $as_echo_n "checking for atan2f declaration... " >&6; }
68179 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68180 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
68181 $as_echo_n "(cached) " >&6
68182 else
68185 ac_ext=cpp
68186 ac_cpp='$CXXCPP $CPPFLAGS'
68187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68192 /* end confdefs.h. */
68193 #include <math.h>
68195 main ()
68197 atan2f(0, 0);
68199 return 0;
68201 _ACEOF
68202 if ac_fn_cxx_try_compile "$LINENO"; then :
68203 glibcxx_cv_func_atan2f_use=yes
68204 else
68205 glibcxx_cv_func_atan2f_use=no
68207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68208 ac_ext=c
68209 ac_cpp='$CPP $CPPFLAGS'
68210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68219 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68221 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68222 for ac_func in atan2f
68223 do :
68224 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68225 if test "x$ac_cv_func_atan2f" = x""yes; then :
68226 cat >>confdefs.h <<_ACEOF
68227 #define HAVE_ATAN2F 1
68228 _ACEOF
68231 done
68233 else
68235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68236 $as_echo_n "checking for _atan2f declaration... " >&6; }
68237 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68238 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68239 $as_echo_n "(cached) " >&6
68240 else
68243 ac_ext=cpp
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68250 /* end confdefs.h. */
68251 #include <math.h>
68253 main ()
68255 _atan2f(0, 0);
68257 return 0;
68259 _ACEOF
68260 if ac_fn_cxx_try_compile "$LINENO"; then :
68261 glibcxx_cv_func__atan2f_use=yes
68262 else
68263 glibcxx_cv_func__atan2f_use=no
68265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68266 ac_ext=c
68267 ac_cpp='$CPP $CPPFLAGS'
68268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68277 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68279 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68280 for ac_func in _atan2f
68281 do :
68282 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68283 if test "x$ac_cv_func__atan2f" = x""yes; then :
68284 cat >>confdefs.h <<_ACEOF
68285 #define HAVE__ATAN2F 1
68286 _ACEOF
68289 done
68298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68299 $as_echo_n "checking for fabsf declaration... " >&6; }
68300 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68301 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68302 $as_echo_n "(cached) " >&6
68303 else
68306 ac_ext=cpp
68307 ac_cpp='$CXXCPP $CPPFLAGS'
68308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68313 /* end confdefs.h. */
68314 #include <math.h>
68315 #ifdef HAVE_IEEEFP_H
68316 #include <ieeefp.h>
68317 #endif
68320 main ()
68322 fabsf(0);
68324 return 0;
68326 _ACEOF
68327 if ac_fn_cxx_try_compile "$LINENO"; then :
68328 glibcxx_cv_func_fabsf_use=yes
68329 else
68330 glibcxx_cv_func_fabsf_use=no
68332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68333 ac_ext=c
68334 ac_cpp='$CPP $CPPFLAGS'
68335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68344 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68346 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68347 for ac_func in fabsf
68348 do :
68349 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68350 if test "x$ac_cv_func_fabsf" = x""yes; then :
68351 cat >>confdefs.h <<_ACEOF
68352 #define HAVE_FABSF 1
68353 _ACEOF
68356 done
68358 else
68360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68361 $as_echo_n "checking for _fabsf declaration... " >&6; }
68362 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68363 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68364 $as_echo_n "(cached) " >&6
68365 else
68368 ac_ext=cpp
68369 ac_cpp='$CXXCPP $CPPFLAGS'
68370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68375 /* end confdefs.h. */
68376 #include <math.h>
68377 #ifdef HAVE_IEEEFP_H
68378 #include <ieeefp.h>
68379 #endif
68382 main ()
68384 _fabsf(0);
68386 return 0;
68388 _ACEOF
68389 if ac_fn_cxx_try_compile "$LINENO"; then :
68390 glibcxx_cv_func__fabsf_use=yes
68391 else
68392 glibcxx_cv_func__fabsf_use=no
68394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68395 ac_ext=c
68396 ac_cpp='$CPP $CPPFLAGS'
68397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68406 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68408 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68409 for ac_func in _fabsf
68410 do :
68411 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68412 if test "x$ac_cv_func__fabsf" = x""yes; then :
68413 cat >>confdefs.h <<_ACEOF
68414 #define HAVE__FABSF 1
68415 _ACEOF
68418 done
68427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68428 $as_echo_n "checking for fmodf declaration... " >&6; }
68429 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68430 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68431 $as_echo_n "(cached) " >&6
68432 else
68435 ac_ext=cpp
68436 ac_cpp='$CXXCPP $CPPFLAGS'
68437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68442 /* end confdefs.h. */
68443 #include <math.h>
68445 main ()
68447 fmodf(0, 0);
68449 return 0;
68451 _ACEOF
68452 if ac_fn_cxx_try_compile "$LINENO"; then :
68453 glibcxx_cv_func_fmodf_use=yes
68454 else
68455 glibcxx_cv_func_fmodf_use=no
68457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68458 ac_ext=c
68459 ac_cpp='$CPP $CPPFLAGS'
68460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68469 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68471 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68472 for ac_func in fmodf
68473 do :
68474 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68475 if test "x$ac_cv_func_fmodf" = x""yes; then :
68476 cat >>confdefs.h <<_ACEOF
68477 #define HAVE_FMODF 1
68478 _ACEOF
68481 done
68483 else
68485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68486 $as_echo_n "checking for _fmodf declaration... " >&6; }
68487 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68488 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68489 $as_echo_n "(cached) " >&6
68490 else
68493 ac_ext=cpp
68494 ac_cpp='$CXXCPP $CPPFLAGS'
68495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68500 /* end confdefs.h. */
68501 #include <math.h>
68503 main ()
68505 _fmodf(0, 0);
68507 return 0;
68509 _ACEOF
68510 if ac_fn_cxx_try_compile "$LINENO"; then :
68511 glibcxx_cv_func__fmodf_use=yes
68512 else
68513 glibcxx_cv_func__fmodf_use=no
68515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68516 ac_ext=c
68517 ac_cpp='$CPP $CPPFLAGS'
68518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68527 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68529 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68530 for ac_func in _fmodf
68531 do :
68532 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68533 if test "x$ac_cv_func__fmodf" = x""yes; then :
68534 cat >>confdefs.h <<_ACEOF
68535 #define HAVE__FMODF 1
68536 _ACEOF
68539 done
68548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68549 $as_echo_n "checking for frexpf declaration... " >&6; }
68550 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68551 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68552 $as_echo_n "(cached) " >&6
68553 else
68556 ac_ext=cpp
68557 ac_cpp='$CXXCPP $CPPFLAGS'
68558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68563 /* end confdefs.h. */
68564 #include <math.h>
68566 main ()
68568 frexpf(0, 0);
68570 return 0;
68572 _ACEOF
68573 if ac_fn_cxx_try_compile "$LINENO"; then :
68574 glibcxx_cv_func_frexpf_use=yes
68575 else
68576 glibcxx_cv_func_frexpf_use=no
68578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68579 ac_ext=c
68580 ac_cpp='$CPP $CPPFLAGS'
68581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68590 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68592 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68593 for ac_func in frexpf
68594 do :
68595 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68596 if test "x$ac_cv_func_frexpf" = x""yes; then :
68597 cat >>confdefs.h <<_ACEOF
68598 #define HAVE_FREXPF 1
68599 _ACEOF
68602 done
68604 else
68606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68607 $as_echo_n "checking for _frexpf declaration... " >&6; }
68608 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68609 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68610 $as_echo_n "(cached) " >&6
68611 else
68614 ac_ext=cpp
68615 ac_cpp='$CXXCPP $CPPFLAGS'
68616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68621 /* end confdefs.h. */
68622 #include <math.h>
68624 main ()
68626 _frexpf(0, 0);
68628 return 0;
68630 _ACEOF
68631 if ac_fn_cxx_try_compile "$LINENO"; then :
68632 glibcxx_cv_func__frexpf_use=yes
68633 else
68634 glibcxx_cv_func__frexpf_use=no
68636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68637 ac_ext=c
68638 ac_cpp='$CPP $CPPFLAGS'
68639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68648 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68650 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68651 for ac_func in _frexpf
68652 do :
68653 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68654 if test "x$ac_cv_func__frexpf" = x""yes; then :
68655 cat >>confdefs.h <<_ACEOF
68656 #define HAVE__FREXPF 1
68657 _ACEOF
68660 done
68669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68670 $as_echo_n "checking for hypotf declaration... " >&6; }
68671 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68672 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68673 $as_echo_n "(cached) " >&6
68674 else
68677 ac_ext=cpp
68678 ac_cpp='$CXXCPP $CPPFLAGS'
68679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68684 /* end confdefs.h. */
68685 #include <math.h>
68687 main ()
68689 hypotf(0, 0);
68691 return 0;
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func_hypotf_use=yes
68696 else
68697 glibcxx_cv_func_hypotf_use=no
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68711 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68713 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68714 for ac_func in hypotf
68715 do :
68716 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68717 if test "x$ac_cv_func_hypotf" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define HAVE_HYPOTF 1
68720 _ACEOF
68723 done
68725 else
68727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68728 $as_echo_n "checking for _hypotf declaration... " >&6; }
68729 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68730 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68731 $as_echo_n "(cached) " >&6
68732 else
68735 ac_ext=cpp
68736 ac_cpp='$CXXCPP $CPPFLAGS'
68737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68742 /* end confdefs.h. */
68743 #include <math.h>
68745 main ()
68747 _hypotf(0, 0);
68749 return 0;
68751 _ACEOF
68752 if ac_fn_cxx_try_compile "$LINENO"; then :
68753 glibcxx_cv_func__hypotf_use=yes
68754 else
68755 glibcxx_cv_func__hypotf_use=no
68757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68758 ac_ext=c
68759 ac_cpp='$CPP $CPPFLAGS'
68760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68769 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68771 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68772 for ac_func in _hypotf
68773 do :
68774 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68775 if test "x$ac_cv_func__hypotf" = x""yes; then :
68776 cat >>confdefs.h <<_ACEOF
68777 #define HAVE__HYPOTF 1
68778 _ACEOF
68781 done
68790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68791 $as_echo_n "checking for ldexpf declaration... " >&6; }
68792 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68793 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68794 $as_echo_n "(cached) " >&6
68795 else
68798 ac_ext=cpp
68799 ac_cpp='$CXXCPP $CPPFLAGS'
68800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68805 /* end confdefs.h. */
68806 #include <math.h>
68808 main ()
68810 ldexpf(0, 0);
68812 return 0;
68814 _ACEOF
68815 if ac_fn_cxx_try_compile "$LINENO"; then :
68816 glibcxx_cv_func_ldexpf_use=yes
68817 else
68818 glibcxx_cv_func_ldexpf_use=no
68820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68821 ac_ext=c
68822 ac_cpp='$CPP $CPPFLAGS'
68823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68832 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68834 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68835 for ac_func in ldexpf
68836 do :
68837 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68838 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68839 cat >>confdefs.h <<_ACEOF
68840 #define HAVE_LDEXPF 1
68841 _ACEOF
68844 done
68846 else
68848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68849 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68850 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68851 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68852 $as_echo_n "(cached) " >&6
68853 else
68856 ac_ext=cpp
68857 ac_cpp='$CXXCPP $CPPFLAGS'
68858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68863 /* end confdefs.h. */
68864 #include <math.h>
68866 main ()
68868 _ldexpf(0, 0);
68870 return 0;
68872 _ACEOF
68873 if ac_fn_cxx_try_compile "$LINENO"; then :
68874 glibcxx_cv_func__ldexpf_use=yes
68875 else
68876 glibcxx_cv_func__ldexpf_use=no
68878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68879 ac_ext=c
68880 ac_cpp='$CPP $CPPFLAGS'
68881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68890 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68892 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68893 for ac_func in _ldexpf
68894 do :
68895 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68896 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68897 cat >>confdefs.h <<_ACEOF
68898 #define HAVE__LDEXPF 1
68899 _ACEOF
68902 done
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68912 $as_echo_n "checking for logf declaration... " >&6; }
68913 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68914 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68915 $as_echo_n "(cached) " >&6
68916 else
68919 ac_ext=cpp
68920 ac_cpp='$CXXCPP $CPPFLAGS'
68921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68926 /* end confdefs.h. */
68927 #include <math.h>
68928 #ifdef HAVE_IEEEFP_H
68929 #include <ieeefp.h>
68930 #endif
68933 main ()
68935 logf(0);
68937 return 0;
68939 _ACEOF
68940 if ac_fn_cxx_try_compile "$LINENO"; then :
68941 glibcxx_cv_func_logf_use=yes
68942 else
68943 glibcxx_cv_func_logf_use=no
68945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68946 ac_ext=c
68947 ac_cpp='$CPP $CPPFLAGS'
68948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68957 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68959 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68960 for ac_func in logf
68961 do :
68962 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68963 if test "x$ac_cv_func_logf" = x""yes; then :
68964 cat >>confdefs.h <<_ACEOF
68965 #define HAVE_LOGF 1
68966 _ACEOF
68969 done
68971 else
68973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68974 $as_echo_n "checking for _logf declaration... " >&6; }
68975 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68976 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68977 $as_echo_n "(cached) " >&6
68978 else
68981 ac_ext=cpp
68982 ac_cpp='$CXXCPP $CPPFLAGS'
68983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68988 /* end confdefs.h. */
68989 #include <math.h>
68990 #ifdef HAVE_IEEEFP_H
68991 #include <ieeefp.h>
68992 #endif
68995 main ()
68997 _logf(0);
68999 return 0;
69001 _ACEOF
69002 if ac_fn_cxx_try_compile "$LINENO"; then :
69003 glibcxx_cv_func__logf_use=yes
69004 else
69005 glibcxx_cv_func__logf_use=no
69007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69008 ac_ext=c
69009 ac_cpp='$CPP $CPPFLAGS'
69010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69019 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69021 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69022 for ac_func in _logf
69023 do :
69024 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69025 if test "x$ac_cv_func__logf" = x""yes; then :
69026 cat >>confdefs.h <<_ACEOF
69027 #define HAVE__LOGF 1
69028 _ACEOF
69031 done
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69041 $as_echo_n "checking for log10f declaration... " >&6; }
69042 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69043 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
69044 $as_echo_n "(cached) " >&6
69045 else
69048 ac_ext=cpp
69049 ac_cpp='$CXXCPP $CPPFLAGS'
69050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69055 /* end confdefs.h. */
69056 #include <math.h>
69057 #ifdef HAVE_IEEEFP_H
69058 #include <ieeefp.h>
69059 #endif
69062 main ()
69064 log10f(0);
69066 return 0;
69068 _ACEOF
69069 if ac_fn_cxx_try_compile "$LINENO"; then :
69070 glibcxx_cv_func_log10f_use=yes
69071 else
69072 glibcxx_cv_func_log10f_use=no
69074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69075 ac_ext=c
69076 ac_cpp='$CPP $CPPFLAGS'
69077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69086 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69088 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69089 for ac_func in log10f
69090 do :
69091 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69092 if test "x$ac_cv_func_log10f" = x""yes; then :
69093 cat >>confdefs.h <<_ACEOF
69094 #define HAVE_LOG10F 1
69095 _ACEOF
69098 done
69100 else
69102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69103 $as_echo_n "checking for _log10f declaration... " >&6; }
69104 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69105 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
69106 $as_echo_n "(cached) " >&6
69107 else
69110 ac_ext=cpp
69111 ac_cpp='$CXXCPP $CPPFLAGS'
69112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69117 /* end confdefs.h. */
69118 #include <math.h>
69119 #ifdef HAVE_IEEEFP_H
69120 #include <ieeefp.h>
69121 #endif
69124 main ()
69126 _log10f(0);
69128 return 0;
69130 _ACEOF
69131 if ac_fn_cxx_try_compile "$LINENO"; then :
69132 glibcxx_cv_func__log10f_use=yes
69133 else
69134 glibcxx_cv_func__log10f_use=no
69136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69137 ac_ext=c
69138 ac_cpp='$CPP $CPPFLAGS'
69139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69148 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69150 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69151 for ac_func in _log10f
69152 do :
69153 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69154 if test "x$ac_cv_func__log10f" = x""yes; then :
69155 cat >>confdefs.h <<_ACEOF
69156 #define HAVE__LOG10F 1
69157 _ACEOF
69160 done
69169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69170 $as_echo_n "checking for modff declaration... " >&6; }
69171 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69172 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
69173 $as_echo_n "(cached) " >&6
69174 else
69177 ac_ext=cpp
69178 ac_cpp='$CXXCPP $CPPFLAGS'
69179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69184 /* end confdefs.h. */
69185 #include <math.h>
69187 main ()
69189 modff(0, 0);
69191 return 0;
69193 _ACEOF
69194 if ac_fn_cxx_try_compile "$LINENO"; then :
69195 glibcxx_cv_func_modff_use=yes
69196 else
69197 glibcxx_cv_func_modff_use=no
69199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69200 ac_ext=c
69201 ac_cpp='$CPP $CPPFLAGS'
69202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69211 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69213 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69214 for ac_func in modff
69215 do :
69216 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69217 if test "x$ac_cv_func_modff" = x""yes; then :
69218 cat >>confdefs.h <<_ACEOF
69219 #define HAVE_MODFF 1
69220 _ACEOF
69223 done
69225 else
69227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69228 $as_echo_n "checking for _modff declaration... " >&6; }
69229 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69230 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69231 $as_echo_n "(cached) " >&6
69232 else
69235 ac_ext=cpp
69236 ac_cpp='$CXXCPP $CPPFLAGS'
69237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69242 /* end confdefs.h. */
69243 #include <math.h>
69245 main ()
69247 _modff(0, 0);
69249 return 0;
69251 _ACEOF
69252 if ac_fn_cxx_try_compile "$LINENO"; then :
69253 glibcxx_cv_func__modff_use=yes
69254 else
69255 glibcxx_cv_func__modff_use=no
69257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69258 ac_ext=c
69259 ac_cpp='$CPP $CPPFLAGS'
69260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69269 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69271 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69272 for ac_func in _modff
69273 do :
69274 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69275 if test "x$ac_cv_func__modff" = x""yes; then :
69276 cat >>confdefs.h <<_ACEOF
69277 #define HAVE__MODFF 1
69278 _ACEOF
69281 done
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69291 $as_echo_n "checking for modf declaration... " >&6; }
69292 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69293 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69294 $as_echo_n "(cached) " >&6
69295 else
69298 ac_ext=cpp
69299 ac_cpp='$CXXCPP $CPPFLAGS'
69300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69305 /* end confdefs.h. */
69306 #include <math.h>
69308 main ()
69310 modf(0, 0);
69312 return 0;
69314 _ACEOF
69315 if ac_fn_cxx_try_compile "$LINENO"; then :
69316 glibcxx_cv_func_modf_use=yes
69317 else
69318 glibcxx_cv_func_modf_use=no
69320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69321 ac_ext=c
69322 ac_cpp='$CPP $CPPFLAGS'
69323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69332 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69334 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69335 for ac_func in modf
69336 do :
69337 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69338 if test "x$ac_cv_func_modf" = x""yes; then :
69339 cat >>confdefs.h <<_ACEOF
69340 #define HAVE_MODF 1
69341 _ACEOF
69344 done
69346 else
69348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69349 $as_echo_n "checking for _modf declaration... " >&6; }
69350 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69351 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69352 $as_echo_n "(cached) " >&6
69353 else
69356 ac_ext=cpp
69357 ac_cpp='$CXXCPP $CPPFLAGS'
69358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69363 /* end confdefs.h. */
69364 #include <math.h>
69366 main ()
69368 _modf(0, 0);
69370 return 0;
69372 _ACEOF
69373 if ac_fn_cxx_try_compile "$LINENO"; then :
69374 glibcxx_cv_func__modf_use=yes
69375 else
69376 glibcxx_cv_func__modf_use=no
69378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69379 ac_ext=c
69380 ac_cpp='$CPP $CPPFLAGS'
69381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69390 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69392 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69393 for ac_func in _modf
69394 do :
69395 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69396 if test "x$ac_cv_func__modf" = x""yes; then :
69397 cat >>confdefs.h <<_ACEOF
69398 #define HAVE__MODF 1
69399 _ACEOF
69402 done
69411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69412 $as_echo_n "checking for powf declaration... " >&6; }
69413 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69414 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69415 $as_echo_n "(cached) " >&6
69416 else
69419 ac_ext=cpp
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69426 /* end confdefs.h. */
69427 #include <math.h>
69429 main ()
69431 powf(0, 0);
69433 return 0;
69435 _ACEOF
69436 if ac_fn_cxx_try_compile "$LINENO"; then :
69437 glibcxx_cv_func_powf_use=yes
69438 else
69439 glibcxx_cv_func_powf_use=no
69441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69442 ac_ext=c
69443 ac_cpp='$CPP $CPPFLAGS'
69444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69453 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69455 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69456 for ac_func in powf
69457 do :
69458 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69459 if test "x$ac_cv_func_powf" = x""yes; then :
69460 cat >>confdefs.h <<_ACEOF
69461 #define HAVE_POWF 1
69462 _ACEOF
69465 done
69467 else
69469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69470 $as_echo_n "checking for _powf declaration... " >&6; }
69471 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69472 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69473 $as_echo_n "(cached) " >&6
69474 else
69477 ac_ext=cpp
69478 ac_cpp='$CXXCPP $CPPFLAGS'
69479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69484 /* end confdefs.h. */
69485 #include <math.h>
69487 main ()
69489 _powf(0, 0);
69491 return 0;
69493 _ACEOF
69494 if ac_fn_cxx_try_compile "$LINENO"; then :
69495 glibcxx_cv_func__powf_use=yes
69496 else
69497 glibcxx_cv_func__powf_use=no
69499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69500 ac_ext=c
69501 ac_cpp='$CPP $CPPFLAGS'
69502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69511 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69513 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69514 for ac_func in _powf
69515 do :
69516 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69517 if test "x$ac_cv_func__powf" = x""yes; then :
69518 cat >>confdefs.h <<_ACEOF
69519 #define HAVE__POWF 1
69520 _ACEOF
69523 done
69532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69533 $as_echo_n "checking for sqrtf declaration... " >&6; }
69534 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69535 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69536 $as_echo_n "(cached) " >&6
69537 else
69540 ac_ext=cpp
69541 ac_cpp='$CXXCPP $CPPFLAGS'
69542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69547 /* end confdefs.h. */
69548 #include <math.h>
69549 #ifdef HAVE_IEEEFP_H
69550 #include <ieeefp.h>
69551 #endif
69554 main ()
69556 sqrtf(0);
69558 return 0;
69560 _ACEOF
69561 if ac_fn_cxx_try_compile "$LINENO"; then :
69562 glibcxx_cv_func_sqrtf_use=yes
69563 else
69564 glibcxx_cv_func_sqrtf_use=no
69566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69567 ac_ext=c
69568 ac_cpp='$CPP $CPPFLAGS'
69569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69578 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69580 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69581 for ac_func in sqrtf
69582 do :
69583 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69584 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69585 cat >>confdefs.h <<_ACEOF
69586 #define HAVE_SQRTF 1
69587 _ACEOF
69590 done
69592 else
69594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69595 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69596 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69597 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69598 $as_echo_n "(cached) " >&6
69599 else
69602 ac_ext=cpp
69603 ac_cpp='$CXXCPP $CPPFLAGS'
69604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69609 /* end confdefs.h. */
69610 #include <math.h>
69611 #ifdef HAVE_IEEEFP_H
69612 #include <ieeefp.h>
69613 #endif
69616 main ()
69618 _sqrtf(0);
69620 return 0;
69622 _ACEOF
69623 if ac_fn_cxx_try_compile "$LINENO"; then :
69624 glibcxx_cv_func__sqrtf_use=yes
69625 else
69626 glibcxx_cv_func__sqrtf_use=no
69628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69629 ac_ext=c
69630 ac_cpp='$CPP $CPPFLAGS'
69631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69640 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69642 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69643 for ac_func in _sqrtf
69644 do :
69645 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69646 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69647 cat >>confdefs.h <<_ACEOF
69648 #define HAVE__SQRTF 1
69649 _ACEOF
69652 done
69661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69662 $as_echo_n "checking for sincosf declaration... " >&6; }
69663 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69664 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69665 $as_echo_n "(cached) " >&6
69666 else
69669 ac_ext=cpp
69670 ac_cpp='$CXXCPP $CPPFLAGS'
69671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69676 /* end confdefs.h. */
69677 #include <math.h>
69679 main ()
69681 sincosf(0, 0, 0);
69683 return 0;
69685 _ACEOF
69686 if ac_fn_cxx_try_compile "$LINENO"; then :
69687 glibcxx_cv_func_sincosf_use=yes
69688 else
69689 glibcxx_cv_func_sincosf_use=no
69691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69692 ac_ext=c
69693 ac_cpp='$CPP $CPPFLAGS'
69694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69703 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69705 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69706 for ac_func in sincosf
69707 do :
69708 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69709 if test "x$ac_cv_func_sincosf" = x""yes; then :
69710 cat >>confdefs.h <<_ACEOF
69711 #define HAVE_SINCOSF 1
69712 _ACEOF
69715 done
69717 else
69719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69720 $as_echo_n "checking for _sincosf declaration... " >&6; }
69721 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69722 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69723 $as_echo_n "(cached) " >&6
69724 else
69727 ac_ext=cpp
69728 ac_cpp='$CXXCPP $CPPFLAGS'
69729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69734 /* end confdefs.h. */
69735 #include <math.h>
69737 main ()
69739 _sincosf(0, 0, 0);
69741 return 0;
69743 _ACEOF
69744 if ac_fn_cxx_try_compile "$LINENO"; then :
69745 glibcxx_cv_func__sincosf_use=yes
69746 else
69747 glibcxx_cv_func__sincosf_use=no
69749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69750 ac_ext=c
69751 ac_cpp='$CPP $CPPFLAGS'
69752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69761 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69763 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69764 for ac_func in _sincosf
69765 do :
69766 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69767 if test "x$ac_cv_func__sincosf" = x""yes; then :
69768 cat >>confdefs.h <<_ACEOF
69769 #define HAVE__SINCOSF 1
69770 _ACEOF
69773 done
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69783 $as_echo_n "checking for finitef declaration... " >&6; }
69784 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69785 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69786 $as_echo_n "(cached) " >&6
69787 else
69790 ac_ext=cpp
69791 ac_cpp='$CXXCPP $CPPFLAGS'
69792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69797 /* end confdefs.h. */
69798 #include <math.h>
69799 #ifdef HAVE_IEEEFP_H
69800 #include <ieeefp.h>
69801 #endif
69804 main ()
69806 finitef(0);
69808 return 0;
69810 _ACEOF
69811 if ac_fn_cxx_try_compile "$LINENO"; then :
69812 glibcxx_cv_func_finitef_use=yes
69813 else
69814 glibcxx_cv_func_finitef_use=no
69816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69817 ac_ext=c
69818 ac_cpp='$CPP $CPPFLAGS'
69819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69828 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69830 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69831 for ac_func in finitef
69832 do :
69833 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69834 if test "x$ac_cv_func_finitef" = x""yes; then :
69835 cat >>confdefs.h <<_ACEOF
69836 #define HAVE_FINITEF 1
69837 _ACEOF
69840 done
69842 else
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69845 $as_echo_n "checking for _finitef declaration... " >&6; }
69846 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69847 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69848 $as_echo_n "(cached) " >&6
69849 else
69852 ac_ext=cpp
69853 ac_cpp='$CXXCPP $CPPFLAGS'
69854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69859 /* end confdefs.h. */
69860 #include <math.h>
69861 #ifdef HAVE_IEEEFP_H
69862 #include <ieeefp.h>
69863 #endif
69866 main ()
69868 _finitef(0);
69870 return 0;
69872 _ACEOF
69873 if ac_fn_cxx_try_compile "$LINENO"; then :
69874 glibcxx_cv_func__finitef_use=yes
69875 else
69876 glibcxx_cv_func__finitef_use=no
69878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69879 ac_ext=c
69880 ac_cpp='$CPP $CPPFLAGS'
69881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69890 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69892 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69893 for ac_func in _finitef
69894 do :
69895 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69896 if test "x$ac_cv_func__finitef" = x""yes; then :
69897 cat >>confdefs.h <<_ACEOF
69898 #define HAVE__FINITEF 1
69899 _ACEOF
69902 done
69911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69912 $as_echo_n "checking for long double trig functions... " >&6; }
69913 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69914 $as_echo_n "(cached) " >&6
69915 else
69918 ac_ext=cpp
69919 ac_cpp='$CXXCPP $CPPFLAGS'
69920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69925 /* end confdefs.h. */
69926 #include <math.h>
69928 main ()
69930 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69932 return 0;
69934 _ACEOF
69935 if ac_fn_cxx_try_compile "$LINENO"; then :
69936 glibcxx_cv_func_long_double_trig_use=yes
69937 else
69938 glibcxx_cv_func_long_double_trig_use=no
69940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69941 ac_ext=c
69942 ac_cpp='$CPP $CPPFLAGS'
69943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69950 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69951 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69952 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69953 do :
69954 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69955 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69956 eval as_val=\$$as_ac_var
69957 if test "x$as_val" = x""yes; then :
69958 cat >>confdefs.h <<_ACEOF
69959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69960 _ACEOF
69963 done
69965 else
69966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69967 $as_echo_n "checking for _long double trig functions... " >&6; }
69968 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69969 $as_echo_n "(cached) " >&6
69970 else
69973 ac_ext=cpp
69974 ac_cpp='$CXXCPP $CPPFLAGS'
69975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69980 /* end confdefs.h. */
69981 #include <math.h>
69983 main ()
69985 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69987 return 0;
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991 glibcxx_cv_func__long_double_trig_use=yes
69992 else
69993 glibcxx_cv_func__long_double_trig_use=no
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996 ac_ext=c
69997 ac_cpp='$CPP $CPPFLAGS'
69998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70005 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70006 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70007 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70008 do :
70009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70011 eval as_val=\$$as_ac_var
70012 if test "x$as_val" = x""yes; then :
70013 cat >>confdefs.h <<_ACEOF
70014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70015 _ACEOF
70018 done
70027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70028 $as_echo_n "checking for long double round functions... " >&6; }
70029 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
70030 $as_echo_n "(cached) " >&6
70031 else
70034 ac_ext=cpp
70035 ac_cpp='$CXXCPP $CPPFLAGS'
70036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70041 /* end confdefs.h. */
70042 #include <math.h>
70044 main ()
70046 ceill (0); floorl (0);
70048 return 0;
70050 _ACEOF
70051 if ac_fn_cxx_try_compile "$LINENO"; then :
70052 glibcxx_cv_func_long_double_round_use=yes
70053 else
70054 glibcxx_cv_func_long_double_round_use=no
70056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70057 ac_ext=c
70058 ac_cpp='$CPP $CPPFLAGS'
70059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70066 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70067 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70068 for ac_func in ceill floorl
70069 do :
70070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70072 eval as_val=\$$as_ac_var
70073 if test "x$as_val" = x""yes; then :
70074 cat >>confdefs.h <<_ACEOF
70075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70076 _ACEOF
70079 done
70081 else
70082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70083 $as_echo_n "checking for _long double round functions... " >&6; }
70084 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
70085 $as_echo_n "(cached) " >&6
70086 else
70089 ac_ext=cpp
70090 ac_cpp='$CXXCPP $CPPFLAGS'
70091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70096 /* end confdefs.h. */
70097 #include <math.h>
70099 main ()
70101 _ceill (0); _floorl (0);
70103 return 0;
70105 _ACEOF
70106 if ac_fn_cxx_try_compile "$LINENO"; then :
70107 glibcxx_cv_func__long_double_round_use=yes
70108 else
70109 glibcxx_cv_func__long_double_round_use=no
70111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70112 ac_ext=c
70113 ac_cpp='$CPP $CPPFLAGS'
70114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70121 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70122 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70123 for ac_func in _ceill _floorl
70124 do :
70125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70127 eval as_val=\$$as_ac_var
70128 if test "x$as_val" = x""yes; then :
70129 cat >>confdefs.h <<_ACEOF
70130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70131 _ACEOF
70134 done
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70145 $as_echo_n "checking for isnanl declaration... " >&6; }
70146 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70147 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
70148 $as_echo_n "(cached) " >&6
70149 else
70152 ac_ext=cpp
70153 ac_cpp='$CXXCPP $CPPFLAGS'
70154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70159 /* end confdefs.h. */
70160 #include <math.h>
70161 #ifdef HAVE_IEEEFP_H
70162 #include <ieeefp.h>
70163 #endif
70166 main ()
70168 isnanl(0);
70170 return 0;
70172 _ACEOF
70173 if ac_fn_cxx_try_compile "$LINENO"; then :
70174 glibcxx_cv_func_isnanl_use=yes
70175 else
70176 glibcxx_cv_func_isnanl_use=no
70178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70179 ac_ext=c
70180 ac_cpp='$CPP $CPPFLAGS'
70181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70190 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70192 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70193 for ac_func in isnanl
70194 do :
70195 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70196 if test "x$ac_cv_func_isnanl" = x""yes; then :
70197 cat >>confdefs.h <<_ACEOF
70198 #define HAVE_ISNANL 1
70199 _ACEOF
70202 done
70204 else
70206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70207 $as_echo_n "checking for _isnanl declaration... " >&6; }
70208 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70209 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70210 $as_echo_n "(cached) " >&6
70211 else
70214 ac_ext=cpp
70215 ac_cpp='$CXXCPP $CPPFLAGS'
70216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70221 /* end confdefs.h. */
70222 #include <math.h>
70223 #ifdef HAVE_IEEEFP_H
70224 #include <ieeefp.h>
70225 #endif
70228 main ()
70230 _isnanl(0);
70232 return 0;
70234 _ACEOF
70235 if ac_fn_cxx_try_compile "$LINENO"; then :
70236 glibcxx_cv_func__isnanl_use=yes
70237 else
70238 glibcxx_cv_func__isnanl_use=no
70240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70241 ac_ext=c
70242 ac_cpp='$CPP $CPPFLAGS'
70243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70252 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70254 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70255 for ac_func in _isnanl
70256 do :
70257 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70258 if test "x$ac_cv_func__isnanl" = x""yes; then :
70259 cat >>confdefs.h <<_ACEOF
70260 #define HAVE__ISNANL 1
70261 _ACEOF
70264 done
70273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70274 $as_echo_n "checking for isinfl declaration... " >&6; }
70275 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70276 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70277 $as_echo_n "(cached) " >&6
70278 else
70281 ac_ext=cpp
70282 ac_cpp='$CXXCPP $CPPFLAGS'
70283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70288 /* end confdefs.h. */
70289 #include <math.h>
70290 #ifdef HAVE_IEEEFP_H
70291 #include <ieeefp.h>
70292 #endif
70295 main ()
70297 isinfl(0);
70299 return 0;
70301 _ACEOF
70302 if ac_fn_cxx_try_compile "$LINENO"; then :
70303 glibcxx_cv_func_isinfl_use=yes
70304 else
70305 glibcxx_cv_func_isinfl_use=no
70307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70308 ac_ext=c
70309 ac_cpp='$CPP $CPPFLAGS'
70310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70319 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70321 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70322 for ac_func in isinfl
70323 do :
70324 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70325 if test "x$ac_cv_func_isinfl" = x""yes; then :
70326 cat >>confdefs.h <<_ACEOF
70327 #define HAVE_ISINFL 1
70328 _ACEOF
70331 done
70333 else
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70336 $as_echo_n "checking for _isinfl declaration... " >&6; }
70337 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70338 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70339 $as_echo_n "(cached) " >&6
70340 else
70343 ac_ext=cpp
70344 ac_cpp='$CXXCPP $CPPFLAGS'
70345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70350 /* end confdefs.h. */
70351 #include <math.h>
70352 #ifdef HAVE_IEEEFP_H
70353 #include <ieeefp.h>
70354 #endif
70357 main ()
70359 _isinfl(0);
70361 return 0;
70363 _ACEOF
70364 if ac_fn_cxx_try_compile "$LINENO"; then :
70365 glibcxx_cv_func__isinfl_use=yes
70366 else
70367 glibcxx_cv_func__isinfl_use=no
70369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70370 ac_ext=c
70371 ac_cpp='$CPP $CPPFLAGS'
70372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70381 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70383 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70384 for ac_func in _isinfl
70385 do :
70386 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70387 if test "x$ac_cv_func__isinfl" = x""yes; then :
70388 cat >>confdefs.h <<_ACEOF
70389 #define HAVE__ISINFL 1
70390 _ACEOF
70393 done
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70403 $as_echo_n "checking for atan2l declaration... " >&6; }
70404 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70405 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70406 $as_echo_n "(cached) " >&6
70407 else
70410 ac_ext=cpp
70411 ac_cpp='$CXXCPP $CPPFLAGS'
70412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70417 /* end confdefs.h. */
70418 #include <math.h>
70420 main ()
70422 atan2l(0, 0);
70424 return 0;
70426 _ACEOF
70427 if ac_fn_cxx_try_compile "$LINENO"; then :
70428 glibcxx_cv_func_atan2l_use=yes
70429 else
70430 glibcxx_cv_func_atan2l_use=no
70432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70433 ac_ext=c
70434 ac_cpp='$CPP $CPPFLAGS'
70435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70444 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70446 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70447 for ac_func in atan2l
70448 do :
70449 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70450 if test "x$ac_cv_func_atan2l" = x""yes; then :
70451 cat >>confdefs.h <<_ACEOF
70452 #define HAVE_ATAN2L 1
70453 _ACEOF
70456 done
70458 else
70460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70461 $as_echo_n "checking for _atan2l declaration... " >&6; }
70462 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70463 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70464 $as_echo_n "(cached) " >&6
70465 else
70468 ac_ext=cpp
70469 ac_cpp='$CXXCPP $CPPFLAGS'
70470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70475 /* end confdefs.h. */
70476 #include <math.h>
70478 main ()
70480 _atan2l(0, 0);
70482 return 0;
70484 _ACEOF
70485 if ac_fn_cxx_try_compile "$LINENO"; then :
70486 glibcxx_cv_func__atan2l_use=yes
70487 else
70488 glibcxx_cv_func__atan2l_use=no
70490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70491 ac_ext=c
70492 ac_cpp='$CPP $CPPFLAGS'
70493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70502 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70504 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70505 for ac_func in _atan2l
70506 do :
70507 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70508 if test "x$ac_cv_func__atan2l" = x""yes; then :
70509 cat >>confdefs.h <<_ACEOF
70510 #define HAVE__ATAN2L 1
70511 _ACEOF
70514 done
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70524 $as_echo_n "checking for expl declaration... " >&6; }
70525 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70526 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70527 $as_echo_n "(cached) " >&6
70528 else
70531 ac_ext=cpp
70532 ac_cpp='$CXXCPP $CPPFLAGS'
70533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70538 /* end confdefs.h. */
70539 #include <math.h>
70540 #ifdef HAVE_IEEEFP_H
70541 #include <ieeefp.h>
70542 #endif
70545 main ()
70547 expl(0);
70549 return 0;
70551 _ACEOF
70552 if ac_fn_cxx_try_compile "$LINENO"; then :
70553 glibcxx_cv_func_expl_use=yes
70554 else
70555 glibcxx_cv_func_expl_use=no
70557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70558 ac_ext=c
70559 ac_cpp='$CPP $CPPFLAGS'
70560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70569 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70571 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70572 for ac_func in expl
70573 do :
70574 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70575 if test "x$ac_cv_func_expl" = x""yes; then :
70576 cat >>confdefs.h <<_ACEOF
70577 #define HAVE_EXPL 1
70578 _ACEOF
70581 done
70583 else
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70586 $as_echo_n "checking for _expl declaration... " >&6; }
70587 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70588 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70589 $as_echo_n "(cached) " >&6
70590 else
70593 ac_ext=cpp
70594 ac_cpp='$CXXCPP $CPPFLAGS'
70595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70600 /* end confdefs.h. */
70601 #include <math.h>
70602 #ifdef HAVE_IEEEFP_H
70603 #include <ieeefp.h>
70604 #endif
70607 main ()
70609 _expl(0);
70611 return 0;
70613 _ACEOF
70614 if ac_fn_cxx_try_compile "$LINENO"; then :
70615 glibcxx_cv_func__expl_use=yes
70616 else
70617 glibcxx_cv_func__expl_use=no
70619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70620 ac_ext=c
70621 ac_cpp='$CPP $CPPFLAGS'
70622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70631 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70633 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70634 for ac_func in _expl
70635 do :
70636 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70637 if test "x$ac_cv_func__expl" = x""yes; then :
70638 cat >>confdefs.h <<_ACEOF
70639 #define HAVE__EXPL 1
70640 _ACEOF
70643 done
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70653 $as_echo_n "checking for fabsl declaration... " >&6; }
70654 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70655 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70656 $as_echo_n "(cached) " >&6
70657 else
70660 ac_ext=cpp
70661 ac_cpp='$CXXCPP $CPPFLAGS'
70662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70667 /* end confdefs.h. */
70668 #include <math.h>
70669 #ifdef HAVE_IEEEFP_H
70670 #include <ieeefp.h>
70671 #endif
70674 main ()
70676 fabsl(0);
70678 return 0;
70680 _ACEOF
70681 if ac_fn_cxx_try_compile "$LINENO"; then :
70682 glibcxx_cv_func_fabsl_use=yes
70683 else
70684 glibcxx_cv_func_fabsl_use=no
70686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70687 ac_ext=c
70688 ac_cpp='$CPP $CPPFLAGS'
70689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70698 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70700 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70701 for ac_func in fabsl
70702 do :
70703 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70704 if test "x$ac_cv_func_fabsl" = x""yes; then :
70705 cat >>confdefs.h <<_ACEOF
70706 #define HAVE_FABSL 1
70707 _ACEOF
70710 done
70712 else
70714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70715 $as_echo_n "checking for _fabsl declaration... " >&6; }
70716 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70717 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70718 $as_echo_n "(cached) " >&6
70719 else
70722 ac_ext=cpp
70723 ac_cpp='$CXXCPP $CPPFLAGS'
70724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70729 /* end confdefs.h. */
70730 #include <math.h>
70731 #ifdef HAVE_IEEEFP_H
70732 #include <ieeefp.h>
70733 #endif
70736 main ()
70738 _fabsl(0);
70740 return 0;
70742 _ACEOF
70743 if ac_fn_cxx_try_compile "$LINENO"; then :
70744 glibcxx_cv_func__fabsl_use=yes
70745 else
70746 glibcxx_cv_func__fabsl_use=no
70748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70749 ac_ext=c
70750 ac_cpp='$CPP $CPPFLAGS'
70751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70760 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70762 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70763 for ac_func in _fabsl
70764 do :
70765 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70766 if test "x$ac_cv_func__fabsl" = x""yes; then :
70767 cat >>confdefs.h <<_ACEOF
70768 #define HAVE__FABSL 1
70769 _ACEOF
70772 done
70781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70782 $as_echo_n "checking for fmodl declaration... " >&6; }
70783 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70784 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70785 $as_echo_n "(cached) " >&6
70786 else
70789 ac_ext=cpp
70790 ac_cpp='$CXXCPP $CPPFLAGS'
70791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70796 /* end confdefs.h. */
70797 #include <math.h>
70799 main ()
70801 fmodl(0, 0);
70803 return 0;
70805 _ACEOF
70806 if ac_fn_cxx_try_compile "$LINENO"; then :
70807 glibcxx_cv_func_fmodl_use=yes
70808 else
70809 glibcxx_cv_func_fmodl_use=no
70811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70812 ac_ext=c
70813 ac_cpp='$CPP $CPPFLAGS'
70814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70823 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70825 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70826 for ac_func in fmodl
70827 do :
70828 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70829 if test "x$ac_cv_func_fmodl" = x""yes; then :
70830 cat >>confdefs.h <<_ACEOF
70831 #define HAVE_FMODL 1
70832 _ACEOF
70835 done
70837 else
70839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70840 $as_echo_n "checking for _fmodl declaration... " >&6; }
70841 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70842 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70843 $as_echo_n "(cached) " >&6
70844 else
70847 ac_ext=cpp
70848 ac_cpp='$CXXCPP $CPPFLAGS'
70849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70854 /* end confdefs.h. */
70855 #include <math.h>
70857 main ()
70859 _fmodl(0, 0);
70861 return 0;
70863 _ACEOF
70864 if ac_fn_cxx_try_compile "$LINENO"; then :
70865 glibcxx_cv_func__fmodl_use=yes
70866 else
70867 glibcxx_cv_func__fmodl_use=no
70869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70870 ac_ext=c
70871 ac_cpp='$CPP $CPPFLAGS'
70872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70881 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70883 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70884 for ac_func in _fmodl
70885 do :
70886 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70887 if test "x$ac_cv_func__fmodl" = x""yes; then :
70888 cat >>confdefs.h <<_ACEOF
70889 #define HAVE__FMODL 1
70890 _ACEOF
70893 done
70902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70903 $as_echo_n "checking for frexpl declaration... " >&6; }
70904 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70905 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70906 $as_echo_n "(cached) " >&6
70907 else
70910 ac_ext=cpp
70911 ac_cpp='$CXXCPP $CPPFLAGS'
70912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70917 /* end confdefs.h. */
70918 #include <math.h>
70920 main ()
70922 frexpl(0, 0);
70924 return 0;
70926 _ACEOF
70927 if ac_fn_cxx_try_compile "$LINENO"; then :
70928 glibcxx_cv_func_frexpl_use=yes
70929 else
70930 glibcxx_cv_func_frexpl_use=no
70932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70933 ac_ext=c
70934 ac_cpp='$CPP $CPPFLAGS'
70935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70944 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70946 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70947 for ac_func in frexpl
70948 do :
70949 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70950 if test "x$ac_cv_func_frexpl" = x""yes; then :
70951 cat >>confdefs.h <<_ACEOF
70952 #define HAVE_FREXPL 1
70953 _ACEOF
70956 done
70958 else
70960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70961 $as_echo_n "checking for _frexpl declaration... " >&6; }
70962 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70963 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70964 $as_echo_n "(cached) " >&6
70965 else
70968 ac_ext=cpp
70969 ac_cpp='$CXXCPP $CPPFLAGS'
70970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70975 /* end confdefs.h. */
70976 #include <math.h>
70978 main ()
70980 _frexpl(0, 0);
70982 return 0;
70984 _ACEOF
70985 if ac_fn_cxx_try_compile "$LINENO"; then :
70986 glibcxx_cv_func__frexpl_use=yes
70987 else
70988 glibcxx_cv_func__frexpl_use=no
70990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70991 ac_ext=c
70992 ac_cpp='$CPP $CPPFLAGS'
70993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71002 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71004 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71005 for ac_func in _frexpl
71006 do :
71007 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71008 if test "x$ac_cv_func__frexpl" = x""yes; then :
71009 cat >>confdefs.h <<_ACEOF
71010 #define HAVE__FREXPL 1
71011 _ACEOF
71014 done
71023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71024 $as_echo_n "checking for hypotl declaration... " >&6; }
71025 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71026 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
71027 $as_echo_n "(cached) " >&6
71028 else
71031 ac_ext=cpp
71032 ac_cpp='$CXXCPP $CPPFLAGS'
71033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71038 /* end confdefs.h. */
71039 #include <math.h>
71041 main ()
71043 hypotl(0, 0);
71045 return 0;
71047 _ACEOF
71048 if ac_fn_cxx_try_compile "$LINENO"; then :
71049 glibcxx_cv_func_hypotl_use=yes
71050 else
71051 glibcxx_cv_func_hypotl_use=no
71053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71054 ac_ext=c
71055 ac_cpp='$CPP $CPPFLAGS'
71056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71065 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71067 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71068 for ac_func in hypotl
71069 do :
71070 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71071 if test "x$ac_cv_func_hypotl" = x""yes; then :
71072 cat >>confdefs.h <<_ACEOF
71073 #define HAVE_HYPOTL 1
71074 _ACEOF
71077 done
71079 else
71081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71082 $as_echo_n "checking for _hypotl declaration... " >&6; }
71083 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71084 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
71085 $as_echo_n "(cached) " >&6
71086 else
71089 ac_ext=cpp
71090 ac_cpp='$CXXCPP $CPPFLAGS'
71091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71096 /* end confdefs.h. */
71097 #include <math.h>
71099 main ()
71101 _hypotl(0, 0);
71103 return 0;
71105 _ACEOF
71106 if ac_fn_cxx_try_compile "$LINENO"; then :
71107 glibcxx_cv_func__hypotl_use=yes
71108 else
71109 glibcxx_cv_func__hypotl_use=no
71111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71112 ac_ext=c
71113 ac_cpp='$CPP $CPPFLAGS'
71114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71123 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71125 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71126 for ac_func in _hypotl
71127 do :
71128 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71129 if test "x$ac_cv_func__hypotl" = x""yes; then :
71130 cat >>confdefs.h <<_ACEOF
71131 #define HAVE__HYPOTL 1
71132 _ACEOF
71135 done
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71145 $as_echo_n "checking for ldexpl declaration... " >&6; }
71146 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71147 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
71148 $as_echo_n "(cached) " >&6
71149 else
71152 ac_ext=cpp
71153 ac_cpp='$CXXCPP $CPPFLAGS'
71154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71159 /* end confdefs.h. */
71160 #include <math.h>
71162 main ()
71164 ldexpl(0, 0);
71166 return 0;
71168 _ACEOF
71169 if ac_fn_cxx_try_compile "$LINENO"; then :
71170 glibcxx_cv_func_ldexpl_use=yes
71171 else
71172 glibcxx_cv_func_ldexpl_use=no
71174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71175 ac_ext=c
71176 ac_cpp='$CPP $CPPFLAGS'
71177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71186 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71188 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71189 for ac_func in ldexpl
71190 do :
71191 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71192 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71193 cat >>confdefs.h <<_ACEOF
71194 #define HAVE_LDEXPL 1
71195 _ACEOF
71198 done
71200 else
71202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71203 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71204 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71205 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71206 $as_echo_n "(cached) " >&6
71207 else
71210 ac_ext=cpp
71211 ac_cpp='$CXXCPP $CPPFLAGS'
71212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71217 /* end confdefs.h. */
71218 #include <math.h>
71220 main ()
71222 _ldexpl(0, 0);
71224 return 0;
71226 _ACEOF
71227 if ac_fn_cxx_try_compile "$LINENO"; then :
71228 glibcxx_cv_func__ldexpl_use=yes
71229 else
71230 glibcxx_cv_func__ldexpl_use=no
71232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71233 ac_ext=c
71234 ac_cpp='$CPP $CPPFLAGS'
71235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71244 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71246 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71247 for ac_func in _ldexpl
71248 do :
71249 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71250 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71251 cat >>confdefs.h <<_ACEOF
71252 #define HAVE__LDEXPL 1
71253 _ACEOF
71256 done
71265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71266 $as_echo_n "checking for logl declaration... " >&6; }
71267 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71268 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71269 $as_echo_n "(cached) " >&6
71270 else
71273 ac_ext=cpp
71274 ac_cpp='$CXXCPP $CPPFLAGS'
71275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71280 /* end confdefs.h. */
71281 #include <math.h>
71282 #ifdef HAVE_IEEEFP_H
71283 #include <ieeefp.h>
71284 #endif
71287 main ()
71289 logl(0);
71291 return 0;
71293 _ACEOF
71294 if ac_fn_cxx_try_compile "$LINENO"; then :
71295 glibcxx_cv_func_logl_use=yes
71296 else
71297 glibcxx_cv_func_logl_use=no
71299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71300 ac_ext=c
71301 ac_cpp='$CPP $CPPFLAGS'
71302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71311 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71313 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71314 for ac_func in logl
71315 do :
71316 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71317 if test "x$ac_cv_func_logl" = x""yes; then :
71318 cat >>confdefs.h <<_ACEOF
71319 #define HAVE_LOGL 1
71320 _ACEOF
71323 done
71325 else
71327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71328 $as_echo_n "checking for _logl declaration... " >&6; }
71329 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71330 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71331 $as_echo_n "(cached) " >&6
71332 else
71335 ac_ext=cpp
71336 ac_cpp='$CXXCPP $CPPFLAGS'
71337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71342 /* end confdefs.h. */
71343 #include <math.h>
71344 #ifdef HAVE_IEEEFP_H
71345 #include <ieeefp.h>
71346 #endif
71349 main ()
71351 _logl(0);
71353 return 0;
71355 _ACEOF
71356 if ac_fn_cxx_try_compile "$LINENO"; then :
71357 glibcxx_cv_func__logl_use=yes
71358 else
71359 glibcxx_cv_func__logl_use=no
71361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71362 ac_ext=c
71363 ac_cpp='$CPP $CPPFLAGS'
71364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71373 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71375 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71376 for ac_func in _logl
71377 do :
71378 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71379 if test "x$ac_cv_func__logl" = x""yes; then :
71380 cat >>confdefs.h <<_ACEOF
71381 #define HAVE__LOGL 1
71382 _ACEOF
71385 done
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71395 $as_echo_n "checking for log10l declaration... " >&6; }
71396 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71397 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71398 $as_echo_n "(cached) " >&6
71399 else
71402 ac_ext=cpp
71403 ac_cpp='$CXXCPP $CPPFLAGS'
71404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71409 /* end confdefs.h. */
71410 #include <math.h>
71411 #ifdef HAVE_IEEEFP_H
71412 #include <ieeefp.h>
71413 #endif
71416 main ()
71418 log10l(0);
71420 return 0;
71422 _ACEOF
71423 if ac_fn_cxx_try_compile "$LINENO"; then :
71424 glibcxx_cv_func_log10l_use=yes
71425 else
71426 glibcxx_cv_func_log10l_use=no
71428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71429 ac_ext=c
71430 ac_cpp='$CPP $CPPFLAGS'
71431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71440 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71442 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71443 for ac_func in log10l
71444 do :
71445 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71446 if test "x$ac_cv_func_log10l" = x""yes; then :
71447 cat >>confdefs.h <<_ACEOF
71448 #define HAVE_LOG10L 1
71449 _ACEOF
71452 done
71454 else
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71457 $as_echo_n "checking for _log10l declaration... " >&6; }
71458 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71459 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71460 $as_echo_n "(cached) " >&6
71461 else
71464 ac_ext=cpp
71465 ac_cpp='$CXXCPP $CPPFLAGS'
71466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71471 /* end confdefs.h. */
71472 #include <math.h>
71473 #ifdef HAVE_IEEEFP_H
71474 #include <ieeefp.h>
71475 #endif
71478 main ()
71480 _log10l(0);
71482 return 0;
71484 _ACEOF
71485 if ac_fn_cxx_try_compile "$LINENO"; then :
71486 glibcxx_cv_func__log10l_use=yes
71487 else
71488 glibcxx_cv_func__log10l_use=no
71490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71491 ac_ext=c
71492 ac_cpp='$CPP $CPPFLAGS'
71493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71502 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71504 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71505 for ac_func in _log10l
71506 do :
71507 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71508 if test "x$ac_cv_func__log10l" = x""yes; then :
71509 cat >>confdefs.h <<_ACEOF
71510 #define HAVE__LOG10L 1
71511 _ACEOF
71514 done
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71524 $as_echo_n "checking for modfl declaration... " >&6; }
71525 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71526 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71527 $as_echo_n "(cached) " >&6
71528 else
71531 ac_ext=cpp
71532 ac_cpp='$CXXCPP $CPPFLAGS'
71533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71538 /* end confdefs.h. */
71539 #include <math.h>
71541 main ()
71543 modfl(0, 0);
71545 return 0;
71547 _ACEOF
71548 if ac_fn_cxx_try_compile "$LINENO"; then :
71549 glibcxx_cv_func_modfl_use=yes
71550 else
71551 glibcxx_cv_func_modfl_use=no
71553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71554 ac_ext=c
71555 ac_cpp='$CPP $CPPFLAGS'
71556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71565 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71567 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71568 for ac_func in modfl
71569 do :
71570 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71571 if test "x$ac_cv_func_modfl" = x""yes; then :
71572 cat >>confdefs.h <<_ACEOF
71573 #define HAVE_MODFL 1
71574 _ACEOF
71577 done
71579 else
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71582 $as_echo_n "checking for _modfl declaration... " >&6; }
71583 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71584 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71585 $as_echo_n "(cached) " >&6
71586 else
71589 ac_ext=cpp
71590 ac_cpp='$CXXCPP $CPPFLAGS'
71591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71596 /* end confdefs.h. */
71597 #include <math.h>
71599 main ()
71601 _modfl(0, 0);
71603 return 0;
71605 _ACEOF
71606 if ac_fn_cxx_try_compile "$LINENO"; then :
71607 glibcxx_cv_func__modfl_use=yes
71608 else
71609 glibcxx_cv_func__modfl_use=no
71611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71612 ac_ext=c
71613 ac_cpp='$CPP $CPPFLAGS'
71614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71623 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71625 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71626 for ac_func in _modfl
71627 do :
71628 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71629 if test "x$ac_cv_func__modfl" = x""yes; then :
71630 cat >>confdefs.h <<_ACEOF
71631 #define HAVE__MODFL 1
71632 _ACEOF
71635 done
71644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71645 $as_echo_n "checking for powl declaration... " >&6; }
71646 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71647 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71648 $as_echo_n "(cached) " >&6
71649 else
71652 ac_ext=cpp
71653 ac_cpp='$CXXCPP $CPPFLAGS'
71654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71659 /* end confdefs.h. */
71660 #include <math.h>
71662 main ()
71664 powl(0, 0);
71666 return 0;
71668 _ACEOF
71669 if ac_fn_cxx_try_compile "$LINENO"; then :
71670 glibcxx_cv_func_powl_use=yes
71671 else
71672 glibcxx_cv_func_powl_use=no
71674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71675 ac_ext=c
71676 ac_cpp='$CPP $CPPFLAGS'
71677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71686 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71688 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71689 for ac_func in powl
71690 do :
71691 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71692 if test "x$ac_cv_func_powl" = x""yes; then :
71693 cat >>confdefs.h <<_ACEOF
71694 #define HAVE_POWL 1
71695 _ACEOF
71698 done
71700 else
71702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71703 $as_echo_n "checking for _powl declaration... " >&6; }
71704 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71705 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71706 $as_echo_n "(cached) " >&6
71707 else
71710 ac_ext=cpp
71711 ac_cpp='$CXXCPP $CPPFLAGS'
71712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71717 /* end confdefs.h. */
71718 #include <math.h>
71720 main ()
71722 _powl(0, 0);
71724 return 0;
71726 _ACEOF
71727 if ac_fn_cxx_try_compile "$LINENO"; then :
71728 glibcxx_cv_func__powl_use=yes
71729 else
71730 glibcxx_cv_func__powl_use=no
71732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71733 ac_ext=c
71734 ac_cpp='$CPP $CPPFLAGS'
71735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71744 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71746 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71747 for ac_func in _powl
71748 do :
71749 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71750 if test "x$ac_cv_func__powl" = x""yes; then :
71751 cat >>confdefs.h <<_ACEOF
71752 #define HAVE__POWL 1
71753 _ACEOF
71756 done
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71766 $as_echo_n "checking for sqrtl declaration... " >&6; }
71767 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71768 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71769 $as_echo_n "(cached) " >&6
71770 else
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71782 #ifdef HAVE_IEEEFP_H
71783 #include <ieeefp.h>
71784 #endif
71787 main ()
71789 sqrtl(0);
71791 return 0;
71793 _ACEOF
71794 if ac_fn_cxx_try_compile "$LINENO"; then :
71795 glibcxx_cv_func_sqrtl_use=yes
71796 else
71797 glibcxx_cv_func_sqrtl_use=no
71799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71800 ac_ext=c
71801 ac_cpp='$CPP $CPPFLAGS'
71802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71811 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71813 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71814 for ac_func in sqrtl
71815 do :
71816 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71817 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71818 cat >>confdefs.h <<_ACEOF
71819 #define HAVE_SQRTL 1
71820 _ACEOF
71823 done
71825 else
71827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71828 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71829 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71830 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71831 $as_echo_n "(cached) " >&6
71832 else
71835 ac_ext=cpp
71836 ac_cpp='$CXXCPP $CPPFLAGS'
71837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71842 /* end confdefs.h. */
71843 #include <math.h>
71844 #ifdef HAVE_IEEEFP_H
71845 #include <ieeefp.h>
71846 #endif
71849 main ()
71851 _sqrtl(0);
71853 return 0;
71855 _ACEOF
71856 if ac_fn_cxx_try_compile "$LINENO"; then :
71857 glibcxx_cv_func__sqrtl_use=yes
71858 else
71859 glibcxx_cv_func__sqrtl_use=no
71861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71862 ac_ext=c
71863 ac_cpp='$CPP $CPPFLAGS'
71864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71873 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71875 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71876 for ac_func in _sqrtl
71877 do :
71878 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71879 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71880 cat >>confdefs.h <<_ACEOF
71881 #define HAVE__SQRTL 1
71882 _ACEOF
71885 done
71894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71895 $as_echo_n "checking for sincosl declaration... " >&6; }
71896 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71897 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71898 $as_echo_n "(cached) " >&6
71899 else
71902 ac_ext=cpp
71903 ac_cpp='$CXXCPP $CPPFLAGS'
71904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71909 /* end confdefs.h. */
71910 #include <math.h>
71912 main ()
71914 sincosl(0, 0, 0);
71916 return 0;
71918 _ACEOF
71919 if ac_fn_cxx_try_compile "$LINENO"; then :
71920 glibcxx_cv_func_sincosl_use=yes
71921 else
71922 glibcxx_cv_func_sincosl_use=no
71924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71925 ac_ext=c
71926 ac_cpp='$CPP $CPPFLAGS'
71927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71936 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71938 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71939 for ac_func in sincosl
71940 do :
71941 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71942 if test "x$ac_cv_func_sincosl" = x""yes; then :
71943 cat >>confdefs.h <<_ACEOF
71944 #define HAVE_SINCOSL 1
71945 _ACEOF
71948 done
71950 else
71952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71953 $as_echo_n "checking for _sincosl declaration... " >&6; }
71954 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71955 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71956 $as_echo_n "(cached) " >&6
71957 else
71960 ac_ext=cpp
71961 ac_cpp='$CXXCPP $CPPFLAGS'
71962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71967 /* end confdefs.h. */
71968 #include <math.h>
71970 main ()
71972 _sincosl(0, 0, 0);
71974 return 0;
71976 _ACEOF
71977 if ac_fn_cxx_try_compile "$LINENO"; then :
71978 glibcxx_cv_func__sincosl_use=yes
71979 else
71980 glibcxx_cv_func__sincosl_use=no
71982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71983 ac_ext=c
71984 ac_cpp='$CPP $CPPFLAGS'
71985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71994 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71996 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71997 for ac_func in _sincosl
71998 do :
71999 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72000 if test "x$ac_cv_func__sincosl" = x""yes; then :
72001 cat >>confdefs.h <<_ACEOF
72002 #define HAVE__SINCOSL 1
72003 _ACEOF
72006 done
72015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72016 $as_echo_n "checking for finitel declaration... " >&6; }
72017 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72018 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
72019 $as_echo_n "(cached) " >&6
72020 else
72023 ac_ext=cpp
72024 ac_cpp='$CXXCPP $CPPFLAGS'
72025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72030 /* end confdefs.h. */
72031 #include <math.h>
72032 #ifdef HAVE_IEEEFP_H
72033 #include <ieeefp.h>
72034 #endif
72037 main ()
72039 finitel(0);
72041 return 0;
72043 _ACEOF
72044 if ac_fn_cxx_try_compile "$LINENO"; then :
72045 glibcxx_cv_func_finitel_use=yes
72046 else
72047 glibcxx_cv_func_finitel_use=no
72049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72050 ac_ext=c
72051 ac_cpp='$CPP $CPPFLAGS'
72052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72061 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72063 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72064 for ac_func in finitel
72065 do :
72066 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72067 if test "x$ac_cv_func_finitel" = x""yes; then :
72068 cat >>confdefs.h <<_ACEOF
72069 #define HAVE_FINITEL 1
72070 _ACEOF
72073 done
72075 else
72077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72078 $as_echo_n "checking for _finitel declaration... " >&6; }
72079 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72080 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
72081 $as_echo_n "(cached) " >&6
72082 else
72085 ac_ext=cpp
72086 ac_cpp='$CXXCPP $CPPFLAGS'
72087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72092 /* end confdefs.h. */
72093 #include <math.h>
72094 #ifdef HAVE_IEEEFP_H
72095 #include <ieeefp.h>
72096 #endif
72099 main ()
72101 _finitel(0);
72103 return 0;
72105 _ACEOF
72106 if ac_fn_cxx_try_compile "$LINENO"; then :
72107 glibcxx_cv_func__finitel_use=yes
72108 else
72109 glibcxx_cv_func__finitel_use=no
72111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72112 ac_ext=c
72113 ac_cpp='$CPP $CPPFLAGS'
72114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72123 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72125 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72126 for ac_func in _finitel
72127 do :
72128 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72129 if test "x$ac_cv_func__finitel" = x""yes; then :
72130 cat >>confdefs.h <<_ACEOF
72131 #define HAVE__FINITEL 1
72132 _ACEOF
72135 done
72143 LIBS="$ac_save_LIBS"
72144 CXXFLAGS="$ac_save_CXXFLAGS"
72147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72148 ac_save_CXXFLAGS="$CXXFLAGS"
72149 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72153 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72154 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72155 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
72156 $as_echo_n "(cached) " >&6
72157 else
72160 ac_ext=cpp
72161 ac_cpp='$CXXCPP $CPPFLAGS'
72162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72167 /* end confdefs.h. */
72168 #include <stdlib.h>
72170 main ()
72172 at_quick_exit(0);
72174 return 0;
72176 _ACEOF
72177 if ac_fn_cxx_try_compile "$LINENO"; then :
72178 glibcxx_cv_func_at_quick_exit_use=yes
72179 else
72180 glibcxx_cv_func_at_quick_exit_use=no
72182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72183 ac_ext=c
72184 ac_cpp='$CPP $CPPFLAGS'
72185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72194 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72195 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72196 for ac_func in at_quick_exit
72197 do :
72198 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72199 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72200 cat >>confdefs.h <<_ACEOF
72201 #define HAVE_AT_QUICK_EXIT 1
72202 _ACEOF
72205 done
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72211 $as_echo_n "checking for quick_exit declaration... " >&6; }
72212 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72213 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72218 ac_ext=cpp
72219 ac_cpp='$CXXCPP $CPPFLAGS'
72220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72225 /* end confdefs.h. */
72226 #include <stdlib.h>
72228 main ()
72230 quick_exit(0);
72232 return 0;
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_func_quick_exit_use=yes
72237 else
72238 glibcxx_cv_func_quick_exit_use=no
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72252 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72253 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72254 for ac_func in quick_exit
72255 do :
72256 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72257 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72258 cat >>confdefs.h <<_ACEOF
72259 #define HAVE_QUICK_EXIT 1
72260 _ACEOF
72263 done
72268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72269 $as_echo_n "checking for strtold declaration... " >&6; }
72270 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72271 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72272 $as_echo_n "(cached) " >&6
72273 else
72276 ac_ext=cpp
72277 ac_cpp='$CXXCPP $CPPFLAGS'
72278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72283 /* end confdefs.h. */
72284 #include <stdlib.h>
72286 main ()
72288 strtold(0, 0);
72290 return 0;
72292 _ACEOF
72293 if ac_fn_cxx_try_compile "$LINENO"; then :
72294 glibcxx_cv_func_strtold_use=yes
72295 else
72296 glibcxx_cv_func_strtold_use=no
72298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72299 ac_ext=c
72300 ac_cpp='$CPP $CPPFLAGS'
72301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72310 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72311 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72312 for ac_func in strtold
72313 do :
72314 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72315 if test "x$ac_cv_func_strtold" = x""yes; then :
72316 cat >>confdefs.h <<_ACEOF
72317 #define HAVE_STRTOLD 1
72318 _ACEOF
72321 done
72328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72329 $as_echo_n "checking for strtof declaration... " >&6; }
72330 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72331 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72332 $as_echo_n "(cached) " >&6
72333 else
72336 ac_ext=cpp
72337 ac_cpp='$CXXCPP $CPPFLAGS'
72338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72343 /* end confdefs.h. */
72344 #include <stdlib.h>
72346 main ()
72348 strtof(0, 0);
72350 return 0;
72352 _ACEOF
72353 if ac_fn_cxx_try_compile "$LINENO"; then :
72354 glibcxx_cv_func_strtof_use=yes
72355 else
72356 glibcxx_cv_func_strtof_use=no
72358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72359 ac_ext=c
72360 ac_cpp='$CPP $CPPFLAGS'
72361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72370 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72371 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72372 for ac_func in strtof
72373 do :
72374 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72375 if test "x$ac_cv_func_strtof" = x""yes; then :
72376 cat >>confdefs.h <<_ACEOF
72377 #define HAVE_STRTOF 1
72378 _ACEOF
72381 done
72388 CXXFLAGS="$ac_save_CXXFLAGS"
72391 *-solaris*)
72393 # If we're not using GNU ld, then there's no point in even trying these
72394 # tests. Check for that first. We should have already tested for gld
72395 # by now (in libtool), but require it now just to be safe...
72396 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72397 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72401 # The name set by libtool depends on the version of libtool. Shame on us
72402 # for depending on an impl detail, but c'est la vie. Older versions used
72403 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72404 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72405 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72406 # set (hence we're using an older libtool), then set it.
72407 if test x${with_gnu_ld+set} != xset; then
72408 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72409 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72410 with_gnu_ld=no
72411 else
72412 with_gnu_ld=$ac_cv_prog_gnu_ld
72416 # Start by getting the version number. I think the libtool test already
72417 # does some of this, but throws away the result.
72418 glibcxx_ld_is_gold=no
72419 if test x"$with_gnu_ld" = x"yes"; then
72420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72421 $as_echo_n "checking for ld version... " >&6; }
72423 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72424 glibcxx_ld_is_gold=yes
72426 ldver=`$LD --version 2>/dev/null |
72427 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
72429 glibcxx_gnu_ld_version=`echo $ldver | \
72430 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72432 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72435 # Set --gc-sections.
72436 glibcxx_have_gc_sections=no
72437 if test "$glibcxx_ld_is_gold" = "yes"; then
72438 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72439 glibcxx_have_gc_sections=yes
72441 else
72442 glibcxx_gcsections_min_ld=21602
72443 if test x"$with_gnu_ld" = x"yes" &&
72444 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72445 glibcxx_have_gc_sections=yes
72448 if test "$glibcxx_have_gc_sections" = "yes"; then
72449 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72450 # NB: This flag only works reliably after 2.16.1. Configure tests
72451 # for this are difficult, so hard wire a value that should work.
72453 ac_test_CFLAGS="${CFLAGS+set}"
72454 ac_save_CFLAGS="$CFLAGS"
72455 CFLAGS='-Wl,--gc-sections'
72457 # Check for -Wl,--gc-sections
72458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72459 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72460 if test x$gcc_no_link = xyes; then
72461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72464 /* end confdefs.h. */
72465 int one(void) { return 1; }
72466 int two(void) { return 2; }
72469 main ()
72471 two();
72473 return 0;
72475 _ACEOF
72476 if ac_fn_c_try_link "$LINENO"; then :
72477 ac_gcsections=yes
72478 else
72479 ac_gcsections=no
72481 rm -f core conftest.err conftest.$ac_objext \
72482 conftest$ac_exeext conftest.$ac_ext
72483 if test "$ac_gcsections" = "yes"; then
72484 rm -f conftest.c
72485 touch conftest.c
72486 if $CC -c conftest.c; then
72487 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72488 grep "Warning: gc-sections option ignored" > /dev/null; then
72489 ac_gcsections=no
72492 rm -f conftest.c conftest.o conftest
72494 if test "$ac_gcsections" = "yes"; then
72495 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72498 $as_echo "$ac_gcsections" >&6; }
72500 if test "$ac_test_CFLAGS" = set; then
72501 CFLAGS="$ac_save_CFLAGS"
72502 else
72503 # this is the suspicious part
72504 CFLAGS=''
72508 # Set -z,relro.
72509 # Note this is only for shared objects.
72510 ac_ld_relro=no
72511 if test x"$with_gnu_ld" = x"yes"; then
72512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72513 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72514 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72515 if test -n "$cxx_z_relo"; then
72516 OPT_LDFLAGS="-Wl,-z,relro"
72517 ac_ld_relro=yes
72519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72520 $as_echo "$ac_ld_relro" >&6; }
72523 # Set linker optimization flags.
72524 if test x"$with_gnu_ld" = x"yes"; then
72525 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72531 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72533 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72535 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72537 # All of the dependencies for wide character support are here, so
72538 # turn it on.
72539 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72541 # These two C99 functions are present only in Solaris >= 10
72542 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72544 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72546 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72548 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72550 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72552 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72555 *-tpf)
72556 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72557 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72559 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72561 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72563 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72565 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72567 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72569 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72571 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72573 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72575 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72577 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72579 if test x"long_double_math_on_this_cpu" = x"yes"; then
72580 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72582 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72584 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72586 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72590 *-*vms*)
72591 # Check for available headers.
72592 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72594 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72595 ac_save_CXXFLAGS="$CXXFLAGS"
72596 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72599 $as_echo_n "checking for sin in -lm... " >&6; }
72600 if test "${ac_cv_lib_m_sin+set}" = set; then :
72601 $as_echo_n "(cached) " >&6
72602 else
72603 ac_check_lib_save_LIBS=$LIBS
72604 LIBS="-lm $LIBS"
72605 if test x$gcc_no_link = xyes; then
72606 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72609 /* end confdefs.h. */
72611 /* Override any GCC internal prototype to avoid an error.
72612 Use char because int might match the return type of a GCC
72613 builtin and then its argument prototype would still apply. */
72614 #ifdef __cplusplus
72615 extern "C"
72616 #endif
72617 char sin ();
72619 main ()
72621 return sin ();
72623 return 0;
72625 _ACEOF
72626 if ac_fn_c_try_link "$LINENO"; then :
72627 ac_cv_lib_m_sin=yes
72628 else
72629 ac_cv_lib_m_sin=no
72631 rm -f core conftest.err conftest.$ac_objext \
72632 conftest$ac_exeext conftest.$ac_ext
72633 LIBS=$ac_check_lib_save_LIBS
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72636 $as_echo "$ac_cv_lib_m_sin" >&6; }
72637 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72638 libm="-lm"
72641 ac_save_LIBS="$LIBS"
72642 LIBS="$LIBS $libm"
72646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72647 $as_echo_n "checking for isinf declaration... " >&6; }
72648 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72649 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72650 $as_echo_n "(cached) " >&6
72651 else
72654 ac_ext=cpp
72655 ac_cpp='$CXXCPP $CPPFLAGS'
72656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72661 /* end confdefs.h. */
72662 #include <math.h>
72663 #ifdef HAVE_IEEEFP_H
72664 #include <ieeefp.h>
72665 #endif
72668 main ()
72670 isinf(0);
72672 return 0;
72674 _ACEOF
72675 if ac_fn_cxx_try_compile "$LINENO"; then :
72676 glibcxx_cv_func_isinf_use=yes
72677 else
72678 glibcxx_cv_func_isinf_use=no
72680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72681 ac_ext=c
72682 ac_cpp='$CPP $CPPFLAGS'
72683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72692 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72694 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72695 for ac_func in isinf
72696 do :
72697 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72698 if test "x$ac_cv_func_isinf" = x""yes; then :
72699 cat >>confdefs.h <<_ACEOF
72700 #define HAVE_ISINF 1
72701 _ACEOF
72704 done
72706 else
72708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72709 $as_echo_n "checking for _isinf declaration... " >&6; }
72710 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72711 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72712 $as_echo_n "(cached) " >&6
72713 else
72716 ac_ext=cpp
72717 ac_cpp='$CXXCPP $CPPFLAGS'
72718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72723 /* end confdefs.h. */
72724 #include <math.h>
72725 #ifdef HAVE_IEEEFP_H
72726 #include <ieeefp.h>
72727 #endif
72730 main ()
72732 _isinf(0);
72734 return 0;
72736 _ACEOF
72737 if ac_fn_cxx_try_compile "$LINENO"; then :
72738 glibcxx_cv_func__isinf_use=yes
72739 else
72740 glibcxx_cv_func__isinf_use=no
72742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72743 ac_ext=c
72744 ac_cpp='$CPP $CPPFLAGS'
72745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72754 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72756 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72757 for ac_func in _isinf
72758 do :
72759 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72760 if test "x$ac_cv_func__isinf" = x""yes; then :
72761 cat >>confdefs.h <<_ACEOF
72762 #define HAVE__ISINF 1
72763 _ACEOF
72766 done
72775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72776 $as_echo_n "checking for isnan declaration... " >&6; }
72777 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72778 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72779 $as_echo_n "(cached) " >&6
72780 else
72783 ac_ext=cpp
72784 ac_cpp='$CXXCPP $CPPFLAGS'
72785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72790 /* end confdefs.h. */
72791 #include <math.h>
72792 #ifdef HAVE_IEEEFP_H
72793 #include <ieeefp.h>
72794 #endif
72797 main ()
72799 isnan(0);
72801 return 0;
72803 _ACEOF
72804 if ac_fn_cxx_try_compile "$LINENO"; then :
72805 glibcxx_cv_func_isnan_use=yes
72806 else
72807 glibcxx_cv_func_isnan_use=no
72809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72810 ac_ext=c
72811 ac_cpp='$CPP $CPPFLAGS'
72812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72821 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72823 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72824 for ac_func in isnan
72825 do :
72826 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72827 if test "x$ac_cv_func_isnan" = x""yes; then :
72828 cat >>confdefs.h <<_ACEOF
72829 #define HAVE_ISNAN 1
72830 _ACEOF
72833 done
72835 else
72837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72838 $as_echo_n "checking for _isnan declaration... " >&6; }
72839 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72840 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72841 $as_echo_n "(cached) " >&6
72842 else
72845 ac_ext=cpp
72846 ac_cpp='$CXXCPP $CPPFLAGS'
72847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72852 /* end confdefs.h. */
72853 #include <math.h>
72854 #ifdef HAVE_IEEEFP_H
72855 #include <ieeefp.h>
72856 #endif
72859 main ()
72861 _isnan(0);
72863 return 0;
72865 _ACEOF
72866 if ac_fn_cxx_try_compile "$LINENO"; then :
72867 glibcxx_cv_func__isnan_use=yes
72868 else
72869 glibcxx_cv_func__isnan_use=no
72871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72872 ac_ext=c
72873 ac_cpp='$CPP $CPPFLAGS'
72874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72883 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72885 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72886 for ac_func in _isnan
72887 do :
72888 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72889 if test "x$ac_cv_func__isnan" = x""yes; then :
72890 cat >>confdefs.h <<_ACEOF
72891 #define HAVE__ISNAN 1
72892 _ACEOF
72895 done
72904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72905 $as_echo_n "checking for finite declaration... " >&6; }
72906 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72907 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72908 $as_echo_n "(cached) " >&6
72909 else
72912 ac_ext=cpp
72913 ac_cpp='$CXXCPP $CPPFLAGS'
72914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72919 /* end confdefs.h. */
72920 #include <math.h>
72921 #ifdef HAVE_IEEEFP_H
72922 #include <ieeefp.h>
72923 #endif
72926 main ()
72928 finite(0);
72930 return 0;
72932 _ACEOF
72933 if ac_fn_cxx_try_compile "$LINENO"; then :
72934 glibcxx_cv_func_finite_use=yes
72935 else
72936 glibcxx_cv_func_finite_use=no
72938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72939 ac_ext=c
72940 ac_cpp='$CPP $CPPFLAGS'
72941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72950 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72952 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72953 for ac_func in finite
72954 do :
72955 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72956 if test "x$ac_cv_func_finite" = x""yes; then :
72957 cat >>confdefs.h <<_ACEOF
72958 #define HAVE_FINITE 1
72959 _ACEOF
72962 done
72964 else
72966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72967 $as_echo_n "checking for _finite declaration... " >&6; }
72968 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72969 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72970 $as_echo_n "(cached) " >&6
72971 else
72974 ac_ext=cpp
72975 ac_cpp='$CXXCPP $CPPFLAGS'
72976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72981 /* end confdefs.h. */
72982 #include <math.h>
72983 #ifdef HAVE_IEEEFP_H
72984 #include <ieeefp.h>
72985 #endif
72988 main ()
72990 _finite(0);
72992 return 0;
72994 _ACEOF
72995 if ac_fn_cxx_try_compile "$LINENO"; then :
72996 glibcxx_cv_func__finite_use=yes
72997 else
72998 glibcxx_cv_func__finite_use=no
73000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73001 ac_ext=c
73002 ac_cpp='$CPP $CPPFLAGS'
73003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73012 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73014 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73015 for ac_func in _finite
73016 do :
73017 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73018 if test "x$ac_cv_func__finite" = x""yes; then :
73019 cat >>confdefs.h <<_ACEOF
73020 #define HAVE__FINITE 1
73021 _ACEOF
73024 done
73033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73034 $as_echo_n "checking for sincos declaration... " >&6; }
73035 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73036 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
73037 $as_echo_n "(cached) " >&6
73038 else
73041 ac_ext=cpp
73042 ac_cpp='$CXXCPP $CPPFLAGS'
73043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73048 /* end confdefs.h. */
73049 #include <math.h>
73051 main ()
73053 sincos(0, 0, 0);
73055 return 0;
73057 _ACEOF
73058 if ac_fn_cxx_try_compile "$LINENO"; then :
73059 glibcxx_cv_func_sincos_use=yes
73060 else
73061 glibcxx_cv_func_sincos_use=no
73063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73064 ac_ext=c
73065 ac_cpp='$CPP $CPPFLAGS'
73066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73075 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73077 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73078 for ac_func in sincos
73079 do :
73080 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73081 if test "x$ac_cv_func_sincos" = x""yes; then :
73082 cat >>confdefs.h <<_ACEOF
73083 #define HAVE_SINCOS 1
73084 _ACEOF
73087 done
73089 else
73091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73092 $as_echo_n "checking for _sincos declaration... " >&6; }
73093 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73094 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
73095 $as_echo_n "(cached) " >&6
73096 else
73099 ac_ext=cpp
73100 ac_cpp='$CXXCPP $CPPFLAGS'
73101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73106 /* end confdefs.h. */
73107 #include <math.h>
73109 main ()
73111 _sincos(0, 0, 0);
73113 return 0;
73115 _ACEOF
73116 if ac_fn_cxx_try_compile "$LINENO"; then :
73117 glibcxx_cv_func__sincos_use=yes
73118 else
73119 glibcxx_cv_func__sincos_use=no
73121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73122 ac_ext=c
73123 ac_cpp='$CPP $CPPFLAGS'
73124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73133 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73135 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73136 for ac_func in _sincos
73137 do :
73138 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73139 if test "x$ac_cv_func__sincos" = x""yes; then :
73140 cat >>confdefs.h <<_ACEOF
73141 #define HAVE__SINCOS 1
73142 _ACEOF
73145 done
73154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73155 $as_echo_n "checking for fpclass declaration... " >&6; }
73156 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73157 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
73158 $as_echo_n "(cached) " >&6
73159 else
73162 ac_ext=cpp
73163 ac_cpp='$CXXCPP $CPPFLAGS'
73164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73169 /* end confdefs.h. */
73170 #include <math.h>
73171 #ifdef HAVE_IEEEFP_H
73172 #include <ieeefp.h>
73173 #endif
73176 main ()
73178 fpclass(0);
73180 return 0;
73182 _ACEOF
73183 if ac_fn_cxx_try_compile "$LINENO"; then :
73184 glibcxx_cv_func_fpclass_use=yes
73185 else
73186 glibcxx_cv_func_fpclass_use=no
73188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73189 ac_ext=c
73190 ac_cpp='$CPP $CPPFLAGS'
73191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73200 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73202 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73203 for ac_func in fpclass
73204 do :
73205 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73206 if test "x$ac_cv_func_fpclass" = x""yes; then :
73207 cat >>confdefs.h <<_ACEOF
73208 #define HAVE_FPCLASS 1
73209 _ACEOF
73212 done
73214 else
73216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73217 $as_echo_n "checking for _fpclass declaration... " >&6; }
73218 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73219 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73220 $as_echo_n "(cached) " >&6
73221 else
73224 ac_ext=cpp
73225 ac_cpp='$CXXCPP $CPPFLAGS'
73226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73231 /* end confdefs.h. */
73232 #include <math.h>
73233 #ifdef HAVE_IEEEFP_H
73234 #include <ieeefp.h>
73235 #endif
73238 main ()
73240 _fpclass(0);
73242 return 0;
73244 _ACEOF
73245 if ac_fn_cxx_try_compile "$LINENO"; then :
73246 glibcxx_cv_func__fpclass_use=yes
73247 else
73248 glibcxx_cv_func__fpclass_use=no
73250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73251 ac_ext=c
73252 ac_cpp='$CPP $CPPFLAGS'
73253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73262 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73264 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73265 for ac_func in _fpclass
73266 do :
73267 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73268 if test "x$ac_cv_func__fpclass" = x""yes; then :
73269 cat >>confdefs.h <<_ACEOF
73270 #define HAVE__FPCLASS 1
73271 _ACEOF
73274 done
73283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73284 $as_echo_n "checking for qfpclass declaration... " >&6; }
73285 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73286 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73287 $as_echo_n "(cached) " >&6
73288 else
73291 ac_ext=cpp
73292 ac_cpp='$CXXCPP $CPPFLAGS'
73293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73298 /* end confdefs.h. */
73299 #include <math.h>
73300 #ifdef HAVE_IEEEFP_H
73301 #include <ieeefp.h>
73302 #endif
73305 main ()
73307 qfpclass(0);
73309 return 0;
73311 _ACEOF
73312 if ac_fn_cxx_try_compile "$LINENO"; then :
73313 glibcxx_cv_func_qfpclass_use=yes
73314 else
73315 glibcxx_cv_func_qfpclass_use=no
73317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73318 ac_ext=c
73319 ac_cpp='$CPP $CPPFLAGS'
73320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73329 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73331 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73332 for ac_func in qfpclass
73333 do :
73334 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73335 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73336 cat >>confdefs.h <<_ACEOF
73337 #define HAVE_QFPCLASS 1
73338 _ACEOF
73341 done
73343 else
73345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73346 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73347 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73348 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73349 $as_echo_n "(cached) " >&6
73350 else
73353 ac_ext=cpp
73354 ac_cpp='$CXXCPP $CPPFLAGS'
73355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73360 /* end confdefs.h. */
73361 #include <math.h>
73362 #ifdef HAVE_IEEEFP_H
73363 #include <ieeefp.h>
73364 #endif
73367 main ()
73369 _qfpclass(0);
73371 return 0;
73373 _ACEOF
73374 if ac_fn_cxx_try_compile "$LINENO"; then :
73375 glibcxx_cv_func__qfpclass_use=yes
73376 else
73377 glibcxx_cv_func__qfpclass_use=no
73379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73380 ac_ext=c
73381 ac_cpp='$CPP $CPPFLAGS'
73382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73391 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73393 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73394 for ac_func in _qfpclass
73395 do :
73396 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73397 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73398 cat >>confdefs.h <<_ACEOF
73399 #define HAVE__QFPCLASS 1
73400 _ACEOF
73403 done
73412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73413 $as_echo_n "checking for hypot declaration... " >&6; }
73414 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73415 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73416 $as_echo_n "(cached) " >&6
73417 else
73420 ac_ext=cpp
73421 ac_cpp='$CXXCPP $CPPFLAGS'
73422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73427 /* end confdefs.h. */
73428 #include <math.h>
73430 main ()
73432 hypot(0, 0);
73434 return 0;
73436 _ACEOF
73437 if ac_fn_cxx_try_compile "$LINENO"; then :
73438 glibcxx_cv_func_hypot_use=yes
73439 else
73440 glibcxx_cv_func_hypot_use=no
73442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73443 ac_ext=c
73444 ac_cpp='$CPP $CPPFLAGS'
73445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73454 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73456 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73457 for ac_func in hypot
73458 do :
73459 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73460 if test "x$ac_cv_func_hypot" = x""yes; then :
73461 cat >>confdefs.h <<_ACEOF
73462 #define HAVE_HYPOT 1
73463 _ACEOF
73466 done
73468 else
73470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73471 $as_echo_n "checking for _hypot declaration... " >&6; }
73472 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73473 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73474 $as_echo_n "(cached) " >&6
73475 else
73478 ac_ext=cpp
73479 ac_cpp='$CXXCPP $CPPFLAGS'
73480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73485 /* end confdefs.h. */
73486 #include <math.h>
73488 main ()
73490 _hypot(0, 0);
73492 return 0;
73494 _ACEOF
73495 if ac_fn_cxx_try_compile "$LINENO"; then :
73496 glibcxx_cv_func__hypot_use=yes
73497 else
73498 glibcxx_cv_func__hypot_use=no
73500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73501 ac_ext=c
73502 ac_cpp='$CPP $CPPFLAGS'
73503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73512 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73514 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73515 for ac_func in _hypot
73516 do :
73517 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73518 if test "x$ac_cv_func__hypot" = x""yes; then :
73519 cat >>confdefs.h <<_ACEOF
73520 #define HAVE__HYPOT 1
73521 _ACEOF
73524 done
73533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73534 $as_echo_n "checking for float trig functions... " >&6; }
73535 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73536 $as_echo_n "(cached) " >&6
73537 else
73540 ac_ext=cpp
73541 ac_cpp='$CXXCPP $CPPFLAGS'
73542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73547 /* end confdefs.h. */
73548 #include <math.h>
73550 main ()
73552 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73554 return 0;
73556 _ACEOF
73557 if ac_fn_cxx_try_compile "$LINENO"; then :
73558 glibcxx_cv_func_float_trig_use=yes
73559 else
73560 glibcxx_cv_func_float_trig_use=no
73562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73563 ac_ext=c
73564 ac_cpp='$CPP $CPPFLAGS'
73565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73572 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73573 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73574 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73575 do :
73576 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73578 eval as_val=\$$as_ac_var
73579 if test "x$as_val" = x""yes; then :
73580 cat >>confdefs.h <<_ACEOF
73581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73582 _ACEOF
73585 done
73587 else
73588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73589 $as_echo_n "checking for _float trig functions... " >&6; }
73590 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73591 $as_echo_n "(cached) " >&6
73592 else
73595 ac_ext=cpp
73596 ac_cpp='$CXXCPP $CPPFLAGS'
73597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73602 /* end confdefs.h. */
73603 #include <math.h>
73605 main ()
73607 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73609 return 0;
73611 _ACEOF
73612 if ac_fn_cxx_try_compile "$LINENO"; then :
73613 glibcxx_cv_func__float_trig_use=yes
73614 else
73615 glibcxx_cv_func__float_trig_use=no
73617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73618 ac_ext=c
73619 ac_cpp='$CPP $CPPFLAGS'
73620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73627 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73628 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73629 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73630 do :
73631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73633 eval as_val=\$$as_ac_var
73634 if test "x$as_val" = x""yes; then :
73635 cat >>confdefs.h <<_ACEOF
73636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73637 _ACEOF
73640 done
73649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73650 $as_echo_n "checking for float round functions... " >&6; }
73651 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73652 $as_echo_n "(cached) " >&6
73653 else
73656 ac_ext=cpp
73657 ac_cpp='$CXXCPP $CPPFLAGS'
73658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73663 /* end confdefs.h. */
73664 #include <math.h>
73666 main ()
73668 ceilf (0); floorf (0);
73670 return 0;
73672 _ACEOF
73673 if ac_fn_cxx_try_compile "$LINENO"; then :
73674 glibcxx_cv_func_float_round_use=yes
73675 else
73676 glibcxx_cv_func_float_round_use=no
73678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73679 ac_ext=c
73680 ac_cpp='$CPP $CPPFLAGS'
73681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73688 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73689 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73690 for ac_func in ceilf floorf
73691 do :
73692 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73693 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73694 eval as_val=\$$as_ac_var
73695 if test "x$as_val" = x""yes; then :
73696 cat >>confdefs.h <<_ACEOF
73697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73698 _ACEOF
73701 done
73703 else
73704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73705 $as_echo_n "checking for _float round functions... " >&6; }
73706 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73707 $as_echo_n "(cached) " >&6
73708 else
73711 ac_ext=cpp
73712 ac_cpp='$CXXCPP $CPPFLAGS'
73713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73718 /* end confdefs.h. */
73719 #include <math.h>
73721 main ()
73723 _ceilf (0); _floorf (0);
73725 return 0;
73727 _ACEOF
73728 if ac_fn_cxx_try_compile "$LINENO"; then :
73729 glibcxx_cv_func__float_round_use=yes
73730 else
73731 glibcxx_cv_func__float_round_use=no
73733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73734 ac_ext=c
73735 ac_cpp='$CPP $CPPFLAGS'
73736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73743 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73744 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73745 for ac_func in _ceilf _floorf
73746 do :
73747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73749 eval as_val=\$$as_ac_var
73750 if test "x$as_val" = x""yes; then :
73751 cat >>confdefs.h <<_ACEOF
73752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73753 _ACEOF
73756 done
73766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73767 $as_echo_n "checking for expf declaration... " >&6; }
73768 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73769 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73770 $as_echo_n "(cached) " >&6
73771 else
73774 ac_ext=cpp
73775 ac_cpp='$CXXCPP $CPPFLAGS'
73776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73781 /* end confdefs.h. */
73782 #include <math.h>
73783 #ifdef HAVE_IEEEFP_H
73784 #include <ieeefp.h>
73785 #endif
73788 main ()
73790 expf(0);
73792 return 0;
73794 _ACEOF
73795 if ac_fn_cxx_try_compile "$LINENO"; then :
73796 glibcxx_cv_func_expf_use=yes
73797 else
73798 glibcxx_cv_func_expf_use=no
73800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73801 ac_ext=c
73802 ac_cpp='$CPP $CPPFLAGS'
73803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73812 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73814 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73815 for ac_func in expf
73816 do :
73817 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73818 if test "x$ac_cv_func_expf" = x""yes; then :
73819 cat >>confdefs.h <<_ACEOF
73820 #define HAVE_EXPF 1
73821 _ACEOF
73824 done
73826 else
73828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73829 $as_echo_n "checking for _expf declaration... " >&6; }
73830 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73831 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73832 $as_echo_n "(cached) " >&6
73833 else
73836 ac_ext=cpp
73837 ac_cpp='$CXXCPP $CPPFLAGS'
73838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73843 /* end confdefs.h. */
73844 #include <math.h>
73845 #ifdef HAVE_IEEEFP_H
73846 #include <ieeefp.h>
73847 #endif
73850 main ()
73852 _expf(0);
73854 return 0;
73856 _ACEOF
73857 if ac_fn_cxx_try_compile "$LINENO"; then :
73858 glibcxx_cv_func__expf_use=yes
73859 else
73860 glibcxx_cv_func__expf_use=no
73862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73863 ac_ext=c
73864 ac_cpp='$CPP $CPPFLAGS'
73865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73874 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73876 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73877 for ac_func in _expf
73878 do :
73879 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73880 if test "x$ac_cv_func__expf" = x""yes; then :
73881 cat >>confdefs.h <<_ACEOF
73882 #define HAVE__EXPF 1
73883 _ACEOF
73886 done
73895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73896 $as_echo_n "checking for isnanf declaration... " >&6; }
73897 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73898 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73899 $as_echo_n "(cached) " >&6
73900 else
73903 ac_ext=cpp
73904 ac_cpp='$CXXCPP $CPPFLAGS'
73905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73910 /* end confdefs.h. */
73911 #include <math.h>
73912 #ifdef HAVE_IEEEFP_H
73913 #include <ieeefp.h>
73914 #endif
73917 main ()
73919 isnanf(0);
73921 return 0;
73923 _ACEOF
73924 if ac_fn_cxx_try_compile "$LINENO"; then :
73925 glibcxx_cv_func_isnanf_use=yes
73926 else
73927 glibcxx_cv_func_isnanf_use=no
73929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73930 ac_ext=c
73931 ac_cpp='$CPP $CPPFLAGS'
73932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73941 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73943 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73944 for ac_func in isnanf
73945 do :
73946 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73947 if test "x$ac_cv_func_isnanf" = x""yes; then :
73948 cat >>confdefs.h <<_ACEOF
73949 #define HAVE_ISNANF 1
73950 _ACEOF
73953 done
73955 else
73957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73958 $as_echo_n "checking for _isnanf declaration... " >&6; }
73959 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73960 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73961 $as_echo_n "(cached) " >&6
73962 else
73965 ac_ext=cpp
73966 ac_cpp='$CXXCPP $CPPFLAGS'
73967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73972 /* end confdefs.h. */
73973 #include <math.h>
73974 #ifdef HAVE_IEEEFP_H
73975 #include <ieeefp.h>
73976 #endif
73979 main ()
73981 _isnanf(0);
73983 return 0;
73985 _ACEOF
73986 if ac_fn_cxx_try_compile "$LINENO"; then :
73987 glibcxx_cv_func__isnanf_use=yes
73988 else
73989 glibcxx_cv_func__isnanf_use=no
73991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73992 ac_ext=c
73993 ac_cpp='$CPP $CPPFLAGS'
73994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74003 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74005 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74006 for ac_func in _isnanf
74007 do :
74008 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74009 if test "x$ac_cv_func__isnanf" = x""yes; then :
74010 cat >>confdefs.h <<_ACEOF
74011 #define HAVE__ISNANF 1
74012 _ACEOF
74015 done
74024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74025 $as_echo_n "checking for isinff declaration... " >&6; }
74026 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74027 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
74028 $as_echo_n "(cached) " >&6
74029 else
74032 ac_ext=cpp
74033 ac_cpp='$CXXCPP $CPPFLAGS'
74034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74039 /* end confdefs.h. */
74040 #include <math.h>
74041 #ifdef HAVE_IEEEFP_H
74042 #include <ieeefp.h>
74043 #endif
74046 main ()
74048 isinff(0);
74050 return 0;
74052 _ACEOF
74053 if ac_fn_cxx_try_compile "$LINENO"; then :
74054 glibcxx_cv_func_isinff_use=yes
74055 else
74056 glibcxx_cv_func_isinff_use=no
74058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74059 ac_ext=c
74060 ac_cpp='$CPP $CPPFLAGS'
74061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74070 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74072 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74073 for ac_func in isinff
74074 do :
74075 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74076 if test "x$ac_cv_func_isinff" = x""yes; then :
74077 cat >>confdefs.h <<_ACEOF
74078 #define HAVE_ISINFF 1
74079 _ACEOF
74082 done
74084 else
74086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74087 $as_echo_n "checking for _isinff declaration... " >&6; }
74088 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74089 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
74090 $as_echo_n "(cached) " >&6
74091 else
74094 ac_ext=cpp
74095 ac_cpp='$CXXCPP $CPPFLAGS'
74096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74101 /* end confdefs.h. */
74102 #include <math.h>
74103 #ifdef HAVE_IEEEFP_H
74104 #include <ieeefp.h>
74105 #endif
74108 main ()
74110 _isinff(0);
74112 return 0;
74114 _ACEOF
74115 if ac_fn_cxx_try_compile "$LINENO"; then :
74116 glibcxx_cv_func__isinff_use=yes
74117 else
74118 glibcxx_cv_func__isinff_use=no
74120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74121 ac_ext=c
74122 ac_cpp='$CPP $CPPFLAGS'
74123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74132 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74134 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74135 for ac_func in _isinff
74136 do :
74137 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74138 if test "x$ac_cv_func__isinff" = x""yes; then :
74139 cat >>confdefs.h <<_ACEOF
74140 #define HAVE__ISINFF 1
74141 _ACEOF
74144 done
74153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74154 $as_echo_n "checking for atan2f declaration... " >&6; }
74155 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74156 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
74157 $as_echo_n "(cached) " >&6
74158 else
74161 ac_ext=cpp
74162 ac_cpp='$CXXCPP $CPPFLAGS'
74163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74168 /* end confdefs.h. */
74169 #include <math.h>
74171 main ()
74173 atan2f(0, 0);
74175 return 0;
74177 _ACEOF
74178 if ac_fn_cxx_try_compile "$LINENO"; then :
74179 glibcxx_cv_func_atan2f_use=yes
74180 else
74181 glibcxx_cv_func_atan2f_use=no
74183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74184 ac_ext=c
74185 ac_cpp='$CPP $CPPFLAGS'
74186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74195 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74197 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74198 for ac_func in atan2f
74199 do :
74200 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74201 if test "x$ac_cv_func_atan2f" = x""yes; then :
74202 cat >>confdefs.h <<_ACEOF
74203 #define HAVE_ATAN2F 1
74204 _ACEOF
74207 done
74209 else
74211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74212 $as_echo_n "checking for _atan2f declaration... " >&6; }
74213 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74214 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74215 $as_echo_n "(cached) " >&6
74216 else
74219 ac_ext=cpp
74220 ac_cpp='$CXXCPP $CPPFLAGS'
74221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74226 /* end confdefs.h. */
74227 #include <math.h>
74229 main ()
74231 _atan2f(0, 0);
74233 return 0;
74235 _ACEOF
74236 if ac_fn_cxx_try_compile "$LINENO"; then :
74237 glibcxx_cv_func__atan2f_use=yes
74238 else
74239 glibcxx_cv_func__atan2f_use=no
74241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74242 ac_ext=c
74243 ac_cpp='$CPP $CPPFLAGS'
74244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74253 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74255 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74256 for ac_func in _atan2f
74257 do :
74258 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74259 if test "x$ac_cv_func__atan2f" = x""yes; then :
74260 cat >>confdefs.h <<_ACEOF
74261 #define HAVE__ATAN2F 1
74262 _ACEOF
74265 done
74274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74275 $as_echo_n "checking for fabsf declaration... " >&6; }
74276 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74277 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74278 $as_echo_n "(cached) " >&6
74279 else
74282 ac_ext=cpp
74283 ac_cpp='$CXXCPP $CPPFLAGS'
74284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74289 /* end confdefs.h. */
74290 #include <math.h>
74291 #ifdef HAVE_IEEEFP_H
74292 #include <ieeefp.h>
74293 #endif
74296 main ()
74298 fabsf(0);
74300 return 0;
74302 _ACEOF
74303 if ac_fn_cxx_try_compile "$LINENO"; then :
74304 glibcxx_cv_func_fabsf_use=yes
74305 else
74306 glibcxx_cv_func_fabsf_use=no
74308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74309 ac_ext=c
74310 ac_cpp='$CPP $CPPFLAGS'
74311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74320 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74322 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74323 for ac_func in fabsf
74324 do :
74325 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74326 if test "x$ac_cv_func_fabsf" = x""yes; then :
74327 cat >>confdefs.h <<_ACEOF
74328 #define HAVE_FABSF 1
74329 _ACEOF
74332 done
74334 else
74336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74337 $as_echo_n "checking for _fabsf declaration... " >&6; }
74338 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74339 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74340 $as_echo_n "(cached) " >&6
74341 else
74344 ac_ext=cpp
74345 ac_cpp='$CXXCPP $CPPFLAGS'
74346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74351 /* end confdefs.h. */
74352 #include <math.h>
74353 #ifdef HAVE_IEEEFP_H
74354 #include <ieeefp.h>
74355 #endif
74358 main ()
74360 _fabsf(0);
74362 return 0;
74364 _ACEOF
74365 if ac_fn_cxx_try_compile "$LINENO"; then :
74366 glibcxx_cv_func__fabsf_use=yes
74367 else
74368 glibcxx_cv_func__fabsf_use=no
74370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74371 ac_ext=c
74372 ac_cpp='$CPP $CPPFLAGS'
74373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74382 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74384 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74385 for ac_func in _fabsf
74386 do :
74387 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74388 if test "x$ac_cv_func__fabsf" = x""yes; then :
74389 cat >>confdefs.h <<_ACEOF
74390 #define HAVE__FABSF 1
74391 _ACEOF
74394 done
74403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74404 $as_echo_n "checking for fmodf declaration... " >&6; }
74405 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74406 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74407 $as_echo_n "(cached) " >&6
74408 else
74411 ac_ext=cpp
74412 ac_cpp='$CXXCPP $CPPFLAGS'
74413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74418 /* end confdefs.h. */
74419 #include <math.h>
74421 main ()
74423 fmodf(0, 0);
74425 return 0;
74427 _ACEOF
74428 if ac_fn_cxx_try_compile "$LINENO"; then :
74429 glibcxx_cv_func_fmodf_use=yes
74430 else
74431 glibcxx_cv_func_fmodf_use=no
74433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74434 ac_ext=c
74435 ac_cpp='$CPP $CPPFLAGS'
74436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74445 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74447 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74448 for ac_func in fmodf
74449 do :
74450 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74451 if test "x$ac_cv_func_fmodf" = x""yes; then :
74452 cat >>confdefs.h <<_ACEOF
74453 #define HAVE_FMODF 1
74454 _ACEOF
74457 done
74459 else
74461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74462 $as_echo_n "checking for _fmodf declaration... " >&6; }
74463 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74464 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74465 $as_echo_n "(cached) " >&6
74466 else
74469 ac_ext=cpp
74470 ac_cpp='$CXXCPP $CPPFLAGS'
74471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74476 /* end confdefs.h. */
74477 #include <math.h>
74479 main ()
74481 _fmodf(0, 0);
74483 return 0;
74485 _ACEOF
74486 if ac_fn_cxx_try_compile "$LINENO"; then :
74487 glibcxx_cv_func__fmodf_use=yes
74488 else
74489 glibcxx_cv_func__fmodf_use=no
74491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74492 ac_ext=c
74493 ac_cpp='$CPP $CPPFLAGS'
74494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74503 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74505 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74506 for ac_func in _fmodf
74507 do :
74508 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74509 if test "x$ac_cv_func__fmodf" = x""yes; then :
74510 cat >>confdefs.h <<_ACEOF
74511 #define HAVE__FMODF 1
74512 _ACEOF
74515 done
74524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74525 $as_echo_n "checking for frexpf declaration... " >&6; }
74526 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74527 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74528 $as_echo_n "(cached) " >&6
74529 else
74532 ac_ext=cpp
74533 ac_cpp='$CXXCPP $CPPFLAGS'
74534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74539 /* end confdefs.h. */
74540 #include <math.h>
74542 main ()
74544 frexpf(0, 0);
74546 return 0;
74548 _ACEOF
74549 if ac_fn_cxx_try_compile "$LINENO"; then :
74550 glibcxx_cv_func_frexpf_use=yes
74551 else
74552 glibcxx_cv_func_frexpf_use=no
74554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74555 ac_ext=c
74556 ac_cpp='$CPP $CPPFLAGS'
74557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74566 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74568 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74569 for ac_func in frexpf
74570 do :
74571 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74572 if test "x$ac_cv_func_frexpf" = x""yes; then :
74573 cat >>confdefs.h <<_ACEOF
74574 #define HAVE_FREXPF 1
74575 _ACEOF
74578 done
74580 else
74582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74583 $as_echo_n "checking for _frexpf declaration... " >&6; }
74584 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74585 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74586 $as_echo_n "(cached) " >&6
74587 else
74590 ac_ext=cpp
74591 ac_cpp='$CXXCPP $CPPFLAGS'
74592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74597 /* end confdefs.h. */
74598 #include <math.h>
74600 main ()
74602 _frexpf(0, 0);
74604 return 0;
74606 _ACEOF
74607 if ac_fn_cxx_try_compile "$LINENO"; then :
74608 glibcxx_cv_func__frexpf_use=yes
74609 else
74610 glibcxx_cv_func__frexpf_use=no
74612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74613 ac_ext=c
74614 ac_cpp='$CPP $CPPFLAGS'
74615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74624 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74626 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74627 for ac_func in _frexpf
74628 do :
74629 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74630 if test "x$ac_cv_func__frexpf" = x""yes; then :
74631 cat >>confdefs.h <<_ACEOF
74632 #define HAVE__FREXPF 1
74633 _ACEOF
74636 done
74645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74646 $as_echo_n "checking for hypotf declaration... " >&6; }
74647 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74648 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74649 $as_echo_n "(cached) " >&6
74650 else
74653 ac_ext=cpp
74654 ac_cpp='$CXXCPP $CPPFLAGS'
74655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74660 /* end confdefs.h. */
74661 #include <math.h>
74663 main ()
74665 hypotf(0, 0);
74667 return 0;
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func_hypotf_use=yes
74672 else
74673 glibcxx_cv_func_hypotf_use=no
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74687 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74689 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74690 for ac_func in hypotf
74691 do :
74692 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74693 if test "x$ac_cv_func_hypotf" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define HAVE_HYPOTF 1
74696 _ACEOF
74699 done
74701 else
74703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74704 $as_echo_n "checking for _hypotf declaration... " >&6; }
74705 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74706 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74707 $as_echo_n "(cached) " >&6
74708 else
74711 ac_ext=cpp
74712 ac_cpp='$CXXCPP $CPPFLAGS'
74713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74718 /* end confdefs.h. */
74719 #include <math.h>
74721 main ()
74723 _hypotf(0, 0);
74725 return 0;
74727 _ACEOF
74728 if ac_fn_cxx_try_compile "$LINENO"; then :
74729 glibcxx_cv_func__hypotf_use=yes
74730 else
74731 glibcxx_cv_func__hypotf_use=no
74733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74734 ac_ext=c
74735 ac_cpp='$CPP $CPPFLAGS'
74736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74745 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74747 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74748 for ac_func in _hypotf
74749 do :
74750 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74751 if test "x$ac_cv_func__hypotf" = x""yes; then :
74752 cat >>confdefs.h <<_ACEOF
74753 #define HAVE__HYPOTF 1
74754 _ACEOF
74757 done
74766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74767 $as_echo_n "checking for ldexpf declaration... " >&6; }
74768 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74769 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74770 $as_echo_n "(cached) " >&6
74771 else
74774 ac_ext=cpp
74775 ac_cpp='$CXXCPP $CPPFLAGS'
74776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74781 /* end confdefs.h. */
74782 #include <math.h>
74784 main ()
74786 ldexpf(0, 0);
74788 return 0;
74790 _ACEOF
74791 if ac_fn_cxx_try_compile "$LINENO"; then :
74792 glibcxx_cv_func_ldexpf_use=yes
74793 else
74794 glibcxx_cv_func_ldexpf_use=no
74796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74797 ac_ext=c
74798 ac_cpp='$CPP $CPPFLAGS'
74799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74808 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74810 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74811 for ac_func in ldexpf
74812 do :
74813 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74814 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74815 cat >>confdefs.h <<_ACEOF
74816 #define HAVE_LDEXPF 1
74817 _ACEOF
74820 done
74822 else
74824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74825 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74826 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74827 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74828 $as_echo_n "(cached) " >&6
74829 else
74832 ac_ext=cpp
74833 ac_cpp='$CXXCPP $CPPFLAGS'
74834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74839 /* end confdefs.h. */
74840 #include <math.h>
74842 main ()
74844 _ldexpf(0, 0);
74846 return 0;
74848 _ACEOF
74849 if ac_fn_cxx_try_compile "$LINENO"; then :
74850 glibcxx_cv_func__ldexpf_use=yes
74851 else
74852 glibcxx_cv_func__ldexpf_use=no
74854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74855 ac_ext=c
74856 ac_cpp='$CPP $CPPFLAGS'
74857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74866 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74868 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74869 for ac_func in _ldexpf
74870 do :
74871 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74872 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74873 cat >>confdefs.h <<_ACEOF
74874 #define HAVE__LDEXPF 1
74875 _ACEOF
74878 done
74887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74888 $as_echo_n "checking for logf declaration... " >&6; }
74889 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74890 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74891 $as_echo_n "(cached) " >&6
74892 else
74895 ac_ext=cpp
74896 ac_cpp='$CXXCPP $CPPFLAGS'
74897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74902 /* end confdefs.h. */
74903 #include <math.h>
74904 #ifdef HAVE_IEEEFP_H
74905 #include <ieeefp.h>
74906 #endif
74909 main ()
74911 logf(0);
74913 return 0;
74915 _ACEOF
74916 if ac_fn_cxx_try_compile "$LINENO"; then :
74917 glibcxx_cv_func_logf_use=yes
74918 else
74919 glibcxx_cv_func_logf_use=no
74921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74922 ac_ext=c
74923 ac_cpp='$CPP $CPPFLAGS'
74924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74933 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74935 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74936 for ac_func in logf
74937 do :
74938 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74939 if test "x$ac_cv_func_logf" = x""yes; then :
74940 cat >>confdefs.h <<_ACEOF
74941 #define HAVE_LOGF 1
74942 _ACEOF
74945 done
74947 else
74949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74950 $as_echo_n "checking for _logf declaration... " >&6; }
74951 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74952 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74953 $as_echo_n "(cached) " >&6
74954 else
74957 ac_ext=cpp
74958 ac_cpp='$CXXCPP $CPPFLAGS'
74959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74964 /* end confdefs.h. */
74965 #include <math.h>
74966 #ifdef HAVE_IEEEFP_H
74967 #include <ieeefp.h>
74968 #endif
74971 main ()
74973 _logf(0);
74975 return 0;
74977 _ACEOF
74978 if ac_fn_cxx_try_compile "$LINENO"; then :
74979 glibcxx_cv_func__logf_use=yes
74980 else
74981 glibcxx_cv_func__logf_use=no
74983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74984 ac_ext=c
74985 ac_cpp='$CPP $CPPFLAGS'
74986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74995 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74997 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74998 for ac_func in _logf
74999 do :
75000 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75001 if test "x$ac_cv_func__logf" = x""yes; then :
75002 cat >>confdefs.h <<_ACEOF
75003 #define HAVE__LOGF 1
75004 _ACEOF
75007 done
75016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75017 $as_echo_n "checking for log10f declaration... " >&6; }
75018 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75019 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
75020 $as_echo_n "(cached) " >&6
75021 else
75024 ac_ext=cpp
75025 ac_cpp='$CXXCPP $CPPFLAGS'
75026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75031 /* end confdefs.h. */
75032 #include <math.h>
75033 #ifdef HAVE_IEEEFP_H
75034 #include <ieeefp.h>
75035 #endif
75038 main ()
75040 log10f(0);
75042 return 0;
75044 _ACEOF
75045 if ac_fn_cxx_try_compile "$LINENO"; then :
75046 glibcxx_cv_func_log10f_use=yes
75047 else
75048 glibcxx_cv_func_log10f_use=no
75050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75051 ac_ext=c
75052 ac_cpp='$CPP $CPPFLAGS'
75053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75062 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75064 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75065 for ac_func in log10f
75066 do :
75067 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75068 if test "x$ac_cv_func_log10f" = x""yes; then :
75069 cat >>confdefs.h <<_ACEOF
75070 #define HAVE_LOG10F 1
75071 _ACEOF
75074 done
75076 else
75078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75079 $as_echo_n "checking for _log10f declaration... " >&6; }
75080 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75081 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
75082 $as_echo_n "(cached) " >&6
75083 else
75086 ac_ext=cpp
75087 ac_cpp='$CXXCPP $CPPFLAGS'
75088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75093 /* end confdefs.h. */
75094 #include <math.h>
75095 #ifdef HAVE_IEEEFP_H
75096 #include <ieeefp.h>
75097 #endif
75100 main ()
75102 _log10f(0);
75104 return 0;
75106 _ACEOF
75107 if ac_fn_cxx_try_compile "$LINENO"; then :
75108 glibcxx_cv_func__log10f_use=yes
75109 else
75110 glibcxx_cv_func__log10f_use=no
75112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75113 ac_ext=c
75114 ac_cpp='$CPP $CPPFLAGS'
75115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75124 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75126 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75127 for ac_func in _log10f
75128 do :
75129 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75130 if test "x$ac_cv_func__log10f" = x""yes; then :
75131 cat >>confdefs.h <<_ACEOF
75132 #define HAVE__LOG10F 1
75133 _ACEOF
75136 done
75145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75146 $as_echo_n "checking for modff declaration... " >&6; }
75147 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75148 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
75149 $as_echo_n "(cached) " >&6
75150 else
75153 ac_ext=cpp
75154 ac_cpp='$CXXCPP $CPPFLAGS'
75155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75160 /* end confdefs.h. */
75161 #include <math.h>
75163 main ()
75165 modff(0, 0);
75167 return 0;
75169 _ACEOF
75170 if ac_fn_cxx_try_compile "$LINENO"; then :
75171 glibcxx_cv_func_modff_use=yes
75172 else
75173 glibcxx_cv_func_modff_use=no
75175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75176 ac_ext=c
75177 ac_cpp='$CPP $CPPFLAGS'
75178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75187 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75189 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75190 for ac_func in modff
75191 do :
75192 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75193 if test "x$ac_cv_func_modff" = x""yes; then :
75194 cat >>confdefs.h <<_ACEOF
75195 #define HAVE_MODFF 1
75196 _ACEOF
75199 done
75201 else
75203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75204 $as_echo_n "checking for _modff declaration... " >&6; }
75205 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75206 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75207 $as_echo_n "(cached) " >&6
75208 else
75211 ac_ext=cpp
75212 ac_cpp='$CXXCPP $CPPFLAGS'
75213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75218 /* end confdefs.h. */
75219 #include <math.h>
75221 main ()
75223 _modff(0, 0);
75225 return 0;
75227 _ACEOF
75228 if ac_fn_cxx_try_compile "$LINENO"; then :
75229 glibcxx_cv_func__modff_use=yes
75230 else
75231 glibcxx_cv_func__modff_use=no
75233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75234 ac_ext=c
75235 ac_cpp='$CPP $CPPFLAGS'
75236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75245 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75247 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75248 for ac_func in _modff
75249 do :
75250 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75251 if test "x$ac_cv_func__modff" = x""yes; then :
75252 cat >>confdefs.h <<_ACEOF
75253 #define HAVE__MODFF 1
75254 _ACEOF
75257 done
75266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75267 $as_echo_n "checking for modf declaration... " >&6; }
75268 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75269 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75270 $as_echo_n "(cached) " >&6
75271 else
75274 ac_ext=cpp
75275 ac_cpp='$CXXCPP $CPPFLAGS'
75276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <math.h>
75284 main ()
75286 modf(0, 0);
75288 return 0;
75290 _ACEOF
75291 if ac_fn_cxx_try_compile "$LINENO"; then :
75292 glibcxx_cv_func_modf_use=yes
75293 else
75294 glibcxx_cv_func_modf_use=no
75296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75297 ac_ext=c
75298 ac_cpp='$CPP $CPPFLAGS'
75299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75308 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75310 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75311 for ac_func in modf
75312 do :
75313 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75314 if test "x$ac_cv_func_modf" = x""yes; then :
75315 cat >>confdefs.h <<_ACEOF
75316 #define HAVE_MODF 1
75317 _ACEOF
75320 done
75322 else
75324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75325 $as_echo_n "checking for _modf declaration... " >&6; }
75326 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75327 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75328 $as_echo_n "(cached) " >&6
75329 else
75332 ac_ext=cpp
75333 ac_cpp='$CXXCPP $CPPFLAGS'
75334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75339 /* end confdefs.h. */
75340 #include <math.h>
75342 main ()
75344 _modf(0, 0);
75346 return 0;
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func__modf_use=yes
75351 else
75352 glibcxx_cv_func__modf_use=no
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75366 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75368 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75369 for ac_func in _modf
75370 do :
75371 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75372 if test "x$ac_cv_func__modf" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE__MODF 1
75375 _ACEOF
75378 done
75387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75388 $as_echo_n "checking for powf declaration... " >&6; }
75389 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75390 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75391 $as_echo_n "(cached) " >&6
75392 else
75395 ac_ext=cpp
75396 ac_cpp='$CXXCPP $CPPFLAGS'
75397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75402 /* end confdefs.h. */
75403 #include <math.h>
75405 main ()
75407 powf(0, 0);
75409 return 0;
75411 _ACEOF
75412 if ac_fn_cxx_try_compile "$LINENO"; then :
75413 glibcxx_cv_func_powf_use=yes
75414 else
75415 glibcxx_cv_func_powf_use=no
75417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75418 ac_ext=c
75419 ac_cpp='$CPP $CPPFLAGS'
75420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75429 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75431 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75432 for ac_func in powf
75433 do :
75434 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75435 if test "x$ac_cv_func_powf" = x""yes; then :
75436 cat >>confdefs.h <<_ACEOF
75437 #define HAVE_POWF 1
75438 _ACEOF
75441 done
75443 else
75445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75446 $as_echo_n "checking for _powf declaration... " >&6; }
75447 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75448 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75449 $as_echo_n "(cached) " >&6
75450 else
75453 ac_ext=cpp
75454 ac_cpp='$CXXCPP $CPPFLAGS'
75455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75460 /* end confdefs.h. */
75461 #include <math.h>
75463 main ()
75465 _powf(0, 0);
75467 return 0;
75469 _ACEOF
75470 if ac_fn_cxx_try_compile "$LINENO"; then :
75471 glibcxx_cv_func__powf_use=yes
75472 else
75473 glibcxx_cv_func__powf_use=no
75475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75476 ac_ext=c
75477 ac_cpp='$CPP $CPPFLAGS'
75478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75487 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75489 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75490 for ac_func in _powf
75491 do :
75492 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75493 if test "x$ac_cv_func__powf" = x""yes; then :
75494 cat >>confdefs.h <<_ACEOF
75495 #define HAVE__POWF 1
75496 _ACEOF
75499 done
75508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75509 $as_echo_n "checking for sqrtf declaration... " >&6; }
75510 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75511 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75512 $as_echo_n "(cached) " >&6
75513 else
75516 ac_ext=cpp
75517 ac_cpp='$CXXCPP $CPPFLAGS'
75518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75523 /* end confdefs.h. */
75524 #include <math.h>
75525 #ifdef HAVE_IEEEFP_H
75526 #include <ieeefp.h>
75527 #endif
75530 main ()
75532 sqrtf(0);
75534 return 0;
75536 _ACEOF
75537 if ac_fn_cxx_try_compile "$LINENO"; then :
75538 glibcxx_cv_func_sqrtf_use=yes
75539 else
75540 glibcxx_cv_func_sqrtf_use=no
75542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75543 ac_ext=c
75544 ac_cpp='$CPP $CPPFLAGS'
75545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75554 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75556 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75557 for ac_func in sqrtf
75558 do :
75559 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75560 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75561 cat >>confdefs.h <<_ACEOF
75562 #define HAVE_SQRTF 1
75563 _ACEOF
75566 done
75568 else
75570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75571 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75572 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75573 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75574 $as_echo_n "(cached) " >&6
75575 else
75578 ac_ext=cpp
75579 ac_cpp='$CXXCPP $CPPFLAGS'
75580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75585 /* end confdefs.h. */
75586 #include <math.h>
75587 #ifdef HAVE_IEEEFP_H
75588 #include <ieeefp.h>
75589 #endif
75592 main ()
75594 _sqrtf(0);
75596 return 0;
75598 _ACEOF
75599 if ac_fn_cxx_try_compile "$LINENO"; then :
75600 glibcxx_cv_func__sqrtf_use=yes
75601 else
75602 glibcxx_cv_func__sqrtf_use=no
75604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75605 ac_ext=c
75606 ac_cpp='$CPP $CPPFLAGS'
75607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75616 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75618 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75619 for ac_func in _sqrtf
75620 do :
75621 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75622 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75623 cat >>confdefs.h <<_ACEOF
75624 #define HAVE__SQRTF 1
75625 _ACEOF
75628 done
75637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75638 $as_echo_n "checking for sincosf declaration... " >&6; }
75639 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75640 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75641 $as_echo_n "(cached) " >&6
75642 else
75645 ac_ext=cpp
75646 ac_cpp='$CXXCPP $CPPFLAGS'
75647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75652 /* end confdefs.h. */
75653 #include <math.h>
75655 main ()
75657 sincosf(0, 0, 0);
75659 return 0;
75661 _ACEOF
75662 if ac_fn_cxx_try_compile "$LINENO"; then :
75663 glibcxx_cv_func_sincosf_use=yes
75664 else
75665 glibcxx_cv_func_sincosf_use=no
75667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75668 ac_ext=c
75669 ac_cpp='$CPP $CPPFLAGS'
75670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75679 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75681 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75682 for ac_func in sincosf
75683 do :
75684 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75685 if test "x$ac_cv_func_sincosf" = x""yes; then :
75686 cat >>confdefs.h <<_ACEOF
75687 #define HAVE_SINCOSF 1
75688 _ACEOF
75691 done
75693 else
75695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75696 $as_echo_n "checking for _sincosf declaration... " >&6; }
75697 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75698 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75699 $as_echo_n "(cached) " >&6
75700 else
75703 ac_ext=cpp
75704 ac_cpp='$CXXCPP $CPPFLAGS'
75705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75710 /* end confdefs.h. */
75711 #include <math.h>
75713 main ()
75715 _sincosf(0, 0, 0);
75717 return 0;
75719 _ACEOF
75720 if ac_fn_cxx_try_compile "$LINENO"; then :
75721 glibcxx_cv_func__sincosf_use=yes
75722 else
75723 glibcxx_cv_func__sincosf_use=no
75725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75726 ac_ext=c
75727 ac_cpp='$CPP $CPPFLAGS'
75728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75737 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75739 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75740 for ac_func in _sincosf
75741 do :
75742 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75743 if test "x$ac_cv_func__sincosf" = x""yes; then :
75744 cat >>confdefs.h <<_ACEOF
75745 #define HAVE__SINCOSF 1
75746 _ACEOF
75749 done
75758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75759 $as_echo_n "checking for finitef declaration... " >&6; }
75760 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75761 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75762 $as_echo_n "(cached) " >&6
75763 else
75766 ac_ext=cpp
75767 ac_cpp='$CXXCPP $CPPFLAGS'
75768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75773 /* end confdefs.h. */
75774 #include <math.h>
75775 #ifdef HAVE_IEEEFP_H
75776 #include <ieeefp.h>
75777 #endif
75780 main ()
75782 finitef(0);
75784 return 0;
75786 _ACEOF
75787 if ac_fn_cxx_try_compile "$LINENO"; then :
75788 glibcxx_cv_func_finitef_use=yes
75789 else
75790 glibcxx_cv_func_finitef_use=no
75792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75793 ac_ext=c
75794 ac_cpp='$CPP $CPPFLAGS'
75795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75804 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75806 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75807 for ac_func in finitef
75808 do :
75809 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75810 if test "x$ac_cv_func_finitef" = x""yes; then :
75811 cat >>confdefs.h <<_ACEOF
75812 #define HAVE_FINITEF 1
75813 _ACEOF
75816 done
75818 else
75820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75821 $as_echo_n "checking for _finitef declaration... " >&6; }
75822 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75823 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75824 $as_echo_n "(cached) " >&6
75825 else
75828 ac_ext=cpp
75829 ac_cpp='$CXXCPP $CPPFLAGS'
75830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <math.h>
75837 #ifdef HAVE_IEEEFP_H
75838 #include <ieeefp.h>
75839 #endif
75842 main ()
75844 _finitef(0);
75846 return 0;
75848 _ACEOF
75849 if ac_fn_cxx_try_compile "$LINENO"; then :
75850 glibcxx_cv_func__finitef_use=yes
75851 else
75852 glibcxx_cv_func__finitef_use=no
75854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75855 ac_ext=c
75856 ac_cpp='$CPP $CPPFLAGS'
75857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75866 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75868 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75869 for ac_func in _finitef
75870 do :
75871 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75872 if test "x$ac_cv_func__finitef" = x""yes; then :
75873 cat >>confdefs.h <<_ACEOF
75874 #define HAVE__FINITEF 1
75875 _ACEOF
75878 done
75887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75888 $as_echo_n "checking for long double trig functions... " >&6; }
75889 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75890 $as_echo_n "(cached) " >&6
75891 else
75894 ac_ext=cpp
75895 ac_cpp='$CXXCPP $CPPFLAGS'
75896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75901 /* end confdefs.h. */
75902 #include <math.h>
75904 main ()
75906 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75908 return 0;
75910 _ACEOF
75911 if ac_fn_cxx_try_compile "$LINENO"; then :
75912 glibcxx_cv_func_long_double_trig_use=yes
75913 else
75914 glibcxx_cv_func_long_double_trig_use=no
75916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75917 ac_ext=c
75918 ac_cpp='$CPP $CPPFLAGS'
75919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75926 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75927 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75928 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75929 do :
75930 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75931 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75932 eval as_val=\$$as_ac_var
75933 if test "x$as_val" = x""yes; then :
75934 cat >>confdefs.h <<_ACEOF
75935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75936 _ACEOF
75939 done
75941 else
75942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75943 $as_echo_n "checking for _long double trig functions... " >&6; }
75944 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75945 $as_echo_n "(cached) " >&6
75946 else
75949 ac_ext=cpp
75950 ac_cpp='$CXXCPP $CPPFLAGS'
75951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75956 /* end confdefs.h. */
75957 #include <math.h>
75959 main ()
75961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75963 return 0;
75965 _ACEOF
75966 if ac_fn_cxx_try_compile "$LINENO"; then :
75967 glibcxx_cv_func__long_double_trig_use=yes
75968 else
75969 glibcxx_cv_func__long_double_trig_use=no
75971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75972 ac_ext=c
75973 ac_cpp='$CPP $CPPFLAGS'
75974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75982 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75983 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75984 do :
75985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75987 eval as_val=\$$as_ac_var
75988 if test "x$as_val" = x""yes; then :
75989 cat >>confdefs.h <<_ACEOF
75990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75991 _ACEOF
75994 done
76003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76004 $as_echo_n "checking for long double round functions... " >&6; }
76005 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
76006 $as_echo_n "(cached) " >&6
76007 else
76010 ac_ext=cpp
76011 ac_cpp='$CXXCPP $CPPFLAGS'
76012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76017 /* end confdefs.h. */
76018 #include <math.h>
76020 main ()
76022 ceill (0); floorl (0);
76024 return 0;
76026 _ACEOF
76027 if ac_fn_cxx_try_compile "$LINENO"; then :
76028 glibcxx_cv_func_long_double_round_use=yes
76029 else
76030 glibcxx_cv_func_long_double_round_use=no
76032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76033 ac_ext=c
76034 ac_cpp='$CPP $CPPFLAGS'
76035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76042 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76043 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76044 for ac_func in ceill floorl
76045 do :
76046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76048 eval as_val=\$$as_ac_var
76049 if test "x$as_val" = x""yes; then :
76050 cat >>confdefs.h <<_ACEOF
76051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76052 _ACEOF
76055 done
76057 else
76058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76059 $as_echo_n "checking for _long double round functions... " >&6; }
76060 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
76061 $as_echo_n "(cached) " >&6
76062 else
76065 ac_ext=cpp
76066 ac_cpp='$CXXCPP $CPPFLAGS'
76067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76072 /* end confdefs.h. */
76073 #include <math.h>
76075 main ()
76077 _ceill (0); _floorl (0);
76079 return 0;
76081 _ACEOF
76082 if ac_fn_cxx_try_compile "$LINENO"; then :
76083 glibcxx_cv_func__long_double_round_use=yes
76084 else
76085 glibcxx_cv_func__long_double_round_use=no
76087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76088 ac_ext=c
76089 ac_cpp='$CPP $CPPFLAGS'
76090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76097 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76098 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76099 for ac_func in _ceill _floorl
76100 do :
76101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76103 eval as_val=\$$as_ac_var
76104 if test "x$as_val" = x""yes; then :
76105 cat >>confdefs.h <<_ACEOF
76106 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76107 _ACEOF
76110 done
76120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76121 $as_echo_n "checking for isnanl declaration... " >&6; }
76122 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76123 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
76124 $as_echo_n "(cached) " >&6
76125 else
76128 ac_ext=cpp
76129 ac_cpp='$CXXCPP $CPPFLAGS'
76130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76135 /* end confdefs.h. */
76136 #include <math.h>
76137 #ifdef HAVE_IEEEFP_H
76138 #include <ieeefp.h>
76139 #endif
76142 main ()
76144 isnanl(0);
76146 return 0;
76148 _ACEOF
76149 if ac_fn_cxx_try_compile "$LINENO"; then :
76150 glibcxx_cv_func_isnanl_use=yes
76151 else
76152 glibcxx_cv_func_isnanl_use=no
76154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76155 ac_ext=c
76156 ac_cpp='$CPP $CPPFLAGS'
76157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76166 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76168 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76169 for ac_func in isnanl
76170 do :
76171 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76172 if test "x$ac_cv_func_isnanl" = x""yes; then :
76173 cat >>confdefs.h <<_ACEOF
76174 #define HAVE_ISNANL 1
76175 _ACEOF
76178 done
76180 else
76182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76183 $as_echo_n "checking for _isnanl declaration... " >&6; }
76184 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76185 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
76186 $as_echo_n "(cached) " >&6
76187 else
76190 ac_ext=cpp
76191 ac_cpp='$CXXCPP $CPPFLAGS'
76192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76197 /* end confdefs.h. */
76198 #include <math.h>
76199 #ifdef HAVE_IEEEFP_H
76200 #include <ieeefp.h>
76201 #endif
76204 main ()
76206 _isnanl(0);
76208 return 0;
76210 _ACEOF
76211 if ac_fn_cxx_try_compile "$LINENO"; then :
76212 glibcxx_cv_func__isnanl_use=yes
76213 else
76214 glibcxx_cv_func__isnanl_use=no
76216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76217 ac_ext=c
76218 ac_cpp='$CPP $CPPFLAGS'
76219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76228 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76230 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76231 for ac_func in _isnanl
76232 do :
76233 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76234 if test "x$ac_cv_func__isnanl" = x""yes; then :
76235 cat >>confdefs.h <<_ACEOF
76236 #define HAVE__ISNANL 1
76237 _ACEOF
76240 done
76249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76250 $as_echo_n "checking for isinfl declaration... " >&6; }
76251 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76252 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76253 $as_echo_n "(cached) " >&6
76254 else
76257 ac_ext=cpp
76258 ac_cpp='$CXXCPP $CPPFLAGS'
76259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76264 /* end confdefs.h. */
76265 #include <math.h>
76266 #ifdef HAVE_IEEEFP_H
76267 #include <ieeefp.h>
76268 #endif
76271 main ()
76273 isinfl(0);
76275 return 0;
76277 _ACEOF
76278 if ac_fn_cxx_try_compile "$LINENO"; then :
76279 glibcxx_cv_func_isinfl_use=yes
76280 else
76281 glibcxx_cv_func_isinfl_use=no
76283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76284 ac_ext=c
76285 ac_cpp='$CPP $CPPFLAGS'
76286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76295 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76297 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76298 for ac_func in isinfl
76299 do :
76300 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76301 if test "x$ac_cv_func_isinfl" = x""yes; then :
76302 cat >>confdefs.h <<_ACEOF
76303 #define HAVE_ISINFL 1
76304 _ACEOF
76307 done
76309 else
76311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76312 $as_echo_n "checking for _isinfl declaration... " >&6; }
76313 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76314 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76315 $as_echo_n "(cached) " >&6
76316 else
76319 ac_ext=cpp
76320 ac_cpp='$CXXCPP $CPPFLAGS'
76321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76326 /* end confdefs.h. */
76327 #include <math.h>
76328 #ifdef HAVE_IEEEFP_H
76329 #include <ieeefp.h>
76330 #endif
76333 main ()
76335 _isinfl(0);
76337 return 0;
76339 _ACEOF
76340 if ac_fn_cxx_try_compile "$LINENO"; then :
76341 glibcxx_cv_func__isinfl_use=yes
76342 else
76343 glibcxx_cv_func__isinfl_use=no
76345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76346 ac_ext=c
76347 ac_cpp='$CPP $CPPFLAGS'
76348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76357 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76359 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76360 for ac_func in _isinfl
76361 do :
76362 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76363 if test "x$ac_cv_func__isinfl" = x""yes; then :
76364 cat >>confdefs.h <<_ACEOF
76365 #define HAVE__ISINFL 1
76366 _ACEOF
76369 done
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76379 $as_echo_n "checking for atan2l declaration... " >&6; }
76380 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76381 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76382 $as_echo_n "(cached) " >&6
76383 else
76386 ac_ext=cpp
76387 ac_cpp='$CXXCPP $CPPFLAGS'
76388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76393 /* end confdefs.h. */
76394 #include <math.h>
76396 main ()
76398 atan2l(0, 0);
76400 return 0;
76402 _ACEOF
76403 if ac_fn_cxx_try_compile "$LINENO"; then :
76404 glibcxx_cv_func_atan2l_use=yes
76405 else
76406 glibcxx_cv_func_atan2l_use=no
76408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76409 ac_ext=c
76410 ac_cpp='$CPP $CPPFLAGS'
76411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76420 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76422 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76423 for ac_func in atan2l
76424 do :
76425 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76426 if test "x$ac_cv_func_atan2l" = x""yes; then :
76427 cat >>confdefs.h <<_ACEOF
76428 #define HAVE_ATAN2L 1
76429 _ACEOF
76432 done
76434 else
76436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76437 $as_echo_n "checking for _atan2l declaration... " >&6; }
76438 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76439 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76440 $as_echo_n "(cached) " >&6
76441 else
76444 ac_ext=cpp
76445 ac_cpp='$CXXCPP $CPPFLAGS'
76446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76451 /* end confdefs.h. */
76452 #include <math.h>
76454 main ()
76456 _atan2l(0, 0);
76458 return 0;
76460 _ACEOF
76461 if ac_fn_cxx_try_compile "$LINENO"; then :
76462 glibcxx_cv_func__atan2l_use=yes
76463 else
76464 glibcxx_cv_func__atan2l_use=no
76466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76467 ac_ext=c
76468 ac_cpp='$CPP $CPPFLAGS'
76469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76478 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76480 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76481 for ac_func in _atan2l
76482 do :
76483 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76484 if test "x$ac_cv_func__atan2l" = x""yes; then :
76485 cat >>confdefs.h <<_ACEOF
76486 #define HAVE__ATAN2L 1
76487 _ACEOF
76490 done
76499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76500 $as_echo_n "checking for expl declaration... " >&6; }
76501 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76502 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76503 $as_echo_n "(cached) " >&6
76504 else
76507 ac_ext=cpp
76508 ac_cpp='$CXXCPP $CPPFLAGS'
76509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76514 /* end confdefs.h. */
76515 #include <math.h>
76516 #ifdef HAVE_IEEEFP_H
76517 #include <ieeefp.h>
76518 #endif
76521 main ()
76523 expl(0);
76525 return 0;
76527 _ACEOF
76528 if ac_fn_cxx_try_compile "$LINENO"; then :
76529 glibcxx_cv_func_expl_use=yes
76530 else
76531 glibcxx_cv_func_expl_use=no
76533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76534 ac_ext=c
76535 ac_cpp='$CPP $CPPFLAGS'
76536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76545 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76547 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76548 for ac_func in expl
76549 do :
76550 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76551 if test "x$ac_cv_func_expl" = x""yes; then :
76552 cat >>confdefs.h <<_ACEOF
76553 #define HAVE_EXPL 1
76554 _ACEOF
76557 done
76559 else
76561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76562 $as_echo_n "checking for _expl declaration... " >&6; }
76563 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76564 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76565 $as_echo_n "(cached) " >&6
76566 else
76569 ac_ext=cpp
76570 ac_cpp='$CXXCPP $CPPFLAGS'
76571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76576 /* end confdefs.h. */
76577 #include <math.h>
76578 #ifdef HAVE_IEEEFP_H
76579 #include <ieeefp.h>
76580 #endif
76583 main ()
76585 _expl(0);
76587 return 0;
76589 _ACEOF
76590 if ac_fn_cxx_try_compile "$LINENO"; then :
76591 glibcxx_cv_func__expl_use=yes
76592 else
76593 glibcxx_cv_func__expl_use=no
76595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76596 ac_ext=c
76597 ac_cpp='$CPP $CPPFLAGS'
76598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76607 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76609 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76610 for ac_func in _expl
76611 do :
76612 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76613 if test "x$ac_cv_func__expl" = x""yes; then :
76614 cat >>confdefs.h <<_ACEOF
76615 #define HAVE__EXPL 1
76616 _ACEOF
76619 done
76628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76629 $as_echo_n "checking for fabsl declaration... " >&6; }
76630 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76631 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76632 $as_echo_n "(cached) " >&6
76633 else
76636 ac_ext=cpp
76637 ac_cpp='$CXXCPP $CPPFLAGS'
76638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76643 /* end confdefs.h. */
76644 #include <math.h>
76645 #ifdef HAVE_IEEEFP_H
76646 #include <ieeefp.h>
76647 #endif
76650 main ()
76652 fabsl(0);
76654 return 0;
76656 _ACEOF
76657 if ac_fn_cxx_try_compile "$LINENO"; then :
76658 glibcxx_cv_func_fabsl_use=yes
76659 else
76660 glibcxx_cv_func_fabsl_use=no
76662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76663 ac_ext=c
76664 ac_cpp='$CPP $CPPFLAGS'
76665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76674 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76676 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76677 for ac_func in fabsl
76678 do :
76679 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76680 if test "x$ac_cv_func_fabsl" = x""yes; then :
76681 cat >>confdefs.h <<_ACEOF
76682 #define HAVE_FABSL 1
76683 _ACEOF
76686 done
76688 else
76690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76691 $as_echo_n "checking for _fabsl declaration... " >&6; }
76692 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76693 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76694 $as_echo_n "(cached) " >&6
76695 else
76698 ac_ext=cpp
76699 ac_cpp='$CXXCPP $CPPFLAGS'
76700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76705 /* end confdefs.h. */
76706 #include <math.h>
76707 #ifdef HAVE_IEEEFP_H
76708 #include <ieeefp.h>
76709 #endif
76712 main ()
76714 _fabsl(0);
76716 return 0;
76718 _ACEOF
76719 if ac_fn_cxx_try_compile "$LINENO"; then :
76720 glibcxx_cv_func__fabsl_use=yes
76721 else
76722 glibcxx_cv_func__fabsl_use=no
76724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76725 ac_ext=c
76726 ac_cpp='$CPP $CPPFLAGS'
76727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76736 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76738 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76739 for ac_func in _fabsl
76740 do :
76741 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76742 if test "x$ac_cv_func__fabsl" = x""yes; then :
76743 cat >>confdefs.h <<_ACEOF
76744 #define HAVE__FABSL 1
76745 _ACEOF
76748 done
76757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76758 $as_echo_n "checking for fmodl declaration... " >&6; }
76759 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76760 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76761 $as_echo_n "(cached) " >&6
76762 else
76765 ac_ext=cpp
76766 ac_cpp='$CXXCPP $CPPFLAGS'
76767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76772 /* end confdefs.h. */
76773 #include <math.h>
76775 main ()
76777 fmodl(0, 0);
76779 return 0;
76781 _ACEOF
76782 if ac_fn_cxx_try_compile "$LINENO"; then :
76783 glibcxx_cv_func_fmodl_use=yes
76784 else
76785 glibcxx_cv_func_fmodl_use=no
76787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76788 ac_ext=c
76789 ac_cpp='$CPP $CPPFLAGS'
76790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76799 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76801 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76802 for ac_func in fmodl
76803 do :
76804 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76805 if test "x$ac_cv_func_fmodl" = x""yes; then :
76806 cat >>confdefs.h <<_ACEOF
76807 #define HAVE_FMODL 1
76808 _ACEOF
76811 done
76813 else
76815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76816 $as_echo_n "checking for _fmodl declaration... " >&6; }
76817 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76818 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76819 $as_echo_n "(cached) " >&6
76820 else
76823 ac_ext=cpp
76824 ac_cpp='$CXXCPP $CPPFLAGS'
76825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76830 /* end confdefs.h. */
76831 #include <math.h>
76833 main ()
76835 _fmodl(0, 0);
76837 return 0;
76839 _ACEOF
76840 if ac_fn_cxx_try_compile "$LINENO"; then :
76841 glibcxx_cv_func__fmodl_use=yes
76842 else
76843 glibcxx_cv_func__fmodl_use=no
76845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76846 ac_ext=c
76847 ac_cpp='$CPP $CPPFLAGS'
76848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76857 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76859 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76860 for ac_func in _fmodl
76861 do :
76862 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76863 if test "x$ac_cv_func__fmodl" = x""yes; then :
76864 cat >>confdefs.h <<_ACEOF
76865 #define HAVE__FMODL 1
76866 _ACEOF
76869 done
76878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76879 $as_echo_n "checking for frexpl declaration... " >&6; }
76880 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76881 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76882 $as_echo_n "(cached) " >&6
76883 else
76886 ac_ext=cpp
76887 ac_cpp='$CXXCPP $CPPFLAGS'
76888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76893 /* end confdefs.h. */
76894 #include <math.h>
76896 main ()
76898 frexpl(0, 0);
76900 return 0;
76902 _ACEOF
76903 if ac_fn_cxx_try_compile "$LINENO"; then :
76904 glibcxx_cv_func_frexpl_use=yes
76905 else
76906 glibcxx_cv_func_frexpl_use=no
76908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76909 ac_ext=c
76910 ac_cpp='$CPP $CPPFLAGS'
76911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76920 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76922 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76923 for ac_func in frexpl
76924 do :
76925 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76926 if test "x$ac_cv_func_frexpl" = x""yes; then :
76927 cat >>confdefs.h <<_ACEOF
76928 #define HAVE_FREXPL 1
76929 _ACEOF
76932 done
76934 else
76936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76937 $as_echo_n "checking for _frexpl declaration... " >&6; }
76938 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76939 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76940 $as_echo_n "(cached) " >&6
76941 else
76944 ac_ext=cpp
76945 ac_cpp='$CXXCPP $CPPFLAGS'
76946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76951 /* end confdefs.h. */
76952 #include <math.h>
76954 main ()
76956 _frexpl(0, 0);
76958 return 0;
76960 _ACEOF
76961 if ac_fn_cxx_try_compile "$LINENO"; then :
76962 glibcxx_cv_func__frexpl_use=yes
76963 else
76964 glibcxx_cv_func__frexpl_use=no
76966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76967 ac_ext=c
76968 ac_cpp='$CPP $CPPFLAGS'
76969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76978 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76980 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76981 for ac_func in _frexpl
76982 do :
76983 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76984 if test "x$ac_cv_func__frexpl" = x""yes; then :
76985 cat >>confdefs.h <<_ACEOF
76986 #define HAVE__FREXPL 1
76987 _ACEOF
76990 done
76999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77000 $as_echo_n "checking for hypotl declaration... " >&6; }
77001 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77002 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
77003 $as_echo_n "(cached) " >&6
77004 else
77007 ac_ext=cpp
77008 ac_cpp='$CXXCPP $CPPFLAGS'
77009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77014 /* end confdefs.h. */
77015 #include <math.h>
77017 main ()
77019 hypotl(0, 0);
77021 return 0;
77023 _ACEOF
77024 if ac_fn_cxx_try_compile "$LINENO"; then :
77025 glibcxx_cv_func_hypotl_use=yes
77026 else
77027 glibcxx_cv_func_hypotl_use=no
77029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77030 ac_ext=c
77031 ac_cpp='$CPP $CPPFLAGS'
77032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77041 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77043 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77044 for ac_func in hypotl
77045 do :
77046 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77047 if test "x$ac_cv_func_hypotl" = x""yes; then :
77048 cat >>confdefs.h <<_ACEOF
77049 #define HAVE_HYPOTL 1
77050 _ACEOF
77053 done
77055 else
77057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77058 $as_echo_n "checking for _hypotl declaration... " >&6; }
77059 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77060 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
77061 $as_echo_n "(cached) " >&6
77062 else
77065 ac_ext=cpp
77066 ac_cpp='$CXXCPP $CPPFLAGS'
77067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77072 /* end confdefs.h. */
77073 #include <math.h>
77075 main ()
77077 _hypotl(0, 0);
77079 return 0;
77081 _ACEOF
77082 if ac_fn_cxx_try_compile "$LINENO"; then :
77083 glibcxx_cv_func__hypotl_use=yes
77084 else
77085 glibcxx_cv_func__hypotl_use=no
77087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77088 ac_ext=c
77089 ac_cpp='$CPP $CPPFLAGS'
77090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77099 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77101 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77102 for ac_func in _hypotl
77103 do :
77104 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77105 if test "x$ac_cv_func__hypotl" = x""yes; then :
77106 cat >>confdefs.h <<_ACEOF
77107 #define HAVE__HYPOTL 1
77108 _ACEOF
77111 done
77120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77121 $as_echo_n "checking for ldexpl declaration... " >&6; }
77122 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77123 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
77124 $as_echo_n "(cached) " >&6
77125 else
77128 ac_ext=cpp
77129 ac_cpp='$CXXCPP $CPPFLAGS'
77130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77135 /* end confdefs.h. */
77136 #include <math.h>
77138 main ()
77140 ldexpl(0, 0);
77142 return 0;
77144 _ACEOF
77145 if ac_fn_cxx_try_compile "$LINENO"; then :
77146 glibcxx_cv_func_ldexpl_use=yes
77147 else
77148 glibcxx_cv_func_ldexpl_use=no
77150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77151 ac_ext=c
77152 ac_cpp='$CPP $CPPFLAGS'
77153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77162 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77164 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77165 for ac_func in ldexpl
77166 do :
77167 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77168 if test "x$ac_cv_func_ldexpl" = x""yes; then :
77169 cat >>confdefs.h <<_ACEOF
77170 #define HAVE_LDEXPL 1
77171 _ACEOF
77174 done
77176 else
77178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77179 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77180 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77181 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
77182 $as_echo_n "(cached) " >&6
77183 else
77186 ac_ext=cpp
77187 ac_cpp='$CXXCPP $CPPFLAGS'
77188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77193 /* end confdefs.h. */
77194 #include <math.h>
77196 main ()
77198 _ldexpl(0, 0);
77200 return 0;
77202 _ACEOF
77203 if ac_fn_cxx_try_compile "$LINENO"; then :
77204 glibcxx_cv_func__ldexpl_use=yes
77205 else
77206 glibcxx_cv_func__ldexpl_use=no
77208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77209 ac_ext=c
77210 ac_cpp='$CPP $CPPFLAGS'
77211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77220 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77222 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77223 for ac_func in _ldexpl
77224 do :
77225 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77226 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77227 cat >>confdefs.h <<_ACEOF
77228 #define HAVE__LDEXPL 1
77229 _ACEOF
77232 done
77241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77242 $as_echo_n "checking for logl declaration... " >&6; }
77243 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77244 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77245 $as_echo_n "(cached) " >&6
77246 else
77249 ac_ext=cpp
77250 ac_cpp='$CXXCPP $CPPFLAGS'
77251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77256 /* end confdefs.h. */
77257 #include <math.h>
77258 #ifdef HAVE_IEEEFP_H
77259 #include <ieeefp.h>
77260 #endif
77263 main ()
77265 logl(0);
77267 return 0;
77269 _ACEOF
77270 if ac_fn_cxx_try_compile "$LINENO"; then :
77271 glibcxx_cv_func_logl_use=yes
77272 else
77273 glibcxx_cv_func_logl_use=no
77275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77276 ac_ext=c
77277 ac_cpp='$CPP $CPPFLAGS'
77278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77287 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77289 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77290 for ac_func in logl
77291 do :
77292 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77293 if test "x$ac_cv_func_logl" = x""yes; then :
77294 cat >>confdefs.h <<_ACEOF
77295 #define HAVE_LOGL 1
77296 _ACEOF
77299 done
77301 else
77303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77304 $as_echo_n "checking for _logl declaration... " >&6; }
77305 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77306 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77307 $as_echo_n "(cached) " >&6
77308 else
77311 ac_ext=cpp
77312 ac_cpp='$CXXCPP $CPPFLAGS'
77313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77318 /* end confdefs.h. */
77319 #include <math.h>
77320 #ifdef HAVE_IEEEFP_H
77321 #include <ieeefp.h>
77322 #endif
77325 main ()
77327 _logl(0);
77329 return 0;
77331 _ACEOF
77332 if ac_fn_cxx_try_compile "$LINENO"; then :
77333 glibcxx_cv_func__logl_use=yes
77334 else
77335 glibcxx_cv_func__logl_use=no
77337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77338 ac_ext=c
77339 ac_cpp='$CPP $CPPFLAGS'
77340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77349 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77351 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77352 for ac_func in _logl
77353 do :
77354 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77355 if test "x$ac_cv_func__logl" = x""yes; then :
77356 cat >>confdefs.h <<_ACEOF
77357 #define HAVE__LOGL 1
77358 _ACEOF
77361 done
77370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77371 $as_echo_n "checking for log10l declaration... " >&6; }
77372 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77373 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77374 $as_echo_n "(cached) " >&6
77375 else
77378 ac_ext=cpp
77379 ac_cpp='$CXXCPP $CPPFLAGS'
77380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77385 /* end confdefs.h. */
77386 #include <math.h>
77387 #ifdef HAVE_IEEEFP_H
77388 #include <ieeefp.h>
77389 #endif
77392 main ()
77394 log10l(0);
77396 return 0;
77398 _ACEOF
77399 if ac_fn_cxx_try_compile "$LINENO"; then :
77400 glibcxx_cv_func_log10l_use=yes
77401 else
77402 glibcxx_cv_func_log10l_use=no
77404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77405 ac_ext=c
77406 ac_cpp='$CPP $CPPFLAGS'
77407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77416 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77418 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77419 for ac_func in log10l
77420 do :
77421 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77422 if test "x$ac_cv_func_log10l" = x""yes; then :
77423 cat >>confdefs.h <<_ACEOF
77424 #define HAVE_LOG10L 1
77425 _ACEOF
77428 done
77430 else
77432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77433 $as_echo_n "checking for _log10l declaration... " >&6; }
77434 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77435 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77436 $as_echo_n "(cached) " >&6
77437 else
77440 ac_ext=cpp
77441 ac_cpp='$CXXCPP $CPPFLAGS'
77442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77447 /* end confdefs.h. */
77448 #include <math.h>
77449 #ifdef HAVE_IEEEFP_H
77450 #include <ieeefp.h>
77451 #endif
77454 main ()
77456 _log10l(0);
77458 return 0;
77460 _ACEOF
77461 if ac_fn_cxx_try_compile "$LINENO"; then :
77462 glibcxx_cv_func__log10l_use=yes
77463 else
77464 glibcxx_cv_func__log10l_use=no
77466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77467 ac_ext=c
77468 ac_cpp='$CPP $CPPFLAGS'
77469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77478 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77480 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77481 for ac_func in _log10l
77482 do :
77483 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77484 if test "x$ac_cv_func__log10l" = x""yes; then :
77485 cat >>confdefs.h <<_ACEOF
77486 #define HAVE__LOG10L 1
77487 _ACEOF
77490 done
77499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77500 $as_echo_n "checking for modfl declaration... " >&6; }
77501 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77502 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77503 $as_echo_n "(cached) " >&6
77504 else
77507 ac_ext=cpp
77508 ac_cpp='$CXXCPP $CPPFLAGS'
77509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77514 /* end confdefs.h. */
77515 #include <math.h>
77517 main ()
77519 modfl(0, 0);
77521 return 0;
77523 _ACEOF
77524 if ac_fn_cxx_try_compile "$LINENO"; then :
77525 glibcxx_cv_func_modfl_use=yes
77526 else
77527 glibcxx_cv_func_modfl_use=no
77529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77530 ac_ext=c
77531 ac_cpp='$CPP $CPPFLAGS'
77532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77541 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77543 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77544 for ac_func in modfl
77545 do :
77546 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77547 if test "x$ac_cv_func_modfl" = x""yes; then :
77548 cat >>confdefs.h <<_ACEOF
77549 #define HAVE_MODFL 1
77550 _ACEOF
77553 done
77555 else
77557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77558 $as_echo_n "checking for _modfl declaration... " >&6; }
77559 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77560 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77561 $as_echo_n "(cached) " >&6
77562 else
77565 ac_ext=cpp
77566 ac_cpp='$CXXCPP $CPPFLAGS'
77567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77572 /* end confdefs.h. */
77573 #include <math.h>
77575 main ()
77577 _modfl(0, 0);
77579 return 0;
77581 _ACEOF
77582 if ac_fn_cxx_try_compile "$LINENO"; then :
77583 glibcxx_cv_func__modfl_use=yes
77584 else
77585 glibcxx_cv_func__modfl_use=no
77587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77588 ac_ext=c
77589 ac_cpp='$CPP $CPPFLAGS'
77590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77599 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77601 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77602 for ac_func in _modfl
77603 do :
77604 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77605 if test "x$ac_cv_func__modfl" = x""yes; then :
77606 cat >>confdefs.h <<_ACEOF
77607 #define HAVE__MODFL 1
77608 _ACEOF
77611 done
77620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77621 $as_echo_n "checking for powl declaration... " >&6; }
77622 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77623 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77624 $as_echo_n "(cached) " >&6
77625 else
77628 ac_ext=cpp
77629 ac_cpp='$CXXCPP $CPPFLAGS'
77630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77635 /* end confdefs.h. */
77636 #include <math.h>
77638 main ()
77640 powl(0, 0);
77642 return 0;
77644 _ACEOF
77645 if ac_fn_cxx_try_compile "$LINENO"; then :
77646 glibcxx_cv_func_powl_use=yes
77647 else
77648 glibcxx_cv_func_powl_use=no
77650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77651 ac_ext=c
77652 ac_cpp='$CPP $CPPFLAGS'
77653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77662 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77664 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77665 for ac_func in powl
77666 do :
77667 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77668 if test "x$ac_cv_func_powl" = x""yes; then :
77669 cat >>confdefs.h <<_ACEOF
77670 #define HAVE_POWL 1
77671 _ACEOF
77674 done
77676 else
77678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77679 $as_echo_n "checking for _powl declaration... " >&6; }
77680 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77681 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77682 $as_echo_n "(cached) " >&6
77683 else
77686 ac_ext=cpp
77687 ac_cpp='$CXXCPP $CPPFLAGS'
77688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77693 /* end confdefs.h. */
77694 #include <math.h>
77696 main ()
77698 _powl(0, 0);
77700 return 0;
77702 _ACEOF
77703 if ac_fn_cxx_try_compile "$LINENO"; then :
77704 glibcxx_cv_func__powl_use=yes
77705 else
77706 glibcxx_cv_func__powl_use=no
77708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77709 ac_ext=c
77710 ac_cpp='$CPP $CPPFLAGS'
77711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77720 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77722 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77723 for ac_func in _powl
77724 do :
77725 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77726 if test "x$ac_cv_func__powl" = x""yes; then :
77727 cat >>confdefs.h <<_ACEOF
77728 #define HAVE__POWL 1
77729 _ACEOF
77732 done
77741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77742 $as_echo_n "checking for sqrtl declaration... " >&6; }
77743 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77744 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77745 $as_echo_n "(cached) " >&6
77746 else
77749 ac_ext=cpp
77750 ac_cpp='$CXXCPP $CPPFLAGS'
77751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77756 /* end confdefs.h. */
77757 #include <math.h>
77758 #ifdef HAVE_IEEEFP_H
77759 #include <ieeefp.h>
77760 #endif
77763 main ()
77765 sqrtl(0);
77767 return 0;
77769 _ACEOF
77770 if ac_fn_cxx_try_compile "$LINENO"; then :
77771 glibcxx_cv_func_sqrtl_use=yes
77772 else
77773 glibcxx_cv_func_sqrtl_use=no
77775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77776 ac_ext=c
77777 ac_cpp='$CPP $CPPFLAGS'
77778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77787 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77789 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77790 for ac_func in sqrtl
77791 do :
77792 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77793 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77794 cat >>confdefs.h <<_ACEOF
77795 #define HAVE_SQRTL 1
77796 _ACEOF
77799 done
77801 else
77803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77804 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77805 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77806 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77807 $as_echo_n "(cached) " >&6
77808 else
77811 ac_ext=cpp
77812 ac_cpp='$CXXCPP $CPPFLAGS'
77813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77818 /* end confdefs.h. */
77819 #include <math.h>
77820 #ifdef HAVE_IEEEFP_H
77821 #include <ieeefp.h>
77822 #endif
77825 main ()
77827 _sqrtl(0);
77829 return 0;
77831 _ACEOF
77832 if ac_fn_cxx_try_compile "$LINENO"; then :
77833 glibcxx_cv_func__sqrtl_use=yes
77834 else
77835 glibcxx_cv_func__sqrtl_use=no
77837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77838 ac_ext=c
77839 ac_cpp='$CPP $CPPFLAGS'
77840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77849 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77851 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77852 for ac_func in _sqrtl
77853 do :
77854 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77855 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77856 cat >>confdefs.h <<_ACEOF
77857 #define HAVE__SQRTL 1
77858 _ACEOF
77861 done
77870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77871 $as_echo_n "checking for sincosl declaration... " >&6; }
77872 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77873 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77874 $as_echo_n "(cached) " >&6
77875 else
77878 ac_ext=cpp
77879 ac_cpp='$CXXCPP $CPPFLAGS'
77880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77885 /* end confdefs.h. */
77886 #include <math.h>
77888 main ()
77890 sincosl(0, 0, 0);
77892 return 0;
77894 _ACEOF
77895 if ac_fn_cxx_try_compile "$LINENO"; then :
77896 glibcxx_cv_func_sincosl_use=yes
77897 else
77898 glibcxx_cv_func_sincosl_use=no
77900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77901 ac_ext=c
77902 ac_cpp='$CPP $CPPFLAGS'
77903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77912 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77914 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77915 for ac_func in sincosl
77916 do :
77917 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77918 if test "x$ac_cv_func_sincosl" = x""yes; then :
77919 cat >>confdefs.h <<_ACEOF
77920 #define HAVE_SINCOSL 1
77921 _ACEOF
77924 done
77926 else
77928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77929 $as_echo_n "checking for _sincosl declaration... " >&6; }
77930 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77931 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77932 $as_echo_n "(cached) " >&6
77933 else
77936 ac_ext=cpp
77937 ac_cpp='$CXXCPP $CPPFLAGS'
77938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77943 /* end confdefs.h. */
77944 #include <math.h>
77946 main ()
77948 _sincosl(0, 0, 0);
77950 return 0;
77952 _ACEOF
77953 if ac_fn_cxx_try_compile "$LINENO"; then :
77954 glibcxx_cv_func__sincosl_use=yes
77955 else
77956 glibcxx_cv_func__sincosl_use=no
77958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77959 ac_ext=c
77960 ac_cpp='$CPP $CPPFLAGS'
77961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77970 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77972 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77973 for ac_func in _sincosl
77974 do :
77975 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77976 if test "x$ac_cv_func__sincosl" = x""yes; then :
77977 cat >>confdefs.h <<_ACEOF
77978 #define HAVE__SINCOSL 1
77979 _ACEOF
77982 done
77991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77992 $as_echo_n "checking for finitel declaration... " >&6; }
77993 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77994 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77995 $as_echo_n "(cached) " >&6
77996 else
77999 ac_ext=cpp
78000 ac_cpp='$CXXCPP $CPPFLAGS'
78001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78006 /* end confdefs.h. */
78007 #include <math.h>
78008 #ifdef HAVE_IEEEFP_H
78009 #include <ieeefp.h>
78010 #endif
78013 main ()
78015 finitel(0);
78017 return 0;
78019 _ACEOF
78020 if ac_fn_cxx_try_compile "$LINENO"; then :
78021 glibcxx_cv_func_finitel_use=yes
78022 else
78023 glibcxx_cv_func_finitel_use=no
78025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78026 ac_ext=c
78027 ac_cpp='$CPP $CPPFLAGS'
78028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78037 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78039 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78040 for ac_func in finitel
78041 do :
78042 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78043 if test "x$ac_cv_func_finitel" = x""yes; then :
78044 cat >>confdefs.h <<_ACEOF
78045 #define HAVE_FINITEL 1
78046 _ACEOF
78049 done
78051 else
78053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78054 $as_echo_n "checking for _finitel declaration... " >&6; }
78055 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78056 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
78057 $as_echo_n "(cached) " >&6
78058 else
78061 ac_ext=cpp
78062 ac_cpp='$CXXCPP $CPPFLAGS'
78063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78068 /* end confdefs.h. */
78069 #include <math.h>
78070 #ifdef HAVE_IEEEFP_H
78071 #include <ieeefp.h>
78072 #endif
78075 main ()
78077 _finitel(0);
78079 return 0;
78081 _ACEOF
78082 if ac_fn_cxx_try_compile "$LINENO"; then :
78083 glibcxx_cv_func__finitel_use=yes
78084 else
78085 glibcxx_cv_func__finitel_use=no
78087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78088 ac_ext=c
78089 ac_cpp='$CPP $CPPFLAGS'
78090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78099 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78101 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78102 for ac_func in _finitel
78103 do :
78104 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78105 if test "x$ac_cv_func__finitel" = x""yes; then :
78106 cat >>confdefs.h <<_ACEOF
78107 #define HAVE__FINITEL 1
78108 _ACEOF
78111 done
78119 LIBS="$ac_save_LIBS"
78120 CXXFLAGS="$ac_save_CXXFLAGS"
78123 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78124 ac_save_CXXFLAGS="$CXXFLAGS"
78125 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78129 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78130 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78131 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
78132 $as_echo_n "(cached) " >&6
78133 else
78136 ac_ext=cpp
78137 ac_cpp='$CXXCPP $CPPFLAGS'
78138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78143 /* end confdefs.h. */
78144 #include <stdlib.h>
78146 main ()
78148 at_quick_exit(0);
78150 return 0;
78152 _ACEOF
78153 if ac_fn_cxx_try_compile "$LINENO"; then :
78154 glibcxx_cv_func_at_quick_exit_use=yes
78155 else
78156 glibcxx_cv_func_at_quick_exit_use=no
78158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78159 ac_ext=c
78160 ac_cpp='$CPP $CPPFLAGS'
78161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78170 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78171 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78172 for ac_func in at_quick_exit
78173 do :
78174 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78175 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
78176 cat >>confdefs.h <<_ACEOF
78177 #define HAVE_AT_QUICK_EXIT 1
78178 _ACEOF
78181 done
78186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78187 $as_echo_n "checking for quick_exit declaration... " >&6; }
78188 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78189 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
78190 $as_echo_n "(cached) " >&6
78191 else
78194 ac_ext=cpp
78195 ac_cpp='$CXXCPP $CPPFLAGS'
78196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78201 /* end confdefs.h. */
78202 #include <stdlib.h>
78204 main ()
78206 quick_exit(0);
78208 return 0;
78210 _ACEOF
78211 if ac_fn_cxx_try_compile "$LINENO"; then :
78212 glibcxx_cv_func_quick_exit_use=yes
78213 else
78214 glibcxx_cv_func_quick_exit_use=no
78216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78217 ac_ext=c
78218 ac_cpp='$CPP $CPPFLAGS'
78219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78228 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78229 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78230 for ac_func in quick_exit
78231 do :
78232 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78233 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78234 cat >>confdefs.h <<_ACEOF
78235 #define HAVE_QUICK_EXIT 1
78236 _ACEOF
78239 done
78244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78245 $as_echo_n "checking for strtold declaration... " >&6; }
78246 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78247 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78248 $as_echo_n "(cached) " >&6
78249 else
78252 ac_ext=cpp
78253 ac_cpp='$CXXCPP $CPPFLAGS'
78254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78259 /* end confdefs.h. */
78260 #include <stdlib.h>
78262 main ()
78264 strtold(0, 0);
78266 return 0;
78268 _ACEOF
78269 if ac_fn_cxx_try_compile "$LINENO"; then :
78270 glibcxx_cv_func_strtold_use=yes
78271 else
78272 glibcxx_cv_func_strtold_use=no
78274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78275 ac_ext=c
78276 ac_cpp='$CPP $CPPFLAGS'
78277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78286 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78287 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78288 for ac_func in strtold
78289 do :
78290 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78291 if test "x$ac_cv_func_strtold" = x""yes; then :
78292 cat >>confdefs.h <<_ACEOF
78293 #define HAVE_STRTOLD 1
78294 _ACEOF
78297 done
78304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78305 $as_echo_n "checking for strtof declaration... " >&6; }
78306 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78307 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78308 $as_echo_n "(cached) " >&6
78309 else
78312 ac_ext=cpp
78313 ac_cpp='$CXXCPP $CPPFLAGS'
78314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78319 /* end confdefs.h. */
78320 #include <stdlib.h>
78322 main ()
78324 strtof(0, 0);
78326 return 0;
78328 _ACEOF
78329 if ac_fn_cxx_try_compile "$LINENO"; then :
78330 glibcxx_cv_func_strtof_use=yes
78331 else
78332 glibcxx_cv_func_strtof_use=no
78334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78335 ac_ext=c
78336 ac_cpp='$CPP $CPPFLAGS'
78337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78346 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78347 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78348 for ac_func in strtof
78349 do :
78350 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78351 if test "x$ac_cv_func_strtof" = x""yes; then :
78352 cat >>confdefs.h <<_ACEOF
78353 #define HAVE_STRTOF 1
78354 _ACEOF
78357 done
78364 CXXFLAGS="$ac_save_CXXFLAGS"
78367 *-vxworks)
78368 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78370 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78372 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78374 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78376 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78378 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78380 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78382 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78384 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78386 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78388 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78390 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78392 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78394 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78396 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78398 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78400 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78402 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78404 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78406 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78410 as_fn_error "No support for this host/target combination." "$LINENO" 5
78412 esac
78416 # At some point, we should differentiate between architectures
78417 # like x86, which have long double versions, and alpha/powerpc/etc.,
78418 # which don't. For the time being, punt.
78419 if test x"long_double_math_on_this_cpu" = x"yes"; then
78420 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78422 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78424 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78426 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78428 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78430 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78432 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78434 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78436 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78438 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78440 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78442 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78444 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78446 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78448 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78450 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78452 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78454 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78456 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78458 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78460 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78462 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78464 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78469 # Check for _Unwind_GetIPInfo.
78472 # Check whether --with-system-libunwind was given.
78473 if test "${with_system_libunwind+set}" = set; then :
78474 withval=$with_system_libunwind;
78477 # If system-libunwind was not specifically set, pick a default setting.
78478 if test x$with_system_libunwind = x; then
78479 case ${target} in
78480 ia64-*-hpux*) with_system_libunwind=yes ;;
78481 *) with_system_libunwind=no ;;
78482 esac
78484 # Based on system-libunwind and target, do we have ipinfo?
78485 if test x$with_system_libunwind = xyes; then
78486 case ${target} in
78487 ia64-*-*) have_unwind_getipinfo=no ;;
78488 *) have_unwind_getipinfo=yes ;;
78489 esac
78490 else
78491 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78493 case ${target} in
78494 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78495 *) have_unwind_getipinfo=yes ;;
78496 esac
78500 if test x$have_unwind_getipinfo = xyes; then
78502 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78507 # Check whether --enable-linux-futex was given.
78508 if test "${enable_linux_futex+set}" = set; then :
78509 enableval=$enable_linux_futex;
78510 case "$enableval" in
78511 yes|no|default) ;;
78512 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78513 esac
78515 else
78516 enable_linux_futex=default
78520 case "$target" in
78521 *-linux*)
78522 case "$enable_linux_futex" in
78523 default)
78524 # If headers don't have gettid/futex syscalls definition, then
78525 # default to no, otherwise there will be compile time failures.
78526 # Otherwise, default to yes. If we don't detect we are
78527 # compiled/linked against NPTL and not cross-compiling, check
78528 # if programs are run by default against NPTL and if not, issue
78529 # a warning.
78530 enable_linux_futex=no
78531 if test x$gcc_no_link = xyes; then
78532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78535 /* end confdefs.h. */
78536 #include <sys/syscall.h>
78537 int lk;
78539 main ()
78541 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78543 return 0;
78545 _ACEOF
78546 if ac_fn_c_try_link "$LINENO"; then :
78547 save_LIBS="$LIBS"
78548 LIBS="-lpthread $LIBS"
78549 if test x$gcc_no_link = xyes; then
78550 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78553 /* end confdefs.h. */
78554 #ifndef _GNU_SOURCE
78555 #define _GNU_SOURCE 1
78556 #endif
78557 #include <pthread.h>
78558 pthread_t th; void *status;
78560 main ()
78562 pthread_tryjoin_np (th, &status);
78564 return 0;
78566 _ACEOF
78567 if ac_fn_c_try_link "$LINENO"; then :
78568 enable_linux_futex=yes
78569 else
78570 if test x$cross_compiling = xno; then
78571 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78572 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78574 If so, please configure with --disable-linux-futex" >&5
78575 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78576 If so, please configure with --disable-linux-futex" >&2;}
78579 enable_linux_futex=yes
78581 rm -f core conftest.err conftest.$ac_objext \
78582 conftest$ac_exeext conftest.$ac_ext
78583 LIBS="$save_LIBS"
78585 rm -f core conftest.err conftest.$ac_objext \
78586 conftest$ac_exeext conftest.$ac_ext
78588 yes)
78589 if test x$gcc_no_link = xyes; then
78590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78593 /* end confdefs.h. */
78594 #include <sys/syscall.h>
78595 int lk;
78597 main ()
78599 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78601 return 0;
78603 _ACEOF
78604 if ac_fn_c_try_link "$LINENO"; then :
78606 else
78607 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78609 rm -f core conftest.err conftest.$ac_objext \
78610 conftest$ac_exeext conftest.$ac_ext
78612 esac
78615 enable_linux_futex=no
78617 esac
78618 if test x$enable_linux_futex = xyes; then
78620 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78627 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78629 acx_cv_header_stdint=stddef.h
78630 acx_cv_header_stdint_kind="(already complete)"
78631 for i in stdint.h $inttype_headers; do
78632 unset ac_cv_type_uintptr_t
78633 unset ac_cv_type_uintmax_t
78634 unset ac_cv_type_int_least32_t
78635 unset ac_cv_type_int_fast32_t
78636 unset ac_cv_type_uint64_t
78637 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78638 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78639 #include <$i>
78641 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78642 acx_cv_header_stdint=$i
78643 else
78644 continue
78647 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78648 #include <$i>
78650 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78652 else
78653 acx_cv_header_stdint_kind="(mostly complete)"
78656 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78657 #include <$i>
78659 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78661 else
78662 acx_cv_header_stdint_kind="(mostly complete)"
78665 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78666 #include <$i>
78668 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78670 else
78671 acx_cv_header_stdint_kind="(mostly complete)"
78674 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78675 #include <$i>
78677 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78679 else
78680 acx_cv_header_stdint_kind="(lacks uint64_t)"
78683 break
78684 done
78685 if test "$acx_cv_header_stdint" = stddef.h; then
78686 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78687 for i in stdint.h $inttype_headers; do
78688 unset ac_cv_type_uintptr_t
78689 unset ac_cv_type_uint32_t
78690 unset ac_cv_type_uint64_t
78691 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78692 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78693 #include <$i>
78695 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78696 acx_cv_header_stdint=$i
78697 else
78698 continue
78701 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78702 #include <$i>
78704 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78708 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78709 #include <$i>
78711 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78715 break
78716 done
78718 if test "$acx_cv_header_stdint" = stddef.h; then
78719 acx_cv_header_stdint_kind="(u_intXX_t style)"
78720 for i in sys/types.h $inttype_headers; do
78721 unset ac_cv_type_u_int32_t
78722 unset ac_cv_type_u_int64_t
78723 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78724 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78725 #include <$i>
78727 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78728 acx_cv_header_stdint=$i
78729 else
78730 continue
78733 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78734 #include <$i>
78736 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78740 break
78741 done
78743 if test "$acx_cv_header_stdint" = stddef.h; then
78744 acx_cv_header_stdint_kind="(using manual detection)"
78747 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78748 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78749 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78750 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78751 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78753 # ----------------- Summarize what we found so far
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78756 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78758 case `$as_basename -- include/gstdint.h ||
78759 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78760 Xinclude/gstdint.h : 'X\(//\)$' \| \
78761 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78762 $as_echo X/include/gstdint.h |
78763 sed '/^.*\/\([^/][^/]*\)\/*$/{
78764 s//\1/
78767 /^X\/\(\/\/\)$/{
78768 s//\1/
78771 /^X\/\(\/\).*/{
78772 s//\1/
78775 s/.*/./; q'` in
78776 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78777 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78778 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78779 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78780 *) ;;
78781 esac
78783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78784 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78786 # ----------------- done included file, check C basic types --------
78788 # Lacking an uintptr_t? Test size of void *
78789 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78790 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78791 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78792 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78793 # This bug is HP SR number 8606223364.
78794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78795 $as_echo_n "checking size of void *... " >&6; }
78796 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78797 $as_echo_n "(cached) " >&6
78798 else
78799 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78801 else
78802 if test "$ac_cv_type_void_p" = yes; then
78803 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78805 { as_fn_set_status 77
78806 as_fn_error "cannot compute sizeof (void *)
78807 See \`config.log' for more details." "$LINENO" 5; }; }
78808 else
78809 ac_cv_sizeof_void_p=0
78814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78815 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78819 cat >>confdefs.h <<_ACEOF
78820 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78821 _ACEOF
78824 esac
78826 # Lacking an uint64_t? Test size of long
78827 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78828 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78831 # This bug is HP SR number 8606223364.
78832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78833 $as_echo_n "checking size of long... " >&6; }
78834 if test "${ac_cv_sizeof_long+set}" = set; then :
78835 $as_echo_n "(cached) " >&6
78836 else
78837 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78839 else
78840 if test "$ac_cv_type_long" = yes; then
78841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78843 { as_fn_set_status 77
78844 as_fn_error "cannot compute sizeof (long)
78845 See \`config.log' for more details." "$LINENO" 5; }; }
78846 else
78847 ac_cv_sizeof_long=0
78852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78853 $as_echo "$ac_cv_sizeof_long" >&6; }
78857 cat >>confdefs.h <<_ACEOF
78858 #define SIZEOF_LONG $ac_cv_sizeof_long
78859 _ACEOF
78862 esac
78864 if test $acx_cv_header_stdint = stddef.h; then
78865 # Lacking a good header? Test size of everything and deduce all types.
78866 # The cast to long int works around a bug in the HP C Compiler
78867 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78868 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78869 # This bug is HP SR number 8606223364.
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78871 $as_echo_n "checking size of int... " >&6; }
78872 if test "${ac_cv_sizeof_int+set}" = set; then :
78873 $as_echo_n "(cached) " >&6
78874 else
78875 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78877 else
78878 if test "$ac_cv_type_int" = yes; then
78879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78881 { as_fn_set_status 77
78882 as_fn_error "cannot compute sizeof (int)
78883 See \`config.log' for more details." "$LINENO" 5; }; }
78884 else
78885 ac_cv_sizeof_int=0
78890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78891 $as_echo "$ac_cv_sizeof_int" >&6; }
78895 cat >>confdefs.h <<_ACEOF
78896 #define SIZEOF_INT $ac_cv_sizeof_int
78897 _ACEOF
78900 # The cast to long int works around a bug in the HP C Compiler
78901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78902 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78903 # This bug is HP SR number 8606223364.
78904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78905 $as_echo_n "checking size of short... " >&6; }
78906 if test "${ac_cv_sizeof_short+set}" = set; then :
78907 $as_echo_n "(cached) " >&6
78908 else
78909 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78911 else
78912 if test "$ac_cv_type_short" = yes; then
78913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78915 { as_fn_set_status 77
78916 as_fn_error "cannot compute sizeof (short)
78917 See \`config.log' for more details." "$LINENO" 5; }; }
78918 else
78919 ac_cv_sizeof_short=0
78924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78925 $as_echo "$ac_cv_sizeof_short" >&6; }
78929 cat >>confdefs.h <<_ACEOF
78930 #define SIZEOF_SHORT $ac_cv_sizeof_short
78931 _ACEOF
78934 # The cast to long int works around a bug in the HP C Compiler
78935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78936 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78937 # This bug is HP SR number 8606223364.
78938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78939 $as_echo_n "checking size of char... " >&6; }
78940 if test "${ac_cv_sizeof_char+set}" = set; then :
78941 $as_echo_n "(cached) " >&6
78942 else
78943 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78945 else
78946 if test "$ac_cv_type_char" = yes; then
78947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78949 { as_fn_set_status 77
78950 as_fn_error "cannot compute sizeof (char)
78951 See \`config.log' for more details." "$LINENO" 5; }; }
78952 else
78953 ac_cv_sizeof_char=0
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78959 $as_echo "$ac_cv_sizeof_char" >&6; }
78963 cat >>confdefs.h <<_ACEOF
78964 #define SIZEOF_CHAR $ac_cv_sizeof_char
78965 _ACEOF
78969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78970 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78971 case "$ac_cv_sizeof_char" in
78972 1) acx_cv_type_int8_t=char ;;
78973 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78974 esac
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78976 $as_echo "$acx_cv_type_int8_t" >&6; }
78978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78979 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78980 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78981 2:*) acx_cv_type_int16_t=int ;;
78982 *:2) acx_cv_type_int16_t=short ;;
78983 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78984 esac
78985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78986 $as_echo "$acx_cv_type_int16_t" >&6; }
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78989 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78990 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78991 4:*) acx_cv_type_int32_t=int ;;
78992 *:4) acx_cv_type_int32_t=long ;;
78993 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78994 esac
78995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78996 $as_echo "$acx_cv_type_int32_t" >&6; }
78999 # These tests are here to make the output prettier
79001 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79002 case "$ac_cv_sizeof_long" in
79003 8) acx_cv_type_int64_t=long ;;
79004 esac
79005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79006 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79008 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79011 # Now we can use the above types
79013 if test "$ac_cv_type_uintptr_t" != yes; then
79014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79015 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79016 case $ac_cv_sizeof_void_p in
79017 2) acx_cv_type_intptr_t=int16_t ;;
79018 4) acx_cv_type_intptr_t=int32_t ;;
79019 8) acx_cv_type_intptr_t=int64_t ;;
79020 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79021 esac
79022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79023 $as_echo "$acx_cv_type_intptr_t" >&6; }
79026 # ----------------- done all checks, emit header -------------
79027 ac_config_commands="$ac_config_commands include/gstdint.h"
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79034 $as_echo_n "checking for GNU c++filt... " >&6; }
79035 if test "${ac_cv_path_CXXFILT+set}" = set; then :
79036 $as_echo_n "(cached) " >&6
79037 else
79038 if test -z "$CXXFILT"; then
79039 ac_path_CXXFILT_found=false
79040 # Loop through the user's path and test for each of PROGNAME-LIST
79041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79042 for as_dir in $PATH
79044 IFS=$as_save_IFS
79045 test -z "$as_dir" && as_dir=.
79046 for ac_prog in c++filt gc++filt; do
79047 for ac_exec_ext in '' $ac_executable_extensions; do
79048 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79049 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
79050 # Check for GNU $ac_path_CXXFILT
79051 case `"$ac_path_CXXFILT" --version 2>&1` in
79052 *GNU*)
79053 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79054 esac
79056 $ac_path_CXXFILT_found && break 3
79057 done
79058 done
79059 done
79060 IFS=$as_save_IFS
79061 if test -z "$ac_cv_path_CXXFILT"; then
79064 else
79065 ac_cv_path_CXXFILT=$CXXFILT
79069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79070 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79071 CXXFILT=$ac_cv_path_CXXFILT
79075 # Check whether --enable-symvers was given.
79076 if test "${enable_symvers+set}" = set; then :
79077 enableval=$enable_symvers;
79078 case "$enableval" in
79079 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79080 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79081 esac
79083 else
79084 enable_symvers=yes
79089 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79090 # don't know enough about $LD to do tricks...
79092 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79093 # with extern "C++" in version scripts.
79096 # Turn a 'yes' into a suitable default.
79097 if test x$enable_symvers = xyes ; then
79098 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79099 enable_symvers=no
79100 else
79101 if test $with_gnu_ld = yes ; then
79102 case ${target_os} in
79103 hpux*)
79104 enable_symvers=no ;;
79106 enable_symvers=gnu ;;
79107 esac
79108 else
79109 case ${target_os} in
79110 darwin*)
79111 enable_symvers=darwin ;;
79112 # Sun symbol versioning exists since Solaris 2.5.
79113 solaris2.[5-9]* | solaris2.1[0-9]*)
79114 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79115 # version scripts, so disable symbol versioning if none can be
79116 # found.
79117 if test -z "$ac_cv_path_CXXFILT"; then
79118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79119 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79121 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79123 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79124 enable_symvers=no
79125 else
79126 enable_symvers=sun
79130 enable_symvers=no ;;
79131 esac
79136 # Check to see if 'darwin' or 'darwin-export' can win.
79137 if test x$enable_symvers = xdarwin-export ; then
79138 enable_symvers=darwin
79141 # Check if 'sun' was requested on non-Solaris 2 platforms.
79142 if test x$enable_symvers = xsun ; then
79143 case ${target_os} in
79144 solaris2*)
79145 # All fine.
79148 # Unlikely to work.
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79150 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79152 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79154 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79155 enable_symvers=no
79157 esac
79160 # Check to see if 'gnu' can win.
79161 if test $enable_symvers = gnu ||
79162 test $enable_symvers = gnu-versioned-namespace ||
79163 test $enable_symvers = sun; then
79164 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79166 $as_echo_n "checking for shared libgcc... " >&6; }
79167 ac_save_CFLAGS="$CFLAGS"
79168 CFLAGS=' -lgcc_s'
79169 if test x$gcc_no_link = xyes; then
79170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79173 /* end confdefs.h. */
79176 main ()
79178 return 0;
79180 return 0;
79182 _ACEOF
79183 if ac_fn_c_try_link "$LINENO"; then :
79184 glibcxx_shared_libgcc=yes
79185 else
79186 glibcxx_shared_libgcc=no
79188 rm -f core conftest.err conftest.$ac_objext \
79189 conftest$ac_exeext conftest.$ac_ext
79190 CFLAGS="$ac_save_CFLAGS"
79191 if test $glibcxx_shared_libgcc = no; then
79192 cat > conftest.c <<EOF
79193 int main (void) { return 0; }
79195 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79196 -shared -shared-libgcc -o conftest.so \
79197 conftest.c -v 2>&1 >/dev/null \
79198 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79199 rm -f conftest.c conftest.so
79200 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79201 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79202 if test x$gcc_no_link = xyes; then
79203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79206 /* end confdefs.h. */
79209 main ()
79211 return 0;
79213 return 0;
79215 _ACEOF
79216 if ac_fn_c_try_link "$LINENO"; then :
79217 glibcxx_shared_libgcc=yes
79219 rm -f core conftest.err conftest.$ac_objext \
79220 conftest$ac_exeext conftest.$ac_ext
79221 CFLAGS="$ac_save_CFLAGS"
79224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79225 $as_echo "$glibcxx_shared_libgcc" >&6; }
79227 # For GNU ld, we need at least this version. The format is described in
79228 # GLIBCXX_CHECK_LINKER_FEATURES above.
79229 glibcxx_min_gnu_ld_version=21400
79231 # If no shared libgcc, can't win.
79232 if test $glibcxx_shared_libgcc != yes; then
79233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79234 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79236 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79238 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79239 enable_symvers=no
79240 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79241 : All interesting versions of Sun ld support sun style symbol versioning.
79242 elif test $with_gnu_ld != yes ; then
79243 # just fail for now
79244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79245 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79247 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79249 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79250 enable_symvers=no
79251 elif test $glibcxx_ld_is_gold = yes ; then
79252 : All versions of gold support symbol versioning.
79253 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79254 # The right tools, the right setup, but too old. Fallbacks?
79255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79256 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79258 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79260 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79262 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79264 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79265 enable_symvers=no
79269 # For libtool versioning info, format is CURRENT:REVISION:AGE
79270 libtool_VERSION=6:23:0
79272 # Everything parsed; figure out what files and settings to use.
79273 case $enable_symvers in
79275 SYMVER_FILE=config/abi/pre/none.ver
79277 gnu)
79278 SYMVER_FILE=config/abi/pre/gnu.ver
79280 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79283 gnu-versioned-namespace)
79284 libtool_VERSION=7:0:0
79285 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79287 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79290 darwin)
79291 SYMVER_FILE=config/abi/pre/gnu.ver
79293 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79296 sun)
79297 SYMVER_FILE=config/abi/pre/gnu.ver
79299 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79302 esac
79304 if test x$enable_symvers != xno ; then
79306 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79311 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79312 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79313 $as_echo_n "(cached) " >&6
79314 else
79316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79317 /* end confdefs.h. */
79318 void foo (void); __asm (".symver foo, bar@SYMVER");
79320 main ()
79324 return 0;
79326 _ACEOF
79327 if ac_fn_c_try_compile "$LINENO"; then :
79328 glibcxx_cv_have_as_symver_directive=yes
79329 else
79330 glibcxx_cv_have_as_symver_directive=no
79332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79335 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79336 if test $glibcxx_cv_have_as_symver_directive = yes; then
79338 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79349 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79350 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79352 if test $enable_symvers != no ; then
79353 case ${target_os} in
79354 # The Solaris 2 runtime linker doesn't support the GNU extension of
79355 # binding the same symbol to different versions
79356 solaris2*)
79358 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79361 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79364 esac
79367 # Now, set up compatibility support, if any.
79368 # In addition, need this to deal with std::size_t mangling in
79369 # src/compatibility.cc. In a perfect world, could use
79370 # typeid(std::size_t).name()[0] to do direct substitution.
79371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79372 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79373 ac_save_CFLAGS="$CFLAGS"
79374 CFLAGS="-Werror"
79375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79376 /* end confdefs.h. */
79379 main ()
79381 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79383 return 0;
79385 _ACEOF
79386 if ac_fn_c_try_compile "$LINENO"; then :
79387 glibcxx_size_t_is_i=yes
79388 else
79389 glibcxx_size_t_is_i=no
79391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79392 CFLAGS=$ac_save_CFLAGS
79393 if test "$glibcxx_size_t_is_i" = yes; then
79395 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79399 $as_echo "$glibcxx_size_t_is_i" >&6; }
79401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79402 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79403 ac_save_CFLAGS="$CFLAGS"
79404 CFLAGS="-Werror"
79405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79406 /* end confdefs.h. */
79409 main ()
79411 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79413 return 0;
79415 _ACEOF
79416 if ac_fn_c_try_compile "$LINENO"; then :
79417 glibcxx_ptrdiff_t_is_i=yes
79418 else
79419 glibcxx_ptrdiff_t_is_i=no
79421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79422 CFLAGS=$ac_save_CFLAGS
79423 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79425 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79429 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79434 # Check whether --enable-libstdcxx-visibility was given.
79435 if test "${enable_libstdcxx_visibility+set}" = set; then :
79436 enableval=$enable_libstdcxx_visibility;
79437 case "$enableval" in
79438 yes|no) ;;
79439 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79440 esac
79442 else
79443 enable_libstdcxx_visibility=yes
79448 if test x$enable_libstdcxx_visibility = xyes ; then
79449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79450 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79451 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79452 $as_echo_n "(cached) " >&6
79453 else
79455 save_CFLAGS="$CFLAGS"
79456 CFLAGS="$CFLAGS -Werror"
79457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79458 /* end confdefs.h. */
79459 void __attribute__((visibility("hidden"))) foo(void) { }
79461 main ()
79465 return 0;
79467 _ACEOF
79468 if ac_fn_c_try_compile "$LINENO"; then :
79469 glibcxx_cv_have_attribute_visibility=yes
79470 else
79471 glibcxx_cv_have_attribute_visibility=no
79473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79474 CFLAGS="$save_CFLAGS"
79476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79477 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79478 if test $glibcxx_cv_have_attribute_visibility = no; then
79479 enable_libstdcxx_visibility=no
79484 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79485 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79489 # Check whether --enable-libstdcxx-dual-abi was given.
79490 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79491 enableval=$enable_libstdcxx_dual_abi;
79492 case "$enableval" in
79493 yes|no) ;;
79494 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79495 esac
79497 else
79498 enable_libstdcxx_dual_abi=yes
79502 if test x$enable_symvers = xgnu-versioned-namespace; then
79503 # gnu-versioned-namespace is incompatible with the dual ABI.
79504 enable_libstdcxx_dual_abi="no"
79506 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79507 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79508 $as_echo "$as_me: dual ABI is disabled" >&6;}
79509 default_libstdcxx_abi="gcc4-compatible"
79514 if test x$enable_libstdcxx_dual_abi = xyes; then
79515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79516 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79518 # Check whether --with-default-libstdcxx-abi was given.
79519 if test "${with_default_libstdcxx_abi+set}" = set; then :
79520 withval=$with_default_libstdcxx_abi; case "$withval" in
79521 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79522 new|cxx11) default_libstdcxx_abi="new" ;;
79523 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79524 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79525 esac
79527 else
79528 default_libstdcxx_abi="new"
79531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79532 $as_echo "${default_libstdcxx_abi}" >&6; }
79534 if test $default_libstdcxx_abi = "new"; then
79535 glibcxx_cxx11_abi=1
79536 glibcxx_cxx98_abi=0
79537 else
79538 glibcxx_cxx11_abi=0
79539 glibcxx_cxx98_abi=1
79545 ac_ldbl_compat=no
79546 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79547 case "$target" in
79548 powerpc*-*-linux* | \
79549 sparc*-*-linux* | \
79550 s390*-*-linux* | \
79551 alpha*-*-linux*)
79552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79553 /* end confdefs.h. */
79556 main ()
79559 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79560 #error no need for long double compatibility
79561 #endif
79564 return 0;
79566 _ACEOF
79567 if ac_fn_c_try_compile "$LINENO"; then :
79568 ac_ldbl_compat=yes
79569 else
79570 ac_ldbl_compat=no
79572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79573 if test "$ac_ldbl_compat" = yes; then
79575 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79577 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79578 case "$target" in
79579 powerpc*-*-linux*)
79580 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79581 esac
79583 esac
79587 # Check if assembler supports disabling hardware capability support.
79589 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79591 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79592 # with a different meaning.
79593 case ${target_os} in
79594 solaris2*)
79595 ac_save_CFLAGS="$CFLAGS"
79596 CFLAGS="$CFLAGS -Wa,-nH"
79598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79599 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79601 /* end confdefs.h. */
79604 main ()
79606 return 0;
79608 return 0;
79610 _ACEOF
79611 if ac_fn_c_try_compile "$LINENO"; then :
79612 ac_hwcap_flags=yes
79613 else
79614 ac_hwcap_flags=no
79616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79617 if test "$ac_hwcap_flags" = "yes"; then
79618 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79621 $as_echo "$ac_hwcap_flags" >&6; }
79623 CFLAGS="$ac_save_CFLAGS"
79625 esac
79630 # Check if assembler supports rdrand opcode.
79632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79633 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79634 if test "${ac_cv_x86_rdrand+set}" = set; then :
79635 $as_echo_n "(cached) " >&6
79636 else
79638 ac_cv_x86_rdrand=no
79639 case "$target" in
79640 i?86-*-* | \
79641 x86_64-*-*)
79642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79643 /* end confdefs.h. */
79646 main ()
79648 asm("rdrand %eax");
79650 return 0;
79652 _ACEOF
79653 if ac_fn_c_try_compile "$LINENO"; then :
79654 ac_cv_x86_rdrand=yes
79655 else
79656 ac_cv_x86_rdrand=no
79658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79659 esac
79663 if test $ac_cv_x86_rdrand = yes; then
79665 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79669 $as_echo "$ac_cv_x86_rdrand" >&6; }
79672 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79674 # Do checks for resource limit functions.
79676 setrlimit_have_headers=yes
79677 for ac_header in unistd.h sys/time.h sys/resource.h
79678 do :
79679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79681 eval as_val=\$$as_ac_Header
79682 if test "x$as_val" = x""yes; then :
79683 cat >>confdefs.h <<_ACEOF
79684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79685 _ACEOF
79687 else
79688 setrlimit_have_headers=no
79691 done
79693 # If don't have the headers, then we can't run the tests now, and we
79694 # won't be seeing any of these during testsuite compilation.
79695 if test $setrlimit_have_headers = yes; then
79696 # Can't do these in a loop, else the resulting syntax is wrong.
79698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79699 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79701 /* end confdefs.h. */
79702 #include <unistd.h>
79703 #include <sys/time.h>
79704 #include <sys/resource.h>
79707 main ()
79709 int f = RLIMIT_DATA ;
79711 return 0;
79713 _ACEOF
79714 if ac_fn_c_try_compile "$LINENO"; then :
79715 glibcxx_mresult=1
79716 else
79717 glibcxx_mresult=0
79719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79721 cat >>confdefs.h <<_ACEOF
79722 #define HAVE_LIMIT_DATA $glibcxx_mresult
79723 _ACEOF
79725 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79727 $as_echo "$res" >&6; }
79730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79731 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79733 /* end confdefs.h. */
79734 #include <unistd.h>
79735 #include <sys/time.h>
79736 #include <sys/resource.h>
79739 main ()
79741 int f = RLIMIT_RSS ;
79743 return 0;
79745 _ACEOF
79746 if ac_fn_c_try_compile "$LINENO"; then :
79747 glibcxx_mresult=1
79748 else
79749 glibcxx_mresult=0
79751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79753 cat >>confdefs.h <<_ACEOF
79754 #define HAVE_LIMIT_RSS $glibcxx_mresult
79755 _ACEOF
79757 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79759 $as_echo "$res" >&6; }
79762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79763 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79765 /* end confdefs.h. */
79766 #include <unistd.h>
79767 #include <sys/time.h>
79768 #include <sys/resource.h>
79771 main ()
79773 int f = RLIMIT_VMEM ;
79775 return 0;
79777 _ACEOF
79778 if ac_fn_c_try_compile "$LINENO"; then :
79779 glibcxx_mresult=1
79780 else
79781 glibcxx_mresult=0
79783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79785 cat >>confdefs.h <<_ACEOF
79786 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79787 _ACEOF
79789 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79791 $as_echo "$res" >&6; }
79794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79795 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79797 /* end confdefs.h. */
79798 #include <unistd.h>
79799 #include <sys/time.h>
79800 #include <sys/resource.h>
79803 main ()
79805 int f = RLIMIT_AS ;
79807 return 0;
79809 _ACEOF
79810 if ac_fn_c_try_compile "$LINENO"; then :
79811 glibcxx_mresult=1
79812 else
79813 glibcxx_mresult=0
79815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79817 cat >>confdefs.h <<_ACEOF
79818 #define HAVE_LIMIT_AS $glibcxx_mresult
79819 _ACEOF
79821 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79823 $as_echo "$res" >&6; }
79826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79827 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79829 /* end confdefs.h. */
79830 #include <unistd.h>
79831 #include <sys/time.h>
79832 #include <sys/resource.h>
79835 main ()
79837 int f = RLIMIT_FSIZE ;
79839 return 0;
79841 _ACEOF
79842 if ac_fn_c_try_compile "$LINENO"; then :
79843 glibcxx_mresult=1
79844 else
79845 glibcxx_mresult=0
79847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79849 cat >>confdefs.h <<_ACEOF
79850 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79851 _ACEOF
79853 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79855 $as_echo "$res" >&6; }
79858 # Check for rlimit, setrlimit.
79859 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79860 $as_echo_n "(cached) " >&6
79861 else
79863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79864 /* end confdefs.h. */
79865 #include <unistd.h>
79866 #include <sys/time.h>
79867 #include <sys/resource.h>
79870 main ()
79872 struct rlimit r;
79873 setrlimit(0, &r);
79875 return 0;
79877 _ACEOF
79878 if ac_fn_c_try_compile "$LINENO"; then :
79879 glibcxx_cv_setrlimit=yes
79880 else
79881 glibcxx_cv_setrlimit=no
79883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79890 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79891 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79892 ac_res_limits=yes
79894 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79896 else
79897 ac_res_limits=no
79899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79900 $as_echo "$ac_res_limits" >&6; }
79903 if $GLIBCXX_IS_NATIVE ; then
79904 # Look for setenv, so that extended locale tests can be performed.
79906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79907 $as_echo_n "checking for setenv declaration... " >&6; }
79908 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79909 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79910 $as_echo_n "(cached) " >&6
79911 else
79914 ac_ext=cpp
79915 ac_cpp='$CXXCPP $CPPFLAGS'
79916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79921 /* end confdefs.h. */
79922 #include <stdlib.h>
79924 main ()
79926 setenv(0, 0, 0);
79928 return 0;
79930 _ACEOF
79931 if ac_fn_cxx_try_compile "$LINENO"; then :
79932 glibcxx_cv_func_setenv_use=yes
79933 else
79934 glibcxx_cv_func_setenv_use=no
79936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79937 ac_ext=c
79938 ac_cpp='$CPP $CPPFLAGS'
79939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79948 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79949 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79950 for ac_func in setenv
79951 do :
79952 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79953 if test "x$ac_cv_func_setenv" = x""yes; then :
79954 cat >>confdefs.h <<_ACEOF
79955 #define HAVE_SETENV 1
79956 _ACEOF
79959 done
79965 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79966 test $enable_symvers != no; then
79967 case "$host" in
79968 *-*-cygwin*)
79969 enable_abi_check=no ;;
79971 enable_abi_check=yes ;;
79972 esac
79973 else
79974 # Only build this as native, since automake does not understand
79975 # CXX_FOR_BUILD.
79976 enable_abi_check=no
79979 # Export file names for ABI checking.
79980 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79982 baseline_subdir_switch="$abi_baseline_subdir_switch"
79986 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79988 # Check whether --enable-libstdcxx-threads was given.
79989 if test "${enable_libstdcxx_threads+set}" = set; then :
79990 enableval=$enable_libstdcxx_threads;
79991 case "$enableval" in
79992 yes|no) ;;
79993 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79994 esac
79996 else
79997 enable_libstdcxx_threads=auto
80002 if test x$enable_libstdcxx_threads = xauto ||
80003 test x$enable_libstdcxx_threads = xyes; then
80006 ac_ext=cpp
80007 ac_cpp='$CXXCPP $CPPFLAGS'
80008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80013 ac_save_CXXFLAGS="$CXXFLAGS"
80014 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80015 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80017 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80018 case $target_thread_file in
80019 posix)
80020 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80021 esac
80023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80024 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80027 /* end confdefs.h. */
80028 #include <unistd.h>
80030 main ()
80033 // In case of POSIX threads check _POSIX_TIMEOUTS.
80034 #if (defined(_PTHREADS) \
80035 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80036 #error
80037 #endif
80040 return 0;
80042 _ACEOF
80043 if ac_fn_cxx_try_compile "$LINENO"; then :
80044 ac_gthread_use_mutex_timedlock=1
80045 else
80046 ac_gthread_use_mutex_timedlock=0
80048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80051 cat >>confdefs.h <<_ACEOF
80052 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80053 _ACEOF
80056 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80057 else res_mutex_timedlock=no ; fi
80058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80059 $as_echo "$res_mutex_timedlock" >&6; }
80061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80062 $as_echo_n "checking for gthreads library... " >&6; }
80064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80065 /* end confdefs.h. */
80066 #include "gthr.h"
80068 main ()
80071 #ifndef __GTHREADS_CXX0X
80072 #error
80073 #endif
80076 return 0;
80078 _ACEOF
80079 if ac_fn_cxx_try_compile "$LINENO"; then :
80080 ac_has_gthreads=yes
80081 else
80082 ac_has_gthreads=no
80084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80085 else
80086 ac_has_gthreads=no
80089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80090 $as_echo "$ac_has_gthreads" >&6; }
80092 if test x"$ac_has_gthreads" = x"yes"; then
80094 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80097 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80098 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80100 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
80102 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80108 CXXFLAGS="$ac_save_CXXFLAGS"
80109 ac_ext=c
80110 ac_cpp='$CPP $CPPFLAGS'
80111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80117 # For Filesystem TS.
80118 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80119 do :
80120 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80121 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80122 eval as_val=\$$as_ac_Header
80123 if test "x$as_val" = x""yes; then :
80124 cat >>confdefs.h <<_ACEOF
80125 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80126 _ACEOF
80130 done
80133 # Check whether --enable-libstdcxx-filesystem-ts was given.
80134 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80135 enableval=$enable_libstdcxx_filesystem_ts;
80136 case "$enableval" in
80137 yes|no|auto) ;;
80138 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80139 esac
80141 else
80142 enable_libstdcxx_filesystem_ts=auto
80147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80148 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80149 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80150 enable_libstdcxx_filesystem_ts=no
80152 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80153 case "${target_os}" in
80154 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80155 enable_libstdcxx_filesystem_ts=yes
80157 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80158 enable_libstdcxx_filesystem_ts=yes
80160 solaris*)
80161 enable_libstdcxx_filesystem_ts=yes
80164 enable_libstdcxx_filesystem_ts=no
80166 esac
80168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80169 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80173 ac_ext=cpp
80174 ac_cpp='$CXXCPP $CPPFLAGS'
80175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80179 ac_save_CXXFLAGS="$CXXFLAGS"
80180 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80182 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80183 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
80184 $as_echo_n "(cached) " >&6
80185 else
80186 if test x$gcc_no_link = xyes; then
80187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80188 /* end confdefs.h. */
80189 #include <dirent.h>
80191 main ()
80194 struct dirent d;
80195 if (sizeof d.d_type) return 0;
80198 return 0;
80200 _ACEOF
80201 if ac_fn_cxx_try_compile "$LINENO"; then :
80202 glibcxx_cv_dirent_d_type=yes
80203 else
80204 glibcxx_cv_dirent_d_type=no
80206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80207 else
80208 if test x$gcc_no_link = xyes; then
80209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80212 /* end confdefs.h. */
80213 #include <dirent.h>
80215 main ()
80218 struct dirent d;
80219 if (sizeof d.d_type) return 0;
80222 return 0;
80224 _ACEOF
80225 if ac_fn_cxx_try_link "$LINENO"; then :
80226 glibcxx_cv_dirent_d_type=yes
80227 else
80228 glibcxx_cv_dirent_d_type=no
80230 rm -f core conftest.err conftest.$ac_objext \
80231 conftest$ac_exeext conftest.$ac_ext
80236 if test $glibcxx_cv_dirent_d_type = yes; then
80238 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80242 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80244 $as_echo_n "checking for realpath... " >&6; }
80245 if test "${glibcxx_cv_realpath+set}" = set; then :
80246 $as_echo_n "(cached) " >&6
80247 else
80248 if test x$gcc_no_link = xyes; then
80249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80250 /* end confdefs.h. */
80252 #include <limits.h>
80253 #include <stdlib.h>
80254 #include <unistd.h>
80257 main ()
80260 #if _XOPEN_VERSION < 500
80261 #error
80262 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80263 char *tmp = realpath((const char*)NULL, (char*)NULL);
80264 #else
80265 #error
80266 #endif
80269 return 0;
80271 _ACEOF
80272 if ac_fn_cxx_try_compile "$LINENO"; then :
80273 glibcxx_cv_realpath=yes
80274 else
80275 glibcxx_cv_realpath=no
80277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80278 else
80279 if test x$gcc_no_link = xyes; then
80280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80283 /* end confdefs.h. */
80285 #include <limits.h>
80286 #include <stdlib.h>
80287 #include <unistd.h>
80290 main ()
80293 #if _XOPEN_VERSION < 500
80294 #error
80295 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80296 char *tmp = realpath((const char*)NULL, (char*)NULL);
80297 #else
80298 #error
80299 #endif
80302 return 0;
80304 _ACEOF
80305 if ac_fn_cxx_try_link "$LINENO"; then :
80306 glibcxx_cv_realpath=yes
80307 else
80308 glibcxx_cv_realpath=no
80310 rm -f core conftest.err conftest.$ac_objext \
80311 conftest$ac_exeext conftest.$ac_ext
80316 if test $glibcxx_cv_realpath = yes; then
80318 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80322 $as_echo "$glibcxx_cv_realpath" >&6; }
80323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80324 $as_echo_n "checking for utimensat... " >&6; }
80325 if test "${glibcxx_cv_utimensat+set}" = set; then :
80326 $as_echo_n "(cached) " >&6
80327 else
80328 if test x$gcc_no_link = xyes; then
80329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80330 /* end confdefs.h. */
80332 #include <fcntl.h>
80333 #include <sys/stat.h>
80336 main ()
80339 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80340 int i = utimensat(AT_FDCWD, "path", ts, 0);
80343 return 0;
80345 _ACEOF
80346 if ac_fn_cxx_try_compile "$LINENO"; then :
80347 glibcxx_cv_utimensat=yes
80348 else
80349 glibcxx_cv_utimensat=no
80351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80352 else
80353 if test x$gcc_no_link = xyes; then
80354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80357 /* end confdefs.h. */
80359 #include <fcntl.h>
80360 #include <sys/stat.h>
80363 main ()
80366 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80367 int i = utimensat(AT_FDCWD, "path", ts, 0);
80370 return 0;
80372 _ACEOF
80373 if ac_fn_cxx_try_link "$LINENO"; then :
80374 glibcxx_cv_utimensat=yes
80375 else
80376 glibcxx_cv_utimensat=no
80378 rm -f core conftest.err conftest.$ac_objext \
80379 conftest$ac_exeext conftest.$ac_ext
80384 if test $glibcxx_cv_utimensat = yes; then
80386 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80390 $as_echo "$glibcxx_cv_utimensat" >&6; }
80391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80392 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80393 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80394 $as_echo_n "(cached) " >&6
80395 else
80396 if test x$gcc_no_link = xyes; then
80397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80398 /* end confdefs.h. */
80399 #include <sys/stat.h>
80401 main ()
80404 struct stat st;
80405 return st.st_mtim.tv_nsec;
80408 return 0;
80410 _ACEOF
80411 if ac_fn_cxx_try_compile "$LINENO"; then :
80412 glibcxx_cv_st_mtim=yes
80413 else
80414 glibcxx_cv_st_mtim=no
80416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80417 else
80418 if test x$gcc_no_link = xyes; then
80419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80422 /* end confdefs.h. */
80423 #include <sys/stat.h>
80425 main ()
80428 struct stat st;
80429 return st.st_mtim.tv_nsec;
80432 return 0;
80434 _ACEOF
80435 if ac_fn_cxx_try_link "$LINENO"; then :
80436 glibcxx_cv_st_mtim=yes
80437 else
80438 glibcxx_cv_st_mtim=no
80440 rm -f core conftest.err conftest.$ac_objext \
80441 conftest$ac_exeext conftest.$ac_ext
80446 if test $glibcxx_cv_st_mtim = yes; then
80448 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80452 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80454 $as_echo_n "checking for fchmod... " >&6; }
80455 if test "${glibcxx_cv_fchmod+set}" = set; then :
80456 $as_echo_n "(cached) " >&6
80457 else
80458 if test x$gcc_no_link = xyes; then
80459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80460 /* end confdefs.h. */
80461 #include <sys/stat.h>
80463 main ()
80465 fchmod(1, S_IWUSR);
80467 return 0;
80469 _ACEOF
80470 if ac_fn_cxx_try_compile "$LINENO"; then :
80471 glibcxx_cv_fchmod=yes
80472 else
80473 glibcxx_cv_fchmod=no
80475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80476 else
80477 if test x$gcc_no_link = xyes; then
80478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80481 /* end confdefs.h. */
80482 #include <sys/stat.h>
80484 main ()
80486 fchmod(1, S_IWUSR);
80488 return 0;
80490 _ACEOF
80491 if ac_fn_cxx_try_link "$LINENO"; then :
80492 glibcxx_cv_fchmod=yes
80493 else
80494 glibcxx_cv_fchmod=no
80496 rm -f core conftest.err conftest.$ac_objext \
80497 conftest$ac_exeext conftest.$ac_ext
80502 if test $glibcxx_cv_fchmod = yes; then
80504 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80508 $as_echo "$glibcxx_cv_fchmod" >&6; }
80509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80510 $as_echo_n "checking for fchmodat... " >&6; }
80511 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80512 $as_echo_n "(cached) " >&6
80513 else
80514 if test x$gcc_no_link = xyes; then
80515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80516 /* end confdefs.h. */
80518 #include <fcntl.h>
80519 #include <sys/stat.h>
80522 main ()
80524 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80526 return 0;
80528 _ACEOF
80529 if ac_fn_cxx_try_compile "$LINENO"; then :
80530 glibcxx_cv_fchmodat=yes
80531 else
80532 glibcxx_cv_fchmodat=no
80534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80535 else
80536 if test x$gcc_no_link = xyes; then
80537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80540 /* end confdefs.h. */
80542 #include <fcntl.h>
80543 #include <sys/stat.h>
80546 main ()
80548 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80550 return 0;
80552 _ACEOF
80553 if ac_fn_cxx_try_link "$LINENO"; then :
80554 glibcxx_cv_fchmodat=yes
80555 else
80556 glibcxx_cv_fchmodat=no
80558 rm -f core conftest.err conftest.$ac_objext \
80559 conftest$ac_exeext conftest.$ac_ext
80564 if test $glibcxx_cv_fchmodat = yes; then
80566 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80570 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80572 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80573 if test "${glibcxx_cv_sendfile+set}" = set; then :
80574 $as_echo_n "(cached) " >&6
80575 else
80576 case "${target_os}" in
80577 gnu* | linux* | solaris*)
80578 if test x$gcc_no_link = xyes; then
80579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80580 /* end confdefs.h. */
80581 #include <sys/sendfile.h>
80583 main ()
80585 sendfile(1, 2, (off_t*)0, sizeof 1);
80587 return 0;
80589 _ACEOF
80590 if ac_fn_cxx_try_compile "$LINENO"; then :
80591 glibcxx_cv_sendfile=yes
80592 else
80593 glibcxx_cv_sendfile=no
80595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80596 else
80597 if test x$gcc_no_link = xyes; then
80598 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80601 /* end confdefs.h. */
80602 #include <sys/sendfile.h>
80604 main ()
80606 sendfile(1, 2, (off_t*)0, sizeof 1);
80608 return 0;
80610 _ACEOF
80611 if ac_fn_cxx_try_link "$LINENO"; then :
80612 glibcxx_cv_sendfile=yes
80613 else
80614 glibcxx_cv_sendfile=no
80616 rm -f core conftest.err conftest.$ac_objext \
80617 conftest$ac_exeext conftest.$ac_ext
80621 glibcxx_cv_sendfile=no
80623 esac
80627 if test $glibcxx_cv_sendfile = yes; then
80629 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80633 $as_echo "$glibcxx_cv_sendfile" >&6; }
80634 CXXFLAGS="$ac_save_CXXFLAGS"
80635 ac_ext=c
80636 ac_cpp='$CPP $CPPFLAGS'
80637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80643 # For Transactional Memory TS
80645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80646 $as_echo_n "checking how size_t is mangled... " >&6; }
80647 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80648 $as_echo_n "(cached) " >&6
80649 else
80651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80652 /* end confdefs.h. */
80655 main ()
80657 extern __SIZE_TYPE__ x; extern unsigned long x;
80659 return 0;
80661 _ACEOF
80662 if ac_fn_c_try_compile "$LINENO"; then :
80663 glibcxx_cv_size_t_mangling=m
80664 else
80666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80667 /* end confdefs.h. */
80670 main ()
80672 extern __SIZE_TYPE__ x; extern unsigned int x;
80674 return 0;
80676 _ACEOF
80677 if ac_fn_c_try_compile "$LINENO"; then :
80678 glibcxx_cv_size_t_mangling=j
80679 else
80681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80682 /* end confdefs.h. */
80685 main ()
80687 extern __SIZE_TYPE__ x; extern unsigned long long x;
80689 return 0;
80691 _ACEOF
80692 if ac_fn_c_try_compile "$LINENO"; then :
80693 glibcxx_cv_size_t_mangling=y
80694 else
80696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80697 /* end confdefs.h. */
80700 main ()
80702 extern __SIZE_TYPE__ x; extern unsigned short x;
80704 return 0;
80706 _ACEOF
80707 if ac_fn_c_try_compile "$LINENO"; then :
80708 glibcxx_cv_size_t_mangling=t
80709 else
80711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80712 /* end confdefs.h. */
80715 main ()
80717 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
80719 return 0;
80721 _ACEOF
80722 if ac_fn_c_try_compile "$LINENO"; then :
80723 glibcxx_cv_size_t_mangling=u6uint20
80724 else
80725 glibcxx_cv_size_t_mangling=x
80727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80743 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80744 if test $glibcxx_cv_size_t_mangling = x; then
80745 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80748 cat >>confdefs.h <<_ACEOF
80749 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80750 _ACEOF
80754 # Check which release added std::exception_ptr for the target
80756 if test $enable_symvers != no; then
80757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
80758 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
80759 case ${target} in
80760 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
80761 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
80762 ac_exception_ptr_since_gcc46=yes
80765 # If the value of this macro changes then we will need to hardcode
80766 # yes/no here for additional targets based on the original value.
80767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80768 /* end confdefs.h. */
80771 main ()
80774 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
80775 # error atomic int not always lock free
80776 #endif
80779 return 0;
80781 _ACEOF
80782 if ac_fn_c_try_compile "$LINENO"; then :
80783 ac_exception_ptr_since_gcc46=yes
80784 else
80785 ac_exception_ptr_since_gcc46=no
80787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80789 esac
80790 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
80792 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
80795 $as_echo "4.6.0" >&6; }
80796 else
80797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
80798 $as_echo "7.1.0" >&6; }
80803 # Define documentation rules conditionally.
80805 # See if makeinfo has been installed and is modern enough
80806 # that we can use it.
80808 # Extract the first word of "makeinfo", so it can be a program name with args.
80809 set dummy makeinfo; ac_word=$2
80810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80811 $as_echo_n "checking for $ac_word... " >&6; }
80812 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80813 $as_echo_n "(cached) " >&6
80814 else
80815 if test -n "$MAKEINFO"; then
80816 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80817 else
80818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80819 for as_dir in $PATH
80821 IFS=$as_save_IFS
80822 test -z "$as_dir" && as_dir=.
80823 for ac_exec_ext in '' $ac_executable_extensions; do
80824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80825 ac_cv_prog_MAKEINFO="makeinfo"
80826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80827 break 2
80829 done
80830 done
80831 IFS=$as_save_IFS
80835 MAKEINFO=$ac_cv_prog_MAKEINFO
80836 if test -n "$MAKEINFO"; then
80837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80838 $as_echo "$MAKEINFO" >&6; }
80839 else
80840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80841 $as_echo "no" >&6; }
80845 if test -n "$MAKEINFO"; then
80846 # Found it, now check the version.
80847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80848 $as_echo_n "checking for modern makeinfo... " >&6; }
80849 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80850 $as_echo_n "(cached) " >&6
80851 else
80852 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80853 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80855 case $ac_prog_version in
80856 '') gcc_cv_prog_makeinfo_modern=no;;
80857 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80858 *) gcc_cv_prog_makeinfo_modern=no;;
80859 esac
80862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80863 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80864 else
80865 gcc_cv_prog_makeinfo_modern=no
80867 if test $gcc_cv_prog_makeinfo_modern = no; then
80868 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80871 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80872 BUILD_INFO_TRUE=
80873 BUILD_INFO_FALSE='#'
80874 else
80875 BUILD_INFO_TRUE='#'
80876 BUILD_INFO_FALSE=
80880 # Check for doxygen
80881 # Extract the first word of "doxygen", so it can be a program name with args.
80882 set dummy doxygen; ac_word=$2
80883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80884 $as_echo_n "checking for $ac_word... " >&6; }
80885 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80886 $as_echo_n "(cached) " >&6
80887 else
80888 if test -n "$DOXYGEN"; then
80889 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80890 else
80891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80892 for as_dir in $PATH
80894 IFS=$as_save_IFS
80895 test -z "$as_dir" && as_dir=.
80896 for ac_exec_ext in '' $ac_executable_extensions; do
80897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80898 ac_cv_prog_DOXYGEN="yes"
80899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80900 break 2
80902 done
80903 done
80904 IFS=$as_save_IFS
80906 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80909 DOXYGEN=$ac_cv_prog_DOXYGEN
80910 if test -n "$DOXYGEN"; then
80911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80912 $as_echo "$DOXYGEN" >&6; }
80913 else
80914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80915 $as_echo "no" >&6; }
80919 # Extract the first word of "dot", so it can be a program name with args.
80920 set dummy dot; ac_word=$2
80921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80922 $as_echo_n "checking for $ac_word... " >&6; }
80923 if test "${ac_cv_prog_DOT+set}" = set; then :
80924 $as_echo_n "(cached) " >&6
80925 else
80926 if test -n "$DOT"; then
80927 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80928 else
80929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80930 for as_dir in $PATH
80932 IFS=$as_save_IFS
80933 test -z "$as_dir" && as_dir=.
80934 for ac_exec_ext in '' $ac_executable_extensions; do
80935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80936 ac_cv_prog_DOT="yes"
80937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80938 break 2
80940 done
80941 done
80942 IFS=$as_save_IFS
80944 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80947 DOT=$ac_cv_prog_DOT
80948 if test -n "$DOT"; then
80949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80950 $as_echo "$DOT" >&6; }
80951 else
80952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80953 $as_echo "no" >&6; }
80958 # Check for docbook
80959 # Extract the first word of "xsltproc", so it can be a program name with args.
80960 set dummy xsltproc; ac_word=$2
80961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80962 $as_echo_n "checking for $ac_word... " >&6; }
80963 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80964 $as_echo_n "(cached) " >&6
80965 else
80966 if test -n "$XSLTPROC"; then
80967 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80968 else
80969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80970 for as_dir in $PATH
80972 IFS=$as_save_IFS
80973 test -z "$as_dir" && as_dir=.
80974 for ac_exec_ext in '' $ac_executable_extensions; do
80975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80976 ac_cv_prog_XSLTPROC="yes"
80977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80978 break 2
80980 done
80981 done
80982 IFS=$as_save_IFS
80984 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80987 XSLTPROC=$ac_cv_prog_XSLTPROC
80988 if test -n "$XSLTPROC"; then
80989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80990 $as_echo "$XSLTPROC" >&6; }
80991 else
80992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80993 $as_echo "no" >&6; }
80997 # Extract the first word of "xmllint", so it can be a program name with args.
80998 set dummy xmllint; ac_word=$2
80999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81000 $as_echo_n "checking for $ac_word... " >&6; }
81001 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
81002 $as_echo_n "(cached) " >&6
81003 else
81004 if test -n "$XMLLINT"; then
81005 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81006 else
81007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81008 for as_dir in $PATH
81010 IFS=$as_save_IFS
81011 test -z "$as_dir" && as_dir=.
81012 for ac_exec_ext in '' $ac_executable_extensions; do
81013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81014 ac_cv_prog_XMLLINT="yes"
81015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81016 break 2
81018 done
81019 done
81020 IFS=$as_save_IFS
81022 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81025 XMLLINT=$ac_cv_prog_XMLLINT
81026 if test -n "$XMLLINT"; then
81027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81028 $as_echo "$XMLLINT" >&6; }
81029 else
81030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81031 $as_echo "no" >&6; }
81037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81038 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81039 glibcxx_stylesheets=no
81040 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
81041 glibcxx_stylesheets=yes
81043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81044 $as_echo "$glibcxx_stylesheets" >&6; }
81046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81047 $as_echo_n "checking for local stylesheet directory... " >&6; }
81048 glibcxx_local_stylesheets=no
81049 if test x"$glibcxx_stylesheets" = x"yes"; then
81050 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
81051 glibcxx_local_stylesheets=yes
81052 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
81054 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
81055 glibcxx_local_stylesheets=yes
81056 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
81058 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
81059 glibcxx_local_stylesheets=yes
81060 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
81063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81064 $as_echo "$glibcxx_local_stylesheets" >&6; }
81066 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81068 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81069 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81070 else
81071 glibcxx_stylesheets=no
81074 # Check for epub3 dependencies.
81075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81076 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81077 glibcxx_epub_stylesheets=no
81078 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81079 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81080 glibcxx_epub_stylesheets=yes
81083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81084 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81085 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81086 BUILD_EPUB_TRUE=
81087 BUILD_EPUB_FALSE='#'
81088 else
81089 BUILD_EPUB_TRUE='#'
81090 BUILD_EPUB_FALSE=
81096 # Check for xml/html dependencies.
81097 if test $ac_cv_prog_DOXYGEN = "yes" &&
81098 test $ac_cv_prog_DOT = "yes" &&
81099 test $ac_cv_prog_XSLTPROC = "yes" &&
81100 test $ac_cv_prog_XMLLINT = "yes" &&
81101 test $glibcxx_stylesheets = "yes"; then
81102 BUILD_XML_TRUE=
81103 BUILD_XML_FALSE='#'
81104 else
81105 BUILD_XML_TRUE='#'
81106 BUILD_XML_FALSE=
81110 if test $ac_cv_prog_DOXYGEN = "yes" &&
81111 test $ac_cv_prog_DOT = "yes" &&
81112 test $ac_cv_prog_XSLTPROC = "yes" &&
81113 test $ac_cv_prog_XMLLINT = "yes" &&
81114 test $glibcxx_stylesheets = "yes"; then
81115 BUILD_HTML_TRUE=
81116 BUILD_HTML_FALSE='#'
81117 else
81118 BUILD_HTML_TRUE='#'
81119 BUILD_HTML_FALSE=
81123 # Check for man dependencies.
81124 if test $ac_cv_prog_DOXYGEN = "yes" &&
81125 test $ac_cv_prog_DOT = "yes"; then
81126 BUILD_MAN_TRUE=
81127 BUILD_MAN_FALSE='#'
81128 else
81129 BUILD_MAN_TRUE='#'
81130 BUILD_MAN_FALSE=
81134 # Check for pdf dependencies.
81135 # Extract the first word of "dblatex", so it can be a program name with args.
81136 set dummy dblatex; ac_word=$2
81137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81138 $as_echo_n "checking for $ac_word... " >&6; }
81139 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
81140 $as_echo_n "(cached) " >&6
81141 else
81142 if test -n "$DBLATEX"; then
81143 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81144 else
81145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81146 for as_dir in $PATH
81148 IFS=$as_save_IFS
81149 test -z "$as_dir" && as_dir=.
81150 for ac_exec_ext in '' $ac_executable_extensions; do
81151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81152 ac_cv_prog_DBLATEX="yes"
81153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81154 break 2
81156 done
81157 done
81158 IFS=$as_save_IFS
81160 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81163 DBLATEX=$ac_cv_prog_DBLATEX
81164 if test -n "$DBLATEX"; then
81165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81166 $as_echo "$DBLATEX" >&6; }
81167 else
81168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81169 $as_echo "no" >&6; }
81173 # Extract the first word of "pdflatex", so it can be a program name with args.
81174 set dummy pdflatex; ac_word=$2
81175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81176 $as_echo_n "checking for $ac_word... " >&6; }
81177 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
81178 $as_echo_n "(cached) " >&6
81179 else
81180 if test -n "$PDFLATEX"; then
81181 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81182 else
81183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81184 for as_dir in $PATH
81186 IFS=$as_save_IFS
81187 test -z "$as_dir" && as_dir=.
81188 for ac_exec_ext in '' $ac_executable_extensions; do
81189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81190 ac_cv_prog_PDFLATEX="yes"
81191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81192 break 2
81194 done
81195 done
81196 IFS=$as_save_IFS
81198 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81201 PDFLATEX=$ac_cv_prog_PDFLATEX
81202 if test -n "$PDFLATEX"; then
81203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81204 $as_echo "$PDFLATEX" >&6; }
81205 else
81206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81207 $as_echo "no" >&6; }
81211 if test $ac_cv_prog_DBLATEX = "yes" &&
81212 test $ac_cv_prog_PDFLATEX = "yes"; then
81213 BUILD_PDF_TRUE=
81214 BUILD_PDF_FALSE='#'
81215 else
81216 BUILD_PDF_TRUE='#'
81217 BUILD_PDF_FALSE=
81222 # Propagate the target-specific source directories through the build chain.
81223 ATOMICITY_SRCDIR=config/${atomicity_dir}
81224 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81225 ATOMIC_FLAGS=${atomic_flags}
81226 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81227 OS_INC_SRCDIR=config/${os_include_dir}
81228 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81229 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81230 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81231 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81243 # Determine cross-compile flags and AM_CONDITIONALs.
81244 #AC_SUBST(GLIBCXX_IS_NATIVE)
81245 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
81246 if test $is_hosted = yes; then
81247 GLIBCXX_HOSTED_TRUE=
81248 GLIBCXX_HOSTED_FALSE='#'
81249 else
81250 GLIBCXX_HOSTED_TRUE='#'
81251 GLIBCXX_HOSTED_FALSE=
81255 if test $enable_libstdcxx_pch = yes; then
81256 GLIBCXX_BUILD_PCH_TRUE=
81257 GLIBCXX_BUILD_PCH_FALSE='#'
81258 else
81259 GLIBCXX_BUILD_PCH_TRUE='#'
81260 GLIBCXX_BUILD_PCH_FALSE=
81264 if test $enable_libstdcxx_allocator_flag = new; then
81265 ENABLE_ALLOCATOR_NEW_TRUE=
81266 ENABLE_ALLOCATOR_NEW_FALSE='#'
81267 else
81268 ENABLE_ALLOCATOR_NEW_TRUE='#'
81269 ENABLE_ALLOCATOR_NEW_FALSE=
81273 if test $enable_cheaders = c; then
81274 GLIBCXX_C_HEADERS_C_TRUE=
81275 GLIBCXX_C_HEADERS_C_FALSE='#'
81276 else
81277 GLIBCXX_C_HEADERS_C_TRUE='#'
81278 GLIBCXX_C_HEADERS_C_FALSE=
81282 if test $enable_cheaders = c_std; then
81283 GLIBCXX_C_HEADERS_C_STD_TRUE=
81284 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81285 else
81286 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81287 GLIBCXX_C_HEADERS_C_STD_FALSE=
81291 if test $enable_cheaders = c_global; then
81292 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81293 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81294 else
81295 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81296 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81300 if test $c_compatibility = yes; then
81301 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81302 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81303 else
81304 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81305 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81309 if test $enable_libstdcxx_debug = yes; then
81310 GLIBCXX_BUILD_DEBUG_TRUE=
81311 GLIBCXX_BUILD_DEBUG_FALSE='#'
81312 else
81313 GLIBCXX_BUILD_DEBUG_TRUE='#'
81314 GLIBCXX_BUILD_DEBUG_FALSE=
81318 if test $enable_extern_template = yes; then
81319 ENABLE_EXTERN_TEMPLATE_TRUE=
81320 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81321 else
81322 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81323 ENABLE_EXTERN_TEMPLATE_FALSE=
81327 if test $python_mod_dir != no; then
81328 ENABLE_PYTHONDIR_TRUE=
81329 ENABLE_PYTHONDIR_FALSE='#'
81330 else
81331 ENABLE_PYTHONDIR_TRUE='#'
81332 ENABLE_PYTHONDIR_FALSE=
81336 if test $enable_werror = yes; then
81337 ENABLE_WERROR_TRUE=
81338 ENABLE_WERROR_FALSE='#'
81339 else
81340 ENABLE_WERROR_TRUE='#'
81341 ENABLE_WERROR_FALSE=
81345 if test $enable_vtable_verify = yes; then
81346 ENABLE_VTABLE_VERIFY_TRUE=
81347 ENABLE_VTABLE_VERIFY_FALSE='#'
81348 else
81349 ENABLE_VTABLE_VERIFY_TRUE='#'
81350 ENABLE_VTABLE_VERIFY_FALSE=
81354 if test $enable_symvers != no; then
81355 ENABLE_SYMVERS_TRUE=
81356 ENABLE_SYMVERS_FALSE='#'
81357 else
81358 ENABLE_SYMVERS_TRUE='#'
81359 ENABLE_SYMVERS_FALSE=
81363 if test $enable_symvers = gnu; then
81364 ENABLE_SYMVERS_GNU_TRUE=
81365 ENABLE_SYMVERS_GNU_FALSE='#'
81366 else
81367 ENABLE_SYMVERS_GNU_TRUE='#'
81368 ENABLE_SYMVERS_GNU_FALSE=
81372 if test $enable_symvers = gnu-versioned-namespace; then
81373 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81374 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81375 else
81376 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81377 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81381 if test $enable_symvers = darwin; then
81382 ENABLE_SYMVERS_DARWIN_TRUE=
81383 ENABLE_SYMVERS_DARWIN_FALSE='#'
81384 else
81385 ENABLE_SYMVERS_DARWIN_TRUE='#'
81386 ENABLE_SYMVERS_DARWIN_FALSE=
81390 if test $enable_symvers = sun; then
81391 ENABLE_SYMVERS_SUN_TRUE=
81392 ENABLE_SYMVERS_SUN_FALSE='#'
81393 else
81394 ENABLE_SYMVERS_SUN_TRUE='#'
81395 ENABLE_SYMVERS_SUN_FALSE=
81399 if test $enable_libstdcxx_visibility = yes; then
81400 ENABLE_VISIBILITY_TRUE=
81401 ENABLE_VISIBILITY_FALSE='#'
81402 else
81403 ENABLE_VISIBILITY_TRUE='#'
81404 ENABLE_VISIBILITY_FALSE=
81408 if test $enable_libstdcxx_dual_abi = yes; then
81409 ENABLE_DUAL_ABI_TRUE=
81410 ENABLE_DUAL_ABI_FALSE='#'
81411 else
81412 ENABLE_DUAL_ABI_TRUE='#'
81413 ENABLE_DUAL_ABI_FALSE=
81417 if test $glibcxx_cxx11_abi = 1; then
81418 ENABLE_CXX11_ABI_TRUE=
81419 ENABLE_CXX11_ABI_FALSE='#'
81420 else
81421 ENABLE_CXX11_ABI_TRUE='#'
81422 ENABLE_CXX11_ABI_FALSE=
81426 if test $ac_ldbl_compat = yes; then
81427 GLIBCXX_LDBL_COMPAT_TRUE=
81428 GLIBCXX_LDBL_COMPAT_FALSE='#'
81429 else
81430 GLIBCXX_LDBL_COMPAT_TRUE='#'
81431 GLIBCXX_LDBL_COMPAT_FALSE=
81435 if test $enable_libstdcxx_filesystem_ts = yes; then
81436 ENABLE_FILESYSTEM_TS_TRUE=
81437 ENABLE_FILESYSTEM_TS_FALSE='#'
81438 else
81439 ENABLE_FILESYSTEM_TS_TRUE='#'
81440 ENABLE_FILESYSTEM_TS_FALSE=
81446 cat >confcache <<\_ACEOF
81447 # This file is a shell script that caches the results of configure
81448 # tests run on this system so they can be shared between configure
81449 # scripts and configure runs, see configure's option --config-cache.
81450 # It is not useful on other systems. If it contains results you don't
81451 # want to keep, you may remove or edit it.
81453 # config.status only pays attention to the cache file if you give it
81454 # the --recheck option to rerun configure.
81456 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81457 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81458 # following values.
81460 _ACEOF
81462 # The following way of writing the cache mishandles newlines in values,
81463 # but we know of no workaround that is simple, portable, and efficient.
81464 # So, we kill variables containing newlines.
81465 # Ultrix sh set writes to stderr and can't be redirected directly,
81466 # and sets the high bit in the cache file unless we assign to the vars.
81468 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81469 eval ac_val=\$$ac_var
81470 case $ac_val in #(
81471 *${as_nl}*)
81472 case $ac_var in #(
81473 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81474 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81475 esac
81476 case $ac_var in #(
81477 _ | IFS | as_nl) ;; #(
81478 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81479 *) { eval $ac_var=; unset $ac_var;} ;;
81480 esac ;;
81481 esac
81482 done
81484 (set) 2>&1 |
81485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81486 *${as_nl}ac_space=\ *)
81487 # `set' does not quote correctly, so add quotes: double-quote
81488 # substitution turns \\\\ into \\, and sed turns \\ into \.
81489 sed -n \
81490 "s/'/'\\\\''/g;
81491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81492 ;; #(
81494 # `set' quotes correctly as required by POSIX, so do not add quotes.
81495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81497 esac |
81498 sort
81500 sed '
81501 /^ac_cv_env_/b end
81502 t clear
81503 :clear
81504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81505 t end
81506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81507 :end' >>confcache
81508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81509 if test -w "$cache_file"; then
81510 test "x$cache_file" != "x/dev/null" &&
81511 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81512 $as_echo "$as_me: updating cache $cache_file" >&6;}
81513 cat confcache >$cache_file
81514 else
81515 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81516 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81519 rm -f confcache
81521 if test ${multilib} = yes; then
81522 multilib_arg="--enable-multilib"
81523 else
81524 multilib_arg=
81527 # Export all the install information.
81529 glibcxx_toolexecdir=no
81530 glibcxx_toolexeclibdir=no
81531 glibcxx_prefixdir=$prefix
81533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81534 $as_echo_n "checking for gxx-include-dir... " >&6; }
81536 # Check whether --with-gxx-include-dir was given.
81537 if test "${with_gxx_include_dir+set}" = set; then :
81538 withval=$with_gxx_include_dir; case "$withval" in
81539 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81540 no) gxx_include_dir=no ;;
81541 *) gxx_include_dir=$withval ;;
81542 esac
81543 else
81544 gxx_include_dir=no
81547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81548 $as_echo "$gxx_include_dir" >&6; }
81550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81551 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81552 # Check whether --enable-version-specific-runtime-libs was given.
81553 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81554 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81555 yes) version_specific_libs=yes ;;
81556 no) version_specific_libs=no ;;
81557 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81558 esac
81559 else
81560 version_specific_libs=no
81563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81564 $as_echo "$version_specific_libs" >&6; }
81566 # Default case for install directory for include files.
81567 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81568 gxx_include_dir='include/c++/${gcc_version}'
81569 if test -n "$with_cross_host" &&
81570 test x"$with_cross_host" != x"no"; then
81571 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81572 else
81573 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81577 # Version-specific runtime libs processing.
81578 if test $version_specific_libs = yes; then
81579 # Need the gcc compiler version to know where to install libraries
81580 # and header files if --enable-version-specific-runtime-libs option
81581 # is selected. FIXME: these variables are misnamed, there are
81582 # no executables installed in _toolexecdir or _toolexeclibdir.
81583 if test x"$gxx_include_dir" = x"no"; then
81584 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81586 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81587 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81590 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81591 # Install a library built with a cross compiler in tooldir, not libdir.
81592 if test x"$glibcxx_toolexecdir" = x"no"; then
81593 if test -n "$with_cross_host" &&
81594 test x"$with_cross_host" != x"no"; then
81595 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81596 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81597 else
81598 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81599 glibcxx_toolexeclibdir='${libdir}'
81601 multi_os_directory=`$CXX -print-multi-os-directory`
81602 case $multi_os_directory in
81603 .) ;; # Avoid trailing /.
81604 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81605 esac
81608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81609 $as_echo_n "checking for install location... " >&6; }
81610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81611 $as_echo "$gxx_include_dir" >&6; }
81619 # Export all the include and flag information to Makefiles.
81621 # Used for every C++ compile we perform.
81622 GLIBCXX_INCLUDES="\
81623 -I$glibcxx_builddir/include/$host_alias \
81624 -I$glibcxx_builddir/include \
81625 -I$glibcxx_srcdir/libsupc++"
81627 # For Canadian crosses, pick this up too.
81628 if test $CANADIAN = yes; then
81629 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81632 # Stuff in the actual top level. Currently only used by libsupc++ to
81633 # get unwind* headers from the libgcc dir.
81634 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81635 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81637 # Now, export this to all the little Makefiles....
81642 # Optimization flags that are probably a good idea for thrill-seekers. Just
81643 # uncomment the lines below and make, everything else is ready to go...
81644 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81645 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81648 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81652 # Determine what GCC version number to use in filesystem paths.
81654 get_gcc_base_ver="cat"
81656 # Check whether --with-gcc-major-version-only was given.
81657 if test "${with_gcc_major_version_only+set}" = set; then :
81658 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
81659 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
81667 ac_config_files="$ac_config_files Makefile"
81669 ac_config_files="$ac_config_files scripts/testsuite_flags"
81671 ac_config_files="$ac_config_files scripts/extract_symvers"
81673 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81676 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81677 # that multilib installs will end up installed in the correct place.
81678 # The testsuite needs it for multilib-aware ABI baseline files.
81679 # To work around this not being passed down from config-ml.in ->
81680 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81681 # append it here. Only modify Makefiles that have just been created.
81683 # Also, get rid of this simulated-VPATH thing that automake does.
81684 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81687 ac_config_commands="$ac_config_commands generate-headers"
81690 cat >confcache <<\_ACEOF
81691 # This file is a shell script that caches the results of configure
81692 # tests run on this system so they can be shared between configure
81693 # scripts and configure runs, see configure's option --config-cache.
81694 # It is not useful on other systems. If it contains results you don't
81695 # want to keep, you may remove or edit it.
81697 # config.status only pays attention to the cache file if you give it
81698 # the --recheck option to rerun configure.
81700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81702 # following values.
81704 _ACEOF
81706 # The following way of writing the cache mishandles newlines in values,
81707 # but we know of no workaround that is simple, portable, and efficient.
81708 # So, we kill variables containing newlines.
81709 # Ultrix sh set writes to stderr and can't be redirected directly,
81710 # and sets the high bit in the cache file unless we assign to the vars.
81712 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81713 eval ac_val=\$$ac_var
81714 case $ac_val in #(
81715 *${as_nl}*)
81716 case $ac_var in #(
81717 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81718 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81719 esac
81720 case $ac_var in #(
81721 _ | IFS | as_nl) ;; #(
81722 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81723 *) { eval $ac_var=; unset $ac_var;} ;;
81724 esac ;;
81725 esac
81726 done
81728 (set) 2>&1 |
81729 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81730 *${as_nl}ac_space=\ *)
81731 # `set' does not quote correctly, so add quotes: double-quote
81732 # substitution turns \\\\ into \\, and sed turns \\ into \.
81733 sed -n \
81734 "s/'/'\\\\''/g;
81735 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81736 ;; #(
81738 # `set' quotes correctly as required by POSIX, so do not add quotes.
81739 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81741 esac |
81742 sort
81744 sed '
81745 /^ac_cv_env_/b end
81746 t clear
81747 :clear
81748 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81749 t end
81750 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81751 :end' >>confcache
81752 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81753 if test -w "$cache_file"; then
81754 test "x$cache_file" != "x/dev/null" &&
81755 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81756 $as_echo "$as_me: updating cache $cache_file" >&6;}
81757 cat confcache >$cache_file
81758 else
81759 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81760 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81763 rm -f confcache
81765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81766 # Let make expand exec_prefix.
81767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81769 DEFS=-DHAVE_CONFIG_H
81771 ac_libobjs=
81772 ac_ltlibobjs=
81773 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81774 # 1. Remove the extension, and $U if already installed.
81775 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81776 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81777 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81778 # will be set to the directory where LIBOBJS objects are built.
81779 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81780 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81781 done
81782 LIBOBJS=$ac_libobjs
81784 LTLIBOBJS=$ac_ltlibobjs
81787 if test -n "$EXEEXT"; then
81788 am__EXEEXT_TRUE=
81789 am__EXEEXT_FALSE='#'
81790 else
81791 am__EXEEXT_TRUE='#'
81792 am__EXEEXT_FALSE=
81795 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81796 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81799 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81800 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81803 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81804 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81807 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81808 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81811 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81812 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81815 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81816 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81819 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81820 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81823 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81824 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81827 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81828 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81831 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81832 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81835 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81836 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81839 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81840 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81843 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81844 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81847 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81848 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81851 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81852 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81855 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81856 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81859 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81860 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81863 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81864 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81867 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81868 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81871 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81872 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81875 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81876 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81879 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81880 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81883 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81884 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81887 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81888 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81891 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81892 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81895 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81896 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81899 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81900 as_fn_error "conditional \"BUILD_XML\" was never defined.
81901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81903 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81904 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81907 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81908 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81911 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81912 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81916 : ${CONFIG_STATUS=./config.status}
81917 ac_write_fail=0
81918 ac_clean_files_save=$ac_clean_files
81919 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81921 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81922 as_write_fail=0
81923 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81924 #! $SHELL
81925 # Generated by $as_me.
81926 # Run this file to recreate the current configuration.
81927 # Compiler output produced by configure, useful for debugging
81928 # configure, is in config.log if it exists.
81930 debug=false
81931 ac_cs_recheck=false
81932 ac_cs_silent=false
81934 SHELL=\${CONFIG_SHELL-$SHELL}
81935 export SHELL
81936 _ASEOF
81937 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81938 ## -------------------- ##
81939 ## M4sh Initialization. ##
81940 ## -------------------- ##
81942 # Be more Bourne compatible
81943 DUALCASE=1; export DUALCASE # for MKS sh
81944 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81945 emulate sh
81946 NULLCMD=:
81947 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81948 # is contrary to our usage. Disable this feature.
81949 alias -g '${1+"$@"}'='"$@"'
81950 setopt NO_GLOB_SUBST
81951 else
81952 case `(set -o) 2>/dev/null` in #(
81953 *posix*) :
81954 set -o posix ;; #(
81955 *) :
81957 esac
81961 as_nl='
81963 export as_nl
81964 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81965 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81966 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81968 # Prefer a ksh shell builtin over an external printf program on Solaris,
81969 # but without wasting forks for bash or zsh.
81970 if test -z "$BASH_VERSION$ZSH_VERSION" \
81971 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81972 as_echo='print -r --'
81973 as_echo_n='print -rn --'
81974 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81975 as_echo='printf %s\n'
81976 as_echo_n='printf %s'
81977 else
81978 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81979 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81980 as_echo_n='/usr/ucb/echo -n'
81981 else
81982 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81983 as_echo_n_body='eval
81984 arg=$1;
81985 case $arg in #(
81986 *"$as_nl"*)
81987 expr "X$arg" : "X\\(.*\\)$as_nl";
81988 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81989 esac;
81990 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81992 export as_echo_n_body
81993 as_echo_n='sh -c $as_echo_n_body as_echo'
81995 export as_echo_body
81996 as_echo='sh -c $as_echo_body as_echo'
81999 # The user is always right.
82000 if test "${PATH_SEPARATOR+set}" != set; then
82001 PATH_SEPARATOR=:
82002 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82003 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82004 PATH_SEPARATOR=';'
82009 # IFS
82010 # We need space, tab and new line, in precisely that order. Quoting is
82011 # there to prevent editors from complaining about space-tab.
82012 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82013 # splitting by setting IFS to empty value.)
82014 IFS=" "" $as_nl"
82016 # Find who we are. Look in the path if we contain no directory separator.
82017 case $0 in #((
82018 *[\\/]* ) as_myself=$0 ;;
82019 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82020 for as_dir in $PATH
82022 IFS=$as_save_IFS
82023 test -z "$as_dir" && as_dir=.
82024 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82025 done
82026 IFS=$as_save_IFS
82029 esac
82030 # We did not find ourselves, most probably we were run as `sh COMMAND'
82031 # in which case we are not to be found in the path.
82032 if test "x$as_myself" = x; then
82033 as_myself=$0
82035 if test ! -f "$as_myself"; then
82036 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82037 exit 1
82040 # Unset variables that we do not need and which cause bugs (e.g. in
82041 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82042 # suppresses any "Segmentation fault" message there. '((' could
82043 # trigger a bug in pdksh 5.2.14.
82044 for as_var in BASH_ENV ENV MAIL MAILPATH
82045 do eval test x\${$as_var+set} = xset \
82046 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82047 done
82048 PS1='$ '
82049 PS2='> '
82050 PS4='+ '
82052 # NLS nuisances.
82053 LC_ALL=C
82054 export LC_ALL
82055 LANGUAGE=C
82056 export LANGUAGE
82058 # CDPATH.
82059 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82062 # as_fn_error ERROR [LINENO LOG_FD]
82063 # ---------------------------------
82064 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82065 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82066 # script with status $?, using 1 if that was 0.
82067 as_fn_error ()
82069 as_status=$?; test $as_status -eq 0 && as_status=1
82070 if test "$3"; then
82071 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82072 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
82074 $as_echo "$as_me: error: $1" >&2
82075 as_fn_exit $as_status
82076 } # as_fn_error
82079 # as_fn_set_status STATUS
82080 # -----------------------
82081 # Set $? to STATUS, without forking.
82082 as_fn_set_status ()
82084 return $1
82085 } # as_fn_set_status
82087 # as_fn_exit STATUS
82088 # -----------------
82089 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82090 as_fn_exit ()
82092 set +e
82093 as_fn_set_status $1
82094 exit $1
82095 } # as_fn_exit
82097 # as_fn_unset VAR
82098 # ---------------
82099 # Portably unset VAR.
82100 as_fn_unset ()
82102 { eval $1=; unset $1;}
82104 as_unset=as_fn_unset
82105 # as_fn_append VAR VALUE
82106 # ----------------------
82107 # Append the text in VALUE to the end of the definition contained in VAR. Take
82108 # advantage of any shell optimizations that allow amortized linear growth over
82109 # repeated appends, instead of the typical quadratic growth present in naive
82110 # implementations.
82111 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82112 eval 'as_fn_append ()
82114 eval $1+=\$2
82116 else
82117 as_fn_append ()
82119 eval $1=\$$1\$2
82121 fi # as_fn_append
82123 # as_fn_arith ARG...
82124 # ------------------
82125 # Perform arithmetic evaluation on the ARGs, and store the result in the
82126 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82127 # must be portable across $(()) and expr.
82128 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82129 eval 'as_fn_arith ()
82131 as_val=$(( $* ))
82133 else
82134 as_fn_arith ()
82136 as_val=`expr "$@" || test $? -eq 1`
82138 fi # as_fn_arith
82141 if expr a : '\(a\)' >/dev/null 2>&1 &&
82142 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82143 as_expr=expr
82144 else
82145 as_expr=false
82148 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82149 as_basename=basename
82150 else
82151 as_basename=false
82154 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82155 as_dirname=dirname
82156 else
82157 as_dirname=false
82160 as_me=`$as_basename -- "$0" ||
82161 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82162 X"$0" : 'X\(//\)$' \| \
82163 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82164 $as_echo X/"$0" |
82165 sed '/^.*\/\([^/][^/]*\)\/*$/{
82166 s//\1/
82169 /^X\/\(\/\/\)$/{
82170 s//\1/
82173 /^X\/\(\/\).*/{
82174 s//\1/
82177 s/.*/./; q'`
82179 # Avoid depending upon Character Ranges.
82180 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82181 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82182 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82183 as_cr_digits='0123456789'
82184 as_cr_alnum=$as_cr_Letters$as_cr_digits
82186 ECHO_C= ECHO_N= ECHO_T=
82187 case `echo -n x` in #(((((
82188 -n*)
82189 case `echo 'xy\c'` in
82190 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82191 xy) ECHO_C='\c';;
82192 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
82193 ECHO_T=' ';;
82194 esac;;
82196 ECHO_N='-n';;
82197 esac
82199 rm -f conf$$ conf$$.exe conf$$.file
82200 if test -d conf$$.dir; then
82201 rm -f conf$$.dir/conf$$.file
82202 else
82203 rm -f conf$$.dir
82204 mkdir conf$$.dir 2>/dev/null
82206 if (echo >conf$$.file) 2>/dev/null; then
82207 if ln -s conf$$.file conf$$ 2>/dev/null; then
82208 as_ln_s='ln -s'
82209 # ... but there are two gotchas:
82210 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
82211 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
82212 # In both cases, we have to default to `cp -p'.
82213 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
82214 as_ln_s='cp -p'
82215 elif ln conf$$.file conf$$ 2>/dev/null; then
82216 as_ln_s=ln
82217 else
82218 as_ln_s='cp -p'
82220 else
82221 as_ln_s='cp -p'
82223 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
82224 rmdir conf$$.dir 2>/dev/null
82227 # as_fn_mkdir_p
82228 # -------------
82229 # Create "$as_dir" as a directory, including parents if necessary.
82230 as_fn_mkdir_p ()
82233 case $as_dir in #(
82234 -*) as_dir=./$as_dir;;
82235 esac
82236 test -d "$as_dir" || eval $as_mkdir_p || {
82237 as_dirs=
82238 while :; do
82239 case $as_dir in #(
82240 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
82241 *) as_qdir=$as_dir;;
82242 esac
82243 as_dirs="'$as_qdir' $as_dirs"
82244 as_dir=`$as_dirname -- "$as_dir" ||
82245 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82246 X"$as_dir" : 'X\(//\)[^/]' \| \
82247 X"$as_dir" : 'X\(//\)$' \| \
82248 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
82249 $as_echo X"$as_dir" |
82250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82251 s//\1/
82254 /^X\(\/\/\)[^/].*/{
82255 s//\1/
82258 /^X\(\/\/\)$/{
82259 s//\1/
82262 /^X\(\/\).*/{
82263 s//\1/
82266 s/.*/./; q'`
82267 test -d "$as_dir" && break
82268 done
82269 test -z "$as_dirs" || eval "mkdir $as_dirs"
82270 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
82273 } # as_fn_mkdir_p
82274 if mkdir -p . 2>/dev/null; then
82275 as_mkdir_p='mkdir -p "$as_dir"'
82276 else
82277 test -d ./-p && rmdir ./-p
82278 as_mkdir_p=false
82281 if test -x / >/dev/null 2>&1; then
82282 as_test_x='test -x'
82283 else
82284 if ls -dL / >/dev/null 2>&1; then
82285 as_ls_L_option=L
82286 else
82287 as_ls_L_option=
82289 as_test_x='
82290 eval sh -c '\''
82291 if test -d "$1"; then
82292 test -d "$1/.";
82293 else
82294 case $1 in #(
82295 -*)set "./$1";;
82296 esac;
82297 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82298 ???[sx]*):;;*)false;;esac;fi
82299 '\'' sh
82302 as_executable_p=$as_test_x
82304 # Sed expression to map a string onto a valid CPP name.
82305 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82307 # Sed expression to map a string onto a valid variable name.
82308 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82311 exec 6>&1
82312 ## ----------------------------------- ##
82313 ## Main body of $CONFIG_STATUS script. ##
82314 ## ----------------------------------- ##
82315 _ASEOF
82316 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82319 # Save the log message, to keep $0 and so on meaningful, and to
82320 # report actual input values of CONFIG_FILES etc. instead of their
82321 # values after options handling.
82322 ac_log="
82323 This file was extended by package-unused $as_me version-unused, which was
82324 generated by GNU Autoconf 2.64. Invocation command line was
82326 CONFIG_FILES = $CONFIG_FILES
82327 CONFIG_HEADERS = $CONFIG_HEADERS
82328 CONFIG_LINKS = $CONFIG_LINKS
82329 CONFIG_COMMANDS = $CONFIG_COMMANDS
82330 $ $0 $@
82332 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82335 _ACEOF
82337 case $ac_config_files in *"
82338 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82339 esac
82341 case $ac_config_headers in *"
82342 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82343 esac
82346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82347 # Files that config.status was made for.
82348 config_files="$ac_config_files"
82349 config_headers="$ac_config_headers"
82350 config_commands="$ac_config_commands"
82352 _ACEOF
82354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82355 ac_cs_usage="\
82356 \`$as_me' instantiates files and other configuration actions
82357 from templates according to the current configuration. Unless the files
82358 and actions are specified as TAGs, all are instantiated by default.
82360 Usage: $0 [OPTION]... [TAG]...
82362 -h, --help print this help, then exit
82363 -V, --version print version number and configuration settings, then exit
82364 -q, --quiet, --silent
82365 do not print progress messages
82366 -d, --debug don't remove temporary files
82367 --recheck update $as_me by reconfiguring in the same conditions
82368 --file=FILE[:TEMPLATE]
82369 instantiate the configuration file FILE
82370 --header=FILE[:TEMPLATE]
82371 instantiate the configuration header FILE
82373 Configuration files:
82374 $config_files
82376 Configuration headers:
82377 $config_headers
82379 Configuration commands:
82380 $config_commands
82382 Report bugs to the package provider."
82384 _ACEOF
82385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82386 ac_cs_version="\\
82387 package-unused config.status version-unused
82388 configured by $0, generated by GNU Autoconf 2.64,
82389 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82391 Copyright (C) 2009 Free Software Foundation, Inc.
82392 This config.status script is free software; the Free Software Foundation
82393 gives unlimited permission to copy, distribute and modify it."
82395 ac_pwd='$ac_pwd'
82396 srcdir='$srcdir'
82397 INSTALL='$INSTALL'
82398 MKDIR_P='$MKDIR_P'
82399 AWK='$AWK'
82400 test -n "\$AWK" || AWK=awk
82401 _ACEOF
82403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82404 # The default lists apply if the user does not specify any file.
82405 ac_need_defaults=:
82406 while test $# != 0
82408 case $1 in
82409 --*=*)
82410 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82411 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82412 ac_shift=:
82415 ac_option=$1
82416 ac_optarg=$2
82417 ac_shift=shift
82419 esac
82421 case $ac_option in
82422 # Handling of the options.
82423 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82424 ac_cs_recheck=: ;;
82425 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82426 $as_echo "$ac_cs_version"; exit ;;
82427 --debug | --debu | --deb | --de | --d | -d )
82428 debug=: ;;
82429 --file | --fil | --fi | --f )
82430 $ac_shift
82431 case $ac_optarg in
82432 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82433 esac
82434 as_fn_append CONFIG_FILES " '$ac_optarg'"
82435 ac_need_defaults=false;;
82436 --header | --heade | --head | --hea )
82437 $ac_shift
82438 case $ac_optarg in
82439 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82440 esac
82441 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82442 ac_need_defaults=false;;
82443 --he | --h)
82444 # Conflict between --help and --header
82445 as_fn_error "ambiguous option: \`$1'
82446 Try \`$0 --help' for more information.";;
82447 --help | --hel | -h )
82448 $as_echo "$ac_cs_usage"; exit ;;
82449 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82450 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82451 ac_cs_silent=: ;;
82453 # This is an error.
82454 -*) as_fn_error "unrecognized option: \`$1'
82455 Try \`$0 --help' for more information." ;;
82457 *) as_fn_append ac_config_targets " $1"
82458 ac_need_defaults=false ;;
82460 esac
82461 shift
82462 done
82464 ac_configure_extra_args=
82466 if $ac_cs_silent; then
82467 exec 6>/dev/null
82468 ac_configure_extra_args="$ac_configure_extra_args --silent"
82471 _ACEOF
82472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82473 if \$ac_cs_recheck; then
82474 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82475 shift
82476 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82477 CONFIG_SHELL='$SHELL'
82478 export CONFIG_SHELL
82479 exec "\$@"
82482 _ACEOF
82483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82484 exec 5>>config.log
82486 echo
82487 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82488 ## Running $as_me. ##
82489 _ASBOX
82490 $as_echo "$ac_log"
82491 } >&5
82493 _ACEOF
82494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82496 # INIT-COMMANDS
82499 srcdir="$srcdir"
82500 host="$host"
82501 target="$target"
82502 with_multisubdir="$with_multisubdir"
82503 with_multisrctop="$with_multisrctop"
82504 with_target_subdir="$with_target_subdir"
82505 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82506 multi_basedir="$multi_basedir"
82507 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82508 CC="$CC"
82509 CXX="$CXX"
82510 GFORTRAN="$GFORTRAN"
82513 # The HP-UX ksh and POSIX shell print the target directory to stdout
82514 # if CDPATH is set.
82515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82517 sed_quote_subst='$sed_quote_subst'
82518 double_quote_subst='$double_quote_subst'
82519 delay_variable_subst='$delay_variable_subst'
82520 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82521 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82522 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82523 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82524 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82525 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82526 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82527 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82528 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82529 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82530 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82531 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82532 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82533 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82534 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82535 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82536 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82537 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82538 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82539 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82540 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82541 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82542 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82543 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82544 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82545 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82546 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82547 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82548 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82549 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82550 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82551 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82552 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82553 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82554 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82555 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82556 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82557 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82558 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82559 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82560 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82561 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82562 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82563 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82564 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82565 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82566 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82567 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82568 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"`'
82569 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82570 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82571 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82572 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82573 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82574 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82575 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82576 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82577 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82578 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82579 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82580 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82581 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82582 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82583 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82584 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82585 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82586 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82587 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82588 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82589 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82590 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82591 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82592 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82593 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82594 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82595 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82596 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82597 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82598 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82599 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82600 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82601 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82602 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82603 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82604 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82605 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82606 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82607 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82608 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82609 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82610 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82611 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82612 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82613 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82614 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82615 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82616 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82617 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82618 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82619 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82620 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82621 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82622 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82623 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82624 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82625 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82626 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82627 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82628 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82629 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82630 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82631 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82632 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82633 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82634 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82635 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82636 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82637 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82638 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82639 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82640 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82641 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82642 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82643 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82644 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82645 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82646 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82647 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82648 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82649 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82650 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82651 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82652 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82653 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82654 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82655 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82656 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82657 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82658 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82659 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82660 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82661 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82662 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82663 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82664 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82665 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82666 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82667 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82668 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82669 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82670 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82671 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82672 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82673 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82674 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82675 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82676 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82677 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82678 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82679 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82680 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82681 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82682 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82683 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82684 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82685 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82686 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82687 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82688 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82689 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82690 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82691 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82692 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82693 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82694 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82696 LTCC='$LTCC'
82697 LTCFLAGS='$LTCFLAGS'
82698 compiler='$compiler_DEFAULT'
82700 # A function that is used when there is no print builtin or printf.
82701 func_fallback_echo ()
82703 eval 'cat <<_LTECHO_EOF
82705 _LTECHO_EOF'
82708 # Quote evaled strings.
82709 for var in SHELL \
82710 ECHO \
82711 SED \
82712 GREP \
82713 EGREP \
82714 FGREP \
82715 LD \
82716 NM \
82717 LN_S \
82718 lt_SP2NL \
82719 lt_NL2SP \
82720 reload_flag \
82721 OBJDUMP \
82722 deplibs_check_method \
82723 file_magic_cmd \
82724 AR \
82725 AR_FLAGS \
82726 STRIP \
82727 RANLIB \
82728 CC \
82729 CFLAGS \
82730 compiler \
82731 lt_cv_sys_global_symbol_pipe \
82732 lt_cv_sys_global_symbol_to_cdecl \
82733 lt_cv_sys_global_symbol_to_c_name_address \
82734 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82735 lt_prog_compiler_no_builtin_flag \
82736 lt_prog_compiler_wl \
82737 lt_prog_compiler_pic \
82738 lt_prog_compiler_static \
82739 lt_cv_prog_compiler_c_o \
82740 need_locks \
82741 DSYMUTIL \
82742 NMEDIT \
82743 LIPO \
82744 OTOOL \
82745 OTOOL64 \
82746 shrext_cmds \
82747 export_dynamic_flag_spec \
82748 whole_archive_flag_spec \
82749 compiler_needs_object \
82750 with_gnu_ld \
82751 allow_undefined_flag \
82752 no_undefined_flag \
82753 hardcode_libdir_flag_spec \
82754 hardcode_libdir_flag_spec_ld \
82755 hardcode_libdir_separator \
82756 fix_srcfile_path \
82757 exclude_expsyms \
82758 include_expsyms \
82759 file_list_spec \
82760 variables_saved_for_relink \
82761 libname_spec \
82762 library_names_spec \
82763 soname_spec \
82764 install_override_mode \
82765 finish_eval \
82766 old_striplib \
82767 striplib \
82768 compiler_lib_search_dirs \
82769 predep_objects \
82770 postdep_objects \
82771 predeps \
82772 postdeps \
82773 compiler_lib_search_path \
82774 LD_CXX \
82775 reload_flag_CXX \
82776 compiler_CXX \
82777 lt_prog_compiler_no_builtin_flag_CXX \
82778 lt_prog_compiler_wl_CXX \
82779 lt_prog_compiler_pic_CXX \
82780 lt_prog_compiler_static_CXX \
82781 lt_cv_prog_compiler_c_o_CXX \
82782 export_dynamic_flag_spec_CXX \
82783 whole_archive_flag_spec_CXX \
82784 compiler_needs_object_CXX \
82785 with_gnu_ld_CXX \
82786 allow_undefined_flag_CXX \
82787 no_undefined_flag_CXX \
82788 hardcode_libdir_flag_spec_CXX \
82789 hardcode_libdir_flag_spec_ld_CXX \
82790 hardcode_libdir_separator_CXX \
82791 fix_srcfile_path_CXX \
82792 exclude_expsyms_CXX \
82793 include_expsyms_CXX \
82794 file_list_spec_CXX \
82795 compiler_lib_search_dirs_CXX \
82796 predep_objects_CXX \
82797 postdep_objects_CXX \
82798 predeps_CXX \
82799 postdeps_CXX \
82800 compiler_lib_search_path_CXX; do
82801 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82802 *[\\\\\\\`\\"\\\$]*)
82803 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82806 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82808 esac
82809 done
82811 # Double-quote double-evaled strings.
82812 for var in reload_cmds \
82813 old_postinstall_cmds \
82814 old_postuninstall_cmds \
82815 old_archive_cmds \
82816 extract_expsyms_cmds \
82817 old_archive_from_new_cmds \
82818 old_archive_from_expsyms_cmds \
82819 archive_cmds \
82820 archive_expsym_cmds \
82821 module_cmds \
82822 module_expsym_cmds \
82823 export_symbols_cmds \
82824 prelink_cmds \
82825 postinstall_cmds \
82826 postuninstall_cmds \
82827 finish_cmds \
82828 sys_lib_search_path_spec \
82829 sys_lib_dlsearch_path_spec \
82830 reload_cmds_CXX \
82831 old_archive_cmds_CXX \
82832 old_archive_from_new_cmds_CXX \
82833 old_archive_from_expsyms_cmds_CXX \
82834 archive_cmds_CXX \
82835 archive_expsym_cmds_CXX \
82836 module_cmds_CXX \
82837 module_expsym_cmds_CXX \
82838 export_symbols_cmds_CXX \
82839 prelink_cmds_CXX; do
82840 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82841 *[\\\\\\\`\\"\\\$]*)
82842 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82845 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82847 esac
82848 done
82850 ac_aux_dir='$ac_aux_dir'
82851 xsi_shell='$xsi_shell'
82852 lt_shell_append='$lt_shell_append'
82854 # See if we are running on zsh, and set the options which allow our
82855 # commands through without removal of \ escapes INIT.
82856 if test -n "\${ZSH_VERSION+set}" ; then
82857 setopt NO_GLOB_SUBST
82861 PACKAGE='$PACKAGE'
82862 VERSION='$VERSION'
82863 TIMESTAMP='$TIMESTAMP'
82864 RM='$RM'
82865 ofile='$ofile'
82872 GCC="$GCC"
82873 CC="$CC"
82874 acx_cv_header_stdint="$acx_cv_header_stdint"
82875 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82876 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82877 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82878 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82879 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82880 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82881 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82882 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82883 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82884 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82885 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82886 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82887 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82890 _ACEOF
82892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82894 # Handling of arguments.
82895 for ac_config_target in $ac_config_targets
82897 case $ac_config_target in
82898 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82899 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82900 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82901 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82902 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82903 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82904 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82905 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82906 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82907 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82908 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82909 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82910 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82911 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82912 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82913 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82914 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82915 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82916 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82918 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82919 esac
82920 done
82923 # If the user did not use the arguments to specify the items to instantiate,
82924 # then the envvar interface is used. Set only those that are not.
82925 # We use the long form for the default assignment because of an extremely
82926 # bizarre bug on SunOS 4.1.3.
82927 if $ac_need_defaults; then
82928 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82929 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82930 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82933 # Have a temporary directory for convenience. Make it in the build tree
82934 # simply because there is no reason against having it here, and in addition,
82935 # creating and moving files from /tmp can sometimes cause problems.
82936 # Hook for its removal unless debugging.
82937 # Note that there is a small window in which the directory will not be cleaned:
82938 # after its creation but before its name has been assigned to `$tmp'.
82939 $debug ||
82941 tmp=
82942 trap 'exit_status=$?
82943 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82945 trap 'as_fn_exit 1' 1 2 13 15
82947 # Create a (secure) tmp directory for tmp files.
82950 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82951 test -n "$tmp" && test -d "$tmp"
82952 } ||
82954 tmp=./conf$$-$RANDOM
82955 (umask 077 && mkdir "$tmp")
82956 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82958 # Set up the scripts for CONFIG_FILES section.
82959 # No need to generate them if there are no CONFIG_FILES.
82960 # This happens for instance with `./config.status config.h'.
82961 if test -n "$CONFIG_FILES"; then
82964 ac_cr=`echo X | tr X '\015'`
82965 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82966 # But we know of no other shell where ac_cr would be empty at this
82967 # point, so we can use a bashism as a fallback.
82968 if test "x$ac_cr" = x; then
82969 eval ac_cr=\$\'\\r\'
82971 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82972 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82973 ac_cs_awk_cr='\r'
82974 else
82975 ac_cs_awk_cr=$ac_cr
82978 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82979 _ACEOF
82983 echo "cat >conf$$subs.awk <<_ACEOF" &&
82984 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82985 echo "_ACEOF"
82986 } >conf$$subs.sh ||
82987 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82988 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82989 ac_delim='%!_!# '
82990 for ac_last_try in false false false false false :; do
82991 . ./conf$$subs.sh ||
82992 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82994 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82995 if test $ac_delim_n = $ac_delim_num; then
82996 break
82997 elif $ac_last_try; then
82998 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82999 else
83000 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83002 done
83003 rm -f conf$$subs.sh
83005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83006 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
83007 _ACEOF
83008 sed -n '
83010 s/^/S["/; s/!.*/"]=/
83013 s/^[^!]*!//
83014 :repl
83015 t repl
83016 s/'"$ac_delim"'$//
83017 t delim
83020 s/\(.\{148\}\).*/\1/
83021 t more1
83022 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83025 b repl
83026 :more1
83027 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83030 s/.\{148\}//
83031 t nl
83032 :delim
83034 s/\(.\{148\}\).*/\1/
83035 t more2
83036 s/["\\]/\\&/g; s/^/"/; s/$/"/
83039 :more2
83040 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83043 s/.\{148\}//
83044 t delim
83045 ' <conf$$subs.awk | sed '
83046 /^[^""]/{
83048 s/\n//
83050 ' >>$CONFIG_STATUS || ac_write_fail=1
83051 rm -f conf$$subs.awk
83052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83053 _ACAWK
83054 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
83055 for (key in S) S_is_set[key] = 1
83056 FS = "\a"
83060 line = $ 0
83061 nfields = split(line, field, "@")
83062 substed = 0
83063 len = length(field[1])
83064 for (i = 2; i < nfields; i++) {
83065 key = field[i]
83066 keylen = length(key)
83067 if (S_is_set[key]) {
83068 value = S[key]
83069 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83070 len += length(value) + length(field[++i])
83071 substed = 1
83072 } else
83073 len += 1 + keylen
83076 print line
83079 _ACAWK
83080 _ACEOF
83081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83082 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83083 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83084 else
83086 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
83087 || as_fn_error "could not setup config files machinery" "$LINENO" 5
83088 _ACEOF
83090 # VPATH may cause trouble with some makes, so we remove $(srcdir),
83091 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
83092 # trailing colons and then remove the whole line if VPATH becomes empty
83093 # (actually we leave an empty line to preserve line numbers).
83094 if test "x$srcdir" = x.; then
83095 ac_vpsub='/^[ ]*VPATH[ ]*=/{
83096 s/:*\$(srcdir):*/:/
83097 s/:*\${srcdir}:*/:/
83098 s/:*@srcdir@:*/:/
83099 s/^\([^=]*=[ ]*\):*/\1/
83100 s/:*$//
83101 s/^[^=]*=[ ]*$//
83105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83106 fi # test -n "$CONFIG_FILES"
83108 # Set up the scripts for CONFIG_HEADERS section.
83109 # No need to generate them if there are no CONFIG_HEADERS.
83110 # This happens for instance with `./config.status Makefile'.
83111 if test -n "$CONFIG_HEADERS"; then
83112 cat >"$tmp/defines.awk" <<\_ACAWK ||
83113 BEGIN {
83114 _ACEOF
83116 # Transform confdefs.h into an awk script `defines.awk', embedded as
83117 # here-document in config.status, that substitutes the proper values into
83118 # config.h.in to produce config.h.
83120 # Create a delimiter string that does not exist in confdefs.h, to ease
83121 # handling of long lines.
83122 ac_delim='%!_!# '
83123 for ac_last_try in false false :; do
83124 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
83125 if test -z "$ac_t"; then
83126 break
83127 elif $ac_last_try; then
83128 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
83129 else
83130 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83132 done
83134 # For the awk script, D is an array of macro values keyed by name,
83135 # likewise P contains macro parameters if any. Preserve backslash
83136 # newline sequences.
83138 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83139 sed -n '
83140 s/.\{148\}/&'"$ac_delim"'/g
83141 t rset
83142 :rset
83143 s/^[ ]*#[ ]*define[ ][ ]*/ /
83144 t def
83146 :def
83147 s/\\$//
83148 t bsnl
83149 s/["\\]/\\&/g
83150 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83151 D["\1"]=" \3"/p
83152 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83154 :bsnl
83155 s/["\\]/\\&/g
83156 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83157 D["\1"]=" \3\\\\\\n"\\/p
83158 t cont
83159 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83160 t cont
83162 :cont
83164 s/.\{148\}/&'"$ac_delim"'/g
83165 t clear
83166 :clear
83167 s/\\$//
83168 t bsnlc
83169 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83171 :bsnlc
83172 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83173 b cont
83174 ' <confdefs.h | sed '
83175 s/'"$ac_delim"'/"\\\
83176 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83179 for (key in D) D_is_set[key] = 1
83180 FS = "\a"
83182 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
83183 line = \$ 0
83184 split(line, arg, " ")
83185 if (arg[1] == "#") {
83186 defundef = arg[2]
83187 mac1 = arg[3]
83188 } else {
83189 defundef = substr(arg[1], 2)
83190 mac1 = arg[2]
83192 split(mac1, mac2, "(") #)
83193 macro = mac2[1]
83194 prefix = substr(line, 1, index(line, defundef) - 1)
83195 if (D_is_set[macro]) {
83196 # Preserve the white space surrounding the "#".
83197 print prefix "define", macro P[macro] D[macro]
83198 next
83199 } else {
83200 # Replace #undef with comments. This is necessary, for example,
83201 # in the case of _POSIX_SOURCE, which is predefined and required
83202 # on some systems where configure will not decide to define it.
83203 if (defundef == "undef") {
83204 print "/*", prefix defundef, macro, "*/"
83205 next
83209 { print }
83210 _ACAWK
83211 _ACEOF
83212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83213 as_fn_error "could not setup config headers machinery" "$LINENO" 5
83214 fi # test -n "$CONFIG_HEADERS"
83217 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
83218 shift
83219 for ac_tag
83221 case $ac_tag in
83222 :[FHLC]) ac_mode=$ac_tag; continue;;
83223 esac
83224 case $ac_mode$ac_tag in
83225 :[FHL]*:*);;
83226 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
83227 :[FH]-) ac_tag=-:-;;
83228 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
83229 esac
83230 ac_save_IFS=$IFS
83231 IFS=:
83232 set x $ac_tag
83233 IFS=$ac_save_IFS
83234 shift
83235 ac_file=$1
83236 shift
83238 case $ac_mode in
83239 :L) ac_source=$1;;
83240 :[FH])
83241 ac_file_inputs=
83242 for ac_f
83244 case $ac_f in
83245 -) ac_f="$tmp/stdin";;
83246 *) # Look for the file first in the build tree, then in the source tree
83247 # (if the path is not absolute). The absolute path cannot be DOS-style,
83248 # because $ac_f cannot contain `:'.
83249 test -f "$ac_f" ||
83250 case $ac_f in
83251 [\\/$]*) false;;
83252 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
83253 esac ||
83254 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
83255 esac
83256 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
83257 as_fn_append ac_file_inputs " '$ac_f'"
83258 done
83260 # Let's still pretend it is `configure' which instantiates (i.e., don't
83261 # use $as_me), people would be surprised to read:
83262 # /* config.h. Generated by config.status. */
83263 configure_input='Generated from '`
83264 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
83265 `' by configure.'
83266 if test x"$ac_file" != x-; then
83267 configure_input="$ac_file. $configure_input"
83268 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
83269 $as_echo "$as_me: creating $ac_file" >&6;}
83271 # Neutralize special characters interpreted by sed in replacement strings.
83272 case $configure_input in #(
83273 *\&* | *\|* | *\\* )
83274 ac_sed_conf_input=`$as_echo "$configure_input" |
83275 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83276 *) ac_sed_conf_input=$configure_input;;
83277 esac
83279 case $ac_tag in
83280 *:-:* | *:-) cat >"$tmp/stdin" \
83281 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83282 esac
83284 esac
83286 ac_dir=`$as_dirname -- "$ac_file" ||
83287 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83288 X"$ac_file" : 'X\(//\)[^/]' \| \
83289 X"$ac_file" : 'X\(//\)$' \| \
83290 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83291 $as_echo X"$ac_file" |
83292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83293 s//\1/
83296 /^X\(\/\/\)[^/].*/{
83297 s//\1/
83300 /^X\(\/\/\)$/{
83301 s//\1/
83304 /^X\(\/\).*/{
83305 s//\1/
83308 s/.*/./; q'`
83309 as_dir="$ac_dir"; as_fn_mkdir_p
83310 ac_builddir=.
83312 case "$ac_dir" in
83313 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83315 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83316 # A ".." for each directory in $ac_dir_suffix.
83317 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83318 case $ac_top_builddir_sub in
83319 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83320 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83321 esac ;;
83322 esac
83323 ac_abs_top_builddir=$ac_pwd
83324 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83325 # for backward compatibility:
83326 ac_top_builddir=$ac_top_build_prefix
83328 case $srcdir in
83329 .) # We are building in place.
83330 ac_srcdir=.
83331 ac_top_srcdir=$ac_top_builddir_sub
83332 ac_abs_top_srcdir=$ac_pwd ;;
83333 [\\/]* | ?:[\\/]* ) # Absolute name.
83334 ac_srcdir=$srcdir$ac_dir_suffix;
83335 ac_top_srcdir=$srcdir
83336 ac_abs_top_srcdir=$srcdir ;;
83337 *) # Relative name.
83338 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83339 ac_top_srcdir=$ac_top_build_prefix$srcdir
83340 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83341 esac
83342 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83345 case $ac_mode in
83348 # CONFIG_FILE
83351 case $INSTALL in
83352 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83353 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83354 esac
83355 ac_MKDIR_P=$MKDIR_P
83356 case $MKDIR_P in
83357 [\\/$]* | ?:[\\/]* ) ;;
83358 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83359 esac
83360 _ACEOF
83362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83363 # If the template does not know about datarootdir, expand it.
83364 # FIXME: This hack should be removed a few years after 2.60.
83365 ac_datarootdir_hack=; ac_datarootdir_seen=
83366 ac_sed_dataroot='
83367 /datarootdir/ {
83371 /@datadir@/p
83372 /@docdir@/p
83373 /@infodir@/p
83374 /@localedir@/p
83375 /@mandir@/p'
83376 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83377 *datarootdir*) ac_datarootdir_seen=yes;;
83378 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83380 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83381 _ACEOF
83382 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83383 ac_datarootdir_hack='
83384 s&@datadir@&$datadir&g
83385 s&@docdir@&$docdir&g
83386 s&@infodir@&$infodir&g
83387 s&@localedir@&$localedir&g
83388 s&@mandir@&$mandir&g
83389 s&\\\${datarootdir}&$datarootdir&g' ;;
83390 esac
83391 _ACEOF
83393 # Neutralize VPATH when `$srcdir' = `.'.
83394 # Shell code in configure.ac might set extrasub.
83395 # FIXME: do we really want to maintain this feature?
83396 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83397 ac_sed_extra="$ac_vpsub
83398 $extrasub
83399 _ACEOF
83400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83403 s|@configure_input@|$ac_sed_conf_input|;t t
83404 s&@top_builddir@&$ac_top_builddir_sub&;t t
83405 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83406 s&@srcdir@&$ac_srcdir&;t t
83407 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83408 s&@top_srcdir@&$ac_top_srcdir&;t t
83409 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83410 s&@builddir@&$ac_builddir&;t t
83411 s&@abs_builddir@&$ac_abs_builddir&;t t
83412 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83413 s&@INSTALL@&$ac_INSTALL&;t t
83414 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83415 $ac_datarootdir_hack
83417 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83418 || as_fn_error "could not create $ac_file" "$LINENO" 5
83420 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83421 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83422 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83424 which seems to be undefined. Please make sure it is defined." >&5
83425 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83426 which seems to be undefined. Please make sure it is defined." >&2;}
83428 rm -f "$tmp/stdin"
83429 case $ac_file in
83430 -) cat "$tmp/out" && rm -f "$tmp/out";;
83431 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83432 esac \
83433 || as_fn_error "could not create $ac_file" "$LINENO" 5
83437 # CONFIG_HEADER
83439 if test x"$ac_file" != x-; then
83441 $as_echo "/* $configure_input */" \
83442 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83443 } >"$tmp/config.h" \
83444 || as_fn_error "could not create $ac_file" "$LINENO" 5
83445 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83446 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83447 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83448 else
83449 rm -f "$ac_file"
83450 mv "$tmp/config.h" "$ac_file" \
83451 || as_fn_error "could not create $ac_file" "$LINENO" 5
83453 else
83454 $as_echo "/* $configure_input */" \
83455 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83456 || as_fn_error "could not create -" "$LINENO" 5
83458 # Compute "$ac_file"'s index in $config_headers.
83459 _am_arg="$ac_file"
83460 _am_stamp_count=1
83461 for _am_header in $config_headers :; do
83462 case $_am_header in
83463 $_am_arg | $_am_arg:* )
83464 break ;;
83466 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83467 esac
83468 done
83469 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83470 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83471 X"$_am_arg" : 'X\(//\)[^/]' \| \
83472 X"$_am_arg" : 'X\(//\)$' \| \
83473 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83474 $as_echo X"$_am_arg" |
83475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83476 s//\1/
83479 /^X\(\/\/\)[^/].*/{
83480 s//\1/
83483 /^X\(\/\/\)$/{
83484 s//\1/
83487 /^X\(\/\).*/{
83488 s//\1/
83491 s/.*/./; q'`/stamp-h$_am_stamp_count
83494 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83495 $as_echo "$as_me: executing $ac_file commands" >&6;}
83497 esac
83500 case $ac_file$ac_mode in
83501 "default-1":C)
83502 # Only add multilib support code if we just rebuilt the top-level
83503 # Makefile.
83504 case " $CONFIG_FILES " in
83505 *" Makefile "*)
83506 ac_file=Makefile . ${multi_basedir}/config-ml.in
83508 esac ;;
83509 "libtool":C)
83511 # See if we are running on zsh, and set the options which allow our
83512 # commands through without removal of \ escapes.
83513 if test -n "${ZSH_VERSION+set}" ; then
83514 setopt NO_GLOB_SUBST
83517 cfgfile="${ofile}T"
83518 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83519 $RM "$cfgfile"
83521 cat <<_LT_EOF >> "$cfgfile"
83522 #! $SHELL
83524 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83525 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83526 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83527 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83529 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83530 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83531 # Written by Gordon Matzigkeit, 1996
83533 # This file is part of GNU Libtool.
83535 # GNU Libtool is free software; you can redistribute it and/or
83536 # modify it under the terms of the GNU General Public License as
83537 # published by the Free Software Foundation; either version 2 of
83538 # the License, or (at your option) any later version.
83540 # As a special exception to the GNU General Public License,
83541 # if you distribute this file as part of a program or library that
83542 # is built using GNU Libtool, you may include this file under the
83543 # same distribution terms that you use for the rest of that program.
83545 # GNU Libtool is distributed in the hope that it will be useful,
83546 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83547 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83548 # GNU General Public License for more details.
83550 # You should have received a copy of the GNU General Public License
83551 # along with GNU Libtool; see the file COPYING. If not, a copy
83552 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83553 # obtained by writing to the Free Software Foundation, Inc.,
83554 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83557 # The names of the tagged configurations supported by this script.
83558 available_tags="CXX "
83560 # ### BEGIN LIBTOOL CONFIG
83562 # Which release of libtool.m4 was used?
83563 macro_version=$macro_version
83564 macro_revision=$macro_revision
83566 # Whether or not to build shared libraries.
83567 build_libtool_libs=$enable_shared
83569 # Whether or not to build static libraries.
83570 build_old_libs=$enable_static
83572 # What type of objects to build.
83573 pic_mode=$pic_mode
83575 # Whether or not to optimize for fast installation.
83576 fast_install=$enable_fast_install
83578 # Shell to use when invoking shell scripts.
83579 SHELL=$lt_SHELL
83581 # An echo program that protects backslashes.
83582 ECHO=$lt_ECHO
83584 # The host system.
83585 host_alias=$host_alias
83586 host=$host
83587 host_os=$host_os
83589 # The build system.
83590 build_alias=$build_alias
83591 build=$build
83592 build_os=$build_os
83594 # A sed program that does not truncate output.
83595 SED=$lt_SED
83597 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83598 Xsed="\$SED -e 1s/^X//"
83600 # A grep program that handles long lines.
83601 GREP=$lt_GREP
83603 # An ERE matcher.
83604 EGREP=$lt_EGREP
83606 # A literal string matcher.
83607 FGREP=$lt_FGREP
83609 # A BSD- or MS-compatible name lister.
83610 NM=$lt_NM
83612 # Whether we need soft or hard links.
83613 LN_S=$lt_LN_S
83615 # What is the maximum length of a command?
83616 max_cmd_len=$max_cmd_len
83618 # Object file suffix (normally "o").
83619 objext=$ac_objext
83621 # Executable file suffix (normally "").
83622 exeext=$exeext
83624 # whether the shell understands "unset".
83625 lt_unset=$lt_unset
83627 # turn spaces into newlines.
83628 SP2NL=$lt_lt_SP2NL
83630 # turn newlines into spaces.
83631 NL2SP=$lt_lt_NL2SP
83633 # An object symbol dumper.
83634 OBJDUMP=$lt_OBJDUMP
83636 # Method to check whether dependent libraries are shared objects.
83637 deplibs_check_method=$lt_deplibs_check_method
83639 # Command to use when deplibs_check_method == "file_magic".
83640 file_magic_cmd=$lt_file_magic_cmd
83642 # The archiver.
83643 AR=$lt_AR
83644 AR_FLAGS=$lt_AR_FLAGS
83646 # A symbol stripping program.
83647 STRIP=$lt_STRIP
83649 # Commands used to install an old-style archive.
83650 RANLIB=$lt_RANLIB
83651 old_postinstall_cmds=$lt_old_postinstall_cmds
83652 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83654 # Whether to use a lock for old archive extraction.
83655 lock_old_archive_extraction=$lock_old_archive_extraction
83657 # A C compiler.
83658 LTCC=$lt_CC
83660 # LTCC compiler flags.
83661 LTCFLAGS=$lt_CFLAGS
83663 # Take the output of nm and produce a listing of raw symbols and C names.
83664 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83666 # Transform the output of nm in a proper C declaration.
83667 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83669 # Transform the output of nm in a C name address pair.
83670 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83672 # Transform the output of nm in a C name address pair when lib prefix is needed.
83673 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83675 # The name of the directory that contains temporary libtool files.
83676 objdir=$objdir
83678 # Used to examine libraries when file_magic_cmd begins with "file".
83679 MAGIC_CMD=$MAGIC_CMD
83681 # Must we lock files when doing compilation?
83682 need_locks=$lt_need_locks
83684 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83685 DSYMUTIL=$lt_DSYMUTIL
83687 # Tool to change global to local symbols on Mac OS X.
83688 NMEDIT=$lt_NMEDIT
83690 # Tool to manipulate fat objects and archives on Mac OS X.
83691 LIPO=$lt_LIPO
83693 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83694 OTOOL=$lt_OTOOL
83696 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83697 OTOOL64=$lt_OTOOL64
83699 # Old archive suffix (normally "a").
83700 libext=$libext
83702 # Shared library suffix (normally ".so").
83703 shrext_cmds=$lt_shrext_cmds
83705 # The commands to extract the exported symbol list from a shared archive.
83706 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83708 # Variables whose values should be saved in libtool wrapper scripts and
83709 # restored at link time.
83710 variables_saved_for_relink=$lt_variables_saved_for_relink
83712 # Do we need the "lib" prefix for modules?
83713 need_lib_prefix=$need_lib_prefix
83715 # Do we need a version for libraries?
83716 need_version=$need_version
83718 # Library versioning type.
83719 version_type=$version_type
83721 # Shared library runtime path variable.
83722 runpath_var=$runpath_var
83724 # Shared library path variable.
83725 shlibpath_var=$shlibpath_var
83727 # Is shlibpath searched before the hard-coded library search path?
83728 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83730 # Format of library name prefix.
83731 libname_spec=$lt_libname_spec
83733 # List of archive names. First name is the real one, the rest are links.
83734 # The last name is the one that the linker finds with -lNAME
83735 library_names_spec=$lt_library_names_spec
83737 # The coded name of the library, if different from the real name.
83738 soname_spec=$lt_soname_spec
83740 # Permission mode override for installation of shared libraries.
83741 install_override_mode=$lt_install_override_mode
83743 # Command to use after installation of a shared archive.
83744 postinstall_cmds=$lt_postinstall_cmds
83746 # Command to use after uninstallation of a shared archive.
83747 postuninstall_cmds=$lt_postuninstall_cmds
83749 # Commands used to finish a libtool library installation in a directory.
83750 finish_cmds=$lt_finish_cmds
83752 # As "finish_cmds", except a single script fragment to be evaled but
83753 # not shown.
83754 finish_eval=$lt_finish_eval
83756 # Whether we should hardcode library paths into libraries.
83757 hardcode_into_libs=$hardcode_into_libs
83759 # Compile-time system search path for libraries.
83760 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83762 # Run-time system search path for libraries.
83763 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83765 # Whether dlopen is supported.
83766 dlopen_support=$enable_dlopen
83768 # Whether dlopen of programs is supported.
83769 dlopen_self=$enable_dlopen_self
83771 # Whether dlopen of statically linked programs is supported.
83772 dlopen_self_static=$enable_dlopen_self_static
83774 # Commands to strip libraries.
83775 old_striplib=$lt_old_striplib
83776 striplib=$lt_striplib
83779 # The linker used to build libraries.
83780 LD=$lt_LD
83782 # How to create reloadable object files.
83783 reload_flag=$lt_reload_flag
83784 reload_cmds=$lt_reload_cmds
83786 # Commands used to build an old-style archive.
83787 old_archive_cmds=$lt_old_archive_cmds
83789 # A language specific compiler.
83790 CC=$lt_compiler
83792 # Is the compiler the GNU compiler?
83793 with_gcc=$GCC
83795 # Compiler flag to turn off builtin functions.
83796 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83798 # How to pass a linker flag through the compiler.
83799 wl=$lt_lt_prog_compiler_wl
83801 # Additional compiler flags for building library objects.
83802 pic_flag=$lt_lt_prog_compiler_pic
83804 # Compiler flag to prevent dynamic linking.
83805 link_static_flag=$lt_lt_prog_compiler_static
83807 # Does compiler simultaneously support -c and -o options?
83808 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83810 # Whether or not to add -lc for building shared libraries.
83811 build_libtool_need_lc=$archive_cmds_need_lc
83813 # Whether or not to disallow shared libs when runtime libs are static.
83814 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83816 # Compiler flag to allow reflexive dlopens.
83817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83819 # Compiler flag to generate shared objects directly from archives.
83820 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83822 # Whether the compiler copes with passing no objects directly.
83823 compiler_needs_object=$lt_compiler_needs_object
83825 # Create an old-style archive from a shared archive.
83826 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83828 # Create a temporary old-style archive to link instead of a shared archive.
83829 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83831 # Commands used to build a shared archive.
83832 archive_cmds=$lt_archive_cmds
83833 archive_expsym_cmds=$lt_archive_expsym_cmds
83835 # Commands used to build a loadable module if different from building
83836 # a shared archive.
83837 module_cmds=$lt_module_cmds
83838 module_expsym_cmds=$lt_module_expsym_cmds
83840 # Whether we are building with GNU ld or not.
83841 with_gnu_ld=$lt_with_gnu_ld
83843 # Flag that allows shared libraries with undefined symbols to be built.
83844 allow_undefined_flag=$lt_allow_undefined_flag
83846 # Flag that enforces no undefined symbols.
83847 no_undefined_flag=$lt_no_undefined_flag
83849 # Flag to hardcode \$libdir into a binary during linking.
83850 # This must work even if \$libdir does not exist
83851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83853 # If ld is used when linking, flag to hardcode \$libdir into a binary
83854 # during linking. This must work even if \$libdir does not exist.
83855 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83857 # Whether we need a single "-rpath" flag with a separated argument.
83858 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83860 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83861 # DIR into the resulting binary.
83862 hardcode_direct=$hardcode_direct
83864 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83865 # DIR into the resulting binary and the resulting library dependency is
83866 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83867 # library is relocated.
83868 hardcode_direct_absolute=$hardcode_direct_absolute
83870 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83871 # into the resulting binary.
83872 hardcode_minus_L=$hardcode_minus_L
83874 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83875 # into the resulting binary.
83876 hardcode_shlibpath_var=$hardcode_shlibpath_var
83878 # Set to "yes" if building a shared library automatically hardcodes DIR
83879 # into the library and all subsequent libraries and executables linked
83880 # against it.
83881 hardcode_automatic=$hardcode_automatic
83883 # Set to yes if linker adds runtime paths of dependent libraries
83884 # to runtime path list.
83885 inherit_rpath=$inherit_rpath
83887 # Whether libtool must link a program against all its dependency libraries.
83888 link_all_deplibs=$link_all_deplibs
83890 # Fix the shell variable \$srcfile for the compiler.
83891 fix_srcfile_path=$lt_fix_srcfile_path
83893 # Set to "yes" if exported symbols are required.
83894 always_export_symbols=$always_export_symbols
83896 # The commands to list exported symbols.
83897 export_symbols_cmds=$lt_export_symbols_cmds
83899 # Symbols that should not be listed in the preloaded symbols.
83900 exclude_expsyms=$lt_exclude_expsyms
83902 # Symbols that must always be exported.
83903 include_expsyms=$lt_include_expsyms
83905 # Commands necessary for linking programs (against libraries) with templates.
83906 prelink_cmds=$lt_prelink_cmds
83908 # Specify filename containing input files.
83909 file_list_spec=$lt_file_list_spec
83911 # How to hardcode a shared library path into an executable.
83912 hardcode_action=$hardcode_action
83914 # The directories searched by this compiler when creating a shared library.
83915 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83917 # Dependencies to place before and after the objects being linked to
83918 # create a shared library.
83919 predep_objects=$lt_predep_objects
83920 postdep_objects=$lt_postdep_objects
83921 predeps=$lt_predeps
83922 postdeps=$lt_postdeps
83924 # The library search path used internally by the compiler when linking
83925 # a shared library.
83926 compiler_lib_search_path=$lt_compiler_lib_search_path
83928 # ### END LIBTOOL CONFIG
83930 _LT_EOF
83932 case $host_os in
83933 aix3*)
83934 cat <<\_LT_EOF >> "$cfgfile"
83935 # AIX sometimes has problems with the GCC collect2 program. For some
83936 # reason, if we set the COLLECT_NAMES environment variable, the problems
83937 # vanish in a puff of smoke.
83938 if test "X${COLLECT_NAMES+set}" != Xset; then
83939 COLLECT_NAMES=
83940 export COLLECT_NAMES
83942 _LT_EOF
83944 esac
83947 ltmain="$ac_aux_dir/ltmain.sh"
83950 # We use sed instead of cat because bash on DJGPP gets confused if
83951 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83952 # text mode, it properly converts lines to CR/LF. This bash problem
83953 # is reportedly fixed, but why not run on old versions too?
83954 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83955 || (rm -f "$cfgfile"; exit 1)
83957 case $xsi_shell in
83958 yes)
83959 cat << \_LT_EOF >> "$cfgfile"
83961 # func_dirname file append nondir_replacement
83962 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83963 # otherwise set result to NONDIR_REPLACEMENT.
83964 func_dirname ()
83966 case ${1} in
83967 */*) func_dirname_result="${1%/*}${2}" ;;
83968 * ) func_dirname_result="${3}" ;;
83969 esac
83972 # func_basename file
83973 func_basename ()
83975 func_basename_result="${1##*/}"
83978 # func_dirname_and_basename file append nondir_replacement
83979 # perform func_basename and func_dirname in a single function
83980 # call:
83981 # dirname: Compute the dirname of FILE. If nonempty,
83982 # add APPEND to the result, otherwise set result
83983 # to NONDIR_REPLACEMENT.
83984 # value returned in "$func_dirname_result"
83985 # basename: Compute filename of FILE.
83986 # value retuned in "$func_basename_result"
83987 # Implementation must be kept synchronized with func_dirname
83988 # and func_basename. For efficiency, we do not delegate to
83989 # those functions but instead duplicate the functionality here.
83990 func_dirname_and_basename ()
83992 case ${1} in
83993 */*) func_dirname_result="${1%/*}${2}" ;;
83994 * ) func_dirname_result="${3}" ;;
83995 esac
83996 func_basename_result="${1##*/}"
83999 # func_stripname prefix suffix name
84000 # strip PREFIX and SUFFIX off of NAME.
84001 # PREFIX and SUFFIX must not contain globbing or regex special
84002 # characters, hashes, percent signs, but SUFFIX may contain a leading
84003 # dot (in which case that matches only a dot).
84004 func_stripname ()
84006 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84007 # positional parameters, so assign one to ordinary parameter first.
84008 func_stripname_result=${3}
84009 func_stripname_result=${func_stripname_result#"${1}"}
84010 func_stripname_result=${func_stripname_result%"${2}"}
84013 # func_opt_split
84014 func_opt_split ()
84016 func_opt_split_opt=${1%%=*}
84017 func_opt_split_arg=${1#*=}
84020 # func_lo2o object
84021 func_lo2o ()
84023 case ${1} in
84024 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84025 *) func_lo2o_result=${1} ;;
84026 esac
84029 # func_xform libobj-or-source
84030 func_xform ()
84032 func_xform_result=${1%.*}.lo
84035 # func_arith arithmetic-term...
84036 func_arith ()
84038 func_arith_result=$(( $* ))
84041 # func_len string
84042 # STRING may not start with a hyphen.
84043 func_len ()
84045 func_len_result=${#1}
84048 _LT_EOF
84050 *) # Bourne compatible functions.
84051 cat << \_LT_EOF >> "$cfgfile"
84053 # func_dirname file append nondir_replacement
84054 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84055 # otherwise set result to NONDIR_REPLACEMENT.
84056 func_dirname ()
84058 # Extract subdirectory from the argument.
84059 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84060 if test "X$func_dirname_result" = "X${1}"; then
84061 func_dirname_result="${3}"
84062 else
84063 func_dirname_result="$func_dirname_result${2}"
84067 # func_basename file
84068 func_basename ()
84070 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84074 # func_stripname prefix suffix name
84075 # strip PREFIX and SUFFIX off of NAME.
84076 # PREFIX and SUFFIX must not contain globbing or regex special
84077 # characters, hashes, percent signs, but SUFFIX may contain a leading
84078 # dot (in which case that matches only a dot).
84079 # func_strip_suffix prefix name
84080 func_stripname ()
84082 case ${2} in
84083 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84084 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84085 esac
84088 # sed scripts:
84089 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84090 my_sed_long_arg='1s/^-[^=]*=//'
84092 # func_opt_split
84093 func_opt_split ()
84095 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84096 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84099 # func_lo2o object
84100 func_lo2o ()
84102 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84105 # func_xform libobj-or-source
84106 func_xform ()
84108 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84111 # func_arith arithmetic-term...
84112 func_arith ()
84114 func_arith_result=`expr "$@"`
84117 # func_len string
84118 # STRING may not start with a hyphen.
84119 func_len ()
84121 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84124 _LT_EOF
84125 esac
84127 case $lt_shell_append in
84128 yes)
84129 cat << \_LT_EOF >> "$cfgfile"
84131 # func_append var value
84132 # Append VALUE to the end of shell variable VAR.
84133 func_append ()
84135 eval "$1+=\$2"
84137 _LT_EOF
84140 cat << \_LT_EOF >> "$cfgfile"
84142 # func_append var value
84143 # Append VALUE to the end of shell variable VAR.
84144 func_append ()
84146 eval "$1=\$$1\$2"
84149 _LT_EOF
84151 esac
84154 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84155 || (rm -f "$cfgfile"; exit 1)
84157 mv -f "$cfgfile" "$ofile" ||
84158 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84159 chmod +x "$ofile"
84162 cat <<_LT_EOF >> "$ofile"
84164 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84166 # The linker used to build libraries.
84167 LD=$lt_LD_CXX
84169 # How to create reloadable object files.
84170 reload_flag=$lt_reload_flag_CXX
84171 reload_cmds=$lt_reload_cmds_CXX
84173 # Commands used to build an old-style archive.
84174 old_archive_cmds=$lt_old_archive_cmds_CXX
84176 # A language specific compiler.
84177 CC=$lt_compiler_CXX
84179 # Is the compiler the GNU compiler?
84180 with_gcc=$GCC_CXX
84182 # Compiler flag to turn off builtin functions.
84183 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
84185 # How to pass a linker flag through the compiler.
84186 wl=$lt_lt_prog_compiler_wl_CXX
84188 # Additional compiler flags for building library objects.
84189 pic_flag=$lt_lt_prog_compiler_pic_CXX
84191 # Compiler flag to prevent dynamic linking.
84192 link_static_flag=$lt_lt_prog_compiler_static_CXX
84194 # Does compiler simultaneously support -c and -o options?
84195 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
84197 # Whether or not to add -lc for building shared libraries.
84198 build_libtool_need_lc=$archive_cmds_need_lc_CXX
84200 # Whether or not to disallow shared libs when runtime libs are static.
84201 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
84203 # Compiler flag to allow reflexive dlopens.
84204 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
84206 # Compiler flag to generate shared objects directly from archives.
84207 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
84209 # Whether the compiler copes with passing no objects directly.
84210 compiler_needs_object=$lt_compiler_needs_object_CXX
84212 # Create an old-style archive from a shared archive.
84213 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
84215 # Create a temporary old-style archive to link instead of a shared archive.
84216 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
84218 # Commands used to build a shared archive.
84219 archive_cmds=$lt_archive_cmds_CXX
84220 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
84222 # Commands used to build a loadable module if different from building
84223 # a shared archive.
84224 module_cmds=$lt_module_cmds_CXX
84225 module_expsym_cmds=$lt_module_expsym_cmds_CXX
84227 # Whether we are building with GNU ld or not.
84228 with_gnu_ld=$lt_with_gnu_ld_CXX
84230 # Flag that allows shared libraries with undefined symbols to be built.
84231 allow_undefined_flag=$lt_allow_undefined_flag_CXX
84233 # Flag that enforces no undefined symbols.
84234 no_undefined_flag=$lt_no_undefined_flag_CXX
84236 # Flag to hardcode \$libdir into a binary during linking.
84237 # This must work even if \$libdir does not exist
84238 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
84240 # If ld is used when linking, flag to hardcode \$libdir into a binary
84241 # during linking. This must work even if \$libdir does not exist.
84242 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
84244 # Whether we need a single "-rpath" flag with a separated argument.
84245 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
84247 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84248 # DIR into the resulting binary.
84249 hardcode_direct=$hardcode_direct_CXX
84251 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84252 # DIR into the resulting binary and the resulting library dependency is
84253 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84254 # library is relocated.
84255 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
84257 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84258 # into the resulting binary.
84259 hardcode_minus_L=$hardcode_minus_L_CXX
84261 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84262 # into the resulting binary.
84263 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
84265 # Set to "yes" if building a shared library automatically hardcodes DIR
84266 # into the library and all subsequent libraries and executables linked
84267 # against it.
84268 hardcode_automatic=$hardcode_automatic_CXX
84270 # Set to yes if linker adds runtime paths of dependent libraries
84271 # to runtime path list.
84272 inherit_rpath=$inherit_rpath_CXX
84274 # Whether libtool must link a program against all its dependency libraries.
84275 link_all_deplibs=$link_all_deplibs_CXX
84277 # Fix the shell variable \$srcfile for the compiler.
84278 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84280 # Set to "yes" if exported symbols are required.
84281 always_export_symbols=$always_export_symbols_CXX
84283 # The commands to list exported symbols.
84284 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84286 # Symbols that should not be listed in the preloaded symbols.
84287 exclude_expsyms=$lt_exclude_expsyms_CXX
84289 # Symbols that must always be exported.
84290 include_expsyms=$lt_include_expsyms_CXX
84292 # Commands necessary for linking programs (against libraries) with templates.
84293 prelink_cmds=$lt_prelink_cmds_CXX
84295 # Specify filename containing input files.
84296 file_list_spec=$lt_file_list_spec_CXX
84298 # How to hardcode a shared library path into an executable.
84299 hardcode_action=$hardcode_action_CXX
84301 # The directories searched by this compiler when creating a shared library.
84302 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84304 # Dependencies to place before and after the objects being linked to
84305 # create a shared library.
84306 predep_objects=$lt_predep_objects_CXX
84307 postdep_objects=$lt_postdep_objects_CXX
84308 predeps=$lt_predeps_CXX
84309 postdeps=$lt_postdeps_CXX
84311 # The library search path used internally by the compiler when linking
84312 # a shared library.
84313 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84315 # ### END LIBTOOL TAG CONFIG: CXX
84316 _LT_EOF
84319 "include/gstdint.h":C)
84320 if test "$GCC" = yes; then
84321 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84322 else
84323 echo "/* generated for $CC */" > tmp-stdint.h
84326 sed 's/^ *//' >> tmp-stdint.h <<EOF
84328 #ifndef GCC_GENERATED_STDINT_H
84329 #define GCC_GENERATED_STDINT_H 1
84331 #include <sys/types.h>
84334 if test "$acx_cv_header_stdint" != stdint.h; then
84335 echo "#include <stddef.h>" >> tmp-stdint.h
84337 if test "$acx_cv_header_stdint" != stddef.h; then
84338 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84341 sed 's/^ *//' >> tmp-stdint.h <<EOF
84342 /* glibc uses these symbols as guards to prevent redefinitions. */
84343 #ifdef __int8_t_defined
84344 #define _INT8_T
84345 #define _INT16_T
84346 #define _INT32_T
84347 #endif
84348 #ifdef __uint32_t_defined
84349 #define _UINT32_T
84350 #endif
84354 # ----------------- done header, emit basic int types -------------
84355 if test "$acx_cv_header_stdint" = stddef.h; then
84356 sed 's/^ *//' >> tmp-stdint.h <<EOF
84358 #ifndef _UINT8_T
84359 #define _UINT8_T
84360 #ifndef __uint8_t_defined
84361 #define __uint8_t_defined
84362 #ifndef uint8_t
84363 typedef unsigned $acx_cv_type_int8_t uint8_t;
84364 #endif
84365 #endif
84366 #endif
84368 #ifndef _UINT16_T
84369 #define _UINT16_T
84370 #ifndef __uint16_t_defined
84371 #define __uint16_t_defined
84372 #ifndef uint16_t
84373 typedef unsigned $acx_cv_type_int16_t uint16_t;
84374 #endif
84375 #endif
84376 #endif
84378 #ifndef _UINT32_T
84379 #define _UINT32_T
84380 #ifndef __uint32_t_defined
84381 #define __uint32_t_defined
84382 #ifndef uint32_t
84383 typedef unsigned $acx_cv_type_int32_t uint32_t;
84384 #endif
84385 #endif
84386 #endif
84388 #ifndef _INT8_T
84389 #define _INT8_T
84390 #ifndef __int8_t_defined
84391 #define __int8_t_defined
84392 #ifndef int8_t
84393 typedef $acx_cv_type_int8_t int8_t;
84394 #endif
84395 #endif
84396 #endif
84398 #ifndef _INT16_T
84399 #define _INT16_T
84400 #ifndef __int16_t_defined
84401 #define __int16_t_defined
84402 #ifndef int16_t
84403 typedef $acx_cv_type_int16_t int16_t;
84404 #endif
84405 #endif
84406 #endif
84408 #ifndef _INT32_T
84409 #define _INT32_T
84410 #ifndef __int32_t_defined
84411 #define __int32_t_defined
84412 #ifndef int32_t
84413 typedef $acx_cv_type_int32_t int32_t;
84414 #endif
84415 #endif
84416 #endif
84418 elif test "$ac_cv_type_u_int32_t" = yes; then
84419 sed 's/^ *//' >> tmp-stdint.h <<EOF
84421 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84422 #ifndef _INT8_T
84423 #define _INT8_T
84424 #endif
84425 #ifndef _INT16_T
84426 #define _INT16_T
84427 #endif
84428 #ifndef _INT32_T
84429 #define _INT32_T
84430 #endif
84432 #ifndef _UINT8_T
84433 #define _UINT8_T
84434 #ifndef __uint8_t_defined
84435 #define __uint8_t_defined
84436 #ifndef uint8_t
84437 typedef u_int8_t uint8_t;
84438 #endif
84439 #endif
84440 #endif
84442 #ifndef _UINT16_T
84443 #define _UINT16_T
84444 #ifndef __uint16_t_defined
84445 #define __uint16_t_defined
84446 #ifndef uint16_t
84447 typedef u_int16_t uint16_t;
84448 #endif
84449 #endif
84450 #endif
84452 #ifndef _UINT32_T
84453 #define _UINT32_T
84454 #ifndef __uint32_t_defined
84455 #define __uint32_t_defined
84456 #ifndef uint32_t
84457 typedef u_int32_t uint32_t;
84458 #endif
84459 #endif
84460 #endif
84462 else
84463 sed 's/^ *//' >> tmp-stdint.h <<EOF
84465 /* Some systems have guard macros to prevent redefinitions, define them. */
84466 #ifndef _INT8_T
84467 #define _INT8_T
84468 #endif
84469 #ifndef _INT16_T
84470 #define _INT16_T
84471 #endif
84472 #ifndef _INT32_T
84473 #define _INT32_T
84474 #endif
84475 #ifndef _UINT8_T
84476 #define _UINT8_T
84477 #endif
84478 #ifndef _UINT16_T
84479 #define _UINT16_T
84480 #endif
84481 #ifndef _UINT32_T
84482 #define _UINT32_T
84483 #endif
84487 # ------------- done basic int types, emit int64_t types ------------
84488 if test "$ac_cv_type_uint64_t" = yes; then
84489 sed 's/^ *//' >> tmp-stdint.h <<EOF
84491 /* system headers have good uint64_t and int64_t */
84492 #ifndef _INT64_T
84493 #define _INT64_T
84494 #endif
84495 #ifndef _UINT64_T
84496 #define _UINT64_T
84497 #endif
84499 elif test "$ac_cv_type_u_int64_t" = yes; then
84500 sed 's/^ *//' >> tmp-stdint.h <<EOF
84502 /* system headers have an u_int64_t (and int64_t) */
84503 #ifndef _INT64_T
84504 #define _INT64_T
84505 #endif
84506 #ifndef _UINT64_T
84507 #define _UINT64_T
84508 #ifndef __uint64_t_defined
84509 #define __uint64_t_defined
84510 #ifndef uint64_t
84511 typedef u_int64_t uint64_t;
84512 #endif
84513 #endif
84514 #endif
84516 elif test -n "$acx_cv_type_int64_t"; then
84517 sed 's/^ *//' >> tmp-stdint.h <<EOF
84519 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84520 #ifndef _INT64_T
84521 #define _INT64_T
84522 #ifndef int64_t
84523 typedef $acx_cv_type_int64_t int64_t;
84524 #endif
84525 #endif
84526 #ifndef _UINT64_T
84527 #define _UINT64_T
84528 #ifndef __uint64_t_defined
84529 #define __uint64_t_defined
84530 #ifndef uint64_t
84531 typedef unsigned $acx_cv_type_int64_t uint64_t;
84532 #endif
84533 #endif
84534 #endif
84536 else
84537 sed 's/^ *//' >> tmp-stdint.h <<EOF
84539 /* some common heuristics for int64_t, using compiler-specific tests */
84540 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84541 #ifndef _INT64_T
84542 #define _INT64_T
84543 #ifndef __int64_t_defined
84544 #ifndef int64_t
84545 typedef long long int64_t;
84546 #endif
84547 #endif
84548 #endif
84549 #ifndef _UINT64_T
84550 #define _UINT64_T
84551 #ifndef uint64_t
84552 typedef unsigned long long uint64_t;
84553 #endif
84554 #endif
84556 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84557 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84558 does not implement __extension__. But that compiler doesn't define
84559 __GNUC_MINOR__. */
84560 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84561 # define __extension__
84562 # endif
84564 # ifndef _INT64_T
84565 # define _INT64_T
84566 # ifndef int64_t
84567 __extension__ typedef long long int64_t;
84568 # endif
84569 # endif
84570 # ifndef _UINT64_T
84571 # define _UINT64_T
84572 # ifndef uint64_t
84573 __extension__ typedef unsigned long long uint64_t;
84574 # endif
84575 # endif
84577 #elif !defined __STRICT_ANSI__
84578 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84580 # ifndef _INT64_T
84581 # define _INT64_T
84582 # ifndef int64_t
84583 typedef __int64 int64_t;
84584 # endif
84585 # endif
84586 # ifndef _UINT64_T
84587 # define _UINT64_T
84588 # ifndef uint64_t
84589 typedef unsigned __int64 uint64_t;
84590 # endif
84591 # endif
84592 # endif /* compiler */
84594 #endif /* ANSI version */
84598 # ------------- done int64_t types, emit intptr types ------------
84599 if test "$ac_cv_type_uintptr_t" != yes; then
84600 sed 's/^ *//' >> tmp-stdint.h <<EOF
84602 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84603 #ifndef __uintptr_t_defined
84604 #ifndef uintptr_t
84605 typedef u$acx_cv_type_intptr_t uintptr_t;
84606 #endif
84607 #endif
84608 #ifndef __intptr_t_defined
84609 #ifndef intptr_t
84610 typedef $acx_cv_type_intptr_t intptr_t;
84611 #endif
84612 #endif
84616 # ------------- done intptr types, emit int_least types ------------
84617 if test "$ac_cv_type_int_least32_t" != yes; then
84618 sed 's/^ *//' >> tmp-stdint.h <<EOF
84620 /* Define int_least types */
84621 typedef int8_t int_least8_t;
84622 typedef int16_t int_least16_t;
84623 typedef int32_t int_least32_t;
84624 #ifdef _INT64_T
84625 typedef int64_t int_least64_t;
84626 #endif
84628 typedef uint8_t uint_least8_t;
84629 typedef uint16_t uint_least16_t;
84630 typedef uint32_t uint_least32_t;
84631 #ifdef _UINT64_T
84632 typedef uint64_t uint_least64_t;
84633 #endif
84637 # ------------- done intptr types, emit int_fast types ------------
84638 if test "$ac_cv_type_int_fast32_t" != yes; then
84639 sed 's/^ *//' >> tmp-stdint.h <<EOF
84641 /* Define int_fast types. short is often slow */
84642 typedef int8_t int_fast8_t;
84643 typedef int int_fast16_t;
84644 typedef int32_t int_fast32_t;
84645 #ifdef _INT64_T
84646 typedef int64_t int_fast64_t;
84647 #endif
84649 typedef uint8_t uint_fast8_t;
84650 typedef unsigned int uint_fast16_t;
84651 typedef uint32_t uint_fast32_t;
84652 #ifdef _UINT64_T
84653 typedef uint64_t uint_fast64_t;
84654 #endif
84658 if test "$ac_cv_type_uintmax_t" != yes; then
84659 sed 's/^ *//' >> tmp-stdint.h <<EOF
84661 /* Define intmax based on what we found */
84662 #ifndef intmax_t
84663 #ifdef _INT64_T
84664 typedef int64_t intmax_t;
84665 #else
84666 typedef long intmax_t;
84667 #endif
84668 #endif
84669 #ifndef uintmax_t
84670 #ifdef _UINT64_T
84671 typedef uint64_t uintmax_t;
84672 #else
84673 typedef unsigned long uintmax_t;
84674 #endif
84675 #endif
84679 sed 's/^ *//' >> tmp-stdint.h <<EOF
84681 #endif /* GCC_GENERATED_STDINT_H */
84684 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84685 rm -f tmp-stdint.h
84686 else
84687 mv -f tmp-stdint.h include/gstdint.h
84691 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84692 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84693 "include/Makefile":F) cat > vpsed$$ << \_EOF
84694 s!`test -f '$<' || echo '$(srcdir)/'`!!
84695 _EOF
84696 sed -f vpsed$$ $ac_file > tmp$$
84697 mv tmp$$ $ac_file
84698 rm vpsed$$
84699 echo 'MULTISUBDIR =' >> $ac_file
84700 ml_norecursion=yes
84701 . ${multi_basedir}/config-ml.in
84702 { ml_norecursion=; unset ml_norecursion;}
84704 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84705 s!`test -f '$<' || echo '$(srcdir)/'`!!
84706 _EOF
84707 sed -f vpsed$$ $ac_file > tmp$$
84708 mv tmp$$ $ac_file
84709 rm vpsed$$
84710 echo 'MULTISUBDIR =' >> $ac_file
84711 ml_norecursion=yes
84712 . ${multi_basedir}/config-ml.in
84713 { ml_norecursion=; unset ml_norecursion;}
84715 "src/Makefile":F) cat > vpsed$$ << \_EOF
84716 s!`test -f '$<' || echo '$(srcdir)/'`!!
84717 _EOF
84718 sed -f vpsed$$ $ac_file > tmp$$
84719 mv tmp$$ $ac_file
84720 rm vpsed$$
84721 echo 'MULTISUBDIR =' >> $ac_file
84722 ml_norecursion=yes
84723 . ${multi_basedir}/config-ml.in
84724 { ml_norecursion=; unset ml_norecursion;}
84726 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84727 s!`test -f '$<' || echo '$(srcdir)/'`!!
84728 _EOF
84729 sed -f vpsed$$ $ac_file > tmp$$
84730 mv tmp$$ $ac_file
84731 rm vpsed$$
84732 echo 'MULTISUBDIR =' >> $ac_file
84733 ml_norecursion=yes
84734 . ${multi_basedir}/config-ml.in
84735 { ml_norecursion=; unset ml_norecursion;}
84737 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84738 s!`test -f '$<' || echo '$(srcdir)/'`!!
84739 _EOF
84740 sed -f vpsed$$ $ac_file > tmp$$
84741 mv tmp$$ $ac_file
84742 rm vpsed$$
84743 echo 'MULTISUBDIR =' >> $ac_file
84744 ml_norecursion=yes
84745 . ${multi_basedir}/config-ml.in
84746 { ml_norecursion=; unset ml_norecursion;}
84748 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84749 s!`test -f '$<' || echo '$(srcdir)/'`!!
84750 _EOF
84751 sed -f vpsed$$ $ac_file > tmp$$
84752 mv tmp$$ $ac_file
84753 rm vpsed$$
84754 echo 'MULTISUBDIR =' >> $ac_file
84755 ml_norecursion=yes
84756 . ${multi_basedir}/config-ml.in
84757 { ml_norecursion=; unset ml_norecursion;}
84759 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84760 s!`test -f '$<' || echo '$(srcdir)/'`!!
84761 _EOF
84762 sed -f vpsed$$ $ac_file > tmp$$
84763 mv tmp$$ $ac_file
84764 rm vpsed$$
84765 echo 'MULTISUBDIR =' >> $ac_file
84766 ml_norecursion=yes
84767 . ${multi_basedir}/config-ml.in
84768 { ml_norecursion=; unset ml_norecursion;}
84770 "po/Makefile":F) cat > vpsed$$ << \_EOF
84771 s!`test -f '$<' || echo '$(srcdir)/'`!!
84772 _EOF
84773 sed -f vpsed$$ $ac_file > tmp$$
84774 mv tmp$$ $ac_file
84775 rm vpsed$$
84776 echo 'MULTISUBDIR =' >> $ac_file
84777 ml_norecursion=yes
84778 . ${multi_basedir}/config-ml.in
84779 { ml_norecursion=; unset ml_norecursion;}
84781 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84782 s!`test -f '$<' || echo '$(srcdir)/'`!!
84783 _EOF
84784 sed -f vpsed$$ $ac_file > tmp$$
84785 mv tmp$$ $ac_file
84786 rm vpsed$$
84787 echo 'MULTISUBDIR =' >> $ac_file
84788 ml_norecursion=yes
84789 . ${multi_basedir}/config-ml.in
84790 { ml_norecursion=; unset ml_norecursion;}
84792 "python/Makefile":F) cat > vpsed$$ << \_EOF
84793 s!`test -f '$<' || echo '$(srcdir)/'`!!
84794 _EOF
84795 sed -f vpsed$$ $ac_file > tmp$$
84796 mv tmp$$ $ac_file
84797 rm vpsed$$
84798 echo 'MULTISUBDIR =' >> $ac_file
84799 ml_norecursion=yes
84800 . ${multi_basedir}/config-ml.in
84801 { ml_norecursion=; unset ml_norecursion;}
84803 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84805 esac
84806 done # for ac_tag
84809 as_fn_exit 0
84810 _ACEOF
84811 ac_clean_files=$ac_clean_files_save
84813 test $ac_write_fail = 0 ||
84814 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84817 # configure is writing to config.log, and then calls config.status.
84818 # config.status does its own redirection, appending to config.log.
84819 # Unfortunately, on DOS this fails, as config.log is still kept open
84820 # by configure, so config.status won't be able to write to it; its
84821 # output is simply discarded. So we exec the FD to /dev/null,
84822 # effectively closing config.log, so it can be properly (re)opened and
84823 # appended to by config.status. When coming back to configure, we
84824 # need to make the FD available again.
84825 if test "$no_create" != yes; then
84826 ac_cs_success=:
84827 ac_config_status_args=
84828 test "$silent" = yes &&
84829 ac_config_status_args="$ac_config_status_args --quiet"
84830 exec 5>/dev/null
84831 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84832 exec 5>>config.log
84833 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84834 # would make configure fail if this is the last instruction.
84835 $ac_cs_success || as_fn_exit $?
84837 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84839 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}